Siemens SIMATIC S7 System Manual page 9

Hide thumbs Also See for SIMATIC S7:
Table of Contents

Advertisement

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
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
S7-200 SMART
System Manual, V2.3, 07/2017, A5E03822230-AF
Table of contents
9

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Simatic s7-200 smart

Table of Contents