Go to Post FIRST like life is what you make of it, if you would rather go through FIRST worrying about what other teams do to make their robots, then your destined for disappointment. if you go through FIRST making the most of it doing the best you and your team can then it doesn't matter what other teams do. - Mike Schroeder [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 07-06-2004, 16:09
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
G-Codes vs. CAM / CNC Forums

Hi Everyone,

For those of you that have been exposed to both G-codes and CAM packages, which do you prefer and why?

If you prefer G-codes, have you gotten into parametric programming? Any examples of the most difficult shapes you have programmed for cutting?

Also, has anyone been on any of the forums for CNC discussions? If so, how are they?

Thanks,
indieFan
  #2   Spotlight this post!  
Unread 07-06-2004, 16:57
Adam Y.'s Avatar
Adam Y. Adam Y. is offline
Adam Y.
no team (?????)
 
Join Date: Mar 2002
Location: Long Island
Posts: 1,979
Adam Y. is a splendid one to beholdAdam Y. is a splendid one to beholdAdam Y. is a splendid one to beholdAdam Y. is a splendid one to beholdAdam Y. is a splendid one to beholdAdam Y. is a splendid one to beholdAdam Y. is a splendid one to behold
Send a message via AIM to Adam Y.
Re: G-Codes vs. CAM / CNC Forums

Quote:
If you prefer G-codes, have you gotten into parametric programming? Any examples of the most difficult shapes you have programmed for cutting?
G-Codes??? Do you mean Gerber... Thats the only thing I could thing of right now that begins with G.
__________________
If either a public officer or any one else saw a person attempting to cross a bridge which had been ascertained to be unsafe, and there were no time to warn him of his danger, they might seize him and turn him back without any real infringement of his liberty; for liberty consists in doing what one desires, and he does not desire to fall into the river. -Mill
  #3   Spotlight this post!  
Unread 07-06-2004, 17:08
Rob Colatutto's Avatar
Rob Colatutto Rob Colatutto is offline
Roboticsrob
FTC #10092 (Green.Griffins;)
Team Role: Mentor
 
Join Date: Feb 2002
Rookie Year: 2001
Location: San Diego, CA
Posts: 849
Rob Colatutto is a splendid one to beholdRob Colatutto is a splendid one to beholdRob Colatutto is a splendid one to beholdRob Colatutto is a splendid one to beholdRob Colatutto is a splendid one to beholdRob Colatutto is a splendid one to beholdRob Colatutto is a splendid one to behold
Re: G-Codes vs. CAM / CNC Forums

Quote:
Originally Posted by Adam Y.
G-Codes??? Do you mean Gerber... Thats the only thing I could thing of right now that begins with G.
No, he means the G and M codes that tell the CNC machine what to do and how to do it.

I have seen some people do the code out by hand and it works well for laying out holes and making things that are not very complex. For our needs on team 229 we used Mastercam 9.1. We did have some problems and sometimes the program required us to go back and repost some of our files, but in all it was pretty easy to use.
__________________
Follow me on twitter @roboticsrob and my FTC team @griffins10092
  #4   Spotlight this post!  
Unread 07-06-2004, 17:33
Adam Y.'s Avatar
Adam Y. Adam Y. is offline
Adam Y.
no team (?????)
 
Join Date: Mar 2002
Location: Long Island
Posts: 1,979
Adam Y. is a splendid one to beholdAdam Y. is a splendid one to beholdAdam Y. is a splendid one to beholdAdam Y. is a splendid one to beholdAdam Y. is a splendid one to beholdAdam Y. is a splendid one to beholdAdam Y. is a splendid one to behold
Send a message via AIM to Adam Y.
Re: G-Codes vs. CAM / CNC Forums

Quote:
No, he means the G and M codes that tell the CNC machine what to do and how to do it.
Errr.... Gerber code does do that.
__________________
If either a public officer or any one else saw a person attempting to cross a bridge which had been ascertained to be unsafe, and there were no time to warn him of his danger, they might seize him and turn him back without any real infringement of his liberty; for liberty consists in doing what one desires, and he does not desire to fall into the river. -Mill
  #5   Spotlight this post!  
