CURTIN UNIVERSITY
DEPARTMENT OF ELECTRICAL AND COMPUTER ENGINEERING
INSTRUMENTATION AND CONTROL
ETEN4001
2nd Semester 2015
SUPPLIMENTARY PLC PROGRAMMING EXERCISES
1. A process requires the starting of 3 motors sequentially with delay.
The objective of the system is as follows: The oil pump motor is started immediately when
the NO START button is pressed. The main motor will be started after a 10 sec delay and
then the auxiliary motor after a further 5 sec delay. In addition, stopping all motors
immediately when the NC STOP is pressed.
The system is to be controlled by a PLC. Design a ladder logic program to achieve the
objectives of the system.
SOLUTIONS.
Field Device Input Output IO address
Start Button 1 I:1/0
Stop Button 2 I:1/1
OIL Motor 1 O:2/0
Aux Motor 2 O:2/1
Main Motor 3 O:2/2
I:1/0 I:1/1 O:2/0
( )
O:2/0
TIMER ON DELAY
O:2/2 O:2/0 Timer T4:1
Time Base 1
Preset 10
Accum 0
T4:1/DN O:2/0 O:2/2
( )
O:2/2
O:2/1 O:2/2 TIMER ON DELAY
Timer T4:2
Time Base 1
Preset 5
Accum 0
T4:2/DN O:2/2 O:2/1
( )
O:2/1
2. Consider the following process control system:
Feeder
Direction of
motion
Motor Motor/ Conveyer
Feeder Side view
actuator
Start Stop
Button Button
Motor and Feeder
PLC control Output
Ultrasonic
Sensor Input
Oven
Ultrasonic
Transceiver
Ultrasonic Direction of
Beam motion
Conveyer
Top view
The process control system operates as follows: A conveyer transports process items into an
oven for annealing. The process starts when the normally open start button is pressed and the
motor and feeder are started via a single digital output from the PLC. The process proceeds
until 60 items are allowed to pass into the oven and then is stopped OR is stopped
immediately when the normally closed stop button is pressed. The process repeats when the
start button is again pressed.
Process items are detected via an ultrasonic sensor which produces a logic HIGH when an
item is in its field of view and a logic LOW otherwise. Assume the following:
items are widely enough spaced for the sensor to detect individual items.
the system is initially primed such that as one item passes the detector, one item
will enter the oven.
(a) List the IO devices and assign addresses to input and outputs.
(b) Develop a ladder logic program for the PLC controller.
SOLUTIONS.
Field Device Input Output IO address
Start Button 1 I:1/0
Stop Button 2 I:1/1
Ultrasonic Sensor 3 I:1/2
Motor/feeder 1 O:2/0
actuator
Start Stop CR1
( ) Rung 1
CR1 C5:1/DN
COUNT UP
Counter C5:1
Rung 2
Preset 60
Ultrasonic CR1 Accum 0
sensor
reset
CR1
motor
( ) Rung 3
CR1