Programming commands
6.2 Methods
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
PRESS(HS1)
LM...
LS...
Var1.st = ...
Var2 = Var3 + Var4
...
EXIT
END_PRESS
6.2.1
ACCESSLEVEL
Description
The ACCESSLEVEL method is run through when the current access level has changed for
an opened screen.
Programming
Syntax:
Description:
Parameters:
See also
Variable S_ALEVEL (Page 115)
126
Comment
;Method start identifier
;Functions
;Changing properties
;Calculation with variables
;Method end identifier
ACCESSLEVEL
<instructions>
END_ACCESSLEVEL
Access level
- None -
Programming Manual, 12/2017, 6FC5397-1DP40-6BA1
Section reference
See Chapter Functions (Page 138)
see Section Defining softkey me‐
nus (Page 62)
and Section Defining dialog prop‐
erties (Page 49).
See Chapter Defining variables
(Page 81)
SINUMERIK Integrate Run MyScreens (BE2)