EasyManuals Logo

Siemens SINUMERIK 810D Programming Manual

Siemens SINUMERIK 810D
687 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #109 background imageLoading...
Page #109 background image
Subroutines, Macros
2.12 Extend search path for subroutine calls with CALLPATH
Job planning
Programming Manual, 03/2006 Edition, 6FC5398-2BP10-1BA0
2-25
Programming
Adding subroutines stored outside the existing NCK file system to the existing NCK file
system.
CALLPATH <path_name>
Parameters
CALLPATH Keyword for programmable search path extension. The CALLPATH
command is programmed in a separate parts program line.
<path_name> Variable or constant of type string. The field contains the
absolute path of a directory beginning with "/" to extend the
search path. The path must be specified complete with
prefixes and suffixes (e.g. /_N_WKS_DIR/_N_WST_WPD). If
<path_name> contains the empty string or if CALLPATH is
called without parameters, the search path statement will be
reset. The maximum path length is 128 bytes.
Note
CALLPATH checks whether the programmed path name really exists. An error aborts
program execution with correction block alarm 14009.
Example
CALLPATH ("/_N_WKS_DIR/_N_MYWPD_WPD")
That sets this search path (position 5 is new):
1. current directory/subroutine identifier
2. current directory/subroutine identifier_SPF
3. current directory/subroutine identifier_MPF
4. /_N_SPF_DIR/subroutine identifier_SPF
5. /_N_WKS_DIR/_N_MYWPD/subroutine identifier_SPF
6. N_CUS_DIR/_N_MYWPD/subroutine identifier_SPF
7. /_N_CMA_DIR/subroutine identifier_SPF
8. /_N_CST_DIR/subroutine identifier_SPF
Note
CALLPATH can also be programmed in INI files. Then it applies for the duration of
execution of the INI file (WPD INI file or initialization program for NC active data, e.g.
Frames in the 1st channel
_
N
_
CH1_UFR_INI). The initialization program is then reset
again.

Table of Contents

Other manuals for Siemens SINUMERIK 810D

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Siemens SINUMERIK 810D and is the answer not in the manual?

Siemens SINUMERIK 810D Specifications

General IconGeneral
BrandSiemens
ModelSINUMERIK 810D
CategoryControl Unit
LanguageEnglish

Related product manuals