6.2.10 PRESS
Description
The PRESS method is executed when the corresponding softkey is pressed.
Programming
Syntax: PRESS
(softkey)
...
END_PRESS
Designation: Pressing a softkey
Parameter: Softkey Name of softkey: HS1 - HS8 and VS1 - VS8
RECALL <RECALL> key
ENTER For the <ENTER> key, see PRESS(ENTER) (Page 134)
TOGGLE For the <TOGGLE> key, see PRESS(TOGGLE) (Page 134)
PU Page Up Screen up
PD Page Down Screen down
SL Scroll left Cursor left
SR Scroll right Cursor right
SU Scroll up Cursor up
SD Scroll down Cursor down
Example
HS1 = ("another softkey menu")
HS2=("no function")
PRESS(HS1)
LS("Menu1") ; Load another softkey menu
Var2 = Var3 + Var1
END_PRESS
PRESS (HS2)
END_PRESS
PRESS(PU)
INDEX = INDEX -7
CALL("UP1")
END_PRESS
Programming commands
6.2 Methods
SINUMERIK Integrate Run MyScreens (BE2)
Programming Manual, 12/2017, 6FC5397-1DP40-6BA1 133