MyHaas Welcome,
!
Haas Tooling Guest Order History MyHaas/HaasConnect Sign In Register Haas Tooling My Account Order History Return History 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éjico
    5. Français
    6. Italiano
    7. Português
    8. Český
    9. Dansk
    10. Nederlands
    11. Magyar
    12. Polski
    13. Svenska
    14. пост-советский
    15. Türkçe
    16. 中文
    17. Suomi
    18. Norsk
    19. الإنجليزية
    20. български
    21. Hrvatski
    22. Ελληνικά
    23. Română
    24. Slovenský
    25. Slovenščina
    26. 한국어
    27. 日本語
Search
  • machines Main Menu
    • Haas Vertical Mills Vertical Mills
      Vertical Mills
      Vertical Mills View All
      • Vertical Mills
      • VF Series
      • Universal Machines
      • VR Series
      • Pallet-Changing VMCs
      • Mini Mills
      • Mold Machines
      • Drill/ Tap/ Mill Series
      • Toolroom Mills
      • Compact Mills
      • Gantry Series
      • Extra-Large VMC
      • Desktop Mill
      • Mill Automatic Parts Loader
      • Compact Automatic Parts Loader
    • Product Image Multi-Axis Solutions
      Multi-Axis Solutions
      Multi-Axis Solutions View All
      • Multi-Axis Solutions
      • Y-Axis Lathes
      • 5-Axis Mills
    • Haas Lathes Lathes
      Lathes
      Lathes View All
      • Lathes
      • ST Series
      • Dual-Spindle
      • Toolroom Lathes
      • Chucker Lathe
      • Haas Bar Feeder V2
      • Lathe Automatic Parts Loader
    • Haas Horizontal Mills Horizontal Mills
      Horizontal Mills
      Horizontal Mills View All
      • Horizontal Mills
      • 50-Taper
      • 40-Taper
    • Haas Rotaries & Indexers Rotaries & Indexers
      Rotaries & Indexers
      Rotaries & Indexers View All
      • Rotaries & Indexers
      • Rotary Tables
      • Indexers
      • 5-Axis Rotaries
      • Extra-Large Rotaries
    • Product Image Automation Systems
      Automation Systems
      Automation Systems View All
      • Automation Systems
      • Robot Packages
      • Automatic Parts Loaders
      • Pallet-Pool Systems
      • Haas Bar Feeder
      • Models
    • QUICK LINKS Special Series  Special Series 
      HAAS CAREERS HAAS CAREERS BUILD & PRICE BUILD & PRICE PRICE LIST PRICE LIST WHAT’S NEW WHAT’S NEW YOUR FIRST CNC YOUR FIRST CNC HAAS SIX PACK HAAS SIX PACK
      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
    • 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
    • Product Image Automation
      Automation
      Automation View All
      • Automation
    • QUICK LINKS Special Series  Special Series 
      HAAS CAREERS HAAS CAREERS BUILD & PRICE BUILD & PRICE PRICE LIST PRICE LIST WHAT’S NEW WHAT’S NEW YOUR FIRST CNC YOUR FIRST CNC HAAS SIX PACK HAAS SIX PACK
      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
      • 5% off + saving on Automation
    • View All
      • VF-2SS
    • View All
    • View All
      • About Haas
    • View All
    • View All
      • 5% off + saving on Automation
    • View All
    • 08-1760
      08-1760
      08-1760 View All
      • 08-1760
    • View All
      • 05-0258
      • 08-1760
      • 08-1760
      • 08-1761
    • View All
    • View All
    • QUICK LINKS Special Series  Special Series 
      HAAS CAREERS HAAS CAREERS BUILD & PRICE BUILD & PRICE PRICE LIST PRICE LIST WHAT’S NEW WHAT’S NEW YOUR FIRST CNC YOUR FIRST CNC HAAS SIX PACK HAAS SIX PACK
      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
      Mill Toolholding Mill Workholding Milling Lathe Tooling Lathe Toolholding Lathe Workholding ER Collets & Chucks Holemaking Threading Broaching Tool Management Tooling Accessories Deburring & Abrasives Package Kits Apparel & Accessories Storage & Handling Measuring & Inspection
    • Haas Tooling
    • Mill Toolholding
      Mill Toolholding Shop All
      • End Mill Holders
      • Shell Mill Holders
      • Shrink Fit Holders
      • ER Collet Chucks
      • Milling Chucks & Collets
      • Drill Chucks
      • Pull Studs
      • Mill Toolholding Kits
      • Hydraulic Milling Chucks & Collets
    • Mill Workholding
      Mill Workholding Shop All
      • Fixed Jaw Vises
      • Self-Centering Vises
      • Adapter Plates
      • Mill Vise Jaws
      • Workholding Accessories
      • Vise Kits
      • Vise Parallels
      • Rotary Vise Kits
    • Manual Chucks
      Manual Chucks Shop All
      • 5C Indexer Chucks
      • 3-Jaw Chucks & Mounts for Mills
    • Milling
      Milling Shop All
      • Shell Mill Bodies
      • Milling Inserts
      • End Mills
      • Chamfer Mills & Inserts
      • Indexable End Mill Bodies
      • Ball End Mills
      • Chamfer End Mills
      • Roughing End Mills
      • Indexable Ball End Mills & Inserts
      • Shell Mill Kits
      • Chamfer Mill Kits
      • Indexable End Mill Kits
      • Dovetail Cutters
      • Indexable Dovetail Cutters
      • Engraving End Mills
      • Burrs
      • Keyseat Cutters
      • Corner Rounding End Mills
    • Lathe Tooling
      Lathe Tooling Shop All
      • Cut-Off Tooling
      • Cut-Off Tooling Kits
      • Turning Inserts
      • Grooving Tools
      • Small ID Grooving & Threading Tools
      • Threading Inserts
      • Threading Toolholders
      • Boring Bars
      • OD Toolholders
      • Cermet Turning Inserts
      • CBN Turning Inserts
      • Haas Notch Groove and Thread Inserts
      • Haas Notch Groove and Thread Toolholders
    • Lathe Toolholding
      Lathe Toolholding Shop All
      • TL & CL Toolholding
      • BOT Toolholding
      • BMT Toolholding
      • Live Toolholding
      • Reduction Sleeves
      • VDI Toolholding
    • Lathe Workholding
      Lathe Workholding Shop All
      • Live Centers
      • Spindle Liners
      • Quick-Change Collets
      • Lathe Collet Chucks
      • 5C Collets
      • 5C Collet Sets
      • Lathe Boring Rings
      • Lathe Jaws
    • ER Collets & Chucks
      ER Collets & Chucks Shop All
      • ER Collets
      • ER Sealed Collets
      • ER Tap Collets
      • ER Collet Sets & Accessories
      • ER Collet Chucks
      • Straight Shank ER Collet Chucks
      • Straight Shank Keyless Drill Chucks
    • Holemaking
      Holemaking Shop All
      • Carbide Drills
      • Indexable Drill Bodies
      • Indexable Drill Inserts
      • Modular Drill Bodies
      • Modular Drill Heads
      • Cobalt Drills & Sets
      • Center Drills
      • Reamers
      • Indexable Drilling Kits
      • Spot Drills
      • Spade Drill Bodies
      • Spade Drill Inserts
      • Countersinks
    • Threading
      Threading Shop All
      • Taps
      • Threading Inserts
      • Threading Toolholders
      • Thread Mills
      • Pipe Taps
      • Drill Tap Kits
    • Broaching
      Broaching Shop All
      • Broaching Toolholders
      • Broaching Inserts
    • Tool Management
      Tool Management Shop All
      • Tool Presetting Machines
      • Shrink Fit Machines
    • Tooling Accessories
      Tooling Accessories Shop All
      • Spindle Taper Cleaner
      • Haas Shop Lift
      • Toolholder Fixtures
      • CNC Clearing Fans
    • Deburring & Abrasives
      Deburring & Abrasives Shop All
      • Abrasive Pads
      • Deburr Tools
      • Deburr Wheels
    • Package Kits
      Package Kits Shop All
      • Chip Clearing Fan Kits
      • Cutting Tool Kits
      • Indexable End Mill Kits
      • Cut-Off Tooling Kits
      • Drill Tap Kits
      • Indexable Drilling Kits
      • Shell Mill Kits
      • Chamfer Mill Kits
      • Mill Toolholding Kits
      • Lathe Tooling Kits
      • Workholding Kits
      • Rotary Vise Kits
      • Vise Kits
      • 3-Jaw Chuck Kits for Mills
      • Reduction Sleeve Kits
    • Storage & Handling
      Storage & Handling Shop All
      • Tool Carts
    • Measuring & Inspection
      Measuring & Inspection Shop All
      • 7-Piece Measuring Kit
      • WIPS Stylus, 3-Pack
      • WIPS Replacement Stylus
      • Spindle Test Bar
      • Coolant Refractometer
      • Clamp Force Gauge
    • Apparel & Accessories
      Apparel & Accessories Shop All
      • Accessories
      • Apparel
    • HAAS TOOLING QUICK LINKS
      NEW PRODUCTS NEW PRODUCTS
      MOST POPULAR MOST POPULAR
      TOOLING PROMOS TOOLING PROMOS
      FINANCING & OPEN TERMS FINANCING & OPEN TERMS
      FAQs FAQs
      KITS CREATED FOR YOU KITS CREATED FOR YOU
  • Haas Service Parts Main Menu
      Automatic Pallet Changer Lathe Turret Tool Changer Chip Management Coolant Counterbalance Electrical Cabinet Enclosure Hydraulics Lubrication Maintenance Pendant Probing Rotary Spindle Tailstock
    • Haas Service Parts
    • Automatic Pallet Changer
      Automatic Pallet Changer Shop All
      • HMC - Automatic Pallet Changer
      • VMC - Automatic Pallet Changer
    • Lathe Turret
      Lathe Turret Shop All
      • Lathe - Turret
      • Live Tooling
    • Tool Changer
      Tool Changer Shop All
      • Side Mount
      • Umbrella
    • Chip Management
      Chip Management Shop All
      • Multi Auger
      • Single Auger
    • Coolant
      Coolant Shop All
      • Auxiliary Filter
      • HPC-300 (Lathe)
      • HPC-1000 (Lathe)
      • Oil Skimmer
      • Standard Coolant
      • TSC-300 (Mill)
      • TSC-1000 (Mill)
      • Coolant Refill
      • Loc-Line
    • Counterbalance
      Counterbalance Shop All
      • Charge & Discharge Hose
    • Electrical Cabinet
      Electrical Cabinet Shop All
      • Fans
      • Filters
      • Upgrade Kits
    • Enclosure
      Enclosure Shop All
      • Accessories
      • Air Nozzle
      • Decals
      • Door Bumpers
      • Lighting
      • Windows, Gaskets, & Weather Strip
      • Chip & Coolant Management
    • Hydraulics
      Hydraulics Shop All
      • Filters
      • Gauges
      • Heat Exchanger
      • Hoses
    • Lubrication
      Lubrication Shop All
      • Bijur Mechanical Lubrication
      • Minimum Lubrication
    • Maintenance
      Maintenance Shop All
      • Grease, Oil, & Sealants
    • Pendant
      Pendant Shop All
      • Floppy Disk & USB
      • Keypad
      • Keys
      • Lens
      • Gaskets & Seals
    • Probing
      Probing Shop All
      • Mill Probing
      • Lathe Tool Presetter
    • Rotary
      Rotary Shop All
      • Rotary Gaskets & Seals
    • Spindles
      Spindles Shop All
      • Couplings
      • Gaskets & Seals
      • Spindle Motor Drive
      • Gearbox Drive
      • Tool Release Piston
    • Tailstock
      Tailstock Shop All
      • Handles
  • Contact Us

