0% found this document useful (0 votes)
20 views6 pages

PocketNC Supported Codes

The document provides a comprehensive list of G-code and M-code commands used in CNC programming, detailing their functions such as positioning, interpolation, tool management, and cycle commands. It also includes notes on limitations and specific parameters relevant to certain operations. Additionally, it mentions the maximum velocity and angular velocity supported by the system, along with references to further documentation.

Uploaded by

isaakb
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as XLSX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
20 views6 pages

PocketNC Supported Codes

The document provides a comprehensive list of G-code and M-code commands used in CNC programming, detailing their functions such as positioning, interpolation, tool management, and cycle commands. It also includes notes on limitations and specific parameters relevant to certain operations. Additionally, it mentions the maximum velocity and angular velocity supported by the system, along with references to further documentation.

Uploaded by

isaakb
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as XLSX, PDF, TXT or read online on Scribd
You are on page 1/ 6

G code Description

G00 Rapid positioning


G01 Linear interpolation
G02 Circular interpolation clockwise (CW)
G03 Circular interpolation counterclockwise (CW)
G04 Dwell - as a separate block only
G05 Cubic Spline
G05.1 Quadratic Spline
G05.2 NURBS Block
G05.3 NURBS Block
G10 L1 Set Tool Table
G10 L2 Set Coordinate System
G10 L10 Set Tool Table
G10 L11 Set Tool Table
G10 L20 Set Coordinate System
G17 XY-plane designation
G18 ZX-plane designation
G19 YZ-plane designation
G17.1 UV-plane designation
G18.1 WU-plane designation
G19.1 VW-plane designation
G20 Imperial units of input
G21 Metric units of input
G28, G28.1Go to Predefined Position
G30, G30.1Go to Predefined Position
G33 Spindle Synchronized Motion
G33.1 Rigid Tapping
G38.x Straight Probe
G40 Cutter radius compensation cancel
G41 Cutter radius compensation - left
G42 Cutter radius compensation - right
G43 Tool length offset
G43.1 Dynamic Tool Length Offset
G49 Cancel Tool Length Compensation
G53 Machine coordinate system
G54 Work coordinate offset 1
G55 Work coordinate offset 2
G56 Work coordinate offset 3
G57 Work coordinate offset 4
G58 Work coordinate offset 5
G59 Work coordinate offset 6
G59.1 Work coordinate offset 7
G59.2 Work coordinate offset 8
G59.3 Work coordinate offset 9
G61 Exact Path Mode
G61.1 Exact Stop Mode
G64 Path Bending
G73 Drilling Cycle with Chip Breaking
G76 Threading Cycle
G80 Fixed cycle cancel
G81 Drilling cycle
G82 Spot-drilling cycle
G83 Peck-drilling cycle (deep hole drilling cycle)
G85 Boring cycle, Feed Out
G86 Boring cycle, Spindle Stop, Rapid Move Out
G89 Boring cycle, Dwell, Feed Out
G90 Absolute dimensioning mode
G91 Incremental dimensioning mode
G90.1 Absolute Arc Distance Mode
G91.1 Incremental Arc Distance Mode
G92 Coordinate System Offset
G92.1 Reset Coordinate System Offsets
G92.2 Reset Coordinate System Offsets
G92.3 Restore Axis Offsets
G93 Feed Rate Mode, Inverse Time Mode
G94 Feed Rate Mode,Units Per Minute Mode
G95 Feed Rate Mode, Units per Revolution Mode
G96 Spindle Control Mode
G97 Spindle Control Mode
G98 Return to initial level in a fixed cycle
G99 Return to R-level in fixed cycle

M00 Program Pause


M01 Program Pause
M02 End of program(usually with reset, no rewind)
M03 Spindle rotation normal (CW for R/H tools)
M04 Spindle rotation reverse (CCW for R/H tools)
M05 Spindle stop
M06 Manual Tool Change
M07 Coolant mist ON
M08 Coolant ON (coolant pump motor ON)
M09 Coolant OFF (coolant pump motor OFF)
M30 Program end (always with reset and rewind)
M48 Feedrate override cancel OFF (deactivated)
M49 Feedrate override cancel ON (activated)
M50 Feed Override Control
M51 Spindle Speed Override Control
M52 Adaptive Feed Control
M53 Feed Stop Control
M60 Automatic pallet change (APC)
M61 Set Current Tool Number
M62 Output Control
M63 Output Control
M64 Output Control
M65 Output Control
M66 Wait on input
M67 Synchronized Analog Output
M68 Analog Output

http://linuxcnc.org/docs/html/gcode/gcode.html
http://linuxcnc.org/docs/html/gcode/m-code.html
Notes
Max Velocity 40in/min, 10deg/sec

Does not support arcs


Does not support arcs
Does not support arcs

Values stored in parameters 5161-5166


Values stored in parameters 5181-5186
Not supported for Pocket NC
Not supported for Pocket NC
Not supported for Pocket NC

D=tool number
D=tool number
H= tool number
P=motion blending tolerance Q=naïve cam tolerance
R=retract pos along Z Q=delta increment along Z L=repeat
Not supported by PocketNC

Not supported by PocketNC


Not supported by PocketNC
Not supported by PocketNC
Not supported by PocketNC
Not supported by PocketNC
Not supported by PocketNC
Not supported by PocketNC
Not supported by PocketNC
Not supported by PocketNC
Not supported by PocketNC

m-code.html

You might also like