{"id":1571,"date":"2026-07-09T09:39:12","date_gmt":"2026-07-09T01:39:12","guid":{"rendered":"https:\/\/reliablecncmachining.com\/?p=1571"},"modified":"2026-07-09T09:39:12","modified_gmt":"2026-07-09T01:39:12","slug":"techniques-for-setting-safe-distances-in-cnc-machining","status":"publish","type":"post","link":"https:\/\/reliablecncmachining.com\/nl\/techniques-for-setting-safe-distances-in-cnc-machining\/","title":{"rendered":"Techniques for Setting Safe Distances in CNC Machining"},"content":{"rendered":"<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_73 counter-hierarchy ez-toc-counter ez-toc-grey ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Inhoudsopgave<\/p>\n<span class=\"ez-toc-title-toggle\"><a href=\"#\" class=\"ez-toc-pull-right ez-toc-btn ez-toc-btn-xs ez-toc-btn-default ez-toc-toggle\" aria-label=\"Schakel inhoudstabel in\/uit\"><span class=\"ez-toc-js-icon-con\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Schakelaar<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #999;color:#999\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewbox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #999;color:#999\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewbox=\"0 0 24 24\" version=\"1.2\" baseprofile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/span><\/a><\/span><\/div>\n<nav><ul class='ez-toc-list ez-toc-list-level-1' ><li class='ez-toc-page-1 ez-toc-heading-level-1'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/reliablecncmachining.com\/nl\/techniques-for-setting-safe-distances-in-cnc-machining\/#CNC_Safe_Height_and_Clearance_Settings_Getting_the_Z-Axis_Right_So_Nothing_Gets_Hit\" title=\"CNC Safe Height and Clearance Settings: Getting the Z-Axis Right So Nothing Gets Hit\">CNC Safe Height and Clearance Settings: Getting the Z-Axis Right So Nothing Gets Hit<\/a><ul class='ez-toc-list-level-2' ><li class='ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/reliablecncmachining.com\/nl\/techniques-for-setting-safe-distances-in-cnc-machining\/#What_Safe_Height_Actually_Means_Inside_the_Controller\" title=\"What Safe Height Actually Means Inside the Controller\">What Safe Height Actually Means Inside the Controller<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/reliablecncmachining.com\/nl\/techniques-for-setting-safe-distances-in-cnc-machining\/#Why_These_Three_Heights_Must_Be_Set_Independently\" title=\"Why These Three Heights Must Be Set Independently\">Why These Three Heights Must Be Set Independently<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/reliablecncmachining.com\/nl\/techniques-for-setting-safe-distances-in-cnc-machining\/#Setting_the_Initial_Safe_Height_Higher_Than_You_Think\" title=\"Setting the Initial Safe Height: Higher Than You Think\">Setting the Initial Safe Height: Higher Than You Think<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/reliablecncmachining.com\/nl\/techniques-for-setting-safe-distances-in-cnc-machining\/#Measuring_the_Tallest_Obstacle_on_the_Fixture\" title=\"Measuring the Tallest Obstacle on the Fixture\">Measuring the Tallest Obstacle on the Fixture<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/reliablecncmachining.com\/nl\/techniques-for-setting-safe-distances-in-cnc-machining\/#Using_Different_Safe_Heights_for_Different_Zones\" title=\"Using Different Safe Heights for Different Zones\">Using Different Safe Heights for Different Zones<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-7\" href=\"https:\/\/reliablecncmachining.com\/nl\/techniques-for-setting-safe-distances-in-cnc-machining\/#Reference_Height_The_One_That_Catches_People_After_Tool_Changes\" title=\"Reference Height: The One That Catches People After Tool Changes\">Reference Height: The One That Catches People After Tool Changes<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-8\" href=\"https:\/\/reliablecncmachining.com\/nl\/techniques-for-setting-safe-distances-in-cnc-machining\/#What_Goes_Wrong_When_Reference_Height_Is_Too_Low\" title=\"What Goes Wrong When Reference Height Is Too Low\">What Goes Wrong When Reference Height Is Too Low<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-9\" href=\"https:\/\/reliablecncmachining.com\/nl\/techniques-for-setting-safe-distances-in-cnc-machining\/#Using_G43_With_a_Safe_Z_Move_First\" title=\"Using G43 With a Safe Z Move First\">Using G43 With a Safe Z Move First<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-10\" href=\"https:\/\/reliablecncmachining.com\/nl\/techniques-for-setting-safe-distances-in-cnc-machining\/#Retract_Height_in_Canned_Cycles_The_Overlooked_Setting\" title=\"Retract Height in Canned Cycles: The Overlooked Setting\">Retract Height in Canned Cycles: The Overlooked Setting<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-11\" href=\"https:\/\/reliablecncmachining.com\/nl\/techniques-for-setting-safe-distances-in-cnc-machining\/#G98_vs_G99_Which_One_Saves_You_From_Crashes\" title=\"G98 vs G99: Which One Saves You From Crashes\">G98 vs G99: Which One Saves You From Crashes<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-12\" href=\"https:\/\/reliablecncmachining.com\/nl\/techniques-for-setting-safe-distances-in-cnc-machining\/#Setting_the_R_Plane_Correctly\" title=\"Setting the R Plane Correctly\">Setting the R Plane Correctly<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-13\" href=\"https:\/\/reliablecncmachining.com\/nl\/techniques-for-setting-safe-distances-in-cnc-machining\/#Clearance_During_Arc_Moves_and_Helical_Interpolation\" title=\"Clearance During Arc Moves and Helical Interpolation\">Clearance During Arc Moves and Helical Interpolation<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-14\" href=\"https:\/\/reliablecncmachining.com\/nl\/techniques-for-setting-safe-distances-in-cnc-machining\/#Why_Arcs_Can_Dip_Below_Your_Safe_Height\" title=\"Why Arcs Can Dip Below Your Safe Height\">Why Arcs Can Dip Below Your Safe Height<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-15\" href=\"https:\/\/reliablecncmachining.com\/nl\/techniques-for-setting-safe-distances-in-cnc-machining\/#Using_G05_for_Smooth_Transitions_Through_Clearance_Zones\" title=\"Using G05 for Smooth Transitions Through Clearance Zones\">Using G05 for Smooth Transitions Through Clearance Zones<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-16\" href=\"https:\/\/reliablecncmachining.com\/nl\/techniques-for-setting-safe-distances-in-cnc-machining\/#Fixture-Specific_Clearance_Strategies\" title=\"Fixture-Specific Clearance Strategies\">Fixture-Specific Clearance Strategies<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-17\" href=\"https:\/\/reliablecncmachining.com\/nl\/techniques-for-setting-safe-distances-in-cnc-machining\/#Clearing_Clamp_Bolts_and_Locating_Pins\" title=\"Clearing Clamp Bolts and Locating Pins\">Clearing Clamp Bolts and Locating Pins<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-18\" href=\"https:\/\/reliablecncmachining.com\/nl\/techniques-for-setting-safe-distances-in-cnc-machining\/#Accounting_for_Part_Height_Variation_Across_Stations\" title=\"Accounting for Part Height Variation Across Stations\">Accounting for Part Height Variation Across Stations<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-19\" href=\"https:\/\/reliablecncmachining.com\/nl\/techniques-for-setting-safe-distances-in-cnc-machining\/#Practical_Checks_Before_You_Hit_Cycle_Start\" title=\"Practical Checks Before You Hit Cycle Start\">Practical Checks Before You Hit Cycle Start<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-20\" href=\"https:\/\/reliablecncmachining.com\/nl\/techniques-for-setting-safe-distances-in-cnc-machining\/#Running_a_Clearance-Only_Dry_Pass\" title=\"Running a Clearance-Only Dry Pass\">Running a Clearance-Only Dry Pass<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-21\" href=\"https:\/\/reliablecncmachining.com\/nl\/techniques-for-setting-safe-distances-in-cnc-machining\/#Verifying_Offsets_After_Every_Tool_Change\" title=\"Verifying Offsets After Every Tool Change\">Verifying Offsets After Every Tool Change<\/a><\/li><\/ul><\/li><\/ul><\/li><\/ul><\/nav><\/div>\n<h1><span class=\"ez-toc-section\" id=\"CNC_Safe_Height_and_Clearance_Settings_Getting_the_Z-Axis_Right_So_Nothing_Gets_Hit\"><\/span>CNC Safe Height and Clearance Settings: Getting the Z-Axis Right So Nothing Gets Hit<span class=\"ez-toc-section-end\"><\/span><\/h1>\n<p>The safe height is the most boring-looking parameter in a CNC program. It is just a Z number. But that Z number is the difference between a program that runs cleanly for 500 parts and one that crashes on part three because the tool retracted to 5 mm above the part instead of 50 mm, and the next rapid move caught the top of the vise jaw.<\/p>\n<p>Safe height settings do not get the respect they deserve. Most programmers set it once, forget about it, and hope for the best. Then they spend hours debugging crashes that trace back to a clearance height that was just a little too low.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"What_Safe_Height_Actually_Means_Inside_the_Controller\"><\/span>What Safe Height Actually Means Inside the Controller<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Safe height is not one number. It is a stack of Z-axis reference points that the controller uses at different moments in the program. Each one serves a different purpose, and confusing them is where most mistakes happen.<\/p>\n<p>The initial safe height (often called rapid height or G00 Z) is where the tool goes when it is not cutting. Every rapid move \u2014 travel between features, tool change moves, retract after a cut \u2014 uses this height. If this number is too low, the tool hits something during rapid traversal.<\/p>\n<p>The reference height (sometimes called R plane or G43 Z) is the height at which the controller applies tool length compensation. When the tool changes and G43 activates, the controller moves the tool to this height first, then applies the offset. If this height is below the top of the part, the tool will try to compensate while it is still inside the material.<\/p>\n<p>The retract height (G98 or G99 in canned cycles) is where the tool goes between pecks in a drilling cycle or between passes in a roughing cycle. This one is usually the lowest of the three, because the tool is only moving between two cutting depths, not traveling across the fixture.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"Why_These_Three_Heights_Must_Be_Set_Independently\"><\/span>Why These Three Heights Must Be Set Independently<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>A common mistake: setting one safe height and assuming it covers everything. It does not. The initial safe height might be 100 mm above the part, which is fine for travel moves. But the reference height might still be set to 10 mm, which means every tool change forces the tool down to 10 mm above the part before the offset applies. On a tall part with clamps sticking up, that 10 mm clearance is not enough.<\/p>\n<p>Set each height for its specific job. Initial safe height: high enough to clear the tallest fixture element by at least 5 mm. Reference height: high enough to clear the part plus any clamps that stick up above the part surface. Retract height: just high enough to clear the chips and the top of the previous cut.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"Setting_the_Initial_Safe_Height_Higher_Than_You_Think\"><\/span>Setting the Initial Safe Height: Higher Than You Think<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>The initial safe height is the one that protects the tool during every non-cutting move. It needs to clear everything \u2014 the part, the fixture, the clamps, the vise jaws, the tool changer, and any stray hardware sitting on the machine table.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"Measuring_the_Tallest_Obstacle_on_the_Fixture\"><\/span>Measuring the Tallest Obstacle on the Fixture<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>Do not guess the safe height. Get a caliper and measure the tallest point on the fixture that the tool will pass over during any rapid move. This includes the vise jaws (if the tool travels over them), the clamp blocks, the locating pins, and any part of the part that sticks up above the main machining surface.<\/p>\n<p>Add 5 mm to that measurement. That is your minimum initial safe height. If the tallest obstacle is 45 mm above the part surface, set the initial safe height to at least 50 mm above the part surface.<\/p>\n<p>On machines with a tool changer, the tool changer itself is an obstacle. When the tool moves to the change position, it passes over or near the turret or carousel. The safe height must clear the tool changer in its highest position. Check the machine manual for the tool changer envelope dimensions.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"Using_Different_Safe_Heights_for_Different_Zones\"><\/span>Using Different Safe Heights for Different Zones<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>Not every area of the fixture has the same clearance. The area around station one might have tall clamps, while station two is wide open. If you set one global safe height for the whole program, you are either wasting time on station two (because the safe height is higher than needed) or risking a crash on station one (because the safe height is too low).<\/p>\n<p>The fix: use local safe heights. Most CAM systems let you define a different safe height for each operation or each feature. Set a high safe height (80 mm) for operations near the tall clamps. Set a lower safe height (30 mm) for operations in open areas. The controller uses the local value for each move, so the tool clears the clamps where it needs to and moves faster where it does not.<\/p>\n<p>This also reduces cycle time. A rapid move from Z50 to Z100 takes longer than a move from Z30 to Z80. The difference is small per move, but over 200 rapid moves in a program, it adds up to real time savings.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"Reference_Height_The_One_That_Catches_People_After_Tool_Changes\"><\/span>Reference Height: The One That Catches People After Tool Changes<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>The reference height is where the tool sits when G43 applies tool length compensation. Most crashes related to safe height happen here, not during rapid moves.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"What_Goes_Wrong_When_Reference_Height_Is_Too_Low\"><\/span>What Goes Wrong When Reference Height Is Too Low<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>Here is the scenario: the program calls T5 M06. The controller changes the tool, then moves to the reference height \u2014 say, 10 mm above the part. Then it applies G43 H5. The tool length offset tells the controller that tool five is 75 mm long. The controller calculates the Z position based on that offset from the reference height.<\/p>\n<p>If the reference height is 10 mm and the part surface is at Z0, the tool tip is at Z10 when G43 applies. The offset says the tool is 75 mm long, so the controller thinks the tool tip should be at Z-65. It drives the tool down to Z-65 \u2014 but the reference height was only 10 mm above the part, so the tool had to travel through 10 mm of air before it even started applying the offset. On a machine with slow servo response, that 10 mm of travel happens fast, and the tool can overshoot and hit the part before the controller corrects.<\/p>\n<p>Set the reference height to at least 20 mm above the tallest point on the part, including any clamps or fixtures that extend above the part surface. On a part with tall locating pins that stick up 15 mm, the reference height needs to be at least 35 mm above the part surface.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"Using_G43_With_a_Safe_Z_Move_First\"><\/span>Using G43 With a Safe Z Move First<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>The safest sequence after a tool change is:<\/p>\n<p>M06 \u2014 execute tool change<br \/>\nG00 Z[initial safe height] \u2014 retract high<br \/>\nG43 H[offset] \u2014 apply tool length at safe height<br \/>\nG00 Z[reference height] \u2014 drop to reference height<br \/>\nG01 Z[cut depth] \u2014 approach the part<\/p>\n<p>This sequence applies the tool length offset at the initial safe height, not at the reference height. The controller reads the offset value while the tool is high and clear, then moves down to the reference height with the correct offset already active. This eliminates the risk of the tool plunging into the part during offset application.<\/p>\n<p>Some programmers skip the G00 Z[initial safe height] and go straight from M06 to G43. This works on fast machines with modern controllers, but on older controls or machines with slow servo loops, it is a gamble. The extra G00 move takes half a second and guarantees the offset applies in open space.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"Retract_Height_in_Canned_Cycles_The_Overlooked_Setting\"><\/span>Retract Height in Canned Cycles: The Overlooked Setting<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>In drilling cycles (G81, G83, G73, etc.), the retract height determines where the tool goes between pecks. This is not the same as the initial safe height. The retract height is usually much lower because the tool is only moving between two Z levels in the same hole.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"G98_vs_G99_Which_One_Saves_You_From_Crashes\"><\/span>G98 vs G99: Which One Saves You From Crashes<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>G98 retracts to the initial safe height after every peck. G98 is slow but safe \u2014 the tool clears everything between pecks. Use G98 when drilling deep holes in a fixture with tall clamps nearby. The extra travel time is worth the safety.<\/p>\n<p>G99 retracts to the R plane (a low reference point, usually 2 to 5 mm above the part surface). G99 is fast but risky. If the R plane is set too low and there is a clamp or a step in the fixture near the hole, the tool will hit it on every retract.<\/p>\n<p>For deep holes, use G98 for the first few pecks until the tool is clear of any obstacles, then switch to G99 for the remaining pecks. This gives you the safety of G98 at the top and the speed of G99 at the bottom.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"Setting_the_R_Plane_Correctly\"><\/span>Setting the R Plane Correctly<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>The R plane is the Z level where the tool starts the peck cycle and returns to between pecks. It must be above the part surface, above any chips, and above any fixture elements near the hole.<\/p>\n<p>A good rule: set the R plane at 5 mm above the highest point of the part surface within 10 mm of the hole. If there is a raised feature near the hole, the R plane must clear that feature.<\/p>\n<p>Do not set the R plane at Z0. If the part surface is not perfectly flat, or if there is a burr or a chip sitting on the surface, the tool will hit it on the first peck. Always give the R plane some breathing room.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"Clearance_During_Arc_Moves_and_Helical_Interpolation\"><\/span>Clearance During Arc Moves and Helical Interpolation<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Straight-line rapid moves are easy to clear. Arc moves and helical interpolation are harder because the tool follows a curved path, and the lowest point of that curve might be lower than you expect.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"Why_Arcs_Can_Dip_Below_Your_Safe_Height\"><\/span>Why Arcs Can Dip Below Your Safe Height<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>When the tool moves in an arc at a constant Z, the path is flat \u2014 no problem. But when the tool moves in a helix (combining circular motion in XY with linear motion in Z), the Z position changes continuously. If the helix starts at Z50 and ends at Z10, the tool passes through every Z level in between.<\/p>\n<p>If you programmed the initial safe height at Z50, the tool starts the helix at Z50. But as the helix descends, the tool passes through Z40, Z30, Z20 \u2014 and if any of those levels intersect a fixture element, the tool hits it.<\/p>\n<p>The fix: program the helix to start above the highest obstacle, not just above the part. If the tallest clamp is at Z35, the helix must start at Z40 or higher. Do not assume the helix will stay clear just because it starts above the part surface.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"Using_G05_for_Smooth_Transitions_Through_Clearance_Zones\"><\/span>Using G05 for Smooth Transitions Through Clearance Zones<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>On some controllers, G05 (spline interpolation) or advanced look-ahead can smooth the transition between a rapid move and a cutting move. This reduces the chance of the tool dipping during the transition.<\/p>\n<p>If your controller supports look-ahead, enable it. The controller will decelerate the tool before it reaches the clearance zone and accelerate after it passes through. The tool never fully stops, but it never fully accelerates either, so the path stays smooth and the Z position stays predictable.<\/p>\n<p>Without look-ahead, the tool decelerates to a full stop at the safe height, then accelerates again for the next move. That stop-and-go creates a momentary dwell where the servo can lose track of the exact Z position, especially on older machines. The result: the tool might overshoot or undershoot the safe height by a millimeter or two. Enough to hit a clamp.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"Fixture-Specific_Clearance_Strategies\"><\/span>Fixture-Specific Clearance Strategies<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<h3><span class=\"ez-toc-section\" id=\"Clearing_Clamp_Bolts_and_Locating_Pins\"><\/span>Clearing Clamp Bolts and Locating Pins<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>Clamp bolts and locating pins are the most common crash sources during rapid moves. They stick up from the fixture plate, they are narrow (so the tool can sneak past them at an angle), and they are usually made of hardened steel (so they destroy the tool on contact).<\/p>\n<p>Map every clamp bolt and locating pin on the fixture. Note their X, Y positions and their Z heights above the part surface. Program the safe height to clear the tallest one by at least 5 mm. Then, for rapid moves that pass near these pins, add a waypoint that routes the tool around them explicitly. Do not rely on the controller to figure out a safe path \u2014 program it yourself.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"Accounting_for_Part_Height_Variation_Across_Stations\"><\/span>Accounting for Part Height Variation Across Stations<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>On multi-station fixtures, the part height is not always the same on every station. A chip under the locator on station three can lift the part by 0.5 mm. A worn locator on station five can let the part sit 0.3 mm lower.<\/p>\n<p>If you set one global safe height for all stations, station three\u2019s extra 0.5 mm might put the part surface above your clearance on that station. The tool clears station one and station two fine, but on station three it hits the part because the part is sitting higher than expected.<\/p>\n<p>The fix: set the safe height based on the tallest part across all stations, not the average. Measure the part height on every station before running the program. Use the maximum measurement plus 5 mm as the safe height for the entire program.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"Practical_Checks_Before_You_Hit_Cycle_Start\"><\/span>Practical Checks Before You Hit Cycle Start<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<h3><span class=\"ez-toc-section\" id=\"Running_a_Clearance-Only_Dry_Pass\"><\/span>Running a Clearance-Only Dry Pass<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>Before running the program with cutting enabled, run a dry pass with the spindle off. Set the feed override to zero so the tool does not move during cutting blocks \u2014 it only executes rapid moves and positioning moves.<\/p>\n<p>Watch every rapid move. Watch every tool change. Watch every retract. If the tool comes within 3 mm of any fixture element, raise the safe height and re-run. Do this until every move is clean.<\/p>\n<p>This takes ten minutes and saves you from a two-hour disaster.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"Verifying_Offsets_After_Every_Tool_Change\"><\/span>Verifying Offsets After Every Tool Change<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>After the first tool change in the program, pause and verify the Z position. Check that the tool is at the expected height above the part. If it is off by more than 0.1 mm, stop and check the tool length offset table. The offset might be wrong, or the reference height might be set too low.<\/p>\n<p>Do not wait until the end of the program to check. The first tool change is your test. If it is wrong, everything after it is wrong.<\/p>","protected":false},"excerpt":{"rendered":"<p>CNC Safe Height and Clearance Settings: Getting the Z-Axis Right So Nothing Gets Hit The safe height is the most boring-looking parameter in a CNC program. It is just a Z number. But that Z number is the difference between a program that runs cleanly for 500 parts and one that crashes on part three [\u2026]<\/p>","protected":false},"author":1,"featured_media":838,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[106],"class_list":["post-1571","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-blog","tag-cnc-machining-services"],"acf":[],"_links":{"self":[{"href":"https:\/\/reliablecncmachining.com\/nl\/wp-json\/wp\/v2\/posts\/1571","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/reliablecncmachining.com\/nl\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/reliablecncmachining.com\/nl\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/reliablecncmachining.com\/nl\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/reliablecncmachining.com\/nl\/wp-json\/wp\/v2\/comments?post=1571"}],"version-history":[{"count":0,"href":"https:\/\/reliablecncmachining.com\/nl\/wp-json\/wp\/v2\/posts\/1571\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/reliablecncmachining.com\/nl\/wp-json\/wp\/v2\/media\/838"}],"wp:attachment":[{"href":"https:\/\/reliablecncmachining.com\/nl\/wp-json\/wp\/v2\/media?parent=1571"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/reliablecncmachining.com\/nl\/wp-json\/wp\/v2\/categories?post=1571"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/reliablecncmachining.com\/nl\/wp-json\/wp\/v2\/tags?post=1571"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}