;called to Home Y M117 Homing Y Axis. Bypass Z. M400 ; make sure everything has stopped before we make changes M574 Y1 X1 S3 ; set endstops to use motor stall M913 X50 Y50 ; drop motor currents to 40% M915 Y X S3 R0 F0 ; set sensitivity to 2, do nothing when stall, unfiltered G91 ; relative positioning G1 Z5 F500 S2 ; lower bed relative to current position, Ignoring if Z was not homed prior G1 S1 Y-345 F2800 ; move 320mm, stopping at the endstop G4 P125 ; wait 125msec G1 Y10 F1000 ; move away from home 10mm G4 P125 ; wait 125msec G1 S1 Y-345 F2800 ; move towards axis minimum G4 P125 ; wait 125msec G1 Z-5 F500 S2 ; raise bed again, Ignoring if Z was not homed prior G90 ; absolute positioning M400 ; make sure everything has stopped before we reset the motor currents M913 Y100 X100 ; motor currents back to 100% M117 Ready