Siemens SINUMERIK 840D Operator's Manual page 233

Computerized numerical control system for machine tools
Hide thumbs Also See for SINUMERIK 840D:
Table of Contents

Advertisement

6
03.04
Selection
Find path for program
call
 Siemens AG, 2004, All rights reserved
SINUMERIK 840D/810D Operator's Guide HMI Embedded (BEM) – 03.04 Edition
Example:
The workpiece directory
/WCS.DIR/SHAFT.WPD
contains files
SHAFT.SPF and SHAFT.MPF.
When you select workpiece directory SHAFT.WPD you implicitly
select program SHAFT.MPF.
If the call path is not explicitly specified in the part program when a
subroutine (or an initialization file) is called, the called program is
located according to the predefined search strategy.
Case 1:
When a subprogram is called by
name with specification of the file type ("identifier" or "extension"),
e.g. SHAFT.MPF,
the system searches through directories in the following order:
1. Current directory / name.typ
2. /SPF.DIR / name.typ
3. /CUS.DIR / name.typ
4. /CMA.DIR / name.typ
5. /CST.DIR / name.typ
Case 2:
When a subprogram is called by
name without specifying the file type ("identifier" or "extension"),
e.g. SHAFT1,
the system searches through directories in the following order:
1. Current directory / name
2. Current directory / name.SPF
3. Current directory / name.MPF
4. /SPF.DIR / name.SPF
5. /CUS.DIR / name.SPF
6. /CMA.DIR / name.SPF
7. /CST.DIR / name.SPF
/PGA/ Programming Guide, Advanced
Program Operating Area
6.7 Manage programs
Workpiece/standard
directory MPF.DIR
Global subprograms
User cycles
Manufacturer cycles
Standard cycles
Workpiece/standard
Directory MPF.DIR
Subroutines
User cycles
Manufacturer cycles
Standard cycles
6
6-233

Advertisement

Table of Contents
loading

Table of Contents