Programming
2.5 Softkey menus
Expanding the user interface
Commissioning Manual, 11/2006, 6FC5397-0DP10-0BA0
2-57
Example
//S(Menu1)
; Start identifier of softkey menu
HS1=("NEW",ac6,se2)
; Define softkey HS1, assign the label "OK", security
level 6 and the status "disabled"
HS3=("\\bild1.bmp")
; Assign a graphic to the softkey
HS5=("Exit")
VS2=("Subscreen")
VS3=($85011, ac7, se2)
VS7=("Abort", ac1, se3)
; Define softkey HS1, assign the label "Cancel",
security level 1 and the status "displayed".
VS8=("OK", ac6, se1)
Define softkey VS8, assign the label "OK", security
level 6 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("Screen form21")
; Load dialog
END_PRESS
; Method end identifier
//END
; Softkey menu end identifier
<RECALL> key
In addition to the horizontal and vertical softkeys, a <RECALL> key is also available.
In contrast to the softkeys, the RECALL key does not need to be defined. The "Status" and
"Access Level" properties can be assigned to the key during runtime.
If you do not assign any action (function, calculation of variables, property changes) to
<RECALL>, you can use it to exit newly configured user interfaces and return to the
standard application.
Example
PRESS(RECALL)
RECALL.ac = 1
LM("Screen form5")
END_PRESS
Содержание SINUMERIK
Страница 6: ...Preface Base software and HMI Advanced 6 Commissioning Manual 03 2009 6FC5397 0DP10 3BA0 ...
Страница 24: ...Introduction 1 5 Limits of data management HMI Advanced IM4 18 Commissioning Manual 03 2009 6FC5397 0DP10 3BA0 ...
Страница 96: ......
Страница 338: ...List of Abbreviations B 1 Abbreviations HMI Advanced IM4 332 Commissioning Manual 03 2009 6FC5397 0DP10 3BA0 ...
Страница 464: ...Programming 2 8 Operators Expanding the user interface 2 114 Commissioning Manual 11 2006 6FC5397 0DP10 0BA0 ...
Страница 562: ...Index Expanding the user interface Index 4 Commissioning Manual 11 2006 6FC5397 0DP10 0BA0 ...
Страница 566: ...Table of contents Online Help HE1 4 Commissioning Manual 11 2006 6FC5397 0DP10 0BA0 ...
Страница 598: ...Online Help HE1 Commissioning Manual 11 2006 6FC5397 0DP10 0BA0 36 ...
Страница 638: ...References for text generation Generating target language texts TX2 40 Commissioning Manual 11 2006 6FC5397 0DP10 0BA0 ...
Страница 672: ...Commissioning a system 1 4 BIOS settings PCU Basesoftware IM8 32 Commissioning Manual 03 2009 6FC5397 1DP10 4BA0 ...