Siemens SINUMERIK Commissioning Manual page 370

Sinumerik 840di sl/840d sl/840dbase software and hmi advanced
Hide thumbs Also See for SINUMERIK:
Table of Contents

Advertisement

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

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents