10.7 RECEIVE Function (OB 204)
10.7.1
Function The RECEIVE function takes a data field from the buffer of the
COR 923C coordinator. It also indicates how many data fields are still
buffered and can still be received.
The RECEIVE function should be called in a loop until all the
buffered data fields have been received.
10.7.2
Call Parameters
Structure of the (parameter)
data field
Before calling OB 204, you must specify the input parameters in the
data field. OB 204 requires 10 F flag bytes in the data field for input
and output parameters:
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
ACCU-1-L
When calling OB 204, transfer the flag byte number at which the
parameter data field begins to ACCU-1-L:
ACCU-1-LH: 0
ACCU-1-LL: 0 to 246
10.7.3
Input Parameters
Transmitting CPU
The receive block receives data supplied by the transmitting CPU.
Specify the number of the transmitting CPU. The permitted value is
between 1 and 4, but must be different from the CPU’s own number.
RECEIVE Function (OB 204)
CPU 948 Programming Guide
C79000-G8576-C848-04
10 - 47