' --- Final status --- Message "All axes homed successfully." SetUserLED(10, 1) ' Optional: Light a custom "Homed" LED
Paste the following script. This example includes safety checks. mach3 ref all home script
' --- Home Y Axis --- Message "Homing Y Axis..." DoOEMButton(1035) ' Ref Y While IsMoving() Sleep 100 Wend ' --- Final status --- Message "All axes homed successfully