Mach3 Ref All Home Script <REAL>
Paste the following script. This example includes safety checks.
' --- Home A Axis (if present) --- If GetOEMLED(33) Then ' LED 33 = A axis exists/active Message "Homing A Axis..." DoOEMButton(1036) ' Ref A While IsMoving() Sleep 100 Wend End If mach3 ref all home script
' --- Home X Axis --- Message "Homing X Axis..." DoOEMButton(1034) ' Ref X While IsMoving() Sleep 100 Wend Paste the following script
' --- Re-enable limits if disabled --- ' DoOEMButton(1021) ' Re-enable limits mach3 ref all home script