Quality Descriptors
- Last UpdatedAug 04, 2025
- 2 minute read
The IEC870IP driver uses the quality flags implemented by the IEC870-5-101 protocol to determine the quality of a value.
The quality descriptor word that defines these flags has bits defined as follows:
|
Bit number |
Description |
|---|---|
|
0 (least significant) |
For Single Points: For Double Points: For Counters: |
|
1 |
Transient for integer inputs For Double Points (if the StoreDigitalInQual parameter is 0 ): For Double Points (if the StoreDigitalInQual parameter is 1 ): |
|
2 |
For Double Points (if the StoreDigitalInQual parameter is 0): |
|
3 |
Blocked |
|
4 |
Substituted |
|
5 |
Not topical |
|
6 |
Invalid |
|
7 |
Counter adjusted since last reading |
|
8... 12 |
Counter Sequence number (number from 0 to 31) |
|
13 |
Quality Descriptor out of date |
|
14 |
Timestamp was provided by PC, not RTU |
|
15 (most significant) |
Timestamp from RTU has "invalid" set. |
Note: The StoreDigitalInQual parameter can be used to allow the state of a point to be stored within a quality descriptor. However, this will impact the way double point digital values are read by the IEC870IP driver. See Data Interrogation Parameters for more information.
Once a quality flag is received by the driver, it is mapped to an OPC-based quality value that is presented in the Plant SCADA project.