Siemens SINUMERIK 840DE sl Commissioning Manual page 879

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

Advertisement

</control>
Assigning properties by means of control variables
<control name="main_switch" xpos = "450" ypos="340" width="20"
height="46" fieldtype="switch" refvar="switch_statebf"
hotlink="true" alignment="vr">
<property upper_position="1" />
<property lower_position="0" />
</control>
...
...
...
<op>
main_switch.transparent = #ffffff;
main_switch.picture_upper_position = _T"switch_up.png";
main_switch.picture_lower_position = _T"switch_bottom.png";
main_switch.disable= 1;
</op>
1.12.5
Radio button
Radio buttons enable the selection of one of a number of options. A button must be created
for each option. All radio buttons belonging to one form, groupbox or scroll area interact with
one another in such a way that only one button is marked as selected. The button states are
transferred to the control variables.
Syntax
<control name="name" xpos="x position" ypos="y position"
width="width" height="height" fieldtype="radiobutton"
<caption>button text</caption>
</control>
1.12.6
Checkbox
Checkboxes enable the selection of a number of options. A button must be created for each
option. The state of the checkbox is transferred to the control variable.
Syntax
<control name="name" xpos="x position" ypos="y position"
width="width" height="height" fieldtype="checkbox"
<caption>button text</caption>
</control>
Easy XML
Programming Manual, 12/2017, 6FC5397-1DP40-6BA1
Generating user dialogs
1.12 Configuring your own buttons
>
>
161

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 840d sl

Table of Contents