; homex.g ; called to home the X axis ; generated by RepRapFirmware Configuration Tool v2.1.1 on Sun Nov 03 2019 09:32:23 GMT-0500 (Eastern Standard Time) G91 ; relative positioning G1 H2 Z5 F6000 ; lift Z relative to current position G1 H1 X-805 F400 ; move quickly to X axis endstop and stop there (first pass) S1 checks for endstop hit ; go back a few mm G91 G1 H2 X5 F1800 ; go back a few mm G1 H1 X-10 F360 ; move slowly to X axis endstop once more (second pass) H1 checks for endstop hit G92 X0 G90 ; G1 H2 Z-5 F2000 ; lower Z again G90 ; absolute positioning