Definition Of The Subroutines - Fagor CNC 8060 Installation Manual

Hide thumbs Also See for CNC 8060:
Table of Contents

Advertisement

2.4.13
2.
CNC 8060
CNC 8065
(R
: 1709)
EF
·142·

Definition of the subroutines.

SUBTABLE
OEM-subroutines table.
The manufacturer's subroutines are those stored in folder ..\MTB\Sub. These subroutines
are associated with functions of the CNC such as tool change, G74, G180 to G189, G380
to G399, etc.
If the same subroutines are executed repeatedly during execution, it is more efficient to load
them into the RAM memory of the CNC because this way, they may be accessed faster and
execution time may be consequently optimized. To load a subroutine into RAM, it must have
the extension .fst.
Being the CNC in USER mode, the OEM routines having a .fst extension are loaded into
RAM memory when starting up the CNC application. Being the CNC in SETUP mode, the
OEM subroutines whose extension is .fst will be loaded into RAM memory the first time they
are executed in the program.
TOOLSUB
Subroutine associated with "T".
Possible values: any text with up to 64 characters.
Associated variable: (V.)[ch].MPG.TOOLSUB
This subroutine is executed automatically every time a T function (tool selection) is executed.
REFPSUB (G74)
Subroutine associated with function G74.
Possible values: any text with up to 64 characters.
Associated variable: (V.)[ch].MPG.REFPSUB
Function G74 (home search) may be programmed in two ways. indicating the axes and the
order they will be homed or by programming G74 alone (without axes).
When executing a block that only contains the G74 function (without axes), it calls the
subroutine indicated in this parameter. This subroutine must contain the axes and the order
(sequence) to search home.
This subroutine is also called when homing the axis in JOG mode without selecting the axes.
INT1SUB··INT4SUB
Interruption subroutines.
Possible values: any text with up to 64 characters.
Associated variable: (V.)[ch].MPG.INT1SUB / (V.)[ch].MPG.INT4SUB
These parameters indicate the name of the interruption subroutines associated with marks
INT1 to INT4 of the PLC. When the PLC activates one of these marks, the channel interrupts
the execution of the program and executes the corresponding interruption subroutine. If the
program is interrupted (STOP) or no program is in execution (channel in READY state), the
execution of the subroutine depends on parameter SUBINTSTOP.
INITIALSUB
Subroutine associated with the command #INITIALSUB.
Possible values: any text with up to 64 characters.
Associated variable: (V.)[ch].MPG.INITIALSUB
This parameter indicates the name of the subroutine associated with the instruction
#INITIALSUB. Every time the CNC executes this instruction, its associated subroutine is
called upon.
I n s ta ll a t io n ma n u a l.

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Cnc 80658060 t power8060 l8060 m fl8060 t fl8060 m power ... Show all

Table of Contents