Seven Tool Setting Methods for CNC Machining


Release time:

2021-01-25

【Summary】The tool setting is a major operation and an important skill in CNC machining. Under certain conditions, the accuracy of tool setting can determine the machining accuracy of parts, and the efficiency of tool setting directly affects the efficiency of CNC machining. It is not enough to just know the tool setting methods; one must also understand the various tool setting configurations of the CNC system, how these methods are invoked in the machining program, and the advantages and disadvantages of different tool setting methods, as well as their usage conditions. 1. Tool Setting Principle The purpose of tool setting is to establish the workpiece coordinate system. In simple terms, tool setting is to determine the position of the workpiece on the machine tool's worktable, which is essentially finding the coordinates of the tool setting point in the machine tool coordinate system. For CNC lathes, before machining, one must first select the tool setting point, which refers to the starting point of the tool's movement relative to the workpiece during machining. The tool setting point can be set on the workpiece (such as the design reference or positioning reference on the workpiece) or on the fixture or machine tool. If it is set at a certain point on the fixture or machine tool, that point must maintain a certain dimensional relationship with the workpiece's positioning reference. During tool setting, the tool position point should coincide with the tool setting point. The so-called tool position point refers to the positioning reference point of the tool; for a lathe tool, its tool position point is the tool tip. The purpose of tool setting is to determine the absolute coordinate value of the tool setting point (or workpiece origin) in the machine tool coordinate system and to measure the tool position deviation. The accuracy of locating the tool setting point directly affects the machining accuracy. In actual machining, using a single tool generally cannot meet the machining requirements of the workpiece; usually, multiple tools are needed for machining. When using multiple lathe tools for machining, if the tool change position remains unchanged, the geometric position of the tool tip will differ after the tool change, which requires that different tools can ensure the program runs normally when starting machining from different initial positions. To solve this problem, the CNC system of the machine tool is equipped with a tool geometric position compensation function. By using the tool geometric position compensation function, as long as the position deviation of each tool relative to a pre-selected reference tool is measured in advance and input into the CNC system's tool parameter correction section designated group number, the tool position deviation can be automatically compensated in the tool path using the T command in the machining program. The measurement of tool position deviation also needs to be achieved through tool setting operations. 2. Tool Setting Methods In CNC machining, the basic methods of tool setting include trial cutting method, tool setting gauge method, and automatic tool setting, etc. This article takes CNC milling machines as an example to introduce several commonly used tool setting methods. 1. Trial Cutting Tool Setting Method This method is simple and convenient, but it leaves cutting marks on the surface of the workpiece and has lower tool setting accuracy. As shown in Figure 1, taking the tool setting point (which coincides with the origin of the workpiece coordinate system here) at the center position of the workpiece surface as an example, the bilateral tool setting method is used. (1) Tool setting in the x and y directions. ① Fix the workpiece on the worktable using a fixture, ensuring that all four sides of the workpiece leave space for tool setting. ② Start the spindle to rotate at medium speed, quickly move the worktable and spindle to bring the tool close to the left side of the workpiece at a safe distance, then reduce the speed to approach the left side of the workpiece. ③ When approaching the workpiece, switch to fine-tuning operation (generally using 0.01mm) to get closer, allowing the tool to slowly approach the left side of the workpiece until the tool just touches the left surface of the workpiece (observe, listen to the cutting sound, look at the cutting marks, look at the chips; as long as one of these situations occurs, it indicates that the tool is in contact with the workpiece), then retract by 0.01mm. Record the coordinate value displayed in the machine tool coordinate system at this time, such as -240.500. ④ Retract the tool in the positive z direction until above the workpiece surface, and use the same method to approach the right side of the workpiece, recording the coordinate value displayed in the machine tool coordinate system at this time, such as -340.500. ⑤ Based on this, the coordinate value of the workpiece coordinate system origin in the machine tool coordinate system can be calculated as { -240.500 + (-340.500) } / 2 = -290.500. ⑥ Similarly, the coordinate value of the workpiece coordinate system origin in the machine tool coordinate system can be measured. (2) Tool setting in the z direction. ① Quickly move the tool above the workpiece. ② Start the spindle to rotate at medium speed, quickly move the worktable and spindle to bring the tool close to the upper surface of the workpiece at a safe distance, then reduce the speed to let the tool end face approach the upper surface of the workpiece. ③ When approaching the workpiece, switch to fine-tuning operation (generally using 0.01mm) to get closer, allowing the tool end face to slowly approach the surface of the workpiece (note that when using a milling cutter, it is best to cut at the edge of the workpiece, as the area of the tool end face contacting the workpiece surface is less than half a circle; try to avoid having the center hole of the milling cutter cut into the workpiece surface), allowing the tool end face to just touch the upper surface of the workpiece, then raise the axis again, recording the z value in the machine tool coordinate system at this time, -140.400, so the coordinate value of the workpiece coordinate system origin W in the machine tool coordinate system is -140.400. (3) Input the measured x, y, z values into the machine tool workpiece coordinate system storage address G5* (generally using G54~G59 codes to store tool setting parameters). (4) Enter the panel input mode (MDI), input "G5*", and press the start button (in automatic mode) to run G5* to make it effective. (5) Verify whether the tool setting is correct. 2. Feeler Gauge, Standard Pin, and Block Gauge Tool Setting Method This method is similar to the trial cutting tool setting method, except that the spindle does not rotate during tool setting. A feeler gauge (or standard pin, block gauge) is placed between the tool and the workpiece, with the feeler gauge just unable to be freely pulled out as the standard. Note that when calculating coordinates, the thickness of the feeler gauge should be subtracted. Since the spindle does not need to rotate for cutting, this method does not leave marks on the surface of the workpiece, but the tool setting accuracy is also not high enough. 3. Tool Setting Method Using Edge Finders, Eccentric Rods, and Axis Setters The operating steps are similar to those of the trial cutting tool setting method, except that the tool is replaced with an edge finder or eccentric rod. This is the most commonly used method. It is efficient and can ensure tool setting accuracy. When using an edge finder, care must be taken to ensure that its steel ball part lightly contacts the workpiece, and the workpiece being machined must be a good conductor with a good surface roughness on the positioning reference surface. The z-axis setter is generally used for transfer (indirect) tool setting methods. 4. Transfer (Indirect) Tool Setting Method Machining a workpiece often requires more than one tool. The length of the second tool differs from that of the first tool, requiring a new zero point to be set. However, sometimes the zero point is machined away, making it impossible to find the zero point directly, or it is not permissible to damage the already machined surface. In some cases, it is also difficult to directly set the tool. In these situations, the indirect zero finding method can be used. (1) Tool setting for the first tool. ① For the first tool, still use the trial cutting method, feeler gauge method, etc. Record the machine tool coordinate z1 of the workpiece origin at this time. After machining with the first tool, stop the spindle. ② Place the tool setter on the flat surface of the machine tool worktable (such as the large surface of a vise). ③ In handwheel mode, use the handwheel to move the worktable to a suitable position, lower the spindle, and press the bottom end of the tool against the top of the tool setter, allowing the dial indicator to rotate, preferably within one full rotation, and record the reading of the axis setter at this time, resetting the relative coordinate axis to zero. ④ Confirm to raise the spindle and remove the first tool. (2) Tool setting for the second tool. ① Install the second tool. ② In handwheel mode, lower the spindle, pressing the bottom end of the tool against the top of the tool setter, allowing the dial indicator to rotate, with the pointer indicating the same reading A position as the first tool. ③ Record the corresponding value z0 (with positive and negative signs) of the relative coordinate of the axis at this time. ④ Raise the spindle and remove the tool setter. ⑤ Add the z1 coordinate data from the original first tool's G5* with z0 (with positive and negative signs) to obtain a new coordinate. ⑥ This new coordinate is the actual coordinate of the workpiece origin corresponding to the second tool, which should be input into the G5* work coordinate of the second tool, thus setting the zero point for the second tool. The tool setting method for the remaining tools is the same as that for the second tool. Note: If several tools use the same G5*, then steps 5) and 6) should be modified to store z0 in the length parameter of the second tool, and when using the second tool for machining, call the tool length compensation G43H02. 5. Tailstock Tool Setting Method (1) Tool setting in the x and y directions. ① Fix the workpiece on the machine tool worktable using a fixture, and replace it with a tailstock. ② Quickly move the worktable and spindle to bring the tailstock close to the workpiece, looking for the center point of the workpiece's marked line, and reduce the speed to approach it. ③ Switch to fine-tuning operation, allowing the tailstock to slowly approach the center point of the workpiece's marked line until the tip of the tailstock aligns with the center point of the workpiece's marked line, recording the x and y coordinate values in the machine tool coordinate system at this time. (2) Remove the tailstock, install the milling cutter, and use other tool setting methods such as trial cutting method, feeler gauge method, etc., to obtain the z-axis coordinate value. 6. Dial Indicator (or Micrometer) Tool Setting Method (generally used for circular workpieces) (1) Tool setting in the x and y directions. Install the dial indicator's mounting rod on the tool holder, or attach the magnetic base of the dial indicator to the spindle sleeve, move the worktable to bring the spindle centerline (i.e., tool center) approximately to the center of the workpiece, adjust the length and angle of the telescopic rod on the magnetic base so that the touch point of the dial indicator contacts the circumference of the workpiece (the pointer rotates about 0.1mm), and slowly rotate the spindle by hand, allowing the touch point of the dial indicator to move along the circumference of the workpiece. Observe the movement of the dial indicator's pointer, and after multiple adjustments of the worktable's axis and axis, when the pointer of the dial indicator remains in the same position while rotating the spindle (the amount of fluctuation of the pointer during one full rotation of the dial head is within the allowable tool setting error, such as 0.02mm), it can be considered that the center of the spindle is the origin of the axis and axis. (2) Remove the dial indicator and install the milling cutter, using other tool setting methods such as trial cutting method, feeler gauge method, etc., to obtain the z-axis coordinate value. 7. Dedicated Tool Setting Device Method Traditional tool setting methods have disadvantages such as poor safety (e.g., feeler gauge tool setting, hard contact can easily damage the tool tip), high machine time consumption (e.g., trial cutting requires repeated measurements), and large random errors introduced by human factors, which are no longer suitable for the pace of CNC machining and do not facilitate the full utilization of CNC machine tool functions. Using dedicated tool setting devices offers high tool setting accuracy, high efficiency, and good safety, simplifying the complicated tool setting work that relies on experience, ensuring the efficient and high-precision characteristics of CNC machine tools, and has become an indispensable specialized tool for solving tool setting in CNC machining.

                                        CNC Machining Seven Tool Setting Methods

