Siemens SINUMERIK 828D Commissioning Manual page 862

Hide thumbs Also See for SINUMERIK 828D:
Table of Contents

Advertisement

Generating user dialogs
1.9 Predefined functions
Function name
Image Box Get
Bitmap Dim
Screen Resolution
Get HMI Resolution
110
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>
Programming Manual, 10/2015, 6FC5397-3DP40-5BA3
Easy XML

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents