Programming
10.11 Subroutine technique
Surface grinding
Programming and Operating Manual, 11/2012, 6FC5398-5CP10-3BA0
289
Programming with path specification in SD42700 EXT_PROGRAM_PATH
EXTCALL
("<program name>")
Parameter
EXTCALL
; Keyword for subroutine call
<program name>
; Constant/variable of STRING type
Example:
EXTCALL ("RECHTECKTASCHE.MPF")
Programming without path specification in SD42700 EXT_PROGRAM_PATH
EXTCALL
("<path\program name>")
Parameter
EXTCALL
; Keyword for subroutine call
<Path\program name>
; Constant/variable of STRING type
Example:
EXTCALL ("D:\EXTERNE_UP\RECHTECKTASCHE.MPF")
Note
External subroutines must not contain jump statements 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.
RESET, POWER ON
RESET and POWER ON cause external subroutine calls to be interrupted and the
associated load memory to be erased.