My Haas Welcome,
!
Haas Tooling MyHaas/HaasConnect Sign In Register Haas Tooling MyHaas/HaasConnect Sign Out Welcome, My Machines Latest Activity My Quotes My Account My Users Sign Out
Find Your Distributor
  1. Select Language
    1. English
    2. Deutsch
    3. Español - España
    4. Español - México
    5. Français
    6. Italiano
    7. Português
    8. Český
    9. Dansk
    10. Nederlands
    11. Magyar
    12. Polski
    13. Svenska
    14. Türkçe
    15. 中文
    16. Suomi
    17. Norsk
    18. الإنجليزية
    19. български
    20. Hrvatski
    21. Ελληνικά
    22. Română
    23. Slovenský
    24. Slovenščina
    25. 한국어
    26. 日本語
    27. Українська
  • machines Main Menu
    • Vertical Mills
      Vertical Mills
      Vertical Mills View All
      • Vertical Mills
      • VF Series
      • Universal Machines
      • VR Series
      • VP-5 Prismatic
      • Pallet-Changing VMCs
      • Mini Mills
      • Mold Machines
      • High-Speed Drill Centers
      • Drill/Tap/ Mill Series
      • Toolroom Mills
      • Pocket Mill
      • Compact Mills
      • Gantry Series
      • SR Sheet Routers
      • Extra-Large VMC
      • Double-Column Mills
      • 3+2 Positioning Machines
    • Multi-Axis Solutions
      Multi-Axis Solutions
      Multi-Axis Solutions View All
      • Multi-Axis Solutions
      • Y-Axis Lathes
      • 5-Axis Mills
    • Lathes
      Lathes
      Lathes View All
      • Lathes
      • ST Series
      • Dual-Spindle
      • Box Way Series
      • Toolroom Lathes
      • Chucker Lathe
      • Haas Bar Feeders
    • Horizontal Mills
      Horizontal Mills
      Horizontal Mills View All
      • Horizontal Mills
      • 50-Taper
      • 40-Taper
    • Rotaries & Indexers
      Rotaries & Indexers
      Rotaries & Indexers View All
      • Rotaries & Indexers
      • Rotary Tables
      • Indexers
      • 5-Axis Rotaries
      • Extra-Large Rotaries
    • Special Series
      Special Series
      Special Series View All
      • Special Series
      • EU_Series_Redirect
    • Automation Systems
      Automation Systems
      Automation Systems View All
      • Automation Systems
      • Mill Automation
      • Lathe Automation
      • Automatic Parts Loaders
      • Automation Models
    • Desktop Machines
      Desktop Machines
      Desktop Machines View All
      • Desktop Machines
      • Desktop Mill
      • Desktop Lathe
      • Control Simulator, Standard
      • Control Simulator, Premium
    • Shop Equipment
      Shop Equipment
      Shop Equipment View All
      • Shop Equipment
      • Knee Mill
      • Haas Manual Lathes
      • Haas Saws
    • Fabrication Machines
      Fabrication Machines
      Fabrication Machines View All
      • Fabrication Machines
      • Laser Cutting Machines
      • CNC Press Brakes
    • QUICK LINKS Special Series  Special Series 
      EU SERIES EU SERIES BUILD & PRICE | PRICE LIST BUILD & PRICE | PRICE LIST In-Stock Machines In-Stock Machines WHAT’S NEW WHAT’S NEW YOUR FIRST CNC YOUR FIRST CNC
      SHOPPING TOOLS
      • Build & Price a Haas
      • Price List
      • Available Inventory
      • CNCA Financing
      WANT TO TALK TO SOMEONE?

      A Haas Factory Outlet (HFO) can answer your questions, and walk you through your best options.

      CONTACT YOUR DISTRIBUTOR >
  • Options Main Menu
    • The Haas Control Value Option Packages
      Value Option Packages
      Value Option Packages View All
      • Value Option Packages
    • Product Image Spindles
      Spindles
      Spindles View All
      • Spindles
    • Product Image Tool Changers
      Tool Changers
      Tool Changers View All
      • Tool Changers
    • Product Image 4th- | 5th-Axis
      4th- | 5th-Axis
      4th- | 5th-Axis View All
      • 4th- | 5th-Axis
    • Product Image Turrets & Live Tooling
      Turrets & Live Tooling
      Turrets & Live Tooling View All
      • Turrets & Live Tooling
    • Product Image Probing
      Probing
      Probing View All
      • Probing
    • Haas Chip & Coolant Management Chip & Coolant Management
      Chip & Coolant Management
      Chip & Coolant Management View All
      • Chip & Coolant Management
    • The Haas Control The Haas Control
      The Haas Control
      The Haas Control View All
      • The Haas Control
    • Product Image Product Options
      Product Options
      Product Options View All
      • Product Options
    • Product Image Tooling & Fixturing
      Tooling & Fixturing
      Tooling & Fixturing View All
      • Tooling & Fixturing
    • Product Image Workholding
      Workholding
      Workholding View All
      • Workholding
    • Product Image 5-Axis Solutions
      5-Axis Solutions
      5-Axis Solutions View All
      • 5-Axis Solutions
      • 5 Easy Steps to 5-Axis
    • QUICK LINKS Special Series  Special Series 
      EU SERIES EU SERIES BUILD & PRICE | PRICE LIST BUILD & PRICE | PRICE LIST In-Stock Machines In-Stock Machines WHAT’S NEW WHAT’S NEW YOUR FIRST CNC YOUR FIRST CNC
      SHOPPING TOOLS
      • Build & Price a Haas
      • Price List
      • Available Inventory
      • CNCA Financing
      WANT TO TALK TO SOMEONE?

      A Haas Factory Outlet (HFO) can answer your questions, and walk you through your best options.

      CONTACT YOUR DISTRIBUTOR >
  • Why Haas Main Menu
      Discover the Haas Difference
    • Why Haas
    • MyHaas
    • Education Community
    • Industry 4.0
    • Haas Certification
    • Customer Testimonials
  • Service Main Menu
      Welcome to Haas Service
      SERVICE HOME Operator’s Manuals How-To Procedures Troubleshooting Guides Preventive Maintenance Haas Parts Haas Tooling Videos
  • Videos Main Menu
  • Main Menu
    • View All
    • View All
    • View All
    • View All
      • HTEC Curriculum Support
      • Haas Value Option Packages (VOP) Journey
    • View All
      • Haas 10 kg Cobot Package
      • Cobot Kits
      • DC-1 Drill Center
      • CNC Sales News
      • Do More With Your Haas
    • View All
    • View All
      • contact-us-test
      • 4 - AUTOMATION SYSTEMS
      • Carousel-V2
      • expert test
      • Demo_Day_Trident-test
      • Link Test
      • image-sale-tag-test
      • article-list-test
      • Haas 25 kg Robot Package
    • View All
      • Choose Options
    • View All
    • View All
    • View All
    • View All
    • View All
      • calc-test
    • View All
    • QUICK LINKS Special Series  Special Series 
      EU SERIES EU SERIES BUILD & PRICE | PRICE LIST BUILD & PRICE | PRICE LIST In-Stock Machines In-Stock Machines WHAT’S NEW WHAT’S NEW YOUR FIRST CNC YOUR FIRST CNC
      SHOPPING TOOLS
      • Build & Price a Haas
      • Price List
      • Available Inventory
      • CNCA Financing
      WANT TO TALK TO SOMEONE?

      A Haas Factory Outlet (HFO) can answer your questions, and walk you through your best options.

      CONTACT YOUR DISTRIBUTOR >
  • Haas Tooling Main Menu
  • Haas Service Parts Main Menu
