Translates a quality value into its string equivalent.
Informal Syntax:
QUALITY_TO_STRING( InValue )
Formal Syntax:
QUALITY_TO_STRING( In:=InValue )
Parameter | Type | Description |
---|---|---|
In | ANY_INT | The input quality value. |
The function QUALITY_TO_STRING returns a STRING value representing the text translation of the quality value.
Example | Return Value |
---|---|
QUALITY_TO_STRING( 0 ) | STRING'Bad' |
QUALITY_TO_STRING( 192 ) | STRING'Good' |
The function QUALITY_TO_STRING is an extension to the IEC 61131-3 standard.
To learn about other String Functions.
To learn about string literals and the different types of encoding used.
To learn about other IEC 61131-3 Common Elements.
For definitions of the terms used in Fernhill SCADA.