
04-21-2011, 09:33 PM
|
| | | Join Date: Apr 2011 Location: Mexico
Posts: 1
| |
How to use auxiliary outputs | | I bought a router with an Allen Bradley control that I wasn't able to get working, so I ended up buying an Ajax DC3IOB and Mach3 software. This is the first time that I've worked with a CNC machine, so it's been a learning experience.
I've managed to get all 4 axis moving and can turn one of the spindles on and off. I'm using the DC3IOB spindle output and M3 to start the spindle and M5 to stop it. I've written some G Code and successfully cut several sheets of plywood.
Now what I need to do is control the other spindle, a drill, and a vacuum pump. I can turn all of these on and off with relays, but I don't know how to make a specific M function turn on an auxiliary output.
As far as I know, M100 to M199 are user defined commands and the DC3IOB has plenty of auxiliary outputs (I'll probably use the ones on connector H5).
What do I need to do to get an M function to turn on the Auxiliary 2 output and another M word to turn it off? |