Skip to main content

SOURCE 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.

Configure the Correct Orientation

The tool rack must be parallel to either the X-axis or the Y-axis.
The plugin works with both orientations.

image.png

  1. Determine which axis the rack is parallel to (X or Y).

  2. Open: C:\Mach\Profiles\Router\ToolTables.

  3. Keep the file that matches your rack orientation.

  4. Create an archive folder and move the other tool changer files to the archive folder.

image.png

Enable Macros

If you get this error, macros are not enabled. Follow the procedure below:

image-1596136391716.png

In LibreOffice pull down Tools->Options->LibreOffice->Security

image-1596136446747.png

Press the Macro Security button. Set security to Medium

image-1596136504542.png

Restart LibreOffice. When it opens up press Enable Macros

image-1596136615778.png

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]\ToolTables.

image-1596136647970.png



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.

  1. Open C:\Mach\Profiles\Router\ToolTables.

  2. Keep Tool Changer X Parallel to Rack.ods.

  3. Move the other tool changer files to an Archive folder.

  4. Archiving is optional. It keeps the folder clean.

image-1595882537766.png

Edit the file with LibreOffice. In the file, there is a graphic detailing the sequence and positions. 

image-1595883178219.png

Keep in mind, all positions are absolute and must be machine coordinate(G53) values, not work offsets.

Configure the values in the Description section before editing any other parameters. The default settings are placeholders only.
Using them without adjustment can cause incorrect movements or machine crashes.

image-1595883420510.png

Setting Tool Pocket Positions
  1. Carefully position the tool in each pocket holder.

  2. Record the machine coordinate (G53) position for that pocket.

  3. 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.

  • Setting a pocket position to “Nil” or “0” will disable that pocket.

  • The number of active pocket positions must not exceed the number of physical pockets in the rack.

image-1652274511289.png

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:

image-1596136647970.png

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 Settings configuration for winerack tool changers

To operate the tool changer it must be enabled in the MachPro settings. 

Pull down Configure -> Control and select the Settings tab

Click the Predefined Filters button for Tool Change

image-1595883796905.png

The first group of settings should match this. The number of pockets will vary from machine to machine. 

image-1595883984270.png

The second group is I/O mapping for Drawbar, airpurge, etc.

Some IO is required for operation. Ones that are optional are highlighted in Yellow and rare cases in Orange

image-1595884190443.png