
Installation manual.
CNC 8060
CNC 8065
14.
SUBROUTINES.
Subro
u
tine associ
ate
d
with th
e
co
mma
nd #PIERCIN
G
.
·634·
(R
EF
: 1709)
14.15
Subroutine associated with the command #PIERCING.
The command #PIERCING executes the associated subroutine after updating the piercing
variables ((V.) TTPIR.name). This command is specifically for laser machines, where this
subroutine must perform the initial piercing operations.
Management of the PIERCING mark in the subroutine.
The OEM must manage the PIERCING mark from this subroutine. At the start of the
subroutine (or when the OEM deems it necessary), the OEM must activate the PIERCING
mark (assigning it the value 1) to indicate to the PLC that it must start the piercing operation.
At the end of the subroutine (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.PIERCING. The OEM can also use this
variable in the subroutine associated with the piercing (by default, Piercing.fst) to modify
the status of this mark. Entering this variable interrupts the block preparation.
14.15.1 Configure the subroutines.
Assign the subroutine to the command.
Name and location of the subroutine.
This subroutine must be defined in the general parameter PIERCING (by default,
Piercing.fst) and 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)."
Subroutine 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.
PIERCING
CHN
Subroutine associated with the command #PIERCING.
[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...