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

Page 96

Advertising
background image

L-force | PLC Designer

Concepts and Base Components

94

DMS 4.1 EN 03/2011 TD29

Text List types
There are two types of text usable in visualization elements and correspondingly there
are two types of lists:
1. GlobalTextList for static texts:
Static
texts in a visualization in contrast to dynamic texts cannot be exchanged by a
variable in online mode
. Just the language version will be adapted in case it gets
changed by a "Change the language" input on any visualization element. A static text
is assigned to a visualization element via property 'Text' or 'Tooltip' in category 'Texts'.
As soon as the first static text is defined in a project, a text list object named
"GlobalTextList" gets added automatically to the POUs window. It primarily will
contain the defined text string in column "Default" and an automatically assigned
integer number as text identifier. Further static texts will be added as soon as they are
defined in the Properties of a visualization element. The identifier number each will be
counted up.
If a static text is inserted into a visualization element (for example if in a rectangle in
property category „Texts“, property „Text“ the string „Example“ is specified), this text
will be looked up for in the GlobalTextList.
• If the text is found, (for example ID „4711“, Text „Example“), in the element the

value 4711 of „TextId“ will be assigned to an internal variable. This is how a
relation between the element and the corresponding line in the GlobalTextList is
created.

• Otherwise, a new line will be inserted in the GlobalTextList (for example ID „4712“,

Text „Examplel“). In the element now the value 4712 will be assigned to the
internal variable.

This means that each modification of a static text within the visualization may
provoke a modification in the GlobalTextList as well.
Notice that - if not yet existing - a global text list also can be created explicitly by
command Create Global Text List.

Advertising