Digital Readout Kit for Mills, Lathes, & Grinding
Published

Checking Cutting Tool Offset Values

A setup program can be used to test for overtravel issues before a workpiece is run, eliminating program verification delays.

Share

Cutting tools used in CNC machining applications must possess certain attributes in order to work properly. For instance, every cutting tool used in a vertical machining center (VMC) has a minimum and maximum length that is limited by the Z-axis stroke (among other things). As shown in the figure, the spindle nose will be at its maximum distance above the table top when it is at the positive end of the Z-axis stroke. At the minimum Z-axis position, the spindle nose will still be well above the table top.

The tool tip must be able to reach the smallest and largest Z coordinates in the program, otherwise, a Z-axis overtravel will occur. Each cutting tool’s length, which is specified in an offset register, determines whether these extremes can be reached without a Z-axis overtravel. Consider, for example, a very short cutting tool that is machining a thin workpiece held close to the table top. If the tool is too short, the Z axis will not be able to reach the program’s smallest Z-axis coordinate.

A horizontal machining center (HMC) has the same concern. With a horizontal, however, the minimum spindle Z position is usually specified from the table centerline instead of the table top. A similar issue is especially problematic with the maximum spindle Z position on an HMC. A cutting tool may have to clear a large flange that is flush with the table edge, and then reach far into the workpiece. The Z axis may not be able to back up far enough to allow the needed clearance.

Without explicit setup instructions, cutting tool lengths will vary from one time a job is run to the next. Machine operators may unwittingly assemble tools that are too long or short. An easy-to-use setup program can be used to test for overtravel issues before a workpiece is run, eliminating time-consuming delays during the program’s verification.

To use this program, determine these constant values:

  • The distance from the table top (or table center) to the spindle nose at the Z-axis reference position.
  • The Z-axis stroke.

The setup program will reference these values from offsets:

  • The current Z-axis fixture offset register value.
  • Current values in tool-length compensation registers.

And operators will specify in the testing program:

  • The largest and smallest Z coordinates in the program.

While this may seem like a lot of work, only the largest and smallest Z coordinates must regularly be determined and entered. Everything else is either a constant or specified in offsets as part of the setup process.

For our example VMC, we determine that the maximum Z-spindle position is 28.327 inches. We will say this machine’s Z-axis stroke is 19.4769 inches. This makes the minimum Z-spindle position 8.8501 inches. We will place the maximum Z-spindle position and Z-axis stroke values in permanent common variables #500 and #501, respectively. They will remain there as system constants.

The Z register of fixture offset number one is referenced by system variable #5203 with most FANUC CNCs and contains the negative distance from the Z-axis reference position (also the maximum Z-spindle position) to the program-zero point.

System variables in the 2000 series contain tool-length compensation register values. #2001, for instance, contains the length of tool number one.

We will specify the smallest and largest programmed Z coordinates in the setup program with common variables #100 and #101, respectively.

With meanings of the related variables understood, consider these expressions:

  • #110=#500+#5203+#100+#2001 (smallest Z-axis machine position for tool one)
  • #111=#500+#5203+#101+#2001 (largest Z-axis machine position for tool one)

Results can be compared with the minimum and maximum Z-spindle positions:

  • IF [#110 LT [#500-#501] THEN #3000=101 (tool is too short)
  • IF [#111 GT #500] THEN #3000=102 (tool is too long)

Here is a setup program that tests tools one though 10. The setup person will modify and run this program once the setup is made:

  • O1000 (TEST ALL OFFSETS)
  • (OPERATOR ADJUSTS FIRST FOUR VALUES)
  • #100=-[2.5] (SMALLEST Z IN PROGRAM)
  • #101=3.0 (LARGEST Z IN PROGRAM)
  • #102=1 (FIRST TOOL TO TEST)
  • #103=10 (LAST TOOL TO TEST)]
  •  
  • WHILE [#102 LE #103] DO 1
  • IF [[#500+#5203+#100+#[2000+#102]] LT [#500-#501]] THEN #3000=101(TOOL IS TOO SHORT)
  • IF [[#500+#5203+#101+#[2000+#102]] GT #500] THEN #3000=102(TOOL IS TOO LONG)
  • #102=#102+1 (Step counter)
  • END 1
  • #3000=103(LENGTHS ACCEPTABLE)
  • M30

The Z axis will not overtravel if this program completely executes and the message “lengths acceptable” appears. If the “tool is too short” or “tool is too long message appears instead, check the current value of common variable #102 (on the variable display screen page) to determine which tool is causing the problem and correct it. Rerun the program until you see the “lengths acceptable” message.

Mazak Multi-Tasking: Your Parts Multiplier.
MMS Top Shops
Techspex
Norton Superabrasives Wheels  Paradigm Plus
To any Measurement Question there is an Answer
IMTS 2024
SolidCAM
MMS Made in the USA
IMTS 2024
Gravotech
Kennametal
VERISURF

Related Content

When Handing Down the Family Machine Shop is as Complex as a Swiss-Turned Part

The transition into Swiss-type machining at Deking Screw Products required more than just a shift in production operations. It required a new mindset and a new way of running the family-owned business. Hardest of all, it required that one generation let go, and allow a new one to step in.

Read More
SPONSORED

How this Job Shop Grew Capacity Without Expanding Footprint

This shop relies on digital solutions to grow their manufacturing business. With this approach, W.A. Pfeiffer has achieved seamless end-to-end connectivity, shorter lead times and increased throughput.

Read More

Tips for Designing CNC Programs That Help Operators

The way a G-code program is formatted directly affects the productivity of the CNC people who use them. Design CNC programs that make CNC setup people and operators’ jobs easier.

Read More
Basics

7 CNC Parameters You Should Know

Parameters tell the CNC every little detail about the specific machine tool being used, and how all CNC features and functions are to be utilized.

Read More

Read Next

3 Mistakes That Cause CNC Programs to Fail

Despite enhancements to manufacturing technology, there are still issues today that can cause programs to fail. These failures can cause lost time, scrapped parts, damaged machines and even injured operators.

Read More
Vertical Machining Centers

The Cut Scene: The Finer Details of Large-Format Machining

Small details and features can have an outsized impact on large parts, such as Barbco’s collapsible utility drill head.

Read More
CNC Turnkey Package for Knee Mills and Lathes