2021-05-26 21:17:05 +00:00
|
|
|
; homez.g
|
|
|
|
; called to home the Z axis
|
|
|
|
;
|
2021-05-23 12:36:07 +00:00
|
|
|
|
2021-05-30 11:24:13 +00:00
|
|
|
M280 P0 S160 ; Reset probe
|
2021-05-26 21:17:05 +00:00
|
|
|
G91 ; relative positioning
|
2021-05-28 22:35:11 +00:00
|
|
|
G1 H2 Z5 F10800 ; lift Z relative to current position
|
2021-05-26 21:17:05 +00:00
|
|
|
G90 ; absolute positioning
|
2021-06-06 17:58:36 +00:00
|
|
|
G1 X250 Y250 F10800 ; go to first probe point
|
2021-05-26 21:17:05 +00:00
|
|
|
G30 ; home Z by probing the bed
|
2021-05-23 12:36:07 +00:00
|
|
|
|
|
|
|
; Uncomment the following lines to lift Z after probing
|
2021-05-28 22:35:11 +00:00
|
|
|
G91 ; relative positioning
|
|
|
|
G1 Z5 F100 ; lift Z relative to current position
|
|
|
|
G90 ; absolute positioning
|
2021-05-24 15:41:44 +00:00
|
|
|
|