Siemens SINUMERIK Commissioning Manual page 377

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

Advertisement

2.3.4
Detailed information about the toggle field [2]
Description
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.
Programming
Syntax:
Description:
Parameters:
Example
Variable toggle field
It is possible to assign a variable toggle field to a dialog element, i.e., when the toggle key is
pressed, a value configured in a CHANGE method is assigned to the variable.
An asterisk * is entered in the Limits or Toggle Field property to identify a variable toggle field
when a variable is defined.
Example: DEF VAR1=(S/*)
Expanding the user interface
Commissioning Manual, 11/2006, 6FC5397-0DP10-0BA0
DEF Identifier =(Variable type /+ $Text number | *
value="\\display"[,value="\\image2.bmp"][, ...]
/[Default]
/[Texts(Long text, Short text, Graphic text, Units text)]
/[Attributes]
/[Help display]
/[System or user variable]
/[Position of short text]
/[Position input/output field(Left, Top, Width, Height)]
/[Colors]
/[Help])
When the dialog is opened, the content of text number $85015 is
displayed in the input/output 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 type
Type of variables specified in the system or user
variable
Text number
Number (basis) of the language-specific text valid as
the basis number.
System or user
System or user variable (offset) via which the final text
variable
number (basis + offset) is displayed.
DEF VAR1=(IB/+ $85000/15////"DB90.DBB5")
Programming
2.3 Variables
2-27

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents