8 Basic CNC Programming
8.4 NC Codes
101
8.4.6.
G Codes: Preparatory Codes
G codes take effect before a motion is specified. They specify settings such as the type of cut to be
made, whether absolute or incremental dimensioning is to be used, whether to pause for operator
intervention, and so on.
There are a large number of G codes, each differentiated by the number following the G. For example,
G01, G90, and G71 are all different G codes.
The various G codes are divided into different groups. Multiple G codes from different groups can
appear in each NC block. However, you may not place more than one G code from a group in one block.
The ProMill 8000 supports the following G code groups.
Info Table: G Code Groups
Group
Includes Codes
Section
Page
The Interpolation Group
G00, G01, G02, G03, G101
The Units Group
G70, G71, G20, G21
The Wait Group
G04, G05, G25, 26
The Canned Cycle Group
G32, G72, G73, G77, G79, G80, G81, G83
The Programming Mode
Group
G90, G91
The Preset Position Group
G28, G29, G92, G96, G98, G99
The Coordinate Systems
Group
G54, G55, G56, G57, G59
The Polar Programming Group G15, G16
The Compensation Group
G39, G40,G41, G42
The Scaling Group
G50, G51, P
The Rotation Group
G68, G69
The Plane Selection Group
G17, G18, G19
8.4.6.1.
The lnterpolation Group
The Interpolation Group allows you to specify the type of motion for interpolation. These G codes are
retained until superseded in the NC program by another code from the Interpolation group.
The supported interpolation G codes are:
Info Table: Interpolation Group
Code
Function
Section
Page
G00
Rapid Traverse
G01
Linear interpolation
G02
Circular interpolation (clockwise)