EasyManua.ls Logo

Siemens SINUMERIK

Siemens SINUMERIK
736 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Programming
2.7 Functions
Expanding the user interface
Commissioning Manual, 11/2006, 6FC5397-0DP10-0BA0
2-73
VAR1.val="Otto"
END_SUB ; End of subprogram
//END ; Block end
2.7.3 Subprogram call (CALL)
Description
The CALL function can be used to call a loaded subprogram from any point in a method.
Subprogram nesting is supported, i.e., you can call a subprogram from another subprogram.
Programming
Syntax: CALL
("Identifier")
Description: Subroutine call
Parameters: Identifier Name of subprogram
Example
//M(SCREEN FORM1)
VAR1 = ...
VAR2 = ...
LOAD
...
LB("PROG1") ; Load block
...
END_LOAD
CHANGE()
...
CALL("UP1") ; Call subroutine and execute
...
END_CHANGE
...
//END

Table of Contents

Other manuals for Siemens SINUMERIK

Related product manuals