; homeall.g ; called to home all axes ; ; Home XY for Z homing ; G91 ; relative positioning G1 Z10 F200 S2 ; lift head relative to current position M400 ; make sure everything has stopped before we make changes M913 X50 Y50 ; set X Y motors to 50% of their normal current for homing M98 P"0:/sys/m_set_low_speeds.g" ; set lower Z speeds and accelerations ; Home XY for Z homing ; ;==============Home X==================== ; G1 S1 X-305 Y-335 F4800 ; move quickly diagonally to hit X or Y M400 G1 X10 Y10 F1000 ; go back a few mm G1 S1 X-305 F4800 ; move quickly to X axis G1 X10 F1000 ; go back a few mm ;==============Home Y==================== ; M400 G1 S1 Y-335 F4800 ; move quickly to X axis endstop and stop there (first pass) G1 Y10 F1000 ; go back a few mm ;==============Home Z==================== ; M400 G90 ; absolute positioning M98 P"0:/macros/Center_Probe"; move to center of bed ; Probe the bed ; M558 A1 F350 ; Set single probing at faster feed rate G30 ; Do a single probe to home our Z axis M558 A10 F100 ; Set tripple probing at slower feed rate G30 ; Probe again to get a more accurate position M400 ; make sure everything has stopped before we make changes M98 P"0:/sys/m_set_normal_speeds.g" ; set normal Z speeds and accelerations M913 X100 Y100 ; set X Y motors to 100% of their normal current