backendcode
Member
Hello My PLC experts,
You guys have no idea, How comfortable I feel because of this forum! Currently, I am working as a Junior PLC and robotics programmer and I am the only person at my plant to take care of PLC or started taking care of PLC project because my company was outsourcing PLC project to automation company.
Anyways, I have a quick question.
You may know I am working on conveyor project and there are 6 conveyors with 6 individual motor for each conveyor. Part move from one conveyor to another conveyor and check the state of next conveyor and if there is part on next conveyor, part on current conveyor will stay until next conveyor will clear.
For example, conveyor 1 has part on it and conveyor 2 also have a part on it. Conveyor 1 will wait until conveyor 2 is clear. now imagine, someone came and lift up a part from conveyor 2 for a couple of secs and put it back. for those couple of second, conveyor 1 may think conveyor 2 is clear and start moving the part to conveyor 2. How can I by pass this condition? Should I use a timer? Currently, What I am doing is when there will be no part of next conveyor, don't start the current conveyor right away, wait for 5 seconds.
I attached my code pic and also external link to the PLC code!
https://ibb.co/hAVKm5
Thank you everyone!
TGIF
You guys have no idea, How comfortable I feel because of this forum! Currently, I am working as a Junior PLC and robotics programmer and I am the only person at my plant to take care of PLC or started taking care of PLC project because my company was outsourcing PLC project to automation company.
Anyways, I have a quick question.
You may know I am working on conveyor project and there are 6 conveyors with 6 individual motor for each conveyor. Part move from one conveyor to another conveyor and check the state of next conveyor and if there is part on next conveyor, part on current conveyor will stay until next conveyor will clear.
For example, conveyor 1 has part on it and conveyor 2 also have a part on it. Conveyor 1 will wait until conveyor 2 is clear. now imagine, someone came and lift up a part from conveyor 2 for a couple of secs and put it back. for those couple of second, conveyor 1 may think conveyor 2 is clear and start moving the part to conveyor 2. How can I by pass this condition? Should I use a timer? Currently, What I am doing is when there will be no part of next conveyor, don't start the current conveyor right away, wait for 5 seconds.
I attached my code pic and also external link to the PLC code!
https://ibb.co/hAVKm5
Thank you everyone!
TGIF