GTCNC-150iM-II G Codes M Codes
GREAT-150iM-II or GTCNC-150iM-II G Codes M Codes for Milling Machine & Machining Centers
G Codes
G Code | Description |
---|---|
G00 | Rapid positioning |
G01 | Linear interpolation |
G02 | Circular/helical interpolation CW |
G03 | Circular/helical interpolation CCW |
G33 | Threading |
G04 | Dwell |
G15 | Cancel polar coordinates instruction |
G16 | Polar coordinates instruction |
G17 | Select X-Y plane |
G18 | Select Z-X plane |
G20 | Inch input (English system) |
G21 | Millimeter input (metric system) |
G28/G281/ G282/G283 | Return to the first reference point |
G30/G301/ G302/G303 | Return to 2nd ,3rd ,4th reference point |
G26 | ZXY axes 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 | Cancel tool radius compensation |
G41 | Tool radius compensation, left |
G42 | Tool radius compensation, right |
G43 | Tool length positive compensation |
G44 | Tool length negative compensation |
G45 | Tool offset value increase |
G46 | Tool offset value decrease |
G47 | Increase by twice of the tool offset value |
G48 | Decrease by twice of the tool offset value |
G49 | Cancel tool length compensation |
G37 | Cancel scaling |
G36 | Enable scaling |
G12 | Cancel programmable mirror |
G11 | Enable programmable mirror: realize symmetric machining. |
G52 | Local coordinate system |
G53 | Machine coordinate system |
G54 | Work coordinate system 1 |
G55 | Work coordinate system 2 |
G56 | Work coordinate system 3 |
G57 | Work coordinate system 4 |
G58 | Work coordinate system 5 |
G59 | Work coordinate system 6 |
G60 | Accurate positioning |
G64 | Continual path working |
G68 | Coordinate rotation |
G69 | Cancel coordinate rotation |
G73 | Deep hole drilling cycle |
G74 | CCW pecking deep hole tapping cycle |
G76 | Finished boring cycle |
G80 | Canned cycle cancel/external operated function canceling. |
G81 | Drilling cycle |
G82 | Chip removal drilling cycle or counter boring cycle |
G83 | Chip removal drilling cycle |
G84 | CW peck deep hole tapping cycle |
G85 | Boring cycle |
G86 | Boring cycle |
G87 | Boring cycle |
G89 | Boring cycle |
G90 | Absolute program |
G91 | Increment program |
G92 | Set work coordinates or suppress the max speed of spindle |
G94 | Feed per minute |
G95 | Feed per revolution |
G98 | Canned cycle return to original point: apply to final drilling |
G99 | Canned cycle return to R point: apply to hole drilling at the first time |
G22 | Program cycle command |
G800 | Cancel Program cycle command |
G65 | Non-mode calling for macro program |
G66 | Mode calling for macro program |
G67 | Cancel Mode calling for macro program |
G180—G189 | User self defined macro program |
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 skip |
M03 | Spindle CW |
M04 | Spindle CCW |
M05 | Spindle stop |
M06/M16 | Exchange tool |
M08 | Turn on cool |
M09 | Turn off cool |
M10 | Tighten tool |
M11 | Loosen tool |
M24 | Turn off blowing |
M25 | Turn on 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 |
M52 | User self-defined turn off |
M53 | User self-defined turn on |
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 top gear shift (the first) |
M62 | Spindle low gear shift(the second) |
M63 | Spindle 3rd gear shifting |
M64 | Spindle 4th gear shifting |
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 |
Program Instruction
Instruction | Description |
---|---|
File No. | % |
Program block No. | N |
Preparation function | G |
Auxiliary function | M |
Tool selection | T |
Tool compensation | H D |
Spindle function | S SP |
Cutting speed | F |
Coordinates character | X Y Z A |
Center coordinates | I J K |
Step length | R |
Delay time | P |
Program entrance | P |
Repeat times | L |