duet_vcore3/homez.g

17 lines
513 B
Plaintext

; homez.g
; called to home the Z axis
;
M280 P0 S160 ; Reset probe
G91 ; relative positioning
G1 H2 Z5 F10800 ; lift Z relative to current position
G90 ; absolute positioning
G1 X250 Y-250 F10800 ; go to first probe point
G30 ; home Z by probing the bed
; Uncomment the following lines to lift Z after probing
G91 ; relative positioning
G1 Z5 F100 ; lift Z relative to current position
G90 ; absolute positioning