Mach3 splits the tool change process into two primary files located in your profile's macro folder:
Designed for machines where tools are stored in a fixed rack. The macro contains a "lookup table" of X and Y coordinates for each tool slot. mach3 tool change macro download
Depending on your machine's hardware, you will need a specific script: Mach3 splits the tool change process into two