What is G-code?


Results 1 to 14 of 14

Thread: What is G-code?

  1. #1
    Registered cncadmin's Avatar
    Join Date
    Mar 2003
    Location
    United States
    Posts
    6855
    Downloads
    3
    Uploads
    4

    Default What is G-code?

    G-Code is the common name for the programming language of CNC Machines. Somewhat of a generic, catch-all type of term for CNC programming language. Very few machines adhere to this standard today. There are as many varations as there are manufacturers.

    Similar Threads:


  2. #2
    Registered
    Join Date
    Jan 2011
    Location
    India
    Posts
    24
    Downloads
    0
    Uploads
    0

    Default Re: What is G-code?

    Are G codes and M codes same for all machines..

    Here to learn, share and stay.


  3. #3
    Community Moderator Al_The_Man's Avatar
    Join Date
    Dec 2003
    Location
    Canada
    Posts
    24214
    Downloads
    0
    Uploads
    0

    Default Re: What is G-code?

    No, they depend on whether its a Mill, Lathe,PLasma, Punch etc, they all have their own method of G code.
    The M code is fairly standard, but depends on the whim of the MTB, not the control manuf, as it is in G code.
    Al.

    CNC, Mechatronics Integration and Custom Machine Design

    “Logic will get you from A to B. Imagination will take you everywhere.”
    Albert E.


  4. #4
    Registered
    Join Date
    Jan 2011
    Location
    India
    Posts
    24
    Downloads
    0
    Uploads
    0

    Default What is G-code?

    MTB?? Machine tool builder?

    Last edited by acejunker; 07-29-2014 at 04:06 PM. Reason: to stop spam
    Here to learn, share and stay.


  5. #5
    Registered
    Join Date
    Jan 2011
    Location
    India
    Posts
    24
    Downloads
    0
    Uploads
    0

    Default Re: What is G-code?

    As far as I know.. Fanuc and Siemens are the two big players with few MTBs coming with their own controls. Which among them is better in what aspects.. And does it make a real difference in the output quality

    Here to learn, share and stay.


  6. #6
    Community Moderator Al_The_Man's Avatar
    Join Date
    Dec 2003
    Location
    Canada
    Posts
    24214
    Downloads
    0
    Uploads
    0

    Default Re: What is G-code?

    Quote Originally Posted by acejunker View Post
    As far as I know.. Fanuc and Siemens are the two big players with few MTBs coming with their own controls. Which among them is better in what aspects.. And does it make a real difference in the output quality
    Don't forget Mazak (Mitsubishi) of which Mitsubishi also manufacture machine tools, which is rare.
    Most of the major Control manuf have their own unique feature of some kind, I find there is not a lot between them, another thing to consider is support and technical assistance.
    Al.

    CNC, Mechatronics Integration and Custom Machine Design

    “Logic will get you from A to B. Imagination will take you everywhere.”
    Albert E.


  7. #7
    Member ger21's Avatar
    Join Date
    Mar 2003
    Location
    Shelby Township
    Posts
    35538
    Downloads
    1
    Uploads
    0

    Default Re: What is G-code?

    Most big industrial woodworking machines use their own proprietary controls, with many proprietary g and m codes.

    Gerry

    UCCNC 2017 Screenset
    [URL]http://www.thecncwoodworker.com/2017.html[/URL]

    Mach3 2010 Screenset
    [URL]http://www.thecncwoodworker.com/2010.html[/URL]

    JointCAM - CNC Dovetails & Box Joints
    [URL]http://www.g-forcecnc.com/jointcam.html[/URL]

    (Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)


  8. #8
    Community Moderator Al_The_Man's Avatar
    Join Date
    Dec 2003
    Location
    Canada
    Posts
    24214
    Downloads
    0
    Uploads
    0

    Default Re: What is G-code?

    I see no purpose in deviating from the normal G codes that apply for a certain type of machine, this was the original concept of the International ISO G-code standard anything else leads to confusion between machines of the same type?
    Al.

    CNC, Mechatronics Integration and Custom Machine Design

    “Logic will get you from A to B. Imagination will take you everywhere.”
    Albert E.


  9. #9
    Registered
    Join Date
    Jan 2011
    Location
    India
    Posts
    24
    Downloads
    0
    Uploads
    0

    Default Re: What is G-code?

    When and where are G codes and M codes used in a program(asking for overview). To generate a program is it necessary to memorise these codes??

    Here to learn, share and stay.


  10. #10
    Community Moderator Al_The_Man's Avatar
    Join Date
    Dec 2003
    Location
    Canada
    Posts
    24214
    Downloads
    0
    Uploads
    0

    Default Re: What is G-code?

    Not sure of the actual question, but if you want to learn about G M code programming, get the CNC programming book by Peter Smid.
    You need the control manuf programming manual and the MTB's M code designation for a particular machine.
    Al.

    CNC, Mechatronics Integration and Custom Machine Design

    “Logic will get you from A to B. Imagination will take you everywhere.”
    Albert E.


  11. #11
    Registered
    Join Date
    Jan 2011
    Location
    India
    Posts
    24
    Downloads
    0
    Uploads
    0

    Default Re: What is G-code?

    Precisely what I needed. Thanks

    Here to learn, share and stay.


  12. #12
    Registered
    Join Date
    Jan 2015
    Posts
    3
    Downloads
    0
    Uploads
    0

    Default Re: What is G-code?

    what is G code how it increases its vale like BCD



  13. #13
    Community Moderator Al_The_Man's Avatar
    Join Date
    Dec 2003
    Location
    Canada
    Posts
    24214
    Downloads
    0
    Uploads
    0

    Default Re: What is G-code?

    Quote Originally Posted by hashim2000 View Post
    what is G code how it increases its vale like BCD
    G-Code is not a processor programming language per-se, but more a form of CNC part program format.
    Al.

    CNC, Mechatronics Integration and Custom Machine Design

    “Logic will get you from A to B. Imagination will take you everywhere.”
    Albert E.


  14. #14
    Member
    Join Date
    Aug 2015
    Location
    China
    Posts
    0
    Downloads
    0
    Uploads
    0

    Default Re: What is G-code?

    G-code (also RS-274), which has many variants, is the common name for the most widely used numerical control (NC) programming language. It is used mainly in computer-aided manufacturing for controlling automated machine tools. G-code is sometimes called G programming language. That's the general idea from Wikipedia, hope can be helpful~

    ISweek(http://www.isweek.com/)- Industry sourcing & Wholesale industrial products


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


About CNCzone.com

    We are the largest and most active discussion forum for manufacturing industry. The site is 100% free to join and use, so join today!

Follow us on


Our Brands

What is G-code?

What is G-code?