GTCNC-60TT G Codes M Codes
GREAT-60TT or GTCNC-60TT G Codes M Codes for CNC Lathe.

G Codes
| G Code | Description |
|---|---|
| G00 | Rapid motion |
| G01 | Linear interpolation |
| G02 | Circular interpolation CW |
| G03 | Circular interpolation CCW |
| G33 | Thread cutting |
| G04 | Dwell |
| G20 | Inch format input |
| G21 | Metric format input |
| G28 | X, Z axis return to the first reference point |
| G281 | X axis return to the first reference point |
| G283 | Z axis return to the first reference point |
| G26 | ZX axis return to program original point |
| G261 | X axis return to program original point |
| G263 | Z axis return to program original point |
| G40 | tool radius compensation cancel |
| G41 | Cutter radius compensation, left |
| G42 | Cutter radius compensation, right |
| G60 | Accurate positioning |
| G64 | Continual path processing |
| G77 | Cylindrical/conical in/ex diameter cutting canned cycle |
| G78 | Thread cutting canned cycle |
| G79 | End face cutting canned cycle |
| G70 | Finish turning cycle |
| G71 | Cylindrical rough turning multi-cycle |
| G72 | End face rough turning multi-cycle |
| G173 | Multiple mode contour rough turning multi-cycle |
| G174 | End face pick drilling multi-cycle |
| G175 | Interior/exterior diameter drilling/grooving multi-cycle |
| G176 | Thread cutting multi-cycle |
| G90 | Absolute programming |
| G91 | Incremental programming |
| G52 | Set local coordinates |
| G94 | Feed per minute mode |
| G95 | Feed per revolution mode |
| G96 | Constant surface speed control |
| G97 | Constant surface speed control cancel |
| G22 | Program recycle |
| G800 | Program recycle cancel |
M Codes
| M Code | Description |
|---|---|
| M00 | Program pause. |
| M02 | Program end. |
| M30 | Program end. |
| M20 | Program end, repeated executes program according to running times set in parameter, applied to test CNC |
| M03 | Spindle CW |
| M04 | Spindle CCW |
| M05 | Spindle stop |
| M08 | Cooling on |
| M09 | Cooling off |
| M10 | Chuck clamping |
| M11 | Chuck unclamping |
| M55 | Center tightening |
| M54 | Center release |
| M23 | Lubricate on |
| M22 | Lubricate off |
| M25 | Self-defined 1 on |
| M24 | Self-defined 1 off |
| M71 | Self-defined 2 on |
| M70 | Self-defined 2 off |
| M73 | Self-defined 3 on |
| M72 | Self-defined 3 off |
| M75 | Self-defined 4 on |
| M74 | Self-defined 4 off |
| M77 | Self-defined 5 on |
| M76 | Self-defined 5 off |
| M79 | Self-defined 6 on |
| M78 | Self-defined 6 off |
| M81 | Self-defined 7 on |
| M80 | Self-defined 7 off |
| M83 | Self-defined 8 on |
| M82 | Self-defined 8 off |
| M12 | Check 0V valid |
| M13 | Check +24V valid |
| M18 | Check 0V valid |
| M19 | Check +24V valid |
| M28 | Check 0V valid |
| M29 | Check +24V valid |
| M14 | Check 0V valid skip |
| M15 | Check +24V valid skip |
| M16 | Check 0V valid skip |
| M17 | Check +24V valid skip |
| M97 | Skip |
| M98 | Calling |
| M99 | Calling return |
| M41 | 1st grade |
| M42 | 2nd grade |
| M43 | 3rd grade |
| M44 | 4th grade |
| M317 | Clear X-axis of Machine coordinates |
| M319 | Clear Z-axis of Machine coordinates |
| M320 | Clear both X and Z-axis of Machine coordinates |