EasyManuals Logo

Siemens SINUMERIK ONE MCP 2400.4c Commissioning Manual

Siemens SINUMERIK ONE MCP 2400.4c
1734 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #776 background imageLoading...
Page #776 background image
Tag identifier Meaning
RESIZE Continued Example:
<let name="screen_size" type="StructSize" />
<form name="menu_userscale_form" autoscale_content="off">
<init>
<caption>Use auto scaling</caption>
<function name="hmi.get_hmi_resolution">screen_size</function>
<print text="screen size: w %d h: %d">screen_size.width,
screen_size.height</print>
<data_access type="true" />
<control name="s_c" xpos="8" ypos="140" fieldtype="readonly"
width="500" refvar="string_var" hotlink="true"/>
<if>
<condition>screen_size.width == 800</condition>
<then>
<control name="s_1" xpos="508" ypos="140" fieldtype="readonly"
width="100" refvar="string_var1" hotlink="true"/>
</then>
</if>
<control name="s_w" xpos="200" ypos="350" fieldtype="readonly"
refvar="screen_size.width" hotlink="true"/>
<control name="s_h" xpos="200" ypos="370" fieldtype="readonly"
refvar="screen_size.height" hotlink="true"/>
</init>
<paint>
<text xpos ="68" ypos="310">Text</text>
<text xpos ="8" ypos="350">screen width</text>
<text xpos ="8" ypos="370">screen height</text>
</paint>
<resize>
<function name="hmi.get_hmi_resolution">screen_size</function>
<print text="resize_event screen size: w %d h:
%d">screen_size.width, screen_size.height</print>
<switch>
<condition>screen_size.width</condition>
<case value="640">
<function name="control.delete">_T"s_1"</function>
</case>
<case value="800">
<control name="s_1" xpos="508" ypos="140" fieldtype="readonly"
width="100" refvar="string_var1" hotlink="true"/>
</case>
</switch>
</resize>
</form>
Generating user dialogs
1.7 XML identifier
Easy XML
58 Programming Manual, 12/2017, 6FC5397-1DP40-6BA1

Table of Contents

Other manuals for Siemens SINUMERIK ONE MCP 2400.4c

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Siemens SINUMERIK ONE MCP 2400.4c and is the answer not in the manual?

Siemens SINUMERIK ONE MCP 2400.4c Specifications

General IconGeneral
BrandSiemens
ModelSINUMERIK ONE MCP 2400.4c
CategoryControl Systems
LanguageEnglish

Related product manuals