Cooling medium supply device, machine tool, cooling medium supply method for supplying cooling medium to machine tool, and program

By reading the cooling medium specification code in the machine tool and controlling the dynamic adjustment of the valve and pump, the problems of waste and complex operation of the cooling medium supply are solved, and high-efficiency and low-energy consumption cooling medium supply and flexible processing adaptability are achieved.

CN119137549APending Publication Date: 2024-12-13YAMAZAKI MAZAK KK
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202280095590.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2022-07-27
Publication Date
2024-12-13

AI Technical Summary

Technical Problem

Existing machine tools have problems such as waste in the supply of cooling media, complicated user operations, and excessive power consumption, and it is difficult to switch nozzles and discharge degrees in linkage with the processing program.

Method used

By reading the cooling medium specification code from the machining program, controlling the opening and closing of multiple valves and the discharge degree of the pump, dynamic switching of nozzles and discharge degree is achieved, and a user-friendly interface is provided for operation.

Benefits of technology

It realizes efficient supply of cooling medium, reduces power consumption, simplifies user operations, and flexibly adjusts the nozzle and discharge degree during processing.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119137549A_ABST
    Figure CN119137549A_ABST
Patent Text Reader

Abstract

The invention provides a cooling medium supply device, a machine tool, a cooling medium supply method for supplying a cooling medium to the machine tool, and a program. A cooling medium supply method for supplying a cooling medium to a machine tool includes: reading, from a machining program, a cooling medium designation code for designating opening and closing of a plurality of valves provided in each of a plurality of cooling medium supply channels connected to a plurality of nozzles attached to the machine tool; and specifies a degree of discharge of the cooling medium by a pump that supplies the cooling medium to the plurality of nozzles. The method includes controlling opening and closing of a plurality of valves based on a coolant designation code, and controlling a pump to discharge the coolant at a discharge degree. The method includes injecting a cooling medium from at least one injection nozzle connected with at least one open valve of the plurality of valves that is open.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to a cooling medium supply device, a machine tool, and a cooling medium supply method and program for supplying a cooling medium to a machine tool. Background Art

[0002] Patent document 1 discloses a technology for opening and closing the flow channels by cooling medium valves arranged in multiple flow channels in a machine tool having multiple nozzles, switching the nozzles supplying the cooling medium and the injection amount of each nozzle. In Patent document 1, the nozzles discharging the cooling medium and the injection amount of each nozzle are determined based on the height of each part of the workpiece. Patent document 2 discloses a technology for switching the nozzles discharging the cooling medium by a timer in a machine tool having multiple nozzles. Patent document 3 discloses a machine tool capable of setting the output of an inverter pump that discharges the cooling medium for each tool. Patent document 4 discloses a technology for automatically changing the output of a pump that discharges the cooling medium in a machine tool having multiple nozzles according to the number of nozzles that discharge the cooling medium.

[0003] Patent Document 1: Japanese Patent Application Publication No. 2017-113849 Patent Document 2: Japanese Patent Application Publication No. 2007-030109 Patent Document 3: Japanese Patent No. 5269955 Patent Document 4: Japanese Patent Application Laid-Open No. 7-127565

[0004] In the invention of Patent Document 1, since the cooling medium is discharged according to the shape of the workpiece, the cooling medium is also supplied to the parts other than the parts processed by the tool, so there is a high possibility of wasteful supply of the cooling medium. In the invention of Patent Document 2, the nozzle is switched by a timer independent of the processing program, so there are problems such as complicated user operation and chips not flowing according to the processing program. The invention of Patent Document 4 also has the problem of complicated user operation because the nozzle for discharging the cooling medium must be switched by the user operating the switch. In the invention of Patent Document 3, the discharge amount of the cooling medium is controlled according to the tool, but the nozzle is not switched. In addition, in Patent Documents 1, 2 and 3, there is a situation where the supply of cooling medium is excessive relative to the amount of cooling medium required for processing, so more electricity than required is consumed. Summary of the invention

[0005] The purpose of the technology disclosed in the present application is to provide a cooling medium supply device, a machine tool, a cooling medium supply method and a program for supplying a cooling medium to a machine tool, which can switch the nozzle and discharge degree of the cooling medium in conjunction with a processing program, and which is easy for the user to operate and can reduce power consumption. It is also to provide a cooling medium supply device, a machine tool, a cooling medium supply method and a program for supplying a cooling medium to a machine tool, which can easily change the nozzle and discharge degree of the cooling medium during the execution of a processing program.

[0006] A cooling medium supply method for supplying a cooling medium to a machine tool according to a first aspect of the present invention includes: reading a called code in at least one cooling medium designation code from a machining program, wherein the at least one cooling medium designation code is used to respectively designate the opening and closing of a plurality of valves respectively provided on a plurality of cooling medium supply flow channels connected to a plurality of nozzles installed on the machine tool, and respectively designate the degree of discharge of the cooling medium by a pump that supplies the cooling medium to the plurality of nozzles. The method includes: controlling the opening and closing of the plurality of valves based on the called code; and controlling the pump to discharge the cooling medium at the discharge degree based on the called code.

[0007] According to a second aspect of the present invention, the cooling medium supply method of the first aspect further includes: determining at least one valve among a plurality of valves designated as open by each of at least one cooling medium designation code, and determining an area where the cooling medium is sprayed by at least one nozzle connected to the at least one valve. The method further includes: displaying each of the at least one cooling medium designation code and an area corresponding to each of the at least one cooling medium designation code in correspondence with each other. The method further includes: determining the total amount of the cooling medium designated in a manner of spraying by at least one nozzle based on the degree of discharge of the cooling medium designated by each of the at least one cooling medium designation code. The method further includes: displaying at least one of the total amount and the spray amount of the cooling medium sprayed from each of the at least one spray nozzle in correspondence with each of the at least one cooling medium designation code.

[0008] According to a third aspect of the present invention, the cooling medium supply method of the first aspect or the second aspect further includes: displaying power consumption of the pump when the pump is driven, based on each of the at least one cooling medium designation code.

[0009] According to a fourth aspect of the present invention, a cooling medium supply method of any one of the first to third aspects includes: during the period when the cooling medium is discharged from the pump by the execution of the machining program, determining at least one open valve among the multiple valves opened by the designation of the called code. The method also includes: determining the injection area where the cooling medium is injected from at least one injection nozzle connected to the at least one open valve. The method also includes: based on the degree of discharge of the cooling medium specified by the called code, determining the total injection amount of the cooling medium injected from the at least one injection nozzle. The method also includes: displaying at least one of the total injection amount and the individual injection amount of each of the cooling medium injected from the at least one injection nozzle, and the injection area. The method also includes: if an instruction to change the opening and closing of multiple valves is received, rewriting the data of the opening and closing of the designated multiple valves associated with the called code in a manner of opening the changed open valve and closing the changed closed valve.

[0010] According to a fifth aspect of the present invention, the cooling medium supply method of the fourth aspect further includes: providing a plurality of slide switches corresponding to a plurality of valves, respectively, so that at least one slide switch corresponding to at least one open valve is directed to a first side, and so that the slide switch corresponding to a valve other than the at least one open valve is directed to a second side opposite to the first side. The method further includes: if a change in the direction of at least one switch among the plurality of slide switches is detected, the valve corresponding to the slide switch directed to the first side is designated as the changed open valve, and the valve corresponding to the slide switch directed to the second side is designated as the changed closed valve.

[0011] According to a sixth aspect of the present invention, a cooling medium supply method of any one of the first to fifth aspects includes: during the period when the cooling medium is discharged from the pump by the execution of the machining program, determining at least one open valve among a plurality of valves opened by the designation of the called code. The method also includes: determining the injection area where the cooling medium is injected from at least one injection nozzle connected to the at least one open valve. The method also includes: based on the degree of discharge of the cooling medium specified by the called code, determining the total injection amount of the cooling medium injected from the at least one injection nozzle. The method also includes: displaying at least one of the total injection amount and the individual injection amount of each cooling medium injected from the at least one injection nozzle, and the injection area. The method also includes: if an instruction to change the degree of discharge is received, rewriting the degree of discharge specified by the called code to the changed degree of discharge.

[0012] According to a seventh aspect of the present invention, the cooling medium supply method of the sixth aspect further includes: providing a slide bar including an indicator and a slider, the indicator indicating the discharge degree of the pump specified by the called code, and the slider being disposed at the top of the indicator. The method further includes: if movement of the slider is detected, specifying the degree indicated by the changed indicator as the changed discharge degree.

[0013] According to the eighth aspect of the present invention, the cooling medium supply method of the second aspect, the third aspect, and any one of the fourth aspect to the seventh aspect including the second aspect further includes: if an instruction is received to replace a called code with a substitute code other than a called code in at least one cooling medium specified code during the discharge of cooling medium from a pump through the execution of a processing program, the processing program is rewritten to call the substitute code in the processing program.

[0014] According to a ninth aspect of the present invention, in the cooling medium supply method of any one of the first to eighth aspects, specifying the degree of cooling medium discharge includes specifying an output of a pump.

[0015] According to a tenth aspect of the present invention, in the cooling medium supply method according to the ninth aspect, the output of the pump is represented by a rotation speed of the pump or an operating frequency of the pump.

[0016] According to an eleventh aspect of the present invention, in the cooling medium supply method of any one of the first to eighth aspects, the wide range control valve among the plurality of valves is provided in a cooling medium supply flow path connected to a plurality of divisional nozzles among the plurality of nozzles.

[0017] According to a twelfth aspect of the present invention, in the cooling medium supply method of the eleventh aspect, the area to which the cooling medium is sprayed from the plurality of partial nozzles occupies one of the plurality of partitions into which the machining area of ​​the machine tool is divided.

[0018] According to a thirteenth aspect of the present invention, in the cooling medium supply method of any one of the first to eighth aspects, the plurality of valves are provided at the plurality of nozzles, respectively.

[0019] The program of the fourteenth aspect of the present invention includes instructions that, when executed by a hardware processor, cause the hardware processor to execute the process of the cooling medium supply method of any one of the first to thirteenth aspects. The program may also be stored in a storage medium readable by the hardware processor.

[0020] The cooling medium supply device of the fifteenth aspect of the present invention comprises: the program of the fourteenth aspect; a pump; a cooling medium container, which is connected to the pump and stores the cooling medium; a plurality of nozzles; a plurality of cooling medium supply channels, which connect the pump and the plurality of nozzles; and a plurality of valves, which are respectively provided in the plurality of cooling medium supply channels. In addition, the cooling medium supply device may also include a storage medium storing the program of the fourteenth aspect and readable by a hardware processor instead of the program of the fourteenth aspect.

