Go to Post You hang for show; kick for dough. - Travis Hoffman [more]
Home
Go Back   Chief Delphi > Technical > Technical Discussion
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 25-06-2004, 22:31
Rafi A Rafi A is offline
Registered User
AKA: Rafghan
FRC #0935 (RaileRobotics)
Team Role: Alumni
 
Join Date: Feb 2004
Rookie Year: 2002
Location: Newton, KS
Posts: 42
Rafi A is on a distinguished road
Send a message via AIM to Rafi A Send a message via MSN to Rafi A Send a message via Yahoo to Rafi A
Re: Help - G-Code Circular Motion for CNC Milling

don't you have to use mastercam to export it to the machine?
__________________
  #2   Spotlight this post!  
Unread 26-06-2004, 00:13
sanddrag sanddrag is offline
On to my 16th year in FRC
FRC #0696 (Circuit Breakers)
Team Role: Teacher
 
Join Date: Jul 2002
Rookie Year: 2002
Location: Glendale, CA
Posts: 8,516
sanddrag has a reputation beyond reputesanddrag has a reputation beyond reputesanddrag has a reputation beyond reputesanddrag has a reputation beyond reputesanddrag has a reputation beyond reputesanddrag has a reputation beyond reputesanddrag has a reputation beyond reputesanddrag has a reputation beyond reputesanddrag has a reputation beyond reputesanddrag has a reputation beyond reputesanddrag has a reputation beyond repute
Re: Help - G-Code Circular Motion for CNC Milling

Quote:
Originally Posted by Pixel_Perfect
don't you have to use mastercam to export it to the machine?
I don't think so. Can't you just make an NC file and save it one a floppy. The machine has a floppy drive for importing and exporting files.

Anyway, can we get back to how to bore a bearing hole in 1/4" plate. Katie said how to do the circle, but I need to know how to go down at the same time. Any help?
__________________
Teacher/Engineer/Machinist - Team 696 Circuit Breakers, 2011 - Present
Mentor/Engineer/Machinist, Team 968 RAWC, 2007-2010
Technical Mentor, Team 696 Circuit Breakers, 2005-2007
Student Mechanical Leader and Driver, Team 696 Circuit Breakers, 2002-2004
  #3   Spotlight this post!  
Unread 26-06-2004, 01:13
indieFan indieFan is offline
RoboDox and LVHS - Missing you!
FRC #5941
Team Role: Engineer
 
Join Date: Jan 2002
Rookie Year: 2001
Location: Seattle (was SoCal, then SA,TX))
Posts: 382
indieFan has a reputation beyond reputeindieFan has a reputation beyond reputeindieFan has a reputation beyond reputeindieFan has a reputation beyond reputeindieFan has a reputation beyond reputeindieFan has a reputation beyond reputeindieFan has a reputation beyond reputeindieFan has a reputation beyond reputeindieFan has a reputation beyond reputeindieFan has a reputation beyond reputeindieFan has a reputation beyond repute
Re: Help - G-Code Circular Motion for CNC Milling

Sanddrag,

Any chance you can get your hands on a reamer of the correct size? If so, the initial downward cut shouldn't make a difference. If not, I suggest that you try dropping the z in increments. You might be surprised at the results if your speeds and feeds are correct and your tool is in good shape.

Also, I would check out the HAAS website for their operator manual. That might have information on what you want. The other website to check (including their Q&A section under "Resources") is www.cncci.com. The guy who does most of this site has written several books on CNC programming, including the issue of parametrics.

indieFan
  #4   Spotlight this post!  
Unread 26-06-2004, 01:50
sanddrag sanddrag is offline
On to my 16th year in FRC
FRC #0696 (Circuit Breakers)
Team Role: Teacher
 
Join Date: Jul 2002
Rookie Year: 2002
Location: Glendale, CA
Posts: 8,516
sanddrag has a reputation beyond reputesanddrag has a reputation beyond reputesanddrag has a reputation beyond reputesanddrag has a reputation beyond reputesanddrag has a reputation beyond reputesanddrag has a reputation beyond reputesanddrag has a reputation beyond reputesanddrag has a reputation beyond reputesanddrag has a reputation beyond reputesanddrag has a reputation beyond reputesanddrag has a reputation beyond repute
Re: Help - G-Code Circular Motion for CNC Milling

