Design: Mar 2008 Siemens ITS

You might also like

Download as pdf or txt
Download as pdf or txt
You are on page 1of 24

CPU 224

 The compact high-performance CPU


 With 24 inputs/outputs on board
 Expandable with up to 7 expansion modules
Design

The CPU 224 is equipped with the following:

 Integral 24 V encoder/load current supply:


For direct connection of sensors and encoders. With 280 mA, output current can also be used as load
power supply.
 2 device versions:
With different power supply and control voltages.
 Integral digital inputs/outputs:
14 inputs and 10 outputs.
 1 communication interface:
Optional
 As PPI interface with PPI protocol for programming functions, HMI functions (TD 200, OP),
S7-200 internal CPU/CPU communication (9.6/19.2/187.5 Kbit/s) or as MPI slave for data
exchange with MPI masters (S7-300/-400, OPs, TDs, pushbutton panels).
 Freely-programmable interface (freeport) with interrupt facility for serial data exchange with
third-party devices, e.g. with ASCII protocol baud rates
1.2/2.4/4.8/9.6/19.2/38.4/57.6/115.2 Kbit/s; PC/PPI cable can be used as RS 232/RS 485
converter.

Page 124 Mar 2008 Siemens ITS


 Expansion bus:
Connection of expansion modules (only EMs of the 22x series can be used).
 Interrupt inputs:
For extremely fast response to rising or falling edges of process signals.
 Fast counters:
6 fast counters (30 kHz), with parameterizable enable and reset input, can be used simultaneously as up and
down counters with 2 separate inputs or for connecting incremental encoders with 2 pulse trains
(4x20 kHz) offset by 90o.
 Problem-free expansion with digital and analog expansion modules (EM, optional).
 Simulator (optional):
For simulating the integral inputs and for testing the user program.
 Analog potentiometer:
2 analog potentiometer, can be conveniently used in everyday work as a setpoint encoder, e.g. for setting
times.
 Pulse outputs:
2 high-frequency pulse outputs (max. 20 kHz); can be used for positioning tasks and for driving frequency-
controlled motors and stepping motors via power circuitry.
 Real-time clock:
e.g. for assignment of time stamps to messages, for recording machine runtimes, or for time control of
processes.
 EEPROM submodule (optional):
For saving the complete STEP 7-Micro/WIN user program as well as other documents.
For supporting the data logging function and recipe management.
Permits fast changing of program (even without programming device) and additional program archiving.

Page 125 Mar 2008 Siemens ITS


 Battery module for long-term backup:
To increase the storage period up to typically 200 days. Without a battery module, user data (e.g. bit
memory states, data blocks, times, counts) are saved by an internal high-performance capacitor for
approx. 5 days. The program is always saved permanently (maintenance-free). The battery module is
inserted into the slot for the memory submodule.

Device variants
Variant Supply voltage Input voltage Output voltage Output current
•DC outputs 24 V DC 24 V DC 24 V DC 0.75 A, transistor
•Relay outputs 85 … 264 V AC 24 V DC 24 V DC, 24 … 2 A, relay
230 V AC

Page 126 Mar 2008 Siemens ITS


Function

 Extensive instruction set:


A large number of
 Basic operations such as binary logic operations, result allocation, save, count, create times, load, transfer,
compare, shift, rotate, create complement, call subprogram (with local variables)
 Integrated communication instructions (e.g., S7-200 communication (Network read NETR, Network write
NETW) or Freeport (Transmit XMT, Receive RCV))
 User-friendly functions such as pulse-duration modulation, pulse sequence function, arithmetic functions,
floating-point arithmetic, PID closed-loop control, jump functions, loop functions and code conversions
simplify programming
 Counting:
User-friendly counting functions in conjunction with the integrated counters and special commands for high-
speed counters open up new application areas for the user
 Interrupt handling:
 Edge-triggered interrupts (activated by rising or falling edges of process signals on interrupt inputs)
support a rapid response to process events
 Time-controlled interrupts can be set at 1 ms increments from 1 ms to 255 ms
 Counter interrupts can be triggered when a setpoint is reached or when the direction of counting changes
 Communication interrupts make exchanging information with peripheral devices such as printers or bar
code readers quick and easy
 Direct interrogation and control of inputs/outputs:
