EasyManua.ls Logo

Siemens SINUMERIK 810D

Siemens SINUMERIK 810D
687 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...
Subroutines, Macros
2.2 Subroutines with SAVE mechanism
Job planning
Programming Manual, 03/2006 Edition, 6FC5398-2BP10-1BA0
2-3
Nesting of subroutines
A subroutine can itself contain subroutine calls. This subroutine also contains another
subroutine call, etc.
The maximum number of program levels or the nesting depth is 12.
This means: Up to 11 nested subroutine calls can be issued from the main program.
0DLQ
SURJUDP
6XE
URXWLQH
6XE
URXWLQH
6XE
3URJU
PD[
Restrictions on subroutines in interrupt routines and the cycle processing
It is also possible to call subroutines in interrupt routines. For work with subroutines you must
keep four levels free or only nest seven subroutine calls.
For SIEMENS machining and measuring cycles you require three levels. If you call a cycle
from a subroutine you must do this no deeper than level 5 (if four levels are reserved for
interrupt routines).
2.2 2.2 Subroutines with SAVE mechanism
Function
For this, specify the additional command SAVE with the definition statement with PROC.

Table of Contents

Other manuals for Siemens SINUMERIK 810D

Related product manuals