7
Mold Making 10.04
7.3 Creatin
a
ro
ram
7
ï›™ Siemens AG, 2004. All rights reserved
7-390 SINUMERIK 840D/840Di/810D Operation/Programming ShopMill (BAS) – 10.04 Edition
7.3.4 Subroutine call
The geometry program is called from the technology program as a
subroutine. Because the geometry programs are not stored in the NC
working memory but on the hard disk of the PCU 50 or on the
compact flash card of the PCU 20 or on a network drive, you only
have to call the subroutine with the G code command "EXTCALL".
PCU 50
The technology program and the geometry programs are in the same
directory as the hard disk.
EXTCALL "Geometry_program"
Example: EXTCALL "ROUGHING"
PCU 20
The program syntax varies slightly depending on the storage location
of the geometry program on the compact flash card.
• The geometry program is directly on the compact flash card.
EXTCALL ("C:\Geometry_program.mpf")
Example: EXTCALL ("C:\Roughing.mpf")
• The geometry program is in a directory on the compact flash card.
EXTCALL ("C:\Directory\Geometry_program.mpf")
Example: EXTCALL ("C:\Mold\Roughing.mpf")
Network drive
If the geometry program is on a network drive connected via the
Ethernet, the program syntax is as follows.
EXTCALL ("Path\Geometry_program.mpf")
Example: EXTCALL ("H:\Mold\Roughing.mpf")