Subprogram Return M17 - Siemens SINUMERIK 840D sl Programming Manual

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

Advertisement

Flexible NC programming
1.24 Subprogram technique
Read subprogram with preparation and subprogram call
The cycle directories are processed in the same order both for subprograms preprocessed
with parameters during power up and during subprogram call.
1. _N_CUS_DIR user cycles
2. _N_CMA_DIR manufacturer cycles
3. _N_CST_DIR standard cycles
In the case of NC programs sharing the same name but having different characteristics, the
first
alarm message.
1.24.2.8

Subprogram return M17

Function
The return command
subprogram. It prompts the return to the calling program at the part program block following
the subprogram call.
Note
M17
Syntax
PROC <program name>
...
M17/M30
Supplementary conditions
Effect of the subprogram return on continuous-path mode
If
M17
the channel will be interrupted.
To avoid continuous-path mode being interrupted,
traversing block. Furthermore, the following machine data must be set to "0":
MD20800 $MC_SPF_END_TO_VDI = 0 (no M30/M17 output to the NC/PLC interface)
176
operation found is activated and the other
PROC
(or the part program end command
M17
and
are treated as equivalents in the NC language.
M30
(or
) appears on its own in the part program block, active continuous-path mode in
M30
operation is overlooked without an
PROC
) appears at the end of a
M30
(or
) has to be included in the last
M17
M30
Programming Manual, 03/2013, 6FC5398-2BP40-3BA1
Job Planning

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 828dSinumerik 840de sl

Table of Contents