Siemens SINUMERIK 840D sl Commissioning Manual page 681

Basesoftware and operating software
Hide thumbs Also See for SINUMERIK 840D sl:
Table of Contents

Advertisement

5.9
Details on the toggle field
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:
SINUMERIK Integrate Run MyScreens (BE2)
Programming Manual, 03/2013, 6FC5397-1DP40-3BA1
DEF identifier =(variable type /+ $text number | *
value="\\image"[,value="\\image2.png"][, ...]
/[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]
When the dialog is opened, the content of text number $85015 is displayed in the
IO field. Default value 15 is entered in system variable DB90.DBB5. If the value
saved in system variable DB90.DBB5 changes, the displayed text number
$(85000 + <DB90.DBB5>) is recalculated in response to every change.
Variable type
Text number
System or user
variable
DEF VAR1=(IB/+ $85000/15////"DB90.DBB5")
DEF VAR1=(S/*)
Type of variables specified in the system or user variable
Number (basis) of the language-specific text valid as the
basis number.
System or user variable (offset) via which the final text
number (basis + offset) is displayed.
Variables
5.9 Details on the toggle field
63

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 840de sl

Table of Contents