G AND M Codes For Fanuc 1663320700012
G AND M Codes For Fanuc 1663320700012
1
G and M CODES FOR CNC MILL FANUC G49 Tool length compensation cancel G82 Drilling cycle or counter boring cycle M03 Spindle start forward CW
CONTROLLERS
Fanuc G-Code List (Mill) G53 Machine coordinate system selection G83 Peck drilling cycle M04 Spindle start reverse CCW
G code Description Workpiece coordinate system 1 G84 Tapping cycle M05 Spindle stop
G54
selection
G00 Rapid traverse G85 Boring cycle M06 Tool change
Workpiece coordinate system 2
G01 Linear interpolation G55 G86 Boring cycle Coolant ON – Mist coolant/Coolant
selection M07
thru spindle
G02 Circular interpolation CW G87 Back boring cycle
Workpiece coordinate system 3
G56 M08 Coolant ON – Flood coolant
G03 Circular interpolation CCW selection G88 Boring cycle
M09 Coolant OFF
G04 Dwell Workpiece coordinate system 4 G89 Boring cycle
G57
selection M19 Spindle orientation
G17 X Y plane selection G90 Absolute command
Workpiece coordinate system 5 M28 Return to origin
G18 Z X plane selection G58 G91 Increment command
selection
M29 Rigid tap
G19 Y Z plane selection Setting for work coordinate system or
Workpiece coordinate system 6 G92
G59 clamp at maximum spindle speed M30 End of program (Reset)
G28 Return to reference position selection
G98 Return to initial point in canned cycle M41 Low gear select
2nd, 3rd and 4th reference position G68 Coordinate rotation
G30
return G99 Return to R point in canned cycle M42 High gear select
G69 Coordinate rotation cancel
G40 Cutter compensation cancel Fanuc M-Code List (Mill) M94 Cancel mirror image
G73 Peck drilling cycle
M
G41 Cutter compensation left Description M95 Mirror image of X axis
G74 Left-spiral cutting circle code
G42 Cutter compensation right M96 Mirror image of Y axis
G76 Fine boring cycle M00 Program stop
G43 Tool length compensation + direction M98 Subprogram call
G80 Canned cycle cancel M01 Optional program stop
G44 Tool length compensation – direction M99 End of subprogram
G81 Drilling cycle, spot boring cycle M02 End of program