; homeall.g ; called to home all axes ; ; generated by RepRapFirmware Configuration Tool v2.1.4 on Mon Dec 30 2019 17:35:49 GMT-0600 (Central Standard Time) G91 ; relative positioning G1 S1 Y-505 F3000 ; move quickly to Y axis endstop and stop there (first pass) G1 Y5 F1000 ; go back a few mm G1 S1 Y-505 F360 ; move slowly to Y axis endstop once more (second pass) G90 ; absolute positioning ; X-Axis G91 ; relative positioning G1 S1 X-505 F1800 ; move quickly to X axis endstop and stop there (first pass) G1 X5 F6000 ; go back a few mm G1 S1 X-505 F360 ; move slowly to X axis endstop once more (second pass) G90 ; absolute positioning ; Z-Axis G91 ; relative positioning G1 S1 Z-505 F10000 ; move Z down until the endstop is triggered G92 Z0 ; set Z position to axis minimum (you may want to adjust this) G1 Z3 F800 ; go back a few mm G1 S1 Z-505 F80 ; move slowly to X axis endstop once more (second pass) G90 ; absolute positioning