{"id":13241,"date":"2020-05-20T09:00:29","date_gmt":"2020-05-20T16:00:29","guid":{"rendered":"http:\/\/www.autodesk.com\/products\/fusion-360\/blog\/?p=13241"},"modified":"2020-05-21T11:55:05","modified_gmt":"2020-05-21T18:55:05","slug":"top-5-milling-code-references-that-every-machinist-should-know","status":"publish","type":"post","link":"https:\/\/www.autodesk.com\/products\/fusion-360\/blog\/top-5-milling-code-references-that-every-machinist-should-know\/","title":{"rendered":"Top 5 Milling Code References that Every Machinist Should Know"},"content":{"rendered":"<p>While modern CAM software has made the programming process much more user friendly, most CNC machines still use a universal language called G code to operate. This language largely consists of G and M codes that tell the machine which things to toggle on and off (like the spindle or coolant) or where to move, how to get there, and how fast to go. That makes it sound pretty simple, but to a human it can be hard to &#8220;read&#8221; G code to know what the machine is going to do, especially during long and complex programs.<\/p>\n<p>&nbsp;<\/p>\n<p>So if you&#8217;re a new machinist (or are switching from manual to CNC), there are a few G-code references that you want in your back pocket, no matter the situation.<\/p>\n<p>&nbsp;<\/p>\n<h2><strong>The Big Five Speeds and Feeds<\/strong><\/h2>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-13354 size-large\" src=\"https:\/\/www.autodesk.com\/products\/fusion-360\/blog\/wp-content\/uploads\/2020\/05\/Hermle-PowerMill-143-1024x683.jpg\" alt=\"speeds-feeds\" width=\"1024\" height=\"683\" srcset=\"https:\/\/www.autodesk.com\/products\/fusion-360\/blog\/wp-content\/uploads\/2020\/05\/Hermle-PowerMill-143-1024x683.jpg 1024w, https:\/\/www.autodesk.com\/products\/fusion-360\/blog\/wp-content\/uploads\/2020\/05\/Hermle-PowerMill-143-300x200.jpg 300w, https:\/\/www.autodesk.com\/products\/fusion-360\/blog\/wp-content\/uploads\/2020\/05\/Hermle-PowerMill-143-768x512.jpg 768w, https:\/\/www.autodesk.com\/products\/fusion-360\/blog\/wp-content\/uploads\/2020\/05\/Hermle-PowerMill-143-1536x1025.jpg 1536w, https:\/\/www.autodesk.com\/products\/fusion-360\/blog\/wp-content\/uploads\/2020\/05\/Hermle-PowerMill-143.jpg 2000w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/p>\n<p>&nbsp;<\/p>\n<h3><strong>G01: Move in a Straight Line<\/strong><\/h3>\n<p>&nbsp;<\/p>\n<p>G01 is the most used g-code, as it makes the machine move in a straight line based on the coordinates entered by the machinist or generated by the CAM software. You&#8217;ll enter G01 and then your X, Y, and Z values. Keep in mind that g-code doesn&#8217;t see spaces, so while there is no need to enter them it can still be easier for you to read each line if you do. Take some time to familiarize yourself with the direction of movement, and make sure any testing you do is done safely with ample clearance between the spindle and any workholding on the table. Note that G00, while very similar looking, moves the machine at its <strong>rapid feedrate\u00a0<\/strong>which is often\u00a0<strong>extremely fast<\/strong>. Take care to enter the code you intend.<\/p>\n<p>&nbsp;<\/p>\n<h3><strong>F: Feedrate<\/strong><\/h3>\n<p>&nbsp;<\/p>\n<p>This code determines how fast the machine moves for any motion codes, like G01, that follow. If your machine uses imperial units, inputting F100 would mean that your machine would move at 100 inches per minute. This code is <strong>modal<\/strong>, meaning the feedrate remains set at the value it is set until it&#8217;s set to a new value. To plunge down from your last move at a rate of 4 inches per minute at a depth of 1 inch, you would enter F4. Z-1. There are a lot of tools out there that can help you determine your feedrate, giving you the best possible feed and speed guess for your project. For a deeper look at setting feeds and speeds, check out <a href=\"https:\/\/www.autodesk.com\/products\/fusion-360\/blog\/speeds-feeds-new-cnc-machinists\/\">this blog post by Marti Deans<\/a> that digs deeper into the topic.<\/p>\n<p>&nbsp;<\/p>\n<h3><strong>S: Spindle Speed<\/strong><\/h3>\n<p>&nbsp;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-13355\" src=\"https:\/\/www.autodesk.com\/products\/fusion-360\/blog\/wp-content\/uploads\/2020\/05\/FUS-1920x1080-32-1024x576.png\" alt=\"spindle-speed\" width=\"1024\" height=\"576\" srcset=\"https:\/\/www.autodesk.com\/products\/fusion-360\/blog\/wp-content\/uploads\/2020\/05\/FUS-1920x1080-32-1024x576.png 1024w, https:\/\/www.autodesk.com\/products\/fusion-360\/blog\/wp-content\/uploads\/2020\/05\/FUS-1920x1080-32-300x169.png 300w, https:\/\/www.autodesk.com\/products\/fusion-360\/blog\/wp-content\/uploads\/2020\/05\/FUS-1920x1080-32-768x432.png 768w, https:\/\/www.autodesk.com\/products\/fusion-360\/blog\/wp-content\/uploads\/2020\/05\/FUS-1920x1080-32-1536x864.png 1536w, https:\/\/www.autodesk.com\/products\/fusion-360\/blog\/wp-content\/uploads\/2020\/05\/FUS-1920x1080-32-284x160.png 284w, https:\/\/www.autodesk.com\/products\/fusion-360\/blog\/wp-content\/uploads\/2020\/05\/FUS-1920x1080-32-382x216.png 382w, https:\/\/www.autodesk.com\/products\/fusion-360\/blog\/wp-content\/uploads\/2020\/05\/FUS-1920x1080-32.png 1920w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p>Just like feedrate, you&#8217;ll set your spindle speed by using S, followed by a number. S1000 will give you 1000 rpm on the spindle, though it won&#8217;t automatically begin spinning. This is prep work before the action: you&#8217;re telling the machine what it will need to know once it starts running.<\/p>\n<p>&nbsp;<\/p>\n<h3><strong>M07, M08, M09: Coolant<\/strong><\/h3>\n<p>&nbsp;<\/p>\n<p>While some material can be cut dry, many materials cut best with some lubrication, so you&#8217;ll need to know what your coolant options are. Typically, M07 will turn on any mist or through-spindle coolant options your machine has while M08 will turn on the flood coolant. Mist is great for applications where you aren&#8217;t generating much heat and gives good visibility of the tool and in-process stock. Through-spindle can help with chip clearing while flood is the most coolant and gives the best results in facilitating material removal and lengthening tool life. Of course, all this depends on your machine configuration, and you should check the user manual to see what coolant types you have and which M code controls them. M09 will turn off the coolant.<\/p>\n<p>&nbsp;<\/p>\n<h3><strong>M03 and M05: Starting and Stopping a Clockwise Spindle<\/strong><\/h3>\n<p>&nbsp;<\/p>\n<p>Now that you know the other basics, you&#8217;re ready to get your spindle up and running. When you enter M03, your spindle will begin to rotate clockwise; M05 stops the spindle. Unsurprisingly, these starts and stops happen right away! So make sure you are comfortable with whatever commands you&#8217;ve entered before hitting Go.<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<h2><strong>Next Steps: The Right Tools for the Right Code<\/strong><\/h2>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-13356\" src=\"https:\/\/www.autodesk.com\/products\/fusion-360\/blog\/wp-content\/uploads\/2020\/05\/Technology-Center-Boston-100-1024x682.jpg\" alt=\"machinist\" width=\"1024\" height=\"682\" srcset=\"https:\/\/www.autodesk.com\/products\/fusion-360\/blog\/wp-content\/uploads\/2020\/05\/Technology-Center-Boston-100-1024x682.jpg 1024w, https:\/\/www.autodesk.com\/products\/fusion-360\/blog\/wp-content\/uploads\/2020\/05\/Technology-Center-Boston-100-300x200.jpg 300w, https:\/\/www.autodesk.com\/products\/fusion-360\/blog\/wp-content\/uploads\/2020\/05\/Technology-Center-Boston-100-768x512.jpg 768w, https:\/\/www.autodesk.com\/products\/fusion-360\/blog\/wp-content\/uploads\/2020\/05\/Technology-Center-Boston-100-1536x1024.jpg 1536w, https:\/\/www.autodesk.com\/products\/fusion-360\/blog\/wp-content\/uploads\/2020\/05\/Technology-Center-Boston-100.jpg 2000w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>Your next steps will involve selecting a tool, but these references will get every machinist through the very early stages. At the MDI prompt, you&#8217;ll be able to use these codes to begin most projects without using your CAM software for small adjustments.<\/p>\n<p>For more complicated g-code, you&#8217;ll need a great tool like <a href=\"https:\/\/www.autodesk.com\/products\/fusion-360\/overview\">Fusion 360<\/a>, which creates tool paths in the <a href=\"https:\/\/www.autodesk.com\/products\/fusion-360\/features#manufacturing\">Manufacture (aka CAM) workspace<\/a>. The process is simple, intuitive, and allows for secure collaboration, making it the perfect solution for new and experienced CNC machinists.<\/p>\n<p>&nbsp;<\/p>\n<p>Download Fusion 360 today and show off all your new machinist skills.<\/p>\n<p>&nbsp;<\/p>\n<p><a href=\"https:\/\/www.autodesk.com\/products\/fusion-360\/free-trial\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-9421\" src=\"https:\/\/www.autodesk.com\/products\/fusion-360\/blog\/wp-content\/uploads\/2018\/05\/Downloadfreetrial-3.png\" alt=\"free-trial\" width=\"315\" height=\"46\" srcset=\"https:\/\/www.autodesk.com\/products\/fusion-360\/blog\/wp-content\/uploads\/2018\/05\/Downloadfreetrial-3.png 315w, https:\/\/www.autodesk.com\/products\/fusion-360\/blog\/wp-content\/uploads\/2018\/05\/Downloadfreetrial-3-300x44.png 300w\" sizes=\"auto, (max-width: 315px) 100vw, 315px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Machinists might need complex codes and algorithms for their more advanced projects, but there are some speeds and feeds references that even beginners should know. References that move your machine in a straight line set feedrate and spindle speed start and stop a clockwise spindle, and control your coolant are likely fundamental for most machinists.<\/p>\n","protected":false},"author":2425,"featured_media":13356,"menu_order":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"inline_featured_image":false,"footnotes":""},"categories":[1],"tags":[],"coauthors":[],"class_list":["post-13241","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-fusion","dhig-theme--light"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.3 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Top 5 Milling Code References You Should Know | Fusion 360 Blog<\/title>\n<meta name=\"description\" content=\"Beginner machinists need to know these five milling code references for their projects. Read on to find out more. Are we missing any?\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.autodesk.com\/products\/fusion-360\/blog\/top-5-milling-code-references-that-every-machinist-should-know\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Top 5 Milling Code References You Should Know | Fusion 360 Blog\" \/>\n<meta property=\"og:description\" content=\"Beginner machinists need to know these five milling code references for their projects. Read on to find out more. Are we missing any?\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.autodesk.com\/products\/fusion-360\/blog\/top-5-milling-code-references-that-every-machinist-should-know\/\" \/>\n<meta property=\"og:site_name\" content=\"Fusion Blog\" \/>\n<meta property=\"article:published_time\" content=\"2020-05-20T16:00:29+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2020-05-21T18:55:05+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/i1.wp.com\/www.autodesk.com\/products\/fusion-360\/blog\/wp-content\/uploads\/2020\/05\/Technology-Center-Boston-100.jpg?fit=2000%2C1333&ssl=1\" \/>\n\t<meta property=\"og:image:width\" content=\"2000\" \/>\n\t<meta property=\"og:image:height\" content=\"1333\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Sam Sattel\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Sam Sattel\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 minutes\" \/>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Top 5 Milling Code References You Should Know | Fusion 360 Blog","description":"Beginner machinists need to know these five milling code references for their projects. Read on to find out more. Are we missing any?","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.autodesk.com\/products\/fusion-360\/blog\/top-5-milling-code-references-that-every-machinist-should-know\/","og_locale":"en_US","og_type":"article","og_title":"Top 5 Milling Code References You Should Know | Fusion 360 Blog","og_description":"Beginner machinists need to know these five milling code references for their projects. Read on to find out more. Are we missing any?","og_url":"https:\/\/www.autodesk.com\/products\/fusion-360\/blog\/top-5-milling-code-references-that-every-machinist-should-know\/","og_site_name":"Fusion Blog","article_published_time":"2020-05-20T16:00:29+00:00","article_modified_time":"2020-05-21T18:55:05+00:00","og_image":[{"width":2000,"height":1333,"url":"https:\/\/i1.wp.com\/www.autodesk.com\/products\/fusion-360\/blog\/wp-content\/uploads\/2020\/05\/Technology-Center-Boston-100.jpg?fit=2000%2C1333&ssl=1","type":"image\/jpeg"}],"author":"Sam Sattel","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Sam Sattel","Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.autodesk.com\/products\/fusion-360\/blog\/top-5-milling-code-references-that-every-machinist-should-know\/#article","isPartOf":{"@id":"https:\/\/www.autodesk.com\/products\/fusion-360\/blog\/top-5-milling-code-references-that-every-machinist-should-know\/"},"author":{"name":"Sam Sattel","@id":"https:\/\/www.autodesk.com\/products\/fusion-360\/blog\/#\/schema\/person\/d7e45d522df7d7f98d23e0a8b344ca7b"},"headline":"Top 5 Milling Code References that Every Machinist Should Know","datePublished":"2020-05-20T16:00:29+00:00","dateModified":"2020-05-21T18:55:05+00:00","mainEntityOfPage":{"@id":"https:\/\/www.autodesk.com\/products\/fusion-360\/blog\/top-5-milling-code-references-that-every-machinist-should-know\/"},"wordCount":799,"commentCount":0,"image":{"@id":"https:\/\/www.autodesk.com\/products\/fusion-360\/blog\/top-5-milling-code-references-that-every-machinist-should-know\/#primaryimage"},"thumbnailUrl":"https:\/\/www.autodesk.com\/products\/fusion-360\/blog\/wp-content\/uploads\/2020\/05\/Technology-Center-Boston-100.jpg","articleSection":["Fusion"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.autodesk.com\/products\/fusion-360\/blog\/top-5-milling-code-references-that-every-machinist-should-know\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.autodesk.com\/products\/fusion-360\/blog\/top-5-milling-code-references-that-every-machinist-should-know\/","url":"https:\/\/www.autodesk.com\/products\/fusion-360\/blog\/top-5-milling-code-references-that-every-machinist-should-know\/","name":"Top 5 Milling Code References You Should Know | Fusion 360 Blog","isPartOf":{"@id":"https:\/\/www.autodesk.com\/products\/fusion-360\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.autodesk.com\/products\/fusion-360\/blog\/top-5-milling-code-references-that-every-machinist-should-know\/#primaryimage"},"image":{"@id":"https:\/\/www.autodesk.com\/products\/fusion-360\/blog\/top-5-milling-code-references-that-every-machinist-should-know\/#primaryimage"},"thumbnailUrl":"https:\/\/www.autodesk.com\/products\/fusion-360\/blog\/wp-content\/uploads\/2020\/05\/Technology-Center-Boston-100.jpg","datePublished":"2020-05-20T16:00:29+00:00","dateModified":"2020-05-21T18:55:05+00:00","author":{"@id":"https:\/\/www.autodesk.com\/products\/fusion-360\/blog\/#\/schema\/person\/d7e45d522df7d7f98d23e0a8b344ca7b"},"description":"Beginner machinists need to know these five milling code references for their projects. Read on to find out more. Are we missing any?","breadcrumb":{"@id":"https:\/\/www.autodesk.com\/products\/fusion-360\/blog\/top-5-milling-code-references-that-every-machinist-should-know\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.autodesk.com\/products\/fusion-360\/blog\/top-5-milling-code-references-that-every-machinist-should-know\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.autodesk.com\/products\/fusion-360\/blog\/top-5-milling-code-references-that-every-machinist-should-know\/#primaryimage","url":"https:\/\/www.autodesk.com\/products\/fusion-360\/blog\/wp-content\/uploads\/2020\/05\/Technology-Center-Boston-100.jpg","contentUrl":"https:\/\/www.autodesk.com\/products\/fusion-360\/blog\/wp-content\/uploads\/2020\/05\/Technology-Center-Boston-100.jpg","width":2000,"height":1333,"caption":"machinist"},{"@type":"BreadcrumbList","@id":"https:\/\/www.autodesk.com\/products\/fusion-360\/blog\/top-5-milling-code-references-that-every-machinist-should-know\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.autodesk.com\/products\/fusion-360\/blog\/"},{"@type":"ListItem","position":2,"name":"Top 5 Milling Code References that Every Machinist Should Know"}]},{"@type":"WebSite","@id":"https:\/\/www.autodesk.com\/products\/fusion-360\/blog\/#website","url":"https:\/\/www.autodesk.com\/products\/fusion-360\/blog\/","name":"Fusion Blog","description":"Product updates, tips, tutorials and community news.","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.autodesk.com\/products\/fusion-360\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.autodesk.com\/products\/fusion-360\/blog\/#\/schema\/person\/d7e45d522df7d7f98d23e0a8b344ca7b","name":"Sam Sattel","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.autodesk.com\/products\/fusion-360\/blog\/wp-content\/uploads\/2018\/09\/face-150x150.jpg2f98009787201817c4da1b4d6ce84681","url":"https:\/\/www.autodesk.com\/products\/fusion-360\/blog\/wp-content\/uploads\/2018\/09\/face-150x150.jpg","contentUrl":"https:\/\/www.autodesk.com\/products\/fusion-360\/blog\/wp-content\/uploads\/2018\/09\/face-150x150.jpg","caption":"Sam Sattel"},"description":"Senior Marketing Manger - Fusion 360, EAGLE, Fusion Lifecycle, Fusion Team","url":"https:\/\/www.autodesk.com\/products\/fusion-360\/blog\/author\/ssattel\/"}]}},"_links":{"self":[{"href":"https:\/\/www.autodesk.com\/products\/fusion-360\/blog\/wp-json\/wp\/v2\/posts\/13241","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.autodesk.com\/products\/fusion-360\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.autodesk.com\/products\/fusion-360\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.autodesk.com\/products\/fusion-360\/blog\/wp-json\/wp\/v2\/users\/2425"}],"replies":[{"embeddable":true,"href":"https:\/\/www.autodesk.com\/products\/fusion-360\/blog\/wp-json\/wp\/v2\/comments?post=13241"}],"version-history":[{"count":0,"href":"https:\/\/www.autodesk.com\/products\/fusion-360\/blog\/wp-json\/wp\/v2\/posts\/13241\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.autodesk.com\/products\/fusion-360\/blog\/wp-json\/wp\/v2\/media\/13356"}],"wp:attachment":[{"href":"https:\/\/www.autodesk.com\/products\/fusion-360\/blog\/wp-json\/wp\/v2\/media?parent=13241"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.autodesk.com\/products\/fusion-360\/blog\/wp-json\/wp\/v2\/categories?post=13241"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.autodesk.com\/products\/fusion-360\/blog\/wp-json\/wp\/v2\/tags?post=13241"},{"taxonomy":"author","embeddable":true,"href":"https:\/\/www.autodesk.com\/products\/fusion-360\/blog\/wp-json\/wp\/v2\/coauthors?post=13241"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}