System Variables

The following system variables can be used in a visualization program:

Requirements

Implicitely generated variable

Datatype

Function

CurrentVisu

String[40]

Name of the currently opened visualization. If the name gets changed, a change to another visualization will be done. Please regard, that the name string MUST be defined in capital letters.

CurrentCaller

String[40]

Name of the previously opened visualization. Is used for the ZOOMTOCALLER unctionality .

CurrentLanguage

String[40]

Currently set language, available in the language file. The language MUST be written in capital letters.

CurrentUserLevel

INT

Currently set user level 0..7

CurrentPasswords[0 .. 7]

ARRAY [0..7] OF STRING[20]

All passwords which are defined in TwinCAT PLC Control in "Usergroup passwords“.