Siemens SINUMERIK 840D sl Programming Manual page 513

Nc programming
Hide thumbs Also See for SINUMERIK 840D sl:
Table of Contents

Advertisement

Meaning
RET:
<target block>:
<block after target
block>:
NC programming
Programming Manual, 12/2019, 6FC5398-2EP40-0BA0
End of subprogram
Declares as jump target the block where program execution
should be resumed.
If parameter <number of return jump levels> is not programmed,
then the jump target is in the program from which the current sub‐
program was called.
Possible data include:
<block number>
Number of the target block.
The search for the block number is made in
the program to which a return jump is made -
initially toward the end of the program.
<jump marker>
Jump marker, which must be available in the
program into which a return jump is made.
The search for the jump marker is made in the
program to which a return jump is made - ini‐
tially toward the end of the program.
<character
Character string that must be available in the
string>
program into which a return jump is made
(e.g. program or variable name).
The search for the character string is made in
the program to which a return jump is made -
initially toward the end of the program.
The following rules apply when programming
the character string:
● Blank at the end (contrary to the jump
marker, which is identified by ":" at the
end).
● Before the character string only one block
number and/or a jump marker may be
set, no program commands.
The parameter specifies as to whether program processing
should be continued in the block specified under parameter <tar‐
get block> or in the following block.
Type:
INT
Value:
0
The return jump is made to the block specified
in parameter <target block>.
> 0
The return jump is made to the next block
specified in parameter <target block>.
Work preparation
3.2 Subprogram technique
513

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 840de sl

Table of Contents