How to set the tool on a CNC lathe


Release time:

2021-01-19

【Summary】The tool setting on a CNC lathe is a crucial skill in machining. The accuracy of the tool setting determines the machining precision of the parts, and the efficiency of the tool setting directly affects the machining efficiency of the parts. Tool setting is vital for the operation of the machine tool. After starting the CNC lathe, a zero return (reference point) operation must be performed. The purpose is to establish a unified reference for position measurement, control, and display of the CNC lathe, meaning that the tool returns to the machine tool's origin. The machine tool's origin is usually at the maximum positive stroke of the tool, and its position is determined by the machine tool's position sensor. After the machine tool returns to zero, the distance between the tool (tool tip) and the machine tool's origin is fixed and unchanging. Therefore, for the convenience of tool setting and machining, the position of the tool tip after the machine tool returns to zero can be regarded as the machine tool's origin. Tool setting is the process of establishing the workpiece coordinate system in the machine tool's coordinate system and making the origin of the workpiece coordinate system coincide with the programming origin. By measuring the distance from the tool tip programming point in the machine tool's coordinate system to the machining origin in the X and Z directions through trial cutting or non-contact methods, the values are set into the machine tool parameters. By calling the program, the workpiece coordinate system is established, and the absolute coordinate values of the reference point in the program are based on the established workpiece coordinate system's origin, which is used to machine the profile of the part. There are many methods for tool setting on a CNC lathe, and the trial cutting method is commonly used in work. Below is an introduction to the commonly used tool setting methods for the FANUC-0I CNC lathe. 1. Measuring and inputting tool offset method 1) Use the selected tool to trial cut the outer circle of the workpiece, setting the tool in the X direction. In manual operation mode, trial cut the outer circle, keeping the X direction stationary, and retract the tool along the Z-axis. Measure the diameter value α of the cut outer circle with a caliper, click the "OFFSETSETING" key to enter the shape compensation parameter setting interface, move the cursor to the tool compensation X position, input Xα, and press the soft key [Measure]. The CNC system automatically calculates the current tool tip's coordinate in the X direction of the machine tool's coordinate system, completing the tool setting in the X direction. 2) Use the selected tool to cut the end face, setting the tool in the Z direction. In manual operation mode, the tool cuts the workpiece's end face to the center. Then keep the Z direction stationary and retract the tool along the X direction. Enter the shape compensation parameter setting interface, move the cursor to the corresponding position of the tool compensation Z coordinate, input Z0, and press the [Measure] soft key. The corresponding tool offset is automatically input, completing the tool setting. This method sets the machining origin at the center of the right end face of the workpiece, which is commonly used for general shaft parts. If it is a left-right symmetrical part, the machining origin should be set at the symmetrical center of the workpiece, so input Zβ, where β is half of the part's axial length. Then, based on the tool's geometric dimensions and installation position, input the tool tip's arc radius R and tool position number T values. For example: Tool 1, tool tip arc radius R=0.8mm, move the cursor to the corresponding position below R for Tool 1, input 0.8, and input the tool position number at the corresponding position of T, then press "INPUT" to input, which can be used for machining. 2. Z direction tool setting after workpiece rotation Machining after the workpiece rotation must ensure the overall length of the part after machining. Therefore, a secondary tool setting must be performed. The X direction tool setting is the same as the previous method, and the Z direction tool setting steps are as follows: Cut the end face of the workpiece to the center, keep the Z direction stationary, and press the X positive button to retract the tool. Measure the total length of the workpiece blank in the Z direction, denoted as Z1, and the required total length of the workpiece is Z, with the length difference ∆=Z1-Z. Before executing the program, the O point must be set as the machining origin (see Figure 1). Enter the shape compensation parameter setting interface, move the cursor to the Z coordinate position, input Z∆ (where ∆ is the Z coordinate value of the current tool tip position in the newly established workpiece coordinate), and press the [Measure] soft key. The corresponding tool offset is automatically input. 3. G92 setting of the workpiece coordinate system 1) Use the outer circle turning tool to trial cut an outer circle, measure the outer circle diameter, then retract the tool in the positive Z direction, and stop the spindle. Record the absolute coordinate value X1 of the tool in the machine tool's coordinate system at this time, and measure the outer circle diameter D. 2) Cut the end face to the center, keep X stationary, and retract along the Z direction, recording the absolute coordinate value Z1 of the tool in the machine tool's coordinate system at this time. 3) Choose the starting point for the tool. The starting point should be selected outside the workpiece. If the starting point is set 50mm in the X direction and 50mm in the Z direction from the center of the right end face, then the position of the starting point in the machine tool's coordinate system is X=X1-D+100.0 (diameter programming), Z=Z1+50.0. 4) Adjust the tool to the starting point. Before executing the program with the workpiece coordinate system set by G92, the tool must be adjusted to the starting point position. The method is as follows: first, move the tool close to the starting point position in manual mode, then use the handwheel to adjust the magnification to reach the precise position. 5) At this time, the beginning of the program must be: G92 X100.0 Z50.0 Note: (1) Before executing this command, tool setting must be performed first. By adjusting the machine tool, place the tool tip at the starting point position required by the program; (2) Executing the G92 command will not cause any movement of the machine tool, but will replace the old coordinate values with new coordinate values internally in the system, thus establishing a new coordinate system. When using the trial cutting method for tool setting, the main sources of tool setting error are measurement errors after trial cutting the workpiece and errors caused by visual observation during the operation. The main measures to reduce tool setting errors are: maintain a rigorous attitude, operate carefully, and read accurately; consider the impact of the machine tool's repeat positioning accuracy on tool setting accuracy and the impact of the installation height of the tool position on tool setting accuracy during machining; after tool setting, correct the tool compensation value based on the actual size of the part being machined and the programming size. CNC lathes have various control systems, and tool setting methods include manual tool setting, external tool setting instruments, and automatic tool setting. Manual tool setting uses the "trial cutting-measurement-adjustment" mode, which is simple and economical but takes a long time on the machine tool and has a larger error. Using a tool setting instrument can automatically calculate the length of each tool and the difference from the standard tool, storing it in the system. When machining other parts, only the standard tool needs to be set, greatly saving auxiliary working time. Additionally, using a tool setting instrument can eliminate measurement errors, significantly improving tool setting accuracy. Automatic tool setting is achieved through a tool tip detection system, where the tool tip approaches the contact sensor at a set speed. When the tool tip contacts the sensor and sends a signal, the CNC system immediately records the coordinate value at that moment and automatically corrects the tool compensation value. Although the input parameters for external tool setting instruments and automatic tool setting are similar to manual tool setting, the principles and methods of measurement differ, with a higher degree of automation, improving work efficiency. Each tool setting method has its own advantages and disadvantages. Operators can flexibly apply them according to their actual needs, making the entire tool setting work simple while ensuring machining quality, greatly saving auxiliary time, and effectively improving production efficiency.

                                                  How to set the tool on a CNC lathe

