Siemens SINUMERIK 840D sl Programming Manual page 185

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

Advertisement

Note
Accordingly, a subprogram can also be started as a main program.
Search strategy of the control:
Are there any *_MPF?
Are there any *_SPF?
This means: if the name of the subprogram to be called is identical to the name of the main
program, the main program that issued the call is called again. This is generally an
undesirable effect and must be avoided by assigning unique names to subprograms and
main programs.
Note
Subprograms not requiring parameter transfer can also be called from an initialization file.
Syntax
L<number>/<program name>
Note
The subprogram call must always be programmed in a separate NC block.
Meaning
:
L
<number>
<program name>
Job Planning
Programming Manual, 03/2013, 6FC5398-2BP40-3BA1
Address for the subprogram call
:
Name of the subprogram
Type:
Value:
:
Name of the subprogram (or main program)
INT
Maximum 7 decimal places
Notice:
Leading zeros are significant in names (⇒ L123,
L0123 and L00123 are three different subprograms).
Flexible NC programming
1.24 Subprogram technique
185

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 828dSinumerik 840de sl

Table of Contents