QualityIsBad
This function will return a value indicating whether the general part of quality is bad.
Syntax
QualityIsBad(QUALITY quality)
quality:
Specifies the QUALITY variable.
Return Value
0: the quality is not bad.
1: the quality is bad.
Related Functions
QualityGetPart, QualityIsContolInhibit, QualityIsGood, QualityIsOverride, QualityIsUncertain, QualitySetPart, QualityToStr, QualityCreate
Example
INT bad; bad = QualityIsBad(Tag1.Field.Q);
See Also