Sheet 4 - PLC
Sheet 4 - PLC
Fourth Year
Faculty of Engineering
Programmable Logic Controllers Course
Electrical Engineering Department
First Semester
Power and Machines Section
Sheet No. 4
Sheet No. 4
1. Two simultaneous processes are to be performed in two separate tanks which are connected
through a valve (The end of each process can be indicated using two normally open sensors one
for each process. The process can be mixing, heating or any other type of processes which does
not matter here). Write a PLC program to control the level of these tanks.
Note that:
a. Tank 1 will feed tank 2 only if:
• The process at tank 1 has ended.
• Tank 1 is full.
• Tank 2 is empty to avoid mixing two fluids with different characteristics.
b. Outlet valve can not be on before the end of process 2.
c. LLS1 and LLS2 are NC, LHS1 is NO.
d. Two NO PBs are needed to start and stop the entire process.
2. Using Set and reset Coils write a PLC program to control the shown conveyor belt. There
are two push button switches at the beginning of the belt: S1 for START and S2 for STOP.
There are also two push button switches at the end of the belt: S3 for START and S4 for
STOP. It is possible to start or stop the belt from either end. Also, sensor S5 stops the belt
when an item on the belt reaches the end.
3. Write a PLC program to control a conveyor belt. It has two modes of operation: manual
mode and automatic mode. In manual mode the process conveyor operation will be
controlled using NO and stop switches, In the automatic mode the process will be controlled
using the NO start switch and the NC end sensor.
4. Using the one-shot operation w i t h only one NO PB, write a PLC program that turns on
and turns off a motor according to the following sequence.
• When NO PB is pressed (First press): Start the motor.
• When NO PB is pressed (second press): Stop the motor.
5. Using the one-shot operation w i t h only one NO PB, write a PLC program that turns on
and turns off three motors according to the following sequence.
• When NO PB is pressed (First press): Start the first motor.
• When NO PB is pressed (Next press): Start the second motor.
• When NO PB is pressed (Next press): Start the third motor.
• When NO PB is pressed (Next press): Stop the third motor.
• When NO PB is pressed (Next press): Stop the second motor.
• When NO PB is pressed (Next press): Stop the first motor.
• Repeat this sequence.