Chapter 7 Integrated OBs, SFBs and SFCs
CPU ADAM 821x
7-42
ADAM 8000 Manual CPU 821x – Rev 1.1
SFC 236 - SEND_ALL
Via the SEND_ALL block, the data is transmitted from the CPU to the CP
by using the declared block size.
Location and size of the data area that is to transmit with SEND_ALL, must
be declared before by calling SEND res. FETCH.
In the indicator word that is assigned to the concerned order, the bit
"ENABLE/DISABLE" is set, "Data transmission starts" and "Data
transmission running" is calculated or altered.
In the indicator word of the block, the indicator word, that is parameterized
in the SEND_ALL block, the current order number is stored (0 means
stand-by).
The amount of the transmitted data for one order is shown in the data word
of SEND_ALL which follows the indicator word.
Note!
In the following cases, the SEND_ALL command has to be called for
minimum one time per cycle of the block OB1:
•
if the CP is able to request data from the CPU independently
•
if a CP order is initialized via SEND, but the CP still has to request the
background communication data of the CPU for this order.
•
if the amount of data, that should be transmitted by this SEND to the CP,
is higher than the declared block size.
Description
Parameter
ANZW
11
x
21
x
51
x