Siemens SINUMERIK 828D Commissioning Manual page 768

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

Advertisement

Generating user dialogs
1.6 XML identifier
Tag identifier
BREAK
CONTROL
CONTROL Continued
16
Meaning
Conditional cancellation of a loop.
Changing the control after creation
A control tag changes the properties of an existing control after it has been created. The
tag must be specified with the name of the control to be changed and the new properties.
It can be executed only within a form tag. The following properties can be changed:
● xpos
● ypos
● width
● height
● color_bk
● color_fg
● access level
● fieldtype
● itemdata
● min
● max
● default
The reference variable cannot be modified. If a property is to be changed by triggering by
a softkey event, the send message tag must transfer this request into the form context. The
message tag is used to acquire the message.
Example:
<menu name = "main">
<open_form name = "attrib_form" />
<softkey POSITION="3">
<caption>Set%nro</caption>
<send_message>1, 0</send_message>
</softkey>
<softkey POSITION="4">
<caption>Set%nrw</caption>
<send_message>2, 0</send_message>
</softkey>
</menu>
<form name="attrib_form">
<init>
<control name="c_p0" xpos="60" ypos="70" width="272" />
</init>
<message>
<switch>
<condition>$message_par1</condition>
<case value="1">
<control name="c_p0" fieldtype="readonly" />
</case>
<case value="2">
<control name="c_p0" fieldtype="edity" />
</case>
</switch>
</message>
</form>
Programming Manual, 10/2015, 6FC5397-3DP40-5BA3
Easy XML

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents