10.2.5
System Start-Up
If you require multiprocessor communication, then all CPUs involved
must go through the same STOP-RUN transition (= RESTART), i.e.
all the CPUs go through a COLD RESTART or all CPUs go through a
WARM RESTART.
You must make sure that the restart of at least all the CPUs involved
in the communication is uniform (see Section 10.1.7), in the
following ways:
••
direct operation (front switch, programmer),
••
parameter assignment (DX 0)
and/or
••
programming (using the special function organization block OB 223
"stop if non-uniform restarts occur in the multiprocessor mode")
COLD RESTART
In organization block OB 20 (COLD RESTART) only one CPU must
set up the buffer (in the COR 923C) using the INITIALIZE function.
Any existing data is lost.
Following this, i.e. during the RESTART, you can call the SEND,
SEND TEST, RECEIVE, RECEIVE TEST functions in the individual
CPUs. With appropriate programming, you must make sure that this
only occurs after the buffer in the coordinator has been correctly
initialized.
On completion of the RESTART, i.e. in the RUN mode, the user
program is processed from the beginning, i.e. from the first operation
in OB 1.
WARM RESTART
You must not use the INITIALIZE function in the organization blocks
OB 21 (MANUAL WARM RESTART) and OB 22 (AUTOMATIC
WARM RESTART). Calling the SEND, SEND TEST, RECEIVE,
RECEIVE TEST functions can cause problems (refer to the following
sections).
On completion of the WARM RESTART, i.e. in the RUN mode, the
user program is not processed from the start, but from the point at
which it was interrupted. The point of interruption can, for example,
be within the SEND function.
Multiprocessor Communication
CPU 948 Programming Guide
C79000-G8576-C848-04
10 - 21
Содержание 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 ...