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

  (814) 360-0279
sales@ajaxcnc.com
CNC 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!
Mill G-codes
G00 Rapid Positioning
G01 Linear Interpolation
G02 Circular or Helical Interpolation CW
G03 Circular or Helical Interpolation CCW
G04 Dwell
G09 Exact Stop
G10 Parameter Setting
G17 Circular Interpolation Plane Selection XY
G18 Circular Interpolation Plane Selection ZX
G19 Circular Interpolation Plane Selection YZ
G20 Select Inch Units
G21 Select Metric Units
G28 Return to Reference Point
G29 Return from Reference Point
G30 Return to Secondary Reference Point
G40 Cutter Compensation Cancel
G41 Cutter Compensation Left
G42 D Cutter Compensation Right
G43 E Tool Length Compensation (+)
G44 E Tool Length Compensation (-)
G49 * E Tool Length Compensation Cancel
G50 M Scaling/Mirroring Off (Optional)
G51 M Scaling/Mirroring On (Optional)
G52 B Offset Local Coordinate System Origin (Optional)
G53 B Rapid Position in Machine Coordinates (Optional)
G54 L Select Work Coordinate System #1
G55 L Select Work Coordinate System #2 (Optional)
G56 L Select Work Coordinate System #3 (Optional)
G57 L Select Work Coordinate System #4 (Optional)
G58 L Select Work Coordinate System #5 (Optional)
G59 L Select Work Coordinate System #6 (Optional)
G61 F Exact Stop Mode
G64 * F Cutting Mode
G65 J Call Macro (Optional)
G73 G High Speed Peck Drilling
G74 G Counter Tapping (Optional)
G80 * G Canned Cycle Cancel
G81 G Drilling and Spot Drilling
G82 G Drill with Dwell
G83 G Deep Hole Drilling
G84 G Tapping (Optional)
G85 G Boring
G89 G Boring with Dwell
G90 * H Absolute Positioning Mode
G91 H Incremental positioning Mode
G92 B Set Absolute position
G98 * I Initial Point Return
G99 I R Point Return
G117 * C Rotation of Plane Selection XY
G118 C Rotation of Plane Selection ZX
G119 C Rotation of Plane Selection YZ

Mill 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
M25 - Move To Z Home
M26 - Set Axis Home
M39 - Air Drill
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    P.O. Box 9012 Milesburg, PA 16853
Sales (814)-360-0279   Fax (413)-793-4886
  info@ajaxcnc.com
Site content ©2004 Ajax CNC. All rights reserved.