PLC
PLC
PLC
BLOCK DIAGRAM
Programming unit
CPU M
Input Output
module Memory module S
Power supply
What is a PLC? …. slide1
A PLC is an Industrial Computer. Just like our Personal Computer it has Inputs
and Outputs.
Some of the Inputs to the PLC are:
Limit Switches.
Float Switches.
Push Buttons. Discrete input control
field devices
Photoelectric Sensors.
Pressure Switches.
1747- PIC
RS 232
Personal Computer
Allen Bradley MicroLogix 1200 Fixed PLC
PLC Input
0 8 9 10 12 13 Section
1 2 3 4 5 6 7 C 11
Starter
Motor
Sensor
Just take a glance at the input module wiring with limit switch!!!
Input Module
0
Input signal from limit switch to 1
input screw terminal 0 on a 24 VDC
+ input module. 2
3
24 VDC
Power 4
Supply
5
- 6
7
C
What Do You Mean By Sinking & Sourcing?
- +
24 VDC 24 VDC
Power Power
Supply Supply
+ -
Wiring Diagrams of AB SLC 500 1746-IV8 ………Sourcing I/P.
Input Module
- 24 VDC Sourcing Module
Input Module
0
Sinking Switch
1
2
-
3 24 VDC
Power
4 Supply
5
+
6
7
C
+ 24 VDC
Wiring Diagrams of AB SLC 500 1746-IB8 ………Sinking I/ P.
Input Module
+ 24 VDC
Sinking Module
Input Module
0
1 Sourcing Switch
2
+
3
24 VDC
4 Power
Supply
5
-
6
7
C
- 24 VDC
Input Modules: Classification…………..
24 VDC
48 VDC
10 - 60 VDC
120 VDC
230 VDC
Sink/ Source 5 - 50 VDC
5 VDC TTL level
5/12 VDC TTL level
Block Diagram of typical Discrete DC Input Circuit.
Noise &
Threshold
DC input debounce
Detector.
Filter. Module Operation
1 2 3
Optical
4 Isolation
6
5
LED Logic
8
Input
7 CPU Status
File
24 VAC
48 VAC
120 VAC
240 VAC
Nonvoltage
120 Volts Isolated
240 Volts Isolated
24 VAC/DC
Block Diagram Of Typical Discrete AC Input Circuit
To PC
1 3 5 Internal sys.
AC Pulsating DC Filtered DC
2 4 6 7 8 10 11
Bit Position
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
0 0 l l 0 l 0 l l l l 0 0 1 0 0
Bit
4 Bits = 1 Nibble
8 Bits = 1 Byte
16 Bits = 1 Word
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
0 0 l l 0 l 0 l l l l 0 0 1 0 0
MSB LSB
= Most Significant Bit = Least Significant Bit
In the Next slide we will have a look ………. How a 16-bit word is used to
represent the ON-OFF status of each screw terminal on a 16-point I/ O module.
Correlation of 16 bit Words to Input Signals………slide1
Input Module
One LED for each input point. LED is ON when there is an
ON signal to the corresponding input point
0
1
2
3
4
5
6 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
7
8
9
10
11
12
13
14
15
C
Correlation of 16 bit Words to Input Signals……….slide 2
Input Module
+ 24 VDC One LED for each input point. LED is ON when there
is an ON signal to the corresponding input point
0
1
2
3
4
5
6
7
Unused bits
C
0 0 0 0 0 0 0 0 0 1 0 1 0 0 0 0
- 24 VDC 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Correlation of 16 bit Words to Input Signals……….slide 3
Slot 0 Slot 1 Slot 2 Slot 3 Slot 4 Slot 5 Slot 6
Power Supply CPU Input Module Output Module Input Module Input Module Output Module Input Module
00 01 00 01 00 01 00 01 00 01 00 01
02 03 02 03 02 03 02 03 02 03 02 03
04 05 04 04 05 04 05 04 04 05
05 05
06 07 06 06 07 06 07 06 06 07
VAC 07 VAC 07
08 09 08 09 08 09 08 09
08 09 08 09
10 11 10 10 11 10 11 10 10 11
12 13 11 12 13 12 13 11 12 13
12 12
14 15 13 14 15 14 15 13 14 15
14 14
com com VAC 15 com com com com VAC 15 com com
00 01 00 01 00 01 00 01 00 01 00 01
02 03 02 03 02 03 02 03 02 03 02 03
04 05 04 04 05 04 05 04 04 05
05 05
06 07 06 06 07 06 07 06 06 07
VAC 07 VAC 07
08 09 08 09 08 09 08 09
08 09 08 09
10 11 10 10 11 10 11 10 10 11
12 13 11 12 13 12 13 11 12 13
12 12
14 15 13 14 15 14 15 13 14 15
14 14
com com VAC 15 com com com com VAC 15 com com
CPU M
Input Output
module Memory module S
Power supply
Personal Computer
PLC Memory.
PLC Memory and How it is used?………………….slide 2
PLC Memory
“The Personality”
Data Memory
[ ROM ] Data Files
[Non- Volatile]
User Memory
User Programs
Application Memory……………………. Slide 1
1] DATA Memory
File 4 Timer
DATA Files
File 5 Counter
File 6 Control
File 7 Integers
File 8 Floating Point Data
2] User Memory
Output Module
2
LOAD
3
Signal from CPU 110 VAC
Operates switch COM
User supplied power
for field devices
S/G Flow from CPU through an output module to the field device
FUSE
Latch Triac Controlled
Logic Optical Filter device
switching
Circuitry isolation
circuitry
LED
Simplified Single point Relay Output
Common to other
output points
L-1 L-2
Output Module
ON or OFF signal
from output
status table
LOAD
Sinking Output
Module
+ DC
VDC
Out 0
Out 1
Out 2
Out 3
Out 4
Out 5
Out 6
Out 7
DC Com DC Common
Sourcing Output module Interface with Field Device.
Sourcing
Output Module
+ DC
VDC
Out 0
Out 1
Out 2
Out 3
Out 4
Out 5
Out 6
Out 7
DC Com DC Common