; homez.g ; called to home the Z axis ; ; generated by RepRapFirmware Configuration Tool on Fri May 05 2017 15:41:09 GMT+0200 (W. Europe Daylight Time) ; Lift Z relatively to current position G91 G1 Z5 F6000 ; Back to absolute positioning G90 G1 X100 Y100 F2000 ; put head over the centre of the bed, or wherever you want to probe G30 ; lower head, stop when probe triggered and set Z to trigger height ; Move Z down until the switch triggers ;G1 Z-185 S1 F1800 ; Back to absolute positioning ;G90 ; Tell the firmware where we are G92 Z.35 ; Uncomment the following lines to lift Z after probing ;G91 ;G1 Z5 F100 ;G90