G-code examples: G-code commands start with the letter G, followed by a number from 0 to 99.G-code controls the geometry and movement of the machine, while M-code controls the miscellaneous functions and actions of the machine.
G-code vs M-code: G-code and M-code are two sets of commands in the same CNC language.