|
Manual Automatic Tool Change |
|
|
Making it all work |
|
|
The statement “Manual Automatic Tool Change” sounds like an oxymoronic statement unto itself. Basically what it’s a way to convince Mach 2 that you have an automatic tool changer, when in fact you do not (not yet at least). The auto-change routine includes a pause and a prompt to ask for the proper tool. Somewhere in there it applies the proper tool offset and then resumes the program. When we though this up it cut the production time of our brackets from 3 hours down to 1:20 flat. Now that’s a manufacturing improvement, more so it allows an unskilled operator to “baby sit” the mill without a bunch of training. This “Manual Automatic Tool Change” series is broken into 3 sections:
Making it all work This is the third and final (maybe) section on the “Manual Automatic Tool Change”. In this section we wrap it all up and put everything into play. |
|
| Setting up Mach 2 for Automatic Tool Change | |
|
In Mach 2 open up the Logic panel and select "AutoTool Changer", click OK to save and close the box |
|
|
Set the Safe_Z value to something you like, I use 12.00" Don't worry about the "Tool change location stuff" those number can all be 0.00 |
|
| Setting Up The Macros | |
| Find your Mach 2 macros (a Macro is just a
small program that runs within another program), the default location is C:\Mach2\macros\Mach2Mill.
You can always go through Mach to get them, but I'm a Explorer sort of
guy.
You'll need to adjust a couple macros, but before you do that you need to do a few things:
Lets get to work, go back to the Mach2Mill folder and do the following: Open up M6Start.m1s and replace whatever is in there with the following lines. SafeZ = GetSafeZ() ' Load Safe Z Value Create a new file called M99999.m1s and place the following lines in it. tool = GetSelectedTool() 'Load the tool number
|
|
| Testing It | |
|
Make a small program with the following line in it: M06T<Programmed Tool Number> Load the program Things to notice:
|
|
|
Run the program Here's what happens:
|
|
|
Hit OK (don't change the 0 in it, just hit OK) and here's what you get Things to notice:
Why is Z 10.3103? From part 2 of this series you remember When the Tool Height Offset is applied it SUBTRACTS the height of the tool from the Reference Line Height and puts the resulting value into the DRO (numbers on the screen). 12.0000 (Reference line) - 1.6897 (Tool Height) = 10.3103 Congratulations: You have now written you first program to use the Manual Automatic Tool Change. |
|
| Using It For Real | |
| Here is a sniglett of one of my programs
(Step 1) And so on... What happens it the machine starts out and asks for tool #10 (spotter) and zips down to spot a bunch of holes. When it finishes the holes it moves the table to the back and out of the way. M06T16 comes a long and we begin the tool change sequence, we swap the bit, hit OK and the program starts drilling holes. Again we move the table out of the way, and start another change cycle, and drill more holes. |
|
| Final Thoughts
The sequence probably could use some cleaning up; leaving the number in the dialog box doesn’t thrill me, not to mention a few other things. But setting it up is fairly quick and doesn’t require a PHD. The more bells and whistles, the harder the setup. I’ve been thinking about revisiting this and adding a few features to the entire series
I honestly don’t know when I’ll get to them; I think the Auto Tool Height sensor is coming first, maybe in a month or so. |
|