-

G-Code Programming

Sub Pages Description
G-Code Reference Table
G01: Linear Move
G00: Rapid Move
G40, G41, G42: Tool Radius Offset
G92: Set Axes Position
G02 and G03 Circular Moves
G04: Dwell
G09: Non Modal Exact Stop
G10: Set work and tool offsets
G17 G18 G19 : Plane Selection
G20 and G21 : Inches and Metric
G28: Rapid Move to Reference (Zero) position
G31: Skip function
G43, G44, and G49 Tool Length Offset
G50 and G51 Scaling Mode
G52: Local WCS Offset
G53: Non Modal MCS Linear Move
G54 G59 Work Coordinate Systems
G61 and G64 Exact Stop On
G68 and G69 Coordinate Rotation Mode
G90 and G91 Absolute and Incremental Mode
PLC Data Structures
M-Codes & PLC Calling Interactions
Accessing External Variables from G-Code Programs
Accessing External Variables from G Code Programs
G-Code Variables
M98 Sub-Program Calls
G-Code Macro Programming
G-Code Macro $ System Functions
Macro Language Programming Example: Configurable Circular Pattern
Modal State

 


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.