Commissioning Manual
380 01/2017
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.
<function name="control.getitemdata" return="var">
control name, index </function>
<let name>="index">2</let>
<let name>="itemdata"></let>
<function name="control.getitemdata" re-
turn="itemdata" ">_T"listbox1",index</function>
The function copies the dimension of a bitmap back into a variable
with structure type SIZE. To define the type, file struct_def.xml must
be included in the project.
<function name="bitmap.dim" >name, variable type
</function>
- file path
- variable name of a variable of type SIZE
<let name="bmp_size" type="size" />
<function name="bitmap.dim" >_T"test.bmp", bmp_size
</function>
The function copies the absolute screen resolution of the system
back into a variable with structure type StructSize. To define the type,
file struct_def.xml must be included in the project.
<function name="hmi.screen_resolution" >vari-
The function copies the screen resolution used by SINUMERIK Op-
erate back into a variable with structure type StructSize. To define
the type, file struct_def.xml must be included in the project.
<function name="hmi.get_hmi_resolution" >varia-