Siemens SINUMERIK 840D sl Programming Manual page 101

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

Advertisement

3. <number of return levels>
The program is resumed in the current program level minus <number of return levels>.
Impermissible return levels
If, for the number of return levels,
• a negative value or
• a value larger than the currently active program levels –(maximum 11)
is programmed, alarm 14091 is output with parameter 5.
Return with SAVE statements
On return over two or more program levels, the SAVE statements of each program level are
evaluated.
Modal subroutine active on return
If a modal subroutine is active on a return over two or more program levels and if the
deselection command MCALL is programmed for the modal subroutine in one of the skipped
subroutines, the modal subroutine will remain active.
Job planning
Programming Manual, 03/2006 Edition, 6FC5398-2BP10-1BA0
Subroutines, Macros
2.5 Parameterized subroutine return (RET)
2-17

Advertisement

Table of Contents
loading

Table of Contents