Machining program creation device

The numerical control device uses machine learning to analyze and estimate preparation and post-processing commands in machining programs, automating their specification and improving the efficiency and accuracy of machining program creation.

JP7548690B2Active Publication Date: 2024-09-10FANUC LTD
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
JP2019184662
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Filing Date
2019-10-07
Publication Date
2024-09-10
Estimated Expiration
2039-10-07

AI Technical Summary

Technical Problem

Operators face a significant burden in manually specifying numerous auxiliary commands for machining programs, including preparation and post-processing commands, which are dependent on machine configuration and workpiece shape.

Method used

A numerical control device employs machine learning to extract and analyze past machining programs, learning the positions and arguments of preparation and post-processing commands relative to machining commands, and provides inference support for creating new machining programs by estimating and displaying these commands.

Benefits of technology

Reduces the operator's burden by automating the specification of auxiliary commands, enhancing the efficiency and accuracy of machining program creation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007548690000006
    Figure 0007548690000006
  • Figure 0007548690000001
    Figure 0007548690000001
  • Figure 0007548690000005
    Figure 0007548690000005
Patent Text Reader

Abstract

To provide a function for supporting work for designating a preparation command and a post-processing command required before and after a command related to processing of a cycle command or the like.SOLUTION: According to the present invention, a processing program creation device 1 includes a data acquisition part 100 for acquiring a processing program, a processing program analysis part 110 for extracting a command related to processing, a preparation command and a post-processing command from the processing program, and analyzing respective positions of the preparation command and the post-processing command viewed from the command related to the processing, and a learning part 152 for creating a first learning model obtained by learning the respective positions of the preparation command and the post-processing command viewed from the command related to the processing on the basis of an analysis result by the processing program analysis part 110.SELECTED DRAWING: Figure 2
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to a machining program creating device, and more particularly to a machining program creating device executed by a numerical control device. [Background technology]

[0002] The numerical control device performs automatic operation by reading a machining program and executing the read machining program. The machining program is created manually by an operator, for example. When creating a machining program, the operator specifies in the machining program machining commands for realizing the machining shape of the workpiece, while specifying preparatory commands (tool change command, spindle rotation command, approach command, etc.) and post-processing commands (escape command, spindle stop command, etc.) required to execute the machining commands before and after the specified machining commands. Machining commands specified in the machining program include commands that combine multiple commands to machine a workpiece into a predetermined shape, and cycle commands that cause the machine to perform a series of operation sequences with one command (for example, Patent Document 1). [Prior art documents] [Patent documents]

[0003] [Patent Document 1] JP 2015-011669 A Summary of the Invention [Problem to be solved by the invention]

[0004] In this way, every time an operator specifies a machining command in a machining program, the operator must specify multiple auxiliary commands before and after the command, which are necessary to execute the machining command. There are many such auxiliary commands depending on the machine configuration, workpiece shape, etc. Therefore, it is necessary to understand such information, which is a burden on the operator. Therefore, there is a need for a function that can learn or assist in the task of specifying preparation commands and post-processing commands that are required before and after machining commands such as cycle commands. [Means for solving the problem]

[0005] A numerical control device according to one aspect of the present invention extracts commands specified near commands related to machining (such as cycle commands) from machining programs created by an operator in the past, and performs machine learning on the extracted commands according to a predetermined rule. Then, when an operator creates a new machining program, at the point in time when the operator inputs a command related to machining, an inference process is executed using the results of the machine learning, and auxiliary commands to be specified before and after the command related to machining are output as inference results.

[0006] One aspect of the present invention is a machining program creation device that supports the creation of a control program for a machine tool, the device comprising: a data acquisition unit that acquires a machining program; At least one Directives on processing; At least one Preparation Order and At least one and a post-processing instruction; Each Each preparatory instruction and post-processing instruction in relation to the instructions relating to the processing Relative including the distance from the command related to the processing This is a machining program creation device that includes a machining program analysis unit that analyzes a position, and a learning unit that creates a first learning model that learns the positions of each preparatory command and post-processing command from the perspective of the commands related to the machining based on the analysis results by the machining program analysis unit.

