You are on page 1of 8

CAM-LAB 

​ ASSIGNMENT-1 . 

Date: Name : Rohit Kumar 

10/02/2021 REG.No : 20186053(PIE) 

G-Codes for CNC Machines:-- 

G00  Move in straight line at rapid speed    

G01  Move in a straight line at last speed commanded by Feed rate    

G02  CW circular arc at the Feed rate    

G03  CCW circular arc at Feed rate    

G04  Dwell: stop for a specified time    

G05  FADAL Non-modal rapids    

G09  Exact stop check    

G10  Programmable parameter input    


G15  Turn Polar coordinates OFF, return to Cartesian Coordinates    

G16  Turn Polar coordinates ON    

G17  Select X-Y plane    

G18  Select X-Z plane    

G19  Select Y-Z plane    

G20  Program coordinates in Inches    

G21  Program coordinates in mm    

G27  Reference point return check    

G28  Return to home position    

G29  Return from the reference position    

G30    
nd​ rd​ th​
Return to the 2​ , 3​ , 4​ reference point 

G32  Constant lead threading (like G01 synchronized with spindle)    

G40  Tool cutter compensation OFF    


G41  Tool cutter compensation left    

G43  Tool cutter compensation right    

G44  Apply tool length compensation (minus)    

G49  Tool length compensation cancel    

G50  Reset all scale factors to 1.0    

G51  Turn on scale factors    

G52  Local workshift for all coordinate systems; add XYZ offsets    

G53  Machine Coordinate system (cancel work offsets)    

G54    
st​
Work coordinate system(1​ workpiece) 

G55    
nd​
Work coordinate system(2​ workpiece) 

G56    
rd​
Work coordinate system(3​ workpiece) 
G57    
th​
Work coordinate system(4​ workpiece) 

G58    
th​
Work coordinate system(5​ workpiece) 

G59    
th​
Work coordinate system(6​ workpiece) 

G61  Exact Stop check mode    

G62  Automatic corner override    

G63  Tapping mode    

G64  Best speed path    

G65  Custom macro simple call    

G68  Coordinate System Rotation    

G69  Cancel Coordinate System Rotation    

G73  High speed drilling cycle (small retract)    


G74  Left hand tapping cycle    

G76  Fine boring cycle    

G80  Cancel canned cycle    

G81  Simple drilling cycle    

G82  Drilling cycle with dwell(counter boring)    

G83  Peck drilling cycle (full retract)    

G84  Tapping cycle    

G85  Boring canned cycle, no dwell, feed out    

G86  Boring canned cycle, spindle stop, rapid out    

G87  Back boring canned cycle    

G88  Boring canned cycle, spindle stop, manual out    

G89  Boring canned cycle, dwell, feed out    

G90  Absolute programming of XYZ (type B and C systems)    

G90.1  Absolute programming of IJK (type B and C systems)    

G91  Incremental programming of XYZ (type B and C systems)    


G91.1  Incremental programming of IJK (type B and C systems)    

G92  Offset coordinate system and save parameters    

G92 (alternate)  Clamp of maximum spindle speed    

G92.1  Cancel offset and zero parameters    

G92.2  Cancel offset and retain parameters    

G92.3  Offset coordinate system with saved parameters    

G94  Units per minute feed mode (Units in inches or mm)    

G95  Units per revolution feed mode (Units in inches or mm)    

G96  Constant surface speed    

G97  Cancel surface speed    

G98  Return to initial Z-plane after canned cycle    

 
G99  Return to initial R plane after canned cycle 

M Code For CNC Machines:--- 

 
M00  Program stop    

M01  Optional  Stop:  Operator    

selected to Enable 

M02  End of Program    

M03  Spindle ON (CW Rotation)    

M04  Spindle ON (CCW Rotation)    

M05  Spindle Stop    

M06  Tool Change    

M07  Mist Coolant ON    

M08  Flood Coolant ON    

M09  Coolant OFF    

M17  FADAL subroutine return    


M29  Rigid  Tapping  Mode  and    

Fanuc Controls 

 
M30  End  of  program,  Rewind  and 

Reset Modes 

You might also like