Siemens SINUMERIK 808D ADVANCED Series Commissioning Manual page 369

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

Advertisement

Function name
control.setcurssel
control.getitem
control.getitemdata
Commissioning Manual
6FC5397-4EP10-0BA8, 07/2018
Description
For a list box, the function sets the cursor to the appropriate line.
The control name should be transferred as text expression of the
function.
Syntax:
<function name="control.setcurssel" > control name,
index</function>
Example:
<let name>="index">2</let>
<function name="control.setcurssel"
">_T"listbox1",index</function>
For a list box, the function copies the contents of the selected line to
the specified variable.
A string variable should be specified as reference variable.
The control name should be transferred as text expression of the
function.
Syntax:
<function name="control.getitem" return="var"> con-
trol name, index </function>
Example:
<let name>="index">2</let>
<let name>="item" type="string"></let>
<function name="control.getitem" return="item"
">_T"listbox1",index</function>
For a list box, the function copies the user-specific allocated value of
an element to the specified variable.
For an edit control, the function copies the user-specific allocated
value (item_data) to the specified variable.
An integer variable should be specified as reference variable.
The control name should be transferred as text expression of the
function.
Syntax:
<function name="control.getitemdata" return="var">
control name, index </function>
Example:
<let name>="index">2</let>
<let name>="itemdata"></let>
<function name="control.getitemdata" re-
turn="itemdata" ">_T"listbox1",index</function>
369

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 808d advanced t

Table of Contents