<9. Advanced Engineering >
In the figure below, the value of device label variable AI001 of the NPAS_PVI loop
and the value of the variable for reading and writing access parameters,
NPAS_PVI_1_PRM, are displayed in the Watch window.
In the Watch window, Status of AI001, Alarm of NPAS_PVI_1 and Status of PV value
of NPAS_PVI_1, which are enclosed within red boxes, are displayed with the
following values:
- Status of AI001 : 16#8060
- Alarm of NPAS_PVI_1 : 16#00200000
- Status of PV value of NPAS_PVI_1 : 16#00008000
Each of these values can be converted to bit data by entering the value into the
input box under “■ Data Conversion” of the bit data conversion utility as shown
below. As the input box accepts DWORD data type, the input value for WORD-type
status of AI001 must be prefixed with “0000”.
The figure below shows the display after the value 16#8060 is entered for the status
of AI001.
The figure shows that bits 15, 6 and 5 are set to 1. From the DataStatus row, which
displays the meaning of each bit, we can see that the BAD, IOCN and CERR
condition bits are set for status of AI001. Online help information on these conditions
can be displayed by clicking on DataStatus displayed in the leftmost column.
Using the same procedure, we know that value 16#00200000 for the alarm of
NPAS_PVI_1 indicates an IOP+ alarm, and value 16#00008000 for the status of the
PV value indicates a BAD condition.