Lecture 2 - PLCs and Their Architecture
Lecture 2 - PLCs and Their Architecture
• Reliability.
• Flexibility in programming and reprogramming.
• Cost effective for controlling complex systems.
• Small physical size, shorter project time.
• High speed of operation.
• Ability to communicate with computer systems in
the plant.
• Ease of maintenance /troubleshooting.
• Reduced space.
• Energy saving.
Geometric base types of PLC
S7-1200 S7-400
Micro PLC s7-200
Processor used in S7-200
• CPU 221
• CPU 222
• CPU 224
• CPU 224xp
• CPU 226
Features of CPU used S7-200
Technical Data CPU 221 CPU 222 CPU 224 CPU 224xp CPU 226
Digital input 6 8 14 14 24
Digital output 4 6 10 10 16
Analog input No No No 2 No
Analog output No No No 1 No
Program Memory 4 KB 4 KB 8/12KB 12/16KB 16/24KB
Data Memory 2 KB 2 KB 8 KB 10 KB 10 KB
High speed Counter 4 4 6 6 6
Timer 256 256 256 256 256
RS-485 1 1 1 2 2
Expansion module 0 2 7 7 7
224XP Built-in Features
Internal:
- Power Supply
I/O Point - Super Capacitor
Overview - Clock (for 224,224XP,226)
Status LEDs
Snap-On Clip
Communication 24V Sensor for DIN Rail
Ports Power Output Mounting
Expansion I/O Modules
+ Programming devices
+ STEP 7 software
+ Communication
+ Human Machine Interface
Integrated Automation
S7-300 – The best-selling controller from
Totally Integrated Automation
S7-300 – The automation platform for production
engineering
Modular PLC S7-300 Module
S7 – 300 CPU
Mode Selector
MRES = Memory reset function
STOP = Stop mode, program not executed
RUN = Program execution
RUNP = Program execution, read/write access
Status Indicator
SF = Group error, internal CPU or fault in module
BATF = Battery fault
DC5V = Internal 5 VDC voltage indicator
FRCE = FORCE
RUN = Flashes when the CPU is starting up,
then steady light in Run mode
STOP = Show steady light in Stop mode
SF DP = Physical bus fault
BUSF = No configuration or incorrect
configuration
Processor used in S7-300
• CPU 312
• CPU 314
• CPU 315-2DP
• CPU 317-2DP
• CPU 318
Features of CPU used S7-300
Technical Data CPU 312 CPU 314 CPU 315- CPU 317- CPU 318
2DP 2DP
Digital input 256 1024 1024 1024 1024
Digital output 256 1024 1024 1024 1024
Analog input 64 256 256 256 256
Analog output 64 256 256 256 256
Program Memory 16KB 48KB 128KB 512KB 512KB
Data Memory 5 KB 16 KB 42 KB 170 KB 170 KB
High speed Counter 128 256 256 512 512
Timer 128 256 256 512 512
Ethernet 1 1 1 1 1
Expansion module 6 12 16 32 32
Micro PLC s7-1200
Processor used in S7-1200
• CPU 1211
• CPU 1212
• CPU 1214
• CPU 1215
• CPU 1217
Features of CPU used S7-1200
Technical Data CPU 1211C CPU 1212C CPU 1214C CPU1215C CPU 1217C
Digital input 6 8 14 14 14
Digital output 4 6 10 10 10
Analog input 2 2 2 2 2
Analog output No No No 2 2
Program Memory 25 KB 25 KB 50KB 125KB 150KB
Data Memory 2 KB 2 KB 2 KB 2KB 2KB
High speed Counter 3 4 6 6 6
Timer 4 4 4 4 4
Ethernet 1 1 1 1 1
Expansion module 4 6 12 12 12
Basic PLC Components
• CPU
• Power Supply
• Memory
• Input Blocks
• Output Blocks
• Communications
• Expansion
Connections
Most important PLC producers
• Siemens - Germany
• AB (Allen Bradley) – US
• Schneider Electric (Modicon) – France
• Mitsubishi – Japan
• ABB - Germany
• SAIA – Switzerland
• GE Fanuc - US
• B&R (Bernecker + Reiner) – Austria
• Teco – Czech Republic
Global Players in PLC
Sensors, Switches
PLC Software
Light Curtains / Safety Devices
Network
PLC Hardware
Input/output Circuits
Discrete Inputs
• Circuits of this type are used to sense the status of
limit switches, push buttons, and other discrete
sensors. Noise suppression is of great importance
in preventing false indication of inputs turning on
or off because of noise.
Input/output Circuits
Analog I/O
Circuits of this type sense or drive analog signals.
INPUTS MOTOR
CONTACTOR
LAMP
PUSHBUTTONS
PLC
35
Example of Output Card
PLC wiring
PLC Wiring
Serial Communications
Common Standards
RS 232
• Used in short-distance computer communications, with
the majority of computer hardware and peripherals.
• Has a maximum effective distance of approx. 30 m at
9600 baud. The data rate of RS 232 is 20kbits/sec.
40
PLC Communications
RS 422 / RS 485
41
PLC Communications
Manufacturer Network
Allen-Bradley Data Highway
Gould Modicon Modbus
Mitsubishi Melsec-NET
Siemens SINEC
Texas Instruments TIWAY
42
Examples of PLC Programming Software:
*The five basic PLC programming languages outlined in Standard IEC 61131 are available
in any of the above mention software packages. Namely: IL, ST, FBD, LD, SFC.
Q&A
45