
Communication
8.5 PROFIBUS
S7-200 SMART
System Manual, V2.3, 07/2017, A5E03822230-AF
445
Table 8- 12 Example: Configuring DP communications to an S7-200 SMART CPU
LAD/FBD
Description
STL
Network 1:
Calculate the Output
data pointer. If in data
exchange mode:
1.
Output buffer is an
offset from VB0.
2.
Convert V memory
offset to double in-
teger.
3.
Add to VB0 ad-
dress to get output
data pointer.
LDB= SMB224, 2
MOVD &VB0, VD1000
ITD SMW226, AC0
+D AC0, VD1000
Network 2:
Calculate the Input
data pointer. If in data
exchange mode:
1.
Copy the output
data pointer.
2.
Get the number of
output bytes.
3.
Add to output data
pointer to get start-
ing input data
pointer.
LDB= SMB224, 2
MOVD VD1000,
VD1004
BTI SMB228, AC0
ITD AC0, AC0
+D AC0, VD1004
Содержание 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 ...