Documente Academic
Documente Profesional
Documente Cultură
Step 1:
At first, camera and arduino is interfaced with Loading image in
MATLAB. Then images of logo are captured by camera. Here MATLAB
we consider two different logo of the bottle that is sample 1
and sample 2 for comparison.
Step 4:
Arduino port is interfaced with input module of PLC.
When arduino gives output, then motor start to run and then it IR
moves the conveyor belt. If the arduino port 5 is enabled, that Sensor is
triggers the object detector 1 in the ladder logic. If port no 6 of
detected
arduino is enabled, that triggers the object detector 2 in the
ladder logic program. Yes No
Step 5:
When the object detector 1 gets the signal, the motor
runs until the IR sensor 1 is sensed. When IR sensor 1 is Stops the motor & Run the motor until the
sensed, stops the motor and opens the valve 1 for 5secs. the valve is opened sensor is detected
Likewise if the object detector 2 gets the signal, the motor
runs until the IR sensor 2 is sensed. When IR sensor 2 is get
sensed, stops the motor and opens the valve 2 for 5secs to fill Stops the motor and
the liquid. The above described steps are shown in fig 3. After time delay
dispatch, after some
again runs the motor
delay