Chapter 7 Integrated OBs, SFBs and SFCs
CPU ADAM 821x
7-44
ADAM 8000 Manual CPU 821x – Rev 1.1
SFC 238 - CTRL1
This block is identical to the CONTROL block SFC 233 except that the
indicator word is of the type Pointer and that it additionally includes the
parameter IND, reserved for further extensions.
The purpose of the CONTROL block is the following:
•
Update of the indicator word
•
Query if a certain order of the CP is currently active, e.g. request for a
receipt telegram
•
Query the CP which order is recently in commission.
The CONTROL block is not responsible for the handshake with the CP, it
just transfers the announcements in the order status to the parameterized
indicator word. The block is independent from the VKE and should be
called from the cyclic part of the application.
If ANR
≠
0, the indicator word is built up and handled equal to all other
handling blocks.
If the parameter ANR gets 0, the CONTROL command transmits the
content of the order state cell 0 to the LOW part of the indicator words
The order state cell 0 contains the number of the order that is in
commission, e.g. the order number of a telegram (set by the CP).
The parameter IND has no functionality at this time and is reserved for
further extensions.
The indicator word ANZW is of the type Pointer. This allows you to store
the indicator word in a data block.
Description
Parameter
ANR
IND
ANZW
11
x
21
x
51
x