Unread 07-06-2004, 17:36
ChrisH's Avatar Unsung FIRST Hero
ChrisH ChrisH is offline
Generally Useless
FRC #0330 (Beach 'Bots)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1998
Location: Hermosa Beach, CA
Posts: 1,229
ChrisH has a reputation beyond reputeChrisH has a reputation beyond reputeChrisH has a reputation beyond reputeChrisH has a reputation beyond reputeChrisH has a reputation beyond reputeChrisH has a reputation beyond reputeChrisH has a reputation beyond reputeChrisH has a reputation beyond reputeChrisH has a reputation beyond reputeChrisH has a reputation beyond reputeChrisH has a reputation beyond repute
Re: G-Codes vs. CAM / CNC Forums

Quote:
Originally Posted by indieFan
Hi Everyone,

For those of you that have been exposed to both G-codes and CAM packages, which do you prefer and why?

If you prefer G-codes, have you gotten into parametric programming? Any examples of the most difficult shapes you have programmed for cutting?

Also, has anyone been on any of the forums for CNC discussions? If so, how are they?

Thanks,
indieFan
I have been priviledged to watch the owner of one of our sponsors (J&F Machine ) hand code parts for our robot, directly on the machine. He used G-codes to do that. But it was mostly round holes with a particular center. OTOH most of the "real" work he does is programmed using CAM and is a lot more complicated.

It is good to remember that a CAM program is merely an automated way to produce G-code. So being able to read G-code, even a little bit, would probably be helpful, even when you use CAM for most of the work. It certainly helps figure out where the program went wrong.
__________________
Christopher H Husmann, PE

"Who is John Galt?"
  #6   Spotlight this post!  
Unread 08-06-2004, 00:26
Greg McCoy's Avatar
Greg McCoy Greg McCoy is offline
boiler up!
FRC #3940 (CyberTooth)
Team Role: Engineer
 
Join Date: Feb 2002
Rookie Year: 2002
Location: Kokomo, IN
Posts: 484
Greg McCoy has a reputation beyond reputeGreg McCoy has a reputation beyond reputeGreg McCoy has a reputation beyond reputeGreg McCoy has a reputation beyond reputeGreg McCoy has a reputation beyond reputeGreg McCoy has a reputation beyond reputeGreg McCoy has a reputation beyond reputeGreg McCoy has a reputation beyond reputeGreg McCoy has a reputation beyond reputeGreg McCoy has a reputation beyond reputeGreg McCoy has a reputation beyond repute
Send a message via AIM to Greg McCoy
Re: G-Codes vs. CAM / CNC Forums

I don't think there is any substitute for CAM packages like MasterCAM for advanced features like contours and such. However, I've found that it is often easier to write my own NC code for simple things. For example, I was using MasterCAM to make something for my Project Lead the Way "Computer Integrated Manufacturing" class, and I wanted to make an inclined-plane shape. It was much easier for me to tell the CNC mill to make cuts from XYZ coordinates than to have MasterCAM do it. In any case, I think that having some knowledge of NC code is critical even with CAM packages, as sometimes you'll want to change some of the code they kick out, such as unwanted tool changes.
  #7   Spotlight this post!  
Unread 08-06-2004, 05:00
Avarik Avarik is offline
Registered User
#0022
 
Join Date: Jan 2004
Location: Chatsworth, CA
Posts: 75
Avarik is an unknown quantity at this point
Re: G-Codes vs. CAM / CNC Forums

We usually use Gibbs CAM through our CNC, and it works really well. We usually go into a CAD program and draw the part out, then export it to Gibbs. From there, we tell it where to cut, drill, counter, etc. and set the operations up. Then its a mater of a post, and hitting that green button!

We have run into a few problems here and there, but nothing serious and nothing that wasn't our fault! Its easy to use, effective, and quick.
  #8   Spotlight this post!  
