Siemens SIMATIC S5-115U User Manual page 436

Simatic s5 series cpu 941-7ub11 cpu 942-7ub11 cpu 943-7ub11 and cpu 943-7ub21 cpu 944-7ub11 and cpu 944-7ub21
Table of Contents

Advertisement

Communications Capabilities
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
DW 1 :
KH=534B
DW 2 :
KH=3031
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
KH
=
CA00
KH
=
EEEE
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 =
1
:
KH =
2
:
KH =
DW 3
:
KH =
4
:
KF
5
:
KF
6
:
KF
DW 7
:
KH =
8
:
KF
9
:
KF
DW 10
:
KH =
12-2
or
KS=MA
or
KS=SK
or
KS=01
for
interprocessor communication input flags
for
interprocessor communication output flags
for
end
4D41
534B
Header ID
3031
(SCREEN 01)
CE00
=
+10
Interprocessor communication input
=
+20
input flags
=
+30
CA00
=
+11
Interprocessor communication
=
+22
output flags
EEEE
End ID
S5-115U Manual
EWA 4NEB 811 6130-02b

Advertisement

Table of Contents
loading

Table of Contents