Siemens SINUMERIK 840DE sl Commissioning Manual page 1127

Basesoftware and operating software
Hide thumbs Also See for SINUMERIK 840DE sl:
Table of Contents

Advertisement

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 (BE2)
Programming Manual, 12/2017, 6FC5397-1DP40-6BA1
("Identifier")
CALL
Subprogram call
Identifier
Name of subprogram
; Call subprogram and execute
; Call subprogram and execute
;Do something
Programming commands
6.3 Functions
141

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 840d sl

Table of Contents