Tag identifier
CONTROL
Commissioning Manual
01/2017
Meaning
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 = "<for-
mat>" />
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 as-
signed 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 belong-
ing to the control (see the attribute refvar).
–
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.
331