Programming commands
6.2 Methods
6.2.15
SUSPEND
Description
The SUSPEND method is called when the screen is interrupted and not unloaded. This is the
case, for example, when the screen is exited by a simple area change, but not explicitly
unloaded. The screen is retained in the background, but no value change or timers are
processed. The screen is paused.
Programming
Syntax:
Description:
Parameters:
Example
SUSPEND
END_SUSPEND
6.2.16
Example: Version management with OUTPUT methods
Overview
Additional variables can be added to existing dialogs when expanding the user interface. A
version identifier in parentheses is appended to the additional variables in the definition
following the variable name: (0 = Original, is not written), 1 = Version 1, 2 = Version 2, etc.
Example:
DEF var100=(R//1)
DEF var101(1)=(S//"Hello")
When writing the OUTPUT method, you can specify which variables are written, with reference
to a particular version identifier.
Example:
OUTPUT(NC1)
106
MyVar1 = MyVar1 + 1
SUSPEND
<instruction>
END_SUSPEND
Interruption of the screen
- None -
; Original, corresponds to Version 0
; Extension as of Version 1
; Only the variables of the original are offered in
the OUTPUT method.
Programming Manual, 10/2015, 6FC5397-3DP40-5BA3
SINUMERIK Integrate Run MyScreens