EasyManua.ls Logo

Siemens SINUMERIK 828D

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
Loading...
Flexible NC programming
1.25 Subprogram technique
Job planning
Programming Manual, 07/2010, 6FC5398-2BP40-0BA0
177
General conditions
When making a return jump through several program levels, the SAVE instructions of the
individual program levels are evaluated.
If, for a return jump over several program levels, a modal subprogram is active and if in one
of the skipped programs the de-selection command
MCALL is programmed for the modal
subprogram, then the modal subprogram remains active.
CAUTION
The programmer must carefully ensure that for a return jump over several program levels,
the program continues with the correct modal settings. This can be achieved, e.g. by
programming an appropriate main block.
Examples
Example 1: Resuming in the main program after ASUB execution
Programming Comment
N10010 CALL "UP1" ; Program level 0 (main program)
N11000 PROC UP1 ; Program level 1
N11010 CALL "UP2"
N12000 PROC UP2
;
Program level 2
...
N19000 PROC ASUB ; Program level 3 (ASUB execution)
...
N19100 RET("N10900", ,$P_STACK) ; Subprogram return.
N10900 ; Resumption in main program.
N10910 MCALL ; Deactivate modal subprogram.
N10920 G0 G60 G40 M5 ; Correct additional modal settings.

Table of Contents

Other manuals for Siemens SINUMERIK 828D

Related product manuals