Tool radius compensation works

1, the tool radius compensation work process

The tool radius compensation execution process can generally be divided into three steps, as shown in Figure 1:
• Tool offset creation The tool approaches the workpiece from the tool starting point and offsets the tool radius (left-hand line in Figure 1) by one tool radius (G41) or right (G42) based on the original programmed path. Parts cannot be machined during this process.
• Tool compensation always distances the tool center path (dotted line in Fig. 1) and the programmed path (solid line in Fig. 1) from the tool radius.
• Cutter Compensation Unloads the tool from the workpiece so that the end point of the tool center path coincides with the end point of the programmed path (eg, the starting point) (the thick dotted line in Fig. 1). It is the reverse process of tool compensation. Also, part processing cannot be performed during this process.

2, C function tool radius compensation transfer mode and transition mode · transfer mode C function due to tool compensation using a straight line transition, so in the actual processing process, with the front and rear two sections of the programming line of the different line shape, the corresponding tool center The trajectory also has different transfer forms. In the CNC device, there are two functions of arc and linear interpolation. The following four transfer forms are available for the programmed trajectory consisting of these two types of lines:
1 Straight line and straight line transfer; 2 Line and garden arc transfer; 3 Park arc and straight line transfer; 4 Park arc and garden arc transfer.
· Transition mode In order to discuss the transition mode of C function tool radius compensation, it is necessary to explain the meaning of the vector angle. The vector angle α refers to the angle α between the two programmed tracks on the non-machining side at the intersection, as shown in Fig. 2 .

According to the difference between the vector angle α and the tool compensation direction of the two programming tracks, the transition mode between the tool center trajectory from one programming section to another is the following:
· Shortened transfer: vector angle α≥180o
Tool center trajectory is shorter than the program trajectory transition mode;
· Elongation transfer: vector angle 90o≤α<180o
The tool center track is longer than the transition path of the programming track;
· Plug-in type transfer: vector angle α<90o
Insert a straight transition between the two tool center trajectories.

3, the tool center trajectory transfer mode and transition mode list

Tool radius compensation function in the implementation process, a variety of transfer mode and transition mode, as shown in Table 1, Table 2. The solid line in the table indicates the programmed trajectory; the dotted line indicates the tool center trajectory; α is the vector angle; r is the tool radius; In the table, the right tool compensation (G42) is used as an example. The case of the left tool compensation (G41) is similar to the right tool compensation and will not be repeated.

4、Example of tool radius compensation

The following is an example to illustrate the working process of tool radius compensation. The processing steps for the CNC system to complete the programmed path from point O to point E are as follows:
1 Read OA to determine if tool compensation is established and continue reading the next paragraph.
2 Read AB, because ∠OAB<90o and right tool offset (G42). The table 1 at the right shows that the transitional mode of transition is insert type. Then, the coordinate values ​​of a, b, and c are calculated, and the straight line segments oa, ab, and bc are output for the interpolation program to run.
3 Reading in BC, because ∠ABC<90o, similarly, as shown in Table 2, the transitional mode of transition between segments is also insert type. Then, the coordinate values ​​of points d and e are calculated, and the straight line segments cd and de are output.
4 Read the CD, because ∠BCD>180o, from Table 2 shows that the transition between the transition between the paragraph is shortened. The coordinate value of f point is calculated. Since it is the inner processing, overcutting discrimination must be performed (the principle and method of overcutting discrimination will be described later). If overcutting occurs, the alarm is issued and the output is stopped. Otherwise, the straight line segment ef is output.
5 Read DE (assuming the G40 command to cancel the tool compensation), because 90o<∠ABC<180o, because it is a knife compensation cancellation section, from Table 2 we can see that the transitional mode of transition between the sections is an extension type. Then calculate the coordinate values ​​of the g and h points, and then output the straight line segments fg, gh, and hE.
6 Tool radius compensation processing ends.

Weapon Castings

Weapon Castings,Customization Replica Weapon Castings,Pocket Weapon Decoration,Pocket Weapon For Decoration

Jiangsu Minnuo Group Co.,Ltd , https://www.cnmn-group.com