Siemens SINUMERIK 840D sl Programming Manual page 222

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

Advertisement

Flexible NC programming
1.25 Subprogram technique
2. Execution from network drive
Systems: SINUMERIK solution line/powerline with HMI sl/HMI Advanced/HMI Embedded
The "Contour2.spf" program to be reloaded is stored on the network drive in the directory
"\\R4711\\Workpieces".
Program code
...
N... EXTCALL("\\R4711\Workpieces\Contour2.spf")
...
External program path
The path for the external subprogram directory can be preset using setting data:
SD42700 $SC_EXT_PROG_PATH
Together with the subprogram path or identifier specified with the EXTCALL call, this forms
the entire path for the program to be called.
Effects
EXTCALL call with absolute path name
If the subprogram exists at the specified path, it will be executed following the EXTCALL call.
If it does not exist, program execution is cancelled.
EXTCALL call with relative path name/without path name
In the event of an EXTCALL call with a relative path name or without a path name, the
available program memories are searched as follows:
● If a path name is preset in SD42700, the data specified in the EXTCALL call (program
● If the called subprogram is not found at the preset path, the data specified in the
222
name or with relative path name) is searched for first, starting from this path. The
absolute path results from linking the following characters:
– The path name preset in SD42700
– The "/" character as a separator
– The subprogram path or identifier programmed in EXTCALL
EXTCALL call is then searched for in the user-memory directories.
Programming Manual, 06/2009, 6FC5398-2BP20-0BA0
Job Planning

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 828dSinumerik 840de sl

Table of Contents