
Call parameters
For all communication OBs the number of the first flag byte in the
data field (= pointer to data field) in ACCU-1-L is transferred as the
call parameter. Permitted values are 0 to 246.
Example
10.2.8
How to Evaluate the
Output Parameters
Among other things, the output parameters indicate whether or not a
function could be executed and if not they indicate the reason for the
termination of the function.
Condition codes
The INITIALIZE, SEND, SEND TEST, RECEIVE and RECEIVE
TEST functions affect the condition codes (see programming
instructions for your CPUs, general notes on the STEP 5 operations):
••
the OV and OS bits (word condition codes) are always cleared,
••
the OR, STA, ERAB bits (bit condition codes) are always cleared,
••
RLO, CC 1 and CC 0 indicate whether a function has been executed
correctly and completely.
Data field with parameters for the RECEIVE function
(OB 204)
FY x + 0:
transmitting CPU
input parameter
FY x + 1:
—
not used
FY x + 2:
condition code byte
output parameter
FY x + 3:
receiving capacity
output parameter
FY x + 4:
block ID
output parameter
FY x + 5:
block number
output parameter
FY x + 6:
address of the first
output parameter
FY x + 7:
received data word
output parameter
FY x + 8:
address of the last
output parameter
FY x + 9:
received data word
output parameter
This example illustrates that the number of the first F flag byte in the
data field must not be higher than FY 246, since otherwise the parameter
field of up to 10 bytes would exceed the limits of the flag area (FY 255).
Multiprocessor Communication
CPU 948 Programming Guide
10 - 24
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 ...