Sfc 236 - Send_All - Adam 821x Manual

Table of Contents

Advertisement

Chapter 7 Integrated OBs, SFBs and SFCs

SFC 236 - SEND_ALL

Description
Parameter
ANZW
7-42
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.
ADAM 8000 Manual CPU 821x – Rev 1.1
CPU ADAM 821x
11
21
51
x
x
x

Advertisement

Table of Contents
loading

Table of Contents