7.10.3
7.
CNC 8060
CNC 8065
(R
: 1709)
EF
·502·
Communication between the PLC and the M06 subroutine.
The communication between the PLC and the M06 subroutine takes place using a series
of generic marks and registers. The program of the M06 subroutine offered as an example
uses the following marks and registers.
Communication between the PLC and the M06 subroutine
Marks activated by the M06 subroutine so the PLC activates the relevant mark of the tool
manager.
Mark.
Meaning.
M1101
MZTOCH1
The tool has been taken from the magazine to holder 1.
M1102
CH1TOSPDL
The tool has been taken from holder 1 to the spindle.
M1104
SPDLTOCH2
The tool has been taken from the spindle to holder 2.
M1106
CH2TOMZ
The tool has been taken from holder 2 to the magazine.
M1107
SPDLTOGR
The tool has been taken from the spindle to ground.
M1108
GRTOSPDL
The tool has been taken from ground to the spindle.
M functions at the PLC
M functions that imply movements controlled by the PLC:
Function.
Meaning.
M101
Select in the magazine the position indicated by TAKEPOS and take the tool with
holder 1.
M102
Take the tool of holder 1 to the spindle.
M104
Take the spindle tool with holder 2.
M106
Select in the magazine the position indicated by LEAVEPOS and leave the tool of
holder 2.
Set all the M functions with "before-before" synchronization to the program continues after
the M function is completed.
I n s ta ll a t io n ma n u a l.