i would like to know if it is possible to use one Input on the Acorn for two signals?
I thought about using probe and HomeAll on one input.
But LimitAll and HomeAll could also be a candidate for that on a mill.
The wizard seems to accept only one signal per input.
After a look at a "standard lathe plc" first it seemed to be easy:
acorn_lathe_plc.src:
Code: Select all
;------------------------------------------------------------------------------
; INPUT DEFINITIONS
; Closed = 1 (green) Open = 0 (red)
;------------------------------------------------------------------------------
Unused1 IS INP1 ;&*;
Unused2 IS INP2 ;&*;
Unused3 IS INP3 ;&*;
Unused4 IS INP4 ;&*;
Unused5 IS INP5 ;&*;
Unused6 IS INP6 ;&*;
Unused7 IS INP7 ;&*;
EStopOk IS INP8 ;&*;
; #endregion
I thought, i will just have to change it like that:
Code: Select all
;------------------------------------------------------------------------------
; INPUT DEFINITIONS
; Closed = 1 (green) Open = 0 (red)
;------------------------------------------------------------------------------
HomeAll IS INP1 ;&*;
ProbeTripped IS INP1 ;&*;
Unused2 IS INP2 ;&*;
Unused3 IS INP3 ;&*;
Unused4 IS INP4 ;&*;
Unused5 IS INP5 ;&*;
Unused6 IS INP6 ;&*;
Unused7 IS INP7 ;&*;
EStopOk IS INP8 ;&*;
; #endregion
But it didn't work, i got lots of error-messages when compiling.
So before i start fiddling around for days now^^, i wanted to ask you guys first:
Is it possible to assign two different signals to the same input in the plc?
I have some ideas how to setup the "real" separation of the signals by hardware, but can someone tell me, if the PLC supports that "doubling" at all?
I know, easiest and best way would be to buy an Ether1616, but the hobby budget doesn't stretch that far in the near future
Thank you very much and with best regards,
Marc