Execute External Subroutine (Extcall) - Siemens SINUMERIK 840D sl Programming Manual

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

Advertisement

Work preparation
3.2 Subprogram technique
Meaning
CALLPATH:
<path name>:
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/
2. Actual directory/
3. Actual directory/
4. //NC:/_N_SPF_DIR /
5. /_N_WKS_DIR/_N_MYWPD_WPD/name_SPF
6. /N_CUS_DIR/
7. /_N_CMA_DIR/
8. /_N_CST_DIR/
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
3.2.3.10

Execute external subroutine (EXTCALL)

A part program can be loaded from an external memory and executed with the EXTCALL
command.
534
name
name_SPF
name_MPF
name_SPF
name_SPF
name_SPF
name_SPF
_ N _ CH1_UFR_INI). The search path is again reset.
Keyword for the programmable search path exten‐
sion.
Is programmed in a separate part program line.
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)".
Programming Manual, 12/2019, 6FC5398-2EP40-0BA0
NC programming

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 840de sl

Table of Contents