EasyManua.ls Logo

Siemens SINUMERIK 808D ADVANCED Series

Siemens SINUMERIK 808D ADVANCED Series
480 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Commissioning Manual
6FC5397-4EP10-0BA8, 07/2018
365
Function name
Description
control.additem
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>
control.insertitem
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>

Table of Contents

Related product manuals