Siemens SINUMERIK 840DE sl Commissioning Manual page 845

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

Advertisement

Function name
Get Item
Get Item Data
Easy XML
Programming Manual, 12/2017, 6FC5397-1DP40-6BA1
Description
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 Controlname should be transferred as text expression of the func‐
tion.
Syntax:
<function name="control.getitem" return="var">
control 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 Controlname should be transferred as text expression of the func‐
tion.
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"
return="itemdata" ">_T"listbox1",index</function>
Generating user dialogs
1.10 Predefined functions
127

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 840d sl

Table of Contents