Siemens SINUMERIK 808D ADVANCED Commissioning Manual page 380

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

Advertisement

Function name
control.getitemdata
bitmap.dim
hmi.get_hmi_resolution
hmi.get_hmi_resolution
380
Description
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>
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.
Syntax:
<function name="bitmap.dim" >name, variable type
</function>
Parameters:
name - file path
variable type - variable name of a variable of type SIZE
Example:
<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.
Syntax:
<function name="hmi.screen_resolution" >vari-
alble type </function>
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.
Syntax:
<function name="hmi.get_hmi_resolution" >varia-
ble type </function>
Commissioning Manual
01/2017

Advertisement

Table of Contents
loading

Table of Contents