G00
G01
G02
G03
G04
G10
G12
G13
G15/G16

G17
G18
G19
G20
G21
G28
G28.1
G30
G31
G33
G40
G41
G42
G43
G49
G50
G51
G52
G53
G54
G55
G56
G57
G58
G59
G61
G64
G73
G80
G81
G82
G83
G84
G85
G86
G87
G88
G89
G90
G91
G92
G92.2
G92.x
G93
G94
G95
G98
G99
M00
M01
M02
M03
M04
M05
M06
M07
M08
M09
M30
M47
M48
M49
M83
M84
M87
M88
M90
M91
M92
M93
M94
M95
M98
M99

DeskCNC
 rapid positioning
 linear interpolation
 circular (clockwise XY Plane Only)
 circular (counterclockwise XY Plane Only)
 Dwell
 coordinate system origin setting



 xy plane selection


 inch system selection
 millimeter system selection


Home

Lathe Thread Cycle etc.
 cancel cutter diameter compensation
 start cutter diameter compensation left
 start cutter diameter compensation right
 tool length offset (plus)
 cancel tool length offset



 motion in machine coordinate system
 use preset work coordinate system 1
 use preset work coordinate system 2
 use preset work coordinate system 3
 use preset work coordinate system 4





 cancel motion mode (including any canned cycle)
 drilling canned cycle

 chip-breaking drilling canned cycle

 boring, no dwell, feed out canned cycle
 boring, spindle stop, rapid out canned cycle
 back boring canned cycle
 boring, spindle stop, manual out canned cycle

 absolute distance mode
 incremental distance mode
 offset coordinate systems
 cancel offset coordinate systems

 inverse time feed mode
 feed per minute mode

 initial level return in canned cycles
 R-point level return in canned cycles
 program stop
 optional program stop
 program end
 Spindle on Clockwise
 Spindle on Counter Clockwise
 Spindle Off
 tool change
 Mist Coolant On
 Flood Coolant On
 Coolant Off




 M3 Off
 M4 Off
 M8 Off
 M8 Off
 Aux1 0N
 Aux1 OFF
 Aux2 0N
 Aux2 OFF
 Aux3 0N
 Aux3 OFF




RS274/NGC
Rapid positioning
linear interpolation
circular/helical interpolation (clockwise)
circular/helical interpolation (counterclockwise)
dwell
coordinate system origin setting



xy plane selection
xz plane selection
yz plane selection
inch system selection
millimeter system selection




?
cancel cutter radius compensation
start cutter radius compensation left
start cutter radius compensation right
tool length offset (plus)
cancel tool length offset



motion in machine coordinate system
use preset work coordinate system 1
use preset work coordinate system 2
use preset work coordinate system 3
use preset work coordinate system 4





cancel motion mode (including any canned cycle)
canned cycle: drilling

canned cycle: peck drilling

canned cycle: boring, no dwell, feed out
canned cycle: boring, spindle stop, rapid out
canned cycle: back boring
canned cycle: boring, spindle stop, manual out

absolute distance mode
incremental distance mode
offset coordinate systems and set parameters
cancel offset coordinate systems but do not reset parameters

inverse time feed rate mode
Units per minute feed rate mode

initial level return in canned cycles
R-point level return in canned cycles
program stop
optional program stop
program end
turn spindle clockwise
turn spindle counterclockwise
stop spindle turning
tool change
mist coolant on
flood coolant on
mist and flood coolant off

















MACH2
Rapid positioning
Linear interpolation
Clockwise circular/helical interpolation
G3 Counterclockwise circular/Helical interpolation
Dwell
Coordinate system origin setting
Clockwise circular pocket
Counterclockwise circular pocket
Polar Coordinate moves in G0 and G1
XY Plane select
XZ plane select
YZ plane select
Inch unit
Millimetre unit
Return home
Reference axes
Return home
Straight probe

Cancel cutter radius compensation
Start cutter radius compensation left
Start cutter radius compensation right
Apply tool length offset (plus)
Cancel tool length offset
Reset all scale factors to 1.0
Set axis data input scale factors
Temporary coordinate system offsets
Move in absolute machine coordinate system
Use fixture offset 1
Use fixture offset 2
Use fixture offset 3
Use fixture offset 4
Use fixture offset 5
Use fixture offset 6 / use general fixture number
Exact stop
Constant Velocity mode
Canned cycle - peck drilling
Cancel motion mode (including canned cycles)
Canned cycle - drilling
Canned cycle - drilling with dwell
Canned cycle - peck drilling
Canned cycle - right hand rigid tapping
Canned cycle - boring, no dwell, feed out
Canned cycle - boring, spindle stop, rapid out

Canned cycle - boring, spindle stop, manual out
Canned cycle - boring, dwell, feed out
Absolute distance mode
Incremental distance mode
Offset coordinates and set parameters

Cancel G92 etc.
Inverse time feed mode
Feed per minute mode
Feed per rev mode
Initial level return after canned cycles
R-point level return after canned cycles
Program stop
Optional program stop
Program end
Rotate spindle clockwise
Rotate spindle counter clockwise
Stop spindle rotation
Tool change (by two macros)
Mist coolant on
Flood coolant on
All coolant off
Program end and Rewind
Repeat program from first line
Enable speed and feed override
Disable speed and feed override










Call subroutine
Return from subroutine/repeat



G0 rapid positioning 
G1 linear interpolation 
G2 circular/helical interpolation (clockwise) 
G3 circular/helical interpolation (c-clockwise) 
G4 dwell 
G10 coordinate system origin setting 
G17 xy plane selection 
G18 xz plane selection 
G19 yz plane selection 
G20 inch system selection 
G21 millimeter system selection 
G40 cancel cutter diameter compensation 
G41 start cutter diameter compensation left 
G42 start cutter diameter compensation right 
G43 tool length offset (plus) 
G49 cancel tool length offset 
G53 motion in machine coordinate system 
G54 use preset work coordinate system 1 
G55 use preset work coordinate system 2 
G56 use preset work coordinate system 3 
G57 use preset work coordinate system 4
G58 use preset work coordinate system 5 
G59 use preset work coordinate system 6 
G59.1 use preset work coordinate system 7 
G59.2 use preset work coordinate system 8 
G59.3 use preset work coordinate system 9 
G80 cancel motion mode (includes canned) 
G81 drilling canned cycle 
G82 drilling with dwell canned cycle 
G83 chip-breaking drilling canned cycle 
G84 right hand tapping canned cycle 
G85 boring, no dwell, feed out canned cycle 
G86 boring, spindle stop, rapid out canned 
G87 back boring canned cycle 
G88 boring, spindle stop, manual out canned 
G89 boring, dwell, feed out canned cycle 
G90 absolute distance mode 
G91 incremental distance mode 
G92 offset coordinate systems 
G92.2 cancel offset coordinate systems 
G93 inverse time feed mode 
G94 feed per minute mode 
G98 initial level return in canned cycles



M0 program stop 
M1 optional program stop 
M2 program end 
M3 turn spindle clockwise 
M4 turn spindle counterclockwise 
M5 stop spindle turning 
M6 tool change 
M7 mist coolant on
M8 flood coolant on 
M9 mist and flood coolant off 
M26 enable automatic b-axis clamping 
M27 disable automatic b-axis clamping 
M30 program end, pallet shuttle, and reset 
M48 enable speed and feed overrides 
M49 disable speed and feed overrides 
M60 pallet shuttle and program stop