identification) N Sequence number (Used for line identification) G Preparatory function (See below) X X axis designation Y Y axis designation Z Z axis designation R Radius designation F Feedrate designation S Spindle speed designation H Tool length offset designation D Tool radius offset designation T Tool Designation M Miscellaneous function NC Codes: 1)Block Number (N) 2)Preparatory Codes (G) 3)Miscellaneous Codes (M) 4)Primary X Motion (X) 5)Primary Y Motion (Y) 6)Primary Z Motion (Z)
Preparatory Codes (G):
G01- Straight Line Interpolation(Cutting move) G02- Circle Interpolation(Clockwise) G03- Circle Interpolation(C-Clockwise) G40- Cutter cornpensation cancel G41- Cutter cornpensation left G42- Cutter cornponsation right Example: N001 G01 X30.0 Y30.0 M03 N001 represents the sequence number of the operation. G01 represents linear interpolation. X30.0 will move the table 30 mm. in a positive direction along the X axis. Y30.0 will move the table 30mm. along the Y axis. M03 Spindle on CW.