K1: Mode group, channel, program operation, reset response
9.13 Program control
Basic Functions
624
Function Manual, 09/2011, 6FC5397-0BP40-2BA0
9.13.7
Execution from external
Function
The "Execution from external" function can be used to execute programs that cannot be saved directly in the NC
memory due to memory shortage from an external program memory.
External program memory
External program memory can be found on the following data carriers:
• Local drive
• Network drive
• USB drive
Applications
• Direct execution from external programs
In principle, any program that is accessible via the directory structure of the interface in the "Execution from
external" HMI mode can be selected and executed.
• Execution of external sub-programs from the part program
The external subroutine is called through the part program command
EXTCALL
with specification of a call
path (optional) and the subroutine identifier ( → see "Execution from external subroutines [Page 625]").
Parameter assignment
A reloading memory (FIFO buffer) must be reserved in the dynamic NC memory for executing a program in the
"Executing from external" mode (main program or subroutine).
Size of FIFO buffer
The size of the FIFO buffer is set in the machine data:
MD18360 $MN_MM_EXT_PROG_BUFFER_SIZE (FIFO buffer size for processing from external)
Default: 30 kbyte
Note
Protected cycles (_CPF files) cannot be processed with this function.
Note
Execution from external source via USB interface
If external programs are to be transferred from an external USB drive via a USB interface,
only the interface via X203 (named "TCU_1") can be used.
A USB FlashDrive cannot be recommended as a persistent storage medium.