Changing Softkey Properties During Runtime - Siemens SINUMERIK 828D Commissioning Manual

Hide thumbs Also See for SINUMERIK 828D:
Table of Contents

Advertisement

HS2=("\\image1.png")
HS3=("Exit")
HS4=(["Confirm","\\sk_ok.png"],PA0,TP1)
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=(["\\image1.png",$83533],,se1)
PRESS(HS1)
HS1.st="Calculate"
...
END_PRESS
PRESS(RECALL)
LM("Screen form21")
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.
SINUMERIK Integrate Run MyScreens
Programming Manual, 10/2015, 6FC5397-3DP40-5BA3
; 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
Dialogs
4.2 Defining softkey menus
53

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents