Misplaced Pages

G-code: Difference between revisions

Article snapshot taken from Wikipedia with creative commons attribution-sharealike license. Give it a read and then ask your questions in the chat. We can research this topic together.
Browse history interactivelyNext edit →Content deleted Content addedVisualWikitext
Revision as of 15:32, 29 September 2004 editJohnLeroy (talk | contribs)18 editsNo edit summary  Revision as of 18:29, 29 September 2004 edit undoCharles Matthews (talk | contribs)Autopatrolled, Administrators360,292 edits wfy, tidy, catNext edit →
Line 1: Line 1:
G-code is a common name for the language that is used to program CNC Machine tools '''G-code''' is a common name for the ] that is for ] ]s.


G-code is also the name of any word in a CNC program that begins with the letter G, and generally is a code telling the machine tool what type of action to perform, such as: G-code is also the name of any word in a CNC program that begins with the letter ''G'', and generally is a code telling the machine tool what type of action to perform, such as:
*rapid move *rapid move
*controlled feed move in straight line or arc *controlled feed move in straight line or arc
*series of controlled feed moves that would result in a hole being drilled or bored *series of controlled feed moves that would result in a hole being drilled or bored
*change a tool *change a tool
*turn on or off coolant *turn on or off ]
*change a pallet *change a ]
*Set tool information such as offset *Set tool information such as offset.


There are other codes, and the type codes can be thought of like "registers" in a computer There are other codes; the type codes can be thought of like ]s in a computer
:X position :X position
:Y position :Y position
Line 16: Line 16:
:M code (another "action" register) :M code (another "action" register)
:F feed rate :F feed rate
:S spindle speed :S ]
:N line number :N line number
:R Radius :R Radius
:I Arc data X axis :I Arc data X axis
:J Arc data Y axis :J Arc data Y axis.


Warning: Different machine tools may use the same code to perform different functions. Even machines that use the same CNC control. some have said that "Fanuc" G-code is standard, but that is a myth. Different machine tools, however, may use the same code to perform different functions: even machines that use the same CNC control. Some may have said that "]" G-code is standard, but that is a myth.


A standardized version of G-code known as BCL is used on very very few machines A standardized version of G-code known as ] is used; but on very few machines.


G-code is understood by machine tool controls, and some machinists. G-code is understood by machine tool controls, and some ]s.


G-code is spoken by CAM software such as Smartcam, Gibbscam, Featurecam, Edgecam, Mastercam, etc. G-code is spoken by ] software such as ], ], ], ], ] etc. Such software must be customized for each type of machine tool that it will be used to program.


Some CNC machines use "Conversational" programming, which is a ]-like programming mode that either hides G-code or completely bypasses the use of G-code.
Such software must be customized for each type of machine tool that it will be used to program.


]
Some CNC machines use "Conversational" programming, which is a wizard-like programming mode that either hides G-code or completely bypasses the use of G-code.

Revision as of 18:29, 29 September 2004

G-code is a common name for the programming language that is for CNC machine tools.

G-code is also the name of any word in a CNC program that begins with the letter G, and generally is a code telling the machine tool what type of action to perform, such as:

  • rapid move
  • controlled feed move in straight line or arc
  • series of controlled feed moves that would result in a hole being drilled or bored
  • change a tool
  • turn on or off coolant
  • change a pallet
  • Set tool information such as offset.

There are other codes; the type codes can be thought of like registers in a computer

X position
Y position
Z position
M code (another "action" register)
F feed rate
S spindle speed
N line number
R Radius
I Arc data X axis
J Arc data Y axis.

Different machine tools, however, may use the same code to perform different functions: even machines that use the same CNC control. Some may have said that "Fanuc" G-code is standard, but that is a myth.

A standardized version of G-code known as BCL is used; but on very few machines.

G-code is understood by machine tool controls, and some machinists.

G-code is spoken by CAM software such as Smartcam, Gibbscam, Featurecam, Edgecam, Mastercam, etc. Such software must be customized for each type of machine tool that it will be used to program.

Some CNC machines use "Conversational" programming, which is a wizard-like programming mode that either hides G-code or completely bypasses the use of G-code.

Category: