; homeall.g ; called to home all axes ; ; generated by RepRapFirmware Configuration Tool v3.1.1 on Sun May 31 2020 17:12:48 GMT+0200 (Mitteleuropäische Sommerzeit) M400 ; make sure everything has stopped before we reset the motor currents M913 X50 Y70 ; reduce motor current to 50% to prevent belts slipping G91 ; relative positioning G1 H2 Z3 F6000 ; lift Z relative to current position G1 H2 X-1 Y-1 ; move back a bit G1 H1 X225 Y225 F4000 ; move quickly to X and Y axis endstops and stop there (first pass) G1 X-8 Y-5 ; move back a bit G90 ; absolute positioning M400 ; make sure everything has stopped before we reset the motor currents M913 X100 Y100 ; motor currents back to normal G1 X110 Y103 F10000 ; go to first bed probe point and home Z G30 ; home Z by probing the bed ;G1 X195 Y200 F6000 ; go home ; Uncomment the following lines to lift Z after probing ;G91 ; relative positioning ;G1 Z5 F100 ; lift Z relative to current position ;G90 ; absolute positioning