Script | Mach3 Ref All Home

' --- Re-enable limits if disabled --- ' DoOEMButton(1021) ' Re-enable limits

' --- Home Y Axis --- Message "Homing Y Axis..." DoOEMButton(1035) ' Ref Y While IsMoving() Sleep 100 Wend mach3 ref all home script

' --- 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 ' --- Re-enable limits if disabled --- '

Implementation and Configuration of a Unified "Ref All Home" Script for Mach3 CNC Controllers mach3 ref all home script