Siemens SINUMERIK 808D ADVANCED Series Commissioning Manual page 365

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

Advertisement

Function name
control.additem
control.insertitem
Commissioning Manual
6FC5397-4EP10-0BA8, 07/2018
Description
The function inserts a new element at the end of the list.
Note:
The function is only available for the control types "listbox" and
"graphicbox".
Syntax:
<function name="control.additem"> control name,
item </function>
Attribute:
name – function name
Values:
control name – control name
item - expression to be inserted
itemdata - integer value; defined by the user
Example:
<let name ="itemdata">1</let>
...
...
...
<op> item_string = _T"text1" </op>
<function name="control.additem">_T"listbox1",
item_string, itemdata
</function>
The function inserts a new element at the specified position.
Note:
The function is only available for the control types "listbox" and
"graphicbox".
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>
365

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 808d advanced t

Table of Contents