Professional Documents
Culture Documents
Product overview 1
Getting started 2
SIMATIC Installation 3
PLC concepts 4
S7
S7-200 SMART Programming concepts 5
PLC device configuration 6
System Manual Web server 7
8
Read all or download on Program instructions
365manuals.com Communication 9
Libraries 10
Debugging and
troubleshooting 11
PID loops and tuning 12
Open loop motion control 13
Technical specifications A
Calculating a power budget B
Error codes C
Special memory (SM) and
system symbol names D
References E
Ordering information F
V2.6, 05/2021
A5E03822230-AJ
Legal information
Warning notice system
This manual contains notices you have to observe in order to ensure your personal safety, as well as to prevent
damage to property. The notices referring to your personal safety are highlighted in the manual by a safety alert
symbol, notices referring only to property damage have no safety alert symbol. These notices shown below are
graded according to the degree of danger.
DANGER
indicates that death or severe personal injury will result if proper precautions are not taken.
WARNING
indicates that death or severe personal injury may result if proper precautions are not taken.
CAUTION
indicates that minor personal injury can result if proper precautions are not taken.
NOTICE
indicates that property damage can result if proper precautions are not taken.
If more than one degree of danger is present, the warning notice representing the highest degree of danger will
be used. A notice warning of injury to persons with a safety alert symbol may also include a warning relating to
property damage.
Qualified Personnel
The product/system described in this documentation may be operated only by personnel qualified for the specific
task in accordance with the relevant documentation, in particular its warning notices and safety instructions.
Qualified personnel are those who, based on their training and experience, are capable of identifying risks and
avoiding potential hazards when working with these products/systems.
Proper use of Siemens products
Note the following:
WARNING
Siemens products may only be used for the applications described in the catalog and in the relevant technical
documentation. If products and components from other manufacturers are used, these must be recommended
or approved by Siemens. Proper transport, storage, installation, assembly, commissioning, operation and
maintenance are required to ensure that the products operate safely and without any problems. The permissible
ambient conditions must be complied with. The information in the relevant documentation must be observed.
Trademarks
All names identified by ® are registered trademarks of Siemens AG. The remaining trademarks in this publication
may be trademarks whose use by third parties for their own purposes could violate the rights of the owner.
Disclaimer of Liability
We have reviewed the contents of this publication to ensure consistency with the hardware and software
described. Since variance cannot be precluded entirely, we cannot guarantee full consistency. However, the
information in this publication is reviewed regularly and any necessary corrections are included in subsequent
editions.
Note
The earlier CPU models do not support being upgraded to firmware versions V2.6.0.
The 0AA1 CPU models do not support being downgraded to earlier firmware versions, for
example V2.5.1.
For a complete list of the S7-200 SMART products and article numbers described in this
manual, see Technical Specifications (Page 769).
S7-200 SMART
System Manual, V2.6, 05/2021, A5E03822230-AJ 3
Preface
industry, as well as about the individual Siemens products that you are using, they can
provide the fastest and most efficient answers to any problems you might encounter.
Security information
Siemens provides products and solutions with industrial security functions that support the
secure operation of plants, systems, machines and networks.
In order to protect plants, systems, machines and networks against cyber threats, it is
necessary to implement – and continuously maintain – a holistic, state-of-the-art industrial
security concept. Siemens’ products and solutions constitute one element of such a concept.
Customers are responsible for preventing unauthorized access to their plants, systems,
machines and networks. Such systems, machines and components should only be connected
to an enterprise network or the internet if and to the extent such a connection is necessary
and only when appropriate security measures (e.g. firewalls and/or network segmentation)
are in place.
For additional information on industrial security measures that may be implemented, please
visit (http://www.siemens.com/industrialsecurity).
Siemens' products and solutions undergo continuous development to make them more
secure. Siemens strongly recommends that product updates are applied as soon as they are
available and that the latest product versions are used. Use of product versions that are no
longer supported, and failure to apply the latest updates may increase customers' exposure to
cyber threats.
To stay informed about product updates, subscribe to the Siemens Industrial Security RSS
Feed visit (http://www.siemens.com/industrialsecurity).
S7-200 SMART
4 System Manual, V2.6, 05/2021, A5E03822230-AJ
Table of contents
Preface ................................................................................................................................................... 3
1 Product overview ................................................................................................................................. 19
1.1 S7-200 SMART CPU ............................................................................................................ 19
1.2 New Features .................................................................................................................... 22
1.2.1 What's new in S7-200 SMART V2.6? ................................................................................... 22
1.2.2 What's new in S7-200 SMART V2.5? ................................................................................... 23
1.2.3 What's new in S7-200 SMART V2.4? ................................................................................... 24
1.2.4 What's new in S7-200 SMART V2.3? ................................................................................... 25
1.3 S7-200 SMART expansion modules..................................................................................... 27
1.4 HMI devices for S7-200 SMART........................................................................................... 28
1.5 Communications options ................................................................................................... 29
1.6 Programming software ...................................................................................................... 30
2 Getting started .................................................................................................................................... 32
2.1 Connecting to the CPU ....................................................................................................... 32
2.1.1 Configuring the CPU for communication ............................................................................ 33
2.1.1.1 Overview ........................................................................................................................... 33
2.1.1.2 Establishing the Ethernet hardware communication connection ......................................... 34
2.1.1.3 Setting up Ethernet communication with the CPU .............................................................. 35
2.1.1.4 Establishing the RS485 hardware communication connection ............................................ 37
2.1.1.5 Setting up RS485 communication with the CPU .................................................................. 37
2.2 Creating the sample program ............................................................................................. 39
2.2.1 Network 1: Starting the timer............................................................................................. 41
2.2.2 Network 2: Turning the output on ...................................................................................... 42
2.2.3 Network 3: Resetting the timer .......................................................................................... 43
2.2.4 Setting the CPU type and version for your project ............................................................... 43
2.2.5 Saving the sample project .................................................................................................. 44
2.3 Downloading the sample program ..................................................................................... 45
2.4 Changing the operating mode of the CPU........................................................................... 46
3 Installation ........................................................................................................................................... 47
3.1 Guidelines for installing S7-200 SMART devices .................................................................. 47
3.2 Power budget .................................................................................................................... 49
3.3 Installation and removal procedures ................................................................................... 51
3.3.1 Mounting dimensions for the S7-200 SMART devices.......................................................... 51
3.3.2 Installing and removing the CPU ........................................................................................ 52
3.3.3 Installing and removing a signal board or battery board ...................................................... 55
3.3.4 Removing and reinstalling the terminal block connector ..................................................... 57
3.3.5 Installing and removing an expansion module .................................................................... 58
3.3.6 Installing and removing the expansion cable ...................................................................... 60
S7-200 SMART
System Manual, V2.6, 05/2021, A5E03822230-AJ 5
Table of contents
S7-200 SMART
6 System Manual, V2.6, 05/2021, A5E03822230-AJ
Table of contents
S7-200 SMART
System Manual, V2.6, 05/2021, A5E03822230-AJ 7
Table of contents
S7-200 SMART
8 System Manual, V2.6, 05/2021, A5E03822230-AJ
Table of contents
S7-200 SMART
System Manual, V2.6, 05/2021, A5E03822230-AJ 9
Table of contents
S7-200 SMART
10 System Manual, V2.6, 05/2021, A5E03822230-AJ
Table of contents
S7-200 SMART
System Manual, V2.6, 05/2021, A5E03822230-AJ 11
Table of contents
S7-200 SMART
12 System Manual, V2.6, 05/2021, A5E03822230-AJ
Table of contents
S7-200 SMART
System Manual, V2.6, 05/2021, A5E03822230-AJ 13
Table of contents
S7-200 SMART
14 System Manual, V2.6, 05/2021, A5E03822230-AJ
Table of contents
13.9.1 Displaying and controlling the operation of the Axis of Motion ......................................... 742
13.9.2 Displaying and modifying the configuration of the Axis of Motion .................................... 748
13.9.3 Displaying the profile configuration for the Axis of Motion ............................................... 748
13.9.4 Error codes for the Axis of Motion (WORD at SMW620, SMW670, or SMW720) ................. 749
13.9.5 Error codes for the Motion instruction (seven LS bits of SMB634, SMB684, or SMB734) .... 750
13.10 Advanced topics .............................................................................................................. 752
13.10.1 Understanding the configuration/profile table for the Axis of Motion ................................ 752
13.10.2 Special memory (SM) locations for the Axis of Motion ...................................................... 760
13.11 Understanding the RP Seek modes of the Axis of Motion .................................................. 763
13.11.1 Selecting the work zone location to eliminate backlash .................................................... 768
A Technical specifications ..................................................................................................................... 769
A.1 General specifications ...................................................................................................... 769
A.1.1 General technical specifications ....................................................................................... 769
A.2 S7-200 SMART CPUs......................................................................................................... 773
A.2.1 CPU ST20, CPU SR20, and CPU CR20s ............................................................................... 773
A.2.1.1 General specifications and features .................................................................................. 773
A.2.1.2 Digital inputs and outputs ................................................................................................ 778
A.2.1.3 Wiring diagrams .............................................................................................................. 781
A.2.2 CPU ST30, CPU SR30, and CPU CR30s ............................................................................... 784
A.2.2.1 General specifications and features .................................................................................. 784
A.2.2.2 Digital inputs and outputs ................................................................................................ 789
A.2.2.3 Wiring diagrams .............................................................................................................. 791
A.2.3 CPU ST40, CPU SR40, CPU CR40s, and CPU CR40............................................................... 794
A.2.3.1 General specifications and features .................................................................................. 794
A.2.3.2 Digital inputs and outputs ................................................................................................ 799
A.2.3.3 Wiring diagrams .............................................................................................................. 802
A.2.4 CPU ST60, CPU SR60, CPU CR60s, and CPU CR60............................................................... 805
A.2.4.1 General specifications and features .................................................................................. 805
A.2.4.2 Digital inputs and outputs ................................................................................................ 810
A.2.4.3 Wiring diagrams .............................................................................................................. 813
A.2.5 Wiring diagrams for sink and source input, and relay output ............................................. 816
A.3 Digital inputs and outputs expansion modules (EMs) ........................................................ 817
A.3.1 EM DE08 and EM DE16 digital input specifications............................................................ 817
A.3.2 EM DT08, EM DR08, EM QR16, and EM QT16 digital output specifications......................... 819
A.3.3 EM DT16, EM DR16, EM DT32, and EM DR32 digital input/output specifications ................ 823
A.4 Analog inputs and outputs expansion modules (EMs) ....................................................... 829
A.4.1 EM AE04 and EM AE08 analog input specifications ........................................................... 829
A.4.2 EM AQ02 and EM AQ04 analog output module specifications ........................................... 832
A.4.3 EM AM03 and EM AM06 analog input/output module specifications ................................. 834
A.4.4 Step response of the analog inputs .................................................................................. 838
A.4.5 Sample time and update times for the analog inputs ........................................................ 838
A.4.6 Measurement ranges of the analog inputs for voltage and current (SB and EM) ................ 839
A.4.7 Measurement ranges of the analog outputs for voltage and current (SB and EM) .............. 840
A.5 Thermocouple and RTD expansion modules (EMs) ............................................................ 841
A.5.1 Thermocouple expansion modules (EMs) ......................................................................... 841
A.5.1.1 EM AT04 thermocouple specifications .............................................................................. 841
A.5.2 RTD expansion modules (EMs) ......................................................................................... 845
A.6 Digital signal boards ........................................................................................................ 851
S7-200 SMART
System Manual, V2.6, 05/2021, A5E03822230-AJ 15
Table of contents
S7-200 SMART
16 System Manual, V2.6, 05/2021, A5E03822230-AJ
Table of contents
S7-200 SMART
System Manual, V2.6, 05/2021, A5E03822230-AJ 17
Table of contents
S7-200 SMART
18 System Manual, V2.6, 05/2021, A5E03822230-AJ
Product overview 1
The S7-200 SMART series of micro-programmable logic controllers (Micro PLCs) can control a
wide variety of devices to support your automation needs.
The CPU monitors inputs and changes outputs as controlled by the user program, which can
include Boolean logic, counting, timing, complex math operations, and communications with
other intelligent devices. The compact design, flexible configuration, and powerful
instruction set combine to make the S7-200 SMART a perfect solution for controlling a wide
variety of applications.
The CPU provides different models with a diversity of features and capabilities that help you
create effective solutions for your varied applications. The different models of CPUs are
shown below. For detailed information about a specific CPU, see the technical specifications
(Page 773).
S7-200 SMART
System Manual, V2.6, 05/2021, A5E03822230-AJ 19
Product overview
1.1 S7-200 SMART CPU
The S7-200 SMART CPU family includes fourteen CPU models, separated into two lines: the
Compact Line and the Standard Line. The first letter of the CPU designator indicates a line,
either Compact (C) or Standard (S). The second letter of the designator indicates AC power
supply / relay outputs (R) or DC power supply / DC transistor (T). The number in the
designator indicates the total onboard digital I/O count. The new compact models are
designated by a lower case "s" character (serial port only) following the I/O count.
Note
CPU CRs and CPU CR
S7-200 SMART CPU firmware release V2.4 and V2.5 do not apply to the CPU CRs and CPU CR
models.
SR20 ST20 CR20s SR30 ST30 CR30s SR4 ST40 CR40 CR40 SR6 ST60 CR60 CR60
0 s 0 s
Compact serial, X X X X X X
non-expandable
Standard, ex- X X X X X X X X
pandable
Relay output X X X X X X X X X X
Transistor output X X X X
(DC)
I/O points (built- 20 20 20 30 30 30 40 40 40 40 60 60 60 60
in)
Features CPU CR20s CPU CR30s CPU CR40s, CPU CPU CR60s, CPU
CR40 CR60
Dimensions: W x H x D (mm) 90 x 100 x 81 110 x 100 x 81 125 x 100 x 81 175 x 100 x 81
User memory Program 12 Kbytes 12 Kbytes 12 Kbytes 12 Kbytes
User data 8 Kbytes 8 Kbytes 8 Kbytes 8 Kbytes
Retentive 2 Kbytes max.1 2 Kbytes max.1 2 Kbytes max.1 2 Kbytes max.1
On-board digi- • Inputs • 12 DI • 18 DI • 24 DI 36 DI
tal I/O 24 DQ Relay
• Outputs • 8 DQ Relay • 12 DQ Relay • 16 DQ Relay
Expansion modules None None None None
Signal board None None None None
High-speed Single 4 at 100 kHz 4 at 100 kHz 4 at 100 kHz 4 at 100 kHz
counters (4 phase
total) A/B phase 2 at 50 kHz 2 at 50 kHz 2 at 50 kHz 2 at 50 kHz
S7-200 SMART
20 System Manual, V2.6, 05/2021, A5E03822230-AJ