; homey.g ; ; M400 ; make sure everything has stopped before we make changes M574 X1 Y1 S3 ; set endstops to use motor stall M913 X50 Y50 ; drop motor currents to 50% M915 X Y S2 R0 ; set sensitivity to +2 unfiltered G91 ; use relative positioning G1 S2 Z4 F200 ; lower bed 4mm to ensure it is above the switch trigger height G1 Y-400 F4000 S1 ; move Y all the way left and stop at end ;G1 Y30 ; move to edge of glass G90 ; back to absolute mode M400 ; make sure everything has stopped before we reset the motor currents M913 X100 Y100 Z100 ; motor currents back to 100%