.Quality Dotfield
- Last UpdatedNov 07, 2016
- 1 minute read
The .Quality dotfield shows a numerical assessment of the quality of data provided by an I/O Server.
Category
Tag
Usage
Tag.Quality
Parameter
Tag
Any discrete, integer, real, indirect analog, or message tag type.
Data Type
Integer (read-only).
Valid Values
Values can range from 0-255.
See Also
.QualityLimit, .QualityStatus, .QualitySubstatus
Example
IF I0Tag.Quality <> 192 THEN
LogMessage("This data is not Good, assuming high-byte of 2-byte quality is zero");
LogMessage("Better to check .QualityStatus to avoid this assumption");
ENDIF;