
Installation manual.
CNC 8060
CNC 8065
14.
SUBROUTINES.
User subrou
ti
nes associa
te
d
w
ith
fun
c
tio
n
s G80
00 to
G89
99.
·640·
(R
EF
: 1709)
14.19
User subroutines associated with functions G8000 to G8999.
The CNC lets the user define up to 1000 subroutines, common to all channels and associated
with functions G8000 through G8999, so when the CNC executes one of these functions,
it will execute its associated subroutine. These subroutines may be executed either in a non-
modal or modal way and it also allows resetting the local parameters of the subroutine.
These subroutines are loaded into RAM memory when they are executed for the first time.
If there is no room in RAM, the CNC will issue a warning and it will execute the subroutine
from the disk. At the end of the program (M30), if no other channel is executing subroutines,
the CNC deletes them from its RAM memory. This way, if a user subroutine is edited or
modified, the CNC assumes the changes the next time it executes it.
Some of these subroutines have a function pre-assigned by Fagor, being ProGTL3 language
macros. If one of these G functions is programmed, the CNC executes the corresponding
macro and not the subroutine.
14.19.1 Configure the subroutines.
Name and location of the subroutine.
The subroutines associated with functions G8000 to G8999 will have the same name as the
function (without an extension) and they will be saved in the folder ..\Users\Sub.
G8000
The subroutine G8000 will be associated.
G8001
The subroutine G8001 will be associated.
· · ·
G8999
The subroutine G8999 will be associated.
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.
Содержание 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...