Communications Capabilities
S5-115U Manual
Note
If you are using interprocessor communication flags and you use DB1 as parameter DB
for internal functions (see Chapter 11), then proceed as follows:
Overall
reset
Transfer integrated DB1 to the programmer
Insert interprocessor communication flag agreements (as described below)
before
the DB1 parameters awaiting interpretation (see Chapter 11)
Modify and expand the other DB1 parameters (see Chapter 11)
Transfer the modified and expanded DB1 parameters to the PLC
The first three data words form the header ID. Always program them as follows:
DW 0 :
KH=4D41
or
KS=MA
DW 1 :
KH=534B
or
KS=SK
DW 2 :
KH=3031
or
KS=01
After specifying an ID for the operand area, enter the numbers of all flag bytes used. Conclude
the interprocessor communication flag list with an end ID. The IDs are as follows:
KH
=
CE00
for
interprocessor communication input flags
KH
=
CA00
for
interprocessor communication output flags
KH
=
EEEE
for
end
You can use a total of 256 bytes as interprocessor communication flags. Number the bytes in
relation to the start address of the interprocessor communication flag area (FB0 to FB255). The
end identifier can be followed by the DB1 section in which internal functions are initialized (see
Chapter 11).
Example:
Define flags bytes FB10, FB20, and FB30 as interprocessor communication input flags. Define flag
bytes FB11 and FB22 as interprocessor communication output flags.
Assign DB1 as follows:
DW 0
:
KH
=
4D41
1
:
KH
=
534B
Header ID
2
:
KH
=
3031
(SCREEN 01)
DW 3
:
KH
=
CE00
4
:
KF
=
+10
Interprocessor communication input
5
:
KF
=
+20
input flags
6
:
KF
=
+30
DW 7
:
KH
=
CA00
8
:
KF
=
+11
Interprocessor communication
9
:
KF
=
+22
output flags
DW 10
:
KH
=
EEEE
End ID
12-2
EWA 4NEB 811 6130-02b
Summary of Contents for SIMATIC S5-115U
Page 6: ...EWA 4NEB 811 6130 02b ...
Page 16: ...EWA 4NEB 811 6130 02b ...
Page 18: ...EWA 4NEB 811 6130 02b ...
Page 26: ......
Page 62: ...EWA 4NEB 811 6130 02b ...
Page 64: ...EWA 4NEB 811 6130 02b ...
Page 67: ......
Page 74: ......
Page 79: ......
Page 80: ......
Page 81: ......
Page 82: ......
Page 83: ......
Page 84: ......
Page 97: ......
Page 98: ......
Page 99: ......
Page 114: ...EWA 4NEB 811 6130 02b ...
Page 280: ...EWA 4NEB 811 6130 02b ...
Page 372: ...EWA 4NEB 811 6130 02b ...
Page 432: ...EWA 4NEB 811 6130 02b ...
Page 442: ......
Page 528: ...EWA 4NEB 811 6130 02b ...
Page 590: ......
Page 591: ......
Page 592: ......
Page 593: ......
Page 594: ......
Page 600: ...EWA 4NEB 811 6130 02b ...
Page 602: ...EWA 4NEB 811 6130 02b ...
Page 604: ...EWA 4NEB 811 6130 02b ...
Page 624: ...EWA 4NEB 811 6130 02b ...
Page 632: ...EWA 4NEB 811 6130 02b ...
Page 644: ...EWA 4NEB 811 6130 02b ...
Page 646: ...EWA 4NEB 811 6130 02b ...
Page 652: ...EWA 4NEB 811 6130 02b ...
Page 654: ...EWA 4NEB 811 6130 02b ...
Page 660: ...EWA 4NEB 811 6130 02b ...
Page 662: ...EWA 4NEB 811 6130 02b ...
Page 666: ...EWA 4NEB 811 6130 02b ...
Page 668: ...EWA 4NEB 811 6130 02b ...
Page 674: ...EWA 4NEB 811 6130 02b ...