beautypg.com

L-force | plc designer – Lenze PLC Designer PLC Designer (R2-x) User Manual

Page 795

background image

L-force | PLC Designer

PLC Designer Visualization

DMS 3.2 EN 02/2011 TD29

793

A text entry which is assigned to a Prefix-ID-combination must contain the following
lines:

= "
id=""

"PREFIX" corresponds to the used in the visualization
element configuration (category Text or Tooltip); in case of an

message text used in an alarm table the path of the alarm group
within the alarm configuration starting at node "System" must be

specified, e.g. "System/Alarmgroup_xy"

"ID" corresponds to the entry in category 'Variables', Textdisplay or

Tooltip-display; in case of an of an message text used in an alarm
table the number of the line which defines that text in the

configuration dialog of the alarm group must be specified

]]

Use any string as an 'language' identifier (e.g. "english"). This
identifier then will be displayed in the 'Settings' dialog , category

Language of the visualization element in the selection list at
'Language'; instead of "TEXT" insert any text which then will be

displayed instead of the above defined ID-prefix-combination in
the visualization element.

For each prefix-ID-combination at least for 1 language a text entry must be available.
E.g. see in the file example shown below: indicates the start of the german
version of a text,
terminates the text.

Dynamc texts on the one hand can serve to display Texts in different languages, but of
course on the other hand they also can be used to change the content of a text (same
language) display dynamically.

Example: You want to have two visualization elements, one for visualizing the
current machine identification, the other for visualizing an error message according to
a currently given error number:

(1) Define in PLC_PRG the following variables: ivar of type INT, defining the current
machine identification; errnum of type INT defining the current error number.

(2) Configure a visualization element for displaying the current machine
identification:

- In category ‚Text’ in the text field enter: "%"

- In category ‚Variables’ at Textdisplay“ enter: „PLC_PRG.ivar”

(3) Configure another visualization element for displaying the error message for the
currently occurred error:

- In category ‚Text’ in the text field enter: "%"

- In category ‚Variables’ at Textdisplay“ enter: "PLC_PRG.errnum“