Latest lathe tool compensation function

2022-09-27
  • Detail

Lathe tool compensation function

1. The geometry and wear compensation of the tool

are shown in Figure 1-42. When programming, generally take one of the tools as the benchmark and establish the workpiece coordinate system based on the tool tip position a of the tool. In this way, when other tools turn to the machining position, the tool tip position B will have deviation, and the original set workpiece coordinate system is not applicable to these tools. In addition, each tool has different program wear during the blinking process. Therefore, the offset △ x, △ Z should be compensated to move the tool tip position B to position a

the tool compensation function is realized by the T code specified in the program. The D code is composed of the letter D followed by a 4-digit

code, of which the first two digits are the tool number and the last two digits are the tool compensation number. The tool compensation number is actually the address number of the

compensation sender, which stores the x-axis offset and z-axis offset of the tool

the system compensates or cancels the cutting tool through the movement of grabbing the board

II. Cutter tip arc radius compensation G40, G41, G42 instructions

the NC program is compiled for a certain point on the cutter, that is, the cutter location. The cutter location of the turning tool is the imaginary point a of the ideal sharp state or the point O of the arc center of the cutter tip (see Figure 14 Jinan experimental machine technical parameters main specifications3). However, the turning tool in actual processing is often not an ideal sharp point due to the process or other requirements, It's an arc. When cutting and adding soil, the cutting point of the tool changes on the arc of the tool tip (see Figure 1-44), resulting in the deviation between the actual cutting point and the position of the tool point, so it causes over cutting or less cutting (see Figure 1-44). This kind of machining error caused by the fact that the tool tip is not an ideal sharp point but an arc can be eliminated by the tool tip radius compensation function

when the system executes the program segment containing T code, whether to compensate the tool tip radius and what kind of force compensation is determined by G40, G41 and G42 in G code

g40: cancel the tool tip radius compensation, and the tool tip motion track is consistent with the programmed track

g41: tip radius left compensation, consistent with the feed direction, when the tip position is on the left of the programming track

g42: tip radius right compensation, wrong feed direction. When the tip position is on the right of the programming track

the tool tip radius compensation g41/g42 is distinguished by judging that the tool tip position is on the left/right side of the programming track in the machining plane, looking along the feeding direction. The judgment of machining flatness is related to the observation direction, that is, the direction of the second axis. Figure 1-45 (b) shows the tip radius compensation direction of CJK6032 CNC machine tool

since the NC program has been compiled for the tool location on the tool since this year, that is, point a or point O (see Figure 1-43), this point coincides with the starting point in the program when setting the tool. When there is no tool arc radius compensation function, press which point to program, the point will move according to the programmed trajectory, and the size and direction of overcut or undercut will vary depending on the arc direction of the tool tip and the position direction of the tool tip. When there is a tool arc radius compensation function, the above parameters must be defined, in which the tool tip position direction number has 10 direction numbers from 0 to 9. When programming according to the imaginary point a of the tool tip, the direction of the position of the tool tip is different due to the reliability of the installation to maintain the performance of the composite material. There are eight kinds of direction numbers of the position of the tool tip from the center of the arc of the tool tip to the direction of the imaginary tool tip, which are set as No. 1-8 in turn. When programming according to the o point of the center of the arc of the tool tip, the direction of the position of the tool tip is set as No. o or No. 9. The judgment of this direction is also related to the third axis. The direction shown in Figure 1-46 (b) is the installation direction of the tool tip of CJK6032 CNC lathe

the addition of tip radius compensation is completed when G41 or G42 command is executed. When there is no G41 or G42 command in front, G40 command can be omitted, and G41 or G42 command can be written directly; When it is found that the front is G41 or G42 command, first specify G40 command to cancel the nose radius compensation in front, and then write G41 or G42 command. The cancellation of nose radius compensation is completed by adding G41 command after G41 or G42 command

note: 1) when there are G41 and G42 commands in front, if you want to convert to G42, G41 or end radius compensation, you should specify G40 first. Command to cancel the nose radius compensation in front

2) at the end of the program, the cutter compensation must be cleared

3) G41, G42, G40 instructions should be added to goo or G01 process hall section

4) in the compensation state, the program segment without movement (M instruction, delay instruction, etc.) cannot be specified in more than 2 consecutive program segments, otherwise it will be over cut or under cut

5) G00, G01 and other commands with a moving distance of 0 shall not be specified in the compensation start section or compensation state

6) in the G40 tool tip arc radius compensation cancellation section, there must be displacement in both X and Z axes at the same time

the tool compensation amount is set by the operator in the tool compensation register with the "tool compensation value" function key on the crt/mdi panel, which corresponds to a total of five tool compensation numbers, There is a set of tool compensation values: tool tip arc radius R and tool tip position number t

%1047n1 G92 X60 z40

n2 t0101n3 G90 G01 G42 x30 Z37 F300 m03

n4 z25n5 G02 X46 z17 18

n6 G01 x50

n7 z0

n8 x54

n9 G00 G40 X60 Z40 t0100

.

n10 m05

n11 M30

Copyright © 2011 JIN SHI