EasyManuals Logo

Siemens MCP 398C Programming Manual

Siemens MCP 398C
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
Page #536 background imageLoading...
Page #536 background image
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 MCP 398C

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Siemens MCP 398C and is the answer not in the manual?

Siemens MCP 398C Specifications

General IconGeneral
BrandSiemens
ModelMCP 398C
CategoryControl Systems
LanguageEnglish

Related product manuals