Program Of The M06 Subroutine - Fagor CNC 8060 Installation Manual

Hide thumbs Also See for CNC 8060:
Table of Contents

Advertisement

I n s t a l l a t i o n m a n u a l .
7.8.4

Program of the M06 subroutine.

%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]
M0
#MSG [""]
V.PLC.M[1107]=1
#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]
M0
#MSG [""]
V.PLC.M[1108]=1
#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
V.PLC.M[1109]=1
#WAIT FOR [V.PLC.M[1109]==0]
#RET
%L SUB_SPD_TO_MZ ; Leave the spindle tool in the magazine.
M110
V.PLC.M[1110]=1
#WAIT FOR [V.PLC.M[1110]==0]
#RET
%L SUB_SPD_GMCHG ; Move the spindle to the manual tool change point.
G1 Z_ F_
#RET
%L SUB_SPD_AUTCHG ; Move the spindle to the automatic tool change point
G1 Z_ F_
#RET
%SUB_M6.nc
#ESBLK
#DSTOP
M6
$IF [[[V.G.FULLSTATUS & 255]<9] | [[V.G.FULLSTATUS & 255]>13]]
$IF [[V.G.CNCAUTSTATUS & 4096] | [V.G.CNCAUTSTATUS & 8192]]
V.S.EXECUTION = 0
$ELSE
V.S.EXECUTION = 1
$ENDIF
$ELSE
V.S.EXECUTION = 0
$ENDIF
$IF [V.S.EXECUTION == 1]
$SWITCH V.PLC.TMOPERATION ; It analyzes the type of operation.
$CASE 1
LL SUB_SPD_AUTCHG
LL SUB_MZ_TO_SPD
$BREAK
; Message for the operator to extract the tool.
; Wait for the operation to be completed.
; Remove message.
; SPDLTOGR mark to the tool manager.
; Message for the operator to insert the tool.
; Wait for the operation to be completed.
; Remove message.
; GRTOSPDL mark to the tool manager.
; Auxiliary function to execute an action.
; MZTOSPDL mark to the tool manager.
; Auxiliary function to execute an action.
; SPDLTOMZ mark to the tool manager.
; Move the spindle.
; Move the spindle.
; Begin of single block activation
; STOP key disable
; Order the tool manager to start the tool change.
; Simulated Theorical or G
; Execution
; Simulation
; CNC in execution
; Take a tool from the magazine and insert it in the
spindle.
; Move the spindle to the automatic tool change point
; Take the tool from the magazine to the spindle.
7.
CNC 8060
CNC 8065
(R
: 1709)
EF
·481·

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Cnc 80658060 t power8060 l8060 m fl8060 t fl8060 m power ... Show all

Table of Contents