L-force | plc designer – Lenze PLC Designer PLC Designer (R3-1) User Manual

Page 816

Advertising
background image

L-force | PLC Designer

General Editors

814

DMS 4.1 EN 03/2011 TD29

Dynamic texts (TestList, TextIndex, TootipIndex)

These parameters serve for a dynamic text definitions basing on textlists (allows
language switching!).
For another dynamic text definition, by providing the text via a string variable, see
category 'Text variables'.
For static text definitions see category 'Texts'.

TextList

Name of the textlist object (string) as used in the
POUs or devices view; for example " 'errorlist' "

R,rR,E,P,L,pL,C,F,Bu,Im Te,Sc

TextIndex

Index of the text as defined in the textlist (string);
enter the ID directly, for example 'M1' or a string
variable; for example "error_22".

R,rR,E,P,L,pL,C,F,Bu,Im Te,Sc

TooltipIndex

Index of the text as defined in the textlist (string);
enter the ID directly, for example 'M1' or a string
variable; for example "error_22_tooltip".

R,rR,E,P,L,pL,C,F,Bu,Im Te,Sc

Font variables (Fontname, Height, Flags, CharSet, Color)

These are dynamic definitions for the elements' text font via a project variable.
For a static definition see category 'Texts'.

Fontname

enter a variable of type STRING providing the name
of the font to be used for the elements' text; (as
used in the standard dialog for defining the font);
for example "plc_prg.font_var" (font_var:='Arial';)

R,rR,E,P,L,pL,C,F,Bu,
Im

Ta,Te,Sc

Height

enter a variable of type INT providing the height of
the elements' text in pixels; (as used in the standard
dialog for defining the font);
for example" prog1.font_height" (font_height:=16;)

R,rR,E,P,L,pL,C,F,Bu,
Im

Ta,Te,Sc

Flags

enter a variable of type DWORD defining the font
display by one of the flags listed below. A combined
definition can be reached by addition of the flag
numbers:
1 italic
2 bold
4 underlined
8 canceled
for example "prog2.font_type" (if font_type:=6, the
text will be displayed bold and underlined)

R,rR,E,P,L,pL,C,F,Bu,
Im

Ta,Te,Sc

CharSet

The character set for the font to be used can be
specified by the standard character set number.
Enter an variable of type DWORD providing this
number (see also the "skript" selection in the default
font selection dialog)

R,rR,E,P,L,pL,C,F,Bu,
Im

Ta,Te,Sc

Color

Enter a DWORD variable specifying the color for the
elements' text.

R,rR,E,P,L,pL,C,F,Bu,
Im

Ta,Te,Sc

Advertising