Programming and Operating Manual (Turning)
01/2017
133
Executing internal and external subroutines (CALL, EXTCALL)
Function
● With the CALL command, you can reload and execute programs stored in the NC directory.
● With the
EXTCALL command, you can reload and execute programs stored on an external USB memory stick.
Machine data and setting data
The following machine data and setting data is used for the EXTCALL command:
● MD18362 $MN_MM_EXT_PROG_NUM
Number of program levels that can be processed simultaneously from external
● SD42700 $SC_EXT_PROG_PATH
Program path for external subroutine call EXTCALL
$SC_EXT_PROGRAM_PATH, all subprograms called with EXTCALL are searched under this
● CALL "<//NC:/MPF.DIR/program name>"
● EXTCALL
– Programming with path specification in SD42700 EXT_PROGRAM_PATH
("<program name>")
– Programming without path specification in SD42700 EXT_PROGRAM_PATH
("<path\program name>")
●
; Keyword for subroutine call
; Constant/variable of STRING type
Example:
CALL "//NC:/MPF.DIR/Program1.MPF"
●
– Programming with path specification in SD42700 EXT_PROGRAM_PATH
; Keyword for subroutine call
; Constant/variable of STRING type
Example:
– Programming without path specification in SD42700 EXT_PROGRAM_PATH
; Keyword for subroutine call
; Constant/variable of STRING type
Example:
EXTCALL ("USB:\EXTERNE_UP\Program2.MPF")