CPU ADAM 821x
Chapter 7 Integrated OBs, SFBs and SFCs
ADAM 8000 Manual CPU 821x – Rev 1.1
7-37
SFC 231 - RECEIVE
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 can not 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
•
the FB VKE received "1"
•
the CP released the order (Bit "Handshake convenient" = 1).
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:
•
If the CP transmits a set of parameters although the RECEIVE block
itself got destination parameters, the parameter set of the block has the
priority above those of the CP.
•
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 necessary 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 integrate 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
Parameter
11
x
21
x
51
x