; homex.g ; called to home all axes ; ; generated by RepRapFirmware Configuration Tool v3.3.10 on Thu Jan 20 2022 22:23:11 GMT+0100 (Mitteleuropäische Normalzeit) M400 ; wait for current moves to finish G4 P200 ; pause 200 ms M17 X Y ; energise A, B motors G4 P200 ; pause 200 ms M98 P"setAccHome.g" ; set accelerations lower for homing M98 P"stepperTuningHome.g" ; driver mode selection moved to macro ;M569 P0.5 D3 V10 ; force stealthChop for sensorless homing ;M569 P0.6 D3 V10 ; force stealthChop for sensorless homing M913 X50 Y50 G4 P200 ; pause 200 ms M17 X Y ; energise A, B motors G4 P200 ; pause 200 ms G91 ; relative positioning G1 H2 Z5 F12000 ; lift Z relative to current position G1 H1 X-355 F4000 ; move quickly to X axis endstop and stop there G1 X5 F12000 ; go back a few mm G1 H1 Y-355 F4000 ; move quickly to Y axis endstop and stop there G1 Y5 F12000 ; go back a few mm G4 P200 G90 G1 X10 Y10 F6000 G91 G30 ; without Z probe: standard manual G30 ; G1 H1 Z-355 F600 ; move Z down until the endstop is triggered ; G92 Z0 ; set Z position to axis minimum (you may want to adjust this) M98 P"setAccPrint.g" M98 P"stepperTuningPrint.g" ; driver mode selection moved to macro ; M569 P0.5 D3 V4000 ; force spreadcycle over ~5 mm/s for printing ; M569 P0.6 D3 V4000 ; force spreadcycle over ~5 mm/s for printing ; Uncomment the following lines to lift Z after probing G91 ; relative positioning G1 Z5 F200 ; lift Z relative to current position G90 ; absolute positioning M400 M913 X100 Y100