Inputs and outputs can also be scanned and set directly independent of the cycle. The controller is then able to
respond quickly to process events (e.g., direct resetting of outputs on the occurrence of an interrupt).

Page 127 Mar 2008 Siemens ITS


 Password protection:
The 3-level password protection concept effectively safeguards your know-how. The protection concept has
the following options for access to the user program:
 Full access: the program can be altered as desired.
 Read-only: the program is protected against unauthorized changes. Testing, setting system
parameters and copying the program are possible.
 Complete protection: the program is protected against modification and unauthorized readout and
copying. Parameter settings are supported.
 Test and diagnostic functions:
User-friendly functions support testing and diagnostics: The entire program is executed and analyzed using
a definable number of cycles. Internal parameters such as bit memories, timers or counters, are logged in a
max. of 124 cycles.
 "Forcing” of inputs and outputs during test and diagnostic operation:
Inputs and outputs can be set independently of cycle and thus permanently, for example, to test the user
program.
 Runtime edit:
In RUN mode, programs can be edited and modified programs can be loaded into the CPU at the click of a
mouse, without having to interrupt the current program.
 Additional mathematical modules such as SIN, COS, TAN, LN, EXP
 Data logging:
Time-controlled or event-controlled saving of data records on the EEPROM memory submodule, e.g.
performance data, statistical data, fault/error messages, optionally with a time tag. The log file can be
transferred at any time using the S7 Explorer in STEP 7-Micro/WIN

Page 128 Mar 2008 Siemens ITS


 Recipe management:
Recipes are defined and downloaded within the STEP 7-Micro/WIN project. For better memory utilization,
the recipes are stored in the EEPROM memory submodule. The recipes can be modified and updated
online.

Programming

The STEP 7-Micro/WIN32 V4 programming package permits complete programming of all S7-200
CPUs.
Note:
The CPU 224 cannot be programmed using STEP 7-Micro/DOS. If programming is to take place via the
serial interface of the PG/PC, the PC/PPI cable is required additionally. If the STEP 7 Micro/Win V4
programming software is used, programming can take place via the SIMATIC CP 5511 or CP 5611 (see
SIMATIC NET) as well as via the MPI interface of the programming device. This increases the maximum
permissible transmission rate to 187.5 kbps.

Technical specifications

Page 129 Mar 2008 Siemens ITS


Technical specifications
6ES7 214-1AD23-0XB0 6ES7 214-1BD23-0XB0
Supply voltage
24 V DC Yes
permissible range, lower limit20.4 V
(DC)
permissible range, upper 28.8 V
limit (DC)
120 V AC Yes
230 V AC Yes
Line frequency

Page 130 Mar 2008 Siemens ITS


•Frequency of the supply 63 Hz
voltage
Load voltage L+
•Rated value (DC) 24 V 24 V
•permissible range, lower limit 20.4 V 5V
(DC)
•permissible range, upper limit 28.8 V 30 V
(DC)
Load voltage L1
•Rated value (AC) 100 V; 100 to 230 V AC
•permissible range, lower limit 5V
(AC)
•permissible range, upper limit 250 V
(AC)
•permissible frequency range, 47 Hz
lower limit
•permissible frequency range, 63 Hz
upper limit
Input current
Inrush current, max. 12 A; at 28.8 V 20 A; at 264 V
from supply voltage L+, max. 700 mA; 110 to 700
mA, output current for
expansion modules
Page 131 (DC 5 Mar
V) 2008
660 mA Siemens ITS
from supply voltage L1, max. 200 mA; 30 to 100 mA
(240 V); 60 to 200 mA
(120 V); output current for
expansion modules (5 V
DC) 600 mA
Encoder supply
24 V encoder supply
•24 V Yes; permissible range: Yes; Permissible range:
15.4 to 28.8 V 20.4 to 28.8 V
•Short-circuit protection Yes; electronic at 280 Yes; electronic at 280 mA
mA
•Output current, max. 280 mA 280 mA
Backup battery
Battery operation
•Backup time, max. 100 h; (min. 70 h at 100 h; (min. 70 h at 40
40 °C); 200 days (typ.) °C); 200 days (typ.) with
with optional battery optional battery module
module
Memory
Number of memory modules 1; pluggable memory 1; pluggable memory
(optional) module, content module, content identical
identical with integral with integral EEPROM;
EEPROM;
Page 132 Mar 2008 Siemens ITS
; can additionally store ; can additionally store recipes,
recipes, data logs and data logs and other files
other files
Data and program memory
•Data memory, max. 8 Kibyte 8 Kibyte
•Program memory, max. 12 Kibyte; 8 KB with 12 Kibyte; 8 KB with active
active run-time edit run-time edit
Backup
•present Yes; Program: Entire Yes; Program: Entire program
program maintenance-free maintenance-free on integral
on integral EEPROM, EEPROM, programmable via
programmable via CPU; CPU; data: Entire DB 1
data: Entire DB 1 loaded loaded from PG/PC
from PG/PC maintenance-free on integral
maintenance-free on EEPROM, current values of
integral EEPROM, DB 1 in RAM, retentive
current values of DB 1 memory bits, timers, counters,
in RAM, retentive etc. maintenance-free via high-
memory bits, timers, performance capacitor; optional
counters, etc. battery for long-term buffering
maintenance-free via
high-performance
capacitor; optional battery
Page 133 for long-term buffering
Mar 2008 Siemens ITS
CPU processing times
for bit operations, max. 0.22 µs 0.22 µs
Counters, timers and their
retentivity
S7 counter
•Number 256 256
•of which retentive with battery

