EasyManua.ls Logo

Siemens SINUMERIK 840DE SL - Page 536

Siemens SINUMERIK 840DE SL
1334 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Meaning
EXTCALL: Command for calling an external subprogram.
"<Path/><Program name>": Constant/variable of type STRING
<Path/>: Absolute or relative path specifica‐
tion (optional)
<Program name>: The program name is specified with‐
out prefix "_N_".
The file extensions ("MPF", "SPF")
can be attached to program names
using the "_" or "." character (option‐
al).
Example:
"SHAFT"
"SHAFT_SPF"
"SHAFT.SPF"
Path specification: Short designations
The following short designations can be used to specify the path:
Local drive: "LOCAL_DRIVE:"
CF card: "CF_CARD:"
USB drive (operator panel front): "USB:"
Alternatively, the abbreviations "CF_CARD:" and "LOCAL_DRIVE:" can be used.
Example
Execute from local drive
The "MAIN.MPF" main program is stored in the NC memory and is selected for execution.
Subprogram "SP_1"
The external subprogram "SP_1.SPF" or "SP_1.MPF" is on the local drive in the directory "/
user/sinumerik/data/prog/WKS.DIR/WST1.WPD".
The path for the external program directory is set with:
SD42700 $SC_EXT_PROG_PATH = LOCAL_DRIVE:WKS.DIR/WST1.WPD
Note
Specification of the path for calling the external subprogram:
Without the default setting: "LOCAL_DRIVE:WKS.DIR/WST1.WPD/SP_1"
With the default setting: "SP_1"
Subprogram "SP_2"
The external subprogram "SP_2.SPF " or "SP_2.MPF " is in the WKS.DIR/WST1.WPD
directory of the USB drive. The default setting of the path to the external program directory is
Work preparation
3.2 Subprogram technique
NC programming
536 Programming Manual, 12/2019, 6FC5398-2EP40-0BA0

Table of Contents

Other manuals for Siemens SINUMERIK 840DE SL

Related product manuals