A method for achieving simultaneous movement of the drill bit change and XY axis on a drilling and tapping machine
By modifying the controller program of the drilling and tapping machine, the tool changing action was made synchronized with the XY axis, which optimized the tool changing action of the drilling and tapping machine, solved the problems of unsmooth and time-consuming tool changing, and improved the processing efficiency.
Patent Information
- Application Number
- CN202310284639.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-03-22
- Publication Date
- 2026-03-06
- Estimated Expiration
- 2043-03-22
AI Technical Summary
The tool changing action of the drilling and tapping machine is not smooth enough and takes a long time, which affects the processing efficiency.
By modifying the tool changing macro program and the call mode parameters during tool selection in the controller of the drilling rig, the tool changing action is synchronized with the XY axis, thus optimizing the coordinated action between tool changing and the XY axis.
It improves the smoothness of tool changing and processing efficiency, reduces tool changing time, and enhances the overall processing efficiency of the drilling and tapping machine.
Abstract
Description
Technical Field
[0001] This invention relates to the field of CNC drilling and tapping machine tools, and in particular to a method for realizing the synchronous movement of the XY axis when changing tools on a drilling and tapping machine. Background Technology
[0002] CNC drilling and tapping machine tools, also known as drilling and tapping machines, are equipment used to perform drilling, tapping, grooving, and milling on metal materials. In various metal product processing operations, the processing efficiency requirements for drilling and tapping machines are generally quite high.
[0003] During the operation of a drilling and tapping machine, tool changes are frequently required. The tool change process of a drilling and tapping machine generally includes the following steps:
[0004] 1. Raise the Z-axis to move the tool to a safe point;
[0005] 2. The cutter head rotates to change the cutter;
[0006] 3. The Z-axis descends to complete the tool change action;
[0007] 4. Continue machining by moving along the X and Y axes.
[0008] In the aforementioned tool changing action, on the one hand, the tool changing and subsequent processing actions are not smooth enough and have a poor visual appearance; on the other hand, the tool changing action takes a long time, thus affecting the processing efficiency of the drilling and tapping machine. Summary of the Invention
[0009] To address the aforementioned problems, this invention provides a method for achieving simultaneous movement of the drill bit changer and the XY axis on a drilling and tapping machine.
[0010] According to one aspect of the present invention, a method for realizing the synchronous movement of the drill bit change and the XY axis of a drilling and tapping machine is provided, comprising the following steps:
[0011] 1) Modify the tool change macro program in the controller;
[0012] 2) Modify the tool selection call mode parameter in the controller parameters to macro mode;
[0013] 3) Import the modified data into the controller;
[0014] 4) Perform machining to achieve tool changing and simultaneous movement of the XY axis.
[0015] In some implementations, the tool change macro in step 1) is T0000. Its advantage lies in describing the name of the tool change macro.
[0016] In some implementations, in step 1), the single section within the tool change macro program that moves the Z-axis to a safe point is added as an argument. The advantage of this is that it describes the modifications made to the tool change macro program.
[0017] In some implementations, the added arguments are X and Y, and their respective variables. The advantage is that the content of the added arguments is described.
[0018] In some implementations, the variable corresponding to X is #24, and the variable corresponding to Y is #25. The advantage is that it further describes the variables corresponding to X and Y respectively.
[0019] In some implementations, in step 2), the tool selection call mode parameter is Pr3215. Its advantage lies in describing the name of the tool selection call mode parameter.
[0020] In some implementations, in step 2), Pr3215 is modified to be 2. Its advantage lies in describing a method for modifying the call mode parameters when selecting a tool.
[0021] In some implementations, the X and Y arguments can be substituted into the macro schema in step 2). The advantage of this is that it describes the functionality within the macro schema.
[0022] The present invention provides a method for achieving tool changing and XY axis synchronization in a drilling and tapping machine. By optimizing the action of the drilling and tapping machine when performing tool changing at the T-code, the tool changing action is synchronized with the XY axis. This not only ensures the smoothness and good appearance of the tool changing action, but also improves the speed of the tool changing action and the processing efficiency of the drilling and tapping machine. Detailed Implementation
[0023] The present invention will now be described in further detail.
[0024] In this method, the controller is processed by a core preprocessor. Its logic is as follows: when a T-code instruction is encountered during the operation of the machining program, unless a single section containing X and Y coordinates is collected, the machining program is merged into the same line for processing, thereby realizing the action of tool change and XY axis movement.
[0025] The processing steps of this method mainly include several steps, as described below.
[0026] The first step is to modify the tool change macro program in the controller.
[0027] The tool change macro program is T0000. When modifying it, you need to add arguments to the single section in the tool change macro program T0000 that moves the Z-axis to the safe point.
[0028] Table 1. Numbers and their corresponding strain numbers
[0029] arguments strain number arguments strain number arguments strain number A #1 J #5 T #20 B #2 K #6 U #21 C #3 L #12 V #22 D #7 M #13 W #23 E #8 P #16 X #24 F #9 Q #17 Y #25 H #11 R #18 Z #26 I #4 S #19 X1 GETARG(X1)
[0030] The introduced arguments are X and Y, and their respective variables. The arguments and their corresponding variables are shown in Table 1.
[0031] As shown in Table 1, the variable corresponding to X is #24, and the variable corresponding to Y is #25. Therefore, the arguments added in the single section of the tool change macro program T0000 when the Z-axis moves to the safe point are X#24 and Y#25. For example, a statement after adding the arguments is as follows:
[0032] G91 G01 Z(#103-#102)X#24Y#25F#106.
[0033] The second step is to modify the tool selection call mode parameter in the controller parameters.
[0034] The modified tool selection call mode parameter is Pr3215. The range of this parameter is 0 to 2, and the initial value is 0. It will take effect after restarting the machine.
[0035] The parameter Pr3215 is used to set the T Code call logic, and the meanings of its values are as follows.
[0036] Pr3215 = 0: This is used as a T-code auxiliary code, indicating that T0000 is not called;
[0037] Pr3215 = 1: This indicates that T0000 is called via a subroutine without reading any arguments. For example, when Pr3215 = 1, the program content is:
[0038] T01 M03 S1000
[0039] The effect is that the machine will perform a tool change, and then the spindle will rotate forward.
[0040] Pr3215 = 2: This indicates that T0000 is called via a macro program, and the occupied argument can be read. For example, when Pr3215 = 2, the program content is:
[0041] T01 M03 S1000
[0042] The effect is as follows: if the corresponding variables (such as #13 and #19) are used in T0000, the corresponding lead codes (i.e. M code and S code) will become ineffective, and the machine will only perform tool change.
[0043] In this step, Pr3215 is modified to 2 to make it a macro mode, and in this mode, X and Y arguments can be substituted.
[0044] The third step is to import the modified data and other information into the controller.
[0045] Finally, machining is performed, which enables tool changing and simultaneous movement of the XY axis.
[0046] Specifically, after the above modifications, the tool changing action of the drilling and tapping machine will be modified to the following steps:
[0047] 1. Raise the Z-axis to move the tool to a safe point, while simultaneously moving the X and Y axes;
[0048] 2. Then the cutter head rotates to change the cutter;
[0049] 3. When the Z-axis descent completes the tool change, the XY-axis movement is also completed simultaneously.
[0050] In summary, the method for achieving tool changing and XY axis synchronization in a drilling and tapping machine according to the present invention optimizes the action of the drilling and tapping machine when performing tool changing at the T-code, and synchronizes the tool changing action with the XY axis. This not only ensures the smoothness and good appearance of the tool changing action of the drilling and tapping machine, but also improves the speed of the tool changing action and the processing efficiency of the drilling and tapping machine.
[0051] The above descriptions are merely some embodiments of the present invention. Those skilled in the art can make various modifications and improvements without departing from the inventive concept of the present invention, and these all fall within the scope of protection of the present invention.
Claims
1. A method for enabling simultaneous tool change and XY axis movement of a drilling and tapping machine, the method comprising: The method comprises the following steps 1) modifying the tool changing macro program in the controller, adding a single node in the tool changing macro program to move the Z axis to a safe point, and adding an argument for the single node, wherein the argument is X and Y and the corresponding variable respectively; 2) modifying the controller parameter Pr3215=2, so that the calling mode parameter is a macro mode when selecting a tool, and the macro mode can bring the upper X and Y arguments; 3) integrating the modified data into the controller; 4) processing to realize the action of tool changing and XY axis movement.
2. The method of claim 1, wherein the tool change and the XY axis movement are performed simultaneously. In step 1), the tool changing macro program is T0000.
3. The method of claim 1, wherein the tool change and the XY axis movement are performed simultaneously. The variable corresponding to X is #24, and the variable corresponding to Y is #25.
Citation Information
Patent Citations
Mobile phone computer, operating system, input device and application of mobile phone computer, operating system and input device
CN104133527A
Numerical controller and control method
CN115552343A