[0021] The machine tool of the sixteenth mode of the present invention includes the cooling medium supply device of the fifteenth mode, a hardware processor and a memory, and the program is installed in the memory and executed by the hardware processor. In addition, the machine tool may also include: a unit for executing the processing of the cooling medium supply method of any one of the first mode to the thirteenth mode; a pump; a cooling medium container, which is configured to be connected to the pump and store the cooling medium; a plurality of nozzles; a plurality of cooling medium supply channels, connecting the pump and the plurality of nozzles; and a plurality of valves, which are respectively arranged in the plurality of cooling medium supply channels. In addition, the machine tool may also include: a display as a unit for executing the display processing of the second mode to the seventh mode; an interface for inputting instructions of the fourth mode and the sixth mode, for detecting the movement of the direction of the fifth mode, and for detecting the movement of the slider of the seventh mode. The interface is, for example, a touch panel.

[0022] The machine tool of the sixteenth mode includes: the cooling medium supply method of the first mode; the program of the fourteenth mode, including instructions for causing the hardware processor to execute the processing of the cooling medium supply method of the first mode; the cooling medium supply device of the fifteenth mode including the program; and a unit for executing the processing of the cooling medium supply method of the first mode. The machine tool of the sixteenth mode can determine the opening and closing of multiple valves and the degree of discharge of the cooling medium based on the cooling medium designation code compiled into the processing program. The position and type of the tool are specified in the processing program. If the corresponding cooling medium designation code is specified, it can be set to supply the cooling medium to the necessary part in the necessary amount. In addition, in patent document 2, it is necessary to set the timer corresponding to the execution time of the processing program, but if the cooling medium designation code is set by the processing program, such a correspondence can be simply set, so the burden on the user can be greatly reduced. Furthermore, the invention of patent document 3 is not only able to control the supply of cooling medium to the necessary part by being able to control the discharge amount of the cooling medium according to the called tool, so the above-mentioned first to sixteenth modes of technology are advantageous. Patent Document 4 requires manual setting of the valve for supplying the cooling medium if the discharge amount of the cooling medium is to be controlled in the same manner as the techniques of the first to sixteenth aspects. In contrast, the techniques of the first to sixteenth aspects can significantly reduce the burden on the user.

[0023] The machine tool of the sixteenth mode includes: the cooling medium supply method of the second mode; the program of the fourteenth mode, including instructions for causing a hardware processor to execute the processing of the cooling medium supply method of the second mode; the cooling medium supply device of the fifteenth mode including the program; and a unit for executing the processing of the cooling medium supply method of the second mode. In the machine tool of the sixteenth mode, the area to be sprayed with cooling medium and the amount of cooling medium specified by each of at least one cooling medium specifying code can be confirmed. More specifically, not only can the spray area to be sprayed with cooling medium and the amount of cooling medium sprayed specified by the called code included in the at least one cooling medium specifying code be confirmed, but also when at least one cooling medium specifying code includes the called code and the alternative code that can be used for substitution, it can be confirmed whether there is an alternative code for specifying the alternative area to be sprayed with cooling medium and the alternative spray amount that is better than the called code.

[0024] The machine tool of the sixteenth mode includes: a cooling medium supply method of the third mode; a program of the fourteenth mode, including instructions for causing a hardware processor to execute the processing of the cooling medium supply method of the third mode; a cooling medium supply device of the fifteenth mode including the program; and a unit for executing the processing of the cooling medium supply method of the third mode. In the machine tool of the sixteenth mode, it is possible to confirm the power consumption of a pump based on at least one cooling medium designation code. More specifically, it is possible not only to confirm the power consumption of a pump based on a called code included in at least one cooling medium designation code, but also to confirm whether there is an alternative code for specifying the power consumption of a pump that is better than the called code when at least one cooling medium designation code includes a called code and an alternative code that can be used as an alternative.

[0025] The machine tool of the sixteenth aspect comprises: the cooling medium supply method of the fourth aspect; the program of the fourteenth aspect, including an instruction for causing a hardware processor to execute the processing of the cooling medium supply method of the fourth aspect; the cooling medium supply device of the fifteenth aspect including the program; and a unit for executing the processing of the cooling medium supply method of the fourth aspect. In the machine tool of the sixteenth aspect, the opening and closing of a plurality of valves specified by the called code read from the machining program can be changed while observing the spraying state of the cooling medium.

[0026] The machine tool of the sixteenth aspect comprises: the cooling medium supply method of the fifth aspect; the program of the fourteenth aspect, including an instruction for causing a hardware processor to execute the processing of the cooling medium supply method of the fifth aspect; the cooling medium supply device of the fifteenth aspect including the program; and a unit for executing the processing of the cooling medium supply method of the fifth aspect. In the machine tool of the sixteenth aspect, since the opening and closing of a plurality of valves can be designated by a toggle switch that is commonly used by many users, the setting is easy.

[0027] A machine tool according to a sixteenth aspect includes: the cooling medium supply method according to the sixth aspect; the program according to the fourteenth aspect, including an instruction for causing a hardware processor to execute the processing of the cooling medium supply method according to the sixth aspect; a cooling medium supply device according to the fifteenth aspect including the program; and a unit for executing the processing of the cooling medium supply method according to the sixth aspect. In the machine tool according to the sixteenth aspect, the degree of discharge of the cooling medium specified by the called code read from the machining program can be changed while observing the spray state of the cooling medium.

[0028] The machine tool of the sixteenth aspect comprises: the cooling medium supply method of the seventh aspect; the program of the fourteenth aspect, including an instruction for causing a hardware processor to execute the processing of the cooling medium supply method of the seventh aspect; the cooling medium supply device of the fifteenth aspect including the program; and a unit for executing the processing of the cooling medium supply method of the seventh aspect. In the machine tool of the sixteenth aspect, since the degree of discharge of the cooling medium can be specified by a slide bar that is familiar to most users, it is easy to set.

[0029] The machine tool of the sixteenth aspect comprises: the cooling medium supply method of the eighth aspect; the program of the fourteenth aspect, comprising an instruction for causing a hardware processor to execute the processing of the cooling medium supply method of the eighth aspect; the cooling medium supply device of the fifteenth aspect comprising the program; and a unit for executing the processing of the cooling medium supply method of the eighth aspect. In the machine tool of the sixteenth aspect, when there is an alternative code better than the currently set called code, the called code read in the machining program can be replaced with the alternative code.

[0030] The machine tool of the sixteenth aspect comprises: the cooling medium supply method of the ninth aspect; the program of the fourteenth aspect, comprising an instruction for causing a hardware processor to execute the processing of the cooling medium supply method of the ninth aspect; the cooling medium supply device of the fifteenth aspect including the program; and a unit for executing the processing of the cooling medium supply method of the ninth aspect. In the machine tool of the sixteenth aspect, the pump output obtained according to the frequency of the inverter is used as the discharge degree of the cooling medium, and the inverter controls the motor for driving the pump, so that the technology can be easily realized.

[0031] The machine tool of the sixteenth mode includes: the cooling medium supply method of the tenth mode; the program of the fourteenth mode, including instructions for causing a hardware processor to execute the processing of the cooling medium supply method of the tenth mode; the cooling medium supply device of the fifteenth mode including the program; and a unit for executing the processing of the cooling medium supply method of the tenth mode. In the machine tool of the sixteenth mode, the output of the pump is represented by the rotation speed of the pump or the operating frequency of the pump. Since the discharge degree of the cooling medium increases monotonically with respect to the rotation speed of the pump or the operating frequency of the pump, it is effective as a scale to represent the discharge degree of the cooling medium. On the other hand, the rotation speed of the pump or the operating frequency of the pump can be accurately predicted by the inverter compared with the discharge amount of the pump that requires other flow sensors, and the inverter controls the motor used to drive the pump, so it is easy to implement this technology.

[0032] The machine tool of the sixteenth aspect includes: the cooling medium supply method of the eleventh aspect; the program of the fourteenth aspect, including instructions for causing a hardware processor to execute the processing of the cooling medium supply method of the eleventh aspect; the cooling medium supply device of the fifteenth aspect including the program; and a unit for executing the processing of the cooling medium supply method of the eleventh aspect. In the machine tool of the sixteenth aspect, the injection of the cooling medium from a plurality of nozzles can be controlled by opening and closing the wide-area control valve, thereby making it possible to manufacture the cooling medium supply device at a low cost compared to the case where valves are installed on all nozzles. In addition, since the cooling medium is supplied to a plurality of areas of the processing area by the wide-area control valve, the operator can determine the injection area of ​​the cooling medium by simple control.

[0033] A machine tool of a sixteenth aspect includes: a cooling medium supply method of the twelfth aspect; a program of a fourteenth aspect including instructions for causing a hardware processor to execute the processing of the cooling medium supply method of the twelfth aspect; a cooling medium supply device of a fifteenth aspect including the program; and a unit for executing the processing of the cooling medium supply method of the twelfth aspect. In the machine tool of the sixteenth aspect, a plurality of partial nozzles controlled by a wide area control valve correspond to one of a plurality of partitions into which a machining area is divided, whereby the wide area control valve can control whether to spray the cooling medium to the partition matching the usage mode of the machining area, thereby enabling efficient supply of the cooling medium.

[0034] The machine tool of the sixteenth aspect comprises: the cooling medium supply method of the thirteenth aspect; the program of the fourteenth aspect, including an instruction for causing a hardware processor to execute the processing of the cooling medium supply method of the thirteenth aspect; the cooling medium supply device of the fifteenth aspect including the program; and a unit for executing the processing of the cooling medium supply method of the thirteenth aspect. In the machine tool of the sixteenth aspect, since the plurality of valves are respectively provided for the plurality of nozzles, the injection nozzles can be set extremely finely.

[0035] According to the technology disclosed in the present application, a cooling medium supply device, a machine tool, a cooling medium supply method and a program for supplying a cooling medium to a machine tool can be provided, which can switch the nozzle and discharge degree of the cooling medium in conjunction with the processing program, and the user operation is simple and can reduce power consumption. A cooling medium supply device, a machine tool, a cooling medium supply method and a program for supplying a cooling medium to a machine tool can also be provided, which can easily change the nozzle and discharge degree of the cooling medium during the execution of the processing program. BRIEF DESCRIPTION OF THE DRAWINGS

[0036] Figure 1 It is a structural diagram showing a schematic structure of a machine tool according to the embodiment. Figure 2 It is a block diagram of the hardware configuration of the machine tool according to the embodiment. Figure 3 This is an example of a processing program. Figure 4A This is another example of a processing procedure. Figure 4B This is another example of a processing procedure. Figure 5 This is a flowchart showing the flow of processing of a method for supplying a coolant to a machine tool. Figure 6 An example of a setting screen showing the coolant setting data. Fig. 7A Yes means through Figure 6 This is a flowchart of the process of processing the cooling medium supply method of the machine tool when setting the interface. Figure 7B Yes means through Figure 6 This is a flowchart of the process of processing the cooling medium supply method of the machine tool when setting the interface. Figure 7C Yes means through Figure 6 This is a flowchart of the process of processing the cooling medium supply method of the machine tool when setting the interface. Fig.7D Yes means through Figure 6 This is a flowchart of the process of processing the cooling medium supply method of the machine tool when setting the interface. Fig. 7E Yes means through Figure 6 This is a flowchart of the process of processing the cooling medium supply method of the machine tool when setting the interface. Figure 8 Another example of the setting interface showing the coolant setting data. Fig. 9 Yes means through Figure 8 This is a flowchart of the process of processing the cooling medium supply method of the machine tool when setting the interface. Fig.10 It is a block diagram of the hardware configuration of a machine tool according to a modified example. DETAILED DESCRIPTION

