Siemens SINUMERIK 840DE sl Commissioning Manual page 1050

Basesoftware and operating software
Hide thumbs Also See for SINUMERIK 840DE sl:
Table of Contents

Advertisement

Dialogs
4.2 Defining softkey menus
HS2=("\\image1.png")
HS3=("Exit")
HS4=(["Confirm","\\sk_ok.png"],PA0,TP1)
VS1=("sub mask")
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=(["\\image1.png",$83533],,se1)
PRESS(HS1)
HS1.st=" Calculate"
...
END_PRESS
PRESS(RECALL)
LM("Maske21")
END_PRESS
//END
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.
64
; Assign a softkey to the graphic
; Softkey with text and graphic, Text="Confirm", Im-
age="sk_ok.png", Alignment of the softkey image: Left,
text is aligned to the image
; Define softkey VS2, assign the text from the lan-
guage file, protection level 1, and the status "disa-
bled"
; Define softkey VS3, assign the label "Cancel", pro-
tection level 1 and the status "highlighted"
; Define softkey VS4, assign the label "OK", protec-
tion 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 la-
bel "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
; Method start identifier
; Load dialog
; Method end identifier
; End identifier of softkey menu
Programming Manual, 12/2017, 6FC5397-1DP40-6BA1
SINUMERIK Integrate Run MyScreens (BE2)

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 840d sl

Table of Contents