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
|
2022-02-02 23:19:54 +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
|
2022-02-02 23:19:54 +00:00
|
|
|
G29 S1 ; probe the bed and enable compensation
|
|
|
|
G91 ; relative positioning
|
2022-03-05 23:30:29 +00:00
|
|
|
G1 Z10 F3600 ; lift Z relative to current position
|
2022-02-02 23:19:54 +00:00
|
|
|
G90 ; absolute positioning
|
2021-05-23 12:36:07 +00:00
|
|
|
|