Text and language in visualization, L-force | plc designer – Lenze PLC Designer PLC Designer (R3-1) User Manual

Page 175

Advertising
background image

L-force | PLC Designer

Visualization

DMS 4.1 EN 03/2011 TD29

173

8.9

Text and Language in Visualization
Text can be assigned to a visualization element by appropriate definitions in the
Properties window or directly ("inline") in the editor window. For the latter a text input
field can be opened by pressing the <spacebar> when the respective element is
selected.
Text lists are used to manage the texts. A text list is a POU containing text strings
which are uniquely (within the project) referenced by the combination of the textlist
name and the list-internal text string ID. Different language versions of a text can be
defined there and so each text additionally is marked by a language identifier. At least
a default language is defined for each text.

Note: Directories providing image files for the usage in a visualization are specified
in the Project Settings, Category Visualization.

In the properties of a visualization element you specify a textlist name and an ID
(string) and thus determine which text should be displayed in the element in online
mode. You can additionally influence the text display by using formatting sequences
(see below). Due to the fact that the ID can be specified via a variable, dynamic
switching of texts
is possible.
If the currently used textlist(s) provide several language versions of a text, the
language to be used in the visualization can be switched by the help of visualization
elements which are configured for that purpose. That means they must have an input
property defining a "Change the language" mouse-action.

Thus dynamic use and multi-language support is possible for visualization texts.

Basically there are two types of text in a visualization:
1. Static text:

Static text assigned to a visualization element cannot be changed in online mode (just
the language, if multiple language versions are available in the textlist, always will be
adapted to the language currently used in the visualization). Static text is defined in
category 'Texts' in the Properties dialog of the visualization element and is managed in
an automatically created textlist named 'GlobalTextList'.
2. Dynamic text
Dynamic text can be changed in online mode by the input of a variable or a user input.
It is managed in Textlists which must be created by the user. Dynamic text is assigned
to a visualization element in category 'Dynamic texts' in the Properties dialog of the
element. There one of the available dynamic textlists as well as the ID of the desired
text are to be specified.

Advertising