0% found this document useful (0 votes)
1 views

Programing Exercise_Conveyer

Uploaded by

PHONG LÊ BÁ
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
1 views

Programing Exercise_Conveyer

Uploaded by

PHONG LÊ BÁ
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

Lecturer: Phuong-Tung Pham Programmable Logic Controllers in Robotics and Automation ME4133

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

The operating process of the system is shown as follows:


1. When pushing the START button on the electrical cabinet, conveyor #1 will move the bin.
2. When the bin moves to IR sensor 1, the sensor will send a signal to the controller, stopping conveyor #1.
3. After conveyor #1 stops, conveyor #2 will start, continuously carrying the workpiece down to the bin.
4. IR sensor #2 will count the number of workpieces put into the bin. When the number of workpiece is 5, stop
conveyor #2.
5. When conveyor #2 stops, start conveyor #1 to carry the bin to the outlet. Repeat the process until the STOP
button is pressed.
It noted that the two digital display in the electrical cabinet show the total number of the bin and the current number
of the workpiece that is put in to the bin.
START

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”

Run C#2 Counter “No. of N


workpiece” > 5

Reset Counter “Number of


workpiece” and its digital display

Stop C#2

Is N
Stop button
on?
Y
END

You might also like