[0007] Another aspect of the present invention is a machining program creation device that supports the creation of a control program for a machine tool, the device comprising: a data acquisition unit that acquires commands related to machining; and a machining program analysis unit that analyzes the commands related to machining. Each From the viewpoint of the processing instructions, each preparatory instruction and post-processing instruction Relative including the distance from the command related to the processing Based on the first learning model stored in a learning model storage unit that stores a first learning model that has learned a position and the analysis result by the machining program analysis unit, a predetermined Relative including distanceThe machining program creation device includes a command estimation unit that estimates preparatory commands and post-processing commands to be specified at a position, and an estimation result display unit that displays commands related to the machining and a template of a machining program including the preparatory commands and post-processing commands estimated by the command estimation unit. Effect of the Invention

[0008] According to one aspect of the present invention, it becomes possible to learn or assist in the task of specifying preparation commands and post-processing commands required before and after machining commands such as cycle commands. [Brief description of the drawings]

[0009] [Figure 1] 1 is a schematic hardware configuration diagram of a machining program creating device according to an embodiment; [Diagram 2] 1 is a schematic functional block diagram of a machining program creating device according to a first embodiment. [Diagram 3] FIG. 4 is a diagram showing an example of a machining program. [Figure 4] FIG. 1 is a diagram showing an example of a typical processing pattern. [Diagram 5] FIG. 2 is a diagram showing an example of a first learning model. [Figure 6] FIG. 13 is a diagram illustrating an example of a second learning model. [Figure 7] FIG. 11 is a schematic functional block diagram of a machining program creating device according to a second embodiment. [Figure 8] 11A to 11C are diagrams for explaining a method of estimating preparation commands and post-processing commands at each relative position using the first learning model. [Figure 9] A diagram explaining a method of estimating arguments of each preparation command and post-processing command using the second learning model. [Figure 10] FIG. 11 is a diagram showing an example of a template for a machining program. [Figure 11] FIG. 13 is a diagram showing a modified example in which a learning model storage unit is provided on an external computer. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0010] Hereinafter, an embodiment of the present invention will be described with reference to the drawings. FIG. 1 is a schematic hardware configuration diagram showing a main part of a machining program creation device according to an embodiment of the present invention. The machining program creation device 1 of the present invention can be implemented, for example, as a numerical control device that controls an industrial machine based on a machining program. The machining program creation device 1 of the present invention can be implemented on a personal computer attached to a numerical control device that controls an industrial machine based on a machining program, or on a personal computer, cell computer, fog computer, or cloud server connected to a numerical control device via a wired / wireless network. In this embodiment, an example is shown in which the machining program creation device 1 is implemented on a personal computer connected to a numerical control device via a network.

[0011] The CPU 11 provided in the machining program creating device 1 according to this embodiment is a processor that controls the entire machining program creating device 1. The CPU 11 reads out a system program stored in a ROM 12 via a bus 22, and controls the entire machining program creating device 1 in accordance with the system program. The RAM 13 temporarily stores temporary calculation data, display data, various data input from outside, and the like.

[0012] The non-volatile memory 14 is composed of, for example, a memory backed up by a battery (not shown) or an SSD (Solid State Drive), and the memory state is maintained even when the power supply of the machining program creation device 1 is turned off. The non-volatile memory 14 stores data and machining programs read from an external device 72 via an interface 15, and data and machining programs input via an input device 71. The data and machining programs stored in the non-volatile memory 14 may be expanded in the RAM 13 when executed / used. In addition, various system programs such as known analysis programs are written in advance in the ROM 12.

[0013] The interface 15 is an interface for connecting the CPU 11 of the machining program creating device 1 to an external device 72 such as a USB device. For example, machining programs and various parameters used for controlling industrial machines can be read from the external device 72. In addition, the machining programs and various parameters edited in the machining program creating device 1 can be stored in an external storage means via the external device 72.

[0014] The interface 20 is an interface for connecting the CPU of the machining program creation device 1 to a wired or wireless network 5. The network 5 is connected to the numerical control device 3, a fog computer, a cloud server, etc., and exchanges data with the machining program creation device 1.

[0015] The display device 70 displays various data loaded into the memory, data obtained as a result of executing programs, etc., outputted via the interface 17. An input device 71 consisting of a keyboard, pointing device, etc., transfers commands, data, etc. based on operations by an operator to the CPU 11 via the interface 18.