×

Search Results

Web Pages

Images

    • <
    • 1
    • >
MyHaas Welcome,
!
Haas Tooling Guest Order History MyHaas/HaasConnect Sign In Register Haas Tooling My Account Order History Return History 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éjico
    5. Français
    6. Italiano
    7. Português
    8. Český
    9. Dansk
    10. Nederlands
    11. Magyar
    12. Polski
    13. Svenska
    14. пост-советский
    15. Türkçe
    16. 中文
    17. Suomi
    18. Norsk
    19. الإنجليزية
    20. български
    21. Hrvatski
    22. Ελληνικά
    23. Română
    24. Slovenský
    25. Slovenščina
    26. 한국어
    27. 日本語
Search
×

Search Results

Web Pages

Images

    • <
    • 1
    • >

G-code, M-code, and Setting

Service Home G12 Circular Pocket Milling CW / G13 Circular Pocket Millin...

G12 Circular Pocket Milling CW / G13 Circular Pocket Millin...

G12 Circular Pocket Milling CW / G13 Circular Pocket Milling CCW (Group 00)

These G-codes mill circular shapes. They are different only in that G12 uses a clockwise direction and G13 uses a counterclockwise direction. Both G-codes use the default XY circular plane (G17) and imply the use of G42 (cutter compensation) for G12 and G41 for G13. G12 and G13 are non-modal.

