In recent years, the advantage of being able to continuously process a pentahedron after one-stage conversion machining center is installed once has been welcomed by many users. Our factory has successively developed a machining center that can automatically perform vertical and horizontal conversions and a manually-converted CNC tool milling machine. This kind of machine tool (including five-sided gantry machining machine) has changed the machine coordinate system due to the vertical and horizontal conversion, which brings some problems to the actual programming. The most important one is the retracting of the tool tip in the fine boring processing (G76, G87). The problem.

1
figure 1

1
(a)

1
(b)

Fig. 2 XH7910 Vertical and Horizontal Machining Centers Before leaving the factory, the coordinates of the machine tool are specified as horizontal (Fig. 1). Since the FANUC 0MC system is used in the machine tool, there is no coordinate conversion function in the control software. Therefore, after the machine tool is turned to vertical, the tool feed must be changed from the Z axis to the Y axis. When the machine tool performs G76 and G87 boring machining, according to the machining cycle pattern (Fig. 2), there is a spindle orientation and retract action. Since the machine tool must be horizontal during automatic tool change, the spindle orientation position has been adjusted to be parallel to the X axis, so the orientation position does not change before and after the machine is changed, and the retraction direction depends on the CNC-specified machining plane (G17, G18, G19). The retraction direction is set in the CNCP 0002 parameter (see attached table). Parameter 0002 setting table PMXY2 PMXY1 G17 G18 G19 0 0 +X +Z +Y 0 1 -X -Z -Y 1 0 +Y +X +Z 1 1 -Y -X -Z Machine PMXY2 and PMXY1 are set before shipment Is 0. In horizontal machining, execute the command G17G76(G87)X_Y_R_Q_P_F_K_: The Z axis is the hole machining feed direction, and the machining plane is XY (G17). The direction of retraction in the G17 plane is shown in Figure 3a. The machine tool can operate normally. When the machine tool is turned to vertical machining, execute the command G18G76(G87)X_Y_R_Q_P_F_K_: The hole machining direction is changed to the Y-axis feed, and the machining plane is XZ(G18). According to the setting of PMXY2 and PMXY1 before leaving the factory, the tool retraction direction is +Z in G18 mode. Obviously, the tool tip will collide with the hole wall (Fig. 3b). From the above analysis, it can be seen that as long as the PMXY2=1 and PMXY1=2 parameters are set in the vertical machining, the retraction direction will be +X as in the horizontal machining, and the problem can be solved. The method of manually modifying the parameters after each conversion of the machine tool is too cumbersome, and it is also unable to exert the features of the automatic processing of the CNC machine tool. In this case, you can use the G10 (programmable data input) code of the CNC system to modify the values ​​of PMXY2 and PMXY1 so that the parameters can be changed automatically.

1
(a)

1
(b)

The specific programming in Figure 3 is as follows: Subroutine O9020: (Transition from vertical machining to horizontal machining) G10 L50: N0002 ××10××××P×× OO××××: G11: M72 M99: Subroutine O9021: (Converted from horizontal machining to vertical machining) G10 L50: N0002 P××OO××××P××10××××: G11: M71: M99:
Among them: G10 L50: Programmable parameter input mode G11: Cancel parameter input mode M71: Machine tool spindle head is converted from horizontal mode to vertical mode (Manual conversion machine can be omitted) M72: Machine tool spindle head is converted from vertical to horizontal (manual conversion The machine can be omitted.) × indicates that the original parameter value remains unchanged. In order to make it easy to call in practice, you can set the value of parameter P0220 to 74 and the value of P0221 to 73. In this way, you can directly command M73 (call subroutine O9020) and M74 (call subroutine O9021) in the machining program. Observe the following points: The FXY bit must be set to 1 in parameter P0057, otherwise the hole machining will always be the Z axis feed: Set TLCD in parameter P0019 to 1 and select tool length compensation C: Other hole machining besides rigid tapping Fixed cycles can be achieved by plane specification. In the five-faced gantry machine, refer to this method to compile the corresponding subroutine.

Machinery And Equipment Parts

Machinery And Equipment Parts,Metal Pipe Clips,Metal Tube Clamp,Clamp Metal

Ningbo Metal Sharing Supply Chain Management Co., Ltd , https://www.metalsharing.com