6.2 Methods
Overview
Various types of event (exit input field, actuate softkey) can initiate specific actions in dialogs
and dialog-dependent softkey menus (softkey menus that are called from a newly configured
dialog). These actions are configured in methods.
The following table shows the basic principle used to program a method:
Definition block Comment Section reference
PRESS(HS1) ;Method start identifier
LM...
LS...
;Functions See Chapter Functions (Page 138)
Var1.st = ... ;Changing properties see Section Defining softkey me‐
nus (Page 62)
and Section Defining dialog prop‐
erties (Page 49).
Var2 = Var3 + Var4
...
EXIT
;Calculation with variables See Chapter Defining variables
(Page 81)
END_PRESS ;Method end identifier
6.2.1 ACCESSLEVEL
Description
The ACCESSLEVEL method is run through when the current access level has changed for
an opened screen.
Programming
Syntax: ACCESSLEVEL
<instructions>
END_ACCESSLEVEL
Description: Access level
Parameters: - None -
See also
Variable S_ALEVEL (Page 115)
Programming commands
6.2 Methods
SINUMERIK Integrate Run MyScreens (BE2)
126 Programming Manual, 12/2017, 6FC5397-1DP40-6BA1