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: SUSPEND
<instruction>
END_SUSPEND
Description: Interruption of the screen
Parameters: - None -
Example
SUSPEND
MyVar1 = MyVar1 + 1
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) ; Original, corresponds to Version 0
DEF var101(1)=(S//"Hello") ; Extension as of Version 1
When writing the OUTPUT method, you can specify which variables are written, with reference
to a particular version identifier.
Example:
OUTPUT(NC1) ; Only the variables of the original are offered in
the OUTPUT method.
Programming commands
6.2 Methods
SINUMERIK Integrate Run MyScreens
106 Programming Manual, 10/2015, 6FC5397-3DP40-5BA3