1. CNC lathe tool compensation The tool radius compensation has two compensation modes: B function and C function. Since the B function tool radius compensation is only calculated according to the program in this section, the transition between the blocks cannot be solved, and the workpiece contour is required to be processed into a rounded transition. Therefore, the workability of the workpiece corner is not good, and the C function tool radius is not good. The compensation can automatically handle the transfer of the tool center trajectory of the two blocks, which can be programmed according to the workpiece contour. Therefore, most CNC CNC machine tools use the C function tool radius compensation. At this time, the following two blocks of the tool radius compensation block are required to have the displacement command (G00, G01, G02, G03, etc.) of the specified compensation plane. Otherwise, the correct tool compensation cannot be established. Concerned about surprises Label: Full-featured CNC machine tool compensation knowledge Previous: Introduction to safe voltage that is harmless to the human body Next: Coupling modulation processing Hand Shower,Shower Taps and Heads,Shower Head Sets,Universal Shower Handle kaiping aida sanitary ware technology co.,ltd , https://www.aidafaucets.com
CNC lathe tool compensation functions include tool position compensation and tool arc radius compensation. In the machining program, the T function is used. The first two XXs in T***X are the tool number, and the last two XX are the tool compensation numbers, such as T0202. If the tool compensation number is 00, it means that the tool offset is canceled.
(1) Tool position compensation The tool position change caused by tool wear or re-installation of the tool. After the tool position compensation is established and executed, the machining program does not need to be re-programmed. The method is to measure the position of each tool and input it into the specified memory. After the program executes the tool compensation command, the actual position of the tool replaces the original position.
As shown in the machining situation shown in Figure 2, if there is no tool compensation, the tool moves from 0 to 1 point, and the corresponding block is N60G00C45X93T0200. If the tool compensation is X=+3, Z=+4, and stored in the corresponding compensation memory. After the tool compensation is executed, the tool will move from 0 to 2 instead of 1 and the corresponding block is N60G00X45Z93T0202.
(2) Tool arc radius compensation When programming the CNC lathe machining program, the turning tool tip is regarded as a point (imaginary tool tip P point), but in fact, in order to improve the tool life and reduce the surface roughness of the workpiece, the car The tip of the knife is ground into a circular arc with a small radius (cutting edge AB arc), which will inevitably result in a shape error of the machined workpiece. On the other hand, the position of the cutting edge arc, the shape of the turning tool will also affect the machining of the workpiece, and these can be solved by the tool radius compensation. The shape and position parameters of the turning tool are called the tool nose orientation, which are represented by parameters 0 to 9, and the P point is the theoretical tool tip point.
(3) Tool compensation parameters Each tool compensation number corresponds to tool position compensation (X and Z values) and tool arc radius compensation (R and T values). There are 4 parameters, which are input to the corresponding memory before machining, and displayed on the CRT. . During the automatic execution process, the numerical control system automatically corrects the position error of the tool and automatically performs the tool nose radius compensation according to the values ​​of X, Z, R, and T in the memory.
2. Machining center, CNC milling machine tool compensation
The machining center and the numerical control system of the CNC milling machine, the tool compensation function includes tool compensation functions such as tool radius compensation, angle compensation and length compensation.
(1) Tool radius compensation (G41, G42, G40) The radius value of the tool is stored in the memory HXX in advance, and XX is the memory number. After the tool radius compensation is executed, the CNC system automatically calculates and automatically compensates the tool according to the calculation result. Tool radius left compensation (G41) refers to the left side of the tool direction of the programmed machining path (as shown in Figure 1), and the tool radius right compensation (G42) refers to the tool to the right of the programmed machining path. Cancel G40 for tool radius compensation and H00 for tool radius compensation.
Pay attention to the use: When setting or canceling the tool compensation, the block using G41, G42, G40 command must use G00 or G01 command, G02 or G03 should not be used, when the tool radius compensation takes negative value, the function of G41 and G42 exchange.
(2) Angle compensation (G39) The intersection of the two planes is an angle, which may cause over-cutting and over-cutting, which may cause machining error, which can be solved by the angle compensation (G39). Note that when using the angle compensation (G39) command, this command is non-modal and valid only in the block of the command. It can only be used after the G41 and G42 commands.
(3) Tool length offset (G43, G44, G49) The tool length offset (G43, G44) command can be used to compensate for changes in tool length without changing the program. The compensation amount is stored in the memory of the H code command. G43 indicates that the compensation amount in the memory is added to the end point coordinate value of the program command, G44 indicates the subtraction, and canceling the tool length offset can be performed by the G49 command or the H00 command. In the block N80G43Z56H05 and if the value in the 05 memory is 16, it means that the end point coordinate value is 72mm.
The value of the compensation amount in the memory can be pre-stored in the memory by MDI or DPL, or the compensation amount in the memory No. 05 can be 16mm by the block instruction G10P05R16.0.