×

Search Results

Web Pages

Images

    • <
    • 1
    • >
  • machines
    • Haas Vertical Mills
      Vertical Mills
      • 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
      • Vertical Mill/Turn
      • Extra-Large VMC
      • Double-Column Mills
      • Desktop Mill
      • Mill Auto Parts Loader
    • Product Image
      Multi-Axis Solutions
      • Multi-Axis Solutions
      • Y-Axis Lathes
      • 5-Axis Mills
    • Haas Lathes
      Lathes
      • Lathes
      • ST Series
      • Dual-Spindle
      • Toolroom Lathes
      • Chucker Lathe
      • Haas Bar Feeder V2
      • Lathe Auto Parts Loader
    • Haas Horizontal Mills
      Horizontal Mills
      • Horizontal Mills
      • 50-Taper
      • 40-Taper
    • Haas Rotaries & Indexers
      Rotaries & Indexers
      • Rotaries & Indexers
      • Rotary Tables
      • Indexers
      • 5-Axis Rotaries
      • Extra-Large Rotaries
    • Product Image
      Automation Systems
      • Automation Systems
      • Robot Systems
      • 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
    • Product Image
      Spindles
      • Spindles
    • Product Image
      Tool Changers
      • Tool Changers
    • Product Image
      4th- | 5th-Axis
      • 4th- | 5th-Axis
    • Product Image
      Turrets & Live Tooling
      • Turrets & Live Tooling
    • Product Image
      Probing
      • Probing
    • Haas Chip & Coolant Management
      Chip & Coolant Management
      • Chip & Coolant Management
    • The Haas Control
      The Haas Control
      • The Haas Control
    • Product Image
      Product Options
      • Product Options
    • Product Image
      Tooling & Fixturing
      • Tooling & Fixturing
    • Product Image
      Workholding
      • Workholding
    • Product Image
      5-Axis Solutions
      • 5-Axis Solutions
      • 5 Easy Steps to 5-Axis
    • Product Image
      Automation
      • 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
      Discover the Haas Difference
    • Why Haas
    • MyHaas
    • Education Community
    • Industry 4.0
    • Haas Certification
    • Customer Testimonials
  • Service
      Welcome to Haas Service
      SERVICE HOME Operator’s Manuals How-To Procedures Troubleshooting Guides Preventive Maintenance Haas Parts Haas Tooling Videos
  • Videos
  • Haas Tooling
      Mill Toolholding Mill Workholding Milling Lathe Tooling Lathe Toolholding Lathe Workholding ER Collets & Chucks Holemaking Threading Tool Management Tooling Accessories Package Kits Apparel & Accessories Storage & Handling Measuring & Inspection
    • Haas Tooling
    • 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
    • Mill Workholding Shop All
      • Vises
      • Mill Vise Jaws
      • Workholding Accessories
      • Vise Kits
    • 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
      • Indexable Milling Kits
      • Chamfer Mill Kits
      • Complete Indexable End Mill Kits
      • Dovetail Cutters
      • Indexable Dovetail Cutters
      • Engraving End Mills
      • Burrs
    • Lathe Tooling Shop All
      • Cut-Off Tooling
      • Cut-Off Tooling Kits
      • Turning Inserts
      • Grooving Tools
      • Small ID Grooving & Threading Tools
      • Threading Inserts
      • Threading Toolholders
      • ID Toolholders
      • OD Toolholders
      • Cermet Turning Inserts
      • CBN Turning Inserts
      • Haas Notch Groove and Thread Inserts
      • Haas Notch Groove and Thread Toolholders
      • Broaching Toolholders
      • Broaching Inserts
    • Lathe Toolholding Shop All
      • TL & CL Toolholding
      • BOT Toolholding
      • BMT Toolholding
      • Live Toolholding
      • Reduction Sleeves
      • VDI Toolholding
    • Lathe Workholding Shop All
      • Live Centers
      • Spindle Liners
      • Quick-Change Collets
      • Lathe Collet Chucks
      • 5C Collets
      • 5C Collet Sets
    • ER Collets & Chucks Shop All
      • ER Collets
      • ER Sealed Collets
      • Tap Collets
      • ER Collet Sets & Accessories
      • ER Collet Chucks
      • Straight Shank ER Collet Chucks
      • Straight Shank Keyless Drill Chucks
    • 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
    • Threading Shop All
      • Taps
      • Threading Inserts
      • Threading Toolholders
      • Thread Mills
      • Pipe Taps
      • Drill Tap Kits
    • Tool Management Shop All
      • Tool Presetting Machines
      • Shrink Fit Machines
    • Tooling Accessories Shop All
      • Spindle Taper Cleaner
      • Haas Shop Lift
      • Toolholder Fixtures
      • Deburr Wheels
      • CNC Clearing Fans
    • Package Kits Shop All
      • Chip Clearing Fan Kits
      • Cutting Tool Kits
      • Complete Indexable End Mill Kits
      • Cut-Off Tooling Kits
      • Drill Tap Kits
      • Indexable Drilling Kits
      • Indexable Milling Kits
      • Chamfer Mill Kits
      • Mill Toolholding Kits
      • Workholding Kits
      • Vise Kits
    • Apparel & Accessories Shop All
      • Accessories
      • Apparel
    • Storage & Handling Shop All
      • Tool Carts
    • Measuring & Inspection Shop All
      • 7-Piece Measuring Kit
      • 3D Sensor Kit, Inch, CT40
      • 3D Sensor Kit, Metric, SK40/DIN
      • 3D Sensor Kit, Metric, BT40
      • 3D Sensor Kit, Inch, HSK63A
      • 3D Sensor Kit, Metric, HSK63A
      • 3D Sensor, Inch
      • 3D Sensor, Metric
      • WIPS Stylus, 3-Pack
      • WIPS Replacement Stylus
      • Spindle Test Bar
      • Coolant Refractometer
      • Clamp Force Gauge
    • HAAS TOOLING QUICK LINKS
      NEW PRODUCTS NEW PRODUCTS
      MOST POPULAR MOST POPULAR
      OPEN TERMS OPEN TERMS
      FINANCING FINANCING
      FAQs FAQs
      KITS CREATED FOR YOU KITS CREATED FOR YOU
  • Haas Service Parts
      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 Shop All
      • HMC - Automatic Pallet Changer
      • VMC - Automatic Pallet Changer
    • Lathe Turret Shop All
      • Lathe - Turret
      • Live Tooling
    • Tool Changer Shop All
      • Side Mount
      • Umbrella
    • Chip Management Shop All
      • Multi Auger
      • Single Auger
    • 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 Shop All
      • Charge & Discharge Hose
    • Electrical Cabinet Shop All
      • Fans
      • Filters
      • Upgrade Kits
    • Enclosure Shop All
      • Accessories
      • Air Nozzle
      • Decals
      • Door Bumpers
      • Lighting
      • Windows, Gaskets, & Weather Strip
      • Chip & Coolant Management
    • Hydraulics Shop All
      • Filters
      • Gauges
      • Heat Exchanger
      • Hoses
    • Lubrication Shop All
      • Bijur Mechanical Lubrication
      • Minimum Lubrication
    • Maintenance Shop All
      • Grease, Oil, & Sealants
    • Pendant Shop All
      • Floppy Disk & USB
      • Keypad
      • Keys
      • Lens
      • Gaskets & Seals
    • Probing Shop All
      • Mill Probing
      • Lathe Tool Presetter
    • Rotary Shop All
      • Rotary Gaskets & Seals
    • Spindles Shop All
      • Couplings
      • Gaskets & Seals
      • Spindle Motor Drive
      • Gearbox Drive
      • Tool Release Piston
    • Tailstock Shop All
      • Handles
  • Contact Us