[0016] Fig. 2 is a schematic block diagram showing functions of the machining program creation device 1 according to the first embodiment of the present invention. Each function of the machining program creation device 1 according to this embodiment is realized by the CPU 11 included in the machining program creation device 1 shown in Fig. 1 executing a system program and controlling the operation of each part of the machining program creation device 1. The machining program creation device 1 according to this embodiment creates a learning model used to support an operator when creating a machining program including control commands related to an industrial machine to be controlled by a numerical control device 3.

[0017] The machining program creation device 1 of this embodiment includes a data acquisition unit 100, a machining program analysis unit 110, and a machine learning unit 150. In addition, the RAM 13 to the non-volatile memory 14 of the machining program creation device 1 are provided with a machining program storage unit 210 in advance as an area for storing the machining program acquired from the input device 71, the external device 72, the numerical control device 3, etc., and information related to the operating environment of the machining program.

[0018] The data acquisition unit 100 is realized by the CPU 11 included in the machining program creation device 1 shown in FIG. 1 executing the system program read from the ROM 12, and mainly performing arithmetic processing by the CPU 11 using the RAM 13 and the non-volatile memory 14, and input control processing by the interface 15, 18, or 20. The data acquisition unit 100 acquires the machining program and information related to the operating environment of the machining program, and stores them in the machining program storage unit 210. The data acquisition unit 100 may acquire the machining program and information related to the operating environment of the machining program from the input device 71, the external device 72, the numerical control device 3, etc. The machining program acquired by the data acquisition unit 100 may include commands related to machining, such as cycle commands and a series of cutting commands. The information related to the operating environment of the machining program acquired by the data acquisition unit 100 together with the machining program includes machine configuration information (type of industrial machine, axis configuration, tool type, etc.) of the industrial machine that executes the machining program, workpiece material information (shape of the workpiece, material of the workpiece, etc.), etc.

[0019] The machining program analysis unit 110 is realized by the CPU 11 included in the machining program creation device 1 shown in FIG. 1 executing a system program read from the ROM 12, and the CPU 11 mainly performing arithmetic processing using the RAM 13 and the non-volatile memory 14. The machining program analysis unit 110 reads and analyzes the machining program stored in the machining program storage unit 210 and information related to the operating environment of the machining program, and creates learning data used for learning by the machine learning unit 150. The machining program analysis unit 110 identifies a command related to machining included in the machining program. Then, it associates a relative position from the command related to machining with a preparation command and a post-processing command specified before and after the identified command related to machining. Then, the machining program analysis unit 110 outputs the analyzed machining program and information related to the operating environment of the machining program to the machine learning unit 150.

[0020] FIG. 3 shows an example of a machining program. A machining program used for machining a workpiece includes at least one machining command. For example, in a machine tool, the machining command is indicated by a cycle command or a series of cutting commands (a set of cutting commands and / or fast-forward commands that start and end with a cutting command). In the example of FIG. 3, the machining program analysis unit 110 identifies a drill cycle command G81 from the machining program as a machining command. When the machining command is indicated by a series of cutting commands, the tool path drawn by the series of cutting commands is calculated by a simulation process or the like, and known shape matching is performed between the series of cutting commands and a typical machining pattern as exemplified in FIG. 4, to identify what kind of machining the series of cutting commands will perform.

[0021] Next, the machining program analysis unit 110 calculates and associates the relative positions from the specified machining-related command (drill cycle command G81) to the preparation command and post-processing command specified before and after the specified machining-related command. Typical preparation commands include a return to origin command, a tool change command, a spindle rotation command, a workpiece coordinate system selection command, a tool diameter compensation command, and an approach command. Typical post-processing commands include an escape command, a spindle rotation stop command, and an end command. The machining program analysis unit 110 then associates each preparation command and post-processing command with a block distance from the machining-related command as a relative position. In the example of FIG. 3, the return to origin command G28 is located five blocks before the drill cycle command G81, which is a machining-related command, so that -5 is associated as a relative position.