Tool setting is a major operation and important skill in CNC machining. Under certain conditions, the accuracy of tool setting can determine the machining accuracy of parts, and the efficiency of tool setting directly affects the efficiency of CNC machining. It is not enough to just know the tool setting methods; one must also understand the various tool setting configurations of the CNC system, how these configurations are called in the machining program, and the advantages and disadvantages of various tool setting methods, as well as their usage conditions.

I. Tool Setting Principles
The purpose of tool setting is to establish the workpiece coordinate system. In simple terms, tool setting is to determine the position of the workpiece on the machine tool's workbench, which essentially means finding the coordinates of the tool setting point in the machine tool coordinate system. For CNC lathes, before machining, one must first select the tool setting point, which refers to the starting point of the tool's movement relative to the workpiece during machining. The tool setting point can be set on the workpiece (such as the design reference or positioning reference on the workpiece) or on the fixture or machine tool. If it is set at a certain point on the fixture or machine tool, that point must maintain a certain precision relationship with the workpiece's positioning reference.
During tool setting, the tool position point should coincide with the tool setting point. The so-called tool position point refers to the reference point for the tool's positioning; for a turning tool, its tool position point is the tool tip. The purpose of tool setting is to determine the absolute coordinate value of the tool setting point (or workpiece origin) in the machine tool coordinate system and to measure the tool position deviation. The accuracy of locating the tool setting point directly affects the machining accuracy. In actual machining, using a single tool generally cannot meet the machining requirements of the workpiece, and multiple tools are usually needed for machining. When using multiple turning tools for machining, if the tool change position remains unchanged, the geometric position of the tool tip will differ after the tool change, which requires that different tools can ensure the program runs normally when starting machining from different initial positions.

