Easy Extend
8.6 Examples
Note
"hotlink" attribute
The hotlink attribute results in a cyclic update of the corresponding control. This means that
when a value is entered, the following update cycle overwrites the entered value. To avoid
this behavior, the immediate saving of the entries must be activated with the
DATA_ACCESS tag.
Another possibility is to take the the SOFTKEY_OK identifier into the form. This identifier is
performed before the dialog is closed. In this block, the data comparison can be made
between the control and reference variables with the UPDATE_CONTROLS statement.
8.6.2
Example with parameters to support the commissioning
Dialog with additional parameters
The input fields list selected drive parameters.
<DEVICE>
<list_id>3</list_id>
<name> "Test form" </name>
<form>
<init>
/>
"$MC_AXCONF_MACHAX_USED[4]" />
/>
</init>
<paint>
<text xpos = "40" ypos = "34">dc[DO5]/p105</text>
<text xpos = "40" ypos = "54">$MC_AXCONF_MACHAX_USED[4]</text>
<text xpos = "40" ypos = "74">dc[DO5]/p971</text>
<text xpos = "40" ypos = "94">dc[DO5]/r2</text>
</paint>
</form>
196
<caption>Equipment Manager</caption>
<control name = "edit1" xpos = "400" ypos = "34" refvar = "drive/dc/p105[DO5]"
<control name = "edit1" xpos = "400" ypos = "54" refvar =
<control name = "edit1" xpos = "400" ypos = "74" refvar = "drive/dc/p971[DO5]"
<control name = "edit1" xpos = "400" ypos = "94" refvar = "drive/dc/r2[DO5]" />
Commissioning Manual, 02/2012, 6FC5397-3DP40-3BA0
Turning and Milling