Author Login | Submit Articles | Popular Articles | RSS Feeds | Links | Sitemap
Search:
Loading...

Home | Business


G-Codes, M-Codes And Do I Have To Be An Expert On Them?

By: Ivan Irons

What is an M-Code?

M-Codes are related to G-Codes. M-Codes control different machine functions. Some of these functions are turning the machine on and off. Turning the spindle on or off. Turning a plasma torch on or off. Turning coolant on or off. You get the idea. When programming your CNC machine you may need to perform these functions.

Like G-Code, M-Codes vary from manufacturer to manufacturer and from machine to machine. As you can imagine you would need an M-Code for turning a plasma torch on and off on a CNC Plasma Cutting Machine. You wouldn’t need an M-Code to turn a spindle on and off though. Hey, the machine doesn’t even have a spindle.

Do I need to be a G-Code Expert?

In a word, no. You will probably need to know how to quickly scan your G-Code if you are having problems during your machining simulation. Other then that G-Code and a CNC program are throwaway programs for the most part. What do I mean by that? Let me explain.

Let’s look at a specific design. Let’s say a 12” by 12” square. You build your model, run it through your CAM Software and create a CNC Program made up of G-Code instructions to your machine. Say tomorrow the job requirements change to a 24” by 24” square. Do you go into your G-Code line by line and change the code? Most people wouldn’t. They would go back into their CAD or CAM program and scale the square up to 24” by 24”. Then post-process the job again to get their G-Code program.

There are some people that would do this line by line because the design is simple. Now think of a complex shape and what scaling it up or down would entail. Massive changes to the G-Code and reviewing it line by line. We are talking thousands of lines here vs. going back and quickly scaling the model and spitting out some new G-Code. And that is why G-Code is throwaway. Use it over and over when you can, but don’t fret over archiving it if something changes. It is much better to make a copy of the design (CAD File) in its original state and save that somewhere. That is much more useful.

Post Processing - Ok, you have me worried. With all the variations in G-Codes and M-Codes, how will I ever keep it straight?

Don’t worry about that. The CAM program you choose will have many Post Processors. Post Processors are like translators. They help the CAM Program spit out the right G-Codes for your specific machine. All you have to do is select the right Post Processor before you spit out the G-Code. That is simple.

Most CAM programs have many machine specific post processors already loaded. All you do is to the list of them and click on your machine to select it. If you build your own machine, there are generic post processors loaded for different types of machines. Usually you pick a generic one and modify it a bit with a little testing. You are making sure a move in the X-Axis positive direction really means what you want it to mean.


Article Source: http://www.bigfreearticles.com

What is an M-Code M-Codes are related to G-Codes

About the Author:
Ivan Irons is a CNC Router Maker and CAD Designer. He runs http://www.cncinformation.com, which is focused on delivering CNC Information to everyone.

Please Rate this Article

Comments

Share This Article - Quick and Easy Using This Button:
Add to Onlywire

