Translates a historic data log reason to a string.
Informal Syntax:
LOG_REASON_TO_STRING( In )
Formal Syntax:
LOG_REASON_TO_STRING( In:=expression )
Parameter | Type | Description |
---|---|---|
In | ANY_INT | The log reason to convert to a string. |
The function LOG_REASON_TO_STRING returns a STRING value representing the text translation of the change reason.
Example | Return Value |
---|---|
LOG_REASON_TO_STRING( 1 ) | STRING'Start recording' |
LOG_REASON_TO_STRING( 2 ) | STRING'Stop recording' |
LOG_REASON_TO_STRING( 4 ) | STRING'Value change' |
The function LOG_REASON_TO_STRING is an extension to the IEC 61131-3 standard.
To learn about other Conversion Functions.
To learn about string literals and the different types of encoding used.
To learn about other IEC 61131-3 Common Elements.
For the meaning of terms used in Fernhill SCADA.