Setting the tool on a CNC lathe is an important skill in machining. The accuracy of the tool setting determines the machining precision of the parts, and the efficiency of the tool setting directly affects the machining efficiency of the parts. Tool setting is very important for machine tool operation.

After starting the CNC lathe, it is necessary to perform a zero return (reference point) operation. The purpose is to establish a unified reference for position measurement, control, and display on the CNC lathe, which means that the tool returns to the machine tool's origin. The machine tool's origin is usually at the maximum positive stroke of the tool, and its position is determined by the machine tool's position sensor. After the machine tool returns to zero, the distance between the tool (tip) position and the machine tool's origin is fixed and unchanging. Therefore, for the convenience of tool setting and machining, the position of the tool tip after the machine tool returns to zero can be regarded as the machine tool's origin.

Tool setting is the process of establishing the workpiece coordinate system in the machine tool's coordinate system and making the origin of the workpiece coordinate system coincide with the programming origin. By measuring the distance from the tool tip programming point in the machine tool coordinate system to the machining origin in the X and Z directions through trial cutting or non-contact methods, the values are set into the machine tool parameters. By calling the program, the workpiece coordinate system is established, and the absolute coordinate values of the reference point in the program are based on the established workpiece coordinate system's origin, which is used to machine the profile of the part.

There are many methods for tool setting on a CNC lathe, and the trial cutting method is commonly used in work. Below is an introduction to the commonly used tool setting methods for FANUC-0I CNC lathes.

1. Measuring and inputting tool offset values.

1) Use the selected tool to perform a trial cut on the outer circle of the workpiece, aligning the tool in the X direction. In manual operation mode, conduct the trial cut on the outer circle while keeping the X direction stationary, and retract the tool along the Z-axis. Measure the diameter value α of the cut outer circle using a caliper, click the "OFFSET SETTING" key to access the shape compensation parameter setting interface, move the cursor to the tool compensation X position, input Xα, press the soft key [Measure], and the CNC system will automatically calculate the current tool tip's coordinate in the X direction of the machine tool coordinate system, thus completing the tool alignment in the X direction.

