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

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

Advertisement

Flexible NC programming
1.25 Subprogram technique
1.25.3.10 Execute external subroutine (EXTCALL)
Function
Using the EXTCALL command, it is possible to subsequently download a part program from
an external program memory (local drive, network drive, USB drive) and execute it as
subprogram.
The path for the external program directory can be preset using setting data:
SD42700 $SC_EXT_PROG_PATH
Together with the program path or identifier specified with the EXTCALL call, this forms the
entire path for the program to be called.
Note
Jump destination
For external programs that contain jump instructions (GOTOF, GOTOB, CASE, FOR, LOOP,
WHILE, REPEAT, IF, ELSE, ENDIF etc.) the jump destinations must lie within the post
loading memory. The size of the post loading memory is set via:
MD18360 MM_EXT_PROG_BUFFER_SIZE
Parameters
When calling an external program, none of these parameters can be transferred to it.
Syntax
EXTCALL("<path/><program name>")
Significance
EXTCALL:
"<path/><program name>":
208
Command for calling an external subprogram.
Constant/variable of type STRING
Absolute or relative path data
<path>:
(optional)
The program name is specified
<program name>:
without prefix "_N_".
The file extension ("MPF",
"SPF") can be attached to
program names using the "_" or
"." character (optional).
Example:
"SHAFT"
or
"WELLE_SPF" or
"WELLE.SPF"
Programming Manual, 02/2011, 6FC5398-2BP40-1BA0
Job planning

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 840de slSinumerik 828d

Table of Contents