Siemens SINUMERIK 840D sl Operating Manual page 559

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

Advertisement

You can also call another subprogram in the subprogram. The maximum nesting depth is 15
subprograms.
Note
You cannot insert subprograms in linked blocks.
If you want to call a ShopTurn program as a subprogram, the program must already have been
calculated once (load or simulate program in the "Machine Auto" mode). This is not necessary
for G code subprograms.
Program clipboard
If you use the "Execution from external storage (EES)" software option, the subprogram can
be stored locally or externally in an arbitrary program memory configured for EES.
If you use the "CNC user memory extended" software option, the subprogram can be stored
on the system CF card in a program memory configured for EES.
Without these two software option, the subprogram must always be stored in the NCK work
memory (in a separate "XYZ" directory or in the "Subprograms" directory). If you still want to
call a subprogram located on another drive, you can use G code command "EXTCALL".
Program header
Please note that when a subprogram is called, the settings in the program header of the
subprogram are evaluated. These settings also remain active even after the subprogram has
been exited.
If you wish to activate the settings from the program header for the main program again, you
can make the settings again in the main program after calling the subprogram.
Procedure
Turning
Operating Manual, 05/2017, A5E40868721
1.
Create a ShopTurn or G code program that you would like to call as a
subprogram in another program.
2.
Position the cursor in the work plan or in the program view of the main
program on the program block after which you wish to call the subpro‐
gram.
3.
Press the "Various" and "Subprogram" softkeys.
4.
Enter the path of the subprogram if the desired subprogram is not stored
in the same directory as the main program.
Programming technology functions (cycles)
10.6 Further cycles and functions
559

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 828d

Table of Contents