Siemens SINUMERIK 828D Programming Manual page 177

Hide thumbs Also See for SINUMERIK 828D:
Table of Contents

Advertisement

General conditions
When making a return jump through several program levels, 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
subprogram, then the modal subprogram remains active.
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
N10010 CALL "UP1"
N11000 PROC UP1
N11010 CALL "UP2"
N10900
N10910 MCALL
N10920 G0 G60 G40 M5
Job planning
Programming Manual, 07/2010, 6FC5398-2BP40-0BA0
CAUTION
N12000 PROC UP2
...
N19000 PROC ASUB
...
N19100 RET("N10900", ,$P_STACK)
Flexible NC programming
1.25 Subprogram technique
instructions of the
SAVE
is programmed for the modal
MCALL
Comment
; Program level 0 (main program)
; Program level 1
; Program level 2
; Program level 3 (ASUB execution)
; Subprogram return.
; Resumption in main program.
; Deactivate modal subprogram.
; Correct additional modal settings.
177

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents