Technical FAQs

Ask a Question

How to format the variable in the Vijeo Designer dynamic message?

Issue:
How change display format of the variable in Vijeo Designer dynamic message?

Product Line:
Dynamic content, formatting codes, 

Environment:


Cause:


Resolution:

Format Code

Description

<var:variableName,m.n>

Inserts the variable name. The following describes the components in the format code.

variableName

Indicates the variable name. Supports BOOL, Integer, String, and Float types. BOOL and Integer types will be formatted as decimal numbers.

m

Indicates the number of characters to fill for the variable value. The value will be displayed left justified.

n

Indicates the decimal digits, for Integer types.


For example, DINT01 = 5

<var:DINT01,06.0>
<var:DINT01,6.0>
<var:DINT01,04.1>
<var:DINT01,10.9>

Output:

000005
    5
000.5
0.000000005


 
Was this helpful?
What can we do to improve the information ?