[0037] 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 1 is a block diagram showing the structure of a machine tool 1 according to an embodiment of the present invention. The machine tool 1 includes a numerical control device 2, a machine cover 3, a table 4 for carrying a workpiece W, a spindle unit 5 for mounting a tool T, a switchboard 9, and a cooling medium supply device 10. The machine tool 1 includes a spindle moving device (not shown) that holds the spindle unit 5 and moves the spindle unit 5 in a certain direction. Figure 1 The machine tool 1 is provided with a table moving device (not shown) which moves the table 4 in at least one of the X-axis, Y-axis and Z-axis. Figure 1 The tool T is moved in at least one direction of the X-axis, Y-axis, and Z-axis. In addition, the movement direction of the spindle unit 5 and the movement direction of the table 4 can be considered in various ways depending on the type of the machine tool 1. The numerical control device 2 controls the spindle moving device and the table moving device to rotate the tool T. The numerical control device 2 includes an electronic circuit such as an electronic control unit (Electric Control Unit), an information processing unit such as a hardware processor 2P, and a storage unit such as a memory 2M (see Figure 2 ). The numerical control device 2 includes a control panel 2CP such as a touch panel display that can input and output information for the user. The switchboard 9 supplies power to the numerical control device 2 and the cooling medium supply device 10. The machine tool 1 processes the workpiece W arranged on the worktable 4 by the tool T installed at the top of the spindle unit 5. Here, it is assumed that the tool rotates along the tool rotation axis A. TW The axis of the inner cover 3 is defined as the Z axis, the axis perpendicular to the Z axis and along the upper surface of the inner cover 3 is defined as the Y axis, and the axis perpendicular to the Y axis and the Z axis is defined as the X axis.