Yes; via high-performance Yes; via high-performance


• adjustable capacitor or battery capacitor or battery
1 1
• lower limit
256 256
• upper limit
•Counting range
0 0
• lower limit
32 767 32 767
• upper limit
S7 times
•Number 256 256
•of which retentive with
battery
Page 134 Mar 2008 Siemens ITS
Yes; via high- Yes; via high-performance
• adjustable performance capacitor or capacitor or battery
battery
64 64
• upper limit
•Time range
1 ms 1 ms
• lower limit
54 min; 4 timers: 1 ms 54 min; 4 timers: 1 ms to 30
• upper limit to 30 s; 16 timers: 10 s; 16 timers: 10 ms to 5 min;
ms to 5 min; 236 236 timers: 100 ms to 54 min
timers: 100 ms to 54
min
Data areas and their
retentivity
Flag
•Number, max. 32 byte 32 byte
•Retentivity available Yes; M 0.0 to M 31.7 Yes; M 0.0 to M 31.7
•of which retentive with 0 to 255, via high- 0 to 255, via high-performance
battery performance capacitor or capacitor or battery, adjustable
battery, adjustable
•of which retentive without 0 to 112 in EEPROM, 0 to 112 in EEPROM,
battery
Page 135 adjustableMar 2008 adjustable Siemens ITS
Hardware configuration
Expansion devices, max. 7; Only expansion 7; Only expansion modules of
modules of the S7-22x the S7-22x series can be used.
series can be used. Due Due to the limited output
to the limited output current, the use of expansion
current, the use of modules may be limited.
expansion modules may
be limited.
Connectable programming SIMATIC PG/PC, SIMATIC PG/PC, standard PC
devices/PCs standard PC
Expansion modules
•Analog inputs/outputs, max. 35; max. 28 inputs and 35; max. 28 inputs and 7
7 outputs (EM) or max. outputs (EM) or max. 0 inputs
0 inputs and 14 outputs and 14 outputs (EM)
(EM)
•Digital inputs/outputs, max. 168; max. 94 inputs and 168; max. 94 inputs and 74
74 outputs (CPU + EM) outputs (CPU + EM)
•AS-Interface inputs/outputs 62; AS-Interface A/B 62; AS-Interface A/B slaves
max. slaves (CP 243-2) (CP 243-2)
Digital inputs
Number/binary inputs 14 14
m/p-reading Yes; optionally, per Yes; optionally, per group
Page 136 group Mar 2008 Siemens ITS
Input voltage
•Rated value, DC 24 V 24 V
•for signal "0" 0 to 5 V 0 to 5 V
•for signal "1" min. 15 V min. 15 V
Input current
•for signal "1", typ. 2.5 mA 2.5 mA
Input delay (for rated value
of input voltage)
•for standard inputs
Yes; all Yes; all
• Parameterizable
0.2 ms 0.2 ms
• at "0" to "1", min.
12.8 ms 12.8 ms
• at "0" to "1", max.
•for interrupt inputs
Yes; I 0.0 to I 0.3 Yes; I 0.0 to I 0.3
• Parameterizable
•for counter/technological
functions
Yes; (E0.0 to E1.5) 30 Yes; (E0.0 to E1.5) 30 kHz
Page 137 Mar 2008 Siemens ITS
• Parameterizable kHz
Cable length
•Cable length, shielded, max. 500 m; Standard input: 500 m; Standard input: 500 m,
500 m, high-speed high-speed counters: 50 m
counters: 50 m
•Cable length unshielded, 300 m; not for high-speed 300 m; not for high-speed
max. signals signals
Digital outputs
Number/binary outputs 10; Transistor 10; Relay
Functionality/short-circuit No; to be provided No; to be provided externally
strength externally
Limitation of inductive 1 W
shutdown voltage to
Switching capacity of the
outputs
•with resistive load, max. 0.75 A 2A
•on lamp load, max. 5W 200 W; 30 W DC; 200 W AC
Output voltage
•for signal "1", min. 20 V DC L+/L1
Output current
•for signal "1" rated value 750 mA 2A
•for signal "0" residual 10 µA 0 mA
current,
Page max.
138 Mar 2008 Siemens ITS
Output delay with resistive
load
•0 to "1", max. 15 µs; of the standard 10 ms; all outputs
outputs, max. (Q0.2 to
Q1.1) 2 µs; of the pulse
outputs, max. (Q0.0 to
Q0.1) 2 µs
•1 to "0", max. 130 µs; of the standard 10 ms; all outputs
outputs, max. (Q0.2 to
Q1.1) 10 µs; of the pulse
outputs, max. (Q0.0 to
Q0.1) 10 µs
Parallel switching of 2
outputs
•for increased power Yes No
Switching frequency
•of the pulse outputs, with 20 kHz; Q0.0 to Q0.1 1 Hz
resistive load, max.
Aggregate current of outputs
(per group)
6A 10 A
• up to 40 °C, max.
•horizontal
Page 139installation Mar 2008 Siemens ITS
6A 10 A
• up to 55 °C, max.
Cable length
•Cable length, shielded, max. 500 m 500 m
•Cable length unshielded, 150 m 150 m
max.
Relay outputs
Number of operating cycles 10 000 000; mechanically 10
million, at rated load voltage
100,000
Analog inputs
Number of analog 2; Analog potentiometer; 2; Analog potentiometer;
potentiometers resolution 8 bit resolution 8 bit
Encoder
Connectable encoders
•2-wire BEROS Yes Yes
1 mA 1 mA
• permissible quiescent
current (2-wire
BEROS), max.
1st interface
Type of interface Integrated RS 485 Integrated RS 485 interface
Page 140 interface Mar 2008 Siemens ITS
Physics RS 485 RS 485
Functionality
•MPI Yes; As MPI slave for Yes; As MPI slave for data
data exchange with MPI exchange with MPI masters
masters (S7-300/S7-400 (S7-300/S7-400 CPUs, OPs,
CPUs, OPs, TDs, Push TDs, Push Button Panels); S7-
Button Panels); S7-200- 200-internal CPU/CPU
internal CPU/CPU communication is possible in
communication is possible the MPI network with
in the MPI network with restrictions; transmission rates:
restrictions; transmission 19.2/187.5 kbit/s
rates: 19.2/187.5 kbit/s
•PPI Yes; with PPI protocol Yes; with PPI protocol for
for program functions, program functions, HMI
HMI functions (TD 200, functions (TD 200, OP), S7-
OP), S7-200-internal 200-internal CPU/CPU
CPU/CPU communication communication ; transmission
; transmission rates rates 9.6/19.2/187.5 kbit/s
9.6/19.2/187.5 kbit/s
•Serial data exchange Yes; As freely Yes; As freely programmable
programmable interface interface with interrupt facility
with interrupt facility for for serial data exchange with
serial data exchange with third-party devices with ASCII
third-party devices with protocol transfer rates:
Page 141 Mar 2008 Siemens ITS
ASCII protocol transfer 1.2 / 2.4 / 4.8 / 9.6 / 19.2 /
rates: 1.2 / 2.4 / 4.8 / 38.4 / 57.6 / 115.2 kbit/s; the
9.6 / 19.2 / 38.4 / 57.6 / PC/PPI cable can also be used
115.2 kbit/s; the PC/PPI as RS232/RS485 converter
cable can also be used
as RS232/RS485
converter
MPI
•Transmission rate, max. 187.5 kbit/s 187.5 kbit/s
•Transmission rate, min. 19.2 kbit/s 19.2 kbit/s
Integrated Functions
Number of counters 6; High-speed counters 6; High-speed counters (30 kHz
(30 kHz each), 32 bits each), 32 bits (incl. sign), can
(incl. sign), can be used be used as up/down counters or
as up/down counters or for connecting 2 incremental
for connecting 2 encoders with 2 pulse trains
incremental encoders offset by 90° (max. 20 kHz
with 2 pulse trains offset (A/B counters)); parameterizable
by 90° (max. 20 kHz enable and reset input; interrupt
(A/B counters)); facilities (incl. call of
parameterizable enable subroutine with any content)
and reset input; interrupt when the setpoint is reached;
Page 142 facilities Mar 2008 Siemens ITS
(incl. call of subroutine reversal in counting
with any content) when the direction, etc.
setpoint is reached; reversal
in counting direction, etc.
Counter frequency (counter) 30 kHz 30 kHz
max.
Number of alarm inputs 4; 4 rising edges and/or 4 4; 4 rising edges and/or 4
falling edges falling edges
Number of pulse outputs 2; High-speed outputs, 20
kHz, with interrupt option;
pulse-width and frequency
modulation option
Limit frequency (pulse) 20 kHz
Galvanic isolation
Galvanic isolation digital
inputs
•between the channels Yes Yes
•between the channels, in 6 and 8 6 and 8
groups of
Galvanic isolation digital
outputs
•between the channels Yes; Optocoupler Yes; Relay
Page 143 Mar 2008 Siemens ITS
•between the channels, in 5 3 and 4
groups of
Permissible potential
difference
between different circuits 500 V DC between 24 V 500 V DC between 24 V
DC and 5 V DC DC and 5 V DC; 1500 V
AC between 24 V DC and
230 V AC
Ambient conditions
Environmental conditions For further environmental For further environmental
conditions, see "Automation conditions, see "Automation
System S7-200, System System S7-200, System
Manual" Manual"
Operating temperature
•vertical installation, min. 0 °C 0 °C
•vertical installation, max. 45 °C 45 °C
•horizontal installation, min. 0 °C 0 °C
•horizontal installation, max. 55 °C 55 °C
Air pressure
•permissible range, min. 860 hPa 860 hPa
•permissible range, max. 1 080 hPa 1 080 hPa

