G-Codes, M-Codes And Do I Have To Be An Expert On Them?
De BISAWiki
M-Codes are connected to G-Codes. M-Codes manage different machine functions. Some of these functions are turning the machine on and off. Turning the spindle on or off. Browse here at account to study the inner workings of it. Turning a plasma torch on or off. Turning coolant on or off. You get the thought. When programming your CNC machine you could need to perform these functions.
Like G-Code, M-Codes vary from manufacturer to manufacturer and from machine to machine. As you can picture you would require an M-Code ..
What is an M-Code?
M-Codes are associated to G-Codes. M-Codes manage 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 notion. When programming your CNC machine you could require to execute these functions.
Like G-Code, M-Codes vary from manufacturer to manufacturer and from machine to machine. In the event you need to get further about oxy cut, we recommend tons of databases people should consider pursuing. As you can picture you would need an M-Code for turning a plasma torch on and off on a CNC Plasma Cutting Machine. You wouldnt require an M-Code to turn a spindle on and off though. Hey, the machine doesnt even have a spindle.
Do I want to be a G-Code Specialist?
In a word, no. You will almost certainly require to know how to swiftly scan your G-Code if you are having difficulties in the course of your machining simulation. Other then that G-Code and a CNC plan are throwaway programs for the most component. What do I mean by that? Let me clarify.
Lets appear at a particular style. Lets say a 12 by 12 square. You build your model, run it via your CAM Computer software and produce a CNC Program created up of G-Code instructions to your machine. Say tomorrow the job specifications modify to a 24 by 24 square. Do you go into your G-Code line by line and change the code? Most men and women wouldnt. They would go back into their CAD or CAM program and scale the square up to 24 by 24. My pastor learned about oxy fuel cutting process by searching Google. Then post-procedure the job again to get their G-Code program.
There are some individuals that would do this line by line because the style is straightforward. Now feel of a complex shape and what scaling it up or down would entail. Huge changes to the G-Code and reviewing it line by line. We are talking thousands of lines right here vs. going back and swiftly scaling the model and spitting out some new G-Code. And that is why G-Code is throwaway. Use it more than and more than when you can, but dont fret over archiving it if something adjustments. It is considerably far better to make a copy of the style (CAD File) in its original state and conserve that someplace. That is significantly far more helpful.
Post Processing - Ok, you have me worried. With all the variations in G-Codes and M-Codes, how will I ever keep it straight?
Dont worry about that. The CAM program you pick will have several Post Processors. Post Processors are like translators. They assist the CAM Plan spit out the right G-Codes for your particular machine. All you have to do is select the correct Post Processor before you spit out the G-Code. That is basic.
Most CAM programs have many machine particular post processors currently loaded. All you do is to the list of them and click on your machine to choose it. If you construct your personal machine, there are generic post processors loaded for diverse sorts of machines. Usually you choose a generic one and modify it a bit with a little testing. You are generating positive a move in the X-Axis good path truly indicates what you want it to mean.