PLC Applications Workbook - Dayanand, Ricky
PLC Applications Workbook - Dayanand, Ricky
Dayanand Gopaul
This book is aimed at persons that are currently learning PLCs and wish to relate this new
knowledge to the real industrial world. It is a workbook containing 15 exercises, together with the
relevant solutions. It is assumed the reader has an understanding of electrical circuits and can
read an electrical drawing. It is required that the reader be able to “connect “the PLC to the
equipment in the form of a PLC connection diagram. Finally the reader is required to draw out the
ladder diagram. (Write the program).
There are process flow charts to help the reader understand the sequence of the process at hand.
Example
(Guide on how to use this workbook)
Push the start button and the motor must run. Push either the emergency
stop or the normal stop button and the motor must stop. In the event of the overload tripping the motor must stop and
a light must come on.
Convert this old relay logic DOL starter to be controlled by a PLC.
O/P Description
Y0
Y1
Y2
Y3
Y4
Y5
Y6
Y7
O/P Description
Y0
Y1
Y2
Y3
Y4
Y5
Y6
Y7
Sequence Starting #1
A common application for sequence starting is in a series of conveyors where the 1st conveyor needs to start before
the 2nd and so on to prevent a “Pile up” of material. In this exercise, Motor 1 must start before Motor 2. In the event of
Motor 1 stopping, Motor2 must also stop. In the event of either motor tripping on overload, the trip light must come on.
Convert this old relay logic SEQUENCE STARTING to be controlled by a
PLC.
Step 1 . Create an Input / Output List
I/P Description
X0
X1
X2
X3
X4
X5
X6
X7
X10
X11
X12
O/P Description
Y0
Y1
Y2
Y3
Y4
Y5
Y6
Y7
Sequence Starting #2
A common application for sequence starting is in a series of conveyors where the 1st conveyor needs to start before
the 2nd and so on to prevent a “Pile up” of material. In this exercise, Motor 2 must start 20 seconds after Motor 1. In
the event of motor 1 stopping, Motor2 must also stop. In the event of either motor tripping on overload the trip light
must come on. Help is given on the Timer function of the PLC
Convert this old relay logic SEQUENCE STARTING to be controlled by a
PLC.
Step 1 . Create an Input / Output List
I/P Description
X0
X1
X2
X3
X4
X5
X6
X7
X10
X11
X12
O/P Description
Y0
Y1
Y2
Y3
Y4
Y5
Y6
Y7
PLC Counter
In this exercise we have a machine with a cam assembly. 10 revolution of the cam indicates a finished component
and the valve for the ejector arm needs to be activated. The function of the electronic counter is now been replaced
by the PLC. Two wiring diagrams are given one for the original counter and the second for the PLC. You can skip the
PLC wiring diagram as it is given just as an aid. Also Help is given on the Counter function of the PLC
Step 1 . Create an Input / Output List
I/P Description
X0
X1
X2
X3
X4
X5
X6
X7
X10
X11
X12
O/P Description
Y0
Y1
Y2
Y3
Y4
Y5
Y6
Y7
O/P Description
Y0
Y1
Y2
Y3
Y4
Y5
Y6
Y7
Process Flow
Start the Cycle
Push PB X3
Start Hydraulic Motor
Activate Output Y2
Sensor X0 Made
Retract cylinder
Traffic Intersection
This is a typical traffic intersection. Please refer to the process flow diagram on the next page to get the correct
sequence and timing.
Process Flow
Step 1 . Create an Output List
O/P Description
Y0 R1 Red 1
Y1 A1 Amber 1
Y2 G1 Green 1
Y3 R2 Red 2
Y4 A2 Amber 2
Y5 G2 Green 2
Y6
Y7
Step 2 . Wire up PLC
Step 3 . Write Program ( ladder Logic )
Exercise 9
Process Control #1
This application involves the control of a drilling jig. Please refer to the Process flow diagram on the next page for the
sequence and timing of the machine.
Process Flow
Start Drill Motor Interlocks
Limit X2 to be made
Push PB X5 to activate Relay Y0 before Index Y3
Sensor X0 to be made
before Drill Down Y2
Index Part
O/P Description
Y0
Y1
Y2
Y3
Y4
Y5
Y6
Y7
This Elevator control is only for teaching purposes and does not comply to legal requirements of
an Elevator control
Step 1 . Create an Input / Output List
I/P Description
X0
X1
X2
X3
X4
X5
X6
X7
X10
X11
X12
O/P Description
Y0
Y1
Y2
Y3
Y4
Y5
Y6
Y7
Process Flow
O/P Description
Y0
Y1
Y2
Y3
Y4
Y5
Y6
Y7
Signal Interface
Process Flow
Open Utility Air Circuit Breaker Open Generator Air Circuit Breaker
Wait for signal X0 from generator before Check Generator ACB is OFF ( X2 off )
switching Air Circuit Breaker Activate output Y1
Switch Generator ACB on
O/P Description
Y0
Y1
Y2
Y3
Y4
Y5
Y6
Y7
O/P Description
Y0
Y1
Y2
Y3
Y4
Y5
Y6
Y7
In the event of physically wiring this circuit to the PLC, Please ensure there are hardwired
interlocks between the Star and Delta contactors. Do not rely on software interlocks due to
response time of equipment.
Convert this old relay logic STAR- DELTA STARTER to be controlled by a
PLC.
Step 1 . Create an Input / Output List
I/P Description
X0
X1
X2
X3
X4
X5
X6
X7
X10
X11
X12
O/P Description
Y0
Y1
Y2
Y3
Y4
Y5
Y6
Y7
O/P Description
Y0
Y1
Y2
Y3
Y4
Y5
Y6
Y7
O/P Description
Y0 Contactor KM1
Y1 Lamp H1
Y2
Y3
Y4
Y5
Y6
Y7
O/P Description
Y0 Contactor KM1 [ Forward]
Y1 Contactor KM2 [ Reverse]
Y2 Lamp H1
Y3
Y4
Y5
Y6
Y7
Step 2 . Wire up
PLC
Step 3 . Write Program ( ladder Logic )
Exercise 3
Sequence Starting #1
A common application for sequence starting is in a series of conveyors where the 1st conveyor needs to start before
the 2nd and so on to prevent a “Pile up” of material. In this exercise Motor 1 must start before Motor 2. In the event of
Motor 1 stopping, Motor2 must also stop. In the event of either motor tripping on overload the trip light must come on.
Convert this old relay logic SEQUENCE STARTING to be controlled by a
PLC.
Step 1 . Create an Input / Output List
I/P Description
X0 Emergency Stop PB [S1]
X1 Stop PB Motor 2 [S2]
X2 Start PB Motor 1 [S3]
X3 Overload Motor 1 [F2]
X4 Start PB Motor 2 [S4]
X5 Overload Motor 2 [F3]
X6 Stop PB Motor 1 [S5]
X7
X10
X11
X12
O/P Description
Y0 Contactor KM1 [ Motor 1 ]
Y1 Contactor KM2 [ Motor 2 ]
Y2 Lamp H1
Y3
Y4
Y5
Y6
Y7
I/P Description
X0 Emergency Stop PB [S1]
X1 Stop PB Motor 2 [S2]
X2 Start PB Motor 1 [S3]
X3 Overload Motor 1 [F2]
X4 Start PB Motor 2 [S4]
X5 Overload Motor 2 [F3]
X6 Stop PB Motor 1 [S5]
X7
X10
X11
X12
O/P Description
Y0 Contactor KM1 [ Motor 1 ]
Y1 Contactor KM2 [ Motor 2 ]
Y2 Lamp H1
Y3
Y4
Y5
Y6
Y7
Step 2 . Wire up
PLC
Step 3 . Write Program ( ladder Logic )
Exercise 5
PLC Counter
In this exercise we have a machine with a cam assembly. 10 revolution of the cam indicates a finished component
and the valve for the ejector arm needs to be activated. The function of the electronic counter is now been replaced
by the PLC. Two wiring diagrams are given one for the original counter and the second for the PLC. You can skip the
PLC wiring diagram it is given just as an aid. Also Help is given on the Counter function of the PLC
Step 1 . Create an Input / Output List
I/P Description
X0 Reset Push Button
X1 Count Sensor
X2
X3
X4
X5
X6
X7
X10
X11
X12
O/P Description
Y0 Contactor KM1
Y1
Y2
Y3
Y4
Y5
Y6
Y7
O/P Description
Y0 Pump Contactor KM1
Y1
Y2
Y3
Y4
Y5
Y6
Y7
Step 2 . Wire up
PLC
Process Flow
Start the Cycle
Push PB X3
Activate Output Y2
Sensor X0 Made
Retract cylinder
Process Flow
Step 1 . Create an Output List
O/P Description
Y0 R1 Red 1
Y1 A1 Amber 1
Y2 G1 Green 1
Y3 R2 Red 2
Y4 A2 Amber 2
Y5 G2 Green 2
Y6
Y7
Step 2 . Wire up PLC
Step 3 . Write Program ( ladder Logic )
Exercise 9 [ Solution ]
Process Control #1
This application involves the control of a drilling jig. Please refer to the Process flow diagram on the next page for the
sequence and timing of the machine.
Process Flow
Start Drill Motor Interlocks
Push PB X5 to activate Relay Y0 Limit X2 to be made
before Index Y3
Sensor X0 to be made
before Drill Down Y2
Index Part
/P Description
Y0 Drill Motor Relay
Y1 Drill Up Soleniod
Y2 Drill Down Soleniod
Y3 Index Table ( 90° ) Soleniod
Y4 Cycle Busy Lamp
Y5
Y6
Y7
Elevator Control
This is a 2 level elevator control. There are Pushbuttons on the outside to call the elevator. On the inside there are
level numbers and level lamps indicating the current level. There are 2 sensors to sense at which level the elevator
is at. There are2 door limits and 1 door closed limit. There is a door open and a door close relay, as well as an
elevator up and down relay.
This Elevator control is only for teaching purposes and does not comply to legal requirements of
an Elevator control
O/P Description
Y0 1st Floor Lamp
Y1 2nd Floor Lamp
Y2 Door Open Relay
Y3 Door Close Relay
Y4 Elevator Up Relay
Y5 Elevator Down Relay
Y6
Y7
Process Flow
O/P Description
Y0 Grinding Wheel Motor Relay
Y1 Table Left Solenoid
Y2 Table Right Solenoid
Y3 Cycle Light
Y4
Y5
Y6
Y7
Step 2 . Wire up PLC
Step 3 . Write Program ( ladder Logic )
Exercise 12 [ Solution ]
Signal Interface
Process Flow
Open Utility Air Circuit Breaker Open Generator Air Circuit Breaker
Wait for signal X0 from generator before Check Generator ACB is OFF ( X2 off )
switching Air Circuit Breaker Activate output Y1
Switch Generator ACB on
O/P Description
Y0 Start Generator
Y1 Close Utility Supply Air Circuit Breaker
Y2 Close Generator Air Circuit Breaker
Y3
Y4
Y5
Y6
Y7
Step 2 . Wire up PLC
I/P Description
X0 Stop Push Button
X1 Run Forward Push Button
X2 Run Reverse Push Button
X3 Drive Rest Push Button
X4 Drive Tripped Signal
X5
X6
X7
X10
X11
X12
O/P Description
Y0 Run Forward Command [R1]
Y1 Run Reverse Command [R2]
Y2 Drive reset Command [R3]
Y3
Y4
Y5
Y6
Y7
Step 2 . Wire up PLC
Step 3 . Write Program ( ladder Logic )
Exercise 14 [ Solution ]
In the event of physically wiring this circuit to the PLC. Please ensure there are hardwired
interlocks between the Star and Delta contactors. Do not rely on software interlocks due to
response time of equipment.
Convert this old relay logic STAR- DELTA STARTER to be controlled by a
PLC.
Step 1 . Create an Input / Output List
I/P Description
X0 Emergency Stop PB [S1]
X1 Stop PB [S5]
X2 Start PB [S3]
X3 Overload [F2]
X4
X5
X6
X7
X10
X11
X12
O/P Description
Y0 Main Contactor [ KMM ]
Y1 Star Contactor [ Star ]
Y2 Delta Contactor [ Delta ]
Y3 Lamp [ H1 ]
Y4
Y5
Y6
Y7
O/P Description
Y0 Contactor [KM1]
Y1 Contactor [KM2]
Y2 Contactor [KM3]
Y3 Contactor [KM4]
Y4
Y5
Y6
Y7
Step 2 . Wire up PLC