My Haas Welcome,
!
Haas Tooling MyHaas/HaasConnect Sign In Register Haas Tooling MyHaas/HaasConnect Sign Out Welcome, My Machines Latest Activity My Quotes My Account My Users Sign Out
Find Your Distributor
  1. Select Language
    1. English
    2. Deutsch
    3. Español - España
    4. Español - México
    5. Français
    6. Italiano
    7. Português
    8. Český
    9. Dansk
    10. Nederlands
    11. Magyar
    12. Polski
    13. Svenska
    14. Türkçe
    15. 中文
    16. Suomi
    17. Norsk
    18. الإنجليزية
    19. български
    20. Hrvatski
    21. Ελληνικά
    22. Română
    23. Slovenský
    24. Slovenščina
    25. 한국어
    26. 日本語
    27. Українська
×

Search Results

Web Pages

Images

    • <
    • 1
    • >

G-code, M-code, and Setting

Service Home G01 Linear Interpolation Motion (Group 01)

G01 Linear Interpolation Motion (Group 01)

G01 Linear Interpolation Motion (Group 01)


F - Feed rate
* B - B-axis motion command
* C - C-Axis motion command
* U - X-axis incremental motion command
* W - Z-axis incremental motion command
* X - X-axis absolute motion command
* Y - Y-axis absolute motion command
* Z - Z-axis absolute motion command
* A - Optional angle of movement (used with only one of X, Z, U, W)
* I - X-axis chamfering from Z to X (the sign does not matter, only for 90 degree turns)
* K - Z-axis chamfering from X to Z (the sign does not matter, only for 90 degree turns)

