16.1.4 SFC 231 - RECEIVE - Receive from page frame
The RECEIVE block receives data from a CP. Normally the RECEIVE block is called in
the cyclic part of the user application program. Although the insertion of this block into the
interrupt or the waking program part is possible, the indicator word cannot be updated
cyclically. This should be taken over by a CONTROL block.
The handshake with the CP (order initialization) and for activating a RECEIVE block is
only started, if
n the FB RLO received "1".
n the CP released the order (Bit "Handshake convenient" = 1).
Parameters
Name Declaration Type Description
SSNR IN INT Interface number
ANR IN INT Job number
IND IN INT Mode of addressing
ZANF IN ANY Pointer to data destination
PAFE OUT BYTE Parameterization error
ANZW IN_OUT DWORD Indicator word
If the block runs in stand-by only the indicator word is updated. The RECEIVE block
reacts different depending from the kind of supply and the CP reaction:
n If the CP transmits a set of parameters although the RECEIVE block itself got desti-
nation parameters, the parameter set of the block has the priority above those of the
CP.
n Large amounts of data can only be transmitted in blocks. Therefore you have to
transmit the assigned serial blocks by means of RECEIVE_ALL to the CPU. It is nec-
essary that the block RECEIVE_ALL is called minimum one time per application cycle
and CP interface, if you want to transmit larger data amounts. You also have to inte-
grate the RECEIVE_ALL cyclically, if the CP only uses the RECEIVE for releasing a
receipt telegram and the data is transmitted via the background communication of the
CPU.
Description
VIPA SPEED7
System Blocks
Fetch/Write Communication > SFC 231 - RECEIVE - Receive from page frame
HB00 | OPL_SP7 | Operation list | en | 18-30 898