Installation manual.
CNC 8060
CNC 8065
TOOL
A
ND MA
GAZIN
E
MANAGEMEN
T.
7.
Tu
rre
t type magazi
ne.
·471·
(R
EF
: 1709)
7.7.4
Program of the M06 subroutine.
%L SUB_MZ_ROT
V.PLC.M[1111]=1
#WAIT FOR [V.PLC.M[1111]==0]; MZROT mark to the tool manager.
#RET
%L SUB_SPD_TO_GR
;
Remove the tool from the spindle (take it to ground).
#MSG ["Extract tool T%D and press START", V.TM.TOOL]
; Message for the operator to extract the tool.
M0
; Wait for the operation to be completed.
#MSG [""]
; Remove message.
V.PLC.M[1107]=1
; SPDLTOGR mark to the tool manager.
#WAIT FOR [V.PLC.M[1107]==0]
#RET
%L SUB_GR_TO_SPD
;
Insert the ground tool in the spindle.
#MSG ["Insert tool T%D and press START", V.TM.NXTOOL]
; Message for the operator to insert the tool.
M0
; Wait for the operation to be completed.
#MSG [""]
; Remove message.
V.PLC.M[1108]=1
; GRTOSPDL mark to the tool manager.
#WAIT FOR [V.PLC.M[1108]==0]
#RET
%L SUB_MZ_TO_SPD
;
Take the tool from the magazine and insert it in the spindle.
M109
; Auxiliary function to execute an action.
V.PLC.M[1109]=1
; MZTOSPDL mark to the tool manager.
#WAIT FOR [V.PLC.M[1109]==0]
#RET
%L SUB_SPD_TO_MZ
;
Leave the spindle tool in the magazine.
M110
; Auxiliary function to execute an action.
V.PLC.M[1110]=1
; SPDLTOMZ mark to the tool manager.
#WAIT FOR [V.PLC.M[1110]==0]
#RET
%L SUB_SPD_GMCHG
;
Move the spindle to the manual tool change point.
G1 Z_ F_
; Move the spindle.
#RET
%L SUB_SPD_AUTCHG
;
Move the spindle to the automatic tool change point
G1 Z_ F_
; Move the spindle.
#RET
%SUB_M6.nc
#ESBLK
; Begin of single block activation
#DSTOP
; STOP key disable
M6
; Order the tool manager to start the tool change.
$IF [[[V.G.FULLSTATUS & 255]<9] | [[V.G.FULLSTATUS & 255]>13]]
$IF [[V.G.CNCAUTSTATUS & 4096] | [V.G.CNCAUTSTATUS & 8192]]
V.S.EXECUTION = 0
; Simulated Theorical or G
$ELSE
V.S.EXECUTION = 1
; Execution
$ENDIF
$ELSE
V.S.EXECUTION = 0
; Simulation
$ENDIF
$IF [V.S.EXECUTION == 1]
; CNC in execution
$SWITCH V.PLC.TMOPERATION ; It analyzes the type of operation.
Содержание 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...