These are the common g-codes for CNC Lathes and turning. Code categories are the groupings for the g-code Wizard (type Ctrl+G for the Wizard). Function tells what the g-code does, Notes gives a little more information such as the parameters, and Tutorial is a link (if any) to a tutorial that uses G-Wizard Editor to teach how to use the g-code. Show
What is G code and M code in CNC?G codes direct the machine's motion and function, while M codes direct the operations outside movements. The G code activates the CNC machine while the M code activates the machine's programmable logic controller.
What is G28 G code?G28 G-code
On a CNC mill, G28 means “go to the recorded origin point in the machine coordinates workspace”. The machine coordinates are the position of the machine relative to the point at which the endstops are hit.
What is a M30 code CNC?The command M30 stops the machine and tells it the program has finished, then the program is rewound back to the start. On a lathe, if the continuous cycle is activated the machine will start making the next component without any further instruction from the operator.
What is G code example?Here are some examples of G-code: G00: Rapid move to specific coordinate position. G01: Linear feed move. G02/G03: Clockwise/counterclockwise feed move.
|