Programing Exercise_Conveyer
Programing Exercise_Conveyer
EXERCISE
Request: Writing the PLC program for the following conveyor system.
Conveyor #2
Workpieces
IR sensor #2
Bin
Conveyor #1 IR sensor #1
1
Lecturer: Phuong-Tung Pham Programmable Logic Controllers in Robotics and Automation ME4133
No. of workpiece = 0
No. of bin = 0
Is
N
Start button
on?
Y
Run C#1
Does Does
N N
SS#1 detect SS#2 detect
box? workpiece?
Y
Y
Stop C#1
Update Counter “No. of
workpiece” and its digital display
Update the Digital
display “No. of Bin”
Stop C#2
Is N
Stop button
on?
Y
END