Skip to main content

Winerack Style Tool Changer

Overview

The MachMotion plugin has support a wine rack tool changing system. 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 rack is parallel to and then delete the non-applicable file located in: C:\Mach4\Profiles\Router\ToolTables

image-1595882989371.png


Enable Macros

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

image-1596136391716.png

Navigate to 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:\Mach4\Profiles\PROFILE\ToolTables.

image-1596136647970.png



Tool Changer Setup

Wine rack tool changer example with Tool changer rack parallel to X shown below.  In this case, you would use the Tool Changer X Parallel to Rack.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.)

image-1595882537766.png

Edit the file with Libre Office. 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! the "Description" values should be set before any others! The default values usually do not work and can result in machine crash. 

image-1595883420510.png


The rest of the values are tool pocket position values. These are set by carefully positioning the tool in the holder and then recording the machine cord. position. It is very important to set each position individually! Almost all machines will have significant differences in pocket positions even though they may seem very similar.  Setting the positions to "Nil" or "0" will disable them. You should not have more pocket positions than pockets.

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. 


Mach Setup

To operate the tool changer it must be enabled in the MachMotion Plugin. 

Click the fast search button for Tool Change. 

image-1595883796905.png

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

image-1595883984270.png

The second group is just 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

image-1595884190443.png










Keywords: Router Tool changer wine winerack rack style mach4 tool auto tool changer