18 lines
561 B
Plaintext
18 lines
561 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 X275 Y250 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
|
|
|
|
G29 S1 P"heightmap.csv" ; Load saved height map
|