Programming technological functions (cycles)
8.6 Further cycles and functions
Tolerance of the machining axis
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 programs.
Identical machining steps therefore only have to be programmed once.
ShopMill does not differentiate between main programs and subprograms. This means that
you can call a "standard" machining step or G code program as subprogram in another
machining step program.
You can also call another subprogram in the subprogram. The maximum nesting depth is 8
You cannot insert subprograms into linked blocks.
If you want to call machining step program as subprogram, the program must already have
been calculated once (load or simulate program in Machine Auto mode). This is not
necessary for G code subprograms.
The subprogram must always be stored in the NCK work memory (in a separate directory
"XYZ" or in the "ShopMill", "Part programs", "Subprograms" directories).
If you want to call a subprogram located on another drive, you can use G code command
Please note that, when a subprogram is called, ShopMill evaluates the settings in the
program header of the subprogram. These settings also remain active even after the
subprogram has ended.
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.
Generate a ShopMill or G code program that you wish to call as a
subprogram in another program.
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
Operating Manual, 03/2010, 6FC5398-7CP20-1BA0