Hello
How can i program Aux keys to operate outputs for example Aux 1 to move tail stock foreword and Aux 2 to move it backwards
Thanks
How to program AUX keys to operate outputs
Moderator: cnckeith
Re: How to program AUX keys to operate outputs
In short, you do this by editing changes into your PLC program source file, then compiling the changed source file to make a new working PLC program.
For some background, see http://www.cncsnw.com/PLCOverview.htm.
You can download the CNC11 PLC programming reference manual from http://www.centroidcnc.com/dealersuppor ... Manual.pdf
In its simplest form, supposing that the tailstock movements are hydraulic, and that you don't care about safety interlocks (such as preventing tailstock retract while the spindle is running), you might just need the output definitions and two lines of logic:
For some background, see http://www.cncsnw.com/PLCOverview.htm.
You can download the CNC11 PLC programming reference manual from http://www.centroidcnc.com/dealersuppor ... Manual.pdf
In its simplest form, supposing that the tailstock movements are hydraulic, and that you don't care about safety interlocks (such as preventing tailstock retract while the spindle is running), you might just need the output definitions and two lines of logic:
Code: Select all
TailstockExtendSol IS OUT4
TailstockRetractSol IS OUT5
; ...
IF Aux1Key THEN (TailstockExtendSol)
IF Aux2Key THEN (TailstockRetractSol)
Re: How to program AUX keys to operate outputs
Of course, to reduce the likelihood of dropping a spinning part through a careless key press, you might at least want to expand that to
Code: Select all
IF Aux2Key && !SpindleEnableOut THEN (TailstockRetractSol)
-
- Posts: 14
- Joined: Thu May 22, 2014 4:51 am
- Acorn CNC Controller: No
- Allin1DC CNC Controller: Yes
- Oak CNC controller: Yes
- CNC Control System Serial Number: 0329160186
- DC3IOB: No
- CNC11: Yes
- CPU10 or CPU7: No
Re: How to program AUX keys to operate outputs
Done !!!!
Thanks . That was very helpful
Thanks . That was very helpful