I'am making a CNC desktop machine based on Marlin 2.0 and Atmega2560+Ramps 1.4.
All the main functions work. The machine moves according to the program and jog by LCD board encoder.
I want to do PCB milling. To get a height map, I want to use a simple contact Z-probe. I tried to make the necessary settings in the Configuration.h and Configuration_adv.h files:
===================
Configuration.h
#define Z_MIN_PROBE_PIN 44 (because it is more convenient to connect than pin32 RAMPS)
#define FIX_MOUNTED_PROBE
===================
Configuration_adv.h
#define G38_PROBE_TARGET
====================
I use CNCjs to get a workpiece height map.
When the program execute the G38.2 target search command, the machine stops.
The Z axis does not move down and nothing happens.
The same thing happens if I send G38.2 Z-2 through the terminal. I only see answer "OK" in the terminal screen.
It seems I did some mistakes in Configuration.h and Configuration_adv.h
Any help and advice is welcome