click below
click below
Normal Size Small Size show me how
CNC Programing
G and M codes for CNC Mill
Question | Answer |
---|---|
G00 | Rapid Travel |
G01 | Linear Travel |
G02 | Circular interpolation CW |
G03 | Circular interpolation CCW |
M28 | Machine Home |
G40 | Cutter comp off |
G41 | Cutter comp left |
G42 | Cutter comp right |
G43 | Tool height offset |
G53 | Machine POSITIONING COORDINATE, NON MODAL |
G54 | WORK OFFSET POSITIONING COORDINATE 1 |
G80 | Canned cycle cancel |
G81 | Drill canned |
G82 | Spot drill canned |
G83 | Peck drill canned |
G84 | Right handed tap |
G74 | Left handed tap |
G90 | Absolute positioning |
G91 | Incremental positioning |
G98 | Return to initial plane before canned cycle start |
G99 | R plane in canned cycle |
M00 | Program Stop |
M01 | Optional Stop |
M03 | Start Spindle CW |
M04 | Start Spindle CCW |
MO5 | Spindle stop |
M06 | Tool Change |
M08 | Coolant On |
M09 | Coolant Off |
M30 | Program end and reset |
M97 | LOCAL SUB-PROGRAM CALL (SUB ROUTINE) |
M98 | SUB-PROGRAM CALL |
M99 | SUB-PROGRAM RETURN/LOOP |
G70 | 360 Bolt Circle |
G71 | Bolt Hole Arc |
G72 | Bolt Hole Angle |
I for G70 and G71 | Radius of bolt circle |
J for G70 and G71 | Start angle |
K for G71 | Only used for G71. Angle between holes |
L for G70,G71,G72 | Number of holes to be drilled |
G12 | Circular Pocket CW |
G13 | Circular Pocket CCW |
Pitch | 1/n N=threads per inch |
Minor Diameter formula | O.D. - 2(single depth) |
Single Depth Formula Internal | .5413 x P |
Single Depth Formula External | .6134 x P |
IPM | RPM x # of teeth x chip load |
G47 | Engraving code |
P0, P1, 32-126 for G47 | P0 - literal string P01 - sequential serial numbers 32-126 ASCII CHAR |
How do you show what is to be engraved? | The info is between ( ). Not a man readable with G47. |
L for G12 and G13 | Loop |
G04 | DWELL |
G73 | HS PECK DRILLING CANNED CYCLE |
G76 | FINE BORING CYCLE |
G85 | BORE IN - BORE OUT CANCELED CYCLE |
G86 | BORE IN - STOP - RAPID OUT |
M19 | ORIENT SPINDLE |
M50 | EXCITE PALLET CHANGE |