; homez.g ; called to home the Z axis ; ; generated by RepRapFirmware Configuration Tool v2.1.8 on Fri Mar 06 2020 12:35:05 GMT+0100 (Central European Standard Time) G91 ; relative positioning G1 H2 Z5 F4800 ; lift Z relative to current position G90 ; absolute positioning G1 X20 Y0 F4800 ; go to first probe point G30 ; home Z by probing the bed ;G1 H1 Z-375 F1800 ; 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 Z5 F80 ; lift Z relative to current position ;G90 ; absolute positioning