Machining program generation device, and machine tool

The machining program creation device uses AI and machine learning to generate machining suggestion tables, enabling unskilled engineers to create machining programs with the same proficiency as skilled workers by integrating machine tool knowledge and site-specific know-how, addressing the labor shortage in the processing industry.

WO2026120795A1PCT designated stage Publication Date: 2026-06-11FUJI CORP

Patent Information

Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
FUJI CORP
Filing Date
2024-12-06
Publication Date
2026-06-11

Smart Images

  • Figure JP2024043241_11062026_PF_FP_ABST
    Figure JP2024043241_11062026_PF_FP_ABST
Patent Text Reader

Abstract

Provided are: a processing program creation device capable of creating a highly skilled processing program even for an engineer who has little knowledge and experience; and a machine tool. This machining program creation device creates a machining program for controlling a machine tool when machining a workpiece. The machining program creation device executes: a shape information acquisition process for acquiring shape information indicating the shape of a workpiece being machined; a machining proposal table creation process for creating a machining proposal table in which a machining step for machining the workpiece being machined is set on the basis of the shape information acquired through the shape information acquisition process, information about a machine tool to be used for machining the workpiece being machined, and machining knowledge information accumulated in past workpiece machining; and a machining program creation process for creating a machining program for machining the workpiece being machined on the basis of the machining proposal table created through the machining proposal table creation process.
Need to check novelty before this filing date? Find Prior Art

Description