[0022] The machining program analysis unit 110 may set typical machining-related commands, preparatory commands, and post-processing commands in advance in the form of, for example, a table, and may identify the machining-related commands, preparatory commands, and post-processing commands included in the machining program by referring to these tables. Also, when the machining-related commands are shown as a series of cutting commands, it is sufficient to identify a set of cutting commands and fast-forward commands that are sandwiched between a preparatory command and a post-processing command in the machining program and that start with a cutting command and end with a cutting command as the machining-related command.

[0023] Furthermore, when it is determined that the machining program includes a plurality of machining-related commands, the machining program analysis unit 110 executes the above-mentioned processing for each machining-related command. Generally, when the machining program includes a plurality of machining-related commands, the flow of preparation command->machining-related command->post-processing command is repeated, so that each command included in the machining program is identified as a machining-related command, preparation command, post-processing command, or other command, and then the machining program can be divided into a set of commands, each of which is a preparation command->machining-related command->post-processing command, by dividing the set into a command group in which the flow of preparation command->machining-related command->post-processing command is one set. This makes it possible to divide the machining program into a set of each machining-related command and a preparation command and post-processing command related to the machining-related command.

[0024] The machine learning unit 150 is realized by the CPU 11 included in the machining program creation device 1 shown in Fig. 1 executing a system program read from the ROM 12, and the CPU 11 mainly performing arithmetic processing using the RAM 13 and the non-volatile memory 14. The machine learning unit 150 executes processing related to machine learning based on the analysis result by the machining program analysis unit 110. The machine learning unit 150 according to this embodiment includes at least a learning unit 152 and a learning model storage unit 220 which is an area provided in the RAM 13 to the non-volatile memory 14 for storing the learning model created by the learning unit 152.

[0025] The learning unit 152 creates a learning model by machine learning using the learning data input as the analysis result by the machining program analysis unit 110, and stores the model in the learning model storage unit 220. The learning model created by the learning unit 152 includes a first learning model that learns preparatory commands and post-processing commands that should be specified before and after commands related to machining in the machining program, and a second learning model that learns arguments in each of the preparatory commands and post-processing commands.

[0026] The first learning model created by the learning unit 152 may indicate the occurrence frequency of each preparatory command and post-processing command with respect to the relative position from the command related to machining, as illustrated in FIG. 5, for example. The learning unit 152 creates a first learning model for each command related to machining. The learning unit 152 creates a frequency graph as illustrated in FIG. 5 using multiple learning data obtained by the machining program analysis unit 110 analyzing multiple machining programs including commands related to the same or similar machining, and may use this as the first learning model for the command related to the machining. The command related to the same or similar machining may be determined as follows: when the command related to machining is represented by a cycle command, cycle commands of the same type are determined to be commands related to the same or similar machining, and when the command related to machining is represented by a series of cutting commands, commands having the same machining pattern identified by the machining program analysis unit 110 are determined to be commands related to the same or similar machining. The learning unit 152 creates a first learning model for each machine configuration information and workpiece material information included in the information related to the operating environment of the machining program. For example, the learning unit 152 creates a first learning model for a linear three-axis machine tool of the cycle command G82 and a first learning model for a linear three-axis rotary two-axis machine tool of the plane machining pattern command group separately.

[0027] The second learning model created by the learning unit 152 may indicate the frequency of use of arguments of each preparatory command and post-processing command, as illustrated in FIG. 6, for example. The learning unit 152 creates a second learning model for each command related to machining. The learning unit 152 creates a frequency graph showing the frequency of a set of arguments for each preparatory command and post-processing command using a plurality of learning data obtained by the machining program analysis unit 110 analyzing a plurality of machining programs including commands related to the same or similar machining, and sets this as the second learning model. The learning unit 152 creates a second learning model for each machine configuration information and workpiece material information included in the information related to the operating environment of the machining program. For example, the learning unit 152 creates a second learning model for the origin return command G28 for a linear three-axis machine tool and a second learning model for the origin return command G28 for a linear three-axis rotary two-axis machine tool, respectively.

[0028] The machining program creation device 1 according to this embodiment having the above configuration learns preparatory commands and post-processing commands that should be specified before and after commands related to machining in the machining program. The machining program creation device 1 according to this embodiment also learns arguments of the preparatory commands and post-processing commands. The learning results are stored as a learning model. The learning model created by the machining program creation device 1 can be used to estimate preparatory commands and post-processing commands that should be used for commands related to machining inputted when the operator creates the machining program.

