plcengineer
Member
I have an application with a conveyor that is running 300FPM. The conveyor has a barcode scanner that will be determine which lane product will be diverted. The scanner will give us an output for each lane, so we will get an input 1 for lane 1, input 2 for lane 2 etc... This conveyor has an encoder to track position and it is a belt conveyor to eliminate most slippage. I will be using an AB plc with a high speed counter input for the encoder. Each lane will have a pusher to push the box into the divert. Also, each lane will have a PE to detect the box.
Now, I am having trouble determining how to track the box. I have thought about building a BSL in the PLC for each product. When I detect a box for lane 1, I could put a one in the BSL and start rotating the BSL with the pulse from the HSC, like I:0.0. This would be the A+ pulse from the incremental encoder. If my BSL was the length of the conveyor, I could test to see where the "1" bit was located in front of the PE for divert. If the bit position was in the right position and I saw the trailing edge of the PE, I could divert.
Also, I was thinking about some type of scaling the pulses to inches.
I was thinking about using a FIFO but I am not really sure how to tackle this. Does anyone have any specifics on how to do this. It seems pretty simple but I just can't envision how it will work.
Thanks,
Now, I am having trouble determining how to track the box. I have thought about building a BSL in the PLC for each product. When I detect a box for lane 1, I could put a one in the BSL and start rotating the BSL with the pulse from the HSC, like I:0.0. This would be the A+ pulse from the incremental encoder. If my BSL was the length of the conveyor, I could test to see where the "1" bit was located in front of the PE for divert. If the bit position was in the right position and I saw the trailing edge of the PE, I could divert.
Also, I was thinking about some type of scaling the pulses to inches.
I was thinking about using a FIFO but I am not really sure how to tackle this. Does anyone have any specifics on how to do this. It seems pretty simple but I just can't envision how it will work.
Thanks,