EasyManuals Logo

Siemens SIMATIC S7 System Manual

Siemens SIMATIC S7
866 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #9 background imageLoading...
Page #9 background image
Table of contents
S7-200 SMART
System Manual, V2.3, 07/2017, A5E03822230-AF
9
7.13.4 END, STOP, and WDR (watchdog timer reset) .................................................................... 354
7.13.5 GET_ERROR (Get non-fatal error code) .............................................................................. 356
7.14 Shift and rotate ...................................................................................................................... 357
7.14.1 Shift and rotate ...................................................................................................................... 357
7.14.2 Shift register bit ..................................................................................................................... 360
7.15 String ..................................................................................................................................... 362
7.15.1 String (Get length, copy, and concatenate) .......................................................................... 362
7.15.2 Copy substring from string .................................................................................................... 364
7.15.3 Find string and first character within string ........................................................................... 365
7.16 Table ..................................................................................................................................... 368
7.16.1 Add to table ........................................................................................................................... 368
7.16.2 First-in-first-out and last-in-first-out ....................................................................................... 370
7.16.3 Memory fill ............................................................................................................................. 372
7.16.4 Table find .............................................................................................................................. 373
7.17 Timer ..................................................................................................................................... 377
7.17.1 Timer instructions .................................................................................................................. 377
7.17.2 Timer programming tips and examples ................................................................................ 380
7.17.3 Interval timers ....................................................................................................................... 386
7.18 Subroutine ............................................................................................................................. 388
7.18.1 CALL (subroutine) and RET (conditional return) .................................................................. 388
8 Communication ................................................................................................................................... 395
8.1 CPU communication connections ......................................................................................... 396
8.2 CPU communication ports .................................................................................................... 397
8.3 HMIs and communication drivers ......................................................................................... 398
8.4 Ethernet ................................................................................................................................ 400
8.4.1 Overview ............................................................................................................................... 400
8.4.2 Local/partner connection ...................................................................................................... 400
8.4.3 Sample Ethernet network configurations .............................................................................. 401
8.4.4 Assigning Internet Protocol (IP) addresses .......................................................................... 402
8.4.4.1 Assigning IP addresses to programming and network devices ............................................ 402
8.4.4.2 Configuring or changing an IP address for a CPU or device in your project ........................ 404
8.4.4.3 Searching for CPUs and devices on your Ethernet network ................................................ 412
8.4.5 Locating the Ethernet (MAC) address on the CPU ............................................................... 413
8.4.6 HMI-to-CPU communication ................................................................................................. 415
8.4.7 Open user communication .................................................................................................... 417
8.4.7.1 Protocols ............................................................................................................................... 417
8.4.7.2 Connections .......................................................................................................................... 418
8.4.7.3 Ports and TSAPs .................................................................................................................. 419
8.5 PROFIBUS ............................................................................................................................ 421
8.5.1 EM DP01 PROFIBUS DP module ........................................................................................ 423
8.5.1.1 Distributed Peripheral (DP) standard communications ......................................................... 423
8.5.1.2 Using the EM DP01 to connect an S7-200 SMART as a DP device .................................... 424
8.5.1.3 Configuring the EM DP01 ..................................................................................................... 426
8.5.1.4 Data consistency ................................................................................................................... 427
8.5.1.5 Supported configurations ...................................................................................................... 428
8.5.1.6 Installing the EM DP01 GSD file ........................................................................................... 429
8.5.1.7 Configuring the EM DP01 I/O ............................................................................................... 431

Table of Contents

Other manuals for Siemens SIMATIC S7

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Siemens SIMATIC S7 and is the answer not in the manual?

Siemens SIMATIC S7 Specifications

General IconGeneral
BrandSiemens
ModelSIMATIC S7
CategoryController
LanguageEnglish

Related product manuals