Example
Program code
CALLPATH ("/_N_WKS_DIR/_N_MYWPD_WPD")
This means that the following search path is set (position 5. is new):
1. Current directory / subprogram name
2. Current directory / subprogram identifier_SPF
3. Current directory / subprogram identifier_MPF
4. /_N_SPF_DIR/subprogram identifier_SPF
5. /_N_WKS_DIR/_N_MYWPD/subprogram identifier_SPF
6. /N_CUS_DIR/_N_MYWPD/subprogram identifier_SPF
7. /_N_CMA_DIR/subprogram identifier_SPF
8. /_N_CST_DIR/subprogram identifier_SPF
Supplementary conditions
•
CALLPATH checks whether the programmed path name actually exists. In the case of an
error part program execution is interrupted with correction block alarm 14009.
•
CALLPATHcan also be programmed INI files. It is only effective for the time it takes to
process the INI file(WPD-INI file or initialization program for NC active data, e.g. frames in
the 1st channel
Job planning
Programming Manual, 02/2011, 6FC5398-2BP40-1BA0
_
_
N
CH1_UFR_INI). The search path is again reset.
Flexible NC programming
1.25 Subprogram technique
207