Siemens SINUMERIK 840D sl Programming Manual page 196

Job planning
Hide thumbs Also See for SINUMERIK 840D sl:
Table of Contents

Advertisement

Flexible NC programming
1.25 Subprogram technique
Syntax
RET("<destination block>")
RET("<destination block>",<block after destination block>)
RET("<destination block>",<block after destination block> <number of
return jump levels>)
RET("<destination block>", ,<number of return jump levels>)
RET("<destination block>",<block after destination block>,<number of
return jump levels>,
<return jump to the beginning of the program>)
RET( , ,<number of return jump levels>,<return jump to the beginning
of the program>)
Significance
RET:
<destination block>:
196
Subprogram end (use instead of M17)
Return jump parameter 1
Declares as jump destination the block where program
execution should be resumed.
If the return jump parameter 3 is not programmed, then
the jump destination is in the program from which the
current subprogram was called.
Possible data include:
"<block number>"
Number of the destination block
"<jump marker>"
Jump marker that must be set in the
destination block.
"<character
Character string that must known in
string>"
the program (e.g. program or
variable name).
The following rules apply when
programming the character string:
• Blank at the end (contrary to the
• Before the character string only
Programming Manual, 06/2009, 6FC5398-2BP20-0BA0
jump marker, that is designated
using ":" at the end).
one block number and/or a jump
marker may be set, no program
commands.
Job Planning

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 828dSinumerik 840de sl

Table of Contents