
Installation manual.
CNC 8060
CNC 8065
14.
SUBROUTINES.
Subrou
tin
e
s
associated
wi
th
M
fu
ncti
ons.
·630·
(R
EF
: 1709)
14.11
Subroutines associated with M functions.
The "M" functions may have an associated subroutine that the CNC will execute instead of
the function. If, within a subroutine associated with an "M" function, the same "M" function
is programmed, the CNC will executed this, but not its associated subroutine.
14.11.1 Configure the subroutines.
Assign the subroutine to the function.
Name and location of the subroutine.
These subroutines must be defined in the “M” function table, in the MPROGNAME field and
saved in the folder ..\Mtb\Sub.
14.11.2 Variables.
The following variables may be accessed from (PRG) the part-program and from the
MDI/MDA mode, PLC and (INT) from an external application. For each variable, the table
indicates whether the access is reading (R) or writing (W).
Syntax.
·pos· Position inside the "M" function table.
Parameter.
Meaning.
MPROGNAME
FUNM
Name of subroutine associated with M function.
[FUNM] .... Machine parameters; M function table.
Variable.
PRG
PLC
INT
(V.)MPM.MPROGNAME[pos]
Name of subroutine associated with M function.
Units: Text.
-
-
R
MPM.MPROGNAME[12]
Position ·12· of the "M" function table.
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...