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-14 22:20:49 +00:00
|
|
|
G1 X275 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
|
|
|
|
2021-06-16 20:05:24 +00:00
|
|
|
G29 S1 P"heightmap.csv" ; Load saved height map
|