Beruflich Dokumente
Kultur Dokumente
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 Mounting
Output
Expansion I/O Modules
• Up to 2 Modules (EM) for 222 CPUs
….up to 7 EMs for 224/226 CPUs
• Removable Terminals on digital I/O Modules
• Module Connection via I/O Expansion Ribbon Cable
CPU-Basic Device + Expansion Module
S7 200 PLC Wiring Diagram
SIMATIC S7-300 within the system family
High-end range/
Medium range
S7-400
+ 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
33
Example of Output Card
PLC wiring
PLC Wiring
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.
38
PLC Communications
RS 422 / RS 485
39
PLC Communications
Programmable Controllers and Networks
Manufacturer Network
Allen-Bradley Data Highway
Gould Modicon Modbus
General Electric GE Net Factory LAN
Mitsubishi Melsec-NET
Siemens SINEC
Texas Instruments TIWAY
40
Examples of PLC Programming Software:
1. Allen-Bradley – Rockwell Software RSLogix500
2. Modicon - Modsoft
3. Omron - Syswin
4. GE-Fanuc Series 6 – LogicMaster6
5. Square D- PowerLogic
6. Siemens – Simatic
6. Telemecanique – Modicon TSX Micro
Overview: Cost per license
Software Manufacturer Cost (Low) Cost (High)
TwinCat3 Beckhoff $0.00 $700
Rslogix 500 Allen-Bradley $500.00 $2,800.00
GX Developer Mitsubishi $600.00
Simatic Step 7 Siemens $750.00 $5,500.00
Rslogix 5000 Allen-Bradley $800.00 $7,000.00
CX-Programmer Omron $2,500.00 $4,000.00
Unity Modicon $5,000.00
*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.
Selecting a PLC
Criteria
Number of logical inputs and outputs
Memory
Number of special I/O modules
Expansion Capabilities
Scan Time
Communication
Software
Support
Dollars
Programming and configuring - Made easy with
STEP 7
• Easy to use
• Object-oriented, intuitive
user interface
• Configuring instead of
programming
• Standard function blocks
parameterizing instead of
programming
• Uniformity across the family –
common database
• Powerful functions -
e.g. module parameters set by software
• Offline simulation
• We work according to standard!
• Programming languages in
conformity with IEC 61131-3
• Windows 95/98/NT/2000/XP Professional
operating system
PLC PROGRAMMING
LADDER LOGIC:
PLC programs are typically written in a special application on a
personal computer, then downloaded by a direct-connection
cable or over a network to the PLC. The program is stored in
the PLC either in battery-backed-up RAM or some other non-
volatile flash memory. Often, a single PLC can be programmed
to replace thousands of relays.
ELEMENTS OF LADDER LOGIC
(CONTACT) (CONTACT)
Power flows through these contacts when they are closed. The
normally open (NO) is true when the input or output status bit
controlling the contact is 1. The normally closed (NC) is true
when the input or output status bit controlling the contact is 0.
ELEMENTS OF LADDER LOGIC
COILS
A D E
Left Power Rail Right Power Rail
B
Branch
F G H
P S
I J K
R
Timer Parameter in PLC
Timer number: This number come from timer file. For
example, the timer number is T4:0,which represent
the timer file 4,timer 0 in that file.
Time base: The Timer are typically programmed with
several different time base. The value of Time base will
be 1,0.1,0.01,0.001 second. Suppose Time base is set to
o.1 sec,The Delay Time = Preset valve in second.
Preset Time: The Preset time will show the time delay
length which programmer want to set the value.
Timer Types
On Delay Timer
Retentive On Delay Timer
Off Delay Timer
The on Delay Timer is used to delay an output on for a
fixed period of time after the input turn on. The
difference between delay on time and retentive on delay
time is that retentive on delay timer keep the input on
for specific time period . The off Delay Timer is used to
delay an output off for a fixed period of time after the
input turn off.
On-Delay Timer Circuit
L1 S1
L2 Sequence of operation
S1 open, TD de-energized,
TD1 open, L1 is off.
L1
S1 closes, TD energizes,
timing period starts,
10 s
TD1 still open, L1 is still off.
RETENTIVE timer:
30
25
5
Program for switching motor off at 5 sec Interval
Bearing Lubrication Program
Sequence Of Operation
10
0
0
Counter Parameter in PLC
The counter used in PLC perform same function as
mechanical counter.
Counter Number: This number come from counter file.
Suppose counter number is C5:0,which represent counter
file 5,counter o in that file.
Preset value:This is value specified by programmer which
counter must reach before the controller set the done bit.
Accumulated value:The counter output instruction will
increment/decrement (depend upon counter type) its
accumulated value by 1 each time the counted event occurs.
Counter Types
Counter up
Counter down
Counter up/down
Counter up
The counter up instruction counts up from current
value each time the input makes the transition from
off to on. When the current value is equal to preset
value, the counter output pin turn on. The counter is
reset when the Reset input R is turn on, when reset
instruction is executed.
Counter down
The counter down instruction counts down from
current value each time input makes the transition
from off to on. The counter stop upon reaching zero,
and the counter output bit turn on. The counter reset
the counter output bit and load the current value with
the preset value PV when load input LD turn on.
R input for CTU and LD input for CTD are reset inputs
of counter .The counter are reset by using this inputs.
COUNTERS in S7-200
UP Counter
0
Up-counter Program Timing Diagram
Parts Counting Program
Counter C5:2 counts the total
number of parts coming off an
assembly line for final
packaging
Counter C5:3 counts the total number of packages filled per day
A pushbutton is used to restart the total part and package count from
zero daily
Parts Counting Program
010
9
10
09
0
Up/down-counter program
Simulated up/down-counter program
Program that provides continuous
monitoring of items in process.