2) Use the selected tool to cut the end face, aligning the tool in the Z direction. In manual operation mode, the tool cuts the end face of the workpiece to the center. Then, keep the Z direction stationary and retract the tool along the X direction. Access the shape compensation parameter setting interface, move the cursor to the corresponding position of the tool compensation Z coordinate, input Z0, and press the [Measure] soft key, which will automatically input the corresponding tool offset value, completing the tool alignment. This method sets the machining origin at the center of the right end face of the workpiece, which is commonly used for general shaft parts. If it is a left-right symmetrical part, the machining origin should be set at the symmetrical center of the workpiece, then input Zβ, where β is half of the axial length of the part.

Then, based on the geometric dimensions and installation position of the tool, input the tool tip arc radius R and tool position number T values. For example: Tool 1, tool tip arc radius R=0.8mm, move the cursor to the corresponding position below R for Tool 1, type 0.8, and input the tool position number at the corresponding position of T, then press "INPUT" to input, which can be used for machining.

2. Tool setting after the workpiece is flipped.

The machining after the workpiece is flipped must ensure the overall length of the part after machining. Therefore, a secondary tool setting must be performed. The X direction tool setting is the same as the previous method, and the Z direction tool setting steps are as follows:

Cut the end face of the workpiece to the center, keep the Z direction stationary, press the X positive button, and retract the tool. Measure the total length of the workpiece blank in the Z direction, denoted as Z1. The required total length of the workpiece is Z, and the length difference is ∆=Z1-Z. Before executing the program, the O point must be set as the machining origin (see Figure 1). Enter the shape compensation parameter setting interface, move the cursor to the Z coordinate position, input Z∆ (∆ is the Z coordinate value of the current tool tip position in the newly established workpiece coordinate system), and press the [Measure] soft key to automatically input the corresponding tool offset value.

3. G92 setting of the workpiece coordinate system.

1) Use the outer circle turning tool to first trial cut an outer circle, measure the outer circle diameter, then retract the tool in the positive Z direction, and stop the spindle. Record the absolute coordinate value X1 of the tool in the machine tool coordinate system at this time, and measure the outer circle diameter D.

2) Cut the end face to the center, keep X stationary, and retract along the Z direction, recording the absolute coordinate value Z1 of the tool in the machine tool coordinate system at this time.

3) Select the starting point for the tool. The position of the starting point should be chosen outside the workpiece. If the starting point is set at a distance of 50mm in the X direction and 50mm in the Z direction from the center of the right end face, then the position of the starting point in the machine tool coordinate system is X=X1-D+100.0 (diameter programming), Z=Z1+50.0.

4) Adjust the tool to the starting point. Before executing the program with the workpiece coordinate system set by G92, the tool must be adjusted to the starting point position. The method is as follows: first move the tool manually to the position close to the starting point, then use the handwheel to achieve the precise position by adjusting the magnification.

5) At this time, the beginning of the program must be: G92 X100.0 Z50.0.

Note: (1) Before executing this command, tool setting must be performed first. By adjusting the machine tool, place the tool tip at the starting point position required by the program; (2) Executing the G92 command will not cause any movement of the machine tool, it only allows the system to replace the old coordinate values with new ones internally, thus establishing a new coordinate system.

When using the trial cutting method for tool setting, the main sources of tool setting error come from measurement errors after trial cutting the workpiece and errors generated by visual observation during the operation. The main measures to reduce tool setting errors are: maintain a rigorous attitude, operate carefully, and read accurately; consider the impact of the machine tool's repeat positioning accuracy on tool setting accuracy and the impact of the installation height of the tool position on tool setting accuracy during machining; after tool setting, correct the tool compensation value based on the actual size of the part being machined and the programming size.

CNC lathes have various control systems, and there are different methods for tool setting, including manual tool setting, external tool setting instruments, and automatic tool setting. Manual tool setting uses a "test-cut-measure-adjust" mode, which is simple and economical but takes a long time on the machine and has a larger error. Using a tool setting instrument can automatically calculate the tool length of each tool and the difference from the standard tool, storing it in the system. When processing other parts, only the standard tool needs to be set, greatly saving auxiliary working time, and using a tool setting instrument eliminates the errors that occur during measurement, significantly improving tool setting accuracy. Automatic tool setting is achieved through a tool tip detection system, where the tool tip approaches a contact sensor at a set speed. When the tool tip contacts the sensor and sends a signal, the CNC system immediately records the coordinate value at that moment and automatically corrects the tool compensation value. Although the input parameters for external tool setting instruments and automatic tool setting are similar in principle to manual tool setting, the measurement principles and methods differ, resulting in a higher degree of automation and improved work efficiency.

Each tool setting method has its own advantages and disadvantages. Operators can flexibly apply them according to their actual needs, making the entire tool setting process simple while ensuring processing quality, greatly saving auxiliary time, and effectively improving production efficiency.

TAG:


RELATED INFORMATION

ADD

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

WeChat applet

WeChat applet

Business License