3
08.97 File and Program Management
3.2 Pro
ram memor
3
840D
NCU 571
840D
NCU 572
NCU 573
FM-NC 810D 840Di
Siemens AG 2000. All rights reserved
SINUMERIK 840D/840Di/810D/FM-NC Programming Guide Advanced (PGA)
−
04.00 Edition
3-127
Select workpiece for machining
A workpiece directory can be selected for execution
in a channel.
If a main program with the
same name
is stored in
this directory, this is automatically selected for
execution.
Example:
The workpiece directory
/_N_WCS_DIR/_N_SHAFT_WPD
contains the files
_N_SHAFT_SPF
and
_N_SHAFT_MPF
.
SW 5 and higher (MMC 102/103 only):
See "Operator's Guide" /BA/ Section on Job list and
Selecting program for execution.
Search path with subprogram call
If the search path is not specified explicitly in the part
program when a subprogram (or initialization file) is
called, the calling program searches in a fixed
search path.
Example of subprogram call with absolute path
specification:
CALL"/_N_CST_DIR/_N_CYCLE1_SPF"
Programs are usually called without specifying a
path:
Example:
CYCLE1
Search path sequence
1. Current directory
/
name
Workpiece directory or
standard directory
_N_MPF_DIR
2. Current directory
/
name_SPF
3. Current directory
/
name_MPF
4.
/_N_SPF_DIR /
name_SPF
Global subprograms
5.
/_N_CUS_DIR /
name_SPF
User cycles
6.
/_N_CST_DIR /
name_SPF
Standard cycles