Siemens SINUMERIK 840Di Function Manual page 669

Basic machine
Hide thumbs Also See for SINUMERIK 840Di:
Table of Contents

Advertisement

Path compilation
An external subroutine is called by means of parts program command EXTCALL.
From
• - The subroutine name programmed in EXTCALL and
results the program path for the external subroutine call through a character string
comprising
• The contents of SD42700 $SC_EXT_PROG_PATH
• The character "/" as a separator (if a path was specified with
• The subroutine path or identifier programmed in EXTCALL.
SD42700 $SC_EXT_PROG_PATH is preassigned with a blank. If an external subroutine is
called without an absolute path name, HMI Advanced runs through the same search path as
applied when a subroutine is called from the NCK memory.
current directory / subroutine identifier
current directory / subroutine identifier_SPF
current directory / subroutine identifier_MPF
/_N_SPF_DIR / subroutine identifier_SPF
/_N_CUS_DIR / subroutine identifier_SPF
/_N_CMA_DIR / subroutine identifier_SPF
/_N_CST_DIR / subroutine identifier_SPF
"current directory":
"subroutine identifier"
Example
The program to be reloaded is stored on the local hard disk of HMI Advanced:
• SD42700 $SC_EXT_PROG_PATH = "_N_WKS_DIR/_N_WST1"
:N010 PROC MAIN
N020 ....
N030
EXTCALL "ROUGHING"
N040 .....
N050 M30
Mode Group, Channel, Program Operation, Reset Response (K1)
Function Manual, 08/2005 Edition, 6FC5397-0BP10-0BA0
- Setting data SD42700 $SC_EXT_PROG_PATH
(e.g., /_N_WKS_DIR/_N_WKST1_WPD)
SD42700 $SC_EXT_PROG_PATH)
Main program_N_MAIN_MPF
(stored in NC memory and is selected for execution)
stands for the directory in which the main
program has been selected
stands for the subroutine identifier programmed
in EXTCALL
Detailed Description
2.9 Program control
2-133

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents