Siemens SINUMERIK 840DE sl Commissioning Manual page 802

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

Advertisement

Generating user dialogs
1.8 Generating user menus
1.8.2
Substitution characters
The system offers the option of defining control properties (attribute values) for the runtime. In
order to use this function, the desired property must be set in a local variable and the variable
name must be transferred to the tag as an attribute value preceded by the character $.
If the tag expects a string as attribute value or value, the $$$ characters must be placed in
front of the variable name.
Example:
<let name="my_ypos">100</let>
<let name="field_name" type="string"></let>
<control name = "edit1" xpos = "322" ypos = "$my_ypos" refvar="nck/
Channel/Parameter/R[1]" />
<op>my_ypos = my_ypos +20 </op>
<control name = "edit2" xpos = "322" ypos = "$my_ypos" refvar="nck/
Channel/Parameter/R[2]" />
<print name ="field_name" text="edit%d">3</print>
<op>my_ypos = my_ypos +20 </op>
<control name = "$field_name" xpos = "322" ypos = "$my_ypos"
refvar="nck/Channel/Parameter/R3]" />
<caption>$$$field_name</caption>
84
Programming Manual, 12/2017, 6FC5397-1DP40-6BA1
Easy XML

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 840d sl

Table of Contents