Siemens SINUMERIK 840DE sl Commissioning Manual page 780

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

Advertisement

Generating user dialogs
1.7 XML identifier
Tag identifier
CONTROL Continued
CONTROL continued
62
Meaning
● fieldtype
graphicbox
The field type generates a 2D broken line graphic control. Using the tag <ITEM> a
graphical element can be inserted into the control. Parameters width and height specify
the width and height of the box.
After the control has been created, additional elements can be inserted using the
functions addItem or insertItem. Parameter itemdata is not evaluated for this control.
If a reference variable is assigned to the control, its values will be recorded in a 100-
ms timebase. Up to 10,000 values can be recorded. With the property max, values are
recorded endlessly. The oldest value is then deleted when the maximum recording
time is reached. The recording time must be specified in milliseconds.
Although the values are stored at discrete times, the control displays them as
connected lines. The attribute channel permits recording of up to three further reference
variables. The index starts with one. Index zero is used to set the properties of the
variables assigned in the control tag.
Example:
<control name= "c_gbox1" xpos = "250" ypos="24" width="240"
height="356" fieldtype="graphicbox" refvar="val" hotlink="true"
COLOR_BK="#ffffff">
<property max="60000" /> <!-- steps of ms -->
<property min="0" />
<property channel="0" color="#00ffff" penwidth="3"/>
<property ORDINATE="Y sinus" />
<property ABSCISSA="time *100 ms" />
<property channel="1" refvar="val2" color="#000000" />
</control>
The following field types are described in section "Configuring your own buttons (Page 147)".
● fieldtype
pushbutton
The field type is used as a pushbutton or a latching button.
radiobutton
The field type allows you to select one of several options.
checkbox
The field type allows you to select several options.
groupbox
The field type visually encloses a group of controls with a frame and a title.
switch
The field type is a graphical element that signals one of two states using an icon.
scrollarea
The field type is used to display controls within a specified area.
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