The following table shows the basic principle used to program a method:
Definition block Comment Chapter reference
PRESS(HS1) ;Method start identifier
LM...
LS...
;Functions See chapter "Functions"
Var1.st = ... ;Changing properties see chapter "Softkey menu"
and chapter "Dialog elements"
Var2 = Var3 + Var4
...
EXIT
;Calculation with variables See chapter "Defining variables"
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 86)
6.2.2 CHANGE
Description
CHANGE methods are executed if a variable value changes, i.e., variable calculations that
are performed as soon as a variable value changes are configured within a CHANGE method.
Programming commands
6.2 Methods
SINUMERIK Integrate Run MyScreens
96 Programming Manual, 10/2015, 6FC5397-3DP40-5BA3