Siemens SINUMERIK 840D sl Programming Manual page 131

Job planning
Hide thumbs Also See for SINUMERIK 840D sl:
Table of Contents

Advertisement

Search paths for subroutine call
If the search path is not specified explicitly in the parts program when a subroutine (or
initialization file) is called, the calling program searches in a fixed search path.
Example of subroutine call with absolute path specification:
CALL"/_N_CST_DIR/_N_CYCLE1_SPF"
Programs are usually called without specifying a path:
Example:
CYCLE1
Search path order
1.
2.
3.
4.
5.
6.
7.
Programming search paths for subroutine call
CALLPATH command
The CALLPATH part program command is used to extend the search path of a subroutine
call.
Example:
CALLPATH ("/_N_WKS_DIR/_N_MYWPD_WPD")
The search path is stored in front of position 5 (user cycle) in accordance with the specified
programming.
For further information about the programmable search path for subroutine calls with
CALLPATH, see section "Extending the search path for subroutine calls with CALLPATH".
Job planning
Programming Manual, 03/2006 Edition, 6FC5398-2BP10-1BA0
name
Current directory /
name_SPF
Current directory /
name_MPF
Current directory /
name_SPF
/_N_SPF_DIR /
name_SPF
/_N_CUS_DIR /
name_SPF
/_N_CMA_DIR /
name_SPF
/_N_CST_DIR /
File and Program Management
3.1 Program memory
Workpiece directory or
standard directory
_N_MPF_DIR
Global subroutines
User cycles
Manufacturer cycles
Standard cycles
3-5

Advertisement

Table of Contents
loading

Table of Contents