EasyManuals Logo
Home>Siemens>Control Unit>SINUMERIK

Siemens SINUMERIK Commissioning Manual

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
Page #446 background imageLoading...
Page #446 background image
Programming
2.7 Functions
Expanding the user interface
2-96 Commissioning Manual, 11/2006, 6FC5397-0DP10-0BA0
2.7.23 RETURN
Description
The RETURN function can be used to prematurely terminate execution of the current
subprogram and to return to the branch point of the last CALL command.
If no RETURN command is configured in the subprogram, the subprogram will run to the end
before returning to the branch point.
Programming
Syntax: RETURN
Description: Returns to the branch point
Parameters: - None -
Example
//B(PROG1) ; Block start
SUB(UP2) ; Start of subprogram
IF VAR1.val=="Otto"
VAR1.val="Hans"
RETURN ; If the variable value = Otto, the value "Hans"
is assigned to the variable, and the subprogram
ends at this point.
ENDIF
VAR1.val="Otto" ; If the variable value Otto, the value "Otto"
is assigned to the variable.
END_SUB ; End of subroutine
//END ; Block end
2.7.24 Recompile
Description
In the programming support system, it is possible to recompile NC code that has been
generated with the GC function and to display the variable values in the input/output field of
the associated entry dialog again.

Table of Contents

Other manuals for Siemens SINUMERIK

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Siemens SINUMERIK and is the answer not in the manual?

Siemens SINUMERIK Specifications

General IconGeneral
BrandSiemens
ModelSINUMERIK
CategoryControl Unit
LanguageEnglish

Related product manuals