I think I have finally found what I need. I just realized that the answer probably was in my HAAS Programming manual so I decided to take a look. What I found was a code called G12. It seems to be just what I need but I have one question. Will it ramp downward?

Here's the sample code the manual gives:

N1 T1 M06
N2 G90 G54 G00 X2.5 Y2.5 (position to X Y center of cirular pocket)
N3 S1900 M03
N4 G43 H01 Z0.1 M08
N5 G01 Z-0.5 F30. (to feed Z axis slower, or faster, than what's in the G12 line
N6 G12 Z-0.5 I0.5 D01 F11. (1.0 Dia. x .5 deep circular pocket)
N7 G00 Z1. M09
N8 G53 G49 Y0. Z0.
N9 M30

My question is does line 5 run the cutter down into the part? That would seem a bit odd to me. Another version of the code does not have line 5 and I guess only makes 1 revolution before getting all the way down.

See what I think I want to do is make it go around and around several times constantly ramping down very slowly. Is that right? How do I make it do that? Someone please help.

EDIT: I think I may have a solution. What if I incrementally went down to rought out a little bit smaller hole, and then I absolutely went around to just enlarge it slightly and to get a nice finish. Would that work?
__________________
Teacher/Engineer/Machinist - Team 696 Circuit Breakers, 2011 - Present
Mentor/Engineer/Machinist, Team 968 RAWC, 2007-2010
Technical Mentor, Team 696 Circuit Breakers, 2005-2007
Student Mechanical Leader and Driver, Team 696 Circuit Breakers, 2002-2004

Last edited by sanddrag : 26-06-2004 at 02:12.
  #5   Spotlight this post!  
Unread 26-06-2004, 09:08
Matt Reiland's Avatar
Matt Reiland Matt Reiland is offline
'The' drive behind the drive
None #0226 (TEC CReW Hammerheads)
Team Role: Engineer
 
Join Date: May 2001
Rookie Year: 1999
Location: Troy Michigan
Posts: 712
Matt Reiland has a reputation beyond reputeMatt Reiland has a reputation beyond reputeMatt Reiland has a reputation beyond reputeMatt Reiland has a reputation beyond reputeMatt Reiland has a reputation beyond reputeMatt Reiland has a reputation beyond reputeMatt Reiland has a reputation beyond reputeMatt Reiland has a reputation beyond reputeMatt Reiland has a reputation beyond reputeMatt Reiland has a reputation beyond reputeMatt Reiland has a reputation beyond repute
Re: Help - G-Code Circular Motion for CNC Milling

Sanddrag,


I think you are getting really close. Couple of things. First, you should be able to download a free version of FlashCut CNC Offline and play around with it.

www.flashcutcnc.com

This is the software that my Smithy CNC runs on at home. It will directly import your .DXF file and convert it to G Code for you. As for bringing down the Z while cutting a circle. Make sure your controller is capable of 3 axis circular interpolation. Mine can only cut 2 axis at a time. Therefore I bring the Z down into the part like your line above then start to cut the circle. If you want you can slightly undercut it then make a final circular path to get a smooth dimension. Now would be a good time to find out about the backlash of the machine you are on also since ANY backlash will show up quickly when you cut circles on a CNC mill since your x & y change direction 4 times in the circle. I got so fed up on mine that I just had new ballscrews made and am putting them on this weekend which should clean up a bunch of slop.

Also the Flashcut manual is available for download which has all of the G codes listed and how they work.
__________________
Robonaut Next Generation Control System Development

2003 GLR Champions (302,67,226)
2003 Buckeye Semi-Finalists(902,494,226)
2002 Nationals QuarterFinalists
2001 West MI QuarterFinalists
2000 GLR Semi-Finalists
Closed Thread


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Coding / Style Standards for sharing C code Joe Johnson Programming 33 01-05-2004 15:15
heres the code. y this not working omega Programming 16 31-03-2004 15:18
Interrupt timer, executing code asap? SeanCassidy Programming 10 07-03-2004 01:47
Inserting Naviagation code into Default code? actorindp Programming 3 28-01-2004 18:12


All times are GMT -5. The time now is 02:33.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi