Example
1. Subprogram with
Program code
N10 G64 F2000 G91 X10 Y10
N20 X10 Z10
N30 M17
2. Subprogram with
Program code
N10 G64 F2000 G91 X10 Y10
N20 X10 Z10 M17
1.24.2.9
RET subprogram return
Function
The
jump command.
prompts the return to the calling program at the part program block following the subprogram
call.
Note
Parameters can be programmed to change the return jump behavior of
"Parameterizable subprogram return jump (RET ...) (Page 178)").
Application
The
be interrupted by the return jump.
Requirement
The
attribute.
Job Planning
Programming Manual, 03/2013, 6FC5398-2BP40-3BA1
in a separate block
M17
in the last traversing block
M17
command can also be used in the subprogram as a substitute for the
RET
must be programmed in a separate part program block. Like
RET
operation should then be used if a G64 continuous-path mode (
RET
command can only be used in subprograms, which were not defined with the
RET
Comment
; Return jump with interruption of continuous-path
mode.
Comment
; Return jump without interruption of continuous-
path mode.
Flexible NC programming
1.24 Subprogram technique
return
M17
,
M17
RET
(see
RET
to
) is not to
G641
G645
SAVE
177