SOURCE 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:
Press the Macro Security button. Set security to Medium.
Restart LibreOffice. When it opens up press Enable 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]\ToolTables.
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 unused Tool Changer files. The system will run even if the unused files are present, but it will be easier to make future modifications to the configuration without them.
Edit the file with LibreOffice. 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, 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.
Set Tool Pocket Positions
-
Carefully position the tool in each pocket holder.
-
Record the machine coordinate (G53) position for that pocket.
-
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.Pro Tip: don't set these up with a tool in the spindle, it is more accurate to put a tool into the tool fork, open the drawbar, and then jog the spindle onto the tool very carefully while watching the gap between the tool taper and the spindle taper and adjusting as needed.
-
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.carousel.
"Z Pocket (Step 3)" is the tool drop off height. this should have the tool grooves centered in the forks. If you have ISO tooling then it should work fine. 
You"Z mightPocket Clamp (Step 6)" Is the tool pick up height. If you have HSK style tooling you will probably find that the tool is picked up more easily if you set the clamp position to be 0.01"a little lower than the pocket position.position, you'll want the spindle to be pushing down on the tool slightly (about 0.02" or so) as the drawbar clamps, this makes your tool changes more reliable by cutting done on drawbar faults mid tool change.
All these entries will autofill the configuration tab which turn get's exported upon save to a CSV which the tool change program uses.
This shows you all the raw tool changer positions, this is where you can modify data for custom applications before saving.
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 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.
The first group of settings should match this. The number of pockets will vary from machine to machine.
Next you must decide if you want the tool changer to be outside softlimits in the active axis, if yes set "Disable softlimits" to Yes.
This means that the X softlimits should stop the machine before the spindle reaches the carousel, this protects against crashes if an improper program is loaded. it can cause a little more headache if you get an error mid toolchange. it also means that the X end position in the spreadsheet should be set to end the tool change back within the softlimit envelope. the yellow line below shows about where the X softlimit should be in this case.
The secondnext groupstep is the I/Osignal mapping for Drawbar, Air-Purge,airpurge, etc. there are available settings for 4 spindles. we are going to just use spindle 1 and tool changer 1 for standard single spindle machines.
the general idea is to map what you have and leave everything else blank, use Mach input and output signals, not direct I/O points. this forces everything through mach's logging which improves future troubleshooting
On a Carousel tool changer you will probably have I/O for the drawbar, carousel and maybe a dust shroud.
Here are the drawbar settings as an example.
Drawbar clamp output should be mapped to the solenoid that closes the drawbar (most machines rely on a spring stack to lock the tool, this is rarely used)
Drawbar clamped input should be mapped to the input that senses when the drawbar is retracted, usually this is "closed without tool"
SomeDrawbar IOinput settle time is requiredreally handy for operation.timing, Optionalsettle settingstimes are highlightedused to delay the next action in Orange.the tool change sequence, usually the output fires, then we wait for the associated input to come high, then we advance to the next thing. either the next output or a motion command. if no input is mapped the sequence will advance immediately after firing the output.
it goes like this. Output1->Input1->settle timer->Motion->Output2->input2->settle timer and so on.
Settle timers are nice if you want to wait a bit after the input goes high before advancing, or if you have no input available you can use it to wait long enough for the pneumatic action to take place before doing the next thing.
Drawbar unclamp Output should be mapped to the solenoid that opens the drawbar to release the tool virtually every machine will have this.
drawbar unclamp input should be mapped to the input that tells us that the drawbar is open and the tool can drop free.
Most Carousel machines will be using these sections.
If you have a carousel that moves on an air cylinder then use the section below, in yellow are the commonly used settings.
The tool release input should be mapped to a tool release button if you have one this will allow you open the drawbar manually to take tools in and out without using the tool changer. if you don't have a button then usually the F1 key on the pendant is a good option.


















