Skip to main content

Carousel Style Tool Changer

Carousel Style Tool Changer

The MachMotion control has built-in support for Carousel Tool Changers. It works by taking user defined positions and a pre-programmed tool changing sequence and combining them into a tool change routine. Common place safety checks are built in. 

The tool changer will work with the tool changer parallel to X or Y. 

The user should determine which axis the carousel is parallel to and then delete the non-applicable files located in: C:\Mach4\Profiles\Router\ToolTables

Tool Changer X Parallel to Rotary Carousel.ods
Tool Changer Y Parallel to 2 Carousels 1 Spindle.ods
Tool Changer Y Parallel to Rotary Carousel.ods
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



Tool Changer Setup

Carousel tool changer example with Tool changer Carousel parallel to X shown below.  In this case, you would use the Tool Changer X Parallel to Rotary Carousel.ods file and delete the one for Y (The extra file does not need to be deleted.. It just makes it cleaner for support down the road to only have one file in there.)

RouterCarousel-modified.jpg

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

Carousel X.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.

X Carousel Common Positions.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.

Notes
  • 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.01" 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 at the far right side.

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. 

Carousel Parameters.png

The second group is the I/O mapping for Drawbar, Air-Purge, etc. 

Some IO is required for operation. Optional settings are highlighted in Orange

Carousel IO Parameters.png