Commissioning Manual
01/2017
329
The tag sends a message with two parameters to the active form, which is processed in the
tag message (see also MESSAGE).
<SEND_MESSAGE>p1, p2</SEND_MESSAGE>
<LET name="user_selection" />
<SOFTKEY POSITION="3">
<CAPTION>Set%nParameter</CAPTION>
<SEND_MESSAGE>1, 10</SEND_MESSAGE>
</SOFTKEY>
…
…
<FORM>
…
…
<MESSAGE>
<SWITCH>
<CONDITION>$message_par1</CONDITION>
<CASE value="1">
<OP> user_selection = $message_par2 </OP>
…
</CASE>
</SWITCH>
</MESSAGE>
…
…
The tag is called if the system places the focus on a control. To identify the control, the sys-
tem copies the name of the control into variable
and the value of the attribute
into variable
.
This message can be used, for example, to output images depending on the focus position.
<focus_in>
<PRINT text="focus on filed:%s, %d">$focus_name,
$focus_item_data </PRINT>
The tag is executed when the dialog box is displayed. All the texts and images which are to
be displayed in the dialog box should be specified here.
Further, the tag is executed if the system identifies that parts of the dialog box are to be
redisplayed. For example, this can be initiated by closing high-level windows.
The tag is executed cyclically.
Each form is assigned a timer. The tag is executed within a period less than 100 ms.