Built an MPCNC Primo for my mom after having built a lowrider v3 for myself. Having a hard time getting to first cuts in theory but so close. Pasted is my start gcode, both G0 and G1 seem to crash into the touch plate after second touch off. Cannot get it to raise in Z it seems, if I manually trigger touch plate twice it will still move down in Z but will kick on the relay and start the job after clearing the M0. Using SKR Pro board.
G92 X0 Y0 Z0 ; Set Current position to 0, all axes
G00 Z19.0000 F500 ; Raise Z 19mm at 8.3mm/s to clear clamps and screws
G28 Z ; Home Z touchplate
G92 Z19 ; Account for probe thickness (set your thickness)
G0 Z5.000 F500 ; Raise Z probe off of surface
M00 ; Pause for LCD button press so you can remove the touchplate
M106 ; This will turn on an IOT relay to start a router or vacuum
G00 X0.0000 Y0.0000 Z2.0000 F480
You probably shouldn’t set Z0 at this point, as it will confuse your probe command (below).
That command is incorrect (IMO). You should be using G38.2 Z0. This will lower the Z axis until it either completes the Z Probe circuit, or until it reaches the value provided (in this case 0). That is why you should have the Z axis set for a value higher than 0 in the G92 command above.
Is your probe really 19mm thick? The Tiny Touch Probe from V1 is 0.5mm thick.
First you set the Z axis location to 19mm, then you tell it to go to the 5mm position,. In Absolute Mode (G90) this would result in LOWERING the axis by 14mm. You don’t specify whether you are in Absolute (G90) or Relative (G91) Mode at this stage. Personally I always stay in Absolute Mode, otherwise it can be confusing swapping back and forth between modes all the time (EstlCAM and most other CAM programs output in Absolute mode)
Probe is really that thick its one of the larger round ones you might set in a fixed coordinate system and probe off the spoilboard though I am not using it in that fashion for trouble shooting purpose.
Below is the code from the build wiki for the mpcnc where I modified this code from. I noticed it was significantly different from the lowrider but will try you suggestion istead.
G92 X0 Y0 Z0 ; Set Current position to 0, all axes
G00 Z5.0000 F500 ; Raise Z 5mm at 8.3mm/s to clear clamps and screws
G28 Z ; Home Z touchplate
G92 Z0.5 ; Account for probe thickness (set your thickness)
G00 Z5.000 F500 ; Raise Z probe off of surface
M00 ; Pause for LCD button press so you can remove the touchplate
I am not familiar with the MPCNC, only the Lowrider, so there may be differences.
You might want to add a G90 command before everything else (sets it to Absolute Mode).