Programming
2.7 Functions
Expanding the user interface
2-88 Commissioning Manual, 11/2006, 6FC5397-0DP10-0BA0
Note
Parameter VARx transfers only the value of the variable in each case, i.e., variables can be
read and written in the sub-dialog, but are not visible in it. Variables can be returned from the
sub-dialog to the master dialog by means of the EXIT function.
Example
PRESS(HS1)
LM("SCREEN FORM2","CFI.COM",1, POSX, POSY, DIAMETER)
; Interrupt screen form1 and open screen form2:
Variables POSX, POSY and DIAMETER are transferred
in doing this.
DLGL("Screen form2 ended") ; On returning from screen form2, the following text
appears in the dialog line of screen form 1:
Screen form2 ended.
END_PRESS
2.7.17 Load Softkey (LS)
Description
The LS function can be used to display another softkey menu.
Programming
Syntax: LS
("Identifier"[, "File"][, Merge])
Description: Displays softkey menu
Parameters: Identifier Name of softkey menu
File Path (HMI file system or NC file system) to the
configuration file
Default: Current configuration file
Merge
0: All existing softkeys are deleted; the newly configured
softkeys are entered.
1: (Default setting) Only the newly configured softkeys
overwrite the existing softkeys. The other softkeys (=
standard softkeys from HMI or ShopMill/ShopTurn)
remain, and retain their functionality and text.