Programming
2.5 Softkey menus
Expanding the user interface
Commissioning Manual, 11/2006, 6FC5397-0DP10-0BA0
2-61
If the start softkey definition is designated as a comment (semicolon (;) at beginning of line)
or the configuration file removed, the start softkey will not function.
//S(Start) ; Start identifier
HS6=("1st screen form") ; horizontal SK 6 labeled "1st screen form"
PRESS(HS6) ; PRESS method for horizontal SK 6
LM("Screen form1") ; Load screen form1 function, where screen form
1 must be defined within the same file.
END_PRESS ; End of PRESS method
HS7=("2nd screen form") ; horizontal SK 7 labeled "2nd screen form"
PRESS(HS7) ; PRESS method for horizontal SK 7
LM("Screen form2") ; Load screen form2 function, where screen form
2 must be defined within the same file.
END_PRESS ; End of PRESS method
//END ; End identifier of entry block
Example
HS1 = ("new softkey menu")
HS2=("no function")
PRESS(HS1)
LS("Menu1") ; load new softkey menu
END_PRESS
PRESS (HS2) ; empty PRESS method
END_PRESS
See also
Load Softkey (LS) (Page 2-88)
Load Mask (LM) (Page 2-87)