2 formatted text display, Formatted text display, Drive plc developer studio – Lenze DDS v2.3 User Manual

Page 248: Visualization

Advertising
background image

Drive PLC Developer Studio

Visualization

9-14

l

DDS EN 2.3

9.3.2

Formatted text display

The following tables provide a general formatted text display.

Char format

Element

Meaning

%

Formatted text display starts with %. If the character is to be included in the display for specific reasons, the first characters
must be %%.

-

Display is left-aligned.

b

Display field minimum width

c

For Char variables

String format

Element

Meaning

%

Formatted text display starts with %. If the character is to be included in the display for specific reasons, the first characters
must be %%.

-

Display is left-aligned.

b

Display field minimum width

.n

Width of the field section written by the string

s

For Char arrays

Integer format

Element

Meaning

%

Formatted text display starts with %. If the character is to be included in the display for specific reasons, the first characters
must be %%.

-

Display is left-aligned.

+

Positive polarity

b

Display field minimum width

.n

Minimum number of display digits

Only one of the characters listed below appears at the end of the formatted text
d

For Int variables

ld

For long Int variables

Format for polarity-free integers

Element

Meaning

%

Formatted text display starts with %. If the character is to be included in the display for specific reasons, the first characters
must be %%.

-

Display is left-aligned.

#

Leading zero for hexadecimal and octal representation

b

Display field minimum width

.n

Minimum number of display digits

Only one of the characters listed below appears at the end of the formatted text
d

Number in decimal 0-9

x

Number in hexadecimal 0-9 and a-f

X

Number in hexadecimal 0-9 and A-F

o

Octal 0-7 for polarity-free variables

Show/Hide Bookmarks

Advertising