08/2005
Variable parameter group 2)
Toggle field extension
The toggle field extension function can be used to display texts (entries in toggle
field) as a function of NC/PLC variables. A variable, which makes use of a toggle
field extension, is read-only.
DEF Identifier =
(Variable type
/+ $Text number |
* value= "\\image"[,value="\\image2.bmp"][, ...]
/[default]
/[Texts(Long text, Short text, Graphics text, Units text)]
/[Attributes]
/[Help display]
/[System or user variable]
/[Position of short text]
/[Position I/O field(Left, Top, Width, Height)]
/[Colors]
/[Help])
where:
Variable type
Text number
System or
user variable
For an explanation of other parameters, see 3.3.3 "Defining variables".
DEF VAR1=(IB/+ $85000/15////"DB90.DBB5")
When the screen form is opened, the content of text number $85015 are displayed
in the I/O field. Default value 15 is entered in system variable DB90.DBB5. If the
value saved in system variable DB90.DBB5 changes, then the displayed text
number $(85000 + <DB90.DBB5>) is recalculated in response to every change.
Variable toggle fields
It is possible to assign a variable toggle field to a screen form element. This means
that when the toggle key is pressed, the variable is assigned a value configured in
one CHANGE method.
A single asterisk * is entered for the Limit Values or Toggle Field property to
identify a variable toggle field when a variable is defined.
DEF VAR1=(S/*)
© Siemens AG, 2005. All rights reserved
SINUMERIK 840D sl/840D/840Di/810D HMI Installation and Start-Up Guide (IAM) – 08/2005 Edition
Type of variables specified in the system or user
variable
Number (basis) of the language-specific texts valid as the
basis number
System or user variable (offset)
used to form the final text number (basis + offset)
Expanding the Operator Interface (BE1)
3 Syntax
BE1/3-41