System variables in the visualization, L-force | plc designer – Lenze PLC Designer PLC Designer (R2-x) User Manual

Page 803

Advertising
background image

L-force | PLC Designer

PLC Designer Visualization



DMS 3.2 EN 02/2011 TD29

801

20.12

System Variables in the Visualization

The following implicitely created system variables can be used to program a
visualization:

Currently usable in

Implicitely

generated
variable

Data type Function

HMI Simu

lation

Target
Visu

Web
Visu

CurrentVisu String[40] Name of the currently opened visualization. If the

name gets changed, a change to another visualization

will be done.

Note

: With compiler versions

< V2.3.7.0 the name string MUST be defined in capital
letters. With compiler versions as from V2.3.7.0 the
string can be defined in small letters IF the library

SysLibStr.lib is included in the project.

Depending on the target system this variable can be

activated/deactivated in the Target Settings dialog,
category Visualization.

x

x

x

x

CurrentCalle
r

String[40] Name of the previously opened visualization. Is used

for the ZOOMTOCALLER functionality. Only set and
modified in TargetVisu.

- - x -

CurrentLang
uage

String[40] Currently set language, available in the language file.

The language. Only set and modified in TargetVisu.

-

-

x

-

CurrentUser
Level *

INT

Currently set user level 0..7.

x

x

x

x

CurrentPass
words
[0 .. 7] *

ARRAY
[0..7]

of
String[20]

All passwords which are defined in »PLC Designer« in
"Usergroup passwords“.

x

x

x

x

CurrentWrit
eAccessClien
tId

DWORD ID of the visualization client which in a mulit-client

operation currently has the write access on the PLC
data

- - x x

CurrentClien
tId

DWORD ID of the current visualization client

-

-

x

x

Advertising