Homing Z Axis
; homez.g
; called to home the Z axis
;
; generated by RepRapFirmware Configuration Tool v3.1.3 on Sat Jun 20 2020 01:09:39 GMT-0500 (CDT)
; G1 X21 ; Move Z onto build plate for Z homing
; G91 ; relative positioning
; G1 H2 Z5 F6000 ; lift Z relative to current position
; G1 H1 Z-605 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 F100 ; lift Z relative to current position
;G90 ; absolute positioning
G91 ; relative positioning
G1 H2 Z5 F6000 ; drop the bed relative to the current position
G90 ; absolute positioning
G1 X145 Y145 F2400 ; move to the middle of the bed (about)
G30 ; measure and set Z
G1 Z2 F200