duet_vcore3/homex.g

14 lines
562 B
Plaintext

; homex.g
; called to home the X axis
;
M201 X500.00 Y500.00 ; Reduce acceleration for homing moves
G91 ; relative positioning
G1 H2 Z10 F8000 ; lift Z relative to current position
G1 H1 X-625 F3600 ; move quickly to X axis endstop and stop there (first pass)
G1 X20 F3000 ; go back a few mm
G1 H1 X-625 F256 ; move slowly to X axis endstop once more (second pass)
M201 X3000 Y3000 ; Return to full acceleration
G1 H2 Z-10 F8000 ; lower Z again
G90 ; absolute positioning