Communications Capabilities
Signal Exchange with Several CPs
If one CPU addresses several CPs, one or more interprocessor communication flag areas must be
enabled on each CP. When setting the jumpers on the CPs, please note the following points:
•
The areas on the individual CPs must not overlap (to prevent duplicate address assignment).
•
The areas on the individual CPs do not have to be assigned consecutively (see Figure 12-1).
CPU
Interprocessor
Communication Flag
Area
FB0
F200
H
FB1
Interprocessor
communication
output flags
Interprocessor
communication
input flags
FB255
F2FF
H
indicates the interprocessor communication flag areas used
Figure 12-1. Interprocessor Communication Flag Areas when Several CPs Are Used
Define the interprocessor communication flag bytes in data block DB1 as described above.
Example:
Use one CPU to address two CPs. Table12-1 shows the flag bytes needed and possible numbering.
Table 12-1. Definition of Interprocessor Communication Flags when Two CPs Are Used
Number of
Control Bytes
CPs
(Outputs)
CP 1
8
CP 2
6
12-6
CP 1
Interprocessor
Communication Flag
Area
Byte 0
Byte 32
Byte 255
CP
Number of
Flag Areas Set
Scan Bytes
(Inputs)
Bytes
4
128 to 159
Bytes
10
160 to 191
S5-115U Manual
CP 2
Interprocessor
Communication Flag
Area
Byte 0
Byte 32
Byte 255
CPU Interpro-
CPU Interpro-
cessor Com-
cessor Com-
munication
munication
Output Flags
Input Flags
FB
FB
128 to 135
156 to 159
FB
FB
170 to 175
160 to 169
EWA 4NEB 811 6130-02b