* D - Tool radius or diameter selection**
F - Feedrate
I - Radius of first circle (or finish if no K). I value must be greater than Tool Radius, but less than K value.
* K - Radius of finished circle (if specified)
* L - Loop count for repeating deeper cuts
* Q - Radius increment, or stepover (must be used with K)
Z - Depth of cut or increment

*indicates optional

**To get the programmed circle diameter, the control uses the selected D code tool size. To program tool centerline select D0.


NOTE
Specify D00 if you do not want to use cutter compensation. If you do not specify a D value in the G12 / G13 block, the control uses the last commanded D value, even if it was previously canceled with a G40 .

Rapid-position the tool to the center of the circle. To remove all the material inside the circle, use I and Q values less than the tool diameter and a K value equal to the circle radius. To cut a circle radius only, use an I value set to the radius and no K or Q value.

%
O60121(SAMPLE G12 AND G13) ;
(G54 X0 Y0 is center of first pocket) ;
(Z0 is on top of the part) ;
(T1 is a .25 in. dia endmill) ;
(BEGIN PREPARATION BLOCKS) ;
T1 M06 (Select tool 1) ;
G00 G90 G40 G49 G54 (Safe startup) ;
G00 G54 X0 Y0 (Rapid to 1st position) ;
S1000 M03 (Spindle on CW) ;
G43 H01 Z0.1 (Tool offset 1 on) ;
M08 (Coolant on) ;
(BEGIN CUTTING BLOCKS) ;
G12 I0.75 F10. Z-1.2 D01 (Finish pocket CW) ;
G00 Z0.1 (Retract) ;
X5.(Move to center of next pocket) ;
G12 I0.3 K1.5 Q1. F10. Z-1.2 D01 ;
(Rough & finish CW) ;
G00 Z0.1 (Retract) ;
X10.(Move to center of next pocket) ;
G13 I1.5 F10. Z-1.2 D01 (Finish CCW) ;
G00 Z0.1 (Retract) ;
X15. (Move to center of the last pocket) ;
G13 I0.3 K1.5 Q0.3 F10. Z-1.2 D01 ;
(Rough & finish CCW) ;
(BEGIN COMPLETION BLOCKS) ;
G00 Z0.1 M09 (Rapid retract, Coolant off) ;
G53 G49 Z0 M05 (Z home, Spindle off) ;
G53 Y0 (Y home) ;
M30 (End program) ;
%
Circular Pocket Milling, G12 Clockwise shown: [1] I only, [2] I, K and Q only.


