Don:
 
You could look into the @TOOLCHG section of your template file to solve the problem.
 
#IF(#TOOL<>#LTOOL)< Do Normal Stuff - encased in conditional brackets until end of tool change section logic>#ELSE<T#TOFF>
If the current tool is equal to the last tool number, it will output only the tool number. Otherwise, it would proceed as usual with the normal code for a tool change sequence.
 
It is hard to make a guess without seeing your Template files to see where the error occurs.
 
Steve Rebensdorf
 
----- Original Message -----
From: Donald Stockham
Sent: Wednesday, March 27, 2002 11:40 AM
To: [EMAIL PROTECTED]
Subject: [mfg-smartcam] two offsets for same tool
 
Could some one help me with the necessary template work to get a
coded file that uses, for example a face grooving tool with tip 3 "DL"
(T0505)  and  tip 2 "UL" (T0515).
I would like to use tools 5 and 15 in the planner, and when my
control cancels it uses T0500. I am trying to figure out how to have the
planner treat them as two seperate tools but the coded file treats them
as the same tool with a different tip offset. This is difficult because
the planner updates the tool throughout the file, when you use "choose
tool". I am sure this is confusing so here is a small sample of what I
want to get:

N40 T0515 (  / STEP10 )
N50 G97 S1000 M03 ( TIP2 UL R0.01 )
N60 M08
N250 G40 G00 X5. Z1.0
N260 G41 X4.55 Z0.11
N270 G01 Z0.0
N280 X4.3925
N290 G02 X4.3825 Z-0.0091 R0.01
N300 G01 X4.379 Z-0.05
N310 X4.3325
N320 G40 G00 X4.3495 Z0.1
N360 T0505 (  / STEP20 )
N370 G99 G97 S1000 M03 ( TIP3 DL R0.01 )
N380 M08
N390 G42 G01 X4.7995 Z0.0035 F0.003
N400 X4.8404 Z0.0
N410 G03 X4.8495 Z-0.0091 R0.01
N420 G01 X4.853 Z-0.05
N430 X4.8995
N440 G40 G00 Z1.0
N450 G00 X4.0 Z6.0 M9
N460 T0500 ( TIME = 0 MIN 25 SEC )


thank you,

Don Stockham
======================================================================
To find out more about this mailing list including how to unsubscribe,
send the message "info mfg-smartcam" to [EMAIL PROTECTED]
======================================================================

Reply via email to