Function name Description
Image Box Get This function is for querying the control properties image box The call
parameters to be specified are the control command and the associ‐
ated values.
Syntax:
<function name="control.imageboxget">control name,
command, command parameter</function>
Call parameters:
GetViewSize
Returns the size of the display area
A further parameter to be specified is the variable with structure type
SIZE.
Example:
<let name="view_size" type="size" />
<function name="control.imageboxget">_T"topoview",
_T"GetViewSize", view_size</function>
Bitmap Dim 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>
Screen Resolution The function copies the absolute screen resolution of the system 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="hmi.screen_resolution"
>varialble type </function>
Get HMI Resolution The function copies the screen resolution used by SINUMERIK Oper‐
ate 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="hmi.get_hmi_resolution"
>variable type </function>
Generating user dialogs
1.10 Predefined functions
Easy XML
Programming Manual, 12/2017, 6FC5397-1DP40-6BA1 129