Programming commands
6.2 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 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.
96
Comment
;Method start identifier
;Functions
;Changing properties
;Calculation with variables
;Method end identifier
ACCESSLEVEL
<instructions>
END_ACCESSLEVEL
Access level
- None -
Programming Manual, 10/2015, 6FC5397-3DP40-5BA3
Chapter reference
See chapter "Functions"
see chapter "Softkey menu"
and chapter "Dialog elements"
See chapter "Defining variables"
SINUMERIK Integrate Run MyScreens