PLC
1
15-Mar-17
What is PLC?
Digital electronic device
Uses a programmable memory
Store instructions (logic)
Sequencing
Timing
Counting
Arithmetic operations
Advantage of PLC
Cost effective for controlling complex systems.
Flexible and can be reapplied to control other systems
quickly and easily.
Computational abilities allow more sophisticated
control.
Trouble shooting aids make programming easier and
reduce downtime.
Reliable components make these likely to operate for
years before failure.
2
15-Mar-17
3
15-Mar-17
PLC
PLC HARDWARE
Small self contained 20 digital i/o
Modular large I/o, digital/analogue, 20 A current on
output
programming device: key pad/key board/link with PC
Display: digital/LCD/VDU
SIGNAL CONDITIONING
AD-DA
Multiplex
Input: optocoupler/safety
Output: optocoupler/Fuse/MCB
4
15-Mar-17
10
5
15-Mar-17
11
6
15-Mar-17
PLC PROGRAMMING
PLC
Output (Motor/timer/alarm/..)
14
7
15-Mar-17
15
OR
16
8
15-Mar-17
AND
17
NOR
18
9
15-Mar-17
NAND
19
NOR
20
10
15-Mar-17
Exclusive-OR
21
22
11
15-Mar-17
23
Permissive Circuit
24
12
15-Mar-17
Interlock Circuit
25
26
13
15-Mar-17
27
28
14
15-Mar-17
29
30
15
15-Mar-17
31
In the example above, when the operator pushes button 0001 the timer
starts ticking.
When the accumulated value reaches 0 the timer contacts (T000) will close
and output 0500 becomes true.
When the operator releases the button (0001) the accumulated value
changes back to the preset value.(i.e. it resets)
32
16
15-Mar-17
In the example above, when the operator pushes button 0002 the timer
starts ticking.
When the accumulated value reaches 0 the timer contacts (T000) will close
and output 0500 becomes true.
When the operator releases the button (0002) the accumulated value is
held(i.e. retained).
Only when the operator pushes the reset button(0001) does the timer reset.
33
IR 1 OUTPUT
IR 2
END
34
17
15-Mar-17
Counter
2 K10
OUT
Counter OUTPUT
35
36
18
15-Mar-17
Cylinder sequencing
37
Cylinder sequencing
38
19
15-Mar-17
Case Study
Car Parking Barriers:
2 barriers
in & out
39
Limit
Switch
Barrier
Limit
Switch
40
20
15-Mar-17
41
Y430 Y432
Y431 Y431
42
21
15-Mar-17
0V
+24 V
X400 Entrance A
Y430
X401 Entrance B
Y431
EXIT A
X402 Y432
EXIT B
X403 Y433
X404
X405
43
22