{"id":3926,"date":"2026-11-24T12:45:32","date_gmt":"2026-11-24T04:45:32","guid":{"rendered":"http:\/\/www.epitexespana.com\/blog\/?p=3926"},"modified":"2026-11-24T12:45:32","modified_gmt":"2026-11-24T04:45:32","slug":"how-to-program-spur-gear-hobbing-on-a-cnc-machine-404c-c0e11b","status":"publish","type":"post","link":"http:\/\/www.epitexespana.com\/blog\/2026\/11\/24\/how-to-program-spur-gear-hobbing-on-a-cnc-machine-404c-c0e11b\/","title":{"rendered":"How to program spur gear hobbing on a CNC machine?"},"content":{"rendered":"<p>If you\u2019re a machinist, tool and die maker, or job shop owner who\u2019s ever stood in front of a CNC gear hobbing machine, you know the difference between a smooth, repeatable gear cut and a scrap pile comes down to the program. I\u2019ve worked with thousands of operators over the past 12 years, most of them scratching their heads when they first get a new hobbing machine: how do you translate a gear drawing into code that the machine will actually execute without a dozen test cuts? As a CNC gear hobbing machine supplier, we don\u2019t just sell equipment\u2014we train our customers to program them right, and that starts with understanding the basics. <a href=\"https:\/\/www.xm-machs.com\/cnc-gear-hobbing-machine\/\">CNC Gear Hobbing Machine<\/a><\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.xm-machs.com\/uploads\/47243\/small\/vertical-gear-hobbing-machineb9081.jpg\"><\/p>\n<p>First, let\u2019s cut through the hype: you don\u2019t need a master\u2019s in mechanical engineering to program a CNC hobbing machine, but you do need to nail down four core inputs before you even open the G-code editor. The first is gear geometry: pitch diameter, number of teeth, pressure angle, and diametral pitch (or module, depending on whether you\u2019re working imperial or metric). A lot of new operators skip this step and plug in random numbers, which is how you end up with a gear that won\u2019t mesh with a mating part. Last month, a customer of ours brought in a drawing for a 24-tooth, 3-inch pitch diameter spur gear with a 20-degree pressure angle; he\u2019d used a 15-degree pressure angle in his first program, and the gear wobbled so bad it wouldn\u2019t fit on a motor shaft. That\u2019s the kind of mistake that costs you parts, time, and money before the cut even starts.<\/p>\n<p>Next, you need hob specifications. The hob is the cutting tool here, not a mill endmill\u2014its diameter, number of flutes, and thread pitch (for single-thread vs. multi-thread hobs) directly affect how the machine moves. For a standard spur gear, a single-thread hob works 90% of the time, but if you\u2019re cutting a gear with a lot of teeth (say, 120 or more), a multi-thread hob will cut the cycle time in half. I always tell our customers to pull the hob\u2019s specs from the tool holder before programming, not after\u2014one operator I trained once tried to use a 4-flute hob on a program written for a 6-flute tool, and the result was a set of gears with rough, uneven teeth that had to be re-cut.<\/p>\n<p>Then there\u2019s machine setup, which is split between workholding and axis alignment. For a spur gear, the workholding needs to grip the blank concentrically\u2014if the blank is off-center, even the best program will produce an eccentric gear. I always use a dial indicator to check runout on the blank before hitting \u201crun\u201d; a runout of more than 0.001 inches (0.025 mm) will show up in the finished gear as noise when it\u2019s installed. Axis alignment matters too: the hob\u2019s axis has to be set at the correct lead angle for the hob, which is calculated from the hob\u2019s pitch diameter and number of threads. Skip that step, and your gear teeth won\u2019t be perpendicular to the face of the blank, leading to excessive wear on mating gears.<\/p>\n<p>Now, let\u2019s talk about the program structure. Most modern CNC hobbing machines use a combination of canned cycles and custom G-code, which is a big upgrade from the old days of manual hobbing. The canned cycle is the backbone here\u2014it takes all the geometry specs you entered earlier and generates the basic tool path, so you don\u2019t have to code each linear and rotary move from scratch. But that doesn\u2019t mean you can just plug numbers and hit enter; you have to adjust the cycle parameters for your specific machine and hob.<\/p>\n<p>Wait a second\u2014let\u2019s clarify a common misconception: hob programming isn\u2019t like programming a 3-axis mill. There are at least five axes in play here: the hob\u2019s X (radial) and Z (axial) moves, the gear\u2019s rotary axis (B-axis), and the hob\u2019s own rotary axis (C-axis). For a standard spur gear cut, the machine has to synchronize the C-axis (hob rotation) with the B-axis (gear rotation) perfectly\u2014one tooth turn on the hob should equal exactly one tooth on the gear. If that synchronization is off, your gear will have a \u201chob tooth mark\u201d where the spacing is wrong, and it\u2019ll bind when it turns.<\/p>\n<p>Let\u2019s walk through a real example. Suppose we\u2019re cutting a 40-tooth spur gear, 4-inch pitch diameter, 10 diametral pitch, 20-degree pressure angle, using a 2-inch diameter, single-thread hob with 4 flutes, on a standard horizontal CNC hobbing machine. The first step in the program is to set the machine\u2019s reference points and initialize the axis offsets. I always add a G-code line here that logs the setup values, so if you have to re-run the program six months later, you don\u2019t have to dig through old notes. That line might look something like G28 X0 Z0 B0 C0, which returns all axes to their home positions so you start from a consistent point.<\/p>\n<p>Next, we call the hobbing canned cycle. On most machines, this is a custom M-code, like M62 for a horizontal hobber. The parameters for M62 would include the gear specs: number of teeth (N=40), pitch diameter (PD=4.0), pressure angle (PA=20), and hob specs: hob diameter (HD=2.0), number of threads (HT=1), number of flutes (HF=4). But here\u2019s where most new operators mess up: they don\u2019t adjust the infeed rate. The infeed is how far the hob moves radially into the blank with each pass. For a roughing cut, you can take a 0.05-inch infeed, but for a finishing cut, you should drop that to 0.015 inches to get a smooth tooth surface. Skipping that adjustment leads to a rough finish that requires secondary grinding, which eats into your profit margin.<\/p>\n<p>Another critical part is the approach and retract moves. The hob needs to move away from the blank far enough to change parts, but not so far that the cycle time slows down. I usually set the retract distance to 0.25 inches for small gears, and 0.5 inches for larger ones\u2014too much retract, and you\u2019re wasting time; too little, and the hob will crash into the blank when it retracts. Last quarter, one of our customers tried to set retract to 0.1 inches for a 6-inch diameter gear, and the hob nicked the edge of the blank, leaving a burr that took 20 minutes to deburr on each part. Small details like that add up over a production run.<\/p>\n<p>Once the basic program is written, you have to test it with a \u201cdry run\u201d first\u2014no tool in the holder, no blank on the workholding. Watch the machine moves: make sure the C and B axes are synchronized, the infeed moves are smooth, and the retract doesn\u2019t hit any limits. A dry run takes 5 minutes, but it saves you hours of fixing a crashed tool or scrapped parts. I also recommend making a test cut with a cheap aluminum blank before running production parts. Aluminum is easy to cut, and you can check the tooth spacing with a gear tooth caliper right on the shop floor. If the test gear\u2019s tooth spacing is off by more than 0.002 inches, you know there\u2019s a synchronization issue in the program, not the machine.<\/p>\n<p>Now, what about advanced cases? If you\u2019re cutting a helical gear instead of a spur gear, the program adds an extra parameter for the lead angle, which affects how much the B-axis rotates during the cut. But even for helical gears, the same core rules apply: nail your geometry inputs, confirm your hob specs, and test the program before production. We see a lot of customers who try to shortcut the test step, especially when they\u2019re running a small batch of 10 parts, and they end up with a bad part that costs more than the time they saved.<\/p>\n<p>As a CNC gear hobbing machine supplier, one of the questions I get most often is: \u201cCan I use a generic hobbing program from the internet?\u201d The short answer is no. Generic programs don\u2019t account for the unique axis offsets, machine rigidity, or hob type that your shop uses. A program that works on our entry-level machine might crash on a competitor\u2019s higher-precision model, because the axis calibration is slightly different. That\u2019s why we include custom program templates with every machine we sell, plus 24\/7 support to help operators tweak the program for their specific parts.<\/p>\n<p>Another common pitfall is ignoring tool wear. As the hob gets dull over 100 or 200 cuts, you have to adjust the infeed rate or the number of passes in the program. A dull hob will take more force to cut, and if you don\u2019t increase the infeed slightly, you\u2019ll get a rough tooth surface or even break the hob. We include a tool life monitoring feature on all our machines, which automatically adjusts the program\u2019s parameters as the hob wears, but it\u2019s still up to the operator to check the part quality regularly.<\/p>\n<p>Let\u2019s wrap this up with a real story from a customer last year. They were a small job shop that made agricultural gear sets, and they were using manual hobbing machines that produced about 50 gears a week, with a 10% scrap rate from bad cuts. They bought one of our entry-level CNC hobbing machines, and their operator programmed it using the steps I outlined here: double-checked the gear geometry, used the program template we provided, did a dry run and test cut, and ran a batch of 200 gears. Their scrap rate dropped to 1%, and their weekly output jumped to 220 gears. That\u2019s the difference between a good program and a great one\u2014consistency, attention to detail, and knowing your machine.<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.xm-machs.com\/uploads\/47243\/small\/cnc-face-grinding-machined9cea.jpg\"><\/p>\n<p>At the end of the day, programming a CNC gear hobbing machine isn\u2019t about memorizing G-code lines. It\u2019s about understanding how each input affects the cut, taking the time to test before production, and leveraging the tools and support available to you. If you\u2019re looking to upgrade your hobbing operations, or if you need help troubleshooting a program that\u2019s giving you trouble, don\u2019t hesitate to reach out.<\/p>\n<p><a href=\"https:\/\/www.xm-machs.com\/cnc-turning-machine\/slant-bed-lathe\/\">Slant Bed Lathe<\/a> For more technical guidance on CNC gear hobbing programming and setup, refer to the following resources:<\/p>\n<ol>\n<li>Gear Designers Handbook, Robert L. Mott, Industrial Press<\/li>\n<li>CNC Gear Hobbing: Principles and Applications, Society of Manufacturing Engineers<\/li>\n<li>Machining Gear Technology, ASM International<\/li>\n<\/ol>\n<hr>\n<p><a href=\"https:\/\/www.xm-machs.com\/\">Jiangsu Xuanman Intelligent Equipment Co., Ltd.<\/a><br \/>As one of the most professional CNC gear hobbing machine manufacturers in China, we&#8217;re featured by quality products and low price. Please rest assured to buy discount CNC gear hobbing machine made in China here from our factory. Customized orders are welcome.<br \/>Address: No.1-1, Weier Road, Jieji Equipment Manufacturing Industrial Park, Sihong County, Suqian City, Jiangsu Province, China<br \/>E-mail: jsxmzn@163.com<br \/>WebSite: <a href=\"https:\/\/www.xm-machs.com\/\">https:\/\/www.xm-machs.com\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>If you\u2019re a machinist, tool and die maker, or job shop owner who\u2019s ever stood in &hellip; <a title=\"How to program spur gear hobbing on a CNC machine?\" class=\"hm-read-more\" href=\"http:\/\/www.epitexespana.com\/blog\/2026\/11\/24\/how-to-program-spur-gear-hobbing-on-a-cnc-machine-404c-c0e11b\/\"><span class=\"screen-reader-text\">How to program spur gear hobbing on a CNC machine?<\/span>Read more<\/a><\/p>\n","protected":false},"author":169,"featured_media":3926,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[3889],"class_list":["post-3926","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-industry","tag-cnc-gear-hobbing-machine-4b3e-c2e8a2"],"_links":{"self":[{"href":"http:\/\/www.epitexespana.com\/blog\/wp-json\/wp\/v2\/posts\/3926","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.epitexespana.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.epitexespana.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.epitexespana.com\/blog\/wp-json\/wp\/v2\/users\/169"}],"replies":[{"embeddable":true,"href":"http:\/\/www.epitexespana.com\/blog\/wp-json\/wp\/v2\/comments?post=3926"}],"version-history":[{"count":0,"href":"http:\/\/www.epitexespana.com\/blog\/wp-json\/wp\/v2\/posts\/3926\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"http:\/\/www.epitexespana.com\/blog\/wp-json\/wp\/v2\/posts\/3926"}],"wp:attachment":[{"href":"http:\/\/www.epitexespana.com\/blog\/wp-json\/wp\/v2\/media?parent=3926"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.epitexespana.com\/blog\/wp-json\/wp\/v2\/categories?post=3926"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.epitexespana.com\/blog\/wp-json\/wp\/v2\/tags?post=3926"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}