* ,C - Distance from center of intersection where the chamfer begins (the sign does not matter, can chamfer non-90 degree lines)
* ,R / R - Radius of the fillet or arc (the sign does not matter)
This G code provides for straight line (linear) motion from point to point. Motion can occur in 1 or more axes. You can command a G01 with 3 or more axes All axes will start and finish motion at the same time. The speed of all axes is controlled so that the feed rate specified is achieved along the actual path. The C-Axis may also be commanded and this will provide a helical (spiral) motion. A C-Axis feed rate is dependent on the C-Axis diameter setting (Setting 102) to create a helical motion. The F address (feedrate) command is modal and may be specified in a previous block. Only the axes specified are moved.Corner Rounding and Chamfering ExampleA chamfer block or a corner rounding block can be automatically inserted between two linear interpolation blocks by specifying ,C (chamfering) or ,R (corner rounding).

NOTE: Both of these variables use a comma symbol (,) before the variable.
There must be a terminating linear interpolation block after the beginning block (a G04 pause may intervene). These two linear interpolation blocks specify a theoretical corner of intersection. If the beginning block specifies a ,C (comma C) the value after the C is the distance from the corner of intersection where the chamfer begins and also the distance from that same corner where the chamfer ends. If the beginning block specifies a ,R (comma R) the value after the R is the radius of a circle tangent to the corner at two points: the beginning of the corner rounding arc block that is inserted and the endpoint of that arc. There can be consecutive blocks with chamfer or corner rounding specified. There must be movement on the two axes specified by the selected plane (the active plane X-Y (G17), X-Z (G18) or Y-Z (G19). For chamfering a 90 angle only, an I or K value can be substituted where ,C is used.Chamfering


%
o60011 (G01 CHAMFERING) ;
(G54 X0 is at the center of rotation) ;
(Z0 is on the face of the part) ;
(T1 is an OD cutting tool) ;
(BEGIN PREPARATION BLOCKS) ;
T101 (Select tool and offset 1) ;
G00 G18 G20 G40 G80 G99 (Safe startup) ;
G50 S1000 (Limit spindle to 1000 RPM) ;
G97 S500 M03 (CSS off, Spindle on CW) ;
G00 G54 X0 Z0.25 (Rapid to 1st position) ;
M08 (Coolant on) ;
(BEGIN CUTTING BLOCKS) ;
G01 Z0 F0.005 (Feed to Z0) ;
N5 G01 X0.50 K-0.050 (Chamfer 1) ;
G01 Z-0.5 (Linear feed to Z-0.5) ;
N7 G01 X0.75 K-0.050 (Chamfer 2) ;
N8 G01 Z-1.0 I0.050 (Chamfer 3) ;
N9 G01 X1.25 K-0.050 (Chamfer 4) ;
G01 Z-1.5 (Feed to Z-1.5) ;
(BEGIN COMPLETION BLOCKS) ;
G00 X1.5 M09 (Rapid Retract, Coolant off) ;
G53 X0 (X home) ;
G53 Z0 M05 (Z home, spindle off) ;
M30 (End program) ;
%
This G-code syntax automatically includes a 45 chamfer or corner radius between two blocks of linear interpolation which intersect a right (90 degree) angle.Chamfering Syntax
G01 X(U) x Kk ;
G01 Z(W) z Ii ;
Corner Rounding Syntax
G01 X(U) x Rr ;
G01 Z(W) z Rr ;
Addresses:I = chamfering, Z to XK = chamfering, X to ZR = corner rounding (X or Z axis direction)Notes:1. Incremental programming is possible if U or W is specified in place of X or Z, respectively. So its actions are as follows:X(current position + i) = UiZ(current position + k) = WkX(current position + r) = UrZ(current position + r) = Wr
2. Current position of X or Z Axis is added to the increment.
3. I, K and R always specify a radius value (radius programming value).
Chamfering Code Z to X: [A] Chamfering, [B] Code/Example, [C] Movement.


Chamfering Code X to Z: [A] Chamfering, [B] Code/Example, [C] Movement.


Corner Rounding Code Z to X: [A] Corner rounding, [B] Code/Example, [C] Movement.


Corner Rounding Code X to Z: [A] Corner rounding, [B] Code/Example, [C] Movement.


Rules:1. Use K address only with X(U)address. Use I address only with Z(W) address.
2. Use R address with either X(U) or Z(W), but not both in the same block.
3. Do not use I and K together on the same block. When using R address, do not use I or K.
4. The next block must be another single linear move that is perpendicular to the previous one.
5. Automatic chamfering or corner rounding cannot be used in a threading cycle or in a Canned cycle.
6. Chamfer or corner radius must be small enough to fit between the intersecting lines.
7. Use only a single X or Z-axis move in linear mode (G01) for chamfering or corner rounding.
G01 Chamfering with AWhen specifying an angle (A), command motion in only one of the other axes (X or Z), the other axis is calculated based on the angle.G01 Chamfering with A: [1] Feed, [2] Rapid, [3] Start Point, [4] Finish Point.


%
o60012 (G01 CHAMFERING WITH 'A') ;
(G54 X0 is at the center of rotation) ;
(Z0 is on the face of the part) ;
(T1 is an OD cutting tool) ;
(BEGIN PREPARATION BLOCKS) ;
T101 (Select tool and offset 1) ;
G00 G18 G20 G40 G80 G99 (Safe startup) ;
G50 S1000 (Limit spindle to 1000 RPM) ;
G97 S500 M03 (CSS off, Spindle on CW) ;
G00 G54 X4. Z0.1 (Rapid to clear position) ;
M08 (Coolant on) ;
X0 (Rapid to center of diameter) ;
(BEGIN CUTTING BLOCKS) ;
G01 Z0 F0.01 (Feed towards face) ;
G01 X4. (position 3) ;
X5. A150. (position 4) ;
Z-2. (Feed to back of part) ;
(BEGIN COMPLETION BLOCKS) ;
G00 X6. M09 (Rapid Retract, Coolant off) ;
G53 X0 (X home) ;
G53 Z0 M05 (Z home, spindle off) ;
M30 (End program) ;
%


NOTE: A -30 = A150; A -45 = A135
When specifying an angle (A), command motion in only one of the other axes (X or Z), the other axis is calculated based on the angle.G01 Chamfering with A: [1] Feed, [2] Rapid, [3] Start Point, [4] Finish Point.


%
o60012 (G01 CHAMFERING WITH 'A') ;
(G54 X0 is at the center of rotation) ;
(Z0 is on the face of the part) ;
(T1 is an OD cutting tool) ;
(BEGIN PREPARATION BLOCKS) ;
T101 (Select tool and offset 1) ;
G00 G18 G20 G40 G80 G99 (Safe startup) ;
G50 S1000 (Limit spindle to 1000 RPM) ;
G97 S500 M03 (CSS off, Spindle on CW) ;
G00 G54 X4. Z0.1 (Rapid to clear position) ;
M08 (Coolant on) ;
X0 (Rapid to center of diameter) ;
(BEGIN CUTTING BLOCKS) ;
G01 Z0 F0.01 (Feed towards face) ;
G01 X4. (position 3) ;
X5. A150. (position 4) ;
Z-2. (Feed to back of part) ;
(BEGIN COMPLETION BLOCKS) ;
G00 X6. M09 (Rapid Retract, Coolant off) ;
G53 X0 (X home) ;
G53 Z0 M05 (Z home, spindle off) ;
M30 (End program) ;
%


NOTE: A -30 = A150; A -45 = A135

Recently Viewed Items

You Have No Recently Viewed Items Yet

Feedback
Haas Logo

Haas Delivered Price

This price includes shipping cost, export and import duties, insurance, and any other expenses incurred during shipping to a location in France agreed with you as a buyer. No other mandatory costs can be added to the delivery of a Haas CNC Product.

KEEP UP WITH THE LATEST HAAS TIPS AND TECHNOLOGY...

Sign up now!   

HAAS TOOLING ACCEPTS THE FOLLOWING:

  • Service & Support
  • Owners
  • Request Service
  • Operator Manuals
  • Haas Parts
  • Rotary Repair Request
  • Pre-Install Guides
  • Shopping Tools
  • Build & Price a New Haas
  • Available Inventory
  • The Haas Price List
  • CNCA Financing
  • About Haas
  • Accessibility Statement
  • DNSH Statement
  • Export Compliance
  • Careers
  • Certifications & Safety
  • Contact Us
  • History
  • Terms & Conditions
  • Haas Tooling Terms & Conditions
  • Privacy
  • Warranty
  • Haas Community
  • Haas Certification Program
  • Haas Motorsports
  • Gene Haas Foundation
  • Haas Technical Education Community
  • Events
  • Join the Conversation
  • Facebook
  • X
  • Flickr
  • YouTube
  • LinkedIn
  • Instagram
  • TikTok
© 2026 Haas Automation, Inc – CNC Machine Tools

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

2800 Sturgis Rd., Oxnard, CA 93030
Toll Free: (888) 817-4446 / Fax: 805-278-8554