Unread 09-06-2004, 21:54
157#1Driver's Avatar
157#1Driver 157#1Driver is offline
Pro E King
#0157 (AZTECHS 157)
Team Role: Engineer
 
Join Date: Apr 2002
Location: Marlboro, MA
Posts: 200
157#1Driver is an unknown quantity at this point
Send a message via AIM to 157#1Driver
Re: G-Codes vs. CAM / CNC Forums

CAM is nice cause it can produce a program rather fast, although with G0codes you have more control over what hte machine will actually do, less problems during set-up. I know G-code very wel, but actually M-code, rather new. Some G-codes, but mostly cordinates, lots of control over what the machine will actually do, and is faster than a G-code machine.
__________________
157 The Aztechs
Luck of the Irish
157 - 12 years and still going
  #9   Spotlight this post!  
Unread 09-06-2004, 23:41
LauraN's Avatar
LauraN LauraN is offline
Holder of the Missile Keys
FRC #0097 (RoboRuminants)
Team Role: College Student
 
Join Date: Feb 2004
Rookie Year: 2004
Location: New Jersey
Posts: 96
LauraN is a splendid one to beholdLauraN is a splendid one to beholdLauraN is a splendid one to beholdLauraN is a splendid one to beholdLauraN is a splendid one to beholdLauraN is a splendid one to behold
Send a message via AIM to LauraN
Re: G-Codes vs. CAM / CNC Forums

Quote:
Originally Posted by Greg McCoy
I don't think there is any substitute for CAM packages like MasterCAM for advanced features like contours and such. However, I've found that it is often easier to write my own NC code for simple things. For example, I was using MasterCAM to make something for my Project Lead the Way "Computer Integrated Manufacturing" class, and I wanted to make an inclined-plane shape. It was much easier for me to tell the CNC mill to make cuts from XYZ coordinates than to have MasterCAM do it.
Ah, the joys of CIM.

I've written my own G-code before (only simple stuff, basic lines, contours, and holes), and the hardest/most complicated part is figuring out exactly what the coordinates are.

It's sort of like HTML with a twist. (This will be relevant, I swear.) I absolutely hate WYSIWYG programs. CAM programs are basically WYSIWYG programs for CNC stuff. So do like CAM? Not necessarily. It's still a computer generated code that isn't necessarily "smart." However, unlike most of the HTML I've worked with, writing CNC code can get very, very tedious. This may sound dumb, but I honestly think it comes down to whether or not its worth it to draw it out in a CADD program. If it's a simple design, figure out the coordinates yourself. If it's very complicated or large, you have to figure out which would be easier- finding the coords yourself or drawing it out in Inventor. After you have the CADD drawing, it's just a matter of setting a few options (most of which you would have to specify in your hand-written code anyway) and clicking OK.

Please keep in mind that a)It was only a year ago that I last did this, but that my retention span may be considerably shorter than that, feel free to correct me. b) Also keep in mind that I've really only ever done any of this in 2D. I've used Z coordinates to specify the depths of the cuts, but not to create inclines or anything like that. So everything I'm saying only refers to 2D designs (as far as I can say, anyway).
__________________
-Laura Nicholson
Team 97 (RoboRuminants) Mentor
Team 30 (FURY) Alumna
  #10   Spotlight this post!  
Unread 10-06-2004, 11:17
Astronouth7303's Avatar
Astronouth7303 Astronouth7303 is offline
Why did I come back?
AKA: Jamie Bliss
FRC #4967 (That ONE Team)
Team Role: Mentor
 
Join Date: Jan 2004
Rookie Year: 2004
Location: Grand Rapids, MI
Posts: 2,071
Astronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud of
Re: G-Codes vs. CAM / CNC Forums

Not that I know anything about CNC, G-code, or CAM programs, But this is starting to remind me of regular programming. The difference between C and BASIC. They can get the job done, but it's frequently easier in one or the other.
  #11   Spotlight this post!  
Unread 12-06-2004, 22:01
nobrakes8 nobrakes8 is offline
Registered User
AKA: Kevin
FRC #4206 (RoboVikes)
Team Role: Engineer
 
