Siemens SINUMERIK 840DE sl Commissioning Manual page 847

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

Advertisement

Function name
Image Box Get
Bitmap Dim
Screen Resolution
Get HMI Resolution
Easy XML
Programming Manual, 12/2017, 6FC5397-1DP40-6BA1
Description
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>
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 SIZE. To define the type, file
struct_def.xml must be included in the project.
Syntax:
<function name="hmi.screen_resolution"
>varialble type </function>
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
129

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 840d sl

Table of Contents