Save thousands with do-it-yourself CNC.
CNC Retrofit Kits for Mills, Lathes, Routers, & ATCs

(814) 360-0279
sales@ajaxcnc.com
Mach3 Kits
Centroid Kits

  Mill Kits
  Bridgeport Kits
  Lathe Kits
  ATC Kits   
  Optic-1 Kits  
  Console Kits

CNC Components
CNC Accessories
Ajax Retrofits
Ajax Software
Features & Specs
How To

  Retrofit a Bport Boss

CNC Mill
CNC Lathe
FAQs
About Our Controls
Downloads
Tech Support
Testimonials
Request a Quote
Order Now

Search

Home

G&M-code quick facts:

  • It is not necessary to have knowledge of G&M codes to program and operate an Ajax CNC Control.

  • 75% of our customers use the included Intercon conversational programming software to program most all of thier parts.

  • The other 24% will use a CAD/CAM system to generate part programs to run on the Ajax CNC control.

  • A small percentage still create G-code programs by hand either right at the control with the built-in editor or on a offline PC with any word processor.
  • When it comes to running G and M codes, our control is very forgiving. And does not require any strict format. Caps, lower case, spaces can all be used and interchaged. For example:

    G01X.0625Z-.3125F23 is equvilent to:
    g01 x.0625 z-.3125 f23 or
    G01 X.0625z-.3125F23

  • G code programs created from any source can be edited and graphed in 2D and 3D right at the control. Changes can be made to G-code programs right at the control. The backplot graphics will instantly display your changes.
  • If you don't see a particular operation/function in this G code list, that does NOT mean that the operation/function does not exist!
Lathe G-codes
G00 Rapid Positioning
G01 Linear Interpolation
G02 Circular or Helical Interpolation CW
G03 Circular or Helical Interpolation CCW
G04 Dwell
G10 Parameter Setting
G20 Select Inch Units
G21 Select Metric Units
G28 Return to Reference Point
G29 Return from Reference Point
G30 Return to Secondary Reference Point
G32 Constant Lead Thread Cutting
G40 Cutter Diameter Compensation Cancel
G41 Cutter Diameter Compensation Left
G42 Cutter Diameter Compensation Right
G50 Coordinate System Setting, Max. Spindle Speed Setting
G52 Offset Local Coordinate System
G53 Rapid Position in Machine Coordinates
G54 Select Work Coordinate System #1
G55 Select Work Coordinate System #2
G56 Select Work Coordinate System #3
G57 Select Work Coordinate System #4
G58 Select Work Coordinate System #5
G59 Select Work Coordinate System #6
G65 Call Macro
G70 Finishing Cycle
G71 Stock Removal in Turning
G72 Stock Removal in Facing
G74 End Face Peck Cutting
G75 Outer/Inner Diameter Peck Cutting Cycle
G76 Multi-Pass Threading Cycle
G80 Cancel Canned Cycle
G83 Deep Hole Drilling
G84 Tapping (Optional)
G85 Boring Cycle
G90 Outer/Inner Diameter Cutting Cycle
G92 One-Pass Threading Cycle
G94 End Face Cutting Cycle
G96 Constant Surface Speed
G97 Constant Surface Speed Cancel
G98 Per Minute Feed
G99 Per Revolution Feed

 

Lathe M-codes
M00 - Stop For Operator
M01 - Optional Stop for Operator
M02 - Restart Program
M03 - Spindle On Clockwise
M04 - Spindle On Counterclockwise
M05 - Spindle Stop
M06 - Tool Change
M07 - Mist Coolant On
M08 - Flood Coolant On
M09 - Coolant Off
M10 - Clamp On
M11 - Clamp Off
M26 - Set Axis Home
M29- Set Tap Mode for G84
M50 - C Axis Disable / M51 - C Axis Enable
M91 - Move to Minus Home
M92 - Move to Plus Home
M93 - Release Motor Power
M94/M95 - Output On/Off
M98 - Call Subprogram (Optional)
M99 - Return From Macro or Subprogram
M100 - Wait For Input to Open
M101 - Wait For Input to Close
M102 - Restart Program
M103 - Programmed Action Timer
M104 - Cancel Programmed Action Timer
M105 - Move Minus to Switch
M106 - Move Plus to Switch
M107 - Output BCD Tool Number
M108 - Enable Override Controls
M109 - Disable Override Controls
M115/M116/M125/M126 - Protected Move Probing Functions
M120 - Open data file (overwrite existing file)
M121 - Open data file (append to existing file)
M122 - Record position(s) and optional comment in data file
M123 - Record value and/or comment in data file



   
  AjaxCNC    159 Gates Road, Suite A, Howard, PA 16841
Sales (814) 360-0279   Fax (814) 353-9265
  info@ajaxcnc.com
Copyright © 2004 - 2010 Ajax CNC. All rights reserved.