Programming
Syntax: CALL
("Identifier")
Description: Subprogram call
Parameter: Identifier Name of subprogram
Example
//M(SCREEN FORM1)
DEF VAR1 = ...
DEF VAR2 = ...
CHANGE(VAR1)
...
CALL("MY_UP1") ; Call subprogram and execute
...
END_CHANGE
CHANGE(VAR2)
...
CALL("MY_UP1") ; Call subprogram and execute
...
END_CHANGE
SUB(MY_UP1)
;Do something
END_SUB
//END
6.3.3 Define block (//B)
Description
In the program file, subprograms are identified by the block identifier //B and terminated with //
END. Several subprograms can be defined under each block identifier.
Note
The variables used in the subprogram must be defined in the dialog in which the subprogram
is called.
Programming commands
6.3 Functions
SINUMERIK Integrate Run MyScreens (BE2)
Programming Manual, 12/2017, 6FC5397-1DP40-6BA1 141