Home » Knowledge Base » Knowledge Base Article What's New  |  Site Map 

 

 
   
   
 
 


Today's
Sponsors:


Invicta Woodworking Machines

IpeDepot.com

irsauctions.com

Italpresse

J&P Machines

J. Gibson McIlvain Company

JIT Hardware Supplies, Inc.

JMHsoftware.com

John G. Weber Co.

Joos USA Inc.

KCDw

Kerber Farms and Mill

Keystone Wood Specialties

Keytrix Data Systems

Kiln-direct.com

Kleiberit Adhesives USA, Inc.

Koch Machinery and Systems

Komo Machine, Inc.

Kreg Tool Company

Kremlin

Lacy Cypress Inc.

Laguna Tools

Lane Stanton Vance

LEUCO Tool Corporation

Lewis Lumber Products

Lobo Machinery Corp.

Loch Logging and Lumber

Logosol

Lubie Lube

Lumber Resources

MACHINEKING.com

Machines Italia - Italian Trade Commission

Macoser, Inc.

Mahros

Maine Woods Company

Mann and Parker Lumber Co.

MARTIN Woodworking Machines Corp.

Mastercam - CNC Software

Matthews Mill

Maya Positioning Equipment

Mereen-Johnson Machine Company

Merritt Woodwork

Microvellum

Mid America Protective Coatings

Mid-America Hardwoods

Middle Valley Lumber

Midwest Automation

Midwest Sandright

Mikron Woodworking Machinery

Mill Outlet

Minimax

Mirror Reflections

Mississippi Heart Pine

Miter Clamp

MLS Machinery USA, Inc.

MLS Machinery

Modern Woodworking Magazine

Moldingknives.com

Monarch Machinery

Morbidelli

Moulder Services

Moulder Techniques

Mountainside Wood Products

Multicam, Inc.

NAP Gladu

NCME

Hardware Resources

Hardwood Council

Hardwood Store of N.C. Inc.

Hasko Machines

Heidelberg Flooring

Hendrick

Her-Saf

Hermance Machine Company

High Point Grinding - Total Saw Solutions

Historical Plus Wood

Hoffmann Machine Company

Holz Her U.S. Inc.

Howard S. Twichell Co.

HSD USA

Hvalsoe Sawmill Ltd.

ICA North America

Icy Straits Lumber

IDM

Impact Search and Placement

Industrial Air Solutions

Industrial Maid

Integra Tooling

InTrading



WOODWEB DISCLAIMS any and all RESPONSIBILITY and LIABILITY for the accuracy and application of the information below. Readers agree to evaluate the significance and limitations of the information provided, and accept full responsibility for the application of this information. Read More ...

Would you like to add information to this article?
Interested in writing or submitting an article?
Have a question about this article?



G codes and plot codes       The differences between and attributes of each. August 13, 2002

Q.
Why are G-codes preferable to plot codes in CNC work? I'd like to know more about each.

Forum Responses
Plot codes are generally lacking "Z" data for machining. They usually only define XY movement.



If by plot codes you mean HPGL (Hewlett-Packard Graphics Language...?), that is actually used by some of the lower cost router manufacturers. As you get into higher priced machines, the switch is made to G-code.


There are pros and cons to both systems. HPGL, by design, does not support Z axis commands and does not support multiple I/O commands. With that said, most people run a modified version of HPGL that supports the Z commands and supports I/O.

Why support HPGL? Most of the software in the POP and graphic arts industries is designed to support HPGL, AI and many other graphic formats. To integrate easily with these systems, it helps to support HPGL.

Why support M and G Codes? Metal working, woodworking and most manufacturing in general supports standard M and G codes. I guess "standard" is kind of a funny word here. The G Codes are standard, but about every machine manufacturer uses different M Codes.

G-Code is usually in user units. So if your machine is set up to run in inches, the code that it is looking for will be in inches. If your machine is set up in metric, the code that it is looking for will usually be in metric. One major advantage of this is that it makes it easier to read the code files if you need to.

HPGL is set up in HPGL units. For example, 1 inch usually equals 1016 HPGL units. It does not matter if your machine is set up in inches or metric - an HPGL unit is still an HPGL unit. Trying to read a file and edit it manually is more difficult in HPGL since most people do not think in HPGL units.

Is one language better than the other? Not really. Modified HPGL and G-Codes can produce the same parts with the same accuracy. It is kind of like saying that English is better than French. French is better if that is the language you speak. But the rest of us reading this page obviously believe English is better. We set up the MultiCam to interpret 3 languages directly. M and G codes, HPGL, and uCito, our own native language. This way, no matter what software you want to use, most likely we will support it. G-Codes are perceived to have the better value just because they have been used on machine tools forever and they are socially accepted.

CNC has been evolving for a while now. I think that we, the machine manufacturers, should get together and create a new language that is built on a standard. That way, it would not matter what machine you used or what controller you had - you could run the same file on any machine. Odds of this are pretty slim, but it is a nice thought. Would it not be cool to get a new software program and only need one post processor, the one that ran all the systems? It is a job shop dream.


Have you reviewed the related Knowledge Base areas below?
  • KnowledgeBase: Computerization

  • KnowledgeBase: Computerization: Software

  • KnowledgeBase: Knowledge Base




    Would you like to add information to this article? ... Click Here

    If you have a question regarding a Knowledge Base article, your best chance at uncovering an answer is to search the entire Knowledge Base for related articles or to post your question at the appropriate WOODWEB Forum. Before posting your message, be sure to
    review our Forum Guidelines.

    Questions entered in the Knowledge Base Article comment form will not generate responses! A list of WOODWEB Forums can be found at WOODWEB's Site Map.

    When you post your question at the Forum, be sure to include references to the Knowledge Base article that inspired your question. The more information you provide with your question, the better your chances are of receiving responses.

    Return to beginning of article.



    Refer a Friend || Read This Important Information || Site Map || Privacy Policy

    Letters, questions or comments? E-Mail us and let us know what you think. Be sure to review our Frequently Asked Questions page.

    Contact us to discuss advertising or to report problems with this site.

    To report a problem, send an e-mail to our Webmaster

    Copyright © 1996-2008 - WOODWEB ® Inc.
    All rights reserved. No part of this publication may be reproduced in any manner without permission of the Editor.
    Review WOODWEB's Copyright Policy.

    The editors, writers, and staff at WOODWEB try to promote safe practices. What is safe for one woodworker under certain conditions may not be safe for others in different circumstances. Readers should undertake the use of materials and methods discussed at WOODWEB after considerate evaluation, and at their own risk.

    WOODWEB, Inc.
    RR4 Box 265A
    Montrose, PA 18801

    Contact WOODWEB