Hello all,
I have to deal with large number of (125+) sort bin doors opening and closing. Each bin door has a open position sensor and a close position sensor. This is similar to a Mail sorting machine in operation (mail sort slots/gates opening and closing), except it's not and this system runs at a snails pace. So I have about 10 to 15 seconds to detect a Bin(s) open/close state before we proceed to the next step in the subrotine to place product in to a particular bin(s). In logic, I would tell the bin to open and wait until I see it's open state sensor to be active, then move on to my next step to place something in this bin(s). While waiting for the bin(s) to finish opening/closing, PLC continues to scan all other subroutines and do it's own thing.
My Issue:
How to detect a bin is opened or closed to set a Flag for each bin when it's ready, but without using timers. I want to be able to detect Success as wel as Failure for a given bin. At times this could be just one or two bins. But at other times, depending on the process involved, logic might be tasked with detecting open/clos/fail status of more than 70 bins at a time within the same subroutine of logic. Using 125+ timers does not look very elegent nor does it appear to be very efficient in my thinking.
Anyone have any Ideas or suggestions on how to go about this?
Thanks All.
EDIT: PLC Platform is Allenbradley Controllogix L55A (Logix 5555PLC)
I have to deal with large number of (125+) sort bin doors opening and closing. Each bin door has a open position sensor and a close position sensor. This is similar to a Mail sorting machine in operation (mail sort slots/gates opening and closing), except it's not and this system runs at a snails pace. So I have about 10 to 15 seconds to detect a Bin(s) open/close state before we proceed to the next step in the subrotine to place product in to a particular bin(s). In logic, I would tell the bin to open and wait until I see it's open state sensor to be active, then move on to my next step to place something in this bin(s). While waiting for the bin(s) to finish opening/closing, PLC continues to scan all other subroutines and do it's own thing.
My Issue:
How to detect a bin is opened or closed to set a Flag for each bin when it's ready, but without using timers. I want to be able to detect Success as wel as Failure for a given bin. At times this could be just one or two bins. But at other times, depending on the process involved, logic might be tasked with detecting open/clos/fail status of more than 70 bins at a time within the same subroutine of logic. Using 125+ timers does not look very elegent nor does it appear to be very efficient in my thinking.
Anyone have any Ideas or suggestions on how to go about this?
Thanks All.
EDIT: PLC Platform is Allenbradley Controllogix L55A (Logix 5555PLC)
Last edited: