Siemens SINUMERIK 840DE sl Commissioning Manual page 878

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

Advertisement

Generating user dialogs
1.12 Configuring your own buttons
Control variable
Caption_upper_position
Caption_lower_position
disabled
Horizontal display
<control name="name" xpos="x position" ypos="y position"
width="width" height="height" fieldtype="switch" alignment="hr">
<property left_position="value" picture="name" />
<property right_position="value" picture="name" />
</control>
Vertical display
<control name="name" xpos="x position" ypos="y position"
width="width" height="height" fieldtype="switch" alignment ="vr">
<property upper_position="value" picture="name" />
<property lower_position="value" picture="name" />
</control>
Or assign handler function
<control name="name" xpos="x position" ypos="y position"
width="width" height="height" fieldtype="switch"
function="switch_handler" hotlink="true" alignment ="vr">
</control>
Example
<let name="switch_state" />
<control name="main_switch" xpos="100" ypos="53" width="40"
height="30" fieldtype="switch" refvar="switch_state" hotlink="true"
alignment="hr">
<property left_position="10" picture="icon_left.bmp" />
<property right_position="11" picture="icon_right.bmp" />
160
Meaning/behavior
Variable type: String
Text in the upper position
Variable type: String
Text in the lower position
Variable type: Bool
Value:
1 = true - switch disabled
0 = false - switch can be operated
icon_left.bmp
icon_right.bmp
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