EasyManuals Logo
Home>Siemens>Control Systems>SINUMERIK 828D

Siemens SINUMERIK 828D Programming Manual

Siemens SINUMERIK 828D
822 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 #173 background imageLoading...
Page #173 background image
Flexible NC programming
1.25 Subprogram technique
Job planning
Programming Manual, 07/2010, 6FC5398-2BP40-0BA0
173
Example
1. Subprogram with M17 in a separate block
Program code Comment
N10 G64 F2000 G91 X10 Y10
N20 X10 Z10
N30 M17
;
Return jump with interruption of continuous-path
mode.
2. Subprogram with
M17 in the last traversing block
Program code Comment
N10 G64 F2000 G91 X10 Y10
N20 X10 Z10 M17
;
Return jump without interruption of continuous-
path mode.
1.25.2.9 RET subprogram return
Function
The RET command can also be used in the subprogram as a substitute for the M17 return
jump command.
RET must be programmed in a separate part program block. Like M17, RET
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
RET
(see "
Parameterizable subprogram return jump (RET ...) (Page 174)").
Application
The RET operation should then be used if a G64 continuous-path mode (G641 to G645) is not to
be interrupted by the return jump.
Precondition
The RET command can only be used in subprograms, which were not defined with the SAVE
attribute.
Syntax
PROC <program name>
...
RET

Table of Contents

Other manuals for Siemens SINUMERIK 828D

Questions and Answers:

Question and Answer IconNeed help?

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

Siemens SINUMERIK 828D Specifications

General IconGeneral
BrandSiemens
ModelSINUMERIK 828D
CategoryControl Systems
LanguageEnglish

Related product manuals