K1: Mode group, channel, program operation, reset response
9.13 Program control
Basic Functions
Function Manual, 09/2011, 6FC5397-0BP40-2BA0
625
Number of the FIFO buffer
One FIFO buffer must be provided each for all programs (main run or subroutine) that are executed
simultaneously in the "Execution from external source" mode.
The number of the FIFO buffer is set in the machine data:
MD18362 $MN_MM_EXT_PROG_NUM (number of externally executed program levels executable
simultaneously)
Behavior during RESET, POWER ON
External program calls are aborted through RESET and POWER ON and the concerned FIFO buffers are
erased.
A program selected for "Execution from external source" remains selected for "Execution from external source"
even after RESET / part program end. A POWER ON deletes the selection.
9.13.8
Execution from external subroutines
Function
Individual machining steps for producing complex workpieces may involve program sequences that require so
much memory they cannot be stored in the NC memory.
In such cases, the user has the option of executing the program sequences as subroutines from an external
program memory in the "Execution from external source" mode with the help of the
EXTCALL
part program
instruction.
Preconditions
The following preconditions are applicable to the execution from external subroutines:
• The subroutines must be accessible via the directory structure of the operator interface.
• A reloading memory (FIFO buffer) must be reserved for each subprogram in the dynamic NC memory.
Parameter assignment
The path for the external subprogram directory can be preset using setting data:
SD42700 $SC_EXT_PROG_PATH (Program path for the EXTCALL external subprogram call)
The entire path of the program to be called along with the subprogram path or identifier specified during
programming is derived therefrom.