EasyManuals Logo

Siemens SINUMERIK 840D Programming Manual

Siemens SINUMERIK 840D
687 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 #113 background imageLoading...
Page #113 background image
Subroutines, Macros
2.14 Execute external subroutine (EXTCALL)
Job planning
Programming Manual, 03/2006 Edition, 6FC5398-2BP10-1BA0
2-29
Call of external subroutine for SINUMERIK with HMI Advanced
An external subroutine is called by means of parts program command EXTCALL.
From the
• subroutine names programmed with EXTCALL and
• setting data SD 42700: EXT_PROG_PATH provides the program path for the external
subroutine call by the concatenation of
• the content of SD 42700: EXT_PROG_PATH (e.g. /_N_WKS_DIR/_N_WKST1_WPD)
• the character "/" as a separator
(if a path has been specified via SD 42700: EXT_PROG_PATH)
• the subroutine path or subroutine identifier specified with EXTCALL.
SD 42700: EXT_PROG_PATH is a blank. If the external subroutine is called without an
absolute path name, the same search path is executed on the HMI Advanced as for calling a
subroutine from NCK memory.
1. current directory / subroutine identifier
2. current directory / subroutine identifier_SPF
3. current directory / subroutine identifier_MPF
4. /_N_SPF_DIR / subroutine identifier_SPF
5. /_N_CUS_DIR / subroutine identifier_SPF
6. /_N_CMA_DIR / subroutine identifier_SPF
7. /_N_CST_DIR / subroutine identifier_SPF
"current directory" represents the directory in which the main program has been selected
"subroutine designation" represents the subroutine identifier programmed in
EXTCALL.
Note
The following applies to HMI embedded powerline:
An absolute path must always be specified in HMI Embedded.
The following applies to HMI embedded solution line:
Specified programs with EXTCALL and an absolute path are only used if the specified target
also exists. Program execution is canceled if a target is not found. This is the case, for
example, if the path is specified for a network drive with a mandatory option which is not
present.

Table of Contents

Other manuals for Siemens SINUMERIK 840D

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Siemens SINUMERIK 840D and is the answer not in the manual?

Siemens SINUMERIK 840D Specifications

General IconGeneral
SeriesSINUMERIK 840D
AxesUp to 31
ChannelsUp to 10
Operating SystemWindows-based
Power Supply24 V DC
Control Unit TypeCNC
InterfaceEthernet, PROFIBUS
DisplayTFT color display
InterpolationSpline
PLCIntegrated PLC
Data StorageCompactFlash, USB

Related product manuals