Page 144 Mar 2008 Siemens ITS


Relative humidity
•Operation, min. 5% 5%
•Operation, max. 95 %; RH class 2 in 95 %; RH class 2 in
accordance with IEC 1131-2 accordance with IEC 1131-2

Degree and class of


protection
IP20 Yes Yes
Configuration
programming
•Programming language
Yes Yes
• LAD
Yes Yes
• FBD
Yes Yes
• STL
•Command set Bit logic instructions, Bit logic instructions,
compare instructions, timer compare instructions, timer
instructions, counter instructions, counter
instructions, clock instructions, clock
instructions, transmissions instructions, transmissions
instructions, table instructions, table
Page 145 Mar 2008 Siemens ITS
instructions, logic instructions, logic
instructions, shift and rotate instructions, shift and rotate
instructions, conversion instructions, conversion
instructions, program control instructions, program control
instructions, interrupt and instructions, interrupt and
communications instructions, communications instructions,
logic stack instructions, logic stack instructions,
integer maths, floating-point integer maths, floating-point
math instructions, numerical math instructions, numerical
functions functions

•Program processing free cycle (OB 1), interrupt- free cycle (OB 1), interrupt-
controller, time-controlled (1 controller, time-controlled (1
to 255 ms) to 255 ms)
•Program organization 1 OB, 1 DB, 1 SDB 1 OB, 1 DB, 1 SDB
subroutines with/without subroutines with/without
parameter transfer parameter transfer
•Number of subroutines, 64 64
max.
Know-how protection
•User program Yes; 3-stage password Yes; 3-stage password
protection/password protection protection
protection
Page 146 Mar 2008 Siemens ITS
Connection method
Plug-in I/O terminals Yes Yes
Dimensions
Width 120.5 mm 120.5 mm
Height 80 mm 80 mm
Depth 62 mm 62 mm
Weight
Weight, approx. 360 g 410 g

Page 147 Mar 2008 Siemens ITS

You might also like