Programming
2.7 Functions
Expanding the user interface
Commissioning Manual, 11/2006, 6FC5397-0DP10-0BA0
2-81
Example
//M(Screen form1)
...
PRESS(HS1)
LM("SCREEN FORM2","CFI.COM",1, POSX, POSY, DIAMETER)
; Interrupt screen form1 and open screen form2.
Transfer variables POSX, POSY and DIAMETER 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
...
//END
//M(Screen form2)
...
PRESS(HS1)
EXIT(5, , CALCULATED_DIAMETER)
; Exit screen form2 and return to screen form1 in
the line after LM. In doing this, assign the
value 5 to the variable POSX and the value of
the CALCULATED_DIAMETER variable to the DIAMETER
variable. The variable POSY retains its current
value.
END_PRESS
...
//END
2.7.12 Exit Loading Softkey (EXITLS)
Description
You can use the EXITLS function to exit the current user interface and load a defined softkey
menu.
Programming
Syntax: EXITLS
("Softkey menu"[, "Path
"])
Description: Exits dialog and loads a softkey menu
Parameters: Softkey menu Name of the softkey menu to be loaded
Path name Directory path of the softkey menu to be loaded