
Installation manual.
CNC 8060
CNC 8065
14.
SUBROUTINES.
Interrup
ti
on subrou
ti
nes.
·632·
(R
EF
: 1709)
14.13
Interruption subroutines.
The interruption subroutines are defined by the machine manufacturer and will be executed
from the PLC. When the PLC commands the execution of one of these subroutines, the
channel interrupts the execution of the program and executes the corresponding interruption
subroutine.
14.13.1 Configure the subroutines.
Assign the subroutines to the functions.
Name and location of the subroutine.
These subroutines must be defined in the general parameters INIT1SUB to INIT4SU and
saved in the folder ..\Mtb\Sub. If there are several channels, there may be a different
subroutine for each channel.
14.13.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.
·ch·
Channel number.
Parameter.
Meaning.
INT1SUB
··
INT4SUB
CHN
Interruption subroutines.
[CHN] ....... General machine parameter of the channel.
Variable.
PRG
PLC
INT
(V.)[ch].MPG.INT1SUB
(V.)[ch].MPG.INT2SUB
(V.)[ch].MPG.INT3SUB
(V.)[ch].MPG.INT4SUB
Interruption subroutines.
Units: Text.
-
-
R
[2].MPG.INT1SUB
Channel ·2·.
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...