[0029] As a modified example of the machining program creation device 1 according to the present embodiment, when analyzing a machining program, the machining program analysis unit 110 may rearrange the order of preparatory commands in advance according to a predetermined rule. For example, a rule may be set to determine a typical order such as origin return processing->tool replacement processing->spindle rotation->... as the order of general preparatory processing, and the preparatory commands may be rearranged according to this rule. The machining program analysis unit 110 may also rearrange post-processing commands in a similar manner according to a predetermined rule. Some preparatory commands and post-processing commands have no particular order of execution. Therefore, depending on the operator, preparatory commands may be specified in a different order, and if such machining programs occur frequently, the accuracy of learning by the learning unit 152 may decrease. By providing the configuration of this modified example, the deterioration of the accuracy of this learning can be mitigated to some extent.

[0030] Fig. 7 is a schematic block diagram showing functions of the machining program creation device 1 according to the second embodiment of the present invention. Each function of the machining program creation device 1 according to this embodiment is realized by the CPU 11 of the machining program creation device 1 shown in Fig. 1 executing a system program and controlling the operation of each part of the machining program creation device 1. The machining program creation device 1 according to this embodiment uses a learning model that has already been created to support an operator in creating a machining program including control commands related to an industrial machine to be controlled by the numerical control device 3.

[0031] The machining program creation device 1 of this embodiment includes a data acquisition unit 100, a machining program analysis unit 110, an estimation result display unit 120, and a machine learning unit 150.

[0032] The data acquisition unit 100 according to the present embodiment is realized by the CPU 11 included in the machining program creation device 1 shown in FIG. 1 executing a system program read from the ROM 12, and mainly performing arithmetic processing using the RAM 13 and non-volatile memory 14 by the CPU 11, and input control processing by the interfaces 18 and 20. The data acquisition unit 100 acquires machining-related commands and information related to the operating environment of the commands, and outputs them to the machine learning unit 150. The data acquisition unit 100 may acquire machining-related commands from an operator via the input device 71, for example. The data acquisition unit 100 may also acquire information related to the operating environment of the commands from the input device 71 or the numerical control device 3. The machining-related commands acquired by the data acquisition unit 100 may be, for example, a set of cutting commands or fast-forward commands that start with a cycle command or a cutting command and end with a cutting command. The information related to the operating environment of the command acquired by the data acquisition unit 100 together with the command related to machining includes machine configuration information of the industrial machine executing the command (type of industrial machine, axis configuration, tool type, etc.), work material information (machined shape of the work, material of the work, etc.), etc.

[0033] The machining program analysis unit 110 according to the present embodiment is realized by the CPU 11 included in the machining program creation device 1 shown in Fig. 1 executing a system program read from the ROM 12, and the CPU 11 mainly performing arithmetic processing using the RAM 13 and the non-volatile memory 14. The machining program analysis unit 110 analyzes the machining-related commands acquired by the data acquisition unit 100 and information related to the operating environment of the commands, and creates learning data used in the estimation process by the machine learning unit 150. For example, when the machining-related commands are indicated by a series of cutting commands, the machining program analysis unit 110 calculates the tool path drawn by the series of cutting commands by simulation processing or the like, performs known shape matching with a typical machining pattern, and performs processing to identify what kind of machining the series of cutting commands will perform.

[0034] The machine learning unit 150 is realized by the CPU 11 included in the machining program creation device 1 shown in Fig. 1 executing a system program read from the ROM 12, and the CPU 11 mainly performing arithmetic processing using the RAM 13 and the non-volatile memory 14. The machine learning unit 150 executes processing related to machine learning based on machining commands input from the data acquisition unit 100, information related to the operating environment of the commands, and a learning model stored in the learning model storage unit 220. The machine learning unit 150 according to this embodiment includes at least a command estimation unit 154, and a learning model storage unit 220 which is an area provided in the RAM 13 to the non-volatile memory 14 in which the learning model created by the learning unit 152 according to the first embodiment is stored.

[0035] The command estimation unit 154 executes estimation processing of preparation commands and post-processing commands that should precede and follow the command related to the processing, using the command related to the processing input from the data acquisition unit 100 and information related to the operating environment of the command, and the learning model stored in the learning model storage unit 220. The command estimation unit 154 outputs the estimation result to the estimation result display unit 120.

