Siemens CPU 948 Programming Manual page 411

Simatic s5 s5-155u
Table of Contents

Advertisement

Data exchange between
CPUs and communication
processors
Example
CPU 1
IPC output flags:
CP 1: FY 96 to FY 119
CP 2: FY 201 to FY 205
IPC input flags:
CP 1: FY 120 to FY 125
CP 2: FY 195 to FY 200
Fig. 10-2
Example of IPC flag areas on the CPs
CPU 948 Programming Guide
C79000-G8576-C848-04
If you want to exchange data between one CPU and one CP, you must
enable the necessary number of IPC flags on the CP. You have 256
bytes available that you can divide into groups of 32 bytes.
If you want to transfer data from one CPU to several CPs, the areas you
enable in the CPs and the coordinator must not overlap, otherwise the
same address is assigned twice.
If you want to use IPC flags simultaneously on the coordinator and in
one or more CPs, you must also prevent double addressing as follows:
Divide the IPC flags among the coordinator and the CPs in groups of
32 bytes. Remove jumpers on the coordinator to mask the IPC flag
bytes that you want to use in the CP (refer to the system manual).
You can define a specific flag byte as an IPC output flag in one CPU
only. However, you can define a specific flag byte as in IPC input flag in
several CPUs.
CP 1
CP 2
CP 1
CP 2
Multiprocessor Mode
CP 1
Enabled area:
IPC flag bytes
FY 96 to FY 127
CP 2
Enabled area:
IPC flag bytes
FY 192 to FY 223
10 - 7

Advertisement

Table of Contents
loading

Table of Contents