; homez.g ; called to home the Z axis ; ; generated by RepRapFirmware Configuration Tool v3.2.1 on Mon Jan 18 2021 17:44:49 GMT+0100 (Mitteleuropäische Normalzeit) G91 ; relative positioning G1 H2 Z10 F6000 ; lift Z relative to current position G1 H1 Z-500 F3000 ;Go down till endstop G1 H2 Z10 F6000 G1 X200 Y200 F4000 ;go to midle G30 ; move Z down until the endstop is triggered G92 Z0 ; set Z position to axis minimum (you may want to adjust this) ; Uncomment the following lines to lift Z after probing ;G91 ; relative positioning ;G1 Z10 F100 ; lift Z relative to current position G90 ; absolute positioning