VoronUsers/firmware_configurations/reprapfirmware/fulg/sys/homey.g

33 lines
602 B
Plaintext

; homey.g
; called to home the Y axis
; Allow movements before homing
M564 H0
; Lift Z relative to current position
M98 P"/macros/print_scripts/z_current_low.g"
G91
G1 Z10 F9000
G90
M98 P"/macros/print_scripts/z_current_high.g"
; Lower AB currents
M98 P"/macros/print_scripts/xy_current_low.g"
; Move quickly to X axis endstop and stop there (first pass)
G1 Y600 F2400 S1
; Go back a few mm
G91
G1 Y-5 F9000
G90
; Move slowly to X axis endstop once more (second pass)
G1 Y600 F360 S1
; Restore AB currents
M98 P"/macros/print_scripts/xy_current_high.g"
; Homing done, enforce limits
M564 S1 H1