GTCNC-150iT-II G Codes M Codes
GREAT-150iT-II or GTCNC-150iT-II G Codes M Codes for CNC Lathe.

G Codes
| G Code | Description |
|---|---|
| G00 | Rapid positioning |
| G01 | Linear interpolation |
| G02 | Helical interpolation CW |
| G03 | Helical interpolation CCW |
| G33 | Treading |
| G04 | Dwell |
| G17 | X-Y plane |
| G18 | Z-X plane |
| G19 | Y-Z plane |
| G20 | Inch format input |
| G21 | Metric format input |
| G28/G281/ G282/G283 |
Return to the first reference point |
| G30/G301/ G302/G303 |
Return to 2nd, 3rd,4th reference point |
| G26 | ZXY axis return to program original point |
| G261 | X axis return to program original point |
| G262 | Y 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 |
| G52 | Set local coordinate system |
| G53 | Select machine coordinate |
| G54 | Select work coordinate system 1 |
| G55 | Select work coordinate system 2 |
| G56 | Select work coordinate system 3 |
| G57 | Select work coordinate system 4 |
| G58 | Select work coordinate system 5 |
| G59 | Select work coordinate system 6 |
| G60 | Accurate positioning |
| G64 | Continual path processing |
| G74 | Tapping CCW |
| G84 | Tapping CW |
| G77 | Cylindrical/conical interior/exterior diameter cutting canned cycle |
| G78 | Thread cutting canned cycle |
| G79 | End face cutting cycle |
| G70 | Finish turning |
| 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 |
| G92 | Set work coordinate system |
| G94 | Feed per minute mode |
| G95 | Feed per revolution mode |
| G96 | Constant surface speed mode |
| G97 | Constant surface speed mode cancel |
| G22 | Program cycle |
| G800 | Program cycle cancel |
| G65 | Non-modal macro program calling |
| G66 | Modal calling of macro program |
| G67 | Cancel macro program calling |
M Codes
| M Code | Description |
|---|---|
| M02 | Program end, stop auto run (default is M02) |
| M30 | Program end, turn off spindle and cool |
| M00 | Program pause, press “run” to continue run |
| M20 | Program end, repeated executes program according to running times set in parameter, applied to test CNC |
| M98 | sub-program calling |
| M99 | sub-program end |
| M97 | Program jump |
| M03 | Spindle CW |
| M04 | Spindle CCW |
| M05 | Spindle stop |
| M08 | Turn on cool |
| M09 | Turn off cool |
| M10 | Chuck clamp |
| M11 | Chuck unclamp |
| M24 | Turn on blowing |
| M25 | Turn off blowing |
| M32 | Turn on lubrication |
| M33 | Turn off lubrication |
| M41 | User self-defined turn on |
| M42 | User self-defined turn off |
| M43 | User self-defined turn on |
| M44 | User self-defined turn off |
| M45 | User self-defined turn on |
| M46 | User self-defined turn off |
| M47 | User self-defined turn on |
| M48 | User self-defined turn off |
| M49 | User self-defined turn on |
| M50 | User self-defined turn off |
| M51 | User self-defined turn on(PLC defaulted center forward) |
| M52 | User self-defined turn off |
| M53 | User self-defined turn on(PLC defaulted center backward) |
| M54 | User self-defined turn off |
| M55 | User self-defined turn on |
| M56 | User self-defined turn off |
| M57 | User self-defined turn on |
| M58 | User self-defined turn off |
| M61 | Spindle high grade shift(the first) |
| M62 | Spindle low grade shift(the second) |
| M63 | Spindle grade shift (the third) |
| M64 | Spindle grade shift (the fourth) |
| M88 | User self-defined (realize program execution by controlling self definition) |
| M89 | User self-defined(realize program execution by controlling self definition) |
| M317 | Clear X-axis of machine coordinates |
| M318 | Clear Y-axis of machine coordinates |
| M319 | Clear Z-axis of machine coordinates |
| M320 | Clear all axes of machine coordinates including X,Y(C),Z,A,B |