My Cart
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 A Dealer
  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
    • >

9 - Gantry - M-Codes

Gantry-Series Operator's Manual Supplement


  • 1 - Gantry - Introduction
  • 2 - Gantry - Legal Information
  • 3 - Gantry - Safety
  • 4 - Gantry - Installation
  • 5 - Gantry - Control Icons
  • 6 - Gantry - Operation
  • 7 - Gantry - MRZP and Safe Zone
  • 8 - Gantry - G-Codes
  • 9 - Gantry - M-Codes
  • 10 - Gantry - Settings
  • 11 - Gantry - Maintenance

Go To :

9.1 Gantry - M-Codes

Introduction

This page gives detailed descriptions of the M-codes that you use to program your machine.

CAUTION: The sample programs in this manual have been tested for accuracy, but they are for illustrative purposes only. The programs do not define tools, offsets, or materials. They do not describe workholding or other fixturing. If you choose to run a sample program on your machine, do so in Graphics mode. Always follow safe machining practices when you run an unfamiliar program.

NOTE: The sample programs in this manual represent a very conservative programming style. The samples are intended to demonstrate safe and reliable programs, and they are not necessarily the fastest or most efficient way to operate a machine. The sample programs use G-codes that you might choose not to use in more efficient programs.

M-codes are miscellaneous machine commands that do not command axis motion. The format for an M-code is the letter M followed by two to three digits; for example M03. Only one M-code is allowed per line of code. All M-codes take effect at the end of the block.

  • 9.1 GANTRY - SPECIFIC M-CODES
  • 9.2 MILL - M-CODES