These G codes assume cutter compensation, so you do not need to program G41 or G42 in the program block. However, you must include a D offset number, for cutter radius or diameter, to adjust the circle diameter.

These program examples show the G12 and G13 format, and the different ways that you can write these programs.

Single Pass: Use I only.

Applications: One-pass counter boring; rough and finish pocketing of smaller holes, ID cutting of O-ring grooves.

Multiple Pass: Use I, K, and Q.

Applications: Multiple-pass counter boring; rough and finish pocketing of large holes with cutter overlap.

Multiple Z-Depth Pass: Using I only, or I, K, and Q (G91 and L may also be used).

Applications: Deep rough and finish pocketing.

The previous figures show the tool path during the pocket milling G-codes.

Example G13 multiple-pass using I, K, Q, L, and G91:

This program uses G91 and an L count of 4, so this cycle will execute a total of four times. The Z depth increment is 0.500. This is multiplied by the L count, making the total depth of this hole 2.000.

The G91 and L count can also be used in a G13I only line.

%
O60131 (G13 G91 CCW EXAMPLE) ;
(G54 X0 Y0 is center of 1st pocket) ;
(Z0 is on top of the part) ;
(T1 is a 0.5 in. dia endmill) ;
(BEGIN PREPARATION BLOCKS) ;
T1 M06 (Select tool 1) ;
G00 G90 G40 G49 G54 (Safe startup) ;
G00 G54 X0 Y0 (Rapid to 1st position) ;
S1000 M03 (Spindle on CW) ;
G43 H01 Z0.1 (Activate tool offset 1) ;
M08 (Coolant on) ;
(BEGIN CUTTING BLOCKS) ;
G13 G91 Z-.5 I.400 K2.0 Q.400 L4 D01 F20. ;
(Rough & finish CCW) ;
(BEGIN COMPLETION BLOCKS) ;
G00 G90 Z0.1 M09 (Rapid retract, coolant off) ;
G53 G49 Z0 M05 (Z home, spindle off) ;
G53 Y0 (Y home) ;
M30 (End program) ;
%

FIND DISTRIBUTOR
Feedback
Haas Logo

美元价格不包括关税、报关费用、保险费、增值税及运费。
USD prices DO NOT include customs duty, customs fees, insurance, VAT, or freight.

人民币价格包含关税、报关费用、货运保险和增值税, 但不包括运费。
CNY prices include customs duty, customs fees, insurance, and VAT. DOES NOT include freight.

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
  • 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
  • Twitter
  • Flickr
  • YouTube
  • LinkedIn
  • Instagram
  • TikTok
© 2023 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: 800-331-6746
Phone: 805-278-1800 / Fax: 805-278-2255

Cookie Notice

We use cookies to improve your user experience. Our Cookie Notice describes which cookies we use, why we use them, and how you can find more information about them. Please confirm you consent to us using analytics cookies. If you do not consent, you may still use our website with a reduced user experience.

Manage Settings

Cookie Notice

We use cookies to improve your user experience. Our Cookie Notice describes which cookies we use, why we use them, and how you can find more information about them. Please confirm you consent to us using analytics cookies. If you do not consent, you may still use our website with a reduced user experience.

Functional Cookies

Analytics Cookies