A method for realizing manual knife connection
By adding the M01 selective pause command and trial cutting program to the post-processing file of the five-axis machine tool, the problem of insufficient accuracy in automated processing of the existing five-axis machine tool is solved, and the surface quality of the workpiece is improved and the stability of automated processing is achieved. .
Patent Information
- Application Number
- CN202211239402.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-10-11
- Publication Date
- 2025-01-21
- Estimated Expiration
- 2042-10-11
AI Technical Summary
During the automated processing of existing three-axis and five-axis machine tools, the accuracy of the workpiece cannot be guaranteed, and the surface quality of the workpiece cannot be completed under large processing errors, and manual intervention is required to connect the tool.
By adding a judgment value to the post-processing file, the M01 selective pause command is automatically added where the tool needs to be connected. The programmer adds a trial cutting program where the tool needs to be connected, and uses the M01 function of the five-axis machine tool to automatically pause and prompt the operation. Personnel manually pick up the knife.
During the five-axis automated machining process, it is ensured that the program is smooth and smooth at the joints, improving the accuracy and processing efficiency of the workpiece, and avoiding automated processing failures caused by insufficient machine tool accuracy.
Smart Images

Figure CN115685889B_ABST
Abstract
Description
Technical Field
[0001] The invention relates to the technical field of automated processing, in particular to a method for realizing manual tool connection. Background Art
[0002] At present, the accuracy of existing three-axis machine tools on the market cannot meet the requirements of automated processing, and even the accuracy of existing five-axis machine tools on the market cannot meet the requirements of automated processing. During the angling processing of five-axis machine tools, the processing error often fails to meet the requirements of the workpiece, especially for old five-axis machine tools. The angling processing error of five-axis machine tools is too large to meet the accuracy requirements of existing workpieces. At this time, manual cutting is required to ensure that the surface of the processed workpiece is flat and smooth.
[0003] Obviously, existing machine tools generally have the following three defects:
[0004] 1. The surface quality of the machined workpiece depends entirely on the accuracy of the machine tool. It is difficult to ensure the surface quality of the workpiece in the field of automated processing.
[0005] 2. When the machine tool accuracy cannot meet the requirements during the automated processing, the automated processing cannot be completed in the finishing program and human participation is required, that is, the automation cannot proceed normally;
[0006] 3. During the automated processing, machine tool errors cause the program to have steps at the joints, which in turn leads to problems with uneven tool connection, requiring manual tool connection. Summary of the invention
[0007] The present invention aims to solve at least one of the technical problems existing in the prior art.
[0008] To this end, the present invention proposes a method for realizing manual tool connection, which ensures that the process is smooth and flat at the joint, improves the accuracy of the workpiece, and thus meets the processing requirements of smooth workpiece surface.
[0009] The method for implementing manual tool connection according to an embodiment of the present invention is applicable to a five-axis automated machining process, and specifically includes the following steps:
[0010] Step 1: Optimize the post-processing file, add the judgment value in the post-processing file, and when the finishing strategy is read, automatically add the M01 instruction before the program in the post-processing program;
[0011] Step 2: The programmer performs normal programming. When encountering a program that requires manual tool connection, the programmer adds a corresponding finishing strategy tool connection program in front of the program.
[0012] Step 3: Turn on the M01 function of the five-axis machine tool and execute the automation program;
[0013] Step 4: When the five-axis machine tool encounters the M01 instruction during program processing, the five-axis machine tool will automatically pause and prompt the operator to manually pick up the tool. After the tool is picked up, click Start to continue executing the subsequent program.
[0014] The beneficial effect of the present invention is that the present invention overcomes the problem that automatic processing cannot be performed during fine processing due to machine tool accuracy problems. The present invention utilizes the selective pause function of the machine tool, and the programming engineer outputs a trial cutting program before the program that requires tool connection. During the automated processing, the trial cutting program prompts the operator to connect the tool where it is needed, thereby eliminating the waiting time for subsequent programs and repeatedly utilizing the trial cutting program, thereby having a high degree of automation and improving workpiece processing efficiency.
[0015] According to one embodiment of the present invention, in the first step, the finishing strategy is a surface finishing strategy.
[0016] According to one embodiment of the present invention, in the second step, a trial cutting program is added to the places where the cutting tool needs to be connected, and the trial cutting program uses the strategy defined in the post-processing of the first step.
[0017] According to one embodiment of the present invention, the five axes include an X-axis, a Y-axis, a Z-axis, a B-axis and a C-axis, the B-axis rotates around the X-axis, and the C-axis rotates around the Z-axis.
[0018] According to one embodiment of the present invention, the program is a g-code file that can be accepted by a five-axis machine tool and is converted into a g-code file by using a post-processing file in the powermill software.
[0019] Other features and advantages of the present invention will be described in the following description, and partly become apparent from the description, or understood by practicing the present invention. The purpose and other advantages of the present invention are realized and obtained by the structures particularly pointed out in the description, claims and drawings.
[0020] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, preferred embodiments are given below and described in detail with reference to the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0021] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in this application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0022] Figure 1By adding judgment values in the post-processing file, M01 instructions are added where alignment is required;
[0023] Figure 2 It is the workpiece being processed;
[0024] Figure 3 It is the program sorting of programming;
[0025] Figure 4 The five-axis machine tool opens the M01 command interface;
[0026] Figure 5 Add M01 NC program file at the tool joint;
[0027] Figure 6 This is the flow chart of the five-axis machine tool reading the g-code;
[0028] Figure 7 This is a schematic diagram showing the M01 command appearing after the finishing strategy is read. DETAILED DESCRIPTION
[0029] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0030] The following describes in detail the method for implementing manual knife connection according to an embodiment of the present invention with reference to the accompanying drawings.
[0031] A method for realizing manual tool connection is applicable to a five-axis automated machining process, and specifically comprises the following steps:
[0032] Step 1: First, optimize the post-processing file and add a judgment value to the post-processing file. When the finishing strategy is read (other strategies can also be used), the M01 instruction is automatically added before the program during the post-processing process. That is, when the finishing strategy is encountered during the post-processing process, the M01 instruction is output.
[0033] Among them, the M01 instruction is an instruction based on the five-axis machine tool. Specifically, the M01 instruction refers to a selective pause command. The five-axis machine tool is a machine tool that reads G codes and can read M instructions and G instructions.
[0034] The post-processing file is a logic file. The post-processing program is developed based on powermill. The following logic is required in the present invention.
[0035] %p(Toolpath Cutting Strategy)%=="Surface_machine"
[0036] M01
[0037] The finishing strategy is any one of the following: surface finishing strategy, 3D offset finishing strategy, equal height finishing strategy, corner cleaning finishing strategy, multi-pen corner cleaning finishing strategy, pen-type corner cleaning finishing strategy, disk contour finishing strategy, inlaid reference line finishing strategy, streamline finishing strategy, offset flat surface finishing strategy, optimal equal height finishing strategy, parameter offset finishing strategy, parameter spiral finishing strategy, reference line finishing strategy, contour finishing strategy, curve projection finishing strategy, straight line projection finishing strategy, plane projection finishing strategy, point projection finishing strategy, surface projection finishing strategy, radial finishing strategy, parallel finishing strategy, parallel flat surface finishing strategy, rotational finishing strategy, spiral finishing strategy, steep and shallow finishing strategy, SWARF finishing strategy, wireframe contour finishing strategy and wireframe SWARF finishing strategy.
[0038] Step 2: The programmer programs normally. When encountering a program that requires manual cutting, the programmer adds a corresponding finishing strategy to the front of the program. That is, when programming, a trial cutting program is added to the place where manual cutting is required (the trial cutting program must use the finishing strategy defined in the post-processing in step 1);
[0039] Step 3: Turn on the M01 function of the five-axis machine tool and execute the automation program, that is, turn on the M01 command through the five-axis machine tool control panel.
[0040] The five axes include an X axis, a Y axis, a Z axis, a B axis, and a C axis, wherein the B axis rotates around the X axis, and the C axis rotates around the Z axis. The plane where the X axis and the Y axis are located is set as the first plane, the plane where the Y axis and the Z axis are located is set as the second plane, the plane where the B axis is located is set as the third plane, and the plane where the C axis is located is set as the fourth plane, then the first plane is arranged in parallel with the fourth plane, and the second plane is arranged in parallel with the third plane.
[0041] Step 4: When the five-axis machine tool encounters the M01 instruction during program processing, the five-axis machine tool will automatically pause and notify the workshop operator that manual tool pick-up is required. After the tool pick-up is completed, click Start to continue executing the subsequent program.
[0042] The program is to program the G-code file in the PowerMill software that can be accepted by the five-axis machine tool. The post-processing file can be used to convert the program file in the PowerMill software into a G-code file.
[0043] Among them, the g code file is the tool connection program. The g code file can only be read by the machine tool. The specific content of the g code file is as follows:
[0044] N1(NC FILE:ss5)
[0045] N2(DATE:09.09.22&TIME:10:24:46)
[0046] N3(PMPost VERSION:6.6.3444.0)
[0047] N4(MACHINE TOOL:FIDIA&MODEL:FIDIA D318)
[0048] N5(CONTROLLER:Fidia&SERIES:FIDIA C20)
[0049] N6(OPTION FILE:Fidia_D318-20210423-2014V1)
[0050] N7(OUTPUT WP:post)
[0051] N8(UNITS USED:MM)
[0052] N9 G17 Q1
[0053] N10 G96 (RTCP ON)
[0054] N11(TOOL TYPE:BALLNOSED)
[0055] N12(T=B6R3-L12-H26)
[0056] N13(TOOL DIA.:6; TIP RAD.:3&LENGTH:178)
[0057] N14 M06 T.01
[0058] N15 T.02
[0059] N16 M57
[0060] N17 S13000 M03
[0061] N18(========================)
[0062] N19(TOOLPATH:a1)
[0063] N20(STRATEGY USED:Constantz)
[0064] N21(TOOLPATH WP:post)
[0065] N22 G96(RTCP ON)
[0066] N23 S13000 M03
[0067] N24 G00 B0.C0.M12
[0068] N25 X-491.200 Y79.393 F8000
[0069] N26 Z20.
[0070] N27 Z-3.795 F8000
[0071] N28 G01 Z-8.795 F2100
[0072] N29 Y98.199 F3500
[0073] N30 Y98.198 Z-9.095
[0074] N31 Y79.394
[0075] N32 Y79.395 Z-9.395
[0076] N33 Y98.198
[0077] N34 Z-9.695
[0078] N35 Y79.396
[0079] N36 Z-9.995
[0080] N37 Y98.197
[0081] N38 Z-10.295
[0082] N39 Y79.397
[0083] N40 Y79.398 Z-10.594
[0084] N41 Y98.196
[0085] N42 Z-10.894
[0086] N43 Y79.399
[0087] N44 G00 Z20.F8000
[0088] N45 X-241.384 Y25.347 F8000
[0089] N46 Z-5.295 F8000
[0090] N47 G01 Z-10.295 F2100
[0091] N48 X-199.165 F3500
[0092] N49 Z-10.594
[0093] N50 X-241.383
[0094] N51 Z-10.894
[0095] N52 X-199.165
[0096] N53 Z-11.194
[0097] N54 X-241.383
[0098] N55 Z-11.494
[0099] N56 X-199.165
[0100] N57 Z-11.794
[0101] N58 X-241.383
[0102] N59 G00 Z20.F8000
[0103] N60 X491.200 Y99.227 F8000
[0104] N61 Z-4.995 F8000
[0105] N62 G01 Z-9.995 F2100
[0106] N63 Y85.470 F3500
[0107] N64 Z-10.295
[0108] N65 Y99.228
[0109] N66 Z-10.594
[0110] N67 Y85.470
[0111] N68 Z-10.894
[0112] N69 Y99.228
[0113] N70 Y99.229 Z-11.194
[0114] N71 Y85.470
[0115] N72 G00 Z20.F8000
[0116] N73 G0 B0.C0.M12
[0117] N74(TOOL TYPE:BALLNOSED)
[0118] N75((T=B6R3-L12-H26)
[0119] N76(TOOL DIA.:6;TIP RAD.:3&LENGTH:178)
[0120] N77 M06 T.02
[0121] N78 M57
[0122] N79 S13000 M03
[0123] N80 G96(RTCP ON)
[0124] N81(=======================)
[0125] N82(TOOLPATH:a2)
[0126] N83(STRATEGY USED:Surface_machine)
[0127] N84(TOOLPATH WP:post)
[0128] N85 G96(RTCP ON)
[0129] N86 S13000 M03
[0130] N87 M01
[0131] N88 B0.C0.M12
[0132] N89 X-243.727 Y88.730
[0133] N90 Z20.
[0134] N91 Z-57.988 F8000
[0135] N92 G01 Z-58.988 F2100
[0136] N93 F3500
[0137] N94 X-243,694 Z-58,997
[0138] N95 X-243.659 Z-59.
[0139] N96 X-237,778
[0140] N97 X-237,743 Z-58,997
[0141] N98 X-237,710 Z-58,988
[0142] N99 X-237,693 Y88,879
[0143] N100 X-237,726 Z-58,997
[0144] N101 X-237.761 Z-59.
[0145] N102 X-243,676
[0146] N103 X-243.711 Z-58.997
[0147] N104 X-243.745 Z-58.988
[0148] N105 X-243,757 Y89,029
[0149] N106 X-243.724 Z-58.997
[0150] N107 X-243.689 Z-59.
[0151] N108 X-237,748
[0152] N109 X-237,714 Z-58,997
[0153] N110 X-237,680 Z-58,988
[0154] N111 X-237,667 Y89,179
[0155] N112 X-237,701 Z-58,997
[0156] N113 X-237.736 Z-59.
[0157] N114 X-243.702
[0158] N115 X-243.736 Z-58.997
[0159] N116 X-243.770 Z-58.988
[0160] N117 X-243.782 Y89.329
[0161] N118 X-243.748 Z-58.997
[0162] N119 X-243.714 Z-59.
[0163] N120 X-237.723
[0164] N121 X-237.689 Z-58.997
[0165] N122 X-237.655 Z-58.988
[0166] N123 X-237.668 Y89.479
[0167] N124 X-237.701 Z-58.997
[0168] N125 X-237.736 Z-59.
[0169] N126 X-243.701
[0170] N127 X-243.736 Z-58.997
[0171] N128 X-243.769 Z-58.988
[0172] N129 X-243.757 Y89.629
[0173] N130 X-243.723 Z-58.997
[0174] N131 X-243.688 Z-59.
[0175] N132 X-237.749
[0176] N133 X-237.714 Z-58.997
[0177] N134 X-237.680 Z-58.988
[0178] N135 X-237.693 Y89.779
[0179] N136 X-237.727 Z-58.997
[0180] N137 X-237.762 Z-59.
[0181] N138 X-243.676
[0182] N139 X-243.710 Z-58.997
[0183] N140 X-243.744 Z-58.988
[0184] N141 G00 Z20.F8000
[0185] N142(=======================)
[0186] N143(TOOLPATH:a3)
[0187] N144(STRATEGY USED:Raster)
[0188] N145(TOOLPATH WP:post)
[0189] N146 G96(RTCP ON)
[0190] N147 S13000 M03
[0191] N148 X-243.573 Y90.222 F8000
[0192] N149 Z-54.F8000
[0193] N150 G01 Z-59.F2100
[0194] N151 X-243.687 Y89.002 F3500
[0195] N152 X-243.585 Y88.478
[0196] N153 X-243.381 Y90.666
[0197] N154 X-243.199 Y90.994
[0198] N155 X-243.463 Y88.169
[0199] N156 X-243.338 Y87.893
[0200] N157 X-243.028 Y91.213
[0201] N158 X-242.861 Y91.391
[0202] N159 X-243.208 Y87.677
[0203] N160 X-243.074 Y87.496
[0204] N161 X-242.695 Y91.555
[0205] N162 X-242.533 Y91.680
[0206] N163 X-242.938 Y87.335
[0207] N164 X-242.800 Y87.199
[0208] N165 X-242.371 Y91.801
[0209] N166 X-242.208 Y91.928
[0210] N167 X-242.662 Y87.066
[0211] N168 X-242.522 Y86.955
[0212] N169 X-242.051 Y92.003
[0213] N170 X-241.894 Y92.070
[0214] N171 X-242.381 Y86.850
[0215] N172 X-242.239 Y86.754
[0216] N173 X-241.737 Y92.137
[0217] N174 X-241.581 Y92.187
[0218] N175 X-242.096 Y86.678
[0219] N176 X-241.951 Y86.614
[0220] N177 X-241.427 Y92.232
[0221] N178 X-241.272 Y92.272
[0222] N179 X-241.806 Y86.549
[0223] N180 X-241.661 Y86.490
[0224] N181 X-241.120 Y92.291
[0225] N182 X-240.968 Y92.303
[0226] N183 X-241.514 Y86.451
[0227] N184 X-241.367 Y86.412
[0228] N185 X-240.816 Y92.315
[0229] N186 X-240.665 Y92.318
[0230] N187 X-241.220 Y86.377
[0231] N188 X-241.071 Y86.362
[0232] N189 X-240.516 Y92.307
[0233] N190 X-240.366 Y92.295
[0234] N191 X-240.921 Y86.348
[0235] N192 X-240.772 Y86.333
[0236] N193 X-240.217 Y92.282
[0237] N194 X-240.069 Y92.248
[0238] N195 X-240.621 Y86.338
[0239] N196 X-240.469 Y86.352
[0240] N197 X-239.922 Y92.206
[0241] N198 X-239.776 Y92.164
[0242] N199 X-240.317 Y86.367
[0243] N200 X-240.164 Y86.387
[0244] N201 X-239.630 Y92.107
[0245] N202 X-239.486 Y92.045
[0246] N203 X-240.010 Y86.428
[0247] N204 X-239.855 Y86.469
[0248] N205 X-239.341 Y91.983
[0249] N206 X-239.197 Y91.903
[0250] N207 X-239.700 Y86.518
[0251] N208 X-239.543 Y86.587
[0252] N209 X-239.057 Y91.794
[0253] N210 X-238.916 Y91.688
[0254] N211 X-239.386 Y86.657
[0255] N212 X-239.228 Y86.732
[0256] N213 X-238.775 Y91.584
[0257] N214 X-238.637 Y91.451
[0258] N215 X-239.067 Y86.842
[0259] N216 X-238.905 Y86.963
[0260] N217 X-238.499 Y91.314
[0261] N218 X-238.363 Y91.158
[0262] N219 X-238.742 Y87.095
[0263] N220 X-238.576 Y87.258
[0264] N221 X-238.229 Y90.979
[0265] N222 X-238.099 Y90.758
[0266] N223 X-238.409 Y87.438
[0267] N224 X-238.237 Y87.665
[0268] N225 X-237.974 Y90.486
[0269] N226 X-237.852 Y90.180
[0270] N227 X-238.056 Y87.987
[0271] N228 X-237.863 Y88.443
[0272] N229 X-237.751 Y89.649
[0273] N230 G00 Z20.F8000
[0274] N231 M05
[0275] N232 G96 (RTCP ON)
[0276] N233 M02
[0277] See Figure 1 , which means adding the judgment value through the post-processing file and adding the M01 instruction where it needs to be aligned. That is to say, Figure 1 Indicates that the parameters that need to be edited are displayed after the post-processing file is opened.
[0278] When the finishing strategy is the surface finishing strategy, the programmer adds the position where the tool needs to be connected to the surface finishing strategy, and then converts it into a g-code file through the post-processing program. The M01 instruction will appear in the g-code file. When the five-axis machine tool reads the M01 instruction, it will prompt the operator to connect the tool.
[0279] Figure 6 In the automation process, CNC machine tools are operated by reading g-code. Since there will be errors in the B-axis and C-axis swing angles of the five-axis machine tool, manual intervention is required. When manual intervention is required is controlled by the programmer. The programmer adds the M01 selective pause command at the location where intervention is required and the machine tool can read the g-code file. The g-code file is converted by the post-processing program and cannot be directly controlled by the programmer.
[0280] See Figure 7 , showing if(%p(Toolpath Cutting Strategy)%==“Surface_machine“), Block Number and 'M01', where the programming code "Surface_machine" means that if the surface finishing strategy is read, the M01 instruction will be generated in the g code.
[0281] The above description is only a preferred specific implementation manner of the present invention, but the protection scope of the present invention is not limited thereto. Any technician familiar with the technical field can make equivalent replacements or changes according to the technical scheme and inventive concept of the present invention within the technical scope disclosed by the present invention, which should be covered by the protection scope of the present invention.
Claims
1. A method for realizing manual knife connection, characterized in that: Applicable to the five-axis automated machining process, specifically including the following steps: Step 1: Optimize the post-processing file, add the judgment value in the post-processing file, and when the finishing strategy is read, automatically add the M01 instruction before the program in the post-processing program; Step 2: The programmer performs normal programming. When encountering a program that requires manual tool connection, the programmer adds a corresponding finishing strategy tool connection program in front of the program. Step 3: Turn on the M01 function of the five-axis machine tool and execute the automation program; Step 4: When the five-axis machine tool encounters the M01 instruction during program processing, the five-axis machine tool will automatically pause and prompt the operator to manually pick up the tool. After the tool is picked up, click Start to continue executing the subsequent program.
2. A method for realizing manual knife connection according to claim 1, characterized in that: In the first step, the finishing strategy is a surface finishing strategy.
3. A method for realizing manual knife connection according to claim 1, characterized in that: In the second step, a trial cutting program should be added where the cutting needs to be done, and the trial cutting program should use the strategy defined in the post-processing of the first step.
4. A method for realizing manual knife connection according to claim 1, characterized in that: The five axes include an X-axis, a Y-axis, a Z-axis, a B-axis, and a C-axis. The B-axis rotates around the X-axis, and the C-axis rotates around the Z-axis.
5. The method for realizing manual knife connection according to claim 1, characterized in that: The program is to program a g-code file that can be accepted by a five-axis machine tool in the powermill software, and convert the program file in the powermill software into a g-code file using a post-processing file.
Citation Information
Patent Citations
Blade five-axis machining programming processing method and device
CN105242638A
Shrouded impeller machining gear mark control method based on online measurement
CN109062136A