Page 1 of 1

Trouble with All In One DC tool changer program <answered>

Posted: Wed May 02, 2018 4:40 pm
by dandonegan
I need the help of someone at least 30% smarter than I am.

I have been using my mail for about 2 years now without the tool changer and I'm having problems now trying to get the tool changer working.

My machine is wired exactly as shown in the ALLIN1PLCADD1616, Carousel ATC drawing dated 121010. My report is attached.

The problem that I'm having is that the outputs on the PLCADD1616 are not acting as the are described in the PLC program. For example when I enter an M19 "Orient spindle" output 17 activates, it's supposed to be output 28 according to the PLC broad.

If I enter M81 "tool un clamp" output 14 activates as opposed output 17.

Any help would be greatly appreciated as I have exhausted my own abilities.

Dan

Re: Trouble with All In One DC tool changer program

Posted: Wed May 02, 2018 8:44 pm
by cncsnw
When you compiled the PLC program, you forgot to specify "mpu.plc" as the output file.

Therefore the output went to a file named "plc.out", and the control is still using the old mpu.plc with whatever it contains.

Re: Trouble with All In One DC tool changer program <answered>

Posted: Thu May 03, 2018 11:38 am
by dandonegan
Thanks for the advice. I must've typed the same thing in incorrectly 5 times.

Unfortunately after doing that I'm still having the same problem. It seems like the problem has something to do with M codes. For example the F keys will make my tool carousel spin properly but the associated M codes don't do anything.

Any advice would be greatly appreciated