[0038] The cooling medium supply device 10 includes a cooling medium container 11, a plurality of nozzles 12, a plurality of cooling medium supply channels 13, a plurality of valves 14, a pump device 15, and a cooling medium supply program 19 executed by the numerical control device 2 (see Figure 2The machine cover 3 includes a discharge port 3E connected to a cooling medium container 11 provided at the lower side of the center of the machine cover 3, and a plurality of inclined plates (raked floors) 3F inclined downward toward the discharge port 3E, so as to recover the cooling medium, which is sprayed from a plurality of nozzles 12 to the processing area in order to make the chips generated when processing the workpiece W flow. The machine cover 3 divides the processing area of ​​the machine tool 1 for processing the workpiece W and other areas. The cooling medium container 11 is configured to store the cooling medium. A plurality of nozzles 12 are installed on the machine tool 1, and the cooling medium is sprayed from the plurality of nozzles 12. Figure 1 The plurality of nozzles 12 are respectively indicated as nozzles 12A to 12J.

[0039] The plurality of cooling medium supply channels 13 connect the plurality of nozzles 12 and the cooling medium container 11 . Figure 1 The plurality of cooling medium supply channels 13 are respectively indicated as supply channels 13A to 13D. The plurality of cooling medium supply channels 13 respectively connect a plurality of partial nozzles among the plurality of nozzles 12 and the cooling medium container 11. Specifically, the cooling medium supply channel 13A connects the nozzle 12A and the nozzle 12B to the cooling medium container 11. The cooling medium supply channel 13B connects the nozzle 12C, the nozzle 12D, and the nozzle 12E to the cooling medium container 11. The cooling medium supply channel 13C connects the nozzle 12F and the nozzle 12G to the cooling medium container 11. The cooling medium supply channel 13D connects the nozzle 12H, the nozzle 12I, and the nozzle 12J to the cooling medium container 11.

[0040] The area where the cooling medium is sprayed from the plurality of partial nozzles corresponds to one of the plurality of partitions into which the processing area of ​​the machine tool 1 is divided. For example, the area A where the cooling medium is sprayed from the plurality of partial nozzles (nozzle 12A and nozzle 12B) connected to the cooling medium supply flow channel 13A corresponds to one of the plurality of partitions into which the processing area of ​​the machine tool 1 (the area occupied by the plurality of inclined plates 3F and the discharge port 3E) is divided. The area B where the cooling medium is sprayed from the plurality of partial nozzles (nozzle 12C, nozzle 12D, and nozzle 12E) connected to the cooling medium supply flow channel 13B corresponds to one of the plurality of partitions into which the processing area of ​​the machine tool 1 (same as above) is divided. The area C where the cooling medium is sprayed from the plurality of partial nozzles (nozzle 12F and nozzle 12G) connected to the cooling medium supply flow channel 13C corresponds to one of the plurality of partitions into which the processing area of ​​the machine tool 1 (same as above) is divided. The area D to which the cooling medium is sprayed from the multiple partial nozzles (nozzle 12H, nozzle 12I and nozzle 12J) connected to the cooling medium supply channel 13D corresponds to one of the multiple partitions into which the processing area (same as above) of the machine tool 1 is divided. The above-mentioned areas A to D are displayed corresponding to the multiple inclined plates 3F. In addition, the areas A to D can also be called partitions A to D. In addition, in the above-mentioned example, the case where areas A to D are part of the processing area (same as above) is shown, but the cooling medium can also be sprayed from multiple partial nozzles to multiple parts of the processing area (same as above) separated from each other. For example, the partition formed by dividing the processing area (same as above) may include area B and area D, and the cooling medium supply channel connected to the partition may be composed of one oil circuit.

[0041] The plurality of valves 14 are respectively provided in the plurality of cooling medium supply flow paths 13. Preferably, the plurality of valves 14 are electromagnetic control valves whose opening and closing are controlled by an electric signal from the numerical control device 2. Figure 1 The plurality of valves 14 are respectively indicated as valves 14A to 14D. At least one of the plurality of valves 14 is provided in the cooling medium supply flow path 13 connected to the plurality of partial nozzles among the plurality of nozzles 12. The valve provided in the cooling medium supply flow path 13 connected to the plurality of partial nozzles in this way may also be referred to as a wide-area control valve. Valve 14A is provided in the cooling medium supply flow path 13A and is opened when the cooling medium is supplied to the region A. Valve 14B is provided in the cooling medium supply flow path 13B and is opened when the cooling medium is supplied to the region B. Valve 14C is provided in the cooling medium supply flow path 13C and is opened when the cooling medium is supplied to the region C. Valve 14D is provided in the cooling medium supply flow path 13D and is opened when the cooling medium is supplied to the region D. Valves 14A to 14D are wide-area control valves. A pump device 15 is connected to the plurality of cooling medium supply flow paths 13. The pump device 15 discharges the cooling medium to the injection nozzles, which are the plurality of partial nozzles present in the cooling medium supply flow path 13 corresponding to the opened valves among the plurality of valves 14.

[0042] Since the cooling medium supply device 10 has the above-mentioned structure, the cooling medium drawn by the pump 15 passes through the multiple cooling medium supply flow channels 13 and is sprayed from the spray nozzle connected to the open valve among the multiple valves 14, thereby spraying the cooling medium onto the workpiece W being processed and the multiple inclined plates 3F to which the chips generated by the processing are attached, so as to remove the chips.

[0043] Figure 2 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 includes a hardware processor 2P, a memory 2M, a system bus 2SB and an external I / O interface 2IO. The system bus 2SB includes an address bus, a data bus and a control bus in the same manner as a general computer. The external I / O interface 2IO is connected to an external device (for example, a plurality of valves 14, a pump device 15). The external I / O interface 2IO sends an electrical signal for opening and closing control to the plurality of valves 14. A machining program 2MP and a cooling medium supply program 19 for machining a workpiece W are installed in the memory 2M, and the memory 2M is configured to store the machining program 2MP and the cooling medium supply program 19. The hardware processor 2P executes the machining program 2MP to control the spindle unit 5. The hardware processor 2P executes the cooling medium supply program 19 to control the plurality of valves 14 and the pump device 15. The cooling medium supply program 19 includes the following processing, that is, the processing causes the hardware processor 2P to execute the following Figure 5 , Figures 7A to 7C , Fig. 9 The process of the cooling medium supply method is shown.

[0044] The pump device 15 includes an inverter 15I, a motor 15M, and a pump 15P. The inverter 15I drives the motor 15M according to a drive signal from the numerical control device 2 sent via the external I / O interface 2IO. The inverter 15I controls the rotation speed of the motor 15M according to the drive signal from the numerical control device 2. The motor 15M rotates the inclined plate of the pump 15P. The pump 15P is connected to the cooling medium container 11. The pump 15P is configured to discharge the cooling medium from the cooling medium container 11 and supply the cooling medium to a plurality of nozzles 12. The switchboard 9 includes a power supply PS that supplies power to the inverter 15I.

[0045] Next, the contents of the machining program 2MP will be described. In the present embodiment, the machining program 2MP is described by a program code for numerically controlling the machine tool 1. In the machining program 2MP, at least the following contents are defined. (1) Common unit: Material and shape of the workpiece W before processing (2) Basic coordinate unit: How to set the workpiece coordinate system and machine tool coordinate system (3) Processing unit: Processing method and shape of each part in the final processed shape The common unit, the basic coordinate unit, and the machining unit each have a unit number.

[0046] like Figure 3 As shown, the machining unit includes: unit number UNo.; information that determines the machining content (unit name); tool sequence TS, which sets the tool Ta and the cutting condition of the tool Ta; and shape sequence SS, which specifies the machining shape machined in the machining unit. The tool sequence TS refers to a series of machining stages required to form the machining shape of the part specified by the machining unit (for example, a bar, a threaded hole). The shape sequence SS refers to a collection of segments defined by the starting point, the end point, and the connection relationship between the starting point and the end point (straight line, arc, etc.) of the tool tip in the workpiece coordinates used to determine the machining shape.

[0047] exist Figure 3 In the example, an example is shown in which the machining unit has a tool sequence TS and a shape sequence SS. However, the machining unit may also have two tool sequences, a tool sequence for rough machining and a tool sequence for fine machining. In order to cope with complex machining shapes, the machining unit may also have multiple shape sequences. In the case where the machining unit has multiple tool sequences and multiple shape sequences, during the execution of the machining unit, the tool is first moved so that the shapes shown in all shape sequences can be generated relative to the tool sequences one by one in the arrangement order of the tool sequences. Each tool sequence is distinguished by a sequence number SNo. Each shape sequence is distinguished by a number recorded in the FIG item. Here, the control of the cooling medium supply device 10 can be set for each tool sequence TS. The setting method can be set by calling an M code, and the M code defines a combination of the opening and closing of multiple nozzles 12 and the discharge degree of the cooling medium discharged by the pump 15P. In this embodiment, the M code is referred to as a cooling medium designation code. That is, the cooling medium designation code specifies the opening and closing of multiple nozzles 12, and specifies the discharge degree of the cooling medium discharged by the pump 15P. The discharge degree of the specified cooling medium includes specifying the output of the pump 15P. In addition, the parameters related to the discharge of the cooling medium specified by the M code are collectively referred to as the cooling medium discharge parameters. That is, the cooling medium designation code specifies the cooling medium discharge parameters. The cooling medium discharge parameters include the opening and closing of multiple nozzles 12 and the degree of discharge of the cooling medium by the pump 15P. Since the M code has codes that have been reserved for other purposes, the empty codes other than these are used as cooling medium designation codes. For example, M101 to M109 are used as cooling medium designation codes. In addition, the M code in the cooling medium designation code that is called during the execution of the machining program 2MP is called a called code. Figure 3In the example, an example of specifying the coolant designation code M105 in the tool sequence of serial number R1 is shown. In this case, M105 is the called code. In addition, in the case where the machining unit has two tool sequences for rough machining and fine machining, different coolant designation codes can also be set in the tool sequence for rough machining and the tool sequence for fine machining. In this case, in the process of the machining program 2MP executing the tool sequence for rough machining, the M code included in the tool sequence for rough machining becomes the called code, and in the process of the machining program 2MP executing the tool sequence for fine machining, the M code included in the tool sequence for fine machining becomes the called code.

[0048] Processing program 2MP is not limited to Figure 3 For example, it can also be a program based on the EIA / ISO format. Figure 4A and Figure 4B An example of a program based on the EIA / ISO format is shown. In the machining program 2MP based on the EIA / ISO format, after a cooling medium designation code M101 to M109 is called, (1) until another cooling medium designation code is called, (2) until an M code (M100) for canceling the cooling medium designation code is called, or (3) until an M code (M30) indicating the end of the machining program is called, the cooling medium is supplied from at least one nozzle designated by the cooling medium designation code at a designated discharge rate.

[0049] exist Figure 4A In the example of , from the time the M105 code is called until the M101 code is called, the cooling medium is supplied based on the cooling medium discharge parameter specified by the M105 code as the called code. From the time the M101 code is called until the M30 code is called, the cooling medium is supplied based on the cooling medium discharge parameter specified by the M101 code as the called code. Figure 4B In the example of , from the time when the M105 code is called until the M100 code is called, the cooling medium is supplied based on the specified cooling medium discharge parameter specified by the M105 code as the called code. From the time when the M100 code is called until the M30 code is called, all the nozzles 12 are opened and the pump 15P is operated at the base frequency. The base frequency is the highest frequency at which the motor 15M can continuously generate the rated torque. The base frequency is the same as the frequency of the commercial power supplied to the switchboard 9.

[0050] Next, the contents set by the cooling medium designation code are described. Figure 2As shown, the content set by the cooling medium designation code is recorded in the cooling medium setting data 18 and stored in the memory 2M. The cooling medium setting data 18 includes an M code that specifies the cooling medium designation code, and information associated with the M code indicating the opening and closing of multiple valves 14 and information indicating the degree of discharge of the cooling medium discharged by the pump 15P. The discharge degree can also be represented by the output of the pump 15P, that is, by the rotation speed of the pump 15P (motor 15M) that can be controlled by the inverter 15I or the operating frequency of the pump 15P (motor 15M). In addition, the cooling medium setting data 18 can also include information associated with the M code indicating the presence or absence of injection of multiple nozzles 12 corresponding to the opening and closing of multiple valves 14. At this time, the cooling medium discharge parameter also includes information indicating the presence or absence of injection of multiple nozzles 12.

[0051] Next, a method of supplying a coolant to the machine tool 1 will be described. Figure 5 It is a flowchart representing the process of processing of the supply method. If the processing program 2MP includes an M code set in the cooling medium setting data 18, the cooling medium supply program 19 is called. In step S11, the processor 2P executing the cooling medium supply program 19 reads the called code (M code) from the processing program 2MP. In step S12, the processor 2P executing the cooling medium supply program 19 controls the opening and closing of multiple valves 14 based on the called code. In the following embodiments, the valve designated as open by the called code is called an open valve, and the valve designated as closed by the called code is called a closed valve. Regardless of which cooling medium designation code is used, at least one open valve is designated. In step S13, the processor 2P executing the cooling medium supply program 19 controls the pump 15P so that the cooling medium is discharged at a discharge degree specified by the called code. Specifically, the processor 2P executing the cooling medium supply program 19 controls the pump 15P by sending a drive signal of the rotation speed or operating frequency of the pump 15P specified by the cooling medium designation code to the inverter 15I. The operating frequency is the frequency of the AC current output by the inverter 15I, and the inverter 15I controls the motor 15M that operates the pump 15P. Thus, the machine tool 1 can spray the coolant from at least one spray nozzle connected to at least one open valve among the plurality of valves 14 . <Setting Coolant Setting Data 18 While Executing Machining Program 2MP> Next, the method of setting the cooling medium setting data 18 is described. The user can set the cooling medium setting data 18 while executing the machining program 2MP. The processor 2P that executes the cooling medium supply program 19 is configured to execute the display on the control panel 2CP during the execution of the machining program 2MP. Figure 6The interface INT displays the setting number T1, mode T2, cooling medium designation code (M code) T3, jetting location T4, cooling medium quantity display T5, and power consumption display T6 for determining the combination of cooling medium designation code and cooling medium discharge parameter in correspondence with each other. Figure 6 In the example, the combination of setting number T1, mode T2, coolant designation code (M code) T3, injection location T4, coolant quantity display T5 and power consumption display T6 is displayed as one line. The interface INT displays the combination related to the called code as highlighted SEL. That is, the interface INT displays the combination related to the M code called in the machining program 2MP as highlighted SEL. In subsequent embodiments, the coolant designation code that is not currently being executed is referred to as an alternative code. The alternative code can be exchanged with the called code. Figure 6 In the example, the currently executed called code is M105, and the replacement codes are M101 to M104.

[0052] If the touch panel detects the selection of other combinations (for example, SEL'), the combination related to the M code displayed with a highlighted SEL is changed. The operation of selecting the other combination can also be referred to as the operation of selecting an alternative code. If the touch panel detects the selection of other combinations, the selected combination (for example, SEL') is displayed with a highlighted SEL, and the original combination is not displayed with a highlighted SEL. In addition, if a combination that does not specify the cooling medium specified code (M code) T3 is selected, a pop-up window for inputting the cooling medium specified code (M code) T3 is displayed, and if the cooling medium specified code (M code) T3 is input, the combination is displayed with a highlighted SEL. In addition, the combination related to the currently executing cooling medium specified code (called code) and the combination related to the separately selected cooling medium specified code can also be displayed with highlighted SEL and SEL' of different colors. In the following description, the separately selected cooling medium specified code may also be referred to as the selected alternative code.

[0053] The combination with the lock icon LK displayed on the left side of the setting number T1 is displayed as a sample and cannot be edited. In fact, the user copies the most suitable combination of setting numbers 0 to 8 after setting number 9 to edit it. The description of the copying method is omitted, but the control panel 2CP provides an interface provided as a copy and paste function in a general user interface, and the user can use this interface. Preferably, the setting number T1 is included in the cooling medium setting data 18 and stored in the memory 2M.

[0054] Spraying location T4 indicates Figure 1The area in which the cooled medium in areas A to D is sprayed from at least one nozzle connected to at least one valve designated as open by the cooling medium designation code (M code) T3. Here, the cooling medium is sprayed to areas A to D corresponding to the marks (for example, A to D) displayed as the spraying place T4. That is, when areas A to D are respectively designated in the spraying place T4, valves 14A to 14D are opened respectively. The spraying places T4 with setting numbers T1 of 0 to 8 cannot be modified, but the spraying places T4 with setting numbers T1 after 9 can be modified. The modification method will be described later. The spraying place T4 can be displayed based on the information indicating the opening and closing of multiple valves 14 contained in the cooling medium setting data 18, and can also be included in the cooling medium setting data 18 as data different from the information.

[0055] The cooling medium quantity display T5 is an indicator showing the amount of cooling medium injected per unit time from each injection nozzle. The amount of cooling medium injected per unit time from each injection nozzle can be calculated by dividing the amount of cooling medium discharged per unit time from the pump 15P, which can be estimated based on the output (rated output × operating frequency / base frequency) of the pump 15P, by the number of injection nozzles. The rated output of the pump 15P here is the amount of cooling medium discharged per unit time from the pump 15P when the rated current flows through the motor 15M driving the pump 15P. The number of injection nozzles is obtained based on the information indicating the opening and closing of multiple valves 14 contained in the cooling medium setting data 18. The output (rotation speed or operating frequency) of the pump 15P is obtained based on the information indicating the degree of discharge of the cooling medium discharged from the pump 15P. The cooling medium quantity display T5 shows the ratio of the amount of cooling medium injected per unit time from each injection nozzle to the usual sufficient and necessary injection amount determined based on experience. The cooling medium quantity display T5 takes 100% of the necessary and sufficient injection quantity as the maximum value of the indicator, and in the case where the calculated injection quantity exceeds the necessary and sufficient injection quantity, all are displayed as the maximum value. The more the number of injection nozzles increases, the less the injection quantity of the cooling medium per unit time from each injection nozzle. However, the cooling medium quantity display T5 can also be an indicator indicating the total amount of cooling medium ejected from the injection nozzle per unit time. For example, the indicator can also indicate the ratio of the discharge amount of the cooling medium to the product of the necessary and sufficient injection quantity of each nozzle and the number of nozzles. 100% of the product is taken as the maximum value of the indicator, and in the case where the calculated injection quantity exceeds the necessary and sufficient injection quantity, all are displayed as the maximum value.

[0056] The power consumption indicator T6 is an indicator showing the power consumed by the pump 15P when the pump 15P discharges. The power consumed by the pump 15P can be calculated by the following formula (1) based on the output (rotation speed or operating frequency) of the pump 15P and the specifications of the pump 15P. Power consumption = rated power consumption × (operating frequency / base frequency)^3 + α × (base frequency - operating frequency) Formula (1) The rotation speed or operating frequency is obtained by using the information indicating the degree of discharge of the cooling medium discharged by the pump 15P contained in the cooling medium setting data 18. The rated power consumption is the power consumed when the rated current flows through the motor 15M that drives the pump 15P, and is stored in the memory 2M as a constant used in the cooling medium supply program 19. The theoretical formula for power consumption is rated power consumption × (operating frequency / base frequency)^3. However, there is a tendency that the difference between the measured value of power consumption and the value obtained by the theoretical formula increases roughly proportionally as the operating frequency deviates from the base frequency. The coefficient α is determined empirically based on the change in such deviation value relative to the operating frequency. The algorithm of formula (1) is incorporated into the cooling medium supply program 19. In addition, as an alternative method, the memory 2M may store the correspondence between the degree of discharge of the cooling medium discharged by the pump 15P and the power consumption, and for the discharge degree not stored in the correspondence, the power consumption is calculated based on the discharge degree stored with a correspondence close to the discharge degree using linear interpolation or the like. The power consumption indicator T6 indicates the ratio of the power consumed by the pump 15P when the pump 15P discharges with the cooling medium amount T5 to the rated power consumption of the pump 15P. The rated power consumption is stored in the memory 2M as a constant used in the cooling medium supply program 19. The power consumption indicator T6 uses 100% of the rated power consumption as the maximum value of the indicator. When the calculated power exceeds the rated power consumption, all the maximum values ​​are displayed. The cooling medium amount T5 and the power consumption T6 for setting numbers T1 from 0 to 8 cannot be modified, and the cooling medium amount T5 and the power consumption T6 for setting numbers T1 from 9 onwards can be modified. The modification method will be described later.

[0057] Mode T2 includes any one of modes A to C. In mode A, it is indicated that the cooling medium is discharged from all areas A to D, and the power consumption / cooling medium amount is different. In mode B, the output (rotation speed or operating frequency) of the pump 15P is determined in such a way that the injection amount of the cooling medium per unit time from each predetermined injection nozzle is equal to the above-mentioned normal necessary and sufficient injection amount. The power consumption per unit time is determined by the output of the pump 15P. In mode C, for a predetermined injection nozzle, the degree of discharge of the cooling medium is determined in such a way that the cooling medium is discharged at a predetermined low power consumption. In addition, when the combination of setting numbers 0 to 8 is copied and edited after setting number 9, there is also a deviation from the above-mentioned characteristics of mode T2, but in this case, the information of the copied original mode T2 is displayed. Preferably, mode T2 is included in the cooling medium setting data 18 and stored in the memory 2M. Mode T2 can also be omitted.

[0058] The cooling medium designation code (M code) T3 can be set in association with any setting number T1. Figure 6 , the cooling medium designation code T3 of M101 to M105 is assigned to the setting numbers 0, 3, 6, 7, and 9, respectively. The setting can be performed by a known method such as the following method: if the display portion of the cooling medium designation code (M code) T3 is clicked, a pull-down menu is displayed, and the cooling medium designation code to be set is selected (in the case of canceling the setting, a blank portion is selected). In addition, in the cooling medium setting data 18, the mode T2, the cooling medium designation code (M code) T3, the information indicating the opening and closing of multiple valves 14, and the information indicating the discharge degree of the cooling medium discharged by the pump 15P are associated with the setting number T1. In addition, the cooling medium setting data 18 includes the setting number T1, the mode T2, the cooling medium designation code (M code) T3, the information indicating the opening and closing of multiple valves 14, and the information indicating the discharge degree of the cooling medium discharged by the pump 15P, which are associated with the replacement code. The coolant setting data 18 includes a mode T2 associated with a setting number T1 to which no alternative code is assigned, a coolant designation code (M code) T3, information indicating opening and closing of a plurality of valves 14, and information indicating the degree of coolant discharge by the pump 15P.

[0059] The interface INT also includes a slide bar SL, multiple toggle switches SW1~SW4, a power consumption setting display T7, a cooling medium quantity setting display T8, a processing area image IMG, a setting application button BT1, a setting release button BT2, a program write button BT3 and a cooling medium discharge parameter update button BT4.

[0060] The slide bar SL includes an indicator IND indicating the output (rotation speed / operation frequency) of the pump 15P, and a slider RUN provided at the top of the indicator IND. When the operation of selecting the alternative code is not detected, the indicator IND indicates the degree of discharge of the cooling medium discharged by the pump 15P specified by the called code. When the operation of selecting the alternative code is detected, the indicator IND indicates the degree of discharge of the cooling medium discharged by the pump 15P specified by the selected alternative code. In the following description, the called code when the operation of selecting the alternative code is not detected and the selected alternative code when the operation of selecting the alternative code is detected are collectively referred to as the editing object code. The initial value of the output of the pump 15P displayed as the indicator IND is the output of the pump 15P associated with the editing object code, and is stored in the cooling medium setting data 18 as information indicating the degree of discharge of the cooling medium discharged by the pump 15P. The user can change the output of the pump 15P by operating the slider RUN through the touch panel. If the movement of the slider RUN is detected by the touch panel, the processor 2P executing the cooling medium supply program 19 specifies the degree indicated by the changed indicator IND as the changed discharge degree.

[0061] The plurality of toggle switches SW1 to SW4 correspond to the plurality of valves 14A to 14D, respectively, and the plurality of valves 14A to 14D are respectively provided on the plurality of cooling medium supply channels 13A to 13D connected to at least one of the plurality of nozzles 12. When the operation of selecting the replacement code is not detected, the plurality of toggle switches SW1 to SW4 are provided in the following manner: at least one toggle switch corresponding to at least one open valve is directed toward a first side, and a toggle switch corresponding to a valve other than the at least one open valve is directed toward a second side opposite to the first side. When the operation of selecting the replacement code is detected, the plurality of toggle switches SW1 to SW4 are provided in the following manner: at least one toggle switch corresponding to at least one valve designated as open by the selected replacement code is directed toward a first side, and a toggle switch corresponding to a valve other than the at least one open valve is directed toward a second side opposite to the first side. Figure 6 In the example of , the first side is the right side and the second side is the left side, but the opposite is also possible. Figure 6The example is a state in which the cooling medium is supplied based on setting number 9 (cooling medium designation code M105), so as an initial value, all of the multiple toggle switches SW1 to SW4 are facing the first side. If the touch panel detects a change in the direction of at least one of the multiple toggle switches SW1 to SW4, the processor 2P that executes the cooling medium supply program 19 designates the valve corresponding to the toggle switch facing the first side as the changed open valve, and the valve corresponding to the toggle switch facing the second side as the changed closed valve. In addition, in the following description, the toggle switch facing the first side may be referred to as an open state toggle switch, and the toggle switch facing the second side may be referred to as a closed state toggle switch.

[0062] If only the slide bar SL is operated, the processor 2P executing the cooling medium supply program 19 calculates the changed injection amount of the cooling medium from each injection nozzle per unit time and the changed power consumption of the pump 15P per unit time based on the changed discharge degree and at least one open valve (or at least one valve designated as open by the selected replacement code). If only at least one of the plurality of toggle switches SW1 to SW4 is operated, the processor 2P executing the cooling medium supply program 19 calculates the changed injection amount of the cooling medium from each injection nozzle per unit time and the changed power consumption of the pump 15P per unit time based on at least one changed open valve and the discharge degree designated by the edit object code. If the slide bar SL and at least one of the plurality of toggle switches SW1 to SW4 are operated, the processor 2P executing the cooling medium supply program 19 calculates the changed injection amount of the cooling medium from each injection nozzle per unit time and the changed power consumption of the pump 15P per unit time based on at least one changed open valve and the changed discharge degree. The changed injection amount can be calculated by the same calculation method as the injection amount described above. The changed power consumption can be calculated by the same calculation method as the above-mentioned power consumption.

[0063] The power consumption display T7 is set to indicate the ratio of the calculated changed power consumption of the pump 15P to the rated power consumption of the pump 15P. That is, the power consumption display T7 is set to display the changed power consumption per unit time on the same scale as the power consumption display T6. The cooling medium amount display T8 is set to indicate the ratio of the calculated changed injection amount to the usual necessary and sufficient injection amount of the cooling medium from the nozzle determined based on experience. That is, the cooling medium amount display T8 is set to display the changed injection amount of the cooling medium from each injection nozzle per unit time on the same scale as the cooling medium amount display T5. However, the cooling medium amount display T8 may also be an indicator indicating the total amount of cooling medium injected per unit time. For example, the indicator may also indicate the ratio of the discharge amount of the cooling medium to the product of the necessary and sufficient injection amount of each nozzle and the number of nozzles. 100% of the product is taken as the maximum value of the indicator, and when the calculated injection amount exceeds the necessary and sufficient injection amount, all are displayed as the maximum value.

[0064] The processing area image IMG is a live image of a camera that captures the processing area (the area occupied by the plurality of inclined plates 3F and the discharge port 3E). Alternatively, the processing area image IMG may be a photograph of the processing area, or a simple illustration that allows the position and area of ​​the valve to be known. Figure 6 In the processing area image IMG, the reference numerals corresponding to the areas A to D are indicated, but such reference numerals may be displayed overlaid on the processing area image IMG or not. When the slide bar SL and the plurality of toggle switches SW1 to SW4 are operated only from the initial value, only the display of the set power consumption display T7 and the set cooling medium amount display T8 is changed, and the actual discharge of the cooling medium remains unchanged compared to before the operation of the slide bar SL and the plurality of toggle switches SW1 to SW4.

[0065] Here, if the touch panel detects that the setting application button BT1 is pressed, the processor 2P executing the cooling medium supply program 19 temporarily switches the actual discharge of the cooling medium to the discharge based on the cooling medium discharge parameters set by the slide bar SL and the plurality of toggle switches SW1 to SW4. In addition, in the description of the following embodiments, the processor 2P executing the cooling medium supply program 19 may receive a signal from the touch panel indicating that the setting application button BT1 is pressed, which is referred to as receiving an instruction for temporarily changing the cooling medium supply.

[0066] The temporary switch is terminated by pressing the setting release button BT2, terminating the cooling medium supply program 19, and advancing the execution of the processing program 2MP to release the current cooling medium designation code. In addition, in the description of the following embodiments, the processor 2P that executes the cooling medium supply program 19 may receive a signal from the touch panel indicating that the setting release button BT2 has been detected to be pressed, which is referred to as receiving an instruction to release the temporary change in the cooling medium supply. The termination of the cooling medium supply program 19 means that the processing of the cooling medium supply method is forcibly terminated, and the execution of the processing program 2MP advances to release the current cooling medium designation code, which means returning to the original state. Figure 5 The process of step S11.

[0067] After the setting application button BT1 is pressed, if the touch panel detects the pressing of the setting release button BT2, the processor 2P executing the cooling medium supply program 19 returns the actual cooling medium discharge to the discharge based on the cooling medium discharge parameter stored in the cooling medium setting data 18 and associated with the called code. That is, the actual cooling medium discharge returns to the state shown by the injection location T4, the cooling medium amount display T5, and the power consumption display T6. After the setting application button BT1 is pressed, if the touch panel detects the pressing of the setting release button BT2, the directions of the plurality of toggle switches SW1 to SW4, the position of the slider RUN of the slide bar SL, the setting power consumption display T7, and the setting cooling medium amount display T8 may or may not return to the initial state.

[0068] After detecting the operation of selecting the alternative code, if the touch panel detects the pressing of the program write button BT3, the processor 2P executing the cooling medium supply program 19 rewrites the cooling medium designation code (M code) specified in the processing program 2MP to the selected alternative code. After rewriting the cooling medium designation code (M code) specified in the processing program 2MP, the original selected alternative code becomes the new called code. In addition, the signal indicating the pressing of the program write button BT3 sent from the touch panel can also be called an instruction to replace the cooling medium designation code with the alternative code. Therefore, if the processor 2P executing the cooling medium supply program 19 receives an instruction to replace the cooling medium designation code with the alternative code during the period when the cooling medium is discharged from the pump 15P through the execution of the processing program 2MP, the processing program 2MP can be rewritten to call the selected alternative code in the processing program 2MP. If the setting application button BT1 is not pressed but the program write button BT3 is pressed after detecting the operation of selecting the alternative code, the cooling medium is supplied based on the selected alternative code. However, if the setting application button BT1 is pressed and then the program write button BT3 is pressed after the operation of selecting the alternative code is detected, the discharge of the cooling medium does not change from the state set by the slide bar SL and the plurality of slide switches SW1 to SW4.

[0069] After operating the slide bar SL and at least one of the multiple toggle switches SW1~SW4, if the touch panel detects the pressing of the cooling medium discharge parameter update button BT4, the processor 2P that executes the cooling medium supply program 19 rewrites the information indicating the opening and closing of multiple valves 14 associated with the editing object code and the information indicating the degree of cooling medium discharge from the pump 15P in the cooling medium setting data 18 based on the changed open valves set by the multiple toggle switches SW1~SW4 and the changed supply amounts set by the changed valves and the slide bar SL.

[0070] In addition, the signal indicating the pressing of the cooling medium discharge parameter update button BT4 sent from the touch panel can also be referred to as an instruction to change the opening and closing of the plurality of valves 14. Therefore, if the processor 2P executing the cooling medium supply program 19 receives an instruction to change the opening and closing of the plurality of valves 14, the data specifying the opening and closing of the plurality of valves 14 related to the edited object code can be rewritten in a manner that the changed open valves are opened and the changed closed valves are closed. In the case where the operation of selecting the replacement code is not detected, if the processor 2P executing the cooling medium supply program 19 receives an instruction to change the opening and closing of the plurality of valves 14, the data specifying the opening and closing of the plurality of valves 14 related to the called code can be rewritten in a manner that the changed open valves are opened and the changed closed valves are closed.

[0071] In addition, the signal sent by the touch panel indicating the pressing of the cooling medium discharge parameter update button BT4 can also be called an instruction to change the discharge degree. Therefore, if the processor 2P executing the cooling medium supply program 19 receives an instruction to change the discharge degree, it can rewrite the cooling medium discharge degree specified by the edited object code to the changed discharge degree. In the case where the operation of selecting the replacement code is not detected, if the processor 2P executing the cooling medium supply program 19 receives an instruction to change the discharge degree, it can rewrite the cooling medium discharge degree specified by the called code to the changed discharge degree.

[0072] If the coolant setting data 18 is rewritten, the display of the spraying place T4, the coolant amount display T5, and the power consumption display T6 related to the edit object code are also changed to the area corresponding to the valve corresponding to the switch facing the first side among the plurality of slide switches SW1 to SW4, the same display as the set coolant amount display T8, and the same display as the set power consumption display T7. Then, if the edit object code is called by executing the machining program 2MP, at least one spray nozzle for spraying the coolant is specified based on the rewritten coolant setting data 18, and the spray amount of the coolant is specified.

[0073] By making the interface INT have the above functions, the user can press the setting application button BT1 and confirm the supply status of the cooling medium set by the slide bar SL and multiple toggle switches SW1~SW4 by observing the processing area image IMG or the inside of the machine tool. If it is confirmed that the cooling medium supply is insufficient, the setting can be modified by pressing the setting release button BT2 or operating the slide bar SL and multiple toggle switches SW1~SW4 again. If it is confirmed that the cooling medium supply is sufficient, the user presses the cooling medium discharge parameter update button BT4 to rewrite the cooling medium setting data 18 corresponding to the called code. If the cooling medium setting data 18 is rewritten, the modified setting will be applied when the same processing program 2MP is executed in the future to process the same product. Therefore, once the user makes the most appropriate cooling medium supply setting, he can continue to use the setting.

[0074] Figures 7A to 7E Yes means through Figure 6 This is a flowchart of the process of processing the cooling medium supply method of the machine tool when setting is performed on the interface INT. Figures 7A to 7C The processing in Figure 5The processing of step S13 is performed after that. In step S20, the processor 2P executing the cooling medium supply program 19 refers to the information indicating the opening and closing of the plurality of valves 14 associated with the cooling medium designation code (M code), and determines at least one valve among the plurality of valves 14 designated as open by each of the at least one cooling medium designation code (M code). That is, the processor 2P executing the cooling medium supply program 19 determines at least one valve to be opened among the plurality of valves 14 designated as open by the called code during the period when the cooling medium is discharged from the pump 15P by the execution of the machining program 2MP. In step S21, the processor 2P executing the cooling medium supply program 19 determines the area to be sprayed by the cooling medium from at least one nozzle connected to the at least one valve based on the cooling medium supply flow channel 13 provided with the at least one valve. That is, the processor 2P executing the cooling medium supply program 19 determines the spraying area to be sprayed by the cooling medium from at least one spray nozzle connected to at least one open valve.

[0075] In step S22, if Figure 6 As shown in the cooling medium designation code (M code) T3 and the injection location T4, the processor 2P executing the cooling medium supply program 19 makes each of the at least one cooling medium designation code and the area corresponding to each of the at least one cooling medium designation code correspond to each other. That is, the processor 2P executing the cooling medium supply program 19 makes the called code and the injection area correspond to each other.

[0076] In step S23, the processor 2P executing the cooling medium supply program 19 determines the total amount of cooling medium sprayed from the at least one spray nozzle based on the number of at least one nozzle connected to the at least one valve and the information indicating the degree of discharge of the cooling medium by the pump 15P specified by each of the at least one cooling medium specifying codes (M codes). That is, the processor 2P executing the cooling medium supply program 19 determines the total amount of cooling medium sprayed from each of the at least one spray nozzle based on the degree of discharge of the cooling medium specified by the called code.

[0077] In step S24, if Figure 6 As shown in the cooling medium amount display T5, the processor 2P executing the cooling medium supply program 19 displays at least one of the total amount and the amount of cooling medium sprayed from each of the at least one nozzle in correspondence with each of the at least one cooling medium designation code. That is, the processor 2P executing the cooling medium supply program 19 displays at least one of the total spray amount and the individual spray amount of cooling medium sprayed from each of the at least one spray nozzle in correspondence with each of the at least one cooling medium designation code.

[0078] In step S25, the processor 2P executing the cooling medium supply program 19 calculates the power consumption of the pump 15P when the pump 15P is driven, based on the information indicating the degree of cooling medium discharge from the pump 15P corresponding to each cooling medium designation code. That is, the processor 2P executing the cooling medium supply program 19 calculates the power consumption of the pump 15P when the pump 15P is driven, based on the information indicating the degree of cooling medium discharge from the pump 15P corresponding to the called code. In step S26, Figure 6 As shown in the power consumption display T6, the processor 2P executing the cooling medium supply program 19 displays the power consumption of the pump 15P corresponding to each of the at least one cooling medium designation code. That is, the processor 2P executing the cooling medium supply program 19 displays the power consumption of the pump 15P based on the called code corresponding to the called code.

[0079] In step S27, Figure 6 As shown in the slide bar SL, the processor 2P executing the cooling medium supply program 19 provides the slide bar SL, which includes: an indicator IND indicating the discharge degree of the pump 15P specified by the called code; and a slider RUN, which is set at the top of the indicator IND. Figure 6 As shown in the multiple toggle switches SW1~SW4, the processor 2P executing the cooling medium supply program 19 provides multiple toggle switches SW1~SW4 corresponding to the multiple valves 14, respectively, so that at least one toggle switch corresponding to at least one open valve is directed to the first side, and the toggle switch corresponding to the valve other than the at least one open valve is directed to the second side opposite to the first side. In step S29, the processor 2P executing the cooling medium supply program 19 sets the power consumption display T7 and the cooling medium quantity display T8 to be displayed in the same initial state as the cooling medium quantity display T5 and the power consumption display T6 corresponding to the called code. In step S30, the processor 2P executing the cooling medium supply program 19 determines whether the selection of the alternative code is detected. When the selection of the alternative code is not detected (step S30 is "No"), proceed to Figure 7B When the selection of the alternative code is detected ("Yes" in step S30), proceed to step S34. Fig.7D Step S31.

[0080] In step S34, the processor 2P executing the cooling medium supply program 19 determines whether a signal is received from the touch panel to detect the movement of the slider RUN. If the movement of the slider RUN is detected (step S34 is "yes"), then in step S35, the processor 2P executing the cooling medium supply program 19 specifies the degree indicated by the changed indicator IND as the changed discharge degree. If the movement of the slider RUN is not detected (step S34 is "no") or the processing of step S35 ends, then in step S36, the processor 2P executing the cooling medium supply program 19 determines whether a signal is received to detect the change in the direction of at least one of the plurality of toggle switches SW1 to SW4.

[0081] If a change in the direction of at least one of the plurality of toggle switches SW1 to SW4 is detected (step S36 is "yes"), then in step S37, the processor 2P executing the cooling medium supply program 19 designates the valve corresponding to the toggle switch toward the first side as the changed open valve, and designates the valve corresponding to the toggle switch toward the second side as the changed closed valve. If a change in the direction of any switch is not detected (step S36 is "no") or the processing of step S37 is completed, then in step S38, the processor 2P executing the cooling medium supply program 19 changes the display of the set power consumption display T7 and the set cooling medium amount display T8 based on the designated changed discharge degree, changed open valve, and changed open valve.

[0082] In step S39, the processor 2P executing the cooling medium supply program 19 determines whether an instruction for temporarily changing the cooling medium supply is received. That is, the processor 2P executing the cooling medium supply program 19 determines whether a signal indicating that the setting application button BT1 is pressed is received from the touch panel. If the setting application button BT1 is not pressed (step S39 is "No"), the process proceeds to step S43 described later. If the setting application button BT1 is pressed (step S39 is "Yes"), in step S40, the processor 2P executing the cooling medium supply program 19 controls the cooling medium to be supplied based on the changed discharge degree, the changed open valve, and the changed closed valve. In addition, when the slide bar SL and the plurality of toggle switches SW1 to SW4 are not operated, but the setting application button BT1 is pressed, there is no change in any of the changed discharge degree, the changed open valve, and the changed closed valve. In this case, the cooling medium supply is not changed in step S40.

[0083] In step S41, the processor 2P executing the cooling medium supply program 19 determines whether an instruction to release the temporary change of the cooling medium supply is received. That is, the processor 2P executing the cooling medium supply program 19 determines whether a signal indicating that the setting release button BT2 is detected to be pressed is received from the touch panel. If the setting release button BT2 is not detected to be pressed (step S41 is "No"), proceed to step S43 described later. If the setting release button BT2 is pressed (step S41 is "Yes"), in step S42, the processor 2P executing the cooling medium supply program 19 executes steps S12 and S13 again. If step S42 is executed, return to step S34. In the case of returning the slide bar SL and multiple toggle switches SW1~SW4 to the initial settings, it is also possible to return to step S29.

[0084] exist Figure 7C In step S43, the processor 2P executing the cooling medium supply program 19 determines whether an instruction to change the discharge degree / an instruction to change the opening and closing of multiple valves 14 is received. That is, the processor 2P executing the cooling medium supply program 19 determines whether a signal indicating that the cooling medium discharge parameter update button BT4 has been pressed is received. If the cooling medium discharge parameter update button BT4 is not pressed (step S43 is "No"), the process returns to step S34. If an instruction to change the opening and closing of multiple valves 14 is received (step S43 is "Yes"), then in step S44, the processor 2P executing the cooling medium supply program 19 rewrites the data (cooling medium setting data 18) specifying the opening and closing of multiple valves 14 associated with the called code in such a way that the changed open valves are opened and the changed closed valves are closed.

[0085] If the instruction to change the discharge degree is received (step S43 is "yes"), then in step S45, the processor 2P executing the cooling medium supply program 19 rewrites the discharge degree of the cooling medium specified by the called code in the cooling medium setting data 18 to the changed discharge degree. In step S46, the processor 2P executing the cooling medium supply program 19 changes the display of the injection location T4 of the cooling medium to be injected, the cooling medium amount display T5, and the power consumption display T6 based on the changed open valve, the changed closed valve, and the changed discharge degree. If step S46 ends, it returns to step S34.

[0086] When the selection of the alternative code is detected ("Yes" in step S30), Fig.7DIn step S31, the processor 2P executing the cooling medium supply program 19 displays the combination associated with the selected alternative code with a highlighted SEL. In addition, the combination associated with the selected alternative code can also be displayed with other highlighted. In step S32, the display of multiple slide switches SW1~SW4 is changed to: at least one slide switch corresponding to at least one valve designated as open by the selected alternative code is facing the first side, and the slide switch corresponding to at least one valve other than the open valve is facing the second side opposite to the first side. The display of the indicator IND is changed to indicate the degree of discharge of the cooling medium discharged by the pump 15P specified by the selected alternative code. In step S33, the processor 2P executing the cooling medium supply program 19 displays the set power consumption display T7 and the set cooling medium quantity display T8 to be the same as the cooling medium quantity display T5 and the power consumption display T6 corresponding to the selected alternative code.

[0087] The subsequent processing of steps S34 to S42 is the same as Figure 7B The processing of steps S34 to S42 is the same, so the description is omitted. Fig. 7E In step S43a, the processor 2P executing the cooling medium supply program 19 determines whether an instruction to change the discharge degree / an instruction to change the opening and closing of multiple valves 14 is received. That is, the processor 2P executing the cooling medium supply program 19 determines whether a signal indicating that the cooling medium discharge parameter update button BT4 has been pressed is received. If the cooling medium discharge parameter update button BT4 is not pressed (step S43a is "No"), proceed to step S47. If an instruction to change the opening and closing of multiple valves 14 is received (step S43a is "Yes"), then in step S44a, the processor 2P executing the cooling medium supply program 19 rewrites the data (cooling medium setting data 18) specifying the opening and closing of multiple valves 14 associated with the selected replacement code in a manner that opens the changed open valve and closes the changed closed valve.

[0088] If the instruction to change the discharge degree is received (step S43a is "yes"), then in step S45a, the processor 2P executing the cooling medium supply program 19 rewrites the cooling medium discharge degree specified by the called code in the cooling medium setting data 18 to the changed discharge degree. In step S46, the processor 2P executing the cooling medium supply program 19 changes the display of the injection location T4 of the cooling medium to be injected, the cooling medium amount display T5, and the power consumption display T6 based on the changed open valve, the changed closed valve, and the changed discharge degree.

[0089] In step S47, the processor 2P executing the cooling medium supply program 19 determines whether an instruction to replace the called code with the substitute code is received during the period when the cooling medium is discharged from the pump 15P by the execution of the machining program 2MP. That is, the processor 2P executing the cooling medium supply program 19 determines whether a signal indicating that the program write button BT3 is pressed is received. If the program write button BT3 is not pressed (step S47 is "No"), it returns to step S34. If an instruction to replace the called code with the substitute code is received during the period when the cooling medium is discharged from the pump 15P by the execution of the machining program 2MP (step S47 is "Yes"), then in step S48, the processor 2P executing the cooling medium supply program 19 rewrites the machining program 2MP to call the selected substitute code in the machining program 2MP. In step S49, the processor 2P executing the cooling medium supply program 19 executes steps S11 to S13 based on the selected substitute code.

[0090] <Changing the cooling medium designation code while executing the machining program 2MP> The user can not only change the opening and closing of the plurality of valves 14 and the degree of discharge of the cooling medium while executing the machining program 2MP, but can also change the cooling medium designation code itself. In this case, the processor 2P executing the cooling medium supply program 19 is configured to execute the cooling medium supply program 19 in the process of executing the machining program 2MP. Figure 8 The cooling medium designation code and the replacement code registered in the additional interface AINT are displayed on the control panel 2CP. Figure 6 The interface INT window and display are as follows Figure 8 The additional interface AINT window is displayed on the touch panel display together with the active window, and the interface is switched by switching the active window. In addition, the interface can be switched through other display windows. Figure 6 The interface INT window and display are as follows Figure 8 In addition, the machine coordinate display screen of the spindle being processed can also be displayed together with the additional interface AINT.

[0091] The additional interface AINT includes the same components as some of the components of the interface INT. In FIG. 7 , such components are given the same reference numerals as those used in the interface INT, and detailed descriptions are omitted. The additional interface AINT has a scroll bar SCB at the right end, which can scroll and display a combination of the setting number T1, mode T2, coolant designation code (M code) T3, injection location T4, coolant amount display T5, and power consumption display T6.

[0092] As an initial setting, the additional interface AINT displays the combination related to the called code with a highlighted SEL. Later, if the touch panel detects the selection of other combinations, the selected combination is displayed with a highlighted SEL. In addition, if a combination that does not specify the cooling medium specified code (M code) T3 is selected, a pop-up window for entering the cooling medium specified code (M code) T3 is displayed, and if the cooling medium specified code (M code) T3 is entered, the combination is displayed with a highlighted SEL. In addition, the combination related to the cooling medium specified code currently being executed and the combination related to the cooling medium specified code (selected alternative code) can also be displayed with a highlighted SEL display of different colors.

[0093] In the state where the combination related to the alternative code is selected, if the touch panel detects the pressing of the setting application button BT1, the processor 2P executing the cooling medium supply program 19 temporarily switches the setting related to the supply of the cooling medium from the setting based on the called code to the setting based on the selected alternative code. That is, the processor 2P executing the cooling medium supply program 19 temporarily switches the actual discharge of the cooling medium to the discharge based on the cooling medium discharge parameter specified by the selected alternative code. By pressing the setting release button BT2, ending the cooling medium supply program 19, and advancing the execution of the processing program 2MP, the designation of the called code is released, thereby ending the temporary switching. After pressing the setting application button BT1, if the touch panel detects the pressing of the setting release button BT2, the processor 2P executing the cooling medium supply program 19 returns the setting related to the supply of the cooling medium from the setting based on the selected alternative code to the setting based on the called code described in the processing program 2MP.

[0094] In a state where a combination related to the alternative code is selected, if the touch panel detects the pressing of the program write button BT3, the processor 2P executing the cooling medium supply program 19 rewrites the called code (M code) specified in the processing program 2MP as the selected alternative code. In addition, the signal indicating the pressing of the program write button BT3 sent from the touch panel can also be referred to as an instruction to replace the called code with the alternative code. Therefore, if the processor 2P executing the cooling medium supply program 19 receives an instruction to replace the called code with the alternative code during the period when the cooling medium is discharged from the pump 15P through the execution of the processing program 2MP, the processing program 2MP can be rewritten to call the selected alternative code in the processing program 2MP. If the called code (M code) specified in the processing program 2MP is rewritten as the selected alternative code, the modified setting is applied when the same processing program 2MP is executed in the future to process the same product. Therefore, once the user makes the most appropriate cooling medium supply setting, the setting can be continued to be used.

[0095] Fig. 9 Yes means through Figure 8 Flow chart of the processing flow of the cooling medium supply method of the machine tool when setting the interface INT. The processing of displaying the additional interface AINT is shown in Figure 5 The display of the additional interface AINT is the same as the processing of steps S20 to S30, so the description thereof will be omitted. Fig. 9 The processing that is continued after the "Yes" processing in steps S20 to S30 will be described. In step S51, the processor 2P executing the cooling medium supply program 19 displays the combination associated with the selected alternative code with a highlighted SEL.

[0096] In step S52, the processor 2P executing the cooling medium supply program 19 determines whether an instruction for temporarily changing the cooling medium supply is received. That is, the processor 2P executing the cooling medium supply program 19 determines whether a signal indicating that the setting application button BT1 is pressed is received from the touch panel. If the setting application button BT1 is not detected (step S52 is "No"), proceed to step S57 described later. If the setting application button BT1 is detected to be pressed (step S52 is "Yes"), then in step S53, the processor 2P executing the cooling medium supply program 19 controls the opening and closing of multiple valves 14 based on the selected alternative code. In step S54, the processor 2P executing the cooling medium supply program 19 controls the pump 15P to discharge the cooling medium at the discharge degree specified by the selected alternative code. In addition, when the alternative code is not selected but the setting application button BT1 is pressed, the cooling medium supply is not changed in steps S53 and S54.

[0097] In step S55, the processor 2P executing the cooling medium supply program 19 determines whether an instruction to cancel the temporary change of the cooling medium supply is received. That is, the processor 2P executing the cooling medium supply program 19 determines whether a signal indicating that the setting release button BT2 is detected to be pressed is received from the touch panel. If the setting release button BT2 is not detected to be pressed (step S55 is "No"), the process proceeds to step S57 described later. If the setting release button BT2 is pressed (step S55 is "Yes"), in step S56, the processor 2P executing the cooling medium supply program 19 executes steps S12 and S13 again. If step S56 is executed, the process returns to step S51.

[0098] In step S57, the processor 2P executing the cooling medium supply program 19 determines whether an instruction to replace the called code with the substitute code is received during the period when the cooling medium is discharged from the pump 15P by the execution of the machining program 2MP. That is, the processor 2P executing the cooling medium supply program 19 determines whether a signal indicating that the program write button BT3 is pressed is received. If the program write button BT3 is not pressed (step S57 is "No"), it returns to step S51. If an instruction to replace the called code with the substitute code is received during the period when the cooling medium is discharged from the pump 15P by the execution of the machining program 2MP (step S57 is "Yes"), then in step S58, the processor 2P executing the cooling medium supply program 19 rewrites the machining program 2MP to call the selected substitute code in the machining program 2MP. In step S59, the processor 2P executing the cooling medium supply program 19 executes steps S11 to S13 based on the selected substitute code rewritten in the machining program 2MP. <Features and Effects of Cooling Medium Supply Method of the Present Embodiment> The cooling medium supply method of the present embodiment includes: reading a called code in a cooling medium designation code from a machining program 2MP, wherein the cooling medium designation code is used to specify the opening and closing of a plurality of valves 14 respectively provided on a plurality of cooling medium supply channels 13 connected to a plurality of nozzles 12 installed on a machine tool 1, and to specify the degree of discharge of the cooling medium by a pump 15P that supplies the cooling medium to the plurality of nozzles 12. The method includes: controlling the opening and closing of the plurality of valves 14 based on the called code; and controlling the pump 15P to discharge from the pump 15P at a discharge degree based on the called code. Therefore, a cooling medium supply method can be provided that can switch the nozzles for spraying the cooling medium and the discharge degree in conjunction with the machining program 2MP and is simple for the user to operate.

[0099] Furthermore, the cooling medium supply method displays the injection location T4 of the cooling medium injected by at least one injection nozzle connected to at least one of the opened valves among the plurality of valves 14, and at least one of the total injection amount of the cooling medium injected by the at least one injection nozzle and the individual injection amount of the cooling medium injected by each of the at least one injection nozzle, while the cooling medium is discharged from the pump 15P by the execution of the machining program 2MP, and provides a slide bar SL and a plurality of toggle switches SW1 to SW4. Therefore, a cooling medium supply method can be provided that can easily change the nozzle for injecting the cooling medium and the discharge degree during the execution of the machining program 2MP. <Modification> In the above-mentioned embodiment, the slide bar SL, multiple toggle switches SW1~SW4, setting application button BT1, setting release button BT2 and program writing button BT3 are described as interfaces on the touch panel, but they can also be tangible slide bars, toggle switches and buttons on the control panel 2CP. In the case where the slide bar SL is a tangible slide bar, the control panel 2CP has a position sensor for detecting the movement of the slider RUN. In the case where the multiple toggle switches SW1~SW4 are tangible toggle switches, the control panel 2CP has an electrical / electromagnetic switch or position sensor for detecting the movement of the switch. The setting application button BT1, the setting release button BT2 and the program writing button BT3 have an electrical / electromagnetic switch for detecting the pressing of the button. These position sensors and electrical / electromagnetic switches operate to realize the above-mentioned functions performed by the touch panel. In addition, in the above-mentioned embodiment, the interface INT displays the setting number T1, mode T2, cooling medium designation code (M code) T3, jetting location T4, cooling medium quantity display T5 and power consumption display T6 that determine the combination of the cooling medium designation code and the cooling medium discharge parameter corresponding to each other, but only at least one of the jetting location T4, cooling medium quantity display T5 and power consumption display T6 and the cooling medium designation code (M code) T3 need to be displayed, and the others can be omitted.

[0100] The above embodiment describes that the discharge degree of the cooling medium is the output of the pump 15P, that is, the rotation speed and operating frequency of the pump 15P, but it can also be the discharge volume of the pump 15P. In this case, the cooling medium supply device 10 can have Figure 2 The flow sensors 16A to 16D are indicated by the dotted lines. The flow sensors 16A to 16D are respectively provided in the plurality of cooling medium supply channels 13A to 13D. The signals from the flow sensors 16A to 16D are fed back to the numerical control device 2, and the processor 2P executing the cooling medium supply program 19 in the numerical control device 2 calculates the discharge amount of the pump 15P based on the signals from the flow sensors 16A to 16D, and sends a control signal to the inverter 15I to make the discharge amount of the pump 15P as the target, thereby the processor 2P executing the cooling medium supply program 19 can control the discharge amount of the pump 15P. In addition, a flow sensor may be provided only in the supply channel through which the cooling medium always flows among the plurality of cooling medium supply channels 13A to 13D, and the discharge amount of the pump 15P may be estimated based on the signal from the flow sensor, and the discharge amount of the pump 15P may be feedback controlled.

[0101] Furthermore, a plurality of valves 12 may be provided on each of the plurality of nozzles 12 . Fig.10This is a block diagram of the hardware structure of the machine tool 1 of such a modified example. In this modified example, a plurality of cooling medium supply flow paths 13A to 13J are provided for the plurality of nozzles 12A to 12J, and a plurality of valves 14A to 14J are provided in the plurality of cooling medium supply flow paths 13A to 13J. The opening and closing of the plurality of valves 14A to 14J determines whether the plurality of nozzles 12A to 12J spray the cooling medium. In addition, as shown in the above-mentioned modified example, flow sensors 16A to 16J may also be provided in the plurality of cooling medium supply flow paths 13A to 13J.

[0102] In this application, "include" and its derivatives are non-restrictive terms that describe the presence of constituent elements, and do not exclude the presence of other constituent elements that are not described. This also applies to "have", "include" and their derivatives.

[0103] Terms such as "part," "section," "element," "body," and "structure" may have various meanings such as a single part or a plurality of parts.

[0104] Ordinal numbers such as "first" and "second" are terms used only to identify structures and do not have other meanings (such as a specific order, etc.). For example, the presence of a "first element" does not imply the presence of a "second element", and the presence of a "second element" does not imply the presence of a "first element".

[0105] Unless otherwise specified in the embodiments, the terms "substantially", "about" and "approximately" indicating the degree may mean a reasonable deviation that does not significantly change the final result. All numerical values ​​recorded in this application may be interpreted as including the terms "substantially", "about" and "approximately".

[0106] In the present application, the term "at least one of A and B" should be interpreted as including only A, only B, and both A and B.

[0107] In view of the above disclosure, it is obvious that various changes and modifications of the present invention can be made. Therefore, the present invention can also be implemented by methods different from the specific disclosure of this application without departing from the scope of the present invention.

Claims

1. A method for supplying a cooling medium to a machine tool, comprising: reading a called code in at least one cooling medium designation code from a machining program, the at least one cooling medium designation code being used to respectively designate opening and closing of a plurality of valves respectively provided on a plurality of cooling medium supply flow passages connected to a plurality of nozzles installed on a machine tool, and respectively designate a discharge degree of the cooling medium discharged by a pump supplying the cooling medium to the plurality of nozzles; Controlling the opening and closing of the plurality of valves based on the called code; as well as Based on the called code, the pump is controlled to discharge the cooling medium at the discharge level.

2. The cooling medium supply method according to claim 1, further comprising: determining at least one valve of the plurality of valves designated as open by each of the at least one cooling medium designation code; determining an area to be sprayed by the cooling medium from at least one nozzle connected to the at least one valve; causing each of the at least one cooling medium designation code and the area corresponding to each of the at least one cooling medium designation code to be displayed in correspondence with each other; determining a total amount of the cooling medium sprayed from the at least one nozzle based on the degree of discharge of the cooling medium specified by each of the at least one cooling medium specifying code; as well as At least one of the total amount and the amount of the cooling medium sprayed from each of the at least one nozzle is displayed in association with each of the at least one cooling medium designation code.

3. The cooling medium supply method according to claim 1 or 2, further comprising: Based on each of the at least one cooling medium designation code, power consumption of the pump when the pump is driven is displayed in association with each of the at least one cooling medium designation code.

4. The cooling medium supply method according to any one of claims 1 to 3, further comprising: During the period when the cooling medium is discharged from the pump by the execution of the machining program, determining to open at least one of the plurality of valves opened by the designation of the called code; determining a spraying area to be sprayed by the cooling medium from at least one spray nozzle connected to the at least one open valve; determining a total injection amount of the cooling medium injected from the at least one injection nozzle based on the degree of discharge of the cooling medium specified by the called code; displaying at least one of the total injection amount and the individual injection amount of the cooling medium injected from each of the at least one injection nozzle, and the injection area; as well as If a command to change the opening and closing of the plurality of valves is received, the data specifying the opening and closing of the plurality of valves associated with the called code is rewritten in such a manner that the changed open valves are opened and the changed closed valves are closed.

5. The cooling medium supply method according to claim 4, further comprising: Providing a plurality of slide switches corresponding to the plurality of valves respectively, making at least one slide switch corresponding to the at least one open valve face a first side, and making slide switches corresponding to valves other than the at least one open valve face a second side opposite to the first side; and If a change in the orientation of at least one of the plurality of slide switches is detected, the valve corresponding to the slide switch facing the first side is designated as the changed open valve, and the valve corresponding to the slide switch facing the second side is designated as the changed closed valve.

6. The cooling medium supply method according to any one of claims 1 to 5, further comprising: During the period when the cooling medium is discharged from the pump by the execution of the machining program, determining to open at least one of the plurality of valves opened by the designation of the called code; determining a spraying area to be sprayed by the cooling medium from at least one spray nozzle connected to the at least one open valve; determining a total injection amount of the cooling medium injected from the at least one injection nozzle based on the degree of discharge of the cooling medium specified by the called code; displaying at least one of the total injection amount and the individual injection amount of the cooling medium injected from each of the at least one injection nozzle, and the injection area; as well as If an instruction to change the discharge degree is received, the discharge degree of the cooling medium specified by the called code is rewritten to the changed discharge degree.

7. The cooling medium supply method according to claim 6, further comprising: providing a slide bar including an indicator and a slider, the indicator indicating the discharge degree of the pump specified by the called code, the slider being disposed on a top end of the indicator; and If the movement of the slider is detected, the degree indicated by the changed indicator is designated as the changed discharge degree.

8. The cooling medium supply method according to any one of claims 1 to 7, further comprising: If an instruction to replace the called code with an alternative code other than the called code in the at least one coolant designating code is received during the discharge of the coolant from the pump by execution of the machining program, the machining program is rewritten to call the alternative code in the machining program.

9. The cooling medium supply method according to any one of claims 1 to 8, wherein: Specifying the degree of discharge of the cooling medium includes specifying an output of the pump.

10. The cooling medium supply method according to claim 9, wherein: The output of the pump is represented by the rotational speed of the pump or the operating frequency of the pump.

11. The cooling medium supply method according to any one of claims 1 to 10, wherein: A wide range control valve among the plurality of valves is provided in a cooling medium supply flow passage connected to a plurality of partial nozzles among the plurality of nozzles.

12. The cooling medium supply method according to claim 11, wherein: The area to which the cooling medium is sprayed from the plurality of partial nozzles corresponds to one of a plurality of partitions into which a machining area of ​​the machine tool is divided.

13. A procedure comprising the following instructions: When executed by a hardware processor, the hardware processor is caused to execute the process of the cooling medium supply method according to any one of claims 1 to 12.

14. A cooling medium supply device, comprising: The program of claim 13; the pump; A cooling medium container, configured to be connected to the pump and store the cooling medium; the plurality of nozzles; a plurality of cooling medium supply channels connecting the pump and the plurality of nozzles; and A plurality of valves are respectively disposed on the plurality of cooling medium supply flow channels.

15. A machine tool comprising: The cooling medium supply device according to claim 14; the hardware processor; as well as Memory, The program is installed in the memory and executed by the hardware processor.

Citation Information

Cited By

  • Automatic cutting fluid circulation control method and system for CNC intelligent manufacturing

    CN121209420A