[0036] The command estimation unit 154 estimates the preparation command and the post-processing command that should be before and after the command related to machining, using the first learning model corresponding to the command related to machining input from the data acquisition unit 100 and the information related to the operating environment of the command, among the first learning models stored in the learning model storage unit 220. FIG. 8 is a diagram illustrating an example of the first learning model created as a frequency graph. The command estimation unit 154 may refer to the first learning model and estimate commands that are frequently occurring at their respective relative positions from the command related to machining on the frequency graph as the preparation command and the post-processing command that should be before and after the command related to machining. In the example of FIG. 8, the origin return command G28 is estimated as the block five blocks before the command related to machining, the tool exchange command M6 is estimated as the block four blocks before, the spindle rotation command M3 is estimated as the block three blocks before, the workpiece coordinate system setting command G54 is estimated as the block two blocks before, and the approach commands G00 and G43 are estimated as the block one block before. In this way, the command estimation unit 154 may estimate one command with the highest frequency at each relative position as the preparation command and post-processing command that should be at that relative position, or may estimate two or more commands with a frequency equal to or greater than a predetermined first threshold as the preparation command and post-processing command that should be at that relative position. On the other hand, when the frequencies of the command codes at each relative position are all equal to or less than a predetermined second threshold, the command estimation unit 154 may estimate that there are no preparation commands and post-processing commands that should be at that relative position.

[0037] When the command estimation unit 154 estimates the preparation command and the post-processing command that should be in the relative position with respect to the command related to processing, the command estimation unit 154 may further estimate arguments for each of the estimated preparation commands and post-processing commands. When estimating the arguments of the commands, the command estimation unit 154 estimates arguments of each preparation command and post-processing command using a second learning model created for each preparation command and post-processing command corresponding to the command related to processing input from the data acquisition unit 100 and information related to the operating environment of the command, among the second learning models stored in the learning model storage unit 220. FIG. 9 is a diagram illustrating an example of the second learning model created as a frequency graph. The command estimation unit 154 may refer to the second learning model and estimate a set of arguments that are frequently occurring on the frequency graph for each preparation command and post-processing command as the preparation command and post-processing command that should be before and after the command related to processing. 9, a set of two arguments X, Y, and Z is estimated as an argument set suitable for each command for the home return command G28, which is a preparatory command, and a set of two arguments X and Y is estimated as an argument set suitable for each command for the work coordinate system option example G54, which is a preparatory command. The command estimation unit 154 may estimate the most frequent argument set as the argument set suitable for the command. In addition, when multiple argument sets show a frequency equal to or higher than a predetermined third threshold value, all arguments included in the multiple argument sets may be estimated as arguments suitable for the command.

[0038] The estimation result display unit 120 is realized by the CPU 11 included in the machining program creation device 1 shown in Fig. 1 executing a system program read from the ROM 12, and mainly performing calculation processing by the CPU 11 using the RAM 13 and non-volatile memory 14, and output control processing by the interface 17. The estimation result display unit 120 displays a template of a machining program including machining-related commands on the display device 70, based on preparatory commands and post-processing commands that should occur before and after the machining-related commands estimated by the command estimation unit 154, and on a set of arguments suitable for each of the preparatory commands and post-processing commands.

[0039] 10 is a diagram showing an example of a template of a machining program displayed by the estimation result display unit 120. The estimation result display unit 120 creates a machining program in which a preparation command and a post-processing command estimated by the estimation result display unit 120 are specified at a relative position from a command related to machining. The estimation result display unit 120 also inserts a set of arguments estimated by the estimation result display unit 120 after each preparation command and post-processing command. When the command estimation unit 154 estimates that there should be multiple preparation commands or post-processing commands for one relative position, the estimation result display unit 120 may specify the multiple estimated preparation commands or post-processing commands in a row at the relative position.

[0040] The machining program creation device 1 according to the present embodiment having the above configuration can use the learning model stored in the learning model storage unit 220 to estimate preparatory commands and post-processing commands that should be specified before and after commands related to machining in the machining program, and can present a template of the machining program based on the estimation result to the operator. In addition, the template of the machining program can also show a set of arguments suitable for each preparatory command and post-processing command. The operator can relatively easily complete the machining program by further inputting necessary information while looking at the template of the machining program shown in this way.

