EasyManuals Logo

Siemens SINUMERIK 840D sl Programming Manual

Siemens SINUMERIK 840D sl
1334 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 #511 background imageLoading...
Page #511 background image
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.
3.2.2.9 RET subprogram return
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 512)").
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.
Requirement
The RET command can only be used in subprograms, which were not defined with the SAVE
attribute.
Syntax
PROC <program name>
...
RET
Example
Main program:
Program code Comment
PROC MAIN_PROGRAM ; Start of the program
...
N50 SUB_PROG ; Subprogram call: SUB_PROG
N60 ...
...
N100 M30 ; End of program
Work preparation
3.2 Subprogram technique
NC programming
Programming Manual, 12/2019, 6FC5398-2EP40-0BA0 511

Table of Contents

Other manuals for Siemens SINUMERIK 840D sl

Questions and Answers:

Question and Answer IconNeed help?

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

Siemens SINUMERIK 840D sl Specifications

General IconGeneral
Control TypeCNC
Number of AxesUp to 31
Max Number of Channels10
InterfacesEthernet, PROFIBUS, PROFINET, USB
Interpolation5-axis interpolation
Operating Temperature0°C to 45°C
Relative HumidityUp to 95% (non-condensing)
DisplayTFT color display, various sizes
Programming LanguagesDIN/ISO
Safety FeaturesSafety Integrated
PLCIntegrated PLC S7-300
Drive InterfaceSINAMICS S120
Data StorageCF card, USB
Operating SystemWindows-based

Related product manuals