Siemens SINUMERIK 840DE sl Commissioning Manual page 841

Basesoftware and operating software
Hide thumbs Also See for SINUMERIK 840DE sl:
Table of Contents

Advertisement

Function name
Insert Item
Delete item
Easy XML
Programming Manual, 12/2017, 6FC5397-1DP40-6BA1
Description
The function inserts a new element at the specified position.
Note:
The function is only available for the control type "listbox".
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 type "listbox".
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>
Generating user dialogs
1.10 Predefined functions
123

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 840d sl

Table of Contents