File and Program Management
2.1 Program memory
Job planning
210 Programming Manual, 07/2010, 6FC5398-2BP40-0BA0
Select workpiece for machining
A workpiece directory can be selected for execution in a channel. If a main program with the
same name or only a single main program (_MPF) is stored in this directory, this is
automatically selected for execution.
References:
/BAD/ Operating Manual HMI Advanced; "Job list" and "Selecting a program for execution"
Search paths for 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.
Subprogram call with absolute path
Example
Program code
...
CALL"/_N_CST_DIR/_N_CYCLE1_SPF"
...
Subprogram call without absolute path
Programs are usually called without specifying a path.
Example
Program code
...
CYCLE1
...
The directories are searched for the called program in the following sequence:
No. Folder Significance
1 Current directory /
name
Workpiece main 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_CMA_DIR /
name_SPF
Manufacturer cycles
7 /_N_CST_DIR /
name_SPF
Standard cycles