Chapter 7 Integrated OBs, SFBs and SFCs
CPU ADAM 821x
7-30
ADAM 8000 Manual CPU 821x – Rev 1.1
Here you may check if the data transfer is still running or if the data fetch
res. transmission is already finished. By means of the bit "Enable/Disable"
you may block the data transfer for this order (Disable=1; Enable=0).
Data fetch / Data transmission is active
Set:
Per handling block SEND or RECEIVE, if the
fetch/transmission has been started, e.g. when data is
transferred with the ALL-function (DMA-replacement), but
the impulse came per SEND-DIRECT.
Delete:
Per handling blocks SEND or RECEIVE, if the data
transfer of an order is finished (last data block has been
transferred).
Analyze:
Per user: During the data transfer CP << >>AG the user
must not change the record set of an order. This is
uncritical with PRIO 0/1 orders, because here the data
transfer is realizable in one block cycle. Larger data
amounts however are transferred in blocks during more
AG cycles. To ensure data consistency you should proof
that the data block isn’t in transfer any more before you
change the content!
Data transmission is active
Set:
Per handling block SEND, when the data transition for an
order is ready.
Delete:
Per handling block SEND, when the data transfer for a
new order has been started (new trigger).
Per user: When analysis is ready (flank creation).
Analyze:
Per user: Here you may ascertain, if the record set of an
order has already been transferred to the CP res. at which
time a new record set concerning a running order (e.g.
cyclic transition) may be started.
Data fetch active
Set:
Per RECEIVE, when data fetch for a new order has been
finished.
Delete:
Per RECEIVE, when data transfer to AG for a new order
(new trigger) has been started. Per user, when analyzing
(edge creation).
Analyze:
Per user: Here you may ascertain, if the record set of an
order has already been transferred to the CP res. at what
time a new record set for the current order has been
transferred to the AG.
Data management
Byte 0,
Bit 4 to Bit 7
Bit 4
BIT 5
Bit 6