View Full Version : Programing AUX buttons


George C
02-07-2007, 06:17 PM
Hello,
I'm a long time lurker and a new poster so please excuse me if I ask obvious questions.
I have a Centroid M400 and wonder if anyone has an idea how to program the AUX buttons so that they can activate as push-push functions for a work holding system?
Has anyone bisected the MPG handwheel assembly? What are the specs on the encoder? Plug pinout?

Thanks,
George

jnutter
02-07-2007, 08:30 PM
Do you have any of the documentation? It should cover how to program the PLC. I was looking it over the night before last. Looks pretty simple. You can access all the buttons and all the outputs that way and tie them together in any way you wish.

Ajax might write you a custom PLC program if you don't want to get into that.

George C
02-07-2007, 08:39 PM
Thanks for the reply.
I have drawings and owners manuals but nothing about the PLC. I know it ought to be a simple piece of code to make a clean solution rather than a hardware kludge. I suspect that it's a secret so changes can be $old.

Shizzlemah
02-10-2007, 01:33 PM
depending on your SW version, those buttons are mapped to PLC inputs,
and those inputs automatically trigger some M-codes.

You can map those M-functions over to call M93 / M94 to turn on or off PLC outputs. With the user variables you can add some smarts to it.

Use the CNC10.M60 (example) file to map commands for the M60 function (one of the aux buttons)


This is all without getting into the PLC. PLC is documented, slightly, holler if you need more on that route but I would recommend against it. You can do it all through the CNC side of the PLC without changing ladder. Just do it in SW.