Chapter 7 Integrated OBs, SFBs and SFCs
CPU ADAM 821x
7-36
ADAM 8000 Manual CPU 821x – Rev 1.1
SFC 230 - SEND
The SEND block initializes a send order to a CP.
Normally SEND is called in the cyclic part of the user application program.
Although the insertion of this block into the interrupt or the time-alarm
program part is possible, the indicator word (ANZW), however, may not be
updated cyclically. This should be taken over by a CONTROL block.
The connection initialization with the CP for data transmission and for
activating a SEND impulse is only started, if:
•
the FB VKE received "1"
•
the CP released the order. (Bit "order active" in ANZW =0).
During block stand-by, only the indicator word is updated.
If the CP is able to take over the data directly, the SEND block transfers the
requested data in one session. If the CP requests only the order
parameters or the amount of the depending data is too large, the CP only
gets the sending parameters res. the parameter with the first data block.
The according data res. the assigned serials blocks for this order are
requested from the CP by SEND_ALL to the CPU. Herefor it is necessary
that the block SEND_ALL is called minimum one time per cycle.
The user interface is for all initialization types equal, only the transfer time
of the data is postponed for minimum one CPU cycle.
Description
Parameter
SEND_ALL for
data transmission
11
x
21
x
51
x