NC Program Conversion Processing Method, Conversion Computer, and Recording Medium
By determining the workpiece machining method and determining the 1-direction or 2-direction correction method, the problem of inappropriate NC program conversion in the prior art is solved, and the precise NC program conversion under changes in the workpiece machining method is realized, and the machining accuracy of the NC cutting machine is improved.
Patent Information
- Application Number
- CN202080096446.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Priority Date
- 2020-03-27
- Filing Date
- 2020-09-08
- Publication Date
- 2025-07-29
- Estimated Expiration
- 2040-09-08
AI Technical Summary
The prior art cannot convert the NC program appropriately, especially when the workpiece processing method changes, the two-direction correction cannot be performed, resulting in inappropriate conversion of the NC program.
By determining the processing method of the workpiece, determining the 1-direction or 2-direction correction method, and converting the conversion source NC program into the conversion target NC program, including the determination steps, the decision steps and the conversion steps, to realize the adaptive conversion of the NC program.
It realizes that the NC program can be appropriately converted regardless of the workpiece processing method, and improves the machining accuracy of the NC cutting machine.
Smart Images

Figure CN115136087B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to an NC program conversion processing method, a conversion computer, and a recording medium. The present invention claims the priority of Japanese Patent Application No. 2020-057557 filed on March 27, 2020. For the designated countries that allow the introduction of documents by reference, the content described in this application is introduced into the present application by reference. Background Art
[0002] In recent years, NC cutting machines such as machining centers that machine a workpiece (hereinafter referred to as a work) into a predetermined shape based on an NC (Numerical Control) program (hereinafter referred to as an NC program) have become widespread.
[0003] Regarding NC programs, for example, Patent Document 1 describes the following NC program conversion processing method: "Based on a plurality of program blocks in a source conversion NC program 146, a non-contact partial tool path, which is a path where the tool of the machine for executing the source conversion NC program does not contact the workpiece in the process corresponding to the program block, is determined, and a program block that uses only the non-contact partial tool path as the path, that is, a non-contact program block, is determined. A tool path correction amount in the radial direction of the tool in the machining process of the workpiece for one or more subsequent program blocks following the non-contact program block is determined, and before the subsequent program block, a program block including a description for correcting the path of the tool according to the tool path correction amount is generated."
[0004] Prior Art Documents
[0005] Patent Documents
[0006] Patent Document 1: Japanese Patent No. 6629410 Gazette Summary of the Invention
[0007] Problems to be Solved by the Invention
[0008] According to the NC program conversion processing method described in Patent Document 1, it is possible to convert an NC program adjusted to a first NC cutting machine for controlling the side machining of a workpiece into an NC program suitable for a second NC cutting machine using one-direction correction such as tool path correction.
[0009] However, depending on the machining method of the workpiece, two-direction correction is required when converting the NC program. Therefore, the NC program cannot be appropriately converted by the NC program conversion processing method described in Patent Document 1.
[0010] The present invention has been made in view of the above problems, and its object is to convert an NC program regardless of the machining method of the workpiece.
[0011] Means for Solving the Problems
[0012] This application includes multiple means for solving at least some of the above problems. If examples are listed, they are as follows.
[0013] To solve the above problems, a method for NC program conversion processing according to an aspect of the present invention is an NC program conversion processing method for converting a source NC program for controlling a first machining center into a target NC program for controlling a second machining center, characterized by including the following steps: a determination step of determining a machining method of a workpiece based on the source NC program; a decision step of determining a correction method as one-way correction or two-way correction according to the determined machining method of the workpiece; and a conversion step of converting the source NC program into the target NC program using the determined correction method.
[0014] Advantages of the Invention
[0015] According to the present invention, an NC program can be converted regardless of the machining method of the workpiece.
[0016] Through the following description of the embodiments, problems, structures, and effects other than the above become clear. Brief Description of the Drawings
[0017] Figure 1 Shows a structural example of a machining system according to an embodiment of the present invention.
[0018] Figure 2 Shows a structural example of a conversion computer.
[0019] Figure 3 Is a flowchart illustrating an example of conversion processing.
[0020] Figure 4 (A) and (B) of are an example of an NC program for controlling surface machining, Figure 4 (A) of represents a source NC program for conversion, Figure 4 (B) of represents a target NC program for conversion.
[0021] Figure 5 (A) and (B) of are an example of an NC program for controlling side machining, Figure 5 (A) of represents a source NC program for conversion, Figure 5 (B) of represents a target NC program for conversion.
[0022] Figure 6 For explaining a method of setting interpolation points in two-way correction. Detailed Description of the Invention
[0023] Hereinafter, an embodiment of the present invention will be described with reference to the drawings. In all the drawings used to illustrate the embodiment, the same reference numerals are generally assigned to the same components in principle, and repeated descriptions are omitted. In addition, in the following embodiments, the constituent elements (including element steps, etc.) are not necessarily essential unless otherwise specifically stated or clearly considered essential in principle. In addition, when it is described as "composed of A", "constituted by A", "having A", or "including A", unless otherwise specifically stated that it is only this element, other elements are of course not excluded. Similarly, in the following embodiments, when referring to the shape, positional relationship, etc. of the constituent elements, etc., unless otherwise specifically stated or clearly considered not to be the case in principle, shapes that are substantially similar or analogous to the shape, etc. are included.
[0024] (Structural example of a processing system according to an embodiment of the present invention)
[0025] Figure 1 A structural example of a processing system 1 according to an embodiment of the present invention is shown.
[0026] The processing system 1 includes a conversion computer 10, a plurality of NC machining tools 20, and a plurality of on-site computers 30.
[0027] The conversion computer 10 is arranged at location C. The NC machining tools 20 are respectively arranged at locations A and B. The on-site computers 30 are respectively arranged on the side of the NC machining tools 20, that is, at locations A and B.
[0028] However, the conversion computer 10 may also be arranged at location A or location B. In addition, for example, two sets of NC machining tools 20 and on-site computers 30 may be arranged at location A, etc., and multiple combinations of NC machining tools 20 and on-site computers 30 may be arranged at the same location. Hereinafter, when it is necessary to distinguish the NC machining tools 20 arranged at locations A and B, the NC machining tool 20 arranged at location A is referred to as the NC machining tool 20A, and the NC machining tool 20 arranged at location B is referred to as the NC machining tool 20B. The same applies to the on-site computers 30.
[0029] The conversion computer 10, the NC machining tools 20, and the on-site computers 30 are interconnected via a network 40. The network 40 is a two-way communication network such as the Internet or a mobile phone communication network.
[0030] The conversion computer 10 is composed of a general computer such as a personal computer equipped with a processor such as a CPU (Central Processing Unit), a storage device, a communication interface, an input device, a display device, etc. The conversion computer 10 executes a conversion process for converting an NC program (conversion source NC program) adjusted to be suitable for a certain NC cutting machine 20 into an NC program (conversion target NC program) suitable for another NC cutting machine 20.
[0031] Hereinafter, an example will be described in which a conversion source NC program adjusted to be suitable for the NC cutting machine 20A is converted into a conversion target NC program suitable for the NC cutting machine 20B. At this time, the NC cutting machine 20A corresponds to the first machining center of the present invention, and the NC cutting machine 20B corresponds to the second machining center of the present invention.
[0032] The NC cutting machine 20 is, for example, a machining center. The NC cutting machine 20 includes an NC controller 21, a main body portion 22, and a tool magazine 25.
[0033] The NC controller 21 controls the machining process of the workpiece W by the main body portion 22 and the tool change process of the tool change portion 26 according to the NC program.
[0034] The main body portion 22 executes the machining process of the workpiece W according to the control from the NC controller 21. The main body portion 22 has a processing head 23, a worktable 24, and a tool change portion 26. The processing head 23 can mount the tool TL and has a spindle capable of rotating the mounted tool TL. The workpiece W to be machined is placed on the worktable 24. The worktable 24 can move the placed workpiece W.
[0035] The tool magazine 25 has a plurality of slots 25a, 25b, 25c. The tools TL used in the machining process are stored in the respective slots 25a to 25c.
[0036] The tool change portion 26 executes a series of tool change processes of removing the tool TL mounted on the processing head 23 and storing it in an empty slot of the tool magazine 25, and also taking out the tool TL from the slot of the tool magazine 25 and mounting it on the processing head 23 according to the control from the NC controller 21.
[0037] In the present embodiment, the tool TL at least includes a face milling cutter for side machining or groove machining of the workpiece W and a ball nose end mill for surface machining of the workpiece W.
[0038] There is a limit to the number of tools TL that the tool library 25 can store (three in this embodiment). Sometimes, it may not be possible to store all the tools required for processing in the tool library 25 at the same time. In this case, prepare multiple tool sets 27 in advance, and replace the tool set stored in the tool library 25 according to the processing being performed, so as to handle various processing operations.
[0039] The on-site computer 30 is composed of a general computer such as a personal computer equipped with a processor such as a CPU, a storage device, a communication interface, an input device, a display device, etc. The on-site computer 30 is operated by an operator at the site such as a factory where the NC cutting machine 20 is installed. The on-site computer 30 performs display processing of the conversion input screen, etc., accepts the operator's operation input to the conversion input screen, downloads the NC program, etc. However, when the on-site computer 30 is used as the display of the conversion computer 10, it can also be used outside the installation site of the NC cutting machine 20. It is also possible to make the on-site computer 30 share a part or all of the conversion processing (described later) performed by the conversion computer 10.
[0040] Next, Figure 2 Shows a structural example of the conversion computer 10.
[0041] The conversion computer 10 includes a CPU 11, a communication interface (I / F) 12, a user interface 13, and a storage device 14.
[0042] The CPU 11 performs conversion processing by reading and executing the conversion program 141 stored in the storage device 14. In addition, the CPU 11 performs information acquisition processing by reading and executing the structure information acquisition program 142 stored in the storage device 14. Here, the information acquisition processing refers to the processing of acquiring information related to the NC cutting machine 20 via the NC controller 21.
[0043] The communication interface 12 is connected to the network 40 wirelessly or by wire, and communicates various information with the NC cutting machine 20 and the on-site computer 30 via the network 40. Input devices such as a keyboard, a mouse, and a touchpad are connected to the user interface 13, for example. The user interface 13 accepts input from a user using the input device.
[0044] The storage device 14 is composed of an HDD (Hard Disc Drive), an SSD (Solid State Drive), etc. The storage device 14 stores the conversion program 141, the structure information acquisition program 142, the machine structure information 143, the tool set information 144, the individual tool information 145, the conversion source NC program 146, the conversion target NC program 147, and the conversion history information 148.
[0045] The conversion program 141 and the structure information acquisition program 142 are pre-stored in the storage device 14.
[0046] The processing machine structure information 143 is information related to each NC cutting machine 20. In the processing machine structure information 143, corresponding to the processing machine ID of the NC cutting machine 20, the model, installation location, usage record, temperature of a predetermined part, rigidity information of a predetermined part, shape of a predetermined part, number of grooves, compensation value, manufacturer of the NC controller 21, and model and accuracy information are recorded.
[0047] The processing machine ID is an identifier for uniquely identifying the NC cutting machine 20, and is obtained from the NC cutting machine 20 via the NC controller 21. Instead of the processing machine ID, the identifier of the NC controller 21 or the network address of the NC controller 21 can also be used.
[0048] The model is information indicating the model of the NC cutting machine 20, and is obtained from the NC cutting machine 20 via the NC controller 21. The installation location is information indicating the location where the NC cutting machine 20 is installed, and is input by an operator or the like using the on-site computer 30.
[0049] The usage record is, for example, the cumulative usage time of the NC cutting machine 20, etc., and is obtained from the NC cutting machine 20 via the NC controller 21.
[0050] The temperature of a predetermined part is, for example, the temperature of the spindle of the processing head 23 and the worktable 24, etc., and is obtained from the NC cutting machine 20 via the NC controller 21. The rigidity information of a predetermined part is, for example, the Young's modulus, deflection amount, etc. of the spindle of the processing head 23, the worktable 24, etc., and is input by an operator or the like using the on-site computer 30. The shape of a predetermined part is, for example, the length of the spindle of the processing head 23, the length of the worktable 24, etc., and is input by an operator or the like using the on-site computer 30.
[0051] The number of grooves is the number of grooves possessed by the tool magazine 25, and is obtained from the NC cutting machine 20 via the NC controller 21. The compensation value is a value used for finely correcting the coordinates when the tool moves in the NC program, and is obtained from the NC cutting machine 20 via the NC controller 21. The compensation value is changed according to the aging change and installation environment of the NC cutting machine 20, for example, to correct the situation where the worktable 24 is slightly tilted due to aging.
[0052] The accuracy information is information such as the runout and movement accuracy (for example, the clearance amount of the worktable 24, etc.), straightness, flatness, translation accuracy, vibration amplitude and vibration frequency during the operation of the device of the processing head 23, the worktable 24, etc., and is input by an operator or the like using the on-site computer 30.
[0053] The tool group information 144 is information for managing a tool group composed of one or more tools TL. In the tool group information 144, the tool IDs (which can also be model numbers) of the tools TL constituting the tool group are recorded corresponding to the tool group ID. The tool group information 144 is input by an operator or the like using the on-site computer 30 for the job.
[0054] The individual tool information 145 is information related to each tool TL. In the individual tool information 145, the model number, material, shape, rigidity information, usage history and temperature of the tool TL, and the information of the slot in which the tool TL should be stored are recorded corresponding to the tool ID of each tool TL. All of this information is input by an operator or the like using the on-site computer 30 for the job.
[0055] The NC program 146 for the conversion source is an NC program used in the machining process of the workpiece W in the NC cutting machine 20A of the conversion source. The NC program 146 for the conversion source sometimes adjusts various parameters in accordance with the characteristics and status of the NC cutting machine 20A of the conversion source. The NC program 146 for the conversion source is obtained from the NC cutting machine 20A.
[0056] The NC program 147 for the conversion target is an NC program obtained as a result of the following conversion process, which converts the NC program 146 for the conversion source into a form suitable for the characteristics and status of the NC cutting machine 20B of the conversion target. In the conversion computer 10, when the conversion process has not been completed even once, the NC program 147 for the conversion target is not stored in the storage device 14.
[0057] The conversion history information 148 is information for managing the execution history of the conversion process that converts the NC program 146 for the conversion source into the NC program 147 for the conversion target. In the conversion history information 148, for example, various information (input information, etc.) used in the conversion process is recorded corresponding to the identification information for identifying the conversion process.
[0058] Information other than the above various information can also be stored in the storage device 14. For example, workpiece information indicating the shape data, material, rigidity, and the target shape data of the workpiece W before machining of the workpiece W can be recorded in the storage device 14.
[0059] (Conversion process of the conversion computer 10)
[0060] Next, Figure 3 is a flowchart illustrating an example of the conversion process of the conversion computer 10.
[0061] According to a predetermined operation of the user on the conversion computer 10, the CPU 11 of the conversion computer 10 reads and executes the conversion program 141 stored in the storage device 14, thereby starting the conversion process.
[0062] First, the conversion program 141 (the CPU 11 that executes the conversion program 141) acquires the NC program used in the NC cutting machine 20A as the source for conversion, and stores it as the NC program 146 for source conversion in the storage device 14 (step S1).
[0063] Next, based on the acquired NC program (the NC program 146 for source conversion), the conversion program 141 performs a motion simulation of the actions when the NC cutting machine 20B, which is the target for conversion, performs machining (step S2). In this motion simulation, for example, the positional relationship between the trajectory of the tool TL and the workpiece W can be confirmed.
[0064] Next, the conversion program 141 sequentially reads out the NC program 146 for source conversion from the storage device 14 in units of one program block, and saves it in its own working area (buffer) (step S3). Generally, an NC program is composed of codes such as G code (preparatory function), F code (feed function), S code (spindle function), T code (tool function), M code (auxiliary function), etc., and parameters such as tool coordinate positions. Since its format is determined, by pre-registering the format of the NC program in the conversion program 141, it becomes easy to read out the NC program 146 for source conversion in units of one program block.
[0065] Next, the conversion program 141 determines whether a tool number is included in one program block of the NC program 146 for source conversion read out in step S3 (step S4). In the determination of whether a tool number is included, for example, it is sufficient to detect the M code "TxxM06 (xx is the tool number)" indicating tool change from the string of the NC program 146 for source conversion. However, as long as it is possible to determine whether a tool number is included, this determination method is arbitrary and is not limited to the above example.
[0066] Here, when it is determined that a tool number is not included in one program block of the NC program 146 for source conversion (in step S4, "no"), the conversion program 141 returns the process to step S3 and reads out the next one program block of the NC program 146 for source conversion.
[0067] On the contrary, when it is determined that a tool number is included in one program block of the NC program 146 for source conversion (step S4: yes), next, the conversion program 141 determines the tool number, refers to the result of the motion simulation executed in step S2, reads out one program block of the NC program 146 for source conversion, and detects the code indicating that the tool corresponding to this tool number contacts the workpiece W and cuts the workpiece W (step S5). Here, by correcting the detected code and the subsequent codes as described below, the NC program 146 for source conversion is converted into the NC program 147 for target conversion.
[0068] Next, the conversion program 141 refers to the individual tool information 145 in the storage device 14 and determines whether the tool corresponding to the determined tool number is a ball nose end mill for machining the curved surface of the workpiece W (whether it is a face mill for machining the side surface or groove of the workpiece W) (step S6).
[0069] Here, when it is determined that the tool is a ball nose end mill, that is, the machining method is curved surface machining (Yes in step S6), next, the conversion program 141 calculates the cutting resistance applied to the tool (ball nose end mill), and decomposes the calculated cutting resistance in the tool traveling direction (X direction) and the direction perpendicular thereto (Y direction) (step S7). Any existing algorithm can be applied in the calculation of the cutting resistance applied to the ball nose end mill.
[0070] Next, the conversion program 141 calculates the tool deflections in the X direction and Y direction during machining based on the cutting resistance calculated in step S7 and the rigidity of the tool obtained from the individual tool information 145 (step S8). Any existing algorithm can be applied in the calculation of the tool deflections in the X direction and Y direction.
[0071] Next, the conversion program 141 uses the tool deflections in the X direction and Y direction during machining calculated in step S8 to perform two-direction correction for rewriting the tool path in the NC program 146 for the conversion source (step S9).
[0072] Figure 4 Shows a specific example of two-direction correction. This Figure 4 (A) is an example of the NC program 146 for the conversion source, and this Figure 4 (B) shows an example of the NC program 147 for the conversion target after converting the NC program 146 for the conversion source in (A) through two-direction correction. Figure 4 In (B) of this, the added part 41 is the correction value in the X direction of the tool path based on the tool deflection in the X direction during machining, and the added part 42 is the correction value in the Y direction of the tool path based on the tool deflection in the Y direction during machining. In the case of (B) of this, the correction value is visualized by separately recording the original coordinate value and the correction value in [], but the corrected coordinate value obtained by adding the correction value to the original coordinate value can also be recorded.
[0073] This Figure 4 In (B), the added part 41 is the correction value in the X direction of the tool path based on the tool deflection in the X direction during machining, and the added part 42 is the correction value in the Y direction of the tool path based on the tool deflection in the Y direction during machining. In the case of (B) of this, the correction value is visualized by separately recording the original coordinate value and the correction value in [], but the corrected coordinate value obtained by adding the correction value to the original coordinate value can also be recorded. Figure 4 In the case of (B) of this, the correction value is visualized by separately recording the original coordinate value and the correction value in [], but the corrected coordinate value obtained by adding the correction value to the original coordinate value can also be recorded.
[0074] Return Figure 3On the contrary, in the case where the conversion program 141 determines that the tool is a face milling cutter, that is, the machining method is side machining or groove machining (No in step S6), then, the conversion program 141 calculates the cutting resistance applied to the tool (face milling cutter), and decomposes the calculated cutting resistance in the tool traveling direction (X direction) and the direction perpendicular thereto (Y direction) (step S10). Any existing algorithm can be applied in the calculation of the cutting resistance applied to the face milling cutter.
[0075] Next, the conversion program 141 calculates the tool deflection in the Y direction during machining based on the cutting resistance calculated in step S10 and the rigidity of the tool obtained from the individual tool information 145 (step S11). Any existing algorithm can be applied in the calculation of the tool deflection in the Y direction.
[0076] Next, the conversion program 141 performs one-direction correction (step S12), which rewrites the tool path in the NC program 146 for the conversion source by correcting the tool diameter based on the tool deflection in the Y direction during machining calculated in step S11.
[0077] Figure 5 Shows a specific example of one-direction correction. This Figure 5 (A) is an example of the NC program 146 for the conversion source, and this Figure 5 (B) shows an example of the NC program 147 for the conversion target after converting the NC program 146 for the conversion source in (A) by one-direction correction. Figure 5 The added parts 51 and 52 in (B) of this
[0078] This Figure 5 are the correction values in the Y direction of the tool path based on the tool deflection in the Y direction during machining. In the case of (B) of this Figure 5 in (B), in the added part 51, the G code (G41) for indicating tool diameter correction (also called tool wear correction) is used to set the correction value, but the code used is not limited. For example, a code for changing the tool feed speed can also be used.
[0079] Return Figure 3 After performing step S9 or step S12, next, the conversion program 141 determines whether there are remaining program blocks in the entire program blocks of the NC program 146 for the conversion source obtained in step S1 that have not been read out in step S3 (step S13). Here, when the conversion program 141 determines that there are remaining unread program blocks (Yes in step S13), the process returns to step S3, and the processing from step S3 and later is repeated.
[0080] Then, in the case where it is determined that there are no unread program blocks remaining (No in step S13), next, the conversion program 141 records the conversion target NC program 147 that reflects at least one of the two-direction correction in step S9 and the one-direction correction in step S12 in the storage device 14. Thus, the conversion process ends.
[0081] The on-site computer 30B downloads the conversion target NC program 147 recorded in the storage device 14 at a predetermined timing and sends it to the NC controller 21 of the NC cutting machine 20B to control the machining process of the workpiece W by the NC cutting machine 20B.
[0082] According to the conversion process described above, the machining method of the workpiece W is determined based on the type of tool used in the machining of the workpiece W, and by a correction method corresponding to the machining method, the conversion source NC program 146 optimized for the NC cutting machine 20A can be converted into the conversion target NC program 147 suitable for the NC cutting machine 20B. Thus, for example, even in the machining process of a workpiece W having a complex curved surface such as a metal mold, the machining accuracy of the NC cutting machine 20B can be improved.
[0083] In addition, in the above conversion process, the correction method is determined according to the machining method of the workpiece W, but the correction method can also be determined by the user.
[0084] (Variant example)
[0085] During the two-direction correction in step S9 of the above conversion process, when the interval width of the command coordinate points in the conversion source NC program 146 is large, there is a possibility that the cutting resistance changes significantly between these command coordinate points. Therefore, when the interval between the command coordinate points in the conversion source NC program 146 is wider than a predetermined threshold and the difference in the correction amounts of each command coordinate point is larger than the predetermined threshold, not only the command coordinate points are rewritten, but also interpolation points can be set between the rewritten command coordinate points.
[0086] Figure 6 To illustrate the method of setting interpolation points in the two-direction correction. For example, as shown in this Figure 6 figure, consider an NC program that controls the machining of a ball nose end mill 62 to cut an inclined region 61 of the workpiece W in a straight line between points A and B and leave a remaining region 63.
[0087] When the interval between the command coordinate points A and B in the conversion source NC program 146 is wider than a predetermined threshold and the difference |(A’ - A) - (B’ - B)| of the correction amounts of the command coordinate points A and B respectively is greater than the predetermined threshold, as shown in this Figure 6As shown, not only are the instruction coordinate points A and B in the conversion source simply rewritten as instruction coordinate points A' and B' in the NC program 146, but interpolation points IP1 and IP2 corresponding to the cutting resistance are also set between points A' and B' to rewrite the instruction coordinate points.
[0088] By setting the interpolation points IP1 and IP2, when the angle θ formed by the tool path movement vector V1 at the interpolation point IP1 and the tool path movement vector V2 at the interpolation point IP2 exceeds a predetermined threshold, a step difference may occur on the machining surface that should be linear near the interpolation point IP2. In such a case, an alarm can be output to the user.
[0089] The present invention is not limited to the above-described embodiments and can be variously modified. For example, the above-described embodiments are embodiments described in detail for easy understanding of the present invention and are not limited to having all the structures described. Additionally, a part of the structure of a certain embodiment can be replaced with the structure of another embodiment or the structure of another embodiment can be added.
[0090] Furthermore, for example, some or all of the above-described structures, functions, processing units, processing elements, etc. can also be implemented in hardware by designing using integrated circuits or the like. Additionally, the above-described structures, functions, etc. can also be implemented in software by a processor interpreting and executing a program for implementing each function. Information such as programs, tables, files, etc. for implementing each function can be stored in a recording device such as a memory, hard disk, SSD, or a recording medium such as an IC card, SD card, DVD. Additionally, the control lines and information lines represent the control lines and information lines required for explanation and do not necessarily represent all the control lines and information lines on the product. Practically, it can be considered that almost all the structures are interconnected.
[0091] Description of Reference Numerals
[0092] 1 machining system, 10 conversion computer, 12 communication interface, 13 user interface, 14 storage device, 141 conversion program, 142 structure information acquisition program, 143 machining machine structure information, 144 tool group information, 145 individual tool information, 146 NC program for conversion source, 147 NC program for conversion target, 148 conversion history information, 20 NC cutting machine, 21 NC controller, 22 body part, 23 processing head, 24 worktable, 25 tool magazine, 25a - 25c slots, 26 tool changer, 27 tool group, 30 on-site computer, 40 network, 61 diagonal area, 62 ball nose end mill, 63 area.
Claims
1. An NC program conversion processing method that converts a source NC program for controlling a first machining center into a target NC program for controlling a second machining center, characterized in that the NC program conversion processing method includes the following steps: a determination step of determining the machining method of the workpiece based on the source NC program; a determination step of determining, according to the determined machining method of the workpiece, the path correction method of the tool installed on the second machining center for machining the workpiece as one-direction correction or two-direction correction, where the one-direction correction is the correction in the direction perpendicular to the traveling direction of the tool, and the two-direction correction is the correction in the traveling direction of the tool and the direction perpendicular to the traveling direction of the tool; and a conversion step of converting the source NC program into the target NC program using the determined correction method.
2. The NC program conversion processing method according to claim 1, characterized in that the determination step determines the machining method based on the type of tool used in the machining of the workpiece.
3. The NC program conversion processing method according to claim 2, characterized in that in the determination step, when the tool used in the machining of the workpiece is a ball nose end mill, the machining method is determined as surface machining, and when the tool is a face mill, the machining method is determined as side machining or groove machining.
4. The NC program conversion processing method according to claim 1, characterized in that in the determination step, when it is determined that the machining method is surface machining, the correction method is determined as the two-direction correction, and when it is determined that the machining method is side machining or groove machining, the correction method is determined as the one-direction correction.
5. The NC program conversion processing method according to claim 1, characterized in that in the conversion step, when the correction method is the one-direction correction, the source NC program is converted into the target NC program by tool diameter correction, and when the correction method is the two-direction correction, the source NC program is converted into the target NC program by adding a correction amount to the command coordinate points in the source NC program.
6. The NC program conversion processing method according to claim 5, characterized in that in the conversion step, when the correction method is the two-direction correction, the source NC program is converted into the target NC program by additionally recording the correction amount to be added to the command coordinate points in the source NC program.
7. The NC program conversion processing method according to claim 5, characterized in that In the conversion step, when the correction method is the two-direction correction, the interval between the instruction coordinate points in the NC program used as the conversion source is wider than a predetermined threshold, and the difference between the correction amounts of the respective instruction coordinate points is greater than the predetermined threshold, interpolation points are set between the corrected instruction coordinate points.
8. A conversion computer comprising a processor that converts an NC program used as a conversion source for controlling a first machining center into an NC program used as a conversion target for controlling a second machining center, characterized in that the processor determines the machining method of the workpiece based on the NC program used as the conversion source, the processor determines, according to the determined machining method of the workpiece, the correction method of the path of the tool installed in the second machining center for machining the workpiece as one-direction correction or two-direction correction, where the one-direction correction is the correction in the direction perpendicular to the traveling direction of the tool, and the two-direction correction is the correction in the traveling direction of the tool and the direction perpendicular to the traveling direction of the tool, the processor converts the NC program used as the conversion source into the NC program used as the conversion target using the determined correction method.
9. A recording medium storing a conversion program, characterized in that the conversion program causes the processor to execute the NC program conversion processing method according to any one of claims 1 to 7.
Citation Information
Patent Citations
Device and method of automatically setting tool correction value of machine tool
JP2016093872A
NC program-conversion processing method and working processing system
JP2019211939A