-

G-Code Reference Table

Below is a reference table of G-Codes
G-Code Group Function
G04 G04: Dwell 0* Dwell
G09 G09: Non Modal Exact Stop 0* Non-Modal Exact Stop
G10 G10: Set work and tool offsets 0* Set work and tool offsets
G31 G31: Skip function 0* Skip function
G52 G52: Local WCS Offset 0* Local WCS Offset
G53 G53: Non Modal MCS Linear Move 0* Non-Modal MCS move
G92 G92: Set Axes Position 0* Set axes position
--------- ------- ------------------------------------------------------
G00 G00: Rapid Move 1 Rapid
G01 G01: Linear Move 1 Linear
G02 G02 and G03 Circular Moves 1 CW Arc
G03 G02 and G03 Circular Moves 1 CCW Arc
--------- ------- ------------------------------------------------------
G17 G17 G18 G19 : Plane Selection 2 XY Plane
G18 G17 G18 G19 : Plane Selection 2 ZX Plane
G19 G17 G18 G19 : Plane Selection 2 YZ Plane
--------- ------- ------------------------------------------------------
G90 G90 and G91 Absolute and Incremental Mode 3 Absolute
G91 #80290 3 Incremental
--------- ------- ------------------------------------------------------
G94 G94 Units per Minute Mode 5 Units per Minute Mode
--------- ------- ------------------------------------------------------
G20 G20 and G21 : Inches and Metric 6 Inches
G21 G20 and G21 : Inches and Metric 6 mm
--------- ------- ------------------------------------------------------
G40 G40, G41, G42: Tool Radius Offset 7 Tool Offset Off
G41 G40, G41, G42: Tool Radius Offset 7 Tool Offset Left
G42 G40, G41, G42: Tool Radius Offset 7 Tool Offset Right
--------- ------- ------------------------------------------------------
G43 G43, G44, and G49 Tool Length Offset 8 Tool Length Offset Positive
G44 G43, G44, and G49 Tool Length Offset 8 Tool Length Offset Negative
G49 G43, G44, and G49 Tool Length Offset 8 Tool Length Off
--------- ------- ------------------------------------------------------
G50 G50 and G51 Scaling Mode 11 Scaling Off
G51 G50 and G51 Scaling Mode 11 Scaling On
--------- ------- ------------------------------------------------------
G54-G59 G54 G59 Work Coordinate Systems 12 WCS 1-6
--------- ------- ------------------------------------------------------
G61 G61 and G64 Exact Stop On 13 Exact Stop On
G64 G61 and G64 Exact Stop On 13 Exact Stop Off
--------- ------- ------------------------------------------------------
G68 G68 and G69 Coordinate Rotation Mode 18 Rotation Off
G69 G68 and G69 Coordinate Rotation Mode 18 Rotation On

 


This is the latest version of Compass Online help and the content may refer to features not available in previously released versions of Compass.

Copyright © 2026 YASKAWA America, Inc.