User dialog and XML file examples
HMI
Syntax
<menu name="Main">
<OPEN_FORM name="Main" />
<softkey position="1"
①
type="user_controlled">
<state type="notpressed" />
<caption>Machine%nOperation</caption>
<navigation>Setting</navigation>
</softkey>
<softkey position="2"
type="user_controlled">
<state type="notpressed" />
<caption>Parameter%nSetting</caption>
<navigation>Parameter</navigation>
</softkey>
</menu>
<form name="Main">
</paint>
②
<text xpos="369" color="#000000"
ypos="28">T, F, S</text>
...
</paint>
<init>
<caption>User Mask</caption>
③
<let name="time_array" dim="7" />
④
<function name
="control.localtime">_T"time_array"</functio
n>
Commissioning Manual
6FC5397-4EP10-0BA8, 07/2018
Used identifiers and their meanings
MENU: defines the start menu containing the softkey
description and the dialog to be opened.
OPEN_FORM: opens the desired dialog form given
under the desired name.
SOFTKEY: defines the properties and responses of
the desired softkeys.
MENU: defines the start menu containing the softkey
description and the dialog to be opened.
FORM: defines the description of the desired user
dialog.
PAINT: defines the desired texts and images which
are to be displayed in the dialog box.
INIT: defines the desired input elements and hotlinks
for the dialog form
CAPTION: defines the title of the desired dialog box.
LET: defines the desired local variable under the
specified name.
341