Programming   
2.3 Variables 
  Expanding the user interface 
2-20  Commissioning Manual, 11/2006, 6FC5397-0DP10-0BA0 
Variable status 
The "Variable status" property can be scanned during runtime to find out whether a variable 
has a valid value. This property can be read and written with the value FALSE = 0.  
Programming 
 
Syntax:  Identifier.vld 
Description:  Variable status vld (validation) 
Parameters:  Identifier:   Name of the variable 
 
FALSE =
TRUE =
The result of the scan can be: 
invalid value 
valid value 
Example  
IF VAR1.VLD == FALSE 
  VAR1 = 84 
ENDIF 
Variable: Changing properties 
When a change is made, a new value is assigned to the variables in the notation 
Identifier.Property = Value  
. The expression to the right of the equality sign is evaluated and 
assigned to the variable or variable property. 
Examples: 
 
Identifier.ac = Access level   (ac: access level) 
Identifier.al = Text alignment  (al: alignment) 
Identifier.bc = Background color  (bc: background color) 
Identifier.fc = Foreground color  (fc: foreground color) 
Identifier.fs = Font size  (fs: font size) 
Identifier.gt = Graphic text  (gt: graphic text) 
Identifier.hlp = Help display  (hlp: help) 
Identifier.htx = Help text  (htx: help text) 
Identifier.li = Limit  (li: limit) 
Identifier.lt = long text  (lt: long text) 
Identifier.max = MAX limits  (max: maximum) 
Identifier.min = MIN limits  (min: minimum) 
Identifier.st = short text  (st: short text) 
Identifier .typ = Variable type  (typ: type) 
Identifier.ut = Unit text  (ut: unit text) 
Identifier.val = Variable value  (val: value) 
Identifier.var = System or user variable  (var: variable) 
Identifier.vld = Variable status  (vld: validation) 
Identifier .wr = Input mode  (wr: write)