Re: Gcode standards (Was: easy to learn use cad/cam cnc software?)
Posted by
Fred Smith
on 2004-11-02 02:18:24 UTC
--- In CAD_CAM_EDM_DRO@yahoogroups.com, Chuck Rice <Chuck@W...> wrote:
wasting time that could be better spent designing parts, planning
process and making chips. DXF converters are free and cad-cam
programs are very inexpensive.
G-code is supposed to be man-readable. It started out as all hand
coded.
This is the EMC developer's isolated interpretation of a machine
controller, selecting the features he wanted. Fanuc Macro language
(an expensive optional add-on) uses the cryptic # symbol for
variables, but in many versions does not permit mixed expression
evaluation and motion commands on the same line. It was a hardware
issue when all the controller logic circuits were hand wired,
discrete components and simple logic chips.
Most controllers use subroutines and repeat statements, with absolute
and incremental modes to make hand written code more legible, thus
eliminating a lot of the need for cryptic code. EMC does not support
subroutines or repeat commands.
A decent cad-cam program will permit you to produce many more parts
per hour spent developing programs, reduce your mistakes, and permit
much more efficient changes to your part designs. It will also
permit you to connect your drawing and design skills directly to the
CNC controller, without restricting your programming to the speed at
which you type.
For example, Engraving Text is a very simple process with a CAD
system, but a gut wrenching task when manually programming.
3D surfaces can easily be processed by nearly any hobby class
controller. I doubt 1 in 10,000 would even try to manually program
these parts. Pocketing, the process of clear cutting a closed shape
to a defined depth, is a very tedious manual process. With a cad-cam
program, a perfect toolpath and the associated g-code can be created
in a few seconds.
In addition to the commands that others have mentioned as
standardized, also learn (for milling)
G90 Absolute mode
G91 Incremental mode
G41, G42, G40 cutter comp control
G81 and G83 are drilling cycles that are very similar between
controllers, with an ocassional swapping of letters for the various
parameters. All the other drill cycles will be more
machine/controller manufacturer dependent.
Fred Smith - IMService - Vote Early and Often
hobby and group discounts are at:
http://www.cadcamcadcam.com/hobby
> At 1:11 PM -0800 11/1/04, Chris DeHut wrote:If you have written a G-code program over 30-40 lines, you are
wasting time that could be better spent designing parts, planning
process and making chips. DXF converters are free and cad-cam
programs are very inexpensive.
G-code is supposed to be man-readable. It started out as all hand
coded.
> #4708=[#4708+[#4706*0.8379]]Use of varables and expression evaluation is not standard g-code.
This is the EMC developer's isolated interpretation of a machine
controller, selecting the features he wanted. Fanuc Macro language
(an expensive optional add-on) uses the cryptic # symbol for
variables, but in many versions does not permit mixed expression
evaluation and motion commands on the same line. It was a hardware
issue when all the controller logic circuits were hand wired,
discrete components and simple logic chips.
Most controllers use subroutines and repeat statements, with absolute
and incremental modes to make hand written code more legible, thus
eliminating a lot of the need for cryptic code. EMC does not support
subroutines or repeat commands.
A decent cad-cam program will permit you to produce many more parts
per hour spent developing programs, reduce your mistakes, and permit
much more efficient changes to your part designs. It will also
permit you to connect your drawing and design skills directly to the
CNC controller, without restricting your programming to the speed at
which you type.
For example, Engraving Text is a very simple process with a CAD
system, but a gut wrenching task when manually programming.
3D surfaces can easily be processed by nearly any hobby class
controller. I doubt 1 in 10,000 would even try to manually program
these parts. Pocketing, the process of clear cutting a closed shape
to a defined depth, is a very tedious manual process. With a cad-cam
program, a perfect toolpath and the associated g-code can be created
in a few seconds.
In addition to the commands that others have mentioned as
standardized, also learn (for milling)
G90 Absolute mode
G91 Incremental mode
G41, G42, G40 cutter comp control
G81 and G83 are drilling cycles that are very similar between
controllers, with an ocassional swapping of letters for the various
parameters. All the other drill cycles will be more
machine/controller manufacturer dependent.
Fred Smith - IMService - Vote Early and Often
hobby and group discounts are at:
http://www.cadcamcadcam.com/hobby
Discussion Thread
tigershark_b
2004-10-31 06:50:11 UTC
easy to learn use cad/cam cnc software?
R Rogers
2004-10-31 07:04:50 UTC
Re: [CAD_CAM_EDM_DRO] easy to learn use cad/cam cnc software?
caudlet
2004-10-31 08:49:17 UTC
Re: easy to learn use cad/cam cnc software?
Tyson S.
2004-10-31 11:00:16 UTC
Re: [CAD_CAM_EDM_DRO] Re: easy to learn use cad/cam cnc software?
caudlet
2004-10-31 12:08:09 UTC
Re: easy to learn use cad/cam cnc software?
Alan Marconett
2004-10-31 14:20:21 UTC
Re: [CAD_CAM_EDM_DRO] easy to learn use cad/cam cnc software?
Kim Lux
2004-10-31 14:23:39 UTC
Re: [CAD_CAM_EDM_DRO] easy to learn use cad/cam cnc software?
Tom Hubin
2004-10-31 15:36:48 UTC
Re: [CAD_CAM_EDM_DRO] easy to learn use cad/cam cnc software?
Greg Jackson
2004-10-31 18:48:33 UTC
RE: [CAD_CAM_EDM_DRO] Re: easy to learn use cad/cam cnc software?
Tyson S.
2004-10-31 20:17:11 UTC
RE: [CAD_CAM_EDM_DRO] Re: easy to learn use cad/cam cnc software?
caudlet
2004-11-01 06:41:38 UTC
Re: easy to learn use cad/cam cnc software?
Chuck Rice
2004-11-01 09:50:16 UTC
Gcode standards (Was: easy to learn use cad/cam cnc software?)
lcdpublishing
2004-11-01 11:05:27 UTC
Re: Gcode standards (Was: easy to learn use cad/cam cnc software?)
Chuck Rice
2004-11-01 13:03:19 UTC
[CAD_CAM_EDM_DRO] Re: Gcode standards (Was: easy to learn use cad/cam cnc software?)
Chuck Rice
2004-11-01 13:20:16 UTC
Re: [CAD_CAM_EDM_DRO] Re: Gcode standards (Was: easy to learn use cad/cam cnc software?)
Raymond Heckert
2004-11-01 17:37:05 UTC
Re: [CAD_CAM_EDM_DRO] easy to learn use cad/cam cnc software?
Fred Smith
2004-11-02 02:18:24 UTC
Re: Gcode standards (Was: easy to learn use cad/cam cnc software?)
doug98105
2004-11-02 05:11:29 UTC
Re: easy to learn use cad/cam cnc software?
caudlet
2004-11-02 07:02:47 UTC
Re: Gcode standards (Was: easy to learn use cad/cam cnc software?)
Chuck Rice
2004-11-02 08:04:17 UTC
[CAD_CAM_EDM_DRO] Re: Gcode standards (Was: easy to learn use cad/cam cnc software?)
Fred Smith
2004-11-02 08:55:35 UTC
Re: Gcode standards (Was: easy to learn use cad/cam cnc software?)
Chuck Rice
2004-11-02 09:19:53 UTC
[CAD_CAM_EDM_DRO] Re: Gcode standards (Was: easy to learn use cad/cam cnc software?)
Jon Elson
2004-11-02 10:16:49 UTC
Re: [CAD_CAM_EDM_DRO] Re: Gcode standards (Was: easy to learn use cad/cam cnc software?)
R Rogers
2004-11-02 17:44:41 UTC
Re: [CAD_CAM_EDM_DRO] Re: Gcode standards (Was: easy to learn use cad/cam cnc software?)
Ron Ginger
2004-11-02 18:38:03 UTC
Re: Gcode standards (Was: easy to learn use cad/cam cnc software?)
Greg Jackson
2004-11-02 19:45:39 UTC
RE: [CAD_CAM_EDM_DRO] Re: Gcode standards (Was: easy to learn use cad/cam cnc software?)
wthomas@g...
2004-11-02 22:08:22 UTC
Re: [CAD_CAM_EDM_DRO] Re: Gcode stand_from Mechanical Desktop
Fred Smith
2004-11-03 06:34:54 UTC
Re: Gcode stand_from Mechanical Desktop
Fred Smith
2004-11-03 07:07:21 UTC
Re: Gcode standards (Was: easy to learn use cad/cam cnc software?)
Chuck Rice
2004-11-03 07:59:50 UTC
[CAD_CAM_EDM_DRO] Re: Gcode standards (Was: easy to learn use cad/cam cnc software?)
Steven Ciciora
2004-11-03 08:31:16 UTC
Re: [CAD_CAM_EDM_DRO] Re: Gcode standards (Was: easy to learn use cad/cam cnc software?)
turbulatordude
2004-11-03 09:02:36 UTC
Re: Gcode standards (Was: easy to learn use cad/cam cnc software?)
Jon Elson
2004-11-03 09:33:44 UTC
Re: [CAD_CAM_EDM_DRO] Re: Gcode standards (Was: easy to learn use cad/cam cnc software?)
Paul
2004-11-03 10:23:05 UTC
Re: [CAD_CAM_EDM_DRO] Re: Gcode standards (Was: easy to learn use cad/cam cnc software?)
Chuck Rice
2004-11-04 17:59:05 UTC
Gcode standards (more info)
Ron Kline
2004-11-04 18:35:29 UTC
Won't do that again -Gecko
Roy J. Tellason
2004-11-04 20:01:44 UTC
Re: [CAD_CAM_EDM_DRO] Won't do that again -Gecko
R Rogers
2004-11-05 05:13:37 UTC
Re: [CAD_CAM_EDM_DRO] Gcode standards (more info)