; homez.g ; called to home the Z axis T-1 if !move.axes[3].homed G28 C else M98 P/macros/Coupler - Unlock G91 ; Relative mode G1 H2 Z10 F5000 ; Lower the bed G90 ; back to absolute positioning G1 X50 Y-60 F6000 ; Position the endstop above the bed G91 ; Relative mode G4 P500 ; wait 500msec G30 ; Probe Z G90 ; Back to absolute positioning