Chapter 7 Integrated OBs, SFBs and SFCs
CPU ADAM 821x
7-28
ADAM 8000 Manual CPU 821x – Rev 1.1
Page frame communication - Indicator word ANZW
Status and error reports are created by the handling blocks:
•
by the indicator word ANZW (information at order commissioning),
•
by the parameter error byte PAFE (indication of a wrong order para-
meterization).
The "Indicator word" shows the status of a certain order on a CP.
In your PLC program you should keep one indicator word for each defined
order at hand.
The indicator word has the following structure:
Byte
Bit 7 ... Bit 0
0
State management CPU
Bit 0: Handshake convenient (data exists)
=0: RECEIVE blocked
=1: RECEIVE released
Bit 1: order commissioning is running
=0: SEND/FETCH released
=1: SEND/FETCH blocked
Bit 2: Order ready without errors
Bit 3: Order ready with errors
Data management handling block
Bit 4: Data receive/send is running
Bit 5: Data transmission active
Bit 6: Data fetch active
Bit 7: Disable/Enable data block
=0: released
=1: blocked
1
Bit 0 ... Bit 3: Error management CPU
=0: no error
=1...5: CPU-Error
=6...15: CP-Error
Bit 4 ... Bit 7: reserved
2 ... 3 Length word handling block
In the „length word“ the handling blocks (SEND, RECEIVE) store the data
that has already been transferred, i.e. received data in case of a RECEIVE
order, send data when there is a SEND order.
The announcement in the length word is always in byte and absolute.
Status and error
reports
Content and
structure of the
indicator word
ANZW
11
x
21
x
51
x