Siemens SINUMERIK 840D sl Programming Manual page 203

Job planning
Hide thumbs Also See for SINUMERIK 840D sl:
Table of Contents

Advertisement

Meaning
EXTCALL
"<path><program name>"
Path specification: Short designations
The following short designations can be used to specify the path:
● User CF card: "CF_CARD:"
● USB drive (operator panel front): "USB:"
Example
The "MAIN.MPF" main program is stored in NC memory and is selected for execution.
Subprogram "SP_1"
The external subprogram "SP_1.SPF" or "SP_1.MPF" is on the user CF card in the
"/WKS.DIR /WST1.WPD" directory.
The path for the external program directory is set with:
SD42700 $SC_EXT_PROG_PATH = CF_CARD:WKS.DIR/WST1.WPD
Note
Specification of the path for the call of the external subprogram:
 Without using the default setting:
 With use of the default setting:
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 path setting to the external program directory is used
for the path of subprogram "SP_1" and is also not rewritten in the main program. Therefore,
the complete path needs to be specified when subprogram "SP_2" is called.
Job Planning
Programming Manual, 03/2013, 6FC5398-2BP40-3BA1
:
:
Command for calling an external subprogram.
Constant/variable of type STRING
:
<path>
:
<program name>
"CF_CARD:WKS.DIR/WST1.WPD/SP_1"
"SP_1"
Flexible NC programming
1.24 Subprogram technique
Absolute or relative path data
(optional)
The program name is specified
without prefix "_N_".
The file extension ("MPF", "SPF")
can be attached to program
names using the "_" or "."
character (optional).
Example:
"SHAFT"
"SHAFT_SPF"
"SHAFT.SPF"
203

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 828dSinumerik 840de sl

Table of Contents