0% found this document useful (0 votes)
82 views2 pages

G&M Codes For NC Progrm

The document provides descriptions of preparatory and miscellaneous G and M codes for a FANUC-OM controller used in CNC milling. It lists codes for linear and circular interpolation, plane selection, tool and work coordinate systems, canned cycles for drilling and tapping, feed rates, and spindle/coolant control. Common codes include G00 for rapid positioning, G01 for linear interpolation, G02/G03 for circular moves, and M03/M04 for clockwise/counterclockwise spindle rotation.

Uploaded by

Mohit Singhal
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
82 views2 pages

G&M Codes For NC Progrm

The document provides descriptions of preparatory and miscellaneous G and M codes for a FANUC-OM controller used in CNC milling. It lists codes for linear and circular interpolation, plane selection, tool and work coordinate systems, canned cycles for drilling and tapping, feed rates, and spindle/coolant control. Common codes include G00 for rapid positioning, G01 for linear interpolation, G02/G03 for circular moves, and M03/M04 for clockwise/counterclockwise spindle rotation.

Uploaded by

Mohit Singhal
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 2

Computer Aided Manufacturing Lab

CNC MILLING
FANUC –OM Controller

G - Preparatory Codes

CODE DESCRIPTION MODAL


G00 Rapid Traverse Positioning M
G01 Linear Interpolation M
G02 Circular Interpolation CW M
G03 Circular Interpolation CCW M
G04 Dwell NM
G17 XY Plane selection M
G18 XZ Plane selection M
G19 YZ Plane selection M
G20 System of units - Inch M
G21 System of Units - Metric M
G28 Return to reference point NM
G29 Return from reference point NM
G40 Cutter compensation cancel M
G41 Cutter compensation left M
G42 Cutter compensation Right M
G43 Tool Length compensating (X-Direction) M
G44 Tool Length compensating (Y-Direction)_ M
G49 Tool Length compensating Cancel M
G50 Scaling cancel M
G51 Scaling M
G54 to G59 Work coordinate system selection (1-6) M
G68 Co-ordinate Rotation M
G69 Co-ordinate Rotation cancel M
G80 Canned Cycle cancel M
G81 Drilling cycle M
G82 Drilling cycle (Dwell) M
G83 Peck Drilling Cycle (Deep hole) M
G84 Tapping cycle M
G85 Boring Cycle M
G87 Back Boring Cycle (Deep hole) M
G88 Boring (Dwell, Manual) M
G90 Absolute Programming M
G91 Incremental Programming M
G92 Set up work coordinate system (Part Zero) M
G94 Feed per minute M
G95 Feed per rotation M
G98 Return to initial point in the canned cycle M
G99 Return to Reference point level in canned cycle M
Computer Aided Manufacturing Lab

CNC MILLING
FANUC –OM Controller

M - Miscellaneous Codes

CODE DESCRIPTION
M00 Program stop
M01 Optional stop
M03 Spindle Rotation - Clockwise
M04 Spindle Rotation - Counterclockwise
M05 Spindle stop
M06 Tool change
M07 Coolant Low pressure on
M08 Coolant High pressure on
M09 Coolant off
M13 Spindle Rotation Clockwise with coolant on
M14 Spindle Rotation Counterclockwise with coolant off
M30 Program reset and Tape Rewind
M98 Sub program Call
M99 Sub program End (return)

You might also like