Attribute 'TcDisplayScale'

The pragma can be used to scale the value of a variable for the display.

Syntax: {attribute ‘TcDisplayScale‘ := '<Value>'}

The following values are valid for <Value>:

Insertion location: Line above the declaration line of a variable

Example:

PROGRAM MAIN
VAR
    {attribute 'TcDisplayScale' := '0-10'}
    nVar  AT %Q* : UINT;
END_VAR