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
Содержание SIMATIC S7-200
Страница 30: ...Product overview 1 7 Programming software S7 200 SMART 30 System Manual V2 3 07 2017 A5E03822230 AF ...
Страница 267: ...Program instructions 7 6 Counters S7 200 SMART System Manual V2 3 07 2017 A5E03822230 AF 267 HSC modes 3 and 4 ...
Страница 394: ...Program instructions 7 18 Subroutine S7 200 SMART 394 System Manual V2 3 07 2017 A5E03822230 AF ...
Страница 425: ...Communication 8 5 PROFIBUS S7 200 SMART System Manual V2 3 07 2017 A5E03822230 AF 425 ...
Страница 786: ...Technical specifications A 11 S7 200 SMART cables S7 200 SMART 786 System Manual V2 3 07 2017 A5E03822230 AF ...
Страница 798: ...Error codes C 4 PLC fatal error codes S7 200 SMART 798 System Manual V2 3 07 2017 A5E03822230 AF ...
Страница 848: ...Ordering information F 6 Human Machine Interface devices S7 200 SMART 848 System Manual V2 3 07 2017 A5E03822230 AF ...