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

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

Advertisement

2.14

Execute external subroutine (EXTCALL)

2.14
Function
EXTCALL can be used to reload a program from the HMI in "Processing from external
source" mode. All programs that can be accessed via the directory structure of HMI can be
reloaded and run.
Programming
EXTCALL (<path/program_name>)
Parameters
EXTCALL\
<path/program_name>
Example:
EXTCALL ("/_N_WKS_DIR/_N_SHAFT_WPD/_N_SHAFT_SPF") or EXTCALL ("SHAFT")
Note
External subprograms are not permitted to include jump commands such as GOTOF,
GOTOB, CASE, FOR, LOOP, WHILE or REPEAT.
IF-ELSE-ENDIF constructions are possible.
Subroutine calls and nested EXTCALL calls, may be used.
POWER ON, RESET
RESET and POWER ON cause external subroutine calls to be interrupted and the
associated load memory to be erased. The reloading programs does however remain
selected and is also immediately ready for SINUMERIK solution line systems for
implementation as before with no limitations.
Job planning
Programming Manual, 03/2006 Edition, 6FC5398-2BP10-1BA0
2.14 Execute external subroutine (EXTCALL)
Keyword for subroutine call
Constant/variable of type STRING
An absolute path name or program name can
be specified.
The program name is written with/without
the leading _N_ and without an extension.
An extension can be appended to the
program name using the <_> character.
Subroutines, Macros
2-27

Advertisement

Table of Contents
loading

Table of Contents