CNC Syntax Editor. M code and G code for machining centers

Since version 2.0 our CNC Syntax Editor software supports syntax highlighting for all G and M codes from the table below. The trial or FREE version of our software you can download in the Download area. We are planning to add tooltips with comments for each G code or M code in the program interface in the next release. You can ask our support team for details about our software and is features.

G codes chart

M codes chart

G00 Positioning (rapid traverse)
G01 Linear interpolation (feed)
G02 Circular interpolation CW
G03 Circular interpolation CCW
G04 Dwell
G07 Imaginary axis designation
G09 Exact stop check
G10 Offset value setting
G17 XY plane selection
G18 ZX plane selection
G19 YZ plane selection
G20 Input in inch
G21 Input in mm
G22 Stored stroke limit ON
G23 Stored stroke limit OFF
G27 Reference point return check
G28 Return to reference point
G29 Return from reference point
G30 Return to 2nd, 3rd & 4th ref. point
G31 Skip cutting
G33 Thread cutting
G40 Cutter compensation cancel
G41 Cutter compensation left
G42 Cutter compensation right
G43 Tool length compensation + direction
G44 Tool length compensation - direction
G45 Tool offset increase
G46 Tool offset decrease
G47 Tool offset double increase
G48 Tool offset double decrease
G49 Tool length compensation cancel
G50 Scaling OFF
G51 Scaling ON
G52 Local coordinate system setting
G54 Work coordinate system 1 select
G55 Work coordinate system 2 select
G56 Work coordinate system 3 select
G57 Work coordinate system 4 select
G58 Work coordinate system 5 select
G59 Work coordinate system 6 select
G60 Single direction positioning
G61 Exact stop check mode
G64 Cutting mode
G65 Custom macro simple call
G66 Custom macro modal call
G67 Custom macro modal call cancel
G68 Coordinate system rotation ON
G69 Coordinate system rotation OFF
G73 Peck drilling cycle
G74 Counter tapping cycle
G76 Fine boring
G80 Canned cycle cancel
G81 Drilling cycle, spot boring
G82 Drilling cycle, counter boring
G83 Peck drilling cycle
G84 Tapping cycle
G86 Boring cycle
G87 Back boring cycle
G89 Boring cycle
G90 Absolute programming
G91 Incremental programming
G92 Programming of absolute zero point
G94 Per minute feed
G95 Per revolution feed
G96 Constant surface speed control
G97 Constant surface speed control cancel
G98 Return to initial point in canned cycle
G99 Return to R point in canned cycle
M00 Program stop
M01 Optional stop
M02 End of program (no rewind)
M03 Spindle CW
M04 Spindle CCW
M05 Spindle stop
M06 Tool change
M08 Flood coolant ON
M09 Flood coolant OFF
M19 Spindle orientation ON
M21 Tool
M22 Tool
M23 Tool
M24 Tool
M25 Tool clamp
M26 Tool unclamp
M27 Clutch neutral ON
M28 Clutch neutral OFF
M30 End program (rewind stop)
M98 Call sub-program
M99 End sub-program
Copyright © 1999 - 2024, AGG Software.
All rights reserved. Terms of use | Privacy policy