Extend Search Path For Subprogram Calls (Callpath) - Siemens SINUMERIK 840D sl Programming Manual

Nc programming
Hide thumbs Also See for SINUMERIK 840D sl:
Table of Contents

Advertisement

Meaning
PCALL:
<path/program name>:
<parameter 1>, ...:
Example
Program code
PCALL/_N_WKS_DIR/_N_SHAFT_WPD/SHAFT(parameter1,parameter2,...)
3.2.3.9

Extend search path for subprogram calls (CALLPATH)

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.
Another application option is possible in the EES mode "EES without GDIR", if another
directory is used on an external program memory to save global subroutines. In this case, using
CALLPATH the search path can be extended by this subprogram directory.
The search path extension is made before the entry for user cycles (_N_CUS_DIR).
The search path extension is deselected again as a result of the following events:
● CALLPATH with blanks
● CALLPATH without parameter
● End of part program
● Reset
Syntax
CALLPATH("<path name>")
NC programming
Programming Manual, 12/2019, 6FC5398-2EP40-0BA0
Keyword for subprogram call with absolute path name
Absolute path data including subprogram names.
Rules regarding path data, see "Addressing program memory
files (Page 554)".
If no absolute path name is specified, PCALL behaves like a
standard subprogram call with a program identifier.
The program name is specified without prefix and without file
identifier. If the program name is to be programmed with prefix
and file identifier, then it must be explicitly declared with prefix and
file identifier using the EXTERN command.
Actual parameters in accordance with the PROC operation of the
subprogram.
Work preparation
3.2 Subprogram technique
533

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 840de sl

Table of Contents