
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.
Содержание CNC 8060
Страница 1: ...Ref 1709 8060 8065 CNC Installation manual...
Страница 10: ...BLANK PAGE 10...
Страница 14: ...BLANK PAGE 14...
Страница 20: ...BLANK PAGE 20...
Страница 32: ...BLANK PAGE 32...
Страница 36: ...BLANK PAGE 36...
Страница 38: ...BLANK PAGE 38...
Страница 40: ...BLANK PAGE 40...
Страница 41: ...PART 1 INSTALLATION MANUAL...
Страница 42: ...BLANK PAGE 42...
Страница 58: ...Installation manual CNC 8060 CNC 8065 1 SOFTWARE INSTALLATION Software configuration 58 REF 1709...
Страница 340: ...Installation manual CNC 8060 CNC 8065 3 INTRODUCTION TO THE PLC Operation of a counter 340 REF 1709...
Страница 448: ...Installation manual CNC 8060 CNC 8065 6 LOGIC CNC INPUTS AND OUTPUTS Keystroke modifiable signals 448 REF 1709...
Страница 532: ...Installation manual CNC 8060 CNC 8065 9 CNC VARIABLES 532 REF 1709...
Страница 533: ...PART 2 CONCEPTS...
Страница 534: ...BLANK PAGE 534...
Страница 548: ...Installation manual CNC 8060 CNC 8065 10 GENERAL SETUP Configuration examples 548 REF 1709...
Страница 574: ...Installation manual CNC 8060 CNC 8065 11 CONFIGURING AN AXIS Home search 574 REF 1709 X Z H OM OW ZMH ZMW XMH...
Страница 598: ...Installation manual CNC 8060 CNC 8065 12 VOLUMETRIC COMPENSATION Error messages cause and solution 598 REF 1709...
Страница 644: ...Installation manual CNC 8060 CNC 8065 14 SUBROUTINES Assistance for subroutines 644 REF 1709...
Страница 668: ...Installation manual CNC 8060 CNC 8065 15 HARDWARE Configure the PT100 inputs 668 REF 1709...
Страница 697: ...Installation manual CNC 8060 CNC 8065 697 User notes REF 1709...