HS2=("\\image1.png") ; Assign a softkey to the graphic
HS3=("Exit")
HS4=(["Confirm","\\sk_ok.png"],PA0,TP1) ; Softkey with text and graphic, Text="Confirm", Im-
age="sk_ok.png", Alignment of the softkey image: Left,
text is aligned to the image
VS1=("sub mask")
VS2=($85011, ac7, se2) ; Define softkey VS2, assign the text from the lan-
guage file, protection level 1, and the status "disa-
bled"
VS3=("Cancel", ac1, se3) ; Define softkey VS3, assign the label "Cancel", pro-
tection level 1 and the status "highlighted"
VS4=("OK", ac6, se1) ; Define softkey VS4, assign the label "OK", protec-
tion level 6 and the status "visible"
VS5=(SOFTKEY_CANCEL,,se1) ; Define cancel standard softkey VS5 and assign the
status "visible"
VS6=(SOFTKEY_OK,,se1) ; Define OK standard softkey VS6 and assign the status
"visible"
VS7=(["\\image1.png","OEM text"],,se1) ; Define softkey VS7, assign an image, assign the la-
bel "OEM Text" and the status "visible"
VS8=(["\\image1.png",$83533],,se1) ; Define softkey VS8, assign an image, assign text
from language file and the status "visible"
PRESS(HS1) ; Method start identifier
HS1.st=" Calculate" ; Assign a label text to the softkey
...
END_PRESS ; Method end identifier
PRESS(RECALL) ; Method start identifier
LM("Maske21") ; Load dialog
END_PRESS ; Method end identifier
//END ; End identifier of softkey menu
4.2.1 Changing softkey properties during runtime
Description
The softkey properties Text, Access Level and Status can be changed in the methods during
runtime.
Dialogs
4.2 Defining softkey menus
SINUMERIK Integrate Run MyScreens (BE2)
64 Programming Manual, 12/2017, 6FC5397-1DP40-6BA1