GTCNC-150iT-II G Codes M Codes

GTCNC-150iT-II G Codes M Codes

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

G Codes

G CodeDescription
G00Rapid positioning
G01Linear interpolation
G02Helical interpolation CW
G03Helical interpolation CCW
G33Treading
G04Dwell
G17X-Y plane
G18Z-X plane
G19Y-Z plane
G20Inch format input
G21Metric format input
G28/G281/
G282/G283
Return to the first reference point
G30/G301/
G302/G303
Return to 2nd, 3rd,4th reference point
G26ZXY axis return to program original point
G261X axis return to program original point
G262Y axis return to program original point
G263Z axis return to program original point
G40tool radius compensation cancel
G41Cutter radius compensation, left
G42Cutter radius compensation, right
G52Set local coordinate system
G53Select machine coordinate
G54Select work coordinate system 1
G55Select work coordinate system 2
G56Select work coordinate system 3
G57Select work coordinate system 4
G58Select work coordinate system 5
G59Select work coordinate system 6
G60Accurate positioning
G64Continual path processing
G74Tapping CCW
G84Tapping CW
G77Cylindrical/conical interior/exterior diameter cutting canned cycle
G78Thread cutting canned cycle
G79End face cutting cycle
G70Finish turning
G71Cylindrical rough turning multi-cycle
G72End face rough turning multi-cycle
G173Multiple mode contour rough turning multi-cycle
G174End face pick drilling multi-cycle
G175Interior/exterior diameter drilling/grooving multi-cycle
G176Thread cutting multi-cycle
G90Absolute programming
G91incremental programming
G92Set work coordinate system
G94Feed per minute mode
G95Feed per revolution mode
G96Constant surface speed mode
G97Constant surface speed mode cancel
G22Program cycle
G800Program cycle cancel
G65Non-modal macro program calling
G66Modal calling of macro program
G67Cancel macro program calling

M Codes

M CodeDescription
M02Program end, stop auto run (default is M02)
M30Program end, turn off spindle and cool
M00Program pause, press “run” to continue run
M20Program end, repeated executes program according to running times set in parameter, applied to test CNC
M98sub-program calling
M99sub-program end
M97Program jump
M03Spindle CW
M04Spindle CCW
M05Spindle stop
M08Turn on cool
M09Turn off cool
M10Chuck clamp
M11Chuck unclamp
M24Turn on blowing
M25Turn off blowing
M32Turn on lubrication
M33Turn off lubrication
M41User self-defined turn on
M42User self-defined turn off
M43User self-defined turn on
M44User self-defined turn off
M45User self-defined turn on
M46User self-defined turn off
M47User self-defined turn on
M48User self-defined turn off
M49User self-defined turn on
M50User self-defined turn off
M51User self-defined turn on(PLC defaulted center forward)
M52User self-defined turn off
M53User self-defined turn on(PLC defaulted center backward)
M54User self-defined turn off
M55User self-defined turn on
M56User self-defined turn off
M57User self-defined turn on
M58User self-defined turn off
M61Spindle high grade shift(the first)
M62Spindle low grade shift(the second)
M63Spindle grade shift (the third)
M64Spindle grade shift (the fourth)
M88User self-defined (realize program execution by controlling self definition)
M89User self-defined(realize program execution by controlling self definition)
M317Clear X-axis of machine coordinates
M318Clear Y-axis of machine coordinates
M319Clear Z-axis of machine coordinates
M320Clear all axes of machine coordinates including X,Y(C),Z,A,B