Siemens SINUMERIK 808D ADVANCED Series Commissioning Manual page 370

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

Advertisement

Function name
bitmap.dim
hmi.get_hmi_resolution
hmi.get_hmi_resolution
hmi.get_caption_heigt
abs
sdeg
370
Description
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>
The function returns the title bar height in pixels.
Syntax:
<function name="hmi.get_caption_heigt" re-
turn="<return var>" />
Attributes:
return - integer variable
This function returns the absolute value of the specified number.
Syntax:
<function name="abs" return="var"> value
</function>
The function converts the specified value into degrees.
Syntax:
<function name="sdeg" return="var"> value
</function>
Commissioning Manual
6FC5397-4EP10-0BA8, 07/2018

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 808d advanced t

Table of Contents