Programming manual.
CNC 8070
14.
SUBROUTINES.
Subroutine associated with the start.
·288·
(REF: 1709)
14.9 Subroutine associated with the start.
For each channel, a subroutine can be associated with the execution start, which can be
executed by pressing the [START] key, in automatic mode, to start the execution of the entire
program; that is if no program start point has been selected. The CNC does not call upon
the subroutine either when executing a cycle from the conversational mode. This subroutine
may be used, for example, to have certain machining conditions defined to determine the
execution of user programs.
If the subroutine exists, the CNC will execute it immediately after pressing the [START] key,
before starting the program execution. If that subroutine is missing, the CNC executes the
program directly.
Execution of subroutine
During execution, the CNC displays the name of the subroutine on the general status bar.
The CNC does not display the blocks under execution, however, it executes the subroutine
as a single block, this means that the block-by-block execution is not affected.
Name and location of the subroutine.
The name of the subroutine must be PROGRAM_START (without an extension) and it will
be saved in the folder ..\Users\Sub. If there are several channels, there may be a different
subroutine for each channel, whose name must be PROGRAM_START_Cn, where n is the
channel number (between 1 and 4).
Name. Channel.
PROGRAM_START
PROGRAM_START_C1
Channel 1. The CNC accepts both names for the subroutine
associated with the first channel and where both subroutines exist,
the CNC will execute the PROGRAM_START.
PROGRAM_START_C2 Channel 2.
PROGRAM_START_C3 Channel 3.
PROGRAM_START_C4 Channel 4.