Flexible NC programming
1.25 Subprogram technique
1.25.3.9
Extend search path for subprogram calls (CALLPATH)
Function
The search path for subprogram calls can be extended using the CALLPATH command.
This means that also subprograms can be called from a non-selected workpiece directory
without having to specify the complete, absolute path name of the subprogram.
The search path extension is made before the entry for user cycles (_N_CUS_DIR).
The search path extension is de-selected again as a result of the following events:
● CALLPATH with blanks
● CALLPATH without parameter
● Part program end
● Reset
Syntax
CALLPATH("<path name>")
Significance
CALLPATH:
<path name>:
218
Keyword for the programmable search path extension.
Is programmed in a separate part program line.
Constant or variable, type STRING. Contains the absolute path name of
a directory by which the search path should be extended. The path
name starts with "/". The path must be completely specified using
prefixes and suffixes. The maximum path length is 128 bytes.
If the <path name> contains a blank or if CALLPATH is called without
parameter, then search path instruction is reset again.
Programming Manual, 06/2009, 6FC5398-2BP20-0BA0
Job Planning