Hello, I am having some problems and I am wondering if I can get some guidance. I will explain the process I am trying to achieve. I am trying to determine if a product is a pass or a fail ( using image processing which is done by a camera connected to my laptop ) therefore, I am using a conveyor to place the item on and a sensor to stop the item at some desired position so that I can start image processing and then based on the result I would either get a PASS or a FAIL. the ladder diagram is as follows:
if a push button is pushed for 10 seconds or so an ALARM takes place so that the area is cleared also a 10 seconds timer takes place before moving the belt.
once the sensor is triggered and the belt is moving unlatch the output and stop the belt. if the belt is stopped and the sensor is on start image processing.
based on which if it is a fail start an alarm and a 10 seconds timer then move the belt. if it is a pass just move the belt.
I tested my ladder diagram and im not getting the desired answers. I know I have a mistake somewhere can't really figure it out..
Please find enclosed the ladder diagram
if a push button is pushed for 10 seconds or so an ALARM takes place so that the area is cleared also a 10 seconds timer takes place before moving the belt.
once the sensor is triggered and the belt is moving unlatch the output and stop the belt. if the belt is stopped and the sensor is on start image processing.
based on which if it is a fail start an alarm and a 10 seconds timer then move the belt. if it is a pass just move the belt.
I tested my ladder diagram and im not getting the desired answers. I know I have a mistake somewhere can't really figure it out..
Please find enclosed the ladder diagram
Last edited: