Programming and Operating Manual (Milling) 
6FC5398-4DP10-0BA1, 01/2014 
113 
 
Modal subroutine call 
Functionality 
The subroutine in the block containing MCALL is called automatically after each successive block containing a 
. 
The call acts until the next MCALL is called. 
The modal call of the subroutine which contains MCALL or quitting of the call requires a separate block. 
MCALL is advantageous, for example, when producing drill patterns. 
Application example: Drilling a row of holes 
N10 MCALL CYCLE82(100, 0, 1, -10, 2) 
N20 HOLES1(1, 2, 45, 2, 2, 1)  ; Cycle for row of holes; after each approach 
of the hole position, CYCLE82(...) will be 
called with the transfer parameters 
; Modal call of CYCLE82(...) completed 
 
Execute external subroutine (EXTCALL) 
Function 
With the EXTCALL command, you can reload and execute programs stored on an external USB memory stick.  
The following machine data is used for the EXTCALL command: 
●  MD10132 $MN_MMC_CMD_TIMEOUT 
Monitoring time for the command in part program 
●  MD18362 $MN_MM_EXT_PROG_NUM 
Number of program levels that can be processed simultaneously from external 
●  SD42700 $SC_EXT_PROGRAM_PATH 
Program path for external subroutine call 
When using SD42700 $SC_EXT_PROGRAM_PATH, all subprograms called with EXCALL are searched under this path. 
Programming with path specification in SD42700 EXT_PROGRAM_PATH 
EXTCALL ("<program name>") 
EXTCALL   ; Keyword for subroutine call 
<program name>  ; Constant/variable of STRING type 
Example: 
EXTCALL ("RECTANGULAR POCKET") 
Programming without path specification in SD42700 EXT_PROGRAM_PATH 
EXTCALL ("<path\program name>") 
EXTCALL   ; Keyword for subroutine call 
<Path\program name>  ; Constant/variable of STRING type