Siemens SINUMERIK 828D Commissioning Manual page 856

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

Advertisement

Generating user dialogs
1.9 Predefined functions
Function name
Insert Item
Delete item
104
Description
The function inserts a new element at the specified position.
Note:
The function is only available for the control types "listbox" and "graph‐
icbox".
Syntax:
<function name="control.insertitem"> control name,
index, item, itemdata </function>
Attribute:
name – function name
Values:
control name – control name
index – position starting with zero
item - expression to be inserted
itemdata - integer value; defined by the user
Example:
<let name ="itemdata">1</let>
...
...
...
<op> item_string = _T"text2" </op>
<function name="control.insertitem">_T"listbox1",
1, item_string, itemdata </function>
The function deletes an element at the specified position.
Note:
The function is only available for the control types "listbox" and "graph‐
icbox".
Syntax:
<function name="control.deleteitem"> control name,
index </function>
Attribute:
name – function name
Values:
control name – control name
index– index starting at 0
Example:
<function name="control.deleteitem">_T"listbox1",
1</function>
Programming Manual, 10/2015, 6FC5397-3DP40-5BA3
Easy XML

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents