4.2 Defining softkey menus
Definition
The term softkey menu is used to refer to all the horizontal and vertical softkeys displayed on
a mask. In addition to the existing softkey menus, it is possible to define other menus, which
partially or completely overwrite the existing menus.
The names of the softkeys are predefined. Not all softkeys need to be assigned.
HSx x 1 - 8, Horizontal softkeys 1 to 8
VSy y 1 - 8, Vertical softkeys 1 to 8
The definition of a softkey menu (softkey menu definition block) is basically structured as
follows:
Definition block Comment Section reference
//S... ;Start identifier of softkey menu
HSx=... ;Define softkeys
PRESS(HSx)
LM...
END_PRESS
;Method start identifier
;Actions
;Method end identifier
See Chapter Methods
(Page 126)
//END ;End identifier of softkey menu
Description
Properties are assigned to softkeys during definition of the softkey menu.
Programming
Syntax: //S
(Identifier)
...
//END
;Start identifier of softkey menu
;End identifier of softkey menu
See also Section Extended configuration syntax (Page 43).
Description: Defines the softkey menu
Parameter:
Identifier Name of the softkey menu
Text or image file name
Syntax: SK =
(Text[, access level][, Status][, Alignment of the softkey image][, text align‐
ment referred to the softkey image])
Description: Define softkey
Parameter: SK Softkey, e.g. HS1 to HS8, VS1 to VS8
Dialogs
4.2 Defining softkey menus
SINUMERIK Integrate Run MyScreens (BE2)
62 Programming Manual, 12/2017, 6FC5397-1DP40-6BA1