Vous êtes sur la page 1sur 2

CNC Milling G Code List G82 Drilling cycle or counter boring cycle

G83 Peck drilling cycle

G code Description
G84 Tapping cycle
G00 Rapid traverse
G01 Linear interpolation
G02 Circular interpolation CW G85 Boring cycle

G03 Circular interpolation CCW G86 Boring cycle

G04 Dwell G87 Back boring cycle

G17 X Y plane selection G88 Boring cycle

G18 Z X plane selection G89 Boring cycle

G19 Y Z plane selection G90 Absolute command

G28 Return to reference position G91 Increment command

2nd, 3rd and 4th reference position Setting for work coordinate system or
G30 return G92 clamp at maximum spindle speed

G40 Cutter compensation cancel G98 Return to initial point in canned cycle

G41 Cutter compensation left G99 Return to R point in canned cycle

G42 Cutter compensation right

CNC Milling M Code List
G43 Tool length compensation + direction
G44 Tool length compensation – direction M code Description
G49 Tool length compensation cancel M00 Program stop
G53 Machine coordinate system selection M01 Optional program stop
Workpiece coordinate system 1 M02 End of program
G54 selection
M03 Spindle start forward CW
Workpiece coordinate system 2
G55 selection M04 Spindle start reverse CCW
Workpiece coordinate system 3 M05 Spindle stop
G56 selection
M06 Too change
Workpiece coordinate system 4
G57 selection Coolant ON – Mist
M07 coolant/Coolant thru spindle
Workpiece coordinate system 5
G58 selection M08 Coolant ON – Flood coolant

Workpiece coordinate system 6 M09 Coolant OFF

G59 selection M19 Spindle orientation
G68 Coordinate rotation M28 Return to origin
G69 Coordinate rotation cancel M29 Rigid tap
G73 Peck drilling cycle M30 End of program (Reset)
G74 Left-spiral cutting circle M41 Low gear select
G76 Fine boring cycle M42 High gear select
G80 Canned cycle cancel M94 Cancel mirrorimage
G81 Drilling cycle, spot boring cycle
M95 Mirrorimage of X axis G94 Feed Per Minute
M96 Mirrorimage of Y axis G95 Feed Per Revolution
M98 Subprogram call G96 Constant surface speed control
M99 End of subprogram Constant surface speed control
G97 cancel

CNC Lathe G Code List

G code Description
G00 Rapid traverse
G01 Linear interpolation CNC Lathe M Code List
G02 Circular interpolation CW
M code Description
G03 Circular interpolation CCW
M00 Program stop
G04 Dwell
M01 Optional program stop
G09 Exact stop
M02 End of program
G10 Programmable data input
M03 Spindle start forward CW
G20 Input in inch
M04 Spindle start reverse CCW
G21 Input in mm
M05 Spindle stop
G22 Stored stroke check function on
M08 Coolant on
G23 Stored stroke check function off
M09 Coolant off
G27 Reference position return check
M29 Rigid tap mode
G28 Return to reference position
M30 End of program reset
G32 Thread cutting
M40 Spindle gear at middle
Tool nose radius compensation
G40 cancel M41 Low Gear Select
G41 Tool nose radius compensation left M42 High Gear Select
G42 Tool nose radius compensation right M68 Hydraulic chuck close
G70 Finish machining cycle M69 Hydraulic chuck open
G71 Turning cycle M78 Tailstock advancing
G72 Facing cycle M79 Tailstock reversing
G73 Pattern repeating cycle M94 Mirrorimage cancel
G74 Peck drilling cycle M95 Mirrorimage of X axis
G75 Grooving cycle M98 Subprogram call
G76 Threading cycle M99 End of subprogram
Coordinate system setting or max.
G92 spindle speed setting