Join Date: Jun 2004
Rookie Year: 2004
Location: Fort Worth, TX
Posts: 150
nobrakes8 has much to be proud ofnobrakes8 has much to be proud ofnobrakes8 has much to be proud ofnobrakes8 has much to be proud ofnobrakes8 has much to be proud ofnobrakes8 has much to be proud ofnobrakes8 has much to be proud ofnobrakes8 has much to be proud ofnobrakes8 has much to be proud ofnobrakes8 has much to be proud of
Re: G-Codes vs. CAM / CNC Forums

Another easy thing to use is prototrak (I think its only made for milling).You can actually program it right at the machine sort of like CNC, but no G, M, or F codes (Your only useing X,Y,Z axis off the 0,0,0 setting of the part) or put in a floppy disk off of a CAM program. My school is turning away from MasterCAM and we're going to use aspree. I'm just curious, in robotics, what do you guys use CNC/CAM for? I major in Tool and Die makeing at my school and I was pretty much taught that CNC is only good for makeing like 10 or 15 or more of the same part. I found in robotics their wasn't really much reason to use CNC because the most I made was 2 or 3 of the same thing.
  #12   Spotlight this post!  
Unread 12-06-2004, 22:31
patrickrd's Avatar
patrickrd patrickrd is offline
Registered User
AKA: Patrick Dingle
no team
Team Role: Engineer
 
Join Date: May 2001
Rookie Year: 1999
Location: Medford, MA
Posts: 349
patrickrd is a splendid one to beholdpatrickrd is a splendid one to beholdpatrickrd is a splendid one to beholdpatrickrd is a splendid one to beholdpatrickrd is a splendid one to beholdpatrickrd is a splendid one to beholdpatrickrd is a splendid one to behold
Send a message via AIM to patrickrd
Re: G-Codes vs. CAM / CNC Forums

I have used I-DEAS manufacturing for generating G-Code for two years. The program is pretty good. It's major drawback is that it was ported to windows from a UNIX environment, and it is not always stable. If you can get by the weird user interface, the program is great. It generates pretty much any G-Code you can need, from simple geometries to very complex 3-d curves and contours. One complaint is the in-process stock feature (which basically shows your piece and what material is removed as it is being machined)... It calculates the in-process stock incorrectly sometimes, and it can really, really mess up the g-code, later on causing cuts in places that it shouldn't cut. As a result, I don't use this feature, and it works great. You just need need to know very accurately in your mind where there is material to cut and where there is not.
__________________
Systems Engineer - Kiva Systems, Woburn MA
Alumni, Former Mechanical Team Leader - Cornell University Robocup - 1999, 2000, 2002, 2003 World Champions
Founder - Team 639 - Ithaca High School / Cornell University
Alumni - Team 190 - Mass Academy / WPI
  #13   Spotlight this post!  
Unread 13-06-2004, 13:31
LauraN's Avatar
LauraN LauraN is offline
Holder of the Missile Keys
FRC #0097 (RoboRuminants)
Team Role: College Student
 
Join Date: Feb 2004
Rookie Year: 2004
Location: New Jersey
Posts: 96
LauraN is a splendid one to beholdLauraN is a splendid one to beholdLauraN is a splendid one to beholdLauraN is a splendid one to beholdLauraN is a splendid one to beholdLauraN is a splendid one to behold
Send a message via AIM to LauraN
Re: G-Codes vs. CAM / CNC Forums

Quote:
Originally Posted by nobrakes8
I'm just curious, in robotics, what do you guys use CNC/CAM for? I major in Tool and Die makeing at my school and I was pretty much taught that CNC is only good for makeing like 10 or 15 or more of the same part. I found in robotics their wasn't really much reason to use CNC because the most I made was 2 or 3 of the same thing.
I don't think my team has every actually used CNC in robotics, but we did kick around the idea of using it for our electronics control panel. Sounds crazy, but basically, we wanted to make our own custom control panel. Instead of using the buttons on the joystick, we added our own rocker switches to our little control box to operate the pneumatics. The problem we ran into is that those rocker switches have a very, very small lip of maybe a few hundredths of an inch. If you make the hole too small, you have to go back and keep enlarging it, but then as soon as you overshoot, the switch will fall right through.

