Programming of CNC Machines, Third Edition

| Code | Group | Function |
|---|---|---|
| *G00 | 01 | Rapid Traverse Positioning |
| G01 | 01 | Linear Interpolation |
| G02 | 01 | Circular and Helical Interpolation CW (clockwise) |
| G03 | 01 | Circular and Helical Interpolation CCW (counterclockwise) |
| G04 | 00 | Dwell |
| G09 | 00 | Exact Stop |
| G10 | 00 | Data Setting |
| G20 | 06 | Input in Inches |
| G21 | 06 | Input in Millimeters |
| *G22 | 09 | Stored Stroke Limit ON |
| G23 | 09 | Stored Stroke Limit OFF |
| G25 | 08 | Spindle Speed Fluctuation Detection ON |
| G26 | 08 | Spindle Speed Fluctuation Detection OFF |
| G27 | 00 | Reference Point Return Check |
| G28 | 00 | Reference Point Return |
| G29 | 00 | Return From Reference Point |
| G30 | 00 | Return to Second, Third, and Fourth Reference Point |
| G32 | 01 | Thread Cutting |
| *G40 | 07 | Tool Nose Radius Compensation Cancel |
| G41 | 07 | Tool Nose Radius Compensation, Left Side |
| G42 | 07 | Tool Nose Radius Compensation, Right Side |
| G50 | 00 | Coordinate System Setting/ Maximum Spindle Speed Setting |
| G52 | 00 | Local Coordinate System Setting |
| G53 | 00 | Machine Coordinate System Setting |
| G54 | 14 | Work Coordinate System One Selection |
| G68 | 04 | Mirror Image for Double Turrets ON |
| *G69 | 04 | Mirror Image for Double Turrets OFF |
| G70 | 00 | Finishing Cycle |
| G71 | 00 | Stock Removal in Turning |
| G72 | 00 | Stock Removal in Facing |
| G73 | 00 | Pattern Repeating |
| G74 | 00 | Peck Drilling Cycle |
| G75 | 00 | Groove Cutting Cycle |
| G76 | 00 | Multiple Thread Cutting Cycle |
| *G80 | 10 | Canned Drilling Cycle Cancellation |
| G83 | 10 | Face Drilling Cycle |
| G84 | 10 | Face Tapping Cycle |
| G86 | 10 | Face Boring Cycle |
| G90 | 01 | Outer/Inner Diameter Turning Cycle |
| G92 | 01 | Thread... |