Siemens SINUMERIK Commissioning Manual page 407

Sinumerik 840di sl/840d sl/840dbase software and hmi advanced
Hide thumbs Also See for SINUMERIK:
Table of Contents

Advertisement

Example
//S(Menu1)
HS1=("NEW",ac6,se2)
HS3=("\\bild1.bmp")
HS5=("Exit")
VS2=("Subscreen")
VS3=($85011, ac7, se2)
VS7=("Abort", ac1, se3)
VS8=("OK", ac6, se1)
PRESS(HS1)
HS1.st="Calculate"
...
END_PRESS
PRESS(RECALL)
LM("Screen form21")
END_PRESS
//END
<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
Expanding the user interface
Commissioning Manual, 11/2006, 6FC5397-0DP10-0BA0
;
Start identifier of softkey menu
;
Define softkey HS1, assign the label "OK", security
level 6 and the status "disabled"
;
Assign a graphic to the softkey
;
Define softkey HS1, assign the label "Cancel",
security level 1 and the status "displayed".
Define softkey VS8, assign the label "OK", security
level 6 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
;
Softkey menu end identifier
Programming
2.5 Softkey menus
2-57

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents