Installation manual.
CNC 8060
CNC 8065
14.
SUBROUTINES.
Sub
routine
asso
ci
ated with the comma
nd #CU
T
T
ING ON an
d
#CU
T
T
ING OF
F.
·636·
(R
EF
: 1709)
14.16
Subroutine associated with the command #CUTTING ON and
#CUTTING OFF.
The command #CUTTINGON executes the associated subroutine after updating the cutting
variables ((V.)TTCUT.name). The command #CUTTINGON executes the associated
subroutine. Both commands are specifically for laser machines, where these subroutines
must perform the initial associated cutting operations.
Management of the CUTTING mark in the subroutine.
The OEM must manage the CUTTING mark from these subroutines. At the start of the
associated subroutine #CUTTING ON (or when the OEM deems it necessary), the OEM
must activate the CUTTING mark (assigning it a value of 1) to indicate to the PLC that it
should start the cutting operation. At the end of the associated subroutine #CUTTING OFF
(or when the OEM deems it necessary), the OEM must deactivate this mark (assigning it
the value 0) to indicate to the CNC that it has finished the piercing operation.
• The instruction #PLC makes it possible to manage a PLC mark from the part or subroutine
program, without interrupting the block preparation.
• This mark shows the state of the variable V.PLC.CUTTING. The OEM can also use this
variable in the subroutines associated with cutting (by default, Cuttingon.fst /
Cuttingoff.fst) to modify the status of this mark. Entering this variable interrupts the block
preparation.
14.16.1 Configure the subroutines.
Assign the subroutine to the command.
Name and location of the subroutine.
These subroutines associated must be defined for the general parameters CUTTINGON (by
default, Cuttingon.fst) and CUTTINGOFF (by default, Cuttingoff.fst). Both subroutines must
be saved in the folder ..\Mtb\Sub. If there are several channels, there may be a different
subroutine for each channel.
Since it is an OEM subroutine with an .fst extension, the CNC loads this subroutine into the
RAM of the CNC. See
"14.1 Run subroutines from RAM (extension *.fst)."
Subroutines specifically for the laser model. The subroutines supplied by Fagor provide basic laser
management, so they should be configured appropriately by the OEM. The OEM is responsible for
ensuring that the subroutine complies with all safety aspects relating to handling the laser.
If this version is updated, the CNC behaves as follows.
• For the two first two installation options, the CNC will only copy the subroutines in the folder
..\Mtb\Sub if they do not already exist.
• In the third installation option, "rename previous version and install it completely", the CNC always
updates the subroutines.
Parameter.
Meaning.
CUTTINGON
CHN
Subroutine associated with the command #CUTTING ON.
CUTTINGOFF
CHN
Subroutine associated with the command #CUTTING OFF.
[CHN] ....... General machine parameter of the channel.
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...