Meaning to all G & M code

This may help some to learn what each G & M codes mean.

https://documentcloud.adobe.com/link/track?uri=urn%3Aaaid%3Ascds%3AUS%3A94e3cbb6-2eef-40c4-95f0-41592c8fc491

1 Like

That’s a good read, appears to be geared toward the “Milling” side though. For the beginner using the crossfire and trying to understand reading g-code, here is what I consider the basics. (Sorry for hijacking John)

M3 - Torch fire (on)
M5 - Stop torch fire (off)

G4 - Dwell time. If using fusion360, it will be followed by a P and a number. The number represents seconds.
Example - G4 P1 = dwell for 1 second before next move. Also known as pierce time/delay

Fxx - Feedrate. In ipm (inch per minute) the number after the F is the feedrate.
Example - G1 X0.9931 Y0.588 F20 - the torch will move at those coordinates at a feedrate of 20 ipm, shown by “F20”

M30 - End of program, with rewind

Knowing these, I have been able to use fusion to make the file, then adjust feedrates and pierce times for different thickness’s of Material, without needing to use fusion and going through the whole process again. And if you want to use multiple pierce times and have different feedrates at different parts of the cut, editing the g-code makes it easy.

1 Like

Mach3 is more geared for machining, this list is everything Mach3 uses for commands. I posted so someone new can open thier file in notepad and get familiar with whats going on in thier file. And maybe with time they can manipulate thier code like we do :+1:

1 Like

Maybe this is the wrong thread for this, but what g-code editor is everybody using? I started with using NotePad, then found G-wizard editor. I really like g-wizard, but I’m not going to pay a subscription fee to use it after my free trial expires. Does anybody know of a good free program?

I just use notepad but i do have a payed copy of Uedit which I used for my servers and works much better than notepad.

1 Like

It says the file is gone, or I do not have permission. Is this still uploaded somewhere?