We ended up just using a dremel and spending what felt like half our lives filing the edges until we got to the right size. But the idea was that we could have used a caliper to get exact measurements and then written some CNC that would cut out holes the exact size we needed. So in robotics I think you could use CNC to make very precise cuts where you don't trust human hands to be as accurate as is necessary.
__________________
-Laura Nicholson
Team 97 (RoboRuminants) Mentor
Team 30 (FURY) Alumna
  #14   Spotlight this post!  
Unread 13-06-2004, 02:23
bheller bheller is offline
Registered User
AKA: Brandon Heller
#0931
Team Role: Mentor
 
Join Date: Jun 2002
Location: Saint Louis, MO
Posts: 13
bheller is on a distinguished road
Re: G-Codes vs. CAM / CNC Forums

I prefer to use CAM packages, but it doesn't hurt to know the G-codes for hand-optimizing the larger programs and making tiny ones of your own. I have mainly used Deskam, a hobby-level CAM program that does only 2 1/2-d parts, one toolpath at a time. I can't afford the likes of Gibbs, FeatureCAM, and MasterCAM, although if I could or had access I would spend the time to learn them. The chain of Inventor drawing .dxf export -> Rhino for tweaking -> Deskam to convert to G-codes -> DeskNC for G-code interpreting has worked well for me, for both a converted Bridgeport and my own desktop Sherline mill.

Here's a pic of the most complex part I've created the g-codes for and machined, to go on a formula car: http://userfs.cec.wustl.edu/~bdh4/FS..._1651small.jpg
The directory it's in also includes pictures of machining the part:
http://userfs.cec.wustl.edu/~bdh4/FSAE

Once you've spent some time with learning a CAM package, the complexity of the part should no longer be the limiter. It's great when you reach the point where machining time is the limiter, not your imagination.

-Brandon Heller
  #15   Spotlight this post!  
Unread 14-06-2004, 07:52
cmaccoy's Avatar
cmaccoy cmaccoy is offline
Registered User
FRC #0173 (R.A.G.E.)
Team Role: Student
 
Join Date: Dec 2003
Rookie Year: 2004
Location: Vernon Connectucut
Posts: 51
cmaccoy is on a distinguished road
Send a message via AIM to cmaccoy Send a message via Yahoo to cmaccoy
Re: G-Codes vs. CAM / CNC Forums

Quote:
Originally Posted by indieFan
Hi Everyone,

For those of you that have been exposed to both G-codes and CAM packages, which do you prefer and why?

If you prefer G-codes, have you gotten into parametric programming? Any examples of the most difficult shapes you have programmed for cutting?

Also, has anyone been on any of the forums for CNC discussions? If so, how are they?

Thanks,
indieFan
Hello, i'm from R.A.G.E. and if i understand your question right you are asking if you should just use "G" codes verses a CAM program. I personally think you should learn "G" codes and get some kind of CAM program. It is so much easier if you know "G" codes if the program doesn't send to the machine correctly. We use MasterCam software which was quite easy to learn. In a CAM program you can make a program in 10 minutes that would take you about 2 days to make with just "G" codes. See ya
__________________
~cmaccoy
F.I.R.S.T. My anti-drug
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
FIRST Forums Andy Baker General Forum 0 03-06-2004 18:36
To CNC? Or not to CNC? phrontist General Forum 21 26-03-2004 13:45
ChiefDelphi Forums Community Bulletin Brandon Martus CD Forum Support 0 13-08-2001 08:20
ChiefDelphi Forums Community Bulletin Brandon Martus CD Forum Support 0 06-08-2001 10:32
ChiefDelphi Forums Community Bulletin Brandon Martus CD Forum Support 0 23-07-2001 08:29


All times are GMT -5. The time now is 14:39.

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