Dialogs
4.2 Defining softkey menus
Assigning access level
Operators can only access information on this and lower access levels. The meanings of the
different access levels are as follows: ac0 is the highest access level and ac7 the lowest.
Security level
ac0
ac1
ac2
ac3
ac4
ac5
ac6
ac7
Example
//S(Menu1)
HS1=("NEW", ac6, se2)
HS2=("\\image1.png")
HS3=("Exit")
VS1=("sub screen form")
VS2=($85011, ac7, se2)
VS3=("Cancel", ac1, se3)
VS4=("OK", ac6, se1)
VS5=(SOFTKEY_CANCEL,,se1)
VS6=(SOFTKEY_OK,,se1)
VS7=(["\\image1.png","OEM
text"],,se1)
VS8=(["\\bild1.png",
$83533],,se1)
PRESS(HS1)
HS1.st="Calculate"
...
END_PRESS
42
Locked by
Reserved for Siemens
Password
Password
Password
Keylock switch position 3
Keylock switch position 2
Keylock switch position 1
Keylock switch position 0
; Start identifier of softkey menu
; Define softkey HS1, assign the label "NEW",
protection level 6, and the status "disabled"
; Assign a softkey to the graphic
; Define softkey VS2, assign the text from the
language file, protection level 1, and the status
"disabled".
; Define softkey VS3, assign the label "Cancel",
protection level 1 and the status "highlighted".
; Define softkey VS4, assign the label "OK",
protection level 6 and the status "visible"
; Define cancel standard softkey VS5 and assign
the status "visible"
; Define OK standard softkey VS6 and assign the
status "visible"
; Define softkey VS7, assign an image, assign the
label "OEM Text" and the status "visible"
; Define softkey VS8, assign an image, assign text
from language file and the status "visible"
; Method start identifier
; Assign a label text to the softkey
; Method end identifier
Range
Machine manufacturer
Service
User
Programmer, machine setter
Qualified operator
Trained operator
Semi-skilled operator
SINUMERIK Integrate Run MyScreens (BE2)
Programming Manual, 03/2013, 6FC5397-1DP40-3BA1