2021-05-26 21:17:05 +00:00
|
|
|
; homeall.g
|
|
|
|
; called to home all axes
|
|
|
|
;
|
|
|
|
|
2021-05-30 11:24:13 +00:00
|
|
|
M280 P0 S160 ; Reset probe
|
2021-05-23 12:36:07 +00:00
|
|
|
G91 ; relative positioning
|
|
|
|
G1 H2 Z5 F6000 ; lift Z relative to current position
|
2021-05-28 22:35:11 +00:00
|
|
|
G1 H1 X-625 Y-605 F3600 ; move quickly to X and U axis endstops and stop there (first pass)
|
2021-05-24 15:41:44 +00:00
|
|
|
G1 H1 X-625 F1800 ; move quickly to X and U axis endstops and stop there (first pass)
|
2021-05-26 21:17:05 +00:00
|
|
|
G1 H1 Y-605 F1800 ; move quickly to X and U axis endstops and stop there (first pass)
|
2021-05-28 22:35:11 +00:00
|
|
|
G1 H2 X5 Y5 F6000 ; go back a few mm
|
|
|
|
G1 H1 X-625 Y-605 F360 ; move slowly to X and U axis endstops once more (second pass)
|
2021-05-24 15:41:44 +00:00
|
|
|
G1 H1 X-625 F360 ; move slowly to X and U axis endstops once more (second pass)
|
2021-05-26 21:17:05 +00:00
|
|
|
G1 H1 Y-605 F360 ; move slowly to X and U axis endstops once more (second pass)
|
2021-05-23 12:36:07 +00:00
|
|
|
|
|
|
|
G90 ; absolute positioning
|
2021-05-26 21:17:05 +00:00
|
|
|
G1 X250 Y250 F10000 ; go to first probe point
|
2021-05-23 12:36:07 +00:00
|
|
|
G30 ; home Z by probing the bed
|
|
|
|
|
2021-05-24 15:41:44 +00:00
|
|
|
G91 ; relative positioning
|
|
|
|
G1 Z5 F100 ; lift Z relative to current position
|
|
|
|
G90 ; absolute positioning
|
2021-05-26 21:17:05 +00:00
|
|
|
G1 X15 Y15 F10000
|
2021-05-23 12:36:07 +00:00
|
|
|
|