rankhornjp
Member
Hey, my name is James and I really like this website, it has been a great tool in learning PLCs.
The problem I have is a school project, I'm not looking for someone to give me the answer, just point me in the right direction. I have about 12 hrs of school time on this project and probably about as much in research on the internet.
My project is a conveyor belt that runs from right-to-left, it has two photo eyes/beams (NC) on the right side and three air operated(single actuated) cylinders on the left end. The cylinders are used to push pieces (short cylinder pieces of different diameters) into bins. The idea is to separate the pieces by size. I'm using the first photo eye to measure the pieces using a retention timer. The ACC of the RTO is loaded into a FIFO, the second photo eye unloads the FIFO and compares the value using ">" "<" "=" instructions, to determine which of 3 different timers to activate. The timers, time the distance between the second photo eye and the proper cylinder that pushes the part into the right bin. Bin 1 has the shortest time, bin 3 the longest. The timer's DN bit activates the cylinder and pushes the part into the bin.
So far this works great as long as you place the parts on the belt without 2 same sized pieces being in line next to each other. If you do that, it only pushes the first piece and misses the second (cylinder doesn't activate at all for the second one). I'm trying to figure out how to time the second piece if its the same size as the first. The first piece is activating the timer, so the second piece isn't being timed.
I hope I've explained it well enough. If someone could point me in the right direction that would be great. If you are relucant because it's a school project, I understand.
Thank you
The problem I have is a school project, I'm not looking for someone to give me the answer, just point me in the right direction. I have about 12 hrs of school time on this project and probably about as much in research on the internet.
My project is a conveyor belt that runs from right-to-left, it has two photo eyes/beams (NC) on the right side and three air operated(single actuated) cylinders on the left end. The cylinders are used to push pieces (short cylinder pieces of different diameters) into bins. The idea is to separate the pieces by size. I'm using the first photo eye to measure the pieces using a retention timer. The ACC of the RTO is loaded into a FIFO, the second photo eye unloads the FIFO and compares the value using ">" "<" "=" instructions, to determine which of 3 different timers to activate. The timers, time the distance between the second photo eye and the proper cylinder that pushes the part into the right bin. Bin 1 has the shortest time, bin 3 the longest. The timer's DN bit activates the cylinder and pushes the part into the bin.
So far this works great as long as you place the parts on the belt without 2 same sized pieces being in line next to each other. If you do that, it only pushes the first piece and misses the second (cylinder doesn't activate at all for the second one). I'm trying to figure out how to time the second piece if its the same size as the first. The first piece is activating the timer, so the second piece isn't being timed.
I hope I've explained it well enough. If someone could point me in the right direction that would be great. If you are relucant because it's a school project, I understand.
Thank you