Preparatory
Functions (G-Codes)
G00 Rapid positioning move
G01 Linear cutting move
G02 Clockwise circular cutting move
G03 Counterclockwise circular cutting move
G04 Set dwell in seconds
G25 Execute subroutine
G26 Conditional branch
G27 Unconditional branch
G28 Set system or user defined variable to value
G33 Canned threading cycle
G70 Set inch programming (default)
G71 Set metric programming
G72 Set rotary table scaling
G74 Set single quadrant arc mode (default)
G75 Set multiple quadrant arc mode
G80 Cancel canned cycle
G81 Canned outside and inside diameter turning cycle
G82 Canned cycle for reducing part length (facing)
G90 Set absolute programming mode
G91 Set incremental programming mode (default)
G92 Set current tool position counters to value
G95 Chain to next part program
G96 Enable Constant Surface Speed mode
G97 Disable Constant Surface Speed
|
Miscellaneous
Functions (M-Codes)
M00 Temporary stop
M02 End of program stop
M03 Spindle CW (output #1)
M04 Spindle CCW (output #5)
M05 Spindle (output#1, output#5)
M06 Tool change
M08 Coolant (output #2)
M09 Coolant (output #2)
M10 Vacuum (output #3)
M11 Vacuum (output #3)
M12 Auxiliary Output (output #4)
M13 Auxiliary Output (output #4)
M17 Return from subroutine
M25 Rapid traverse to home position
M39 Chuck (output #6)
M40 Chuck (output #6)
M66 Jog axis during execution
M97 Wait for true input state then continue
M99 Restart part program from beginning
|
Special
Codes
+ Adds two variables
- Subtracts two variables
* Multiplies two variables
/ Divides two variables
A Rotary table angle
F Feedrate
S Spindle speed
T Tool number
V Rotary table velocity |