PLC Work Book
PLC Work Book
PLC Work Book
Name:
Student Number:
Date:
Year:
1
Unit 22: Programmable Logic controllers Lab workbook
Table of Contents
3. Programming Techniques
5. Mini project
2
Unit 22: Programmable Logic controllers Lab workbook
Equipments:-
3x10A mcb.
230V(coil), 50Hz, 10A Relay
Green and red indicator lamp.
NO and NC pushbuttons.
ON-OFF switch.
Toggle switch (1-0-2)
Flexible wires.
Single phase power source
Procedure:-
1. Assemble the components of the circuit shown in figure 1 on the control board and
make the required wiring and connections.
2. Once you are finished with the connections, call the instructor to check it for you and
make sure that it is correct.
3
Unit 22: Programmable Logic controllers Lab workbook
3. Connect the circuit to the power source and try to change the position of the switch
SW1. What is your observation?
4
Unit 22: Programmable Logic controllers Lab workbook
AIM: Using PLC ladder logic, verify the truth table for the logic gates given below.
5
Unit 22: Programmable Logic controllers Lab workbook
Task 1:
The bottles to which tablets are to be filled are kept on a conveyor belt. You are asked to
program the PLC control of conveyor belt in such a way that the Conveyor C is to run
when any one of the four inputs is ON. It is to stop when any one of the other four inputs
is ON.
Task 2:
A motor control circuit has two start and two stop buttons. When a start button is
depressed, the motor runs. By sealing it, it continues to run even when the start button is
released. Either stop buttons stop the motor when pressed.
Task 3:
A process fan is to run only when all the below conditions are met.
6
Unit 22: Programmable Logic controllers Lab workbook
Input 1 is OFF
Input 2 is ON or input 3 is ON or both are ON
Input 5 and 6, both are ON
One or more of the inputs 7, 8 or 9 is ON.
Task 4:
Assume PLC is monitoring five tanks of liquid and must give a warning to the operator
when any three of them are empty.
Task 5:
Make a ladder diagram for 4 bit Binary to BCD conversion. This will be useful to display
the number of bottles dispensed in a box as the maximum number of bottles allowed per
box is 16.
Task 6:
A feeder drops material on the conveyor which sends material for further process through
one more conveyor. Conveyor must start automatically when material is dropped on it.
Feeder has a motor mounted to feed material on conveyor belts. Load cells are installed
at the bottom of conveyor belts to detect if material is present on the conveyor belt. When
material falls on conveyor belt 1, motor 1 should start, and when material in present on
conveyor belt 2, motor 2 remain ON.
7
Unit 22: Programmable Logic controllers Lab workbook
When the START button is pressed and released, the valve 1 (V1) opens for 5 seconds,
so the water pass through the valve to the heating tank. And when the water level reaches
the float switch (FS), the valve should close and heating must begin and continue for 10
seconds. When the temperature reach the required level the thermostat disconnects the
heater and opens valve 2 (V2) for 5 seconds then the alarm bell is activated for 3 seconds.
You may use three timers for Valve1, Valve 2 and Alarm. Refer the figure shown below.
Fig: Heating of water from one tank and filling it in another tank
8
Unit 22: Programmable Logic controllers Lab workbook
Two Motors are running in a sequence one by one for a particular time. If the start button
is pressed Motors run in sequence such that 1st Motor stays ON for 5secs and then 2nd
Motor is turned ON and stays ON for 5secs. And the cycle is repeated until it is interrupted.
While motors are running in the sequence, if one motor is running and the button of other
motor is pressed, then the running Motor should stop and the other motor should run.
Implement this logic in PLC using Ladder Diagram programming language.
Objects are on conveyor belt 1. When an empty box is detected, conveyor belt-1 starts
and 5pcs are packed in a box. When box is filled, it is carried to the storage area via
conveyor belt 2. Implement automation of this process in PLC using Ladder Diagram
programming language.
Liquid level control is a basic and necessary process for all the process industry. Here
the level of liquid is to be maintained inside the tank to a specific height. Here there is a
9
Unit 22: Programmable Logic controllers Lab workbook
water reservoir from which the water needs to be pumped out to the process tank. In the
process tank there are two sensors connected around the edges of the tank according to
the required heights i.e., one sensor is connected at the near bottom end of the tank
called as lower level sensor and another one on the near top edge of the tank called as
higher level tank. To let the water out of the tank there is a pipe connected at the bottom
of the tank with a valve. This valve is to be used by user for the process application. The
level sensor is a magnetic sensor and when the liquid level is above the high level sensor
a HL (high level) signal is send to the PLC. When the liquid level goes down the low level
sensor LL (low level) signal is send to the PLC. The PLC checks the signals send by
these sensors through its input port and give the proper signals through its output port as
per the ladder logic program. Sequence of process control actions done by the PLC:
1. When the water level in the tank is less than the lower level then the sensor senses
and turns the motor on to fill the tank.
2. Then the tank is filled up until it reaches the higher level where the higher level
sensor senses and makes the motor off and filling of water stops.
10
Unit 22: Programmable Logic controllers Lab workbook
A project topic will be agreed between student and tutor, requiring a PLC automation.
Students will design, build and demonstrate a PLC ladder logic to satisfy the project need.
Example topics are traffic control system, elevator logic control etc. It will be important to
avoid both the trivial and the over-complex project topic.
11
Unit 22: Programmable Logic controllers Lab workbook
Scenario: In Sharjah Al Khan area there exists a four-way traffic round-about. Last year
study by the traffic control departments shows that the number of accidents in this round-
about is increasing every year by 30%. Recently the volume of pedestrians also increased
substantially due to a hypermarket opened nearby. In order to reduce traffic congestion
and fatal accidents, Sharjah Traffic Control department decided to implement a Traffic
Signal Control System using relay logic. You have been assigned with the task of
programming the system using logic functions based on relay ladder logic making use of
sequencer and timers.
Process description
Illumination of the green light for 10 sec allows traffic to proceed in the direction
denoted.
Illumination of yellow light for 5 sec denoting, if safe to do so, prepare to stop short
of the intersection and
Illumination of red signal for 10 sec prohibits any traffic from proceeding.
Discuss the enhancements that can be made to the proposed model so as to make the
traffic control system better and useful.
12
Unit 22: Programmable Logic controllers Lab workbook
13
Unit 22: Programmable Logic controllers Lab workbook
Problem description:
Filled bottles are on conveyor belt 1. When an empty box is detected, conveyor belt-1
starts and 15 bottles are packed in a box. A counter is used to count the number of bottles
falling into the box and the count is displayed using two seven segment displays. The
counter is automatically reset after filling 15 bottles in a box. When box is filled, it is carried
to the storage area via conveyor belt 2. The whole process is repeated when another
empty box is detected.
14
Unit 22: Programmable Logic controllers Lab workbook
Reference
15