Ok, here I go again:
I have a project in hand which consists of rejecting a box with open flaps off a conveyor belt. I have a roller conveyor on one side of the case conveyor and a pneumatic pusher on the other side. We have no encoder on the case conveyor so shift register is not duable unless it becames absolutely necessary. I spoke to a colleague and he suggested using a photoeye looking down at the box and tieing it ito a counter and also a greater than function. The case conveyor runs at a constant speed of 140 feet a minute. So he recommended to measure the leght of the box in time. Based on this measurement set source B on the greater than function, you know just a little bit longer than a closed box(box flaps are about 2.5 inches deep) whenever an open box goes by it will be about five inches longer and therefore trigger the photoeye for a few more miliseconds. When the value from the photoeye-triggered timer exceeds this value we would have a reject. After this we would have another timer giving us a delay before the box gets kicked out(I might do away from this by setting the delay mechanically via moving the photoeye closer to the air cylinder) and another off delay to hold the cylinder out long enough to push the box out. My problem is, I only have one input(which I will use for the photo eye)available on the 16 terminal input flex I/O module; therefore, in order to reset all those timers back to zero I woul have to use internal logic and this I am not very familiar with. I was wondering if this is actually duable and hoping someone could give me some input on this matter.
Thanks in advance.