Thanks for your efforts guys!
I'm still having problems though.
I do have a question though. Can I have a hole (counter bored) and a user
event together with the same tool?
This way one machine will interpret a hole and the other will interpret a
uevent.
I still can't get it to work on one machine. If it works on one it won't
work on the other.
One template file has the following: Name = Makino
@FXDZERO
< #FXD>//< Z#ZPOS>
//
//
@TOOLCHG
#RESET(#U2)// so R5 resets ok May 21 99
#IFCHG(#FXD)<#CALL(FXDZERO)>// Fixed this 09/22/00 KMC
//This puts in G80 Z Clearance or G00 Z Clearance Properly.
#ELSE< #MOV>< Z#ZPOS>
L91
T#TABLE(TLOOK,#TOOL)
M00
#EVAL(#A=JOS_STR(tm_notes))
#ONBLK M6(T#TABLE(TLOOK,#TOOL) #A)
#OFFBLK
G#EVAL(#OFF=#TABLE(HOFFSET,#INDXB))#OFF
// G54
G90 G0 X#XPOS Y#YPOS S#SPEED
M3 M8//****
G43 D#LOFF Z#ZPOS
@END
The other has it this way: Name = T20GE2000
@FXDZERO
< #FXD>
//< #MOV> Z1.0000 M09//(fxdzero)
G52 Z E00 M09
//
//
//
@TOOLCHG
//
// (entering toolchange)
//
//Jul 15 98 added if indxb call tpindx
#IFCHG(#FXD)<#CALL(FXDZERO)>
//
M01
#ONBLK
#TLCHG G00 T#TOOL M06
#OFFBLK
//IFCHG function didn't work here..had to save indexb in U5 variable, tacky
5/1/98
#IF(#INDXB<>#U1)< B#TABLE(HROT,#INDXB)// (debug: toolchg indxb #INDXB)
#EVAL(#U1=#INDXB)
#EVAL(#U5=1)>// don't call tpindex
//
#EVAL(#A=JOS_STR(tm_notes))
(MSG,T#TOOL #A)// (MSG,T\##TOOL #A)//Apr 14 99
//
#EVAL(#U6=JOS(coolant))
#MOV X#XPOS Y#YPOS S#SPEED #TABLE(COOLNT,#U6)
E#EVAL(#OFF=#TABLE(HOFFSET,#INDXB)-#COLSUBT)#OFF< T#NTOOL>
Z#ZPOS
//
//(exiting toolchange)
//
@END
The T20 uses user event of # BAKSPT calls and inserts (GSUB, BAKSPT)
which work on this but not on the Makino.
The Makino a hole works but it won't work on the T20.
< @TOOLCHG if two tools are used and the rest of the tools call up
< <#CALL(FXDZERO)> the TOOL #'s are 1575 and 1576 and they need to call
< <#CALL(BAKSPT)>
< I tried -
< #IFCHG(
< #IF(#TOOL=1575, #AND#TOOL=1576)<#CALL(BAKSPT)>
< #ELSE(#FXD))<#CALL(FXDZERO)>
< Plus a few other ways to no avail.
<
< FYI: @BAKSPT calls and inserts (GSUB, BAKSPT) in the next line after an X
< or Y move.
< @FXDZERO calls normal drill or mill cycles.
Any ideas,
Thanks in advance!
Kevin Clark
Programmer
Abbott Workholding Inc.
======================================================================
To find out more about this mailing list including how to unsubscribe,
send the message "info mfg-smartcam" to [EMAIL PROTECTED]
======================================================================
