EasyManuals Logo

Siemens SINUMERIK 828D User Manual

Siemens SINUMERIK 828D
926 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
Page #572 background imageLoading...
Page #572 background image
Programming technology functions (cycles)
9.6 Further cycles and functions
Turning
572 Operating Manual, 01/2015, 6FC5398-8CP40-5BA2
9.6.4
Subroutines
If you require the same machining steps when programming different workpieces, you can
define these machining steps in a separate subprogram. You can then call this subprogram
in any program.
Identical machining steps therefore only have to be programmed once.
A distinction is not made between the main program and subprograms. This means that you
can call a "standard" ShopTurn or G code program in another ShopTurn program as a
subprogram.
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.
Without the "Execution from external storage (EES)" 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
1.
Create a ShopTurn or G code pr
ogram 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 subpr
o-
gram.

Table of Contents

Other manuals for Siemens SINUMERIK 828D

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Siemens SINUMERIK 828D and is the answer not in the manual?

Siemens SINUMERIK 828D Specifications

General IconGeneral
Control TypeCNC
Operating SystemWindows Embedded
ProcessorIntel Atom
Display10.4" color TFT display
InterfacesEthernet, USB
ProgrammingShopMill, ShopTurn
Operation Panel Size10.4"
Protection ClassIP65
PLC Memory2 MB
Spindle Capacity4 spindles
Hard DriveCompactFlash

Related product manuals