; homeall.g ; called to home all axes ; homex.g ; called to home the X axis ; ; generated by RepRapFirmware Configuration Tool on Sun Apr 08 2018 00:00:50 GMT+0100 (GMT Daylight Time) G91 ; relative positioning G1 Z5 F6000 S2 ; lift Z relative to current position G1 S1 X-285 F1800 ; move quickly to X axis endstop and stop there (first pass) G1 X5 F6000 ; go back a few mm G1 S1 X-235 F360 ; move slowly to X axis endstop once more (second pass) G92 X0 S2 G1 Z-5 F6000 S2 ; lower Z again G90 ; absolute positioning ; homey.g ; called to home the Y axis ; ; generated by RepRapFirmware Configuration Tool on Sun Apr 08 2018 00:00:50 GMT+0100 (GMT Daylight Time) G91 ; relative positioning G1 Z5 F6000 S2 ; lift Z relative to current position G1 S1 Y295 F1800 ; move quickly to Y axis endstop and stop there (first pass) G1 Y-5 F6000 ; go back a few mm G1 S1 Y215 F360 ; move slowly to Y axis endstop once more (second pass) G92 Y290 S2 G1 Z-5 F6000 S2 ; lower Z again G90 ; absolute positioning G91 ; relative mode G1 Z-250 S1 F1800 ; move Z down until the switch triggers G1 Z5 F6000 ; go back a few mm G1 S1 z-235 F360 ; move slowly to X axis endstop once more (second pass) G92 Z0 S2 ; tell the firmware that we are at Z=0mm G90 ; back to absolute mode