3
10.04 Programming with ShopMill
3.10 Miscellaneous functions
3
ï›™ Siemens AG, 2004. All rights reserved
SINUMERIK 840D/840Di/810D Operation/Programming ShopMill (BAS) – 10.04 Edition 3-297
îš¾ How to create a ShopMill or G code program that you can call as
a subroutine in another program.
îš¾ Place the cursor in the machining plan of the main program on the
program block after which the subroutine call is to be inserted.
Sub-
routine
îš¾ Press the "Misc." and "Subroutine" softkeys.
îš¾ Enter the path of the subroutine if the desired subroutine is not
stored in the same directory as the main program.
Directory Path to enter
ShopMill ShopMill
Separate directory XYZ XYZ
Part programs MPF
Subprograms SPF
îš¾ Enter the name of the subroutine that you want to insert.
You only need to enter the file extension (*.mpf or *.spf) if the
subroutine does not have the file extension specified for the
directory in which the subroutine is stored.
Directory Specified file extension
ShopMill *.mpf
Separate directory XYZ *.mpf
Part programs *.mpf
Subprograms *.spf
The subroutine is thus executed in the position pattern.
îš¾ Press the "Accept" softkey.
The subroutine call is inserted in the main program.