duet_vcore3/homex.g

13 lines
442 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 F3600 ; move quickly to X axis endstop and stop there (first pass)
G1 H2 X5 F6000 ; go back a few mm
G1 H1 X-625 F360 ; move slowly to X axis endstop once more (second pass)
G1 H2 Z-2 F10800 ; lower Z again
G90 ; absolute positioning
G1 X10 F6000 ; move forward 10mm