Winerack Style Tool Changer
Winerack Style Tool Changer Overview
The MachMotion plugin supports a wine-rack tool changing system.
It combines user-defined rack positions with a pre-programmed tool-change sequence to run a reliable tool-change routine.
The plugin includes common safety checks.
Wine-rack tool changer: a fixed array of tool holders arranged in a rack.
Tool-change sequence: predefined machine motions that pick up or return a tool.
Orientation
The tool rack must be parallel to either the X-axis or the Y-axis.
The plugin works with both orientations.
Configure the Correct Orientation
-
Determine which axis the rack is parallel to (X or Y).
-
Open:
C:\Mach\Profiles\Router\ToolTables. -
Keep the file that matches your rack orientation.
-
Create an archive folder and move the other tool changer files to the archive folder.
Enable Macros
If you get this error, macros are not enabled. Follow the procedure below:
Press the Macro Security button. Set security to Medium.Medium.
Restart LibreOffice. When it opens up press Enable Macros.Macros.
To confirm macros are working, when you save the file you should see this dialog and "ToolChangerData.csv" should appear or update in C:\Mach\Profiles\PROFILE\[PROFILE]\ToolTables.
Example: Wine-Rack Tool Changer Parallel to X
When the rack is parallel to the X-axis, use the Tool Changer X Parallel to Rack.ods file.
Steps
-
Open
C:\Mach\Profiles\Router\ToolTables. -
Keep Tool Changer X Parallel to Rack.ods.
-
Move the other tool changer files to an Archive folder.
-
Archiving is optional. It keeps the folder clean.
Edit the file with Libre Office. In the file, there is a graphic detailing the sequence and positions.
Keep in mind, all positions are absolute and must be machine coordinate(G53) values!values, not work offsets.
Configure the values in the Description block values should be setsection before editing any others!other parameters. The default valuessettings usuallyare doplaceholders notonly.
Using workthem andwithout adjustment can resultcause inincorrect movements or machine crash. crashes.
Setting Tool Pocket Positions
-
The rest of the values are tool pocketCarefully positionvalues. These are set by carefully positioningthe tool intheeachholderpocketandholder.then -
Record the machine
cord.coordinateposition.(G53)Itpositionisforverythatimportantpocket. -
Enter each recorded value into the corresponding tool pocket field.
⚠️ Important: Set each pocket position individually.
Do not copy values between pockets.
Even small physical differences can cause large alignment errors.
Notes
-
Setting a pocket position to
set“Nil”eachorposition individually! Almost all machines“0” willhavedisablesignificantthatdifferencespocket.in -
The number of active pocket positions
evenmustthoughnotthey may seem very similar. Settingexceed thepositionsnumbertoof"Nil"physicalorpockets"0"inwillthedisablerack.them.
You might find that the tool is picked up more easily if you set the clamp position to be 0.002" lower than the pocket position.
After entering any positions you must save the document and the CSV conversion macro must run. You will see this dialog if it is successful in updating the settings:
All positions are exported to a .CSV file at that point. If the macro does not run when you save the file, the changed positions will not have any effect.
MachPro Setup
To operate the tool changer it must be enabled in the MachPro settings.
Pull down Configure -> Control and select the Settings tab at the far right side.
Click the Predefined Filters button for Tool Change.
The first group of settings should match this. The number of pockets will vary from machine to machine.
The second group is I/O mapping for Drawbar, airpurge, ect.
Some IO is required for operation. Ones that are optional are highlighted in Yellow and rare cases in Orange.