To solve this problem, the CNC system of the machine tool is equipped with a tool geometric position compensation function. By using the tool geometric position compensation function, as long as the position deviation of each tool relative to a pre-selected reference tool is measured in advance and input into the tool parameter correction section of the CNC system's designated group number, the T command can be used in the machining program to automatically compensate for the tool position deviation in the tool path. The measurement of the tool position deviation also needs to be achieved through tool setting operations.

II. Tool Setting Methods

In CNC machining, the basic methods of tool setting include trial cutting, tool setting gauge, and automatic tool setting. This article takes CNC milling machines as an example to introduce several commonly used tool setting methods.
1. Trial Cutting Tool Setting Method
This method is simple and convenient, but it will leave cutting marks on the surface of the workpiece and has lower tool setting accuracy. As shown in Figure 1, taking the tool setting point (which coincides with the origin of the workpiece coordinate system here) at the center position of the workpiece surface as an example, a bilateral tool setting method is used.
(1) Tool setting in the x and y directions.
① The workpiece is mounted on the workbench through a fixture, and during clamping, the four sides of the workpiece should leave space for tool setting.
② Start the spindle to rotate at medium speed, quickly move the workbench and spindle to let the tool quickly move to a position near the left side of the workpiece with a certain safety distance, and then reduce the speed to approach the left side of the workpiece.
③ When approaching the workpiece, switch to fine-tuning operation (generally using 0.01mm) to get closer, allowing the tool to slowly approach the left side of the workpiece until the tool just touches the left surface of the workpiece (observe, listen for cutting sounds, look for cutting marks, look for chips; as long as one of these situations occurs, it indicates that the tool has contacted the workpiece), then retract 0.01mm. Record the coordinate value displayed in the machine tool coordinate system at this time, such as -240.500.
④ Retract the tool in the positive z direction until above the workpiece surface, and use the same method to approach the right side of the workpiece, recording the coordinate value displayed in the machine tool coordinate system at this time, such as -340.500.
⑤ Based on this, the coordinate value of the workpiece coordinate system origin in the machine tool coordinate system can be obtained as
{-240.500 + (-340.500)}/2 = -290.500.
⑥ Similarly, the coordinate value of the workpiece coordinate system origin in the machine tool coordinate system can be measured.
(2) Tool setting in the z direction.
① Quickly move the tool to above the workpiece.
② Start the spindle to rotate at medium speed, quickly move the workbench and spindle to let the tool quickly move to a position near the upper surface of the workpiece with a certain safety distance, and then reduce the speed to let the tool end face approach the upper surface of the workpiece.
③ When approaching the workpiece, switch to fine-tuning operation (generally using 0.01mm) to get closer, allowing the tool end face to slowly approach the surface of the workpiece (note that when using a tool, especially an end mill, it is best to cut at the edge of the workpiece; the area of the tool end face contacting the workpiece surface is less than half a circle, and try not to let the center hole of the end mill cut into the surface of the workpiece), until the tool end face just touches the upper surface of the workpiece, then raise the axis again, and record the z value in the machine tool coordinate system at this time, -140.400, so the coordinate value of the workpiece coordinate system origin W in the machine tool coordinate system is -140.400.
(3) Input the measured x, y, z values into the machine tool workpiece coordinate system storage Address G5* (generally using G54~G59 codes to store tool setting parameters).
(4) Enter the panel input mode (MDI), input "G5*", press the start button (in automatic mode), and run G5* to make it effective.
(5) Verify whether the tool setting is correct.
2. Feeler Gauge, Standard Pin, and Block Gauge Tool Setting Method
This method is similar to the trial cutting tool setting method, except that the spindle does not rotate during tool setting. A feeler gauge (or standard pin, block gauge) is inserted between the tool and the workpiece, with the feeler gauge just unable to be freely pulled out as the standard. Note that when calculating coordinates, the thickness of the feeler gauge should be subtracted. Since the spindle does not need to rotate for cutting, this method will not leave marks on the surface of the workpiece, but the tool setting accuracy is also not high.
3. Tool Setting Method Using Edge Finders, Eccentric Pins, and Axis Setters.
The operation steps are similar to the trial cutting method, just replacing the tool with a probe or eccentric rod. This is the most commonly used method. It is efficient and can ensure tool setting accuracy. When using a probe, care must be taken to let its steel ball slightly contact the workpiece, and the workpiece being processed must be a good conductor, with the reference surface having a good surface roughness. The Z-axis setter is generally used for transfer (indirect) tool setting.
4. Transfer (Indirect) Tool Setting Method
Processing a workpiece often requires more than one tool. The length of the second tool is different from the first tool's length, requiring a reset of the zero point. However, sometimes the zero point is machined away and cannot be retrieved directly, or it is not permissible to damage the already machined surface. Additionally, some tools or situations do not allow for direct tool setting. In this case, the indirect zeroing method can be used.
(1) For the first tool.
① For the first tool, first use the trial cutting method, feeler gauge method, etc. Record the machine coordinates z1 of the workpiece origin at this time. After processing the first tool, stop the spindle.
② Place the tool setter on the flat surface of the machine table (such as the large surface of a vise).
③ In handwheel mode, use the handwheel to move the worktable to a suitable position, lower the spindle, and press the bottom end of the tool against the top of the tool setter. The dial pointer rotates, preferably within one full rotation. Record the reading of the axis setter at this time and zero the relative coordinate axis.
④ Confirm to raise the spindle and remove the first tool.
(2) For the second tool.
① Install the second tool.
② In handwheel mode, lower the spindle and press the bottom end of the tool against the top of the tool setter. The dial pointer rotates, pointing to the same reading A position as the first tool.
③ Record the value z0 (with positive and negative signs) corresponding to the relative coordinates of the axis at this time.
④ Raise the spindle and remove the tool setter.
⑤ Add the z1 coordinate data from the original first tool's G5* with z0 (with positive and negative signs) to obtain a new coordinate.
⑥ This new coordinate is the actual machine coordinate of the workpiece origin corresponding to the second tool, which should be input into the second tool's G5* working coordinates, thus setting the zero point of the second tool. The tool setting method for the remaining tools is the same as that for the second tool.
Note: If several tools use the same G5*, then steps 5) and 6) should be changed to store z0 in the length parameter of the second tool. When using the second tool for processing, call the tool length compensation G43H02.
5. Center Point Tool Setting Method
 
