; homex.g ; called to home the X axis ; ; generated by RepRapFirmware Configuration Tool v2 on Wed Jan 30 2019 23:28:52 GMT+1100 (AEDT) G91 ; relative positioning G1 Z5 F6000 H2 ; lift Z relative to current position G1 H1 X-340 F3000 ; move quickly to X axis endstop and stop there (first pass) G1 X5 F5000 ; go back a few mm G1 H1 X-340 F600 ; move slowly to X axis endstop once more (second pass) G1 Z-5 F6000 H2 ; lower Z again G90 ; absolute positioning