Quality data format
- Last UpdatedJul 17, 2024
- 1 minute read
An I/O Server can report six mutually exclusive states of data quality sent to clients by assigning values to a set of InTouch .Quality dotfields. The low eight bits (Least Significant Byte) of the Quality dotfields are currently defined in the form of three bit fields; Quality (Q), Substatus (S), and Limit (L) with the following format: QQSSSSLL. When the client application cannot communicate with the server, the .Quality dotfield’s value is 0.
The data quality states reported by an I/O Server with .Quality dotfields are shown in the following table:
|
Quality States |
Decimal Value |
Hex Value |
MS Byte XXXXXXXX |
LS Byte QQSSSSLL |
Quality |
Quality Sub Status |
Limit |
|
Good |
192 |
0x00C0 |
00000000 |
11000000 |
Q=3 |
S=0 |
L=0 |
|
Clamped High (Out of Range) |
86 |
0x0056 |
00000000 |
01010110 |
Q=1 |
S=5 |
L=2 |
|
Clamped Low (Out of Range) |
85 |
0x0055 |
00000000 |
01010101 |
Q=1 |
S=5 |
L=1 |
|
Cannot Convert |
64 |
0x0040 |
00000000 |
01000000 |
Q=1 |
S=0 |
L=0 |
|
Communications Failed |
24 |
0x0018 |
00000000 |
00011000 |
Q=0 |
S=6 |
L=0 |
|
Cannot Access Point |
4 |
0x0004 |
00000000 |
00000100 |
Q=0 |
S=1 |
L=0 |