① Fix the workpiece on the machine table using a fixture and replace it with a center point.
(1) Tool setting in the x and y directions.
② Quickly move the worktable and spindle to bring the center point close to the workpiece, looking for the center point of the workpiece's marked line. Reduce the speed to bring the center point closer.
③ Switch to fine-tuning operation, allowing the center point to slowly approach the center point of the workpiece's marked line until the tip of the center point aligns with the center point of the workpiece's marked line. Record the x and y coordinate values in the machine coordinate system at this time.
(2) Remove the center point and install the milling cutter, using other tool setting methods such as trial cutting or feeler gauge to obtain the z-axis coordinate value.
6. Dial Indicator (or Micrometer) Tool Setting Method (generally used for circular workpieces)
Install the dial indicator's mounting rod on the tool holder, or attach the magnetic base of the dial indicator to the spindle sleeve. Move the worktable so that the spindle centerline (i.e., tool center) is approximately aligned with the workpiece center. Adjust the length and angle of the telescopic rod on the magnetic base so that the contact point of the dial indicator touches the circumference of the workpiece (the pointer moves about 0.1mm). Slowly rotate the spindle by hand, allowing the contact point of the dial indicator to move along the circumference of the workpiece, observing the movement of the dial indicator's pointer. After multiple adjustments, when the pointer of the dial indicator remains in the same position while the spindle rotates (the pointer's fluctuation during one full rotation is within the allowable tool setting error, such as 0.02mm), it can be considered that the spindle center is the origin of the axis.
(1) Tool setting in the x and y directions.
(2) Remove the dial indicator and install the milling cutter, using other tool setting methods such as trial cutting or feeler gauge to obtain the z-axis coordinate value.
7. Dedicated Tool Setter Tool Setting Method
Traditional tool setting methods have disadvantages such as poor safety (e.g., feeler gauge tool setting, hard contact can easily damage the tool tip), high machine time consumption (e.g., trial cutting requires repeated measurements), and significant random errors introduced by human factors. These methods can no longer adapt to the pace of CNC processing and are not conducive to maximizing the functions of CNC machine tools. Using dedicated tool setters for tool setting has advantages such as high tool setting accuracy, high efficiency, and good safety, simplifying the complicated tool setting work that relies on experience, ensuring the high efficiency and high precision characteristics of CNC machine tools, and has become an indispensable specialized tool for solving tool setting in CNC machining.
传统对刀方法有安全性差(如塞尺对刀,硬碰硬刀尖易撞坏)占用机时多(如试切需反复切量几次),人为带来的随机性误差大等缺点,已经适应不了数控加工的节奏,更不利于发挥数控机床的功能。用专用对刀器对刀有对刀精度高、效率高、安全性好等优点,把繁琐的靠经验保证的对刀工作简单化了,保证了数控机床的高效高精度特点的发挥,已成为数控加工机上解决刀具对刀不可或缺的一种专用工具。

TAG:


RELATED INFORMATION

ADD

Gengguantun Industrial Development Zone, Qingxian County, Hebei Province, China

WeChat applet

WeChat applet

Business License