; homeall.g ; called to home all axes ; ; generated by RepRapFirmware Configuration Tool v2 on Tue Feb 19 2019 16:42:10 GMT-0500 (Eastern Standard Time) G91 ; relative positioning G1 Z5 U5 F6000 S2 ; lift Z relative to current position G1 S1 X-301.5 Y-309 F1800 ; move quickly to X and Y axis endstops and stop there (first pass) G1 X5 Y5 F6000 ; go back a few mm G1 S1 X-301.5 Y-309 F360 ; move slowly to X and Y axis endstops once more (second pass) ; begin Split & Recombine for dual Z & U ; this defines the mechanical endstops as BACKUP to BLTouch M584 Z2 U4 P4 ; split Z motor control to Z and U but for it to work we have to show U (param P4) in the UI G1 S1 Z-205 U-205 F1000 ; Move Z and U down until the switches triggers M584 Z2:4 P3 ; back to combined axes and hidden U ; Activate BLTouch for Homing Z G1 Z5 F6000 ; lift Z relative to current position M98 Pdeployprobe.g ; deploy BLTouch G1 S1 Z-205 F1000 ; move Z down until the switch triggers G92 Z2.5 ; set Z position to trigger height M98 Pretractprobe.g ; retract BLTouch ; Set Home for Z & Lift Z G92 Z0 ; set Z position to axis minimum (you may want to adjust this) G1 S2 Z5 F100 ; lift Z above bed relative to current position G90 ; absolute positioning