Siemens SINUMERIK 808D Function Manual page 263

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

Advertisement

Tag identifier
DATA_ACCESS
EDIT_CHANGED
INDEX_CHANGED
Function Manual
01/2017
Meaning
The tag controls the behavior of the dialog forms when user inputs are being saved.
The behavior should be defined within the INIT tag.
If the tag is not used, inputs are buffered in each case.
Exception: Controls for which the hotlink attribute is set to true are always written to and
read directly.
Attribute:
type = "TRUE" – the input values are not buffered. The dialog form copies the input val-
ues to the reference variables directly.
type = "FALSE" – the values are only copied to the reference variable with the
UPDATE_CONTROLS type = "FALSE" tag.
Example:
<DATA_ACCESS type = "true" />
Dialog box message
This tag is called if the contents of an edit control have changed.
To identify the control, the system copies the name of the control into variable $focus_name
and the value of the attribute item_data into variable $focus_item_data.
Example:
<EDIT_CHANGED>
<print text="index changed filed:%s, %d"> $focus_name, $fo-
cus_item_data </print>
...
...
</EDIT_CHANGED>
Dialog box message
The tag is called, if the operator changes the selection of a combo box.
To identify the control, the system copies the name of the control into the variable
$focus_name and the value of the attribute item_data into the variable $focus_item_data.
Note:
A reference variable assigned to the control, has not been aligned to the control variable at
this point in time and contains the index of the previous selection of the combo box.
Example:
<INDEX_CHANGED>
<print text="index changed filed:%s, %d"> $focus_name, $fo-
cus_item_data </print>
...
...
</INDEX_CHANGED>
263

Advertisement

Table of Contents
loading

Table of Contents