
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.
Содержание 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...