Why would this Code: G20 G38.2 Z-1.000F3 G91 G1 Z0.125F100 G38.2 Z-1.000F2 G92 Z 0.8261 G91 G1 Z0.125F100 G91 G1 Y 1.000F100 G20 Cause the spindle to move down towards the plate one time then another time the spindle moves Up and not Down. Random at best. Also it was copied in the macro tab of the control software for easy access.
In our probe macros, we Zero before moving, because G38.2 's value is the target position For example: OpenBuilds-CONTROL/probev2.js at ef770352c4bc254c30e12548e268cc09ae08b0eb · OpenBuilds/OpenBuilds-CONTROL But... Why bother with a custom Macro though? Use the Probing Wizard in CONTROL, in the Probe Window, select Probe Type > Custom. Click the Setting (Gear) button and configure the offsets to suit your probe.
I avoid using G92, it has too many side effects that can surprise you. Code: G20 G54 G91 ; move relative to current point G38.2 Z-1 F2 ; probe Z down G10 L2 P1 Z0.8261 ; set Z offset G4 P0.1 ; pause while GRBL saves the value in EEPROM G0 Z0.125 ; lift up a bit G90 ; back to absolute mode which most jogging commands expect details for the G10 L2 command G Codes Note that all probes should be done at the same speed, which is slow enough to stop 'instantly'. probe too fast and you will break a bit. but also, if you probe at different speeds it will stop at different heights!
Thank you all for your responses and great advice. Will try this today. Happy Holidays to you all and stay safe.