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
151
Using the program name
When using the program name, e.g. in the context of a subprogram call, all combinations of
prefix, program name, and suffix are possible.
Example:
The subprogram with the program name "SUB_PROG" can be started using the following
calls:
1.
SUB_PROG
2.
_N_SUB_PROG
3.
SUB_PROG_SPF
4.
_N_SUB_PROG_SPF
Note
Main programs and subprograms with the same name
If there are main programs (.MPF) and subprograms (.SPF) with the same program name,
when the program name is used in the part program, the relevant suffix must be specified in
order that the program can be uniquely identified.
1.25.1.3 Nesting of subprograms
A main program can call subprograms which in turn call more subprograms. As such, the
sequences of the programs are nested within each other. Each program runs on a dedicated
program level.
Nesting depth
The NC language currently provides 16 program levels. The main program always runs at
the uppermost program level, 0. A subprogram always runs at the next lowest program level
following the call. Program level 1 is, therefore, the first subprogram level.
Division of program levels:
Program level 0: Main program level
Program level 1 to 15: Subprogram level 1 to 15
...
...
0DLQ
SURJU
6XE
SURJU
6XE
SURJU
6XE
SURJU
3URJUDPOHYHOVPD[

Table of Contents

Other manuals for Siemens SINUMERIK 828D

Related product manuals