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

Page 716

Advertising
background image

L-force | PLC Designer

PLC Designer Visualization

714

DMS 3.2 EN 02/2011 TD29



The following entries are allowed:

• The name of a visualization object of the current project (see Object Organizer)
• If a visualization reference that contains placeholders is to be jumped to, the

placeholders can be directly replaced by variable names or text when called up. For
this purpose, conform to the following syntax:
<Visuname>(<Placeholder1>:=<Text1>, <Placeholder2>:=<Text2>,..., <Placeholder
n>:=<Textn>).
During compilation of the visualization it will be checked, whether the text
matches with one of the defined replacement values defined in the placeholder
list, if it does not, a warning will be output.
Example:
Calling the visualization visu1, whereby the placeholders $var_ref1$ and
$var_ref2$ used in visu1 are replaced by the variables PLC_PRG.var1 and

PROG.var1 respectively:
visu1(var_ref1:=PLC_PRG.var1, var_ref2:=PROG.var1)

• If a program variable of the type STRING (e.g. PLC_PRG.xxx) has been entered

instead of a visualization object, then this variable can be used to define the name
of the visualization object (e.g. ,visu1') which the system should change to when a
mouse click occurs (e.g. xxx:= ,visu1).

• If you issue the command „ZOOMTOCALLER" in the Zoom to vis. field, a backward

jump into the calling visualization is achieved in Online mode by a mouse click on
the element, if such a constellation was configured.

Note!

The implicit variable CurrentVisu (type STRING, for implicit (system) variables see
here) describes the name of the currently opened visualization object. For example
it can be used in the application to control which visualization should be opened
resp. to see which is the currently opened. But note: with compiler versions <
V2.3.7.0, and if the library SysLibStr.lib is not included in the project, this will only
work if the names of the visualization objects are defined in capital letters (see
'Create a visualization object'). Example: CurrentVisu:='PLC_VISU';

Advertising