0% found this document useful (0 votes)
78 views3 pages

G Codes and M Codes

Uploaded by

priyankvartak
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
78 views3 pages

G Codes and M Codes

Uploaded by

priyankvartak
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

General Codes (G- Codes)

G-
Milling Function Lathe Function
Code
Rapid travel – Axis motion at
G00 Same as Milling function
maximum speed.
Linear interpolation – Straight
G01 linear axis motion at a controlled Same as Milling function
federate.
Circular interpolation CW –
G02 Clockwise circular motion using Same as Milling function
2 axes in a single block of code.
Circular interpolation CCW –
Anticlockwise circular motion
G03 Same as Milling function
using 2 axes in a single block of
code.
Dwell – Stoppage of axis motion
G04 Same as Milling function
for a programmed length of time.
G17 X-Y plane selection Same as Milling function
G18 Z-X plane selection Same as Milling function
G19 Y-Z plane selection Same as Milling function
G20 - Inch Programming
G21 - Metric Programming
Cancel Cutter Radius
G40 Cancel Tool Nose Radius
Compensation
Cutter Radius Compensation - Tool Nose Radius Compensation
G41
Left - Left
Cutter Radius Compensation - Tool Nose Radius Compensation
G42
Right - Right
G70 Inch Programming Finishing Cycle
G71 Metric Programming Stock removal in Turning
G72 - Stock removal in Facing
G80 Cancel Canned Cycle -
Drilling Cycle, Center drilling
G81 -
Cycle
G82 Counterboring Cycle -
G83 Deep Hole Drilling Cycle -
G84 Tapping Cycle -
G85 Boring or Reaming Cycle -
G90 Absolute Positioning Same as Milling function
G91 Incremental Positioning Same as Milling function
G94 Feed rate Per Minute Same as Milling function
G95 Feed rate Per Revolution Same as Milling function
Miscellaneous Codes (M-Codes)
M-Code Function

M00 Program stop – Terminate the auto operation


M01 Optional or Planned program stop
M02 End of program
M03 Spindle ON – Clockwise Rotation
M04 Spindle ON – Anticlockwise Rotation
M05 Spindle OFF
M06 Tool change
M07 Coolant ON – Mist coolant/Coolant thru spindle
M08 Coolant ON – Flood coolant
M09 Coolant OFF
M13 Spindle ON – Clockwise Rotation & Coolant ON
M14 Spindle ON – Anticlockwise Rotation & Coolant ON
M30 End of program (Reset)

You might also like