Download Print this page
Hide thumbs Also See for SIMATIC S7:

Advertisement

Quick Links

SIMATIC
S7
S7-200 SMART
System Manual
Read full or download on
365manuals.com
V2.7, 08/2022
A5E03822230-AK
Preface
Product overview
Getting started
Installation
PLC concepts
Programming concepts
PLC device configuration
Web server
Program instructions
Communication
Libraries
Debugging and
troubleshooting
PID loops and tuning
Open loop motion control
Technical specifications
Calculating a power budget
Error codes
Special memory (SM) and
system symbol names
References
Ordering information
1
2
3
4
5
6
7
8
9
10
11
12
13
A
B
C
D
E
F

Advertisement

loading

Summary of Contents for Siemens SIMATIC S7

  • Page 1 Preface Product overview Getting started SIMATIC Installation PLC concepts S7-200 SMART Programming concepts PLC device configuration Web server System Manual Read full or download on Program instructions 365manuals.com Communication Libraries Debugging and troubleshooting PID loops and tuning Open loop motion control Technical specifications Calculating a power budget Error codes...
  • Page 2: Legal Information

    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.
  • Page 3: Required Basic Knowledge

    Siemens products that you are using, they can provide the fastest and most efficient answers to any problems you might encounter.
  • Page 4 Preface S7-200 SMART System Manual, V2.7, 08/2022, A5E03822230-AK...
  • Page 5 Table of contents Preface ..............................3 Product overview ..........................19 Security information ......................19 Product overview ....................... 19 S7-200 SMART CPU ......................20 New Features........................22 1.4.1 What's new in S7-200 SMART V2.7?..................22 1.4.2 What's new in S7-200 SMART V2.6?..................24 1.4.3 What's new in S7-200 SMART V2.5?..................
  • Page 6 Table of contents 3.3.3 Installing and removing a signal board or battery board............59 3.3.4 Removing and reinstalling the terminal block connector ............. 61 3.3.5 Installing and removing an expansion module..............62 3.3.6 Installing and removing the expansion cable ..............63 Wiring guidelines .......................
  • Page 7 Table of contents 5.7.1.1 System ..........................126 5.7.1.2 CPU ..........................127 5.7.1.3 PROFINET device ......................129 5.7.2 Event Log ........................130 5.7.3 PROFINET Alarm....................... 130 5.7.4 Scan Rates ........................131 5.7.5 Non-fatal errors and I/O errors..................131 5.7.6 Fatal errors ........................132 Program edit in RUN mode ....................
  • Page 8 Table of contents 7.5.1 Layout of web pages ......................190 7.5.2 Introduction ........................191 7.5.3 Start page........................192 7.5.4 Module information ......................193 7.5.5 Event log ......................... 193 7.5.6 Status chart ........................194 7.5.7 Watch table ........................194 7.5.8 Data log........................... 195 7.5.9 Set clock ..........................
  • Page 9 Table of contents 8.6.2 High-speed counter instructions..................282 8.6.3 High-speed counter summary ..................285 8.6.4 Noise reduction for high-speed inputs ................286 8.6.5 High-speed counter programming..................287 8.6.6 Example initialization sequences for high-speed counters ..........298 Pulse output ........................305 8.7.1 Pulse output instruction (PLS) ..................
  • Page 10 Table of contents 8.15.3 Find string and first character within string ............... 375 8.16 Table ..........................378 8.16.1 Add to table........................378 8.16.2 First-in-first-out and last-in-first-out .................. 379 8.16.3 Memory fill ........................381 8.16.4 Table find......................... 382 8.17 Timer..........................386 8.17.1 Timer instructions ......................
  • Page 11 Creating user-defined protocols with Freeport mode ............504 9.6.6.2 Using the RS232/PPI Multi-Master cable and Freeport mode with RS232 devices....506 RS232..........................507 Libraries ............................. 509 10.1 Library types (Siemens and user-defined) ................. 509 10.2 Overview of Modbus communication ................511 10.2.1 Modbus addressing......................511 10.2.2 Modbus read and write functions ..................
  • Page 12 Table of contents 10.3.1.2 Requirements for using Modbus instructions ..............515 10.3.1.3 Initialization and execution time for Modbus protocol............517 10.3.2 Modbus RTU master ......................517 10.3.2.1 Using the Modbus RTU master instructions............... 517 10.3.2.2 MBUS_CTRL / MB_CTRL2 instruction (initialize master) ............519 10.3.2.3 MBUS_MSG / MB_MSG2 instruction ..................
  • Page 13 Table of contents 10.7 USS library ........................595 10.7.1 USS communication overview ..................595 10.7.1.1 USS protocol overview ..................... 595 10.7.1.2 Requirements for using the USS protocol ................596 10.7.1.3 Calculating the time required for communicating with the drive ........597 10.7.2 USS program instructions ....................
  • Page 14 Table of contents 11.7 Hardware troubleshooting guide ..................678 PID loops and tuning.......................... 681 12.1 PID loop definition table ....................682 12.2 Prerequisites ........................685 12.3 Auto-hysteresis and auto-deviation................... 685 12.4 Auto-tune sequence......................686 12.5 Exception conditions......................687 12.6 Notes concerning PV out-of-range (result code 3) ............. 688 12.7 PID Tune control panel .....................
  • Page 15 Table of contents 13.4.6 Monitoring the Axis of Motion..................745 13.4.6.1 Displaying and controlling the operation of the Axis of Motion ......... 747 13.4.6.2 Displaying and modifying the configuration of the Axis of Motion ........752 13.4.6.3 Displaying the profile configuration for the Axis of Motion ..........752 13.4.6.4 Error codes for the Axis of Motion (WORD at SMW620, SMW670, or SMW720)....
  • Page 16 Table of contents A.3.2 EM DT08, EM DR08, EM QR16, and EM QT16 digital output specifications ......847 A.3.3 EM DT16, EM DR16, EM DT32, and EM DR32 digital input/output specifications....851 Analog inputs and outputs expansion modules (EMs) ............857 A.4.1 EM AE04 and EM AE08 analog input specifications ............
  • Page 17 Table of contents Special memory (SM) and system symbol names ................909 SM (Special Memory) overview ..................909 SMB0: System status......................911 SMB1: Instruction execution status................... 912 SMB2: Freeport receive character ..................913 SMB3: Freeport character error..................913 SMB4: Interrupt queue overflow, run-time program error, interrupts enabled, freeport transmitter idle, and value forced ..................
  • Page 18 Table of contents References ............................941 Often-used special memory bits ..................941 Interrupt events in priority order..................942 High-speed counter summary ..................943 STL instructions ....................... 944 Memory ranges and features.................... 950 Ordering information......................... 953 CPU modules ........................953 Expansion modules (EMs) and signal boards (SBs) ............953 Programming software....................
  • Page 19: Product Overview

    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.
  • Page 20 Product overview 1.3 S7-200 SMART CPU S7-200 SMART CPU The CPU combines a microprocessor, an integrated power supply, input circuits, and output circuits in a compact housing to create a powerful Micro PLC. After you have downloaded your program, the CPU contains the logic required to monitor and control the input and output devices in your application.

This manual is also suitable for:

Simatic s7-200 smart