; homez.g ; called to home the Z axis ; ; generated by RepRapFirmware Configuration Tool v3.1.4 on Sat Jul 25 2020 12:56:48 GMT-0400 (Eastern Daylight Time) G91 ; relative positioning G1 H2 Z10 F6000 ; lift Z relative to current position G1 H1 Z-150 F1800 ; move Z up until the endstop is triggered G1 Z5 F1200 ; BACK OFF A BIT G1 H1 Z-150 F100 ; MOVE BACK TO THE END STOP SLOWLY G90 ; ABSOLUTE POSITIONING G92 Z0 ; set Z position to axis maximum (you may want to adjust this) ; Uncomment the following lines to lift Z after probing ;G91 ; relative positioning ;G1 Z5 F100 ; lift Z relative to current position ;G90 ; absolute positioning