QUALITY_TO_STRING

Introduction

Translates a quality value into its string equivalent.

Informal Syntax:

QUALITY_TO_STRING( In )

Formal Syntax:

QUALITY_TO_STRING( In:=expression )

Parameters

ParameterTypeDescription
InANY_INTThe input quality value.

Return value

The function QUALITY_TO_STRING returns a STRING value representing the text translation of the quality value.

Examples

ExampleReturn Value
QUALITY_TO_STRING( 0 )STRING'Bad'
QUALITY_TO_STRING( 192 )STRING'Good'

Standards Compliance

The function QUALITY_TO_STRING is an extension to the IEC 61131-3 standard.

Further Information

String Functions

To learn about other String Functions.

String Literals

To learn about string literals and the different types of encoding used.

Common Elements

To learn about other IEC 61131-3 Common Elements.

Glossary

For the meaning of terms used in Fernhill SCADA.