Code  Description
M10 / M11 Engage / Release 4th Axis Brake
M12 / M13 Engage / Release 5th Axis Brake
M - Code Description
M00 Stop Program
M01 Optional Program Stop
M02 Program End
M03 Spindle Foward Command
M04 Spindle Reverse Command
M05 Spindle Stop Command
M06 Tool Change
M07 Shower Coolant On
M08 / M09 Coolant On / Off
M10 / M11 Engage / Release 4th Axis Brake
M12 / M13 Engage / Release 5th Axis Brake
M16 Tool Change
M19 Orient Spindle
M21-M25 Optional User M Function with M-Fin
M29 Set Output Relay with M-Fin
M30 Program End and Reset
M31 Chip Conveyor Forward
M33 Chip Conveyor Stop
M34 Coolant Increment
M35 Coolant Decrement
M36 Pallet Part Ready
M39 Rotate Tool Turret
M41 / M42 Low / High Gear Override
M46 Qn Pmm Jump to Line
M48 Validate That The Current Program is Appropriate for Loaded Pallet
M50 Pallet Change Sequence
M51-M55 Set Optional User M-codes
M59 Set Output Relay
M61-M65 Clear Optional User M-codes
M69 Clear Output Relay
M70/M71 Workholding Clamp / Unclamp
M73 / M74 Tool Air Blast (TAB) On / Off
M75 Set G35 or G136 Reference Point
M78 Alarm if Skip Signal Found
M79 Alarm if Skip Signal Not Found
M80 / M81 Auto Door Open / Close
M82 Tool Unclamp
M83 / M84 Auto Air Gun On / Off
M86 Tool Clamp
M88 / M89 Through-Spindle Coolant On / Off
M90 / M91 Fixture Clamp Input On / Off
M95 Sleep Mode
M96 Jump If No Input
M97 Local Sub-Program Call
M98 Sub-Program Call
M99 Sub-Program Return or Loop
M104 / M105 Probe Arm Extend/ Retract
M109 Interactive User Input
M116 / M117 Vise Air Chips Blast On/Off
M130 / M131 Display Media / Cancel Display Media
M138 / M139 Spindle Speed Variation On/Off
M158 / M159 Mist Condenser On/Off
M160 Cancel Active PulseJet
M161 PulseJet Continuous Mode
M162 PulseJet Single Event Mode
M163 PulseJet Modal Mode
M199 Pallet / Part Load or Program End
M300 M300 - APL/Robot Custom Sequence
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
© 2022 Haas Automation, Inc – CNC Machine Tools

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