Processing Program Creation Device and Machine Tool 【0001】 The present disclosure relates to a technique for creating a processing program. 【0002】 Patent Document 1 below describes a work instruction sheet creation device that creates a work instruction sheet indicating the work content in each process of a manufacturing line for manufacturing an automobile. The work instruction sheet creation device of Patent Document 1 collects data necessary for performing a process simulation and the like in a data collection storage unit. The work instruction sheet creation device performs a process simulation based on the data collected in the data collection storage unit and creates program data for offline teaching. The work instruction sheet creation device creates a work instruction sheet based on the data used for creating the final program for offline teaching. 【0003】 Japanese Patent Application Laid-Open No. 2000-066704 (paragraphs 0023, 0033) 【0004】 By the way, in the creation of a processing program for controlling a machine tool, conventionally, three methods of "direct input of codes", "input by an interactive function", and "conversion from CAD / CAM" have been used. However, when creating a processing program by these methods, abilities such as the ability to read drawings are required. On the other hand, in recent years, the aging of workers has advanced in the processing industry, and the inheritance of the above-mentioned know-how has been regarded as a problem. In addition, the interests and concerns of young engineers with basic knowledge tend to strengthen in industries other than the processing industry, and the shortage of labor in the processing industry is worsening. For this reason, there is a demand for a technology that enables engineers with little knowledge and experience to create a processing program equivalent to that of skilled workers. 【0005】 The present disclosure has been made in view of the above problems, and an object thereof is to provide a processing program creation device and a machine tool that can create a highly skilled processing program even by engineers with little knowledge and experience. 【0006】To solve the above problems, this specification discloses a machining program creation device for creating a machining program to control a machine tool when machining a workpiece, the device performing: a shape information acquisition process for acquiring shape information indicating the shape of the workpiece to be machined; a machining proposal table creation process for creating a machining proposal table in which machining processes for machining the workpiece are set based on the shape information acquired by the shape information acquisition process, information on the machine tool used to machine the workpiece to be machined, and machining knowledge information accumulated in past machining of the workpiece; and a machining program creation process for creating a machining program for machining the workpiece to be machined based on the machining proposal table created by the machining proposal table creation process. The contents of this disclosure are not limited to implementation as a machining program creation device, but are also extremely useful when implemented as a machine tool equipped with a machining program creation device. 【0007】 According to the machining program creation device and machine tool of this disclosure, the abilities of a skilled machine tool operator, specifically the ability to read drawings necessary for creating machining programs, the ability to understand the characteristics of the machine tool, the ability to select cutting tools, and the ability to determine the machining sequence, can be stored as knowledge data in machining knowledge information. Alternatively, information such as the history of changes in machining conditions and cases where machining failed due to the set machining conditions can be stored in the machining knowledge information. Then, using this machining knowledge information in addition to workpiece shape information and information on the machine tool to be used, a machining suggestion table can be created using, for example, machine learning technology using AI, thereby creating a machining suggestion table with the same level of skill as that of a skilled machine tool operator. Not only are predetermined settings such as theoretical values ​​from the manufacturers of machine tools and cutting tools used, but the know-how of the machining site is also reflected, making it possible to create a machining suggestion table that is more appropriate to the machine tool at the machining site. As a result, by using this machining program creation device, even engineers with little knowledge or experience can create machining programs with the same level of skill as a skilled operator. 【0008】A block diagram of a machine tool according to the first embodiment. A diagram showing the flow of the process for creating an NC program. A diagram showing a machining suggestion table. A diagram showing a machining suggestion table. A diagram showing a machining suggestion table. A diagram showing an example of a combination of workpiece shapes. A diagram showing a machining program creation system including a machining program creation device according to the second embodiment. 【0009】 (First Embodiment) Hereinafter, a first embodiment, which is an embodiment of a machine tool equipped with the machining program creation device of the present disclosure, will be described with reference to the drawings. Figure 1 shows a block diagram of the machine tool 10 of this embodiment. As shown in Figure 1, the machine tool 10 is, for example, a turret-type lathe and includes a work spindle device 11, a turret device 12, an operation panel 13, an external IF (abbreviation for interface) 14, and a control device 15. 【0010】 The workpiece spindle device 11 is equipped with a gripping mechanism for holding a workpiece, such as multiple chuck jaws. The workpiece spindle device 11 grips the workpiece with the gripping mechanism and rotates the workpiece around the workpiece spindle (Z-axis). The workpiece spindle device 11 is equipped with a servo motor, encoder, etc. for rotating the workpiece, and its rotational movement is controlled by the control device 15. Note that the gripping mechanism is not limited to multiple chuck jaws, but may be other mechanisms capable of gripping a workpiece, such as a collet chuck. 【0011】 The turret device 12 includes, for example, a turret (tool post) capable of mounting multiple tools, and a servo motor for rotating the turret. The turret device 12 performs machining on a workpiece held by the workpiece spindle device 11 using cutting tools (such as cutting tools or rotary tools) mounted on the turret. Based on the control of the control device 15, the turret device 12 rotates the turret and changes the cutting tools (cutting tools indexed to the working position) used for machining the workpiece. The machine tool 10 also includes a sliding device for moving the turret device 12 in the X-axis and Y-axis directions, and controls the sliding device to change the position of the turret device 12 (the cutting tools indexed to the working position). 【0012】Furthermore, the control panel 13 is equipped with, for example, a touch panel and multiple operation switches, and performs functions such as displaying information about the machine tool 10 and receiving operation instructions based on the control of the control device 15. In this embodiment, the control panel 13 is also capable of receiving instructions for acquiring shape information (described later), creating a machining suggestion table based on the acquired shape information, and creating an NC program 27. The control device 15 comprises a numerical control device 21 and a PLC 22. The numerical control device 21 comprises a CPU 23 and a storage device 24. The storage device 24 is equipped with, for example, RAM, ROM, flash memory, HDD, etc. Note that the configuration of the storage device 24 is not limited to the above configuration, and may be equipped with an SSD instead of an HDD, or with an external storage device such as a USB memory, or a storage medium such as a DVD-RAM, or a combination of these. 【0013】Furthermore, the external IF 14 has a communication interface, such as a USB interface or a LAN interface. The control device 15 is connected to the external IF 14 and can communicate with an external device via the external IF 14. This external device is, for example, an input / output device such as a scanner or a multifunction printer. The control device 15 can receive image data of workpiece drawings (hereinafter sometimes referred to as workpiece drawings) and processing notes from the external device via the external IF 14. In addition, the external device can be a processing device such as a server, management PC, or tablet. The control device 15 can acquire image data from the processing device and execute processing based on instructions from the processing device via the external IF 14. For this reason, the machine tool 10 may receive instructions to execute a scan or instructions to create an NC program 27, which will be described later, from an external processing device. Alternatively, the external device may be another machine tool. In addition to the communication interface, the external IF 14 also has an audio input interface such as a microphone. The control device 15 can acquire user voice data using the external IF 14 with a voice recognition function. Furthermore, the control device 15 may acquire audio data from a management PC or tablet connected to the external IF 14. In addition, the control device 15 can input and output data via a chat function using a processing device (tablet, etc.) connected via the control panel 13 or the external IF 14. 【0014】 Furthermore, the machine tool 10 includes a control device 15 and a plurality of drive circuits 25 that connect each of the above-mentioned devices (work spindle device 11, turret device 12, and control panel 13). The numerical control device 21 can control each device via the drive circuits 25 by executing the NC program 27 stored in the storage device 24 with the CPU 23. The drive circuits 25 are, for example, driver circuits (servo amplifiers). 【0015】The PLC 22 is a Programmable Logic Controller. The PLC 22, for example, executes ladder programs and processes various signals sequentially using ladder circuits. These various signals include, for example, output signals that drive various elements such as lamps provided by the machine tool 10, and input signals received from elements such as limit switches. The PLC 22 is connected to the numerical control device 21 via the communication bus 26 and performs signal input and output with the numerical control device 21. 【0016】 Furthermore, the storage device 24 stores an acquisition program 28, a database 29, and a creation program 30. The acquisition program 28 includes, for example, a driver program for a scanner, and is a scanning program that controls the scanner to create image data from work drawings, etc. The control device 15 executes the acquisition program 28 on the CPU 23 to acquire image data for creating the NC program 27 from a scanner connected to the external IF 14. The control device 15 then performs the process of creating the NC program 27 based on the acquired image data (shape information 31) and registering the image data as shape information 31 in the database 29. 【0017】 Furthermore, the database 29 stores information necessary for creating the NC program 27, such as shape information 31, machining theory information 32, machining knowledge information 33, and machine tool information 34. Shape information 31 is information indicating the shape of the workpiece, such as image data scanned from the workpiece drawing mentioned above. Machining theory information 32 is data of pre-set values, such as theoretical values ​​of machining conditions. Machining knowledge information 33 is information that constitutes know-how at the machining site, such as a machining proposal table showing the machining process, a change history of the machining proposal table, and information on machining failures. Machine tool information 34 is information about machine tool 10 or other machine tools. In addition, machine tool information 34 includes information on executable code types. Note that the shape information 31, machining theory information 32, machining knowledge information 33, and machine tool information 34 in the database 29 may be partially overlapping information, or all of the information may be of different types. 【0018】The creation program 30 is a program for creating an NC program 27 from a machining proposal table. The creation program 30 includes, for example, a conversion program that codes each machining process included in the machining proposal table (see Figures 4 and 5) into M codes, G codes, etc., as well as an assistant program and an AI program. The assistant program includes, for example, a program for executing voice recognition and chat functions. The control device 15 creates the NC program 27 from the machining proposal table by executing the AI ​​program and conversion program of the creation program 30 on the CPU 23. Details of the import program 28, the database 29, and the creation program 30 will be described later. 【0019】 Note that the configuration of the machine tool 10 shown in Figure 1 is just one example. For example, the machine tool 10 may be a lathe equipped with multiple sets of workpiece spindle devices 11 and turret devices 12, or it may be a so-called multi-tasking machine equipped with a tool spindle device in addition to the turret device 12. Therefore, the machine tool disclosed in this disclosure is not limited to a lathe, but can be a machine tool with various configurations such as a machining center, milling machine, or drilling machine. Furthermore, the machine tool disclosed in this disclosure can be equipped with various devices whose operation can be controlled by a machining program. Also, Figure 1 shows only a part of the devices that the machine tool 10 is equipped with. For this reason, the machine tool 10 may also be configured to include a loader for transporting the workpiece, a turning device for turning the workpiece, a measuring device for inspecting the workpiece after machining, etc. 【0020】 Furthermore, the machine tool 10 may be equipped with a wireless communication interface as an external IF 14. Alternatively, the external IF 14 is not limited to a communication interface, but may also be a device capable of detecting the shape of the workpiece, such as a camera or millimeter-wave radar. Therefore, in addition to a communication interface for communicating with external devices, various other devices can be used as the external IF. 【0021】Furthermore, the database 29 may be configured to not contain at least one of the shape information 31 and the machining theory information 32. Also, the machine tool 10 may be configured not to contain the data acquisition program 28. In this case, the control device 15 may acquire the shape information 31 stored in the database 29 and create a machining suggestion table and an NC program 27. Also, the machine tool 10 may be configured to have a user interface other than the control panel 13, such as a portable user interface like a teaching pendant. 【0022】 (Regarding the creation of the NC program 27) Next, the process of creating the NC program 27 using the machine tool 10 with the above configuration will be described. Figure 2 shows the flow of the process of creating the NC program 27. As shown in Figure 2, the control device 15 of this embodiment executes a shape information acquisition process (step 1) by executing an acquisition program 28 on the CPU 23 to acquire shape information 31 indicating the shape of the workpiece to be machined. The control device 15 also executes a machining proposal table creation process (step 2) by executing a creation program 30 on the CPU 23, for example, by creating a machining proposal table using AI technology, and a machining program creation process (step 3) by creating an NC program 27 to machine the workpiece based on the machining proposal table. For example, the control device 15 starts the processes of steps 1 to 3 based on a predetermined operation input to the control panel 13. The control device 15 may execute the processes of steps 1 to 3 individually, or they may execute them sequentially as a series of processes. In this disclosure, AI technology refers to, for example, technology that enables computers to perform tasks similar to human intelligence, and various technologies such as machine learning, deep learning, Bayesian statistics, and genetic algorithms can be selected and combined. Furthermore, the control device 15 may create the processing proposal table in the processing proposal table creation process of step 2 using methods other than AI technology. 【0023】In the following description, the control device 15 that executes the acquisition program 28 and the creation program 30 on the CPU 23 may be simply referred to as the control device 15. The control device 15 executes the shape information acquisition process in step 1 (hereinafter simply referred to as S). The shape information 31 that indicates the shape of the workpiece in this disclosure is image data obtained by scanning a workpiece drawing on paper media, or image data obtained by scanning a drawing in which the shape of the workpiece is hand-drawn. Alternatively, the shape information 31 may be CAD drawing data of a 2D or 3D workpiece, data with the extension pdf, or 2D graphic data in dxf format. Furthermore, the shape information 31 may be photographic data or video data of the workpiece. Specifically, the shape information 31 may be photographic data or video data that shows the workpiece before and after processing. Therefore, various types of information that can represent the shape of the workpiece can be used as the shape information 31 stored in the database 29, such as image data obtained by scanning a drawing on paper media, drawing data in a specific data format, photographs, and videos. 【0024】 As described above, the control device 15 can connect to a scanner via an external IF 14, and can acquire image data of paper work drawings, etc., read by the scanner as shape information 31. The user reads the work drawing in accordance with predetermined operation inputs to the control panel 13 described above. Alternatively, the user may operate the control panel 13 to select data (such as image data of the work drawing) for creating a machining proposal table or NC program 27 from the data previously stored in the shape information 31 of the database 29, and instruct the creation of the NC program 27 for the selected data. The control device 15 may also import machining theory information 32, machining knowledge information 33, and machine tool information 34 from image data, etc., into the database 29, similar to the shape information 31. In the following explanation, to avoid making the explanation complicated, an example will be given of creating a machining proposal table or NC program 27 by importing image data of a scanned paper work drawing. 【0025】Here, if the user of the machine tool 10 does not use the machining program creation device of this disclosure, they will create the NC program 27 in the following steps 1 to 4. First, as the first task, the user will perform a review of the machining process. In this task, the user will determine the machining locations on the workpiece, the machining sequence, and the material. Also, if machining is performed using multiple machine tools 10, the user will select the machine tool for each machining process. 【0026】 Next, as the second task, the user selects the cutting tool, selects the jig, and sets the machining conditions for each machining process. Then, as the third task, the user creates a machining proposal table based on the results of the first and second tasks described above. Finally, as the fourth task, the user creates an NC program 27 from the machining proposal table using one of the following methods: direct code input, input using interactive functions, or conversion from CAD / CAM. 【0027】 Performing the above-mentioned tasks 1 to 4 appropriately requires various knowledge, experience, and know-how. Therefore, the machine tool 10 provides the AI ​​with shape information 31 read from the workpiece drawing and information stored in the database 29 to automatically create a machining proposal table. Specifically, the control device 15 sets the order of the machining processes in the machining proposal table and the machining conditions (machining settings and time settings) for each machining process based on the workpiece drawing, machining theory information 32, machining knowledge information 33 (past machining proposal tables), and machine tool information 34 from the database 29 (see Figures 3 to 5). 【0028】In S2, the control device 15 uses AI technology to create a machining proposal table 41 in which machining processes for machining the workpiece are set, based on the shape information 31 acquired by the shape information acquisition process in S1, information on the machine tool used to machine the workpiece to be machined (machine tool information 34), machining theory information 32, and machining knowledge information 33 accumulated in past workpiece machining. In the following explanation, we will describe the case in which an NC program 27 is created for machining the workpiece of the read workpiece drawing using the machine tool 10. For this reason, the machine tool information 34 will be the information of the machine tool 10 (specification information, etc.). However, when creating an NC program 27 to be used with another machine tool, the NC program 27 can be created by using the machine tool information 34 of that machine tool, similar to the case of machine tool 10. 【0029】 The following describes an example of creating a machining proposal table and an NC program 27 using AI technology. For example, the control device 15 determines the machining locations and machining sequence of the workpiece based on the image data (shape information 31) of the workpiece drawing acquired in S1. As shown in Figure 2, for example, the workpiece drawing includes the shape, dimensions, center line, leader line, drawing scale, creation date, creator name, workpiece name, etc. In addition to the machining shapes of the side and front, the workpiece drawing may also show other lines and characters such as dimension lines, center lines, and leader lines. On the other hand, generally, the outline lines that indicate the machining shape are drawn with thicker lines than other lines. Preferably, the outer diameter line is drawn with the thickest line among the multiple lines included in the drawing. Therefore, the control device 15 detects the thickest line among the multiple lines included in the image data of the drawing as the outline line that indicates the machining shape of the workpiece. The control device 15 also detects additional information such as dimension values ​​and dimension lines in the drawing. Techniques for detecting information such as processed shape and dimensions from such drawings and photographs can be performed using OCR technology, image processing technology, or AI technology (such as machine learning). Furthermore, if the control device 15 misrecognizes outer diameter lines, dimension lines, shapes, or dimensional values ​​due to the printing accuracy or wrinkles / distortion of the printed material, it may perform correction processing such as color correction or edge detection. 【0030】The control device 15 determines the machining locations and machining order based on the machining shape detected from the image data of the workpiece drawing. For example, the AI ​​program of the creation program 30 includes a program that has been trained using machine learning to determine the machining locations and machining order from the machining shape. This machine learning is, for example, supervised learning in which the training data is taught with correct answers provided. For example, an experienced user with knowledge and technical skills may perform teaching operations to specify the machining content and machining order from the machining shape of the workpiece for multiple types of workpiece drawings, and train the system to learn the order of these operations. The control device 15 may also perform machine learning after the operation of the machine tool 10 has started. Based on the conditions, rules, and characteristics of the determination method learned by machine learning, the control device 15 determines the machining locations, machining order (order of machining processes), and machining conditions, which will be described later, from the machining shape. 【0031】 For example, the control device 15 learns through machine learning the relationship between the machining location, machining shape, location where dimension values ​​are indicated, location indicated by dimension lines, etc., on the workpiece drawing, and the type of machining content (internal diameter machining, external diameter machining, end face machining, etc.) performed on that machining location. Based on the conditions learned through machine learning, the control device 15 determines the machining content for the machining location where dimension values ​​are indicated on the workpiece drawing, and detects the determined machining content (e.g., internal diameter machining) in association with the dimension values ​​in the drawing. The control device 15 also learns through machine learning the conditions for determining the machining order from the relationship between the machining shape, machining location, and determined machining content. Based on the conditions learned through machine learning, the control device 15 determines the machining order for the machining locations where the machining content has been determined. Furthermore, the control device 15 may also learn through machine learning the conditions for determining the shape of the base material and the amount of material removed based on the machining shape, and determine the base material shape and amount of material removed from the machining shape. 【0032】Furthermore, the control device 15 determines the cutting diameter based on dimension lines and dimension values ​​detected from the workpiece drawing. The control device 15 also determines the cutting diameter based on the scale indicated in the workpiece drawing. In addition, if the control device 15 detects a string of characters indicating the material of the workpiece (aluminum, carbon steel, etc.) from the workpiece drawing, it determines the material from the detected string of characters. The control device 15 determines the machining position, machining sequence, cutting diameter, material, etc. in the machining proposal table using the above determination methods. 【0033】 Furthermore, the machining knowledge information 33 stores, for example, information from the machining proposal table, a change history of the machining proposal table, and information on machining conditions when machining fails. The machining proposal table is data that includes each machining process of the workpiece (machining conditions, etc.) and information about the workpiece (material, etc.). The control device 15 can create an NC program 27 from this machining proposal table by executing the program 30 created by the CPU 23. The machining proposal table may also include information on the cycle time related to the machining of the workpiece (cycle time for each machining process, overall cycle time, loader cycle time, etc.) and information on the machine configuration of the machine tool 10. For this machining proposal table, for example, a table in the data format disclosed in International Publication WO2024 / 095400, International Publication WO2024 / 095401, International Publication WO2024 / 095402, and International Publication WO2024 / 224551 can be adopted. 【0034】 Figures 3 to 5 show an example of a machining proposal table 41. Figure 3 shows the data that constitutes the basic information of the machining proposal table 41. The machining proposal table 41 includes a figure 43 showing the shape of the workpiece, information 44 indicating the workpiece name and material, and information 45 about the machine tools and chucks used in each machining process. Figure 4 shows the left side of the detailed information table for each machining process included in the machining proposal table 41, and Figure 5 shows the right side. As shown in Figure 4, the machining proposal table 41 includes, for example, machine tool model information, machining process identification information, cutting tool identification information, required precision (tolerance), the shape of the cutting tool used, and machining details. 【0035】Furthermore, as shown in Figure 5, the machining proposal table 41 contains machining settings such as cutting diameter and workpiece rotation speed, as well as time settings such as cutting time and positioning time, for each machining process. In the machining proposal table creation process of S2, the control device 15 automatically sets the information obtained and determined from the workpiece drawing, i.e., information such as machining content, machining sequence, and cutting diameter, into each item of the machining proposal table 41 using AI technology. This allows the machining proposal table 41 to be automatically generated based on the information read from the workpiece drawing. For example, the AI ​​program of the creation program 30 uses the generation AI to perform machine learning that repeatedly inputs image data of the workpiece drawing, classifies the detected information, and generates the machining proposal table 41. The AI ​​program learns in advance the correspondence between the classified information and each item of the machining proposal table 41, and learns which item of the machining proposal table 41 should be input when certain information is detected and classified. Preferably, the control device 15 can perform the automatic creation of the machining proposal table 41, and by extension, the NC program 27, from the workpiece drawing. 【0036】 Furthermore, the control device 15 sets items (information) such as cutting tools and machining conditions (machining setting values, time setting values) shown in Figures 3 to 5 for each machining process in the machining proposal table 41, based on machining theory information 32, machining knowledge information 33, and machine tool information 34, in addition to the machining shape etc. of the work drawing. For example, the machining theory information 32 contains information related to cutting tools, specifically, a drawing of the cutting tool, numerical values ​​indicating the shape of the cutting tool (nose radius, cutting angle, drill diameter, etc.), and information indicating the machining conditions of the cutting tool (target work material, feed rate, rotational speed, etc.). These values ​​for machining conditions such as feed rate and rotational speed are, for example, theoretical values ​​(recommended values) set by the cutting tool manufacturer for each work material. 【0037】Furthermore, the machine tool information 34 includes information such as the machine's functions and specifications for machine tool 10 or other machine tools. Specifically, the machine tool information 34 includes machine information necessary for creating the machining proposal table 41, such as the type of cutting tool attached to the turret and the holder number indicating the mounting position of the cutting tool. The machine tool information 34 also includes information necessary for determining machining conditions, such as the maximum rotational speed of the workpiece spindle unit 11. In addition, the machine tool information 34 includes information necessary for determining the time required for indexing, positioning, and retracting the cutting tool, such as the turret's rotational speed and the movement speed that moves the turret in the XY axis direction. Information such as the loader's movement speed may also be included in the machine tool information 34. Furthermore, if the cutting tool is changed in accordance with the setup change, the information in the machine tool information 34 is updated. Also, if the specifications are updated due to a software update, the information in the machine tool information 34 is updated. 【0038】The control device 15, for example, inputs machining theory information 32, machining knowledge information 33, and machine tool information 34 into the generating AI to create an optimal machining suggestion table 41 that matches the machining shape of the workpiece shown in the workpiece drawing. The control device 15 increases the number of machining suggestion tables 41 and machining processes by changing the combination of set data for each of the past machining suggestion tables 41 stored in the machining knowledge information 33. For example, the control device 15 changes the combination of material, cutting tool type, machining setting value, time setting value, etc. set in the past machining suggestion table 41 using AI technology. The control device 15 also performs processing to change the combination within a range that is feasible in actual production. As a result, the control device 15 can increase the number of machining suggestion tables 41 and machining processes from several hundred to several thousand. The range that is feasible in actual production, as used here, is the range within which production can be continued without machining defects, machine failures, or errors occurring, depending on the specifications of the machine tool 10 used, the capabilities of the cutting tools, etc. In other words, the range that can be executed in actual production is the range in which the workpiece can be processed normally. Also, for example, if the processing knowledge information 33 contains a processing proposal table 41 using cutting tool A as a past record, but there is no processing proposal table 41 or processing process using cutting tool B that is to be used this time, the AI ​​can newly generate a processing proposal table 41 or processing process using cutting tool B from the past processing proposal table 41 or processing process using cutting tool A. The control device 15 can create a processing proposal table 41 or processing process using cutting tool B by changing the processing settings etc. in accordance with the change in the type of cutting tool (change from A to B). Similarly, if the processing knowledge information 33 contains a processing proposal table 41 or processing process using workpiece material A as a past record, but there is no processing proposal table 41 or processing process using material B that is to be used this time, the AI ​​can newly create a processing proposal table 41 or processing process using material B from the past processing proposal table 41 or processing process using material A. 【0039】The control device 15 modifies the combinations and settings / types of material, cutting tool, machining conditions, machining sequence, etc., in the generation of the machining suggestion table 41 and machining processes by AI as described above (processing to increase the types and combinations). As described above, the machining knowledge information 33 contains information from multiple machining suggestion tables 41 related to workpieces that have been machined in the past. In S2, the control device 15 performs at least one change from among changing the combination of machining processes included in each of the multiple machining suggestion tables 41 that have been machined in the past, changing the material of the workpiece, changing the cutting tool used for each machining process, and changing the machining conditions for each machining process. The control device 15 uses AI technology to set the combination of the material of the workpiece, the cutting tool for each machining process, and the machining conditions for each machining process according to the workpiece to be machined. 【0040】 For example, the control device 15 selects a cutting tool to be used according to the material of the workpiece, machining position, machining content, and machine tool information 34 (information on available cutting tools) detected from the workpiece drawing, and sets the tool number and tool shape shown in Figure 4. The control device 15 also determines the machining settings and time settings shown in Figure 5 based on the selected cutting tool, the material of the workpiece, machining theory information 32 (information on feed rate and rotational speed according to the material), and machine tool information 34 (information on tool indexing time). Based on the contents of the determined machining proposal table 41 and the machining knowledge information 33, the control device 15 performs actions such as changing the settings in the machining proposal table 41, changing the machining order, and setting any missing settings to generate a more appropriate machining proposal table 41. 【0041】 For example, the control device 15 searches for machining processes that are the same as or similar to each machining process in the machining proposal table 41 determined from the workpiece drawing, among the machining processes included in the past machining proposal table 41 stored in the machining knowledge information 33 and the machining proposal table 41 generated by the above-described generation AI increase process (hereinafter referred to as past machining proposal table 41, etc.). For example, the control device 15 searches for machining processes that have the same workpiece material, machining content, cutting tool used, machining position, etc., and sets the precision (dimensional tolerance in Figure 4, etc.) set for the searched machining processes to each machining process in the machining proposal table 41 determined from the workpiece drawing. 【0042】Furthermore, the control device 15 may adjust the settings and processing order of each processing step based on information such as past processing suggestion tables 41. For example, the control device 15 may prioritize setting the settings for each processing step based on past processing suggestion tables 41 that have a high processing record (number of workpieces processed), processing suggestion tables 41 that have received high user ratings, and processing suggestion tables 41 that produced products with high processing accuracy. Also, for example, when determining the processing order, the control device 15 may prioritize adopting the processing order with the shortest cycle time among past processing suggestion tables 41. This makes it possible to derive the optimal processing step for processing the workpiece shown in the workpiece drawing captured by scanning. The control device 15 can combine the processing steps included in past processing suggestion tables 41, change the settings, and generate a more appropriate processing suggestion table 41 according to the workpiece. When processing is performed using multiple machine tools 10, the control device 15 may also accept the selection of the machine tool 10 to be used for each processing step. Furthermore, the control device 15 may also perform the same operation on information other than the information described above, such as the selection of jigs. In addition, the control device 15 does not need to use AI technology when setting the combination of workpiece material, cutting tool for each processing step, and processing conditions for each processing step according to the workpiece to be processed. For example, the control device 15 may determine the necessary combination data using a database in which combinations of material, cutting tool, and processing conditions are set. Alternatively, the control device 15 may determine the processing conditions using an expression that calculates the processing conditions according to the material and cutting tool. 【0043】Further, when the control device 15 generates insufficient information when setting the combination of the above-described workpiece material, cutting tool for each machining process, and machining conditions for each machining process according to the workpiece to be machined, for example, it uses a voice recognition function or a chat function to interactively inquire about the insufficient information. As described above, the control device 15 has a voice recognition function and a chat function. The control device 15 acquires the user's voice data via the microphone of the external IF 14 by executing the assistant program of the creation program 30 with the CPU 23. The control device 15 performs voice recognition processing on the voice data input via the external IF 14 by the assistant program (see S4 in FIG. 2), and utilizes the recognized voice data for the creation of the machining proposal table 41 using AI technology (S2). 【0044】 For example, when the machining process of the same material as the material of the workpiece to be machined cannot be found in the past machining proposal table 41 and the material is changed for the machining process in which the cutting tool, machining position, and machining content match, the control device 15 sets the machining set value based on the information of the machining theory information 32, that is, the information such as the feed rate for each workpiece material. Then, the control device 15 inquires the user about the information on machining accuracy and cycle time for that machining process. The control device 15 receives, via voice input via the external IF 14, the information on machining accuracy required for that machining process and the information on required cycle time, by means of an interactive voice recognition function using an assistant program and an AI program. Similarly, when creating a machining process with a changed cutting tool type for the machining process in the past machining proposal table 41, etc., the control device 15 may also execute an inquiry by the voice recognition function about the insufficient information. The control device 15 may receive, by the voice recognition function, the items insufficient for the creation of the machining proposal table 41 for each item of the machining proposal table 41 shown in FIGS. 3 to 5. 【0045】For example, the control device 15 may ask the user questions such as, "What is the dimensional tolerance value for process 10?" or "Is the machining content for process 10 internal diameter machining?" The user provides voice input such as, "The dimensional tolerance is XXX." This allows the user to receive support for matters that are difficult to determine or for which information is missing, even with the use of work drawings, the database 29, and AI technology. The control device 15 may also inquire about information that cannot be detected from the work drawings or information that could not be detected. For example, the control device 15 may ask the user, "What is the material of the workpiece?" In addition, information such as know-how-related machining conditions that only remain in the memory of skilled workers, or handwritten notes that can only be deciphered by the person who wrote them, may also be input as voice data. This allows the know-how of skilled workers to be accumulated in the machining conditions of the machining knowledge information 33, and the know-how can be reflected in the creation of the machining proposal table 41. Furthermore, when the control device 15 receives a change in any of the information (settings, etc.) from the user, it may also accept the reason for the change. Furthermore, the control device 15 does not need to interactively perform inquiries regarding the processing accuracy and other matters mentioned above. 【0046】 Furthermore, the missing information is not limited to the information in each item of the machining proposal table 41 described above. For example, in the internal diameter machining process, information on the shank diameter may be necessary to avoid contact between the workpiece and the cutting tool. Also, to determine whether the setting values ​​for a machining process requiring high machining accuracy have been set correctly, information such as the cutting tool protrusion amount (the amount that protrudes from the turret holder) and the shank rigidity value may be necessary. The control device 15 may use its voice recognition function to inquire with the user for the information necessary to suppress the occurrence of cutting tool interference and to meet the required machining accuracy. 【0047】Further, the control device 15 may execute an inquiry by means of a chat function instead of or in addition to the above-described voice recognition function. The control device 15 executes the assistant program of the creation program 30 by the CPU 23, and uses a processing device (such as a tablet) connected via the operation panel 13 or the external IF 14 to execute an inquiry by means of the chat function about the missing information. Also in this case, the control device 15 executes an inquiry by means of an interactive chat function using, for example, AI technology, and executes setting and changing of the processing accuracy, processing content, processing conditions, etc. of the processing proposal form 41 being created. The user can set each information in the same manner as the voice recognition function by answering the question interactively. 【0048】 Incidentally, the control device 15 may be configured to execute an inquiry about the missing information using at least one of the voice recognition function and the chat function in S4. Further, the method of inputting an inquiry about the missing information and other information is not limited to the above-described functions, and for example, a method of handwriting input or a method of determining and inputting the input content from the line of sight may be used. 【0049】Furthermore, as shown in Figure 5, the machining proposal table 41 includes fields for inputting whether the set machining settings are theoretical or actual values ​​(selection fields in Figure 5) and for inputting the reason (reason fields in Figure 5). Theoretical values ​​are, for example, theoretical values ​​recommended by the cutting tool manufacturer, and are set according to the material of the workpiece, the type of cutting tool, etc. Specifically, theoretical values ​​are set for machining settings such as cutting speed depending on the material, such as carbon steel, chromium-molybdenum steel, aluminum alloy, and ductile cast iron, and the type of cutting tool, such as cutting tools, drills, and end mills. Actual values ​​are, for example, values ​​changed after trial cutting, or values ​​adjusted based on the experience and past results of skilled users. Theoretical values ​​can be used as is as machining settings, or adjustments may be necessary. For this reason, users may change the machining settings when creating the machining proposal table 41. Alternatively, users may create the NC program 27, perform trial cutting, and then modify the NC program 27 by changing the machining settings. Users change the machining settings by operating the control panel 13, for example. The "Reason" field is where the reason for selecting or changing theoretical or actual values ​​is entered. In other words, the "Reason" field shows information about changes to processing settings, etc. This change history is also stored in the database 29 as processing knowledge information 33 and is machine-learned using AI technology. As a result, the accuracy of creating a processing suggestion table 41 according to the processing shape of the workpiece, based on the workpiece drawing and the information in the database 29, can be improved. For example, if information on similar processing content or processing conditions has been registered in the past, and there is a history of changing from theoretical values ​​to actual values ​​in the past, the changed actual values ​​can be set when creating a new processing suggestion table 41. In addition, the control device 15 can set more appropriate settings for the processing process by learning from machine learning when to set theoretical or actual values. 【0050】Therefore, as described above, the machining proposal table 41 includes information on the material of the workpiece (see Figure 3), information on the cutting tools used for each machining process (see Figure 4), and information on the machining conditions for each machining process (see Figure 5). The machining knowledge information 33 includes information on machining proposal tables 41 related to workpieces that have been machined in the past, and information on changes to the machining conditions in the machining proposal table 41 (see Figure 5). In S2, the control device 15 uses AI technology to create a machining proposal table 41 based on the information on the machining proposal table 41 and the information on changes to the machining conditions included in the machining knowledge information 33. With this, for example, by recording theoretical values ​​(manufacturer's recommended values), actual values ​​(values ​​changed from the recommended values), and the reasons for changing those values ​​as change history, a machining proposal table 41 corresponding to the machining shape of the workpiece drawing can be appropriately created. In other words, past know-how such as change history can be reflected in the creation of a new machining proposal table 41. Furthermore, the information regarding changes to the machining conditions in this disclosure is not limited to information regarding changes to the machining settings described above, but may also include the material of the workpiece, the type of cutting tool, or the history and reasons for changes to the machining content. In addition, the control device 15 may create the machining suggestion table 41 in S2 without using AI technology. For example, the control device 15 may automatically change the machining conditions in the created machining suggestion table 41 to the changed machining conditions based on past information regarding changes to the machining conditions. 【0051】 Furthermore, as shown in Figures 1 and 2, the machining knowledge information 33 contains failure information for machining failures. Specifically, the failure information indicates what kind of machining failure occurred when machining was performed using a combination of the machine tool 10, workpiece material, cutting tool, machining content, and machining settings. In this disclosure, machining failures include, for example, the occurrence of so-called chatter, burr formation, chip entanglement, or tool breakage. By storing information such as the settings that were set in the machining process when such failures occurred in the database 29, it is possible to change the machining settings, etc., in the same way as the actual values ​​mentioned above. 【0052】Therefore, the machining knowledge information 33 in this embodiment includes information indicating the content of the machining process in cases where machining failed in past workpiece machining. In the machining proposal table creation process of S2, the control device 15 restricts the creation of a machining proposal table 41 that includes machining processes identical or similar to machining processes in cases where machining failed in past workpiece machining, when a machining proposal table 41 in which machining processes for machining the workpiece to be machined are set is created using AI technology. 【0053】 Specifically, the control device 15 creates a machining process based on, for example, a workpiece drawing, a database 29, etc., setting values ​​according to the material and machining shape of the workpiece. Then, it detects machining processes with failure information that are identical or similar in content to the setting values ​​(machining content, machining setting values, etc.) of the machining process from the machining knowledge information 33. For example, the control device 15 calculates the similarity between two machining processes (including material) using a predetermined calculation formula. If the calculated similarity is above a predetermined threshold, the control device 15 excludes that machining process from the list of candidates to be included in the machining proposal table 41 being created. Alternatively, the control device 15 changes the setting values ​​of that machining process. The control device 15 changes the setting value of the machining process that is more similar. The control device 15 changes the setting values ​​so that the similarity is below the threshold. This suppresses the setting of machining processes that have previously resulted in machining defects or other failures. This suppresses the occurrence of machining defects or errors when machining is performed by executing the NC program 27. 【0054】Furthermore, in creating the machining proposal table 41 in S2, the control device 15 may use AI technology to determine the combination of workpiece shapes and create the machining proposal table 41. As shown in Figure 3, the machining proposal table 41 includes workpiece shape information 43. In addition, the machining knowledge information 33 includes information on multiple machining proposal tables 41 related to workpieces that have been machined in the past. In the machining proposal table creation process in S2, the control device 15 uses AI technology to determine the shape of the workpiece to be machined from among the shapes that combine the shapes of each workpiece in the multiple machining proposal tables 41 included in the machining knowledge information 33. The control device 15 may also set the machining process for machining the workpiece to be machined from the machining process information of the determined combination machining proposal table 41. Alternatively, the control device 15 may determine the shape of the workpiece to be machined by shape matching technology without using AI technology. 【0055】 Figure 6 shows an example of a combination of workpiece shapes (machining shapes). Figure 6 also shows side views of workpieces W1, W2, and W3. Note that Figure 6 is just one example; the control device 15 may also determine the shapes of workpieces W1 to W3 in three dimensions by combining the side views and front views, etc. 【0056】 For example, let's explain the process of creating a machining proposal table 41C for the workpiece W3 on the right side of Figure 6. The machining shape of workpiece W3 is a combination of an annular member with a groove formed on its outer circumference and a cylindrical member. Workpiece W1 is a workpiece that can be machined using a past machining proposal table 41A stored in machining knowledge information 33. The shape of workpiece W1 is an annular shape with a groove formed on its outer circumference, which is part of workpiece W3. Workpiece W2 is a workpiece that can be machined using a past machining proposal table 41B stored in machining knowledge information 33. The shape of workpiece W2 is a cylindrical shape, which is part of workpiece W3. 【0057】The control device 15, for example, detects the machining shape of workpiece W3 from the image data of the workpiece drawing, and uses AI technology to determine the shape of workpiece W3, that is, the shape of workpieces W1 and W2 combined, from among the shapes that combine the shapes of each workpiece (shapes of information 43) in multiple machining proposal tables 41 contained in machining knowledge information 33. The control device 15 sets the machining process for workpiece W3 based on the machining process information of machining proposal tables 41A and 41B for the determined combination. For example, the control device 15 sets a machining proposal table 41 in which the machining process of machining proposal table 41B for workpiece W2 is added after the machining process of machining proposal table 41A for workpiece W1, and sets this as machining proposal table 41C for workpiece W3. This makes it possible to find a combination that matches the shape of the new workpiece W3 from the shapes of past workpieces W1 and W2 and create a machining proposal table 41C. A new machining proposal table 41C can be created quickly and accurately based on the machining proposal tables 41A and 41B with past results. 【0058】 The method of creating the machining proposal table 41 by combining the shapes described above is just one example. The control device 15 may create one machining proposal table 41 by combining machining shapes from three or more machining proposal tables 41. The control device 15 may also use AI technology to determine the similarity between the machining shape shown in the work drawing image data (work W3, etc.) and the machining shapes from past machining proposal tables 41. If the similarity is above a predetermined threshold, the control device 15 creates a new machining proposal table 41 by combining past machining proposal tables 41. If the similarity is below the threshold, the control device 15 may execute a process to create a machining proposal table 41 from the machining shapes described above using machining theory information 32, machining knowledge information 33, and machine tool information 34. 【0059】Next, as shown in Figure 2, the control device 15 executes the machining proposal table creation process (S2), and then executes the machining program creation process (S3). The control device 15 creates an NC program 27 based on the machining proposal table 41 created in S2 (S3). The machining theory information 32 stores, for example, the NC programs 27 created from each machining proposal table 41 in the machining knowledge information 33, sample programs for the NC programs 27, and a list of G codes and M codes. The control device 15 codes each machining process based on the setting values ​​of each machining process in the created machining proposal table 41 and the machining knowledge information 33, and creates an NC program 27. In this way, an NC program 27 can be created by coding each machining process in the machining proposal table 41 created from the workpiece drawing. Based on the imported workpiece drawing, an NC program 27 can be created to machine the workpiece shown in that workpiece drawing. 【0060】 Incidentally, the correspondence between the terms used in the first embodiment and the terms used in the claims will be explained below. In the first embodiment described above, the control device 15 is an example of a machining program creation device. The NC program 27 is an example of a machining program. The machine tool information 34 is an example of machine tool information. The information 44 is an example of workpiece material information. 【0061】 As described above, the first embodiment provides the following effects. The control device 15, which is one aspect of the present invention, creates an NC program 27 to control the machine tool 10 when processing a workpiece. The control device 15 acquires shape information 31 indicating the shape of the workpiece to be processed (S1: Shape information acquisition process). The control device 15 also uses AI technology to create a processing proposal table 41 in which processing steps are set for processing the workpiece to be processed, based on the shape information 31 acquired by the shape information acquisition process, information on the machine tool 10 used to process the workpiece to be processed, and processing knowledge information 33 accumulated in past workpiece processing (S2: Processing proposal table creation process). The control device 15 creates an NC program 27 to process the workpiece to be processed based on the processing proposal table 41 created by the processing proposal table creation process (S3: Processing program creation process). 【0062】According to this, by having the generating AI perform machine learning on the workpiece shape information 31, the information of the machine tool 10 to be used (machine tool information 34), and machining knowledge information 33 to create a machining suggestion table 41, it is possible to create a machining suggestion table 41 with a high level of skill, similar to that of a skilled machine tool 10 operator. Not only are predetermined settings such as theoretical values ​​from the manufacturers of the machine tool 10 and cutting tools used, but the know-how of the machining site is also reflected, making it possible to create a machining suggestion table 41 that is more appropriate to the machine tool 10 at the machining site. As a result, even engineers with little knowledge or experience can create NC programs 27 with a level of skill equivalent to that of a skilled operator. For example, it is possible to create an NC program 27 with the shortest cycle time or optimal machining conditions. 【0063】 (Second Embodiment) Next, a second embodiment of the present disclosure will be described. In the first embodiment described above, the case in which the control device 15 of the machine tool 10 is used as the machining program creation device of the present disclosure was described, but the present disclosure is not limited to this. The machining program creation device of the present disclosure may be a device other than a machine tool. Figure 7 shows a machining program creation system 51 including a machining program creation device 52 according to the second embodiment. In the following description of the second embodiment, the same reference numerals will be used for the same components as in the first embodiment described above, and their descriptions will be omitted as appropriate. 【0064】 As shown in Figure 7, the machining program creation system 51 comprises a machining program creation device 52 and client terminals 54 installed in each production plant 53. The machining program creation device 52 is, for example, a server connected to a WAN 55 such as the Internet, and includes a CPU 57, a user interface 58 such as a mouse and keyboard, a network interface 59 connected to the WAN 55, and a storage device 60. 【0065】The storage device 60 stores the NC program 27, the acquisition program 28, the database 29, and the creation program 30, similar to the storage device 24 in the first embodiment. The machining program creation device 52 provides, for example, the functions performed by the machine tool 10 in the first embodiment as a service over the network. The client terminal 54 is, for example, a PC that manages the machine tool installed in the production factory 53. Alternatively, the client terminal 54 may be a terminal capable of running CAD or CAM (Computer-Aided Manufacturing) applications. 【0066】 Even with this configuration, similar to the first embodiment described above, it is possible to extract shape information 31 from the workpiece drawing, create a machining proposal table 41 based on the extracted information, inquire about missing information using voice recognition and chat functions when creating the machining proposal table 41, and create an NC program 27 based on the created machining proposal table 41. The storage device 60 stores, for example, an OS 61 that functions as a web server. The machining program creation device 52 accepts access to the web page from the client terminal 54 by executing the OS 61 with the CPU 57. The machining program creation device 52 performs the shape information acquisition process (S1), machining proposal table creation process (S2), machining program creation process (S3), missing information inquiry process (S4), etc. shown in Figure 2, with the client terminal 54 via the WAN 55. As a result, a user operating the client terminal 54 in the production factory 53 can create a machining proposal table 41 and an NC program 27 from the workpiece drawing via the WAN 55. 【0067】 Furthermore, the information of the machining proposal table 41 used to create the NC program 27 for each machine tool installed in the production plant 53 may be stored as information of the machining proposal table 41 included in the machining knowledge information 33 of the database 29. In addition, information such as specifications corresponding to each machine tool installed in the production plant 53 may be stored as machine tool information 34 of the database 29. This makes it possible to create machining proposal tables 41 and NC programs 27 according to each type of machine tool, even if different types of machine tools are installed in each of the production plants 53. 【0068】 Furthermore, the contents of this disclosure are not limited to the embodiments described above, and can be implemented in various forms with various modifications and improvements based on the knowledge of those skilled in the art. For example, in the above embodiments, a machining proposal table 41 in which machining processes for machining a workpiece are set is created using AI technology based on shape information 31, information of the machine tool 10 used to machine the workpiece (machine tool information 34), and machining knowledge information 33 accumulated in past machining of workpieces, but it is not limited to this. For example, as shown in Figure 6, the control device 15 determines a combination of workpiece shapes (information 43) that match the machining shape indicated by the shape information 31 read from the workpiece drawing, using image matching technology or the like. The control device 15 creates a machining proposal table 41 by sequentially arranging the machining processes for machining each combined shape. The control device 15 may also change the machining conditions, etc., of the created machining proposal table 41 based on the machine tool information 34 used, and create a machining proposal table 41. Therefore, the creation program 30 may not include an AI program. Also, the configuration of the machine tool 10 in the above embodiments is just an example. The machine tool 10 is not limited to a turret-type lathe, but may also be a machining center, for example. Furthermore, the machining program of this disclosure is not limited to the NC program 27, but may be any other machining program capable of controlling the machine tool 10. In addition, the control device 15 may be configured to execute at least one of the following processes: the process of creating a machining proposal table 41 by changing the combination of machining processes in past machining proposal tables 41, and the process of creating a machining proposal table 41 by combinations of workpiece shapes. Furthermore, the control device 15 does not have to execute a process that restricts the creation of machining processes that are the same as or similar to machining processes that occur when machining fails, based on the failure information in the machining knowledge information 33. Furthermore, the control device 15 may not be configured to execute a process that queries for missing information. 【0069】Furthermore, the contents of this disclosure are not limited to the dependencies described in the claims. For example, this specification also discloses a technical concept in which "the processing program creation device described in claim 1 or claim 2" in claim 5 is changed to "the processing program creation device described in any one of claims 1 to 4". Also, for example, this specification also discloses a technical concept in which "the processing program creation device described in claim 1 or claim 2" in claim 6 is changed to "the processing program creation device described in any one of claims 1 to 5". Also, for example, this specification also discloses a technical concept in which "equipped with the processing program creation device described in claim 1 or claim 2" in claim 7 is changed to "equipped with the processing program creation device described in any one of claims 1 to 6". 【0070】 10 Machine tool, 15 Control device (machining program creation device), 27 NC program (machining program), 31 Shape information, 33 Machining knowledge information, 34 Machine tool information (machine tool information), 41, 41A-41C Machining proposal table, 44 Information (workpiece material information), 52 Machining program creation device, W3 Workpiece.

Claims

1. A machining program creation device for creating a machining program to control a machine tool when machining a workpiece, the device executing: a shape information acquisition process for acquiring shape information indicating the shape of the workpiece to be machined; a machining proposal table creation process for creating a machining proposal table in which machining processes for machining the workpiece to be machined are set based on the shape information acquired by the shape information acquisition process, information on the machine tool used to machine the workpiece to be machined, and machining knowledge information accumulated in past machining of the workpiece; and a machining program creation process for creating a machining program for machining the workpiece to be machined based on the machining proposal table created by the machining proposal table creation process.

2. The machining program creation apparatus according to claim 1, wherein the machining proposal table includes information on the material of the workpiece, information on the cutting tools to be used for each machining process, and information on the machining conditions for each machining process, the machining knowledge information includes information on the machining proposal table relating to workpieces that have been machined in the past, and information on changes to the machining conditions in the machining proposal table, and in the machining proposal table creation process, the machining proposal table is created based on the information on the machining proposal table and the information on changes to the machining conditions included in the machining knowledge information.

3. The machining knowledge information includes information on multiple machining proposal tables relating to the workpieces that have been machined in the past, and in the machining proposal table creation process, at least one change is made from changing the combination of machining processes included in each of the multiple machining proposal tables that have been machined in the past, changing the material of the workpiece, changing the cutting tool used for each machining process, and changing the machining conditions for each machining process, and the combination of the material of the workpiece, the cutting tool for each machining process, and the machining conditions for each machining process are set according to the workpiece to be machined, as described in claim 2.

4. The machining program creation device according to claim 3, which performs at least one of the above-mentioned changes and sets the combination of the material of the workpiece, the cutting tool for each machining process, and the machining conditions for each machining process according to the workpiece to be machined, and when missing information occurs, it performs an inquiry for missing information.

5. The machining program creation device according to claim 1 or 2, wherein the machining knowledge information includes information indicating the content of the machining process in cases where machining failed in past machining of the workpiece, and in the machining proposal table creation process, when creating a machining proposal table in which machining processes for machining the workpiece to be machined are set, the creation of a machining proposal table that includes machining processes that are the same as or similar to machining processes in cases where machining failed in the past is restricted.

6. The machining program creation device according to claim 1 or 2, wherein the machining proposal table includes information on the shape of the workpiece, the machining knowledge information includes information on multiple machining proposal tables relating to workpieces that have been machined in the past, and in the machining proposal table creation process, the device determines a combination of shapes that will be the shape of the workpiece to be machined from among the shapes that combine the shapes of each of the multiple machining proposal tables included in the machining knowledge information, and sets a machining process for machining the workpiece to be machined from the machining process information of the machining proposal table of the determined combination.

7. A machine tool comprising a machining program creation device according to claim 1 or claim 2, which performs machining on the workpiece to be machined based on the machining program created by the machining program creation device.