Program structure
During restart, one of the CPUs calls the INITIALIZE function (OB
200) to reserve exactly the same number of coordinator memory fields
per link as data fields to be transmitted on this link.
To send and receive data word areas, each CPU uses two function
blocks:
FB no.
Name
Function
FB 100
FB 101
SEND-DAT
RECV-DAT
Send data word areas
to the other CPUs
Receive data word areas
from the other CPUs
These FB numbers have been selected at random and you can use
others.
The function blocks SEND-DAT and RECV-DAT read the link list to
determine which data word areas are to be sent from or received by which
data blocks. The whole data word area is always sent or received. If this
is not possible owing to insufficient transmitting or receiving capacity, the
send or receive function is not executed.
Note
This example (IPC flag extension using function blocks
SEND-DAT and RECV-DAT) can only run correctly when the
special function organization blocks for multiprocessor
communication OB 202 to OB 205 are not called in any of the
CPUs.
The function blocks SEND-DAT and RECV-DAT contain the
special function organization blocks for multiprocessor
communication OB 202 to OB 205. You cannot call these
organization blocks outside SEND-DAT/RECV-DAT.
Applications
CPU 948 Programming Guide
10 - 70
C79000-G8576-C848-04
Summary of Contents for CPU 948
Page 10: ...Contents CPU 948 Programming Guide 1 2 C79000 G8576 C848 04 ...
Page 32: ...Contents CPU 948 Programming Guide 2 2 C79000 G8576 C848 04 ...
Page 72: ...Data Blocks CPU 948 Programming Guide 2 42 C79000 G8576 C848 04 ...
Page 74: ...Contents CPU 948 Programming Guide 3 2 C79000 G8576 C848 04 ...
Page 154: ...Contents CPU 948 Programming Guide 4 2 C79000 G8576 C848 04 ...
Page 200: ...Contents CPU 948 Programming Guide 5 2 C79000 G8576 C848 04 ...
Page 308: ...Contents CPU 948 Programming Guide 7 2 C79000 G8576 C848 04 ...
Page 324: ...Examples of Parameter Assignment CPU 948 Programming Guide 7 18 C79000 G8576 C848 04 ...
Page 326: ...Contents CPU 948 Programming Guide 8 2 C79000 G8576 C848 04 ...
Page 370: ...Addressable System Data Area CPU 948 Programming Guide 8 46 C79000 G8576 C848 04 ...
Page 372: ...Contents CPU 948 Programming Guide 9 2 C79000 G8576 C848 04 ...
Page 486: ...Contents CPU 948 Programming Guide 11 2 C79000 G8576 C848 04 ...
Page 522: ...PG Functions via the S5 Bus CPU 948 Programming Guide 11 38 C79000 G8576 C848 04 ...
Page 524: ...Contents CPU 948 Programming Guide 12 2 C79000 G8576 C848 04 ...
Page 538: ...Contents CPU 948 Programming Guide 13 2 C79000 G8576 C848 04 ...
Page 546: ...List of Key Words CPU 948 Programming Guide Index 6 C79000 G8576 C848 04 ...