Siemens SINUMERIK 840DE sl Commissioning Manual page 865

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

Advertisement

1.12
Configuring your own buttons
Buttons can be integrated into a form as action buttons or selection buttons.
1.12.1
Pushbutton
Tag property
The pushbutton is a control element that can be used as a button or checkable button. The
button can be designed by means of attribute definitions in the "softkey look & feel" style as
well as in a customized style. The relevant attributes must be defined with the property tag.
The foreground or background color can be changed using the color_fg, color_bk,
color_fg_pressed and color_bk_pressed attributes.
The pressed/checked or released states are represented by the values one or zero. A handler
function must be indicated to evaluate a button's change of state. The handler function is
indicated with the function attribute in the control tag.
The state of a checkable button can be determined by reading out the control variable or an
assigned reference variable.
With a touch operation, the finger gestures are "pressed" and "released" only when the finger
gesture is "let go".
Syntax
<control name="name" xpos="x position" ypos="y position"
fieldtype="pushbutton" >
<caption></caption>
</control>
Or with handler function
<control name="name" xpos="x position" ypos="y position"
fieldtype="pushbutton" function="button_handler" hotlink="true" >
<caption></caption>
</control>
...
...
...
<function_body name="button_handler">
...
...
...
</function_body>
or
Easy XML
Programming Manual, 12/2017, 6FC5397-1DP40-6BA1
Generating user dialogs
1.12 Configuring your own buttons
147

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 840d sl

Table of Contents