Programming
Syntax:
Description:
Parameter:
Example
//M(SCREEN FORM1)
DEF VAR1 = ...
DEF VAR2 = ...
CHANGE(VAR1)
...
CALL("MY_UP1")
...
END_CHANGE
CHANGE(VAR2)
...
CALL("MY_UP1")
...
END_CHANGE
SUB(MY_UP1)
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.
SINUMERIK Integrate Run MyScreens
Programming Manual, 10/2015, 6FC5397-3DP40-5BA3
("Identifier")
CALL
Subprogram call
Identifier
Name of subprogram
; Call subprogram and execute
; Call subprogram and execute
;Do something
Programming commands
6.3 Functions
111