[0041] Although one embodiment of the present invention has been described above, the present invention is not limited to the above-described embodiment, and can be embodied in various forms by making appropriate modifications. For example, the first learning model and the second learning model provided in the machining program creation device 1 can be configured to be shared with other machining program creation devices 1. In this case, a plurality of machining program creation devices 1 may be connected via a network 5, and the first learning model and the second learning model may be shared by communicating with each other via the network 5. By configuring in this way, it is possible to collect machining programs created by a plurality of machining program creation devices 1, and create and use the first learning model and the second learning model. By increasing the number of machining programs used to create the learning model, the accuracy of learning is expected to improve, and by using the learning model created in this way, the accuracy of estimation is also expected to improve. 11, a learning model storage unit 220' for storing the first learning model and the second learning model may be provided in an external computer 6 such as a fog computer or a cloud server, and the learning model storage unit 220' may be configured to be shared by a plurality of machining program creation devices 1. With this configuration, each machining program creation device 1 does not need to be provided with the learning model storage unit 220, and therefore does not need to be provided with a large-scale memory, which has a significant cost advantage. [Explanation of symbols]

[0042] 1. Machining program creation device 3. Numerical Control Device 5. Network 6. Computers 11 CPU 12 ROM 13 RAM 14 Non-volatile memory 15,17,18,20 Interface 22 Bus 70 Display device 71 Input Devices 72 External equipment 100 Data Acquisition Section 110 Machining program analysis section 120 Estimation result display section 150 Machine Learning Department 152 Learning Department 154 Command Estimation Department 210 Machining program storage unit 220,220' Learning model memory section

Claims

1. A machining program creation device that supports creation of a control program for a machine tool, comprising: A data acquisition unit that acquires a machining program; a machining program analysis unit that extracts at least one machining command, at least one preparatory command, and at least one post-processing command from the machining program, and analyzes relative positions of the preparatory command and the post-processing command from the machining command, the relative positions including the distances from the machining commands; A learning unit that creates a first learning model that learns relative positions of each preparatory command and post-processing command from each command related to the machining, the relative positions including distances from the command related to the machining, based on an analysis result by the machining program analysis unit; A machining program creating device comprising:

2. The learning unit creates a second learning model that learns arguments of the preparation command and the post-processing command. The machining program creating device according to claim 1.

3. The learning unit creates the first learning model for each command related to the same or similar processing. The machining program creating device according to claim 1.

4. The data acquisition unit further acquires information related to an operating environment of the machining program, The learning unit creates the first learning model for each machining program operating environment based on information related to the operating environment of the machining program. The machining program creating device according to claim 1.

5. A machining program creation device that supports creation of a control program for a machine tool, comprising: A data acquisition unit that acquires instructions related to processing; A machining program analysis unit that analyzes commands related to the machining; a command estimation unit that estimates the preparatory commands and the post-processing commands to be placed at relative positions including a predetermined distance from the command related to the machining based on a first learning model stored in a learning model storage unit that stores a first learning model that has learned a relative position including a distance from the command related to the machining of each preparatory command and post-processing command from the command related to the machining, and an analysis result by the machining program analysis unit; an estimation result display unit that displays a template of a machining program including the instructions related to the machining and the preparation instructions and post-processing instructions estimated by the instruction estimation unit; A machining program creating device comprising:

6. The learning model storage unit further stores a second learning model that has learned arguments of the preparation command and the post-processing command, The command estimation unit further estimates arguments of the estimated preparation command and post-processing command. The machining program creating device according to claim 5.

7. The learning model created by the learning unit is shared among the plurality of machining program creation devices via a network. The machining program creating device according to claim 1.

8. A learning model used for estimation by the command estimation unit is shared among the plurality of machining program creation devices via a network. The machining program creating device according to claim 5.

Citation Information

Patent Citations

  • Machine control program formulating device

    JP2013012051A

  • Numerical control device with starting point path shortening function of complex fixed cycle

    JP2015011669A

  • Information processing device

    JP2018069378A

  • JPP6584697B

  • JPP6599069B