backendcode
Member
OP
Is this a classroom assignment or a real world application?
The answers you give for an assignment have to accomplish the requirement of the instruction/curriculum. The answers you give for a real world application need to be more robust and think through all of the what-ifs.
What if my logic starts moving a product and then a sensor fails. Do I run the conveyors forever or for a time limit?
What if the door stops at the instant it first makes the switch and the laborer would suffer much less back strain if it traveled another X seconds before stopping?
What if debris accumulates on the conveyor and makes one or more of the sensors flicker?
Those are just the most obvious what-ifs, real world practice is likely to reveal others.
OkiePC, This is real world application and I do understand the points you mentioned in your reply but I am trying to make baby steps and getting hand on experience on basic logic, there are alot in the project like e-stop, start line, stop line, motor overload indicator, prox sensor fault indicator. but I don't want to through everything on table and expect people to reply my every single problem. you know what i mean.
I am just figuring out the basic logic and go from there and will try to do myself and come back here with my problem and get advice from people like you!
Thank you again for your time.