Machine tool, machine tool system, program, method for controlling machine tool, and method for generating program
By adding cutting information and processing conditions in the machine tool processing program, the problems of inaccurate cutting volume control and inflexible equipment in the prior art are solved, and high-precision and energy-saving cutting process management is achieved.
Patent Information
- Application Number
- CN202380089847.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-08-28
- Publication Date
- 2025-08-08
AI Technical Summary
In the cutting process of a machine tool, it is difficult to control peripheral equipment based on high-precision cutting volume, and the chip discharge method of different machine tools cannot be flexibly adjusted.
By adding cutting information and processing conditions to the machine tool's machining program, multiple equipment of the machine tool, including coolant supply, debris conveying and mist collector, adjusting the output of the equipment according to the cutting information and processing conditions, to achieve high-precision cutting volume control and flexible equipment management.
It realizes peripheral equipment control based on high-precision cutting volume, can adapt to flexible control of different machine tools, and improves energy saving efficiency in the processing process and flexibility in chip management.
Smart Images

Figure CN120457402A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to a machine tool, a machine tool system, a program, a machine tool control method, and a program generation method. Background Art
[0002] Patent Document 1 describes a technology in which a numerical control device calculates the cutting volume from a machining program and controls equipment such as a coolant pump based on the calculated cutting volume. Patent Document 2 discloses a technology that inserts a chip removal instruction code immediately before a block where the cutting volume predicted by simulation exceeds a threshold.
[0003] Patent Document 1: Japanese Patent Application Laid-Open No. 7-266185 Patent Document 2: Japanese Patent Application Laid-Open No. 2017-199256
[0004] When the technology of Patent Document 1 is applied to machining programs written in the EIA / ISO format, the machining program only describes the tool movement amount, making it impossible to calculate the accurate cutting volume. Patent Document 2 utilizes the cutting amount predicted by simulation, resulting in a more accurate cutting amount. However, since it outputs chip removal instruction codes that cause different machine tools to perform the same process, control can only be achieved using a single chip removal method for each machine tool. Summary of the Invention
[0005] A first embodiment of a machine tool control method of the present invention includes: causing the machine tool to read a machining program, the machining program including a program code representing an operation performed by the machine tool on at least one of a workpiece and at least one tool, and additional information having at least cutting information obtained based on a cut portion after a product shape is removed from a workpiece shape; and when the machine tool performs at least one operation, controlling the machine tool so that at least one peripheral device among a plurality of devices of the machine tool, other than a device for operating the workpiece and a device for operating at least one tool, operates based on the cutting information.
[0006] According to a second aspect of the present invention, in the control method of the first aspect, the additional information further includes a control code that causes the machine tool to execute a process for controlling at least one peripheral device based on the cutting information. Causing the machine tool to read the machining program includes causing the machine tool to read the cutting information according to the control code. Controlling the machine tool includes: causing a processor to determine a determined control method corresponding to the additional information from among at least one control method for at least one peripheral device stored in a storage device of the machine tool; and causing the at least one peripheral device to operate based on the determined control method.
[0007] According to a third aspect of the present invention, in the control method of the second aspect, the additional information further includes machining information indicating machining conditions when performing at least one operation. Controlling the machine tool includes causing a processor to determine a control method based on the machining information and the cutting information. The machining conditions are preferably conditions related to ease of chip discharge, such as the degree of chip scattering and chip weight, or ease of filtering chips from a coolant.
[0008] According to a fourth aspect of the present invention, in the control method according to any one of the first to third aspects, the cutting information includes a parameter represented by the size of at least a portion of the cut portion. Controlling the machine tool includes: causing a processor of the machine tool to determine a control method for at least one peripheral device corresponding to a plurality of ranges of the parameter, stored in a storage device of the machine tool, corresponding to the parameter in the cutting information; and causing the at least one peripheral device to operate based on the determined control method.
[0009] According to a fifth aspect of the present invention, in the control method according to any one of the first to fourth aspects, the parameter includes a removal rate obtained by dividing the volume of at least a portion of the cut portion by a machining time required for cutting by at least one tool.
[0010] According to a sixth aspect of the present invention, in the control method of the fifth aspect, the storage device stores: information indicating a first correspondence between a plurality of ranges of removal rates and a plurality of energy-saving levels corresponding to the plurality of ranges; and information indicating a second correspondence between the plurality of energy-saving levels and a control method for at least one peripheral device. The plurality of control methods are defined such that as the energy-saving level increases, the output of the at least one peripheral device decreases. Preferably, the plurality of energy-saving levels are defined such that as the removal rate decreases, the plurality of energy-saving levels increase.
[0011] According to a seventh aspect of the present invention, in the control method according to any one of the first to sixth aspects, the at least one peripheral device includes at least one of a coolant supply device, a chip conveyor, and a mist collector in the machine tool.
[0012] The eighth embodiment of the program generation method of the present invention includes: causing a computer to calculate cutting information obtained by removing the product shape from the workpiece shape based on the workpiece shape and the product shape; and causing the computer to generate a machining program with at least cutting information added to the program code, wherein the program code represents the operation of the machine tool on at least one of the workpiece and at least one tool in order to machine the workpiece to obtain the product shape.
[0013] According to the ninth aspect of the present invention, in the generation method of the eighth aspect, the additional information further includes a control code for causing the machine tool to execute processing of at least one peripheral device other than a device operating a workpiece and a device operating at least one tool among a plurality of devices of the machine tool that are controlled based on cutting information.
[0014] According to a tenth aspect of the present invention, in the generation method of the ninth aspect, the additional information further includes machining information indicating machining conditions when performing at least one operation. The control code is code that causes the machine tool to execute processing for controlling at least one peripheral device based on the machining information and cutting information. The machining conditions are preferably conditions related to ease of chip discharge, such as the degree of chip scattering and chip weight, or ease of filtering chips from the coolant.
[0015] According to an eleventh aspect of the present invention, in the generation method according to any one of the eighth to tenth aspects, the cutting information includes a parameter represented by the size of at least a portion of the cut portion. The control code is code that causes the machine tool to determine a control method for a device corresponding to the parameter of the cutting information, from among a plurality of control methods for at least one peripheral device corresponding to a plurality of ranges of the parameter stored in a storage device of the machine tool, and causes the machine tool to execute processing for operating the at least one peripheral device based on the determined control method.
[0016] According to a twelfth aspect of the present invention, in the generation method according to any one of the eighth to eleventh aspects, the cutting information includes a removal rate obtained by dividing the volume of at least a portion of the cut portion by the machining time required for cutting by at least one operation. In other words, the parameter according to the eleventh aspect includes a removal rate obtained by dividing the volume of at least a portion of the cut portion by the machining time required for cutting by at least one tool.
[0017] According to a thirteenth aspect of the present invention, in the generation method according to any one of the eighth to twelfth aspects, the processing program is described in the EIA / ISO format.
[0018] The program of the fourteenth embodiment of the present invention is a program having instructions for causing a computer to execute the processing of the generation method of any one of the eighth to thirteenth embodiments. The computer-readable medium of the fourteenth embodiment of the present invention is a computer-readable medium having instructions for causing a computer to execute the processing of the generation method of any one of the eighth to thirteenth embodiments. Specifically, the computer-readable medium has instructions for causing a computer to execute a processing including calculating cutting information obtained by removing the product shape from the workpiece shape based on the workpiece shape and the product shape, and generating a machining program with additional information having at least cutting information added to the program code, wherein the program code represents the operation of a machine tool on at least one of the workpiece and at least one tool in order to machine the workpiece to obtain the product shape. The computer of the fourteenth embodiment of the present invention has a component for executing the generation method of any one of the eighth to thirteenth embodiments. Specifically, the computer includes: a storage device for storing a workpiece shape and a product shape; and a processor, configured to calculate cutting information obtained from a cut portion after removing the product shape from the workpiece shape based on the workpiece shape and the product shape, and generate a machining program with additional information having at least the cutting information added to the program code, wherein the program code represents the operation of a machine tool on at least one of the workpiece and at least one tool in order to machine the workpiece to obtain the product shape.
[0019] A fifteenth aspect of the present invention includes a component for executing the method of any one of the first to seventh aspects. Specifically, the machine tool includes an interface for inputting a machining program, a first device for operating a workpiece, a second device for operating at least one tool, at least one peripheral device other than the device for operating the workpiece and the device for operating the at least one tool, and a processor configured to control the first and second devices based on the machining program. The processor is configured to read program code representing an operation on at least one of the workpiece and the at least one tool from the machining program, as well as additional information including at least cutting information obtained from a cut portion after the product shape is removed from the workpiece shape, and to control the at least one peripheral device to operate based on the cutting information when the machine tool performs at least one of the operations. The interface includes all interfaces that can exchange data with the outside of the machine tool, such as wireless and wired LANs, short-range wireless communications such as Bluetooth (registered trademark) and Near Field Communication (NFC), and interfaces for external storage devices such as USB and SD interfaces.
[0020] A machine tool system according to a sixteenth aspect of the present invention comprises: a computer having a component for executing the generation method according to any one of the eighth to thirteenth aspects; and the machine tool according to the fifteenth aspect. Specifically, the machine tool system comprises a computer and a machine tool. The machine tool comprises an interface for inputting a machining program, a first device for operating a workpiece, a second device for operating at least one tool, at least one peripheral device other than the device for operating the workpiece and the device for operating the at least one tool, and a processor configured to control the first and second devices based on the machining program. The processor is configured to read, from the machining program, a program code indicating an operation on at least one of the workpiece and the at least one tool, and additional information including at least cutting information obtained from a cut portion after subtracting a product shape from the workpiece shape, and to control the at least one peripheral device to operate based on the cutting information when the machine tool performs the at least one operation. The computer comprises a storage device storing a workpiece shape and a product shape; and is configured to calculate, based on the workpiece shape and the product shape, cutting information obtained from a cut portion after subtracting a product shape from the workpiece shape, and to generate a machining program having the additional information including at least the cutting information added to the program code indicating the operation of the machine tool on at least one of the workpiece and the at least one tool to machine the workpiece to obtain the product shape.
[0021] In the fourteenth embodiment, the program, computer-readable medium, computer, machine tool control method of the first embodiment, program generation method of the eighth embodiment, machine tool of the fifteenth embodiment, and machine tool system of the sixteenth embodiment, because cutting information is obtained from the cut portion, it is possible to control at least one peripheral device based on the amount of cutting with higher precision than the invention disclosed in Japanese Patent Application Laid-Open No. 7-266185. Furthermore, by including cutting information in the machining program instead of the chip removal instruction code disclosed in Japanese Patent Application Laid-Open No. 2017-199256, it is possible to flexibly control at least one peripheral device.
[0022] In the generation method of the ninth aspect, the program of the fourteenth aspect having instructions for causing a computer to execute the processing of the generation method of the ninth aspect, the computer-readable medium, the computer, the control method of the second aspect, the machine tool of the fifteenth aspect having components for executing the control method of the second aspect, and the machine tool system of the sixteenth aspect including a machine tool having components for executing the control method of the second aspect and a computer having components for executing the generation method of the ninth aspect, since the additional information includes control information, the additional information is not information for reference but is used for controlling at least one peripheral device by the machine tool.
[0023] In the tenth-mode generation method, the fourteenth-mode program having instructions for causing a computer to execute the processing of the tenth-mode generation method, the computer-readable medium, the computer, the third-mode control method, the fifteenth-mode machine tool having components for executing the third-mode control method, and the sixteenth-mode machine tool system including a machine tool having components for executing the third-mode control method and a computer having components for executing the tenth-mode generation method, since the additional information includes processing information related to the ease of chip discharge such as the flying state and weight of the chips, it is possible to easily perform control to increase the output of at least one peripheral device when it is difficult to discharge the chips.
[0024] In the eleventh embodiment of the generation method, the fourteenth embodiment of the program having instructions for causing a computer to execute the processing of the eleventh embodiment of the generation method, the computer-readable medium, the computer, the fourth embodiment of the control method, the fifteenth embodiment of the machine tool having components for executing the fourth embodiment of the control method, and the sixteenth embodiment of the machine tool system including the machine tool having components for executing the fourth embodiment of the control method and the computer having components for executing the eleventh embodiment of the generation method, by specifying multiple control methods based on cutting information (and processing information) in accordance with the characteristics of the machine tool, a different control method can be set for each machine tool even for the same cutting information (and processing information). The chip discharge instruction code of Japanese Patent Application Laid-Open No. 2017-199256 can only perform the same control on all machine tools, and therefore can more flexibly control at least one peripheral device compared to the invention of Japanese Patent Application Laid-Open No. 2017-199256.
[0025] In the twelfth generation method, the fourteenth program having instructions for causing a computer to execute the processing of the twelfth generation method, the computer-readable medium, the computer, the fifth control method, the fifteenth machine tool having a component for executing the fifth control method, and the sixteenth machine tool system including a machine tool having a component for executing the fifth control method and a computer having a component for executing the twelfth generation method, since the cutting information is represented by the removal rate, it is easy to perform control to increase the output of at least one peripheral device when the cutting amount per unit time is large.
[0026] In the control method of the sixth aspect, the machine tool of the fifteenth aspect including components for executing the control method of the sixth aspect, and the machine tool system of the sixteenth aspect including a machine tool including components for executing the control method of the sixth aspect, an energy-saving level can be set based on the removal rate. The setting is such that the output of at least one peripheral device decreases as the energy-saving level increases. This allows the user of the machine tool to easily and objectively understand the extent of the machine tool's power consumption.
[0027] In the control method of the seventh aspect, the machine tool of the fifteenth aspect including components for executing the control method of the seventh aspect, and the machine tool system of the sixteenth aspect including a machine tool including components for executing the control method of the seventh aspect, since at least one peripheral device is used to adjust the machining environment, even if the output is changed, the machining speed and machining accuracy are unlikely to be affected. Therefore, by controlling the output according to the cutting conditions, power consumption can be easily reduced.
[0028] In the thirteenth-mode generation method, the fourteenth-mode program having instructions for causing a computer to execute the processing of the thirteenth-mode generation method, the computer-readable medium, the computer, and the sixteenth-mode machine tool system including a computer having a component for executing the thirteenth-mode generation method, at least one peripheral device can be easily controlled in a machining program described in the commonly used EIA / ISO format.
[0029] According to the technology disclosed in the present application, for example, a machine tool, a machine tool system, a program, a machine tool control method and a program generation method can be provided that can control at least one peripheral device based on high-precision cutting amount and can flexibly control at least one peripheral device for different machine tools. BRIEF DESCRIPTION OF THE DRAWINGS
[0030] Figure 1 It is a structural diagram showing a schematic structure of a machine tool according to an embodiment. Figure 2 This is a block diagram of the hardware configuration of the machine tool according to the embodiment. Figure 3 This is a flowchart showing the processing flow of the method for generating a machining program according to the embodiment. Figure 4 An example of a machining program generated by the machining program generating program is shown. Figure 5 This is a diagram showing the details of individual data. Figure 6 Indicates data for controlling the first actuator in the device control information. Figure 7 Indicates data for controlling the second actuator in the device control information. Figure 8 Indicates data for controlling the third actuator in the device control information. Figure 9 Indicates data for controlling the fourth actuator in the device control information. Figure 10 Indicates control information related to tool diameter and tool rotation speed among machining conditions in the equipment control information. Figure 11Indicates control information related to peripheral speed among machining conditions in the equipment control information. Figure 12 Indicates control information related to material information applied to the first actuator in the processing conditions, among the device control information. Figure 13 Indicates control information related to material information applied to the second actuator in the processing conditions, among the device control information. Figure 14 This is a flowchart showing the processing flow of the machine tool control method. DETAILED DESCRIPTION
[0031] Hereinafter, the present invention will be described in detail based on the accompanying drawings showing embodiments of the present invention. In addition, in the drawings, the same reference numerals represent corresponding or substantially the same structures. <Implementation Method> <Structure of Machine Tool 1> Figure 1 This is a block diagram showing the structure of a machine tool system 100 including a machine tool 1 according to an embodiment of the present invention. Machine tool system 100 includes machine tool 1 and a computer 99 connected to machine tool 1 via a network NW. Computer 99 may be a general-purpose computer including electronic circuits such as a hardware processor and memory. Computer 99 is used to create machining programs used by machine tool 1. Network NW may be a wired network such as an intranet or a wireless network such as a wireless LAN.
[0032] The machine tool 1 includes a numerical control device 2, a base 3, a table 4 for carrying a workpiece W, a spindle unit 5 configured to mount at least one tool T, a housing 6, a switchboard 9, a coolant supply device 10, a chip collection device 20, and a mist collection device 30. The machine tool 1 includes a spindle unit 5 that holds the spindle unit 5 and moves the spindle unit 5 along the Figure 1 The machine tool 1 has a spindle moving device 5a that moves the table 4 in the direction of the X-axis, Y-axis, and Z-axis. Figure 1 The machine tool 1 also includes a tool changing device (not shown) for changing at least one tool T installed on the spindle unit 5. The housing 6 covers the machining area defined by the moving range of the spindle moving device 5a and the table moving device 4a. Figure 1 In the figure, for convenience of explanation, a single-dotted line is used to represent the wall located near the front side of the box 6 (closer to the positive direction of the X axis and the negative direction of the Y axis than the workbench 4 and the spindle unit 5 in the figure), and a solid line is used to represent the interior.
[0033] The numerical control device 2 includes an electronic circuit such as an electronic control unit (ECU), an information processing unit such as a hardware processor 2P, and a storage unit such as a memory 2M (see Figure 2 The hardware processor 2P controls the spindle moving device 5a and the table moving device 4a, and controls the tool T to rotate. The numerical control device 2 includes a control panel 2CP, such as a touch panel display, that can input and output information to and from the operator. The touch panel of the control panel 2CP can also be referred to as an input interface 2IF, and the display of the control panel 2CP can also be referred to as a display 2DS. In addition to the touch panel, the numerical control device 2 may also include an input interface 2IF such as buttons and dials.
[0034] The switchboard 9 supplies power to the numerical control device 2, the coolant supply device 10, the chip collection device 20, and the mist collection device 30. The machine tool 1 processes the workpiece W placed on the table 4 using the tool T mounted on the top of the spindle unit 5. Here, the tool rotation axis A is TW The axis of the base 3 is set as the Z axis, the axis perpendicular to the Z axis and along the upper surface of the base 3 is set as the Y axis, and the axis perpendicular to the Y axis and the Z axis is set as the X axis.
[0035] The coolant supply device 10 includes a coolant container 11, a plurality of nozzles 12, a plurality of coolant supply channels 13, a first pump device 15, a second pump device 16, a chip removal filter 17 and a circulation loop 18. In order to recover the coolant sprayed onto the workpiece W, the base 3 includes an outlet 3E connected to the coolant container 11 and arranged at the center of the base 3, and a plurality of raked floors 3F inclined downward toward the outlet 3E. The coolant container 11 is configured to store coolant. The plurality of coolant supply channels 13 are connected to the plurality of nozzles 12 and the coolant container 11. The plurality of nozzles 12 are configured to be installed on the machine tool 1 and spray coolant. The first pump device 15 is configured to draw coolant from the coolant container 11 and supply it to the plurality of nozzles 12 through the plurality of coolant supply channels 13. Coolant is sprayed from the plurality of nozzles 12 and sprayed onto the workpiece W being processed to remove chips.
[0036] The second pump device 16 and the chip removal filter 17 are connected to the coolant container 11 via a circulation circuit 18 that is separate from the plurality of coolant supply channels 13. The second pump device 16 is configured to draw coolant from the coolant container 11 and supply the coolant to the chip removal filter 17 via the circulation circuit 18. The chip removal filter 17 removes chips contained in the coolant.
[0037] The chip collecting device 20 is a device that discharges the chips of the workpiece W that have fallen into the discharge port 3E to the outside of the machine tool 1 through a chip conveyor. The chip conveyor preferably has a cofferdam (outer wall) to prevent the chips from falling outside the chip conveyor, and has a scraper to facilitate transportation. Figure 1In the figure, the debris collection device 20 is indicated by a dotted line. The mist collection device 30 includes a device body 31 and a duct 32. The device body 31 has a fan device 33 and a filter 34 inside. The duct 32 is provided in the housing 6 and connected to the device body 31. The mist collection device 30 rotates the fan to suck out the coolant and oil in the mist form inside the housing 6.
[0038] Figure 2 FIG. 1 is a block diagram of the hardware structure of the machine tool 1 according to the embodiment. Figure 2 As shown, the numerical control device 2 is a type of computer, including a hardware processor 2P, a memory 2M, a display 2DS, an input interface 2IF, a system bus 2SB, an external I / O interface 2IO and a communication interface 2CF. The system bus 2SB includes an address bus, a data bus and a control bus in the same way as a general computer. The external I / O interface 2IO is connected to an external device (such as a first pump device 15, a second pump device 16, a debris collection device 20 and a fan device 33). The external device can also be referred to as at least one peripheral device. That is, the at least one peripheral device includes at least one of the coolant supply device 10, the debris collection device 20 and the fan device 33, and the coolant supply device 10 includes the first pump device 15 and the second pump device 16. The communication interface 2CF is connected to the network CW.
[0039] The memory 2M stores a machining program 41 for machining a workpiece W, a machine control program 42, machine control information 43, and individual data 44. The machining program 41 includes program code indicating the operations performed by the machine tool 1 on at least one of the workpiece W and at least one tool T, as well as additional information 41a for controlling at least one peripheral device. The machine control program 42 includes an interpreter for the machining program 41 and is programmed to read the additional information 41a described in the machining program 41, read the value of a control signal corresponding to the additional information 41a stored in the machine control information 43, and output the corresponding control signal to the at least one peripheral device. The additional information 41a includes at least control code that causes the machine tool 1 to execute a process for controlling the at least one peripheral device based on cutting information, and cutting information obtained by subtracting the product shape from the cut portion of the workpiece. The additional information 41a may also include machining information indicating machining conditions during the at least one operation. Details of the cutting information and machining information will be described later.
[0040] Furthermore, the hardware processor 2P is programmed to read the default setting value from the device control information 43 when the machining program 41 does not include the additional information 41a, read the value of the control signal corresponding to the default setting value, and output the corresponding control signal to at least one peripheral device. The hardware processor 2P executes the machining program 41 to control the spindle unit 5. The hardware processor 2P executes the device control program 42 to control at least one peripheral device. The device control program 42 has a function to cause the hardware processor 2P to execute the following Figure 13 The individual data 44 sets the material of the workpiece W to be processed by each machining program 41 and corresponds to the workpiece number WNo. used when the machining program 41 is called and executed in the machine tool 1. The details of the individual data 44 will be described later. Figure 5 In addition, as will be described later, when the material of the workpiece W to be machined by each machining program 41 is described in the additional information 41a, the individual data 44 may be deleted.
[0041] The first pump device 15 includes a first inverter 15I, a first motor 15M and a first pump 15P. The first inverter 15I drives the first motor 15M according to the drive signal from the numerical control device 2 sent through the external I / O interface 2IO. The first inverter 15I controls the rotation speed / operating frequency of the first motor 15M according to the drive signal from the numerical control device 2. The first motor 15M rotates the inclined plate of the first pump 15P. The first pump 15P is connected to the coolant container 11. The first pump 15P is configured to discharge coolant from the coolant container 11 and supply coolant to multiple nozzles 12. In the following embodiment, the first motor 15M can also be referred to as a first actuator. That is, the first actuator (first motor 15M) is configured to drive the pump (first pump 15P) that supplies coolant to the nozzle 12 of the machine tool 1. The distribution board 9 includes a power supply PS that supplies power to the first inverter 15I. The power supply PS is preferably an AC power supply.
[0042] The second pump device 16 includes a second inverter 16I, a second motor 16M and a second pump 16P. The second inverter 16I drives the second motor 16M according to the drive signal from the numerical control device 2 sent through the external I / O interface 2IO. The second inverter 16I controls the rotation speed / operating frequency of the second motor 16M according to the drive signal from the numerical control device 2. The second motor 16M rotates the inclined plate of the second pump 16P. The second pump 16P is connected to the coolant container 11. The second pump 16P is configured to draw coolant from the coolant container 11 and supply coolant to the chip removal filter 17. In the following embodiment, the second motor 16M can also be referred to as a second actuator. That is, the second actuator (second motor 16M) is configured to drive the pump (second pump 16P) that supplies the coolant containing chips stored in the coolant container 11 toward the chip removal filter 17. The power supply PS of the distribution board 9 also supplies power to the second inverter 16I.
[0043] The debris collection device 20 includes a third inverter 20I and a third motor 20M. The third inverter 20I drives the third motor 20M according to the drive signal from the numerical control device 2 sent through the external I / O interface 2IO. The third inverter 20I controls the rotation speed / operating frequency of the third motor 20M according to the drive signal from the numerical control device 2. The third motor 20M is configured to drive a belt conveyor through a speed reducer, etc., not shown in the figure. In the following embodiments, the third motor 20M may also be referred to as a third actuator. That is, the third actuator (third motor 20M) is configured to drive the chip conveyor of the machine tool 1. The power supply PS of the distribution board 9 also supplies power to the third inverter 20I.
[0044] The fan device 33 of the mist collection device 30 includes a fourth inverter 33I and a fourth motor 33M. The fourth inverter 33I drives the fourth motor 33M according to the drive signal from the numerical control device 2 sent through the external I / O interface 2IO. The fourth inverter 33I controls the rotation speed / operating frequency of the fourth motor 33M according to the drive signal from the numerical control device 2. The fourth motor 33M is configured to drive a belt conveyor through a reducer or the like not shown in the figure. In the following embodiment, the fourth motor 33M may also be referred to as a fourth actuator. That is, the fourth actuator (fourth motor 33M) is configured to drive a fan (fan device 33) for discharging mist accumulated in the body of the machine tool 1. The power supply PS of the distribution board 9 also supplies power to the fourth inverter 33I.
[0045] Computer 99 is used, for example, to generate a machining program 41. Computer 99 is installed with a machining simulation program, which is designed to display, for example, the shape of a workpiece before machining and include the final product shape within the workpiece shape. Computer 99 is configured to automatically generate machining program 41 based on the results of the machining simulation. Computer 99 includes a hardware processor 99P, memory 99M, display 99DS, input interface 99IF, system bus 99SB, and communication interface 99CF, each having substantially equivalent functions to the hardware processor 2P, memory 2M, display 2DS, input interface 2IF, system bus 2SB, and communication interface 2CF. Memory 2M and memory 99M may also be referred to as storage devices. Programs such as a machining program generation program 45, material information 46, shape information 47, tool information 48, machine tool constant data 49, and an operating system are installed in memory 99M of computer 99. Memory 99M is configured to store programs such as the machining program generation program 45, material information 46, shape information 47, tool information 48, machine tool constant data 49, and an operating system.
[0046] The raw material information 46 includes reference information (material information, ID, etc.) of the raw material of the workpiece W to be processed, the workpiece shape (outer diameter, inner diameter (in the case of a hole), length) and characteristics (specific cutting force x (kg / mm2)). The shape information 47 is data that specifies the shape of the product. This is generated by the above-mentioned processing simulation program. The tool information 48 includes the T number (T number) corresponding to the tool T that can be mounted on the machine tool 1, the name of the tool T, the material of the tool T, the characteristics of the blade of the tool T, and the usage status (wear status) of the tool T. The characteristics of the blade of the tool T include the nominal diameter of the tool T, the tool length (tool length), the tool diameter (tool diameter), the axial offset (axial offset), the radial offset (radial offset), the number of blades, the tip width, the curvature radius R of the arc that specifies the tip shape (curvature radius of the tip), the indexing angle of the blade, the effective spindle rotation direction, and the direction of the blade. The machine tool constant data 49 are parameters unique to the machine tool 1 used in the calculation of the cutting condition (cutting condition). The cutting conditions of the tool T include the cutting speed Vc, the amount of feed of the tool T relative to the workpiece W, and the feed speed (feed speed) of the workpiece W. Machine constant data 49 includes, for example, machine efficiency η, machine horsepower HP (HP), and machining limits (finishing allowances). The machining simulation program reads in the material information 46, shape information 47, tool information 48, and machine constant data 49. The tool information 48 and machine constant data 49 can also be regularly updated via the network NW to correspond to the latest settings of the machine tool 1.
[0047] The machining program generation program 45 is typically part of the machining simulation program described above and is a program that generates a machining program 41 that includes the additional information 41a for controlling the at least one peripheral device described above. However, the machining program generation program 45 may also be a separate program from the machining simulation program. When the machining program generation program 45 is executed by the computer 99, the hardware processor 99P generates the machining program 41 that includes the additional information 41a for controlling the at least one peripheral device described above based on the material information 46, shape information 47, tool information 48, and machine constant data 49 stored in the memory 99M. Alternatively, in other embodiments, the hardware processor 99P may generate the machining program 41 that includes the additional information 41a based on program code that does not include the additional information 41a, the material information 46, shape information 47, tool information 48, and machine constant data 49 stored in the memory 99M. The machining program 41 generated by the computer 99 is transmitted to the numerical control device 2 via the communication interface 99CF, the network NW, and the communication interface 2CF. <Processing Flow of the Method for Generating the Machining Program 41> Figure 3This is a flowchart illustrating the processing flow of a method for generating a machining program 41 according to an embodiment. As step S11, the method includes causing a computer 99 to calculate cutting information based on the workpiece shape and the product shape, resulting from the cut portion after the product shape is subtracted from the workpiece shape. Specifically, in step S1, a hardware processor 99P executing a machining program generation program 45 calculates cutting information based on the workpiece shape stored in a memory 99M as material information 46 and the product shape stored in a memory 99M as shape information 47. As step S12, the method includes generating program code representing the operation of the machine tool 1 on at least one of the workpiece W and at least one tool T to machine the workpiece W to obtain the product shape. Specifically, in step S12, the hardware processor 99P executing the machining program generation program 45 generates program code representing the operation of the machine tool 1 on at least one of the workpiece W and at least one tool T to machine the workpiece W to obtain the product shape. This program generation method is a method that applies a known method, such as International Publication No. 2004 / 038522, to a program in the EIA / ISO format. Furthermore, if the program code has already been generated, step S12 can be omitted. As step S13, the generation method includes causing the computer 99 to generate a machining program 41 with additional information 41a added to the program code. Specifically, in step S13, the hardware processor 99P, which executes the machining program generation program 45, generates the machining program 41 with the additional information 41a added to the program code.
[0048] Additional information 41a includes cutting information; machining information indicating machining conditions when the machine tool 1 operates at least one of a workpiece W and at least one tool T; and control codes G181 and G182 (described later) that cause the machine tool 1 to execute processing based on the machining and cutting information to control at least one peripheral device (e.g., the first pump device 15, the second pump device 16, the chip collection device 20, and the fan device 33) among the multiple devices of the machine tool 1, in addition to the first device for operating the workpiece W (e.g., the table moving device 4a described above) and the second device for operating the at least one tool T (e.g., the spindle moving device 5a and the motor 5b for rotating the at least one tool T in the spindle unit 5). The machining information is information related to the scattering of chips, the ease of chip discharge (e.g., weight), and the ease of filtering chips from the coolant. <Processing Program 41 Including Additional Information 41a> Figure 4 4 is an example of a machining program 41 generated by the machining program generating program 45. The machining program 41 is described in the EIA / ISO format. Figure 4Line numbers are appended to the left of the program code. Figure 4 In FIG, lines that do not include control codes G181 and G182 described later represent program codes for the operation of at least one of the workpiece W and at least one tool T by the machine tool 1. Figure 4 In line 2, the workpiece number WNo. is written as a number after the identifier O (letter O). In line 3, the control code G181 and its independent variable are inserted as additional information 41a. The number with the identifier R in the independent variable refers to the removal rate applied to a part of the peripheral devices in at least one peripheral device, or the removal rate applied to the entire machining program 41 except for the application of the control code G182 described later to the remaining peripheral devices in at least one peripheral device. The removal rate is the volume (unit: cc, inch) cut in the predetermined process of the machining program 181. 3 ) divided by the time taken for the process (unit: min). The removal rate is a parameter represented by the size of at least a portion of the cut portion and is an example of cutting information. That is, cutting information includes parameters represented by the size of at least a portion of the cut portion. Parameters represented by the size of at least a portion of the cut portion are not limited to the volume of at least a portion of the cut portion. These parameters include all values that depend on the size of at least a portion of the cut portion and can be detected by sensors or the driver of the motor that rotates the tool, such as the weight of at least a portion of the cut portion, the workload (load x time) of at least one tool T used to cut at least a portion of the cut portion, and the heat generated when cutting at least a portion of the cut portion. The removal rate, recorded as an independent variable in control code G181, is the value obtained by dividing the volume of the entire cut portion after subtracting the entire product shape from the entire workpiece shape by the total time taken for machining program 41.
[0049] After the milling tool with T number 23 is called in line 11, control code G182 and its independent variable are inserted as additional information 41a in line 14. The number with the identifier R in the independent variable refers to the removal rate applied in the process until the next control code G182 (line number 35) is called. In the following description of the embodiment, the process from calling a specific control code G182 (i) (i = 1, 2, .... i corresponds to the order of appearance in the machining program 41) to calling the next control code G182 (i+1) is referred to as the process of applying control code G182 (i). The removal rate mentioned here is the volume (unit: cc, inch) of at least a part of the cut part cut in the process from line 14 to line 35. 3) divided by the machining time (unit: min) required for cutting by the tool with T number 23. The processor 99P executing the machining program generation program 45 can calculate the removal rate in the steps from line number 14 to line number 35 as follows.
[0050] When a machining location is specified by user input, processor 99P executing machining program generation program 45 can calculate the volume of at least a portion of the cut portion for each machining location, estimate machining time based on the feed rate in the generated program code, and calculate the removal rate. A control code G182 with the removal rate as an argument is inserted immediately before the EIA / ISO format-based program code generated for each machining location. For example, processor 99P executing machining program generation program 45, which generates an EIA / ISO format-based machining program using the method of International Publication No. 2004 / 038522, can calculate the removal rate corresponding to each machining shape and insert a control code G182 with the calculated removal rate as an argument immediately before the source code for machining the machining shape.
[0051] The number with the identifier T in the independent variable represents the tool diameter (unit: mm or inch) applied in the process until the next control code G182 (line number 35) is called. The number with the identifier S in the independent variable represents the tool rotation speed (unit: rev / min) applied in the process until the next control code G182 (line number 35) is called. The tool diameter and the tool rotation speed are examples of processing conditions when performing at least one operation. That is, the processing information includes the tool diameter and the tool rotation speed. The processor 99P that executes the processing program generation program 45 that generates a processing program based on the EIA / ISO format by the method of International Publication No. 2004 / 038522 can, for example, refer to the tool information 48 (the tool definition part 21 in International Publication No. 2004 / 038522) representing the T code of the tool corresponding to the processing shape body. Similarly, the processor 99P executing the machining program generation program 45 that generates the machining program based on the EIA / ISO format using the method of International Publication No. 2004 / 038522 can obtain the tool rotation speed specified by the parameter input control unit 13 from the T code representing the tool corresponding to each machining shape body. (The tool information 48 of the present application also includes data indicating the tool rotation speed specified by the parameter input control unit 13.) If the process from line number 14 to line number 35 is specified by user input, the processor executing the machining program generation program 45, which has already added control codes G181 and G182 to the machining program based on the EIA / ISO format, can refer to the tool information 48 to determine the tool diameter from the T number (T23) of the tool used in the process. If the process from line number 14 to line number 35 is specified by user input, the processor executing the machining program generation program 45 can refer to the code (line number 15) indicating the spindle rotation speed in the process to determine the tool rotation speed.
[0052] Below, in lines 35 and 57, additional information 41a including control code G182 and the aforementioned removal rate, tool diameter, and rotational speed is shown. Additional information 41a in line 35 is applied to the processes from line 35 to line 57. The method for determining the value of this additional information is the same as the method for determining the value of additional information 41a in line 14, so its description is omitted. There is no control code G182 after line 57, and program code M30, indicating the end of machining program 41, is set in line 82. Therefore, additional information 41a in line 57 is applied to the processes from line 35 to the end of the program. The method for determining the value of this additional information is the same as the method for determining the value of additional information 41a in line 14, so its description is omitted.
[0053] In the above example, the machining direction includes the tool diameter and rotational speed, but it can also include peripheral speed and material information of the workpiece W. For example, the peripheral speed can be represented by a number with the identifier V appended to the end of the control code G182. The number can be represented by the value of the peripheral speed (unit: m / min or feet / min). The processor executing the machining program generation program 45 can refer to the code representing the peripheral speed effective in the process to which the control code G182 is applied (the code with the number appended to the identifier F) to calculate the peripheral speed. In addition, the machining conditions can also include material information of the workpiece W as an independent variable of the control code G181. Material information can be represented by a number with the identifier M appended to the end of the control code G181. The number corresponds to the material. For example, 1 can represent FC250, 2 can represent FCD450, 3 can represent S45C, 4 can represent SCM415, 5 can represent SUS304, 6 can represent SS400, 7 can represent A5052, 8 can represent AC4C, etc. FC250 and FCD450 are cast iron alloys. S45C, SCM415, SUS304, and SS400 are steel alloys. A5052 and AC4C are aluminum alloys. Therefore, the larger the number after the identifier M, the softer the metal. The processor executing the machining program generation program 45 can refer to the raw material information 46 to determine the material information. <Processing of Machining Program 41 in Machine Tool 1> For example, the machining program 41 generated in this manner and including the additional information 41a is transmitted to the numerical control device 2 of the machine tool 1 via the network NW. The numerical control device 2 processes the additional information 41a of the machining program 41 as follows. The hardware processor 99P executing the machining program 41 obtains the workpiece number WNo. at the beginning of the machining program 41 and references the individual data 44 to obtain the material information corresponding to the workpiece number WNo. Figure 5 44. The individual data 44 includes the correspondence between the workpiece number WNo. and the material information. Figure 5 The correspondence is shown in a table, but it can also be described in a known way such as a CSV file format or a database. Figure 4 and Figure 5 In the example, the workpiece number WNo. is 1000, so the material can be calculated to be SC45C.
[0054] In addition, for Figure 5If the material is not defined, as in the program for workpiece number 100, an interface for entering the material (e.g., a drop-down window) can be activated when the machining program 41 is started, prompting the user to enter the material. Alternatively, if the material is not entered, a default setting of FC250 or FCD450, which are cast iron alloys, can be used. Furthermore, when defining the material as an argument to control code G181, the material can be determined without referring to individual data 44.
[0055] Next, the hardware processor 99P executing the machining program 41 refers to the argument of the control code G181 and reads the removal rate applied to a portion of the peripheral devices or the default removal rate applied to the remaining peripheral devices. That is, the hardware processor 99P reads the cutting information according to the control code G181. The hardware processor 99P refers to the cutting information and the machining information during the entire execution time of the machining program 41. Figures 6 to 12 The device control information 43 shown controls a portion of the peripheral devices (e.g., the second pump unit 16). Until the control code G182 described later is called, the default removal rate for the remaining peripheral devices (e.g., the first pump unit 15, the debris collection unit 20, and the fan unit 33) is the effective removal rate. If the argument of the control code G181 includes material information, the hardware processor 99P also reads the material information by referring to the argument of the control code G181.
[0056] The hardware processor 99P that executes the machining program 41 changes the tool to the tool with T number 23 by the code of line number 11, and then reads the control code G182 of line number 14. The hardware processor 99P reads the cutting information and machining information by referring to the arguments of the control code G182. Figures 6 to 12 The device control information 43 shown controls the remaining peripheral devices (eg, the first pump device 15 , the debris collection device 20 , and the fan device 33 ).
[0057] Figure 6 The data 43a1 and 43a2 for controlling the first actuator (first motor 15M) in the device control information 43 are shown. Figure 7 The data 43b1 and 43b2 for controlling the second actuator (the second motor 16M) in the device control information 43 are shown. Figure 8 The data 43c1 and 43c2 for controlling the third actuator (the third motor 20M) in the device control information 43 are shown. Figure 9Indicates data 43d1 and 43d2 for controlling the fourth actuator (fourth motor 33M) in the device control information 43. Data 43a1 to 43d1 include flags indicating whether only a portion of the peripheral devices of control code G181 are applied, or whether control code G181 or control code G182 is applied to the remaining peripheral devices. Data 43a2 to 43d2 respectively include the corresponding relationship between the range of the removal rate, the energy saving level, and the ratio of the output when the rated output of the first to fourth actuators is set to 100%. Figures 6 to 9 The correspondence is shown in a table, but the correspondence can also be described in a known method such as a CSV file format or a database. Figures 6 to 9 As shown, the control flag "2" in data 43b2 indicates that only a portion of control code G181 is applied to the peripheral device. The control flag "1" in data 43a2, 43c2, and 43d2 indicates that the remaining peripheral devices are applied to control code G181 or control code G182. These control flags are editable, and the operator can switch at least one peripheral device to at least one of a peripheral device that only applies a portion of control code G181 and a peripheral device that applies the remaining control code G181 or control code G182 by editing the control flag.
[0058] like Figures 6 to 9 As shown, data 43a2 to 43d2 include a plurality of energy-saving levels corresponding to a plurality of ranges of removal rates. The energy-saving level is a value expressing the ratio of the output of each actuator when the output of each actuator is set to 100% when the first to fourth actuators are driven at rated power consumption. Figures 6 to 9 As shown in FIG, different energy-saving levels are set in the first to fourth actuators. Figures 6 to 9 As shown, in the first to fourth actuators, the range of the removal rate for determining each energy-saving level is independently set. Figures 6 to 9 The threshold values TH1 to TH9 shown are values determined based on experience. Some of the threshold values TH1 to TH9 may be the same value. The output ratio is a value determined based on experience. Figures 6 to 9 The output ratio corresponds to the control method of at least one peripheral device. Therefore, the multiple control methods of at least one peripheral device correspond to multiple ranges of the parameter (removal rate) represented by the size of at least a portion of the cut portion.
[0059] The memory 2M stores information indicating a first correspondence between a plurality of ranges of removal rates and a plurality of energy-saving levels corresponding to the plurality of ranges of removal rates, and information indicating a second correspondence between the plurality of energy-saving levels and a plurality of control methods for at least one peripheral device. Figures 6 to 9It can be seen that the more the energy saving level is set to increase, the more the output of at least one peripheral device is reduced. The more the energy saving level is set to decrease, the more the removal rate is reduced. However, it is also possible to store only Figures 6 to 9 The value of the energy saving level, the threshold values TH1 to TH9 and the value of the output ratio in the content shown are used by the hardware processor 2P executing the device control program 42 using the data stored in the memory 2M. Figures 6 to 9 The output ratio is determined based on the criteria shown. Thus, the hardware processor 2P executing the device control program 42 can determine the control method corresponding to the additional information 41a from among at least one control method (or more preferably, multiple control methods) for at least one peripheral device stored in the memory 2M. More specifically, the hardware processor 2P executing the device control program 42 can determine the control method based on the machining information and the cutting information.
[0060] Figure 10 The control information 43 e related to the tool diameter and the tool rotation speed among the machining conditions is shown in the device control information 43 . Figure 11 Indicates control information 43f related to peripheral speed among machining conditions in the device control information 43. Figure 12 The control information 43g related to the material information applied to the first actuator (first motor 15M) in the machining conditions is shown in the device control information 43. Figure 13 The control information 43e includes the control information 43h related to the material information applied to the second actuator (second motor 16M) in the processing conditions. Figure 6 The control information 43f includes a first correction coefficient K1 for multiplying the output ratio of the removal rate setting shown in FIG. Figure 6 The control information 43g includes a second correction coefficient K2 for multiplying the output by the ratio of the removal rate setting shown. Figure 6 The control information 43h includes a third correction coefficient K3 for multiplying the output by the ratio of the removal rate setting shown. Figure 7 The fourth correction coefficient K4 is multiplied by the ratio of the output of the removal rate setting shown. The control information 43e includes the correspondence between the range of tool diameter × tool rotation speed and the first correction coefficient K1. The control information 43f includes the correspondence between the range of peripheral speed and the second correction coefficient K2. The control information 43g includes the correspondence between material information and the third correction coefficient K3. The control information 43h includes the correspondence between material information and the fourth correction coefficient K4. Figures 10 to 13 The correspondence is shown in a table, but it can also be described in a known way such as a csv file format or a database. Figures 10 to 13The threshold values MTH1 to MTH2, the threshold values VTH1 to VTH2, the identifiers indicating the respective materials, and the values of the first to third correction coefficients K1 to K3 are calculated by the hardware processor 2P executing the device control program 42 using the data stored in the memory 2M. Figures 10 to 13 The first to fourth correction coefficients K1 to K4 are determined based on the indicated reference.
[0061] The larger the tool diameter and tool rotation speed, the more serious the chip flying will be, and more coolant will be required to remove the chips. Figure 10 In the , the first correction coefficient K1 is set to tool diameter × tool rotation speed. The larger the tool diameter × tool rotation speed, the larger the first correction coefficient K1. Therefore, the larger the tool diameter × tool rotation speed, the larger the output of the first actuator. Similarly, the larger the peripheral speed, the more serious the chip flying, and more coolant is required to discharge the chips. Therefore, in Figure 11 In the example, the second correction coefficient K2 is set to increase as the peripheral speed increases. Therefore, the output of the first actuator increases as the peripheral speed increases. In addition, the softer the material, the more serious the scattering of chips, and more coolant is required to discharge the chips. Therefore, in Figure 12 In the third correction coefficient K3, the softer the material, the larger the third correction coefficient K3. Therefore, the softer the material, the larger the output of the first actuator. Furthermore, the greater the specific gravity of the material, the faster the flow rate of the coolant needs to be in order to make the chips flow in the circulation circuit 18. Figure 13 In the embodiment, the fourth correction coefficient K4 is set so that the larger the specific gravity is, the larger the fourth correction coefficient K4 is. Thus, the larger the specific gravity is, the larger the output of the second actuator is.
[0062] Therefore, the ratio of the output of the first actuator (in Figure 6 ) is set as P1(i), the first correction coefficient K1 determined by the range of tool diameter × tool rotation speed of the independent variable of control code G182 is set as K1(i), the second correction coefficient determined by the range of peripheral speed of the independent variable of control code G182 is set as K2(i), and the third correction coefficient determined by the material information of control code G182 is set as K3(i). At this time, if the hardware processor 2P executing the device control program 42 sets the output ratio of the first actuator when the rated output is set to 100% as P1, out (i), then P1 out (i) is represented by the following (Formula 1). P1 out(i)=K1(i)×K2(i)×K3(i)×P1(i) (Formula 1) The ratio of the output of the second actuator (in the range of the removal rate of the independent variable) is determined by the control code G182 (i) (i = 1, 2, .... i corresponds to the order of appearance in the machining program 41). Figure 6 The ratio shown in ( ) is set to P2(i), and the fourth correction coefficient determined based on the material information of the control code G182 is set to K4(i). At this time, if the hardware processor 2P executing the device control program 42 sets the ratio of the output of the second actuator when the rated output is set to 100% to P2 out (i), then P2 out (i) is represented by the following (Formula 2). P2 out (i) = K4(i) × P2(i) (Formula 2) In addition, when at least one of the tool diameter and the tool rotation speed is not set by the independent variable of the control code G182, K1(i) = 1 is set. When the peripheral speed is not set by the independent variable of the control code G182, K2(i) = 1 is set. When the material information is not set by the independent variable of the individual data 44 or the control code G181, K3(i) = 1 is set. When the material information is not set by the independent variable of the individual data 44 or the control code G181, K4(i) = 1 is set. In addition, when the value of (Formula 1) exceeds 100%, P1 is set. out (i) = 100%. When the value of (Formula 2) exceeds 100%, P2 out (i) = 100%. The hardware processor 2P that executes the device control program 42 calculates the value of P1 based on the value obtained in this way. out (i) P2 out (i) Control the first and second actuators. The hardware processor 2P executing the device control program 42 refers to Figure 8 、 Figure 9 4a). Furthermore, if the machining program 41 does not include the additional information 41a, the hardware processor 2P executing the device control program 42 sets the default setting value to 100% and controls the first to fourth actuators. In this way, the hardware processor 2P executing the device control program 42 can cause at least one peripheral device (e.g., the first pump device 15, the second pump device 16, the debris collection device 20, and the fan device 33) to operate according to the determined control method.
[0063] As described above, when the machine tool 1 performs at least one operation, the hardware processor 2P executing the device control program 42 can control the machine tool 1 so that at least one peripheral device (e.g., the first pump device 15, the second pump device 16, the chip collector 20, and the fan device 33) among the multiple devices of the machine tool 1, other than the first device for operating the workpiece W and the second device for operating at least one tool T, operates based on the cutting information. Therefore, the control codes G181 and G182 can be said to be codes that cause the machine tool 1 to determine the device control method corresponding to the cutting information from among multiple control methods for at least one peripheral device corresponding to multiple parameter (removal rate) ranges stored in the memory 2M, and then cause the machine tool to execute processing to cause the at least one peripheral device to operate based on the determined control method.
[0064] Figure 14 This is a flowchart illustrating the processing flow of a control method for machine tool 1. As step S21, the control method includes causing machine tool 1 to read a machining program 41 containing additional information 41a including at least cutting information (e.g., a removal rate). Specifically, in step S21, the control method includes causing hardware processor 2P of machine tool 1 to read the cutting information in accordance with control codes G181 and G182.
[0065] As step S22, the control method includes controlling the machine tool 1 so that at least one peripheral device (e.g., the first pump device 15, the second pump device 16, the chip collection device 20, and the fan device 33) other than the device operating the workpiece W (the first device) and the device operating the at least one tool T (the second device) among the plurality of devices of the machine tool 1 operates based on cutting information (e.g., a removal rate). Specifically, in step S22, the control method includes causing the hardware processor 2P of the machine tool 1 to determine a determined control method corresponding to the additional information 41a from among at least one control method for the at least one peripheral device stored in the memory 2M of the machine tool 1, and causing the at least one peripheral device to operate based on the determined control method. More specifically, in step S22, the control method includes causing the hardware processor 2P to determine the determined control method based on machining information (e.g., tool diameter, tool rotation speed, peripheral speed, material information) and cutting information (e.g., a removal rate). The control method includes enabling the hardware processor 2P of the machine tool 1 to determine a determined device control method corresponding to parameters of cutting information in the device control information 43, wherein the device control information 43 is stored in the memory 2M of the machine tool 1, and specifies multiple control methods for at least one peripheral device corresponding to multiple ranges of parameters (such as removal rate) represented by the size of at least a part of the cut shape. <Functions and Effects of Implementation Methods> The machine tool 1, machine tool system 100, control method for machine tool 1, method for generating a machining program 41, and program associated with this method, according to this embodiment, obtain cutting information from the part being cut. This allows for highly precise control of at least one peripheral device based on the amount of cutting. Furthermore, by incorporating cutting information into the machining program 41, the machine tool 1, machine tool system 100, control method for machine tool 1, method for generating a machining program 41, and program associated with this method, according to this embodiment, enable flexible control of at least one peripheral device for different machine tools. <Modification> The machine tool system 100 described above illustrates an example in which data is transferred between the machine tool 1 and the computer 99 via a communication interface 99CF, a network NW, and a communication interface 2CF. However, data transfer can also be performed via short-range wireless communications such as Bluetooth (registered trademark) and Near Field Communication (NFC), or interfaces with external storage devices such as USB and SD. Therefore, as a concept encompassing these interfaces, the communication interface 99CF and the communication interface 2CF may be simply referred to as interfaces 99CF and 2CF.
[0066] Part of the above-mentioned data 43a1 to 43d1 and 43a2 to 43d2 may be omitted, and the actuator corresponding to the omitted data may not be controlled by the additional information 41a.
[0067] The parameter represented by the size of at least a portion of the cut part is not limited to the removal rate, and may also include a value obtained by dividing the weight of at least a portion of the cut part by the machining time, a value obtained by dividing the workload (load × time) of at least one tool T used to cut at least a portion of the cut part by the machining time, and a value obtained by dividing the heat generated when cutting at least a portion of the cut part by the machining time.
[0068] Alternatively, a dedicated processor or integrated circuit may be used to implement some or all of the logic functions of the aforementioned device control program 42 and machining program generation program 45. The aforementioned device control program 42 and machining program generation program 45 are not limited to being stored in the internal memories 2M and 99M of the numerical control device 2 and computer 99. Alternatively, the program may be stored in a storage medium such as a floppy disk, an optical disk, a CD-ROM, a magnetic disk, or a storage medium such as an SD card, a USB memory, or an external hard disk that is removable from and readable by the numerical control device 2 and computer 99.
[0069] In this application, "having" and its derivatives are non-restrictive terms that indicate the presence of a component and do not exclude the presence of other components not described. This also applies to "having", "including" and their derivatives.
[0070] Phrases such as "~ member", "~ part", "~ element", "~ body" and "~ structure" can have multiple meanings such as a single part or a plurality of parts.
[0071] Ordinal numbers such as "first" and "second" are merely terms used to identify structures and do not have other meanings (such as a specific order). For example, the existence of a "first element" does not imply the existence of a "second element," and the existence of a "second element" does not imply the existence of a "first element."
[0072] The words "substantially," "about," and "approximately" when used to indicate a degree of difference may mean that the end result is not significantly changed within a reasonable deviation. All numerical values described in this application may be interpreted as including the words "substantially," "about," and "approximately."
[0073] In this application, the phrase "at least one of A and B" should be interpreted as including only A, only B, and both A and B.
[0074] It is obvious that various changes and modifications of the present invention can be made in view of the above disclosure. Therefore, the present invention can also be implemented in a manner different from the specific disclosure of this application without departing from the scope of the present invention.
Claims
1. A method for controlling a machine tool, comprising: causing a processor of the machine tool to read a machining program including a program code indicating an operation of the machine tool on at least one of a workpiece and at least one tool, and additional information including at least cutting information obtained based on a cut portion after a product shape is removed from a workpiece shape; and When the machine tool performs the at least one operation, the machine tool is controlled so that at least one peripheral device among the plurality of devices of the machine tool, excluding the device operating the workpiece and the device operating the at least one tool, operates based on the cutting information.
2. The machine tool control method according to claim 1, wherein: The additional information further includes a control code that causes the machine tool to execute a process of controlling the at least one peripheral device based on the cutting information. The step of causing the machine tool to read the machining program includes causing the machine tool to read the cutting information according to the control code. Controlling the machine tool comprises: causing the processor to determine a determined control method corresponding to the additional information among at least one control method for the at least one peripheral device stored in a storage device of the machine tool; as well as The at least one peripheral device is caused to operate based on the determined control method.
3. The machine tool control method according to claim 2, wherein: The additional information further includes processing information indicating processing conditions when performing the at least one operation. Controlling the machine tool includes causing the processor to determine the determined control method based on the machining information and the cutting information.
4. The method for controlling a machine tool according to any one of claims 1 to 3, wherein: The cutting information includes a parameter represented by a size of at least a portion of the cut portion, Controlling the machine tool comprises: causing the processor to determine a device control method corresponding to the parameter of the cutting information among a plurality of control methods for the at least one peripheral device corresponding to a plurality of ranges of the parameter, respectively, stored in a storage device of the machine tool; as well as The at least one peripheral device is caused to operate based on the determined control method.
5. The method for controlling a machine tool according to any one of claims 1 to 4, wherein: The parameter includes a removal rate obtained by dividing the volume of at least a portion of the cut portion by a machining time required for cutting by the at least one tool.
6. The control method of a machine tool according to claim 5, wherein: The storage device stores: Information indicating a first correspondence between a plurality of ranges of the removal rate and a plurality of energy-saving levels respectively corresponding to the plurality of ranges; as well as information indicating a second correspondence between the plurality of energy-saving levels and the plurality of control methods for the at least one peripheral device, The plurality of control methods are defined so that as the energy saving level increases, the output of the at least one peripheral device decreases.
7. The method for controlling a machine tool according to any one of claims 1 to 6, wherein: The at least one peripheral device includes at least one of a coolant supply device, a chip conveyor, and a mist collector in the machine tool.
8. A method for generating a program, comprising: causing a computer to calculate cutting information obtained by removing the product shape from the workpiece shape based on the workpiece shape and the product shape; and A computer is caused to generate a machining program having additional information including at least the cutting information added to a program code, wherein the program code represents an operation of a machine tool on at least one of the workpiece and at least one tool to machine the workpiece to obtain the product shape.
9. The program generation method according to claim 8, wherein: The additional information further includes a control code for causing the machine tool to execute a process of controlling at least one peripheral device other than a device operating the workpiece and a device operating the at least one tool among a plurality of devices of the machine tool based on the cutting information.
10. The program generation method according to claim 9, wherein: The additional information further includes processing information indicating processing conditions when performing the at least one operation. The control code is a code that causes the machine tool to execute a process of controlling the at least one peripheral device based on the machining information and the cutting information.
11. The method for generating a program according to any one of claims 8 to 10, wherein: The cutting information includes a parameter represented by a size of at least a portion of the cut portion, The control code is a code that causes the machine tool to determine a determined device control method corresponding to the parameters of the cutting information from among multiple control methods of at least one peripheral device corresponding to multiple ranges of the parameters stored in a storage device of the machine tool, and causes the machine tool to execute processing to cause the at least one peripheral device to act based on the determined control method.
12. The method for generating a program according to any one of claims 8 to 11, wherein: The cutting information includes a removal rate obtained by dividing the volume of at least a portion of the cut portion by a machining time required for cutting by the at least one operation.
13. A program, wherein The program comprises an instruction for causing the computer to execute the processing of the program generation method according to any one of claims 8 to 12 when the program is executed by the computer.
14. A machine tool, wherein: A machine tool control method according to any one of claims 1 to 7 is provided.
15. A machine tool system comprising: A computer having means for executing the method for generating a program according to any one of claims 8 to 12; and The machine tool according to claim 14.
Citation Information
Patent Citations
Cutting fluid quantity controller for numerically controlled machine tool
JP1995266185A
Numerical controller for obtaining chip deposition amount
JP2017199256A