Siemens SINUMERIK 840D sl Function Manual page 602

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

Advertisement

K1: Mode group, channel, program operation, reset response
9.14 Program control
Note
Path specification: Short designations
The following short designations can be used to specify the path:
● LOCAL_DRIVE: for local drive
● CF_CARD: for CompactFlash Card
● USB: for USB front connection
CF_CARD: and LOCAL_DRIVE: can be alternatively used.
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 canceled.
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 $SC_EXT_PROG_PATH, the data specified in the
EXTCALL call (program 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 name programmed in EXTCALL
● If the called subprogram is not found at the preset path, the data specified in the
EXTCALL call is then searched for in the user-memory directories.
● The search ends when the subprogram is found for the first time. If the search does not
produce any hits, the program is canceled.
Example
Execute from local drive
Main program:
Program code
N010 PROC MAIN
N020 ...
N030 EXTCALL ("ROUGHING")
N040 ...
N050 M30
External subprogram:
Program code
N010 PROC ROUGHING
602
Function Manual, 01/2015, 6FC5397-0BP40-5BA2
Basic Functions

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 828dSinumerik 840de sl

Table of Contents