10.2.6
Calling Communication OBs
Proceed as follows:
1. Call the INITIALIZE function only in the cold restart
organization block OB 20 on one CPU.
2. Call the SEND, SEND TEST, RECEIVE, RECEIVE TEST
functions either only within the cyclic program or only within the
time-driven program.
Double call
Depending on the assignment of parameters in DX 0 ("interrupts at
operation boundaries"), and the type of program execution (WARM
RESTART, interrupt handling, e.g. OB 26 for cycle time error) it is
possible that one of the functions INITIALIZE, SEND, SEND TEST,
RECEIVE and RECEIVE TEST can be interrupted.
If a user interface inserted at the point of interruption also contains one
of the functions SEND, SEND TEST, RECEIVE and RECEIVE
TEST an illegal call (double call) is recognized and an error is
signalled (error number 67, Section 10.2.8).
Parallel processing
Once you have completed the assignment of the buffer (INITIALIZE
function), you can execute the functions SEND, SEND TEST,
RECEIVE and RECEIVE TEST in any combination and with any
parameter assignment in all the CPUs simultaneously and parallel to
each other.
Taking a single link (e.g. from CPU 2 to CPU 3) it is possible to
execute the SEND function (CPU 2) and the RECEIVE function
(CPU 3) simultaneously. While CPU 2 is sending data fields to the
coordinator, CPU 3 can already receive (fetch) buffered data fileds
from the coordinator.
Areas occupied
The communication OBs do not require a working area (for buffering
variables) and do not call data blocks. They do, of course, access areas
containing parameters, although only the parameters marked as output
parameters are modified.
Multiprocessor Communication
CPU 948 Programming Guide
10 - 22
C79000-G8576-C848-04
Содержание CPU 948
Страница 10: ...Contents CPU 948 Programming Guide 1 2 C79000 G8576 C848 04 ...
Страница 32: ...Contents CPU 948 Programming Guide 2 2 C79000 G8576 C848 04 ...
Страница 72: ...Data Blocks CPU 948 Programming Guide 2 42 C79000 G8576 C848 04 ...
Страница 74: ...Contents CPU 948 Programming Guide 3 2 C79000 G8576 C848 04 ...
Страница 154: ...Contents CPU 948 Programming Guide 4 2 C79000 G8576 C848 04 ...
Страница 200: ...Contents CPU 948 Programming Guide 5 2 C79000 G8576 C848 04 ...
Страница 308: ...Contents CPU 948 Programming Guide 7 2 C79000 G8576 C848 04 ...
Страница 324: ...Examples of Parameter Assignment CPU 948 Programming Guide 7 18 C79000 G8576 C848 04 ...
Страница 326: ...Contents CPU 948 Programming Guide 8 2 C79000 G8576 C848 04 ...
Страница 370: ...Addressable System Data Area CPU 948 Programming Guide 8 46 C79000 G8576 C848 04 ...
Страница 372: ...Contents CPU 948 Programming Guide 9 2 C79000 G8576 C848 04 ...
Страница 404: ...Operations with the Base Address Register BR Register CPU 948 Programming Guide 9 34 C79000 G8576 C848 04 ...
Страница 486: ...Contents CPU 948 Programming Guide 11 2 C79000 G8576 C848 04 ...
Страница 522: ...PG Functions via the S5 Bus CPU 948 Programming Guide 11 38 C79000 G8576 C848 04 ...
Страница 524: ...Contents CPU 948 Programming Guide 12 2 C79000 G8576 C848 04 ...
Страница 538: ...Contents CPU 948 Programming Guide 13 2 C79000 G8576 C848 04 ...
Страница 546: ...List of Key Words CPU 948 Programming Guide Index 6 C79000 G8576 C848 04 ...