
Installation manual.
CNC 8060
CNC 8065
SUBROUTINES.
14.
Su
brou
tin
e
associated
wi
th
the
rese
t.
·619·
(R
EF
: 1709)
14.3
Subroutine associated with the reset.
For each channel, the reset may have an associated subroutine, which will be executed after
pressing the [RESET] key on the operator panel or when the PLC activates the RESETIN
mark. This subroutine, for example, establishes any initial conditions that are different from
those set by the reset or conditioned to the configuration of the machine, activates
operations/modes that disable the reset, etc.
If this subroutine exists, the CNC will execute it immediately after the reset. If this subroutine
is missing, the CNC executes the reset 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.
The CNC executes the subroutine with the "Functions G" option of the simulated execution
mode.
• The execution takes into account tool radius compensation (functions G41 and G42),
hence drawing the tool center path.
• The execution does not send M H S T functions to the PLC.
• The execution does not move the axes of the machine nor starts the spindle.
• The execution takes into account the dwells programmed with G4.
• The execution takes into account the program stops programmed with M00 and M01.
14.3.1
Configure the subroutines.
Name and location of the subroutine.
The name of the subroutine must be PROGRAM_RESET (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_RESET_Cn, where n is the
channel number (between 1 and 4).
Executing the reset and the associated subroutine.
Each channel can have a subroutine associated with the reset. The reset process is as
follows.
1
The user presses the [RESET] key on the operator panel or the PLC activates the
RESETIN (RESETIN=1) mark.
2
The channel assumes the initial conditions (those defined by the machine parameters).
3
The channel activates the RESETOUT (RESETOUT=1) mark to indicate that the reset
has finalized. This mark stays active for the time period set in general parameter
MINAENDW.
Name.
Channel.
PROGRAM_RESET
PROGRAM_RESET_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_RESET.
PROGRAM_RESET_C2
Channel 2.
PROGRAM_RESET_C3
Channel 3.
PROGRAM_RESET_C4
Channel 4.
Summary of Contents for CNC 8060
Page 1: ...Ref 1709 8060 8065 CNC Installation manual...
Page 10: ...BLANK PAGE 10...
Page 14: ...BLANK PAGE 14...
Page 20: ...BLANK PAGE 20...
Page 32: ...BLANK PAGE 32...
Page 36: ...BLANK PAGE 36...
Page 38: ...BLANK PAGE 38...
Page 40: ...BLANK PAGE 40...
Page 41: ...PART 1 INSTALLATION MANUAL...
Page 42: ...BLANK PAGE 42...
Page 532: ...Installation manual CNC 8060 CNC 8065 9 CNC VARIABLES 532 REF 1709...
Page 533: ...PART 2 CONCEPTS...
Page 534: ...BLANK PAGE 534...
Page 548: ...Installation manual CNC 8060 CNC 8065 10 GENERAL SETUP Configuration examples 548 REF 1709...
Page 644: ...Installation manual CNC 8060 CNC 8065 14 SUBROUTINES Assistance for subroutines 644 REF 1709...
Page 668: ...Installation manual CNC 8060 CNC 8065 15 HARDWARE Configure the PT100 inputs 668 REF 1709...
Page 697: ...Installation manual CNC 8060 CNC 8065 697 User notes REF 1709...