Siemens SINUMERIK 828D Commissioning Manual page 806

Hide thumbs Also See for SINUMERIK 828D:
Table of Contents

Advertisement

Generating user dialogs
1.6 XML identifier
Tag identifier
CLOSE_FORM
CONTROL
54
Meaning
The tag closes the active dialog.
This instruction is only necessary if the dialog is opened by the MMC command and the user
is offered a softkey function to close the dialog. Generally, dialogs are automatically managed
and do not have to be explicitly closed.
Syntax:
<CLOSE_FORM/>
Example:
<softkey_ok>
<caption>OK</caption>
<CLOSE_FORM />
<navigation>main_menu</navigation>
</softkey_ok>
The tag is used to generate control elements.
Syntax:
<CONTROL name = "<control name>" xpos = "<X position>" ypos = "<Y
position>" refvar = "<NC variable>" hotlink = "true" format =
"<format>" />
Attributes:
● name
Identifier of the field.
The identifier simultaneously represents a local variable, and must not be used a multiple
number of times in the form.
● xpos
X position of the top left corner
● ypos
Y position of the top left corner
● fieldtype
Field type
If no type is specified, the field is set as an edit field.
edit
Data can be changed
readonly
Data cannot be changed
combobox
The field displays the corresponding identifiers instead of numerical values.
If field type combobox is selected, the expressions to be displayed must also be
assigned to the field.
The <ITEM> tag should be used for this purpose.
The combo box saves the index of the currently selected text in the variable belonging
to the control (see the attribute refvar).
After the control has been created, additional elements can be inserted using the
functions addItem or insertItem.
progressbar
A progress bar with a value range of 0 to 100 appears.
The valley value and peak value properties can be used to adapt the value range to
the data to be displayed.
Programming Manual, 10/2015, 6FC5397-3DP40-5BA3
Easy XML

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents