duet_vcore3/homeall.g

35 lines
1.4 KiB
Plaintext
Raw Permalink Normal View History

2021-05-26 21:17:05 +00:00
; homeall.g
; called to home all axes
;
; BLTouch
M280 P0 S160 ; Precautionary alarm release
M280 P0 S90 ; Ensure the pin is raised
2021-06-16 20:57:44 +00:00
2022-02-02 23:19:54 +00:00
M201 X500.00 Y500.00 ; Reduce acceleration for homing moves
2021-06-16 20:57:44 +00:00
G91 ; relative positioning
2022-02-02 23:19:54 +00:00
G1 H2 Z10 F10800 ; lift Z relative to current position
G1 H1 X-625 F3600 ; move quickly to X axis endstop and stop there (first pass)
G1 H2 X20 F3000 ; go back a few mm
G1 H1 X-625 F256 ; move slowly to X axis endstop once more (second pass)
2022-02-02 23:19:54 +00:00
M201 X3000 Y3000 ; Return to full acceleration
2021-06-16 20:57:44 +00:00
G90 ; absolute positioning
2022-02-02 23:19:54 +00:00
M201 X500.00 Y500.00 ; Reduce acceleration for homing moves
2021-06-16 20:57:44 +00:00
G91 ; relative positioning
2022-02-02 23:19:54 +00:00
G1 H1 Y625 F3600 ; move quickly to Y axis endstop and stop there (first pass)
G1 Y-20 F3000 ; go back a few mm
G1 H1 Y625 F256 ; move slowly to Y axis endstop once more (second pass)
2022-02-02 23:19:54 +00:00
M201 X3000 Y3000 ; Return to full acceleration
2021-06-16 20:57:44 +00:00
G90 ; absolute positioning
2022-02-02 23:19:54 +00:00
G1 X250 Y250 F3600 ; go to first probe point
2021-06-16 20:57:44 +00:00
G30 ; home Z by probing the bed
2022-02-02 23:19:54 +00:00
G29 S1 ; enable compensation
G91 ; Relative positioning
G1 Z10 F3600 ; lift Z relative to current position
2021-06-16 20:57:44 +00:00
G90 ; absolute positioning