Hi there,
  I have been trying to get rid of a little annoyance in my code generator
for some time now.  I can't seem to find the right combination for it.  Just
a little background on it, I am coding for a Star VNC-20 swiss type lathe
with a Fanuc 6T control, using Aturn v11.5
  I am actually drawing the part backwards, ie.. like a chucker type of
machine.  from Z0 to Z minus direction.  I did this for ease of remembering
from one machine to the next.
  I set whatever question it is to have my Z's code opposite way.  Most
works fine with the exception of the following.
  When I spot drill, the z's are fine, then I go into the next sequence,
drill, and my position z move is backwards, but all the moves afterwards are
fine.  Also can't get rid of the extra G00's  .  About the G00's, I know
that my code generator is going to the Rapid section twice in succession,
and I have added the < > to the M00, it takes away the extra G00's and also
the first G00 in the next tool.  
  Sorry for the long post, I will attach my code files.  Hopefully you can
find what I gotta do.

( SPOT FRONT )
( 1/4 X 90 DEG HSS )
( T0300 )
 
N11M96
N12G97S1681T0300M03
N13G00X0.0Z-0.1T0303
N14G00
N15G01Z0.0675F0.002
N16G00Z-0.1
N17G28U1
N18M01
 
( DRILL THRU )
(#31 COBALT DRILL )
( T0900 )
 
N19M97
N20G97S3501T0900M03
N21G00X0.0Z0.1T0909  < this should read Z-0.1> <with M00 in < >, this G00 is
gone, too>
N22G00
N23G01Z0.17F0.002
N24G00Z-0.1
N25G00Z0.14


Thank you, 
Rick Stannard 
SR. CNC Programmer 
Fairchild Fasteners, South Bay 
3000 W. Lomita Blvd 
Torrance, CA. 90505 
Ph. (310)784-4394 
[EMAIL PROTECTED] 
www.fairchildfasteners.com 

 <<STAR.TMP>>  <<STAR.SMF>>  <<STAR.NTS>> 
Title: code generator

Hi there,
  I have been trying to get rid of a little annoyance in my code generator for some time now.  I can't seem to find the right combination for it.  Just a little background on it, I am coding for a Star VNC-20 swiss type lathe with a Fanuc 6T control, using Aturn v11.5

  I am actually drawing the part backwards, ie.. like a chucker type of machine.  from Z0 to Z minus direction.  I did this for ease of remembering from one machine to the next.

  I set whatever question it is to have my Z's code opposite way.  Most works fine with the exception of the following.
  When I spot drill, the z's are fine, then I go into the next sequence, drill, and my position z move is backwards, but all the moves afterwards are fine.  Also can't get rid of the extra G00's  .  About the G00's, I know that my code generator is going to the Rapid section twice in succession, and I have added the < > to the M00, it takes away the extra G00's and also the first G00 in the next tool. 

  Sorry for the long post, I will attach my code files.  Hopefully you can find what I gotta do.

( SPOT FRONT )
( 1/4 X 90 DEG HSS )
( T0300 )
 
N11M96
N12G97S1681T0300M03
N13G00X0.0Z-0.1T0303
N14G00
N15G01Z0.0675F0.002
N16G00Z-0.1
N17G28U1
N18M01
 
( DRILL THRU )
(#31 COBALT DRILL )
( T0900 )
 
N19M97
N20G97S3501T0900M03
N21G00X0.0Z0.1T0909  < this should read Z-0.1> <with M00 in < >, this G00 is gone, too>
N22G00
N23G01Z0.17F0.002
N24G00Z-0.1
N25G00Z0.14


Thank you,
Rick Stannard
SR. CNC Programmer
Fairchild Fasteners, South Bay
3000 W. Lomita Blvd
Torrance, CA. 90505
Ph. (310)784-4394
[EMAIL PROTECTED]
www.fairchildfasteners.com

<<STAR.TMP>> <<STAR.SMF>> <<STAR.NTS>>

Attachment: STAR.TMP
Description: Binary data

Attachment: STAR.SMF
Description: Binary data

Attachment: STAR.NTS
Description: Binary data

Reply via email to