Click the XML Icon Above to Receive Business Articles Via RSS!

  • A Joint Venture Combination Is Like Partnership Business. By: Praveen Kumarii - A Joint Venture Agreement is a document that sets out a type of partnership agreement put together for some specific purpose. The agreement spreads the risk attached to the project among the various parties to the agreement as well as details the sharing in any of its success and profits. It also sets out the profit as well as the risks to the agreement for each of the participating parties.
    Tags: business, joint venture, affiliate programms, optimize, business, internet, marketing.
  • Why the World's Highest Performing Managers Talk Less and Listen More. By: Shona Garner - Before you became a manager, you may well have spent much of your time listening to those above you, telling you what to do and how to do it. Now you're the boss - you think it's your turn to do the talking while your minions listen! But just because that's the way it's been done in the past, doesn't mean it's the most effective way to bring out the best performance in people! Have you ever felt undervalued at work? Have you ever said, "They, (meaning management) just don't listen"?
    Tags: business, high performance, management, manager
  • An Undisclosed About Doing Joint Ventures By: Ajaay Kumar - In the summer of 1954, four hundred wealthy businessmen were invited to hear about a joint venture proposal. Hands were shaken, coffee was served and for the next few hours, behind closed doors, P & L statements likely the future of how this venture would play out. History would show that this was one of the sweetest deals ever offered in business and those that embraced this idea would make thousands of times their original investment ... all that joined the venture would make millions.
    Tags: business, joint venture, affiliate programms, optimize, business, internet, marketing.
  • How to Make Sure Your EBooks Are Successful. By: Vinodd Kumarr - Know why you are about to write this eBook. What we are trying to do is make the actual writing part as easy as possible. Of course, as all good writers know, rewrites are always inevitable. The point, however, is to realize that the more that is determined before the writing is started, the less rework that will be required later. So, why are you writing and going to publish this eBook?
    Tags: business, ebook marketing, ebooks, internet marketing, online marketing
  • How can you Make Links Appear With a Little Magic By: Naresh Chander Kumar - You know social marketing is the key to internet networking success. So, as any good businessperson would, you create and post only good, solid, high-quality content on your site. You visit and post regularly in forums and you've been consistently submitting articles to article directories. You're doing all the things you know you should do to get links all over the wonderful World Wide Web. And yet, with all that effort, you're still not getting the results you had hoped for. What gives?
    Tags: business, article marketing, marketing, business, make money online
  • A Joint Venture Can Produce a Lot of Earnings for You By: Wazir Singh - It can take your business some place it’s never been. In addition, nothing that you own will be placed at risk and you don’t even have to spend a cent! If you’re going to do a Joint Venture, check out the heavy hitters first. Go straight to the top. Make an approach to them for a piece of the big time action. What have you got to lose? Your pride? Take a spoonful of that and put it on the dinner plate and see who eats it?
    Tags: business, joint venture, affiliate programms, optimize, business, internet, marketing
  • Relation between List building and Joint Venture By: Mukeshh Kumarr - It's no secret that JVs (joint ventures) and cross promotions are one of the most productive ways to make high volumes of sales on the Internet. Today I want to talk about why they work so well, and how you can make the most of them to explode your online income. Traditionally, JVs are most common between two people who have created a product and are selling it online.
    Tags: business, joint venture, affiliate programms, optimize, business, internet, marketing
  • How To Invest In Your Business By: Obinna Heche - Todays entrepreneur has many choices when it comes to where to invest their money. There are endless options however, not all of them are lucrative. For those looking to make their current fortunes work for them, the right person and the right business venture are needed. In this article we will be looking at some of the business sectors that make the best entrepreneur business opportunities. One of the best areas to invest in is one of the simplest.
    Tags: business, business opportunity, writing, it security, health care, nursing home, ebay
  • How To Get Motivated To Make More Sales By: Gavin Ingham - Few people would argue that motivated salespeople and business people make more sales. Wandering around looking like the world is out to get you and with your chin dragging along the floor never helped anyone to be a sales superstar and it never will. Your motivation, your mindset and your actions are critical in helping you to achieve your goals and close the sales and build the business that you want.
    Tags: business, sales training, sales motivation, sales mindset, sales motivational speaker
  • Other Business Secrets You Are Not Supposed To Read! By: Joaquin Reveron - There are secrets you could only here from friends and some that you would only read from private conversations in close sessions. However, it is a blast when you can break all the rules and win friends by doing so. Be it in business or personally at your life. One of the most precious secrets that you should get to master is the secret of emotions. From experience, the way to faster success is also through dealing with competent and challenging people that have high levels of demands at your start.
    Tags: business, wholesale list, wholesale games

Copyright 2007 - 2008 MJE Sales, LLC. All Rights Reserved.
Proud member of the ArticleCkr Search Network Search Network!
BigFreeArticles.com is free for both publishers and authors to use and is supported entirely from advertising revenue.
Use of our service is protected by our Privacy Policy and Terms of Service.