duet_vcore3/homex.g
2022-02-01 17:54:16 +00:00

13 lines
445 B
Plaintext

; homex.g
; called to home the X axis
;
G91 ; relative positioning
G1 H2 Z2 F10800 ; lift Z relative to current position
G1 H1 X-625 F10800 ; move quickly to X axis endstop and stop there (first pass)
G1 H2 X5 F6000 ; go back a few mm
G1 H1 X-625 F256 ; move slowly to X axis endstop once more (second pass)
;G1 H2 Z-2 F10800 ; lower Z again
G90 ; absolute positioning
G1 X10 F10800 ; move forward 10mm