Meaning
CALLPATH: Keyword for the programmable search path exten‐
sion.
Is programmed in a separate part program line.
<path name>: Constant or variable, STRING type.
Contains the absolute path name of the directory
by which the search path should be extended.
Rules regarding path data, see "Addressing pro‐
gram memory files (Page 554)".
Example
The search path should be extended by a certain workpiece directory:
Program code
...
CALLPATH ("/_N_WKS_DIR/_N_MYWPD_WPD")
...
This means that the following search path is set (position 5. is new):
1. Actual directory/
name
2. Actual directory/
name_SPF
3. Actual directory/
name_MPF
4. //NC:/_N_SPF_DIR /
name_SPF
5. /_N_WKS_DIR/_N_MYWPD_WPD/name_SPF
6. /N_CUS_DIR/
name_SPF
7. /_N_CMA_DIR/
name_SPF
8. /_N_CST_DIR/
name_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.
● CALLPATH can also be programmed in 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
_
N
_
CH1_UFR_INI). The search path is again reset.
3.2.3.10 Execute external subroutine (EXTCALL)
A part program can be loaded from an external memory and executed with the EXTCALL
command.
Work preparation
3.2 Subprogram technique
NC programming
534 Programming Manual, 12/2019, 6FC5398-2EP40-0BA0