Mach3 Ref All Home Script Verified • Limited Time

This script is recommended for all Mach3-based CNC machines with functional limit/home switches.

The standard script typically uses DoButton() commands, which trigger internal Mach3 functions. : Home Z-axis (safest to do first) DoButton( 23 ) : Home Y-axis DoButton( 22 ) : Home X-axis DoButton( 25 ) : Home A-axis (if used) How to Edit the Script Open Mach3 and go to the Operator menu at the top. Select Edit Button Script . Click the Ref All Home button (it should be flashing). mach3 ref all home script