PLC Exercises PDF
PLC Exercises PDF
The
boiler is
thermostatically
controlled
and
Pumps
The
Motorized
Pump
Radiator
System
M1
Hot water
tank
Boiler
M2
Motorized
Pump
Boiler Temp.
sensor
Room
Timers
Stop
Power
Run
Room sensor
Tank sensor
Outputs
Boiler sensor
Inputs
Clock
Boiler
M1
M2
Inputs :
X400
Clock
X401
Boiler sensor
X402
Room sensor
X403
Tank sensor
Outputs :
Y430
Boiler
Y431
Pump M1
Y432
Pump M2
Step
X402
X400
X401
Y430
X403
Y430
Y430
X402
Y431
X403
Y432
END
Instruction
LD
X402
OR
X403
AND
X400
AND
X401
OUT
Y430
LD
Y430
AND
X402
OUT
Y431
LD
Y430
AND
X403
10
OUT
Y432
11
END
Inputs :
I0.0
Clock
I0.1
Boiler sensor
I0.2
Room sensor
I0.3
Tank sensor
Outputs :
Q2.0
Boiler
Q2.1
Pump M1
Q2.2
Pump M2
Step
I0.2
I0.0
I0.1
Q2.0
I0.3
Q2.0
Q2.0
I0.2
Q2.1
I0.3
Q2.2
END
Instruction
I0.2
I0.3
I0.0
I0.1
Q2.0
Q2.0
I0.2
Q2.1
Q2.0
I0.3
10
Q2.2
11
END
liquids
and
other
Input Valves
VA2
VA1
MS1
Motor & Agitator
Mixing Tank
LS1
Level Sensors
LS2
Mixing
Station
VA3
The
automatic
mixing
station
will
X400
X401
X402
X403
Y430
Valve # 2 (VA2)
Y431
Y432
Valve # 3 (VA3)
Y433
require
the
following
I0.0
I0.1
F0.1
F0.1
F0.1
I0.2
I0.3
Q2.2
Q2.3
Q2.0
F0.1
I0.2
I0.3
Q2.2
Q2.3
Q2.1
I0.3
F0.1
T0
KT1200
I0.3
F0.1
F0.2
F0.2
Q2.2
F0.1
Q2.3
F0.1
F0.2
T1
F0.3
KT180
F0.1
F0.3
F0.2
END
Q2.3
Counter Application
Consider the following packing machine,
where it is required to pack 6 objects in a
box and then pack 12 objects in another
box in another path as shown :
12 in box
6 in box
X400
RESET
C461
C460
K6
X401
Out
C460
Y430
X400
RESET
C461
X401
C461
K 12
C460
Out
C461
Y431
Step
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
Instruction
LD
X400
OR
C461
RST
C460
K
6
LD
X401
OUT
C460
LD
C460
OUT
Y430
LD
X400
OR
C461
RST
C461
K
12
LD
X401
AND
C460
OUT
C461
LD
C461
OUT
Y431
END
Exercise
A door system for trains is tested by opening
and closing the doors about 1000 times and on
every fifth closing of the doors, a pneumatic
cylinder out-strokes to simulate an obstruction.
The cylinder will remain in the obstruction
position while the doors attempt to close three
times.
After the third attempt, the cylinder in-strokes
to allow the doors to be fully closed.
Doors
Rails
Obstruction
Cylinder
X400
X401
X402
X403
X404
Y430
Y431
Cylinder
Y432
Consider
close (V2).
d) It is required that the reservoir has to be
filled up and emptied four times with the
same cycle before activating the Endlamp.
Each
Also,
each
car
that
comes
automatically be taken off.
out
will
LS1
LS2
Stop
HOME
Start
Motor Right
Motor Left
Product Packaging
Consider the packaging system shown in figure
with the following features :
1. By pushing START key a Flag1 is activated.
2. Resetting depends only on a STOP key).
stops then.
count 10 products.
6. On activating the conveyor with boxes, a
repeat
until
STOP
key
is