Numerical control device, machine tool, control method, program, and storage medium

The numerical control device addresses power consumption issues by intermittently driving the pump based on machining time, ensuring efficient chip removal and energy use in machine tools, effectively managing coolant supply and consumption.

WO2024203836A1PCT designated stage expired Publication Date: 2024-10-03BROTHER KOGYO KK
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
PCT/JP2024/011270
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-03-31
Filing Date
2024-03-22
Publication Date
2024-10-03

AI Technical Summary

Technical Problem

Existing numerical control devices for machine tools face challenges in efficiently managing power consumption for coolant supply units during machining, leading to potential over-supply of coolant and increased power usage when in standby mode.

Method used

The implementation of a numerical control device with a cutting fluid ejection mechanism that drives a pump intermittently based on machining time, determining specific times to drive and stop the pump to ensure effective chip removal while minimizing power consumption, including options for adjusting pump drive times based on machining program specifics.

Benefits of technology

This approach allows for reliable chip removal at appropriate timing while reducing power consumption by optimizing pump operation, ensuring efficient energy use and effective coolant management.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure JP2024011270_03102024_PF_FP_ABST
    Figure JP2024011270_03102024_PF_FP_ABST
Patent Text Reader

Abstract

Provided are a numerical control device, a machine tool, a control method, a program, and a storage medium with which it is possible to drive a cutting fluid jetting mechanism at an appropriate timing. On the basis of a processing program, chips are generated by the processing of a workpiece disposed in a cover, and a CPU controls a jetting mechanism that washes away the chips by jetting a cutting liquid into the cover through the driving of a pump. The CPU determines whether or not a specific time Tsp before a first prescribed time from the time when the processing program ends has been reached, on the basis of the processing time from the start of processing based on the processing program to the end of processing (S13, S21). When the CPU determines that the specific time Tsp has been reached (S13: YES, S21: YES), the CPU drives the pump for the first prescribed time from the specific time Tsp to the end of the processing program (S29).
Need to check novelty before this filing date? Find Prior Art

Description

Numerical control device, machine tool, control method, program, and storage medium

[0001] The present invention relates to a numerical control device, a machine tool, a control method, a program, and a storage medium.

[0002] The control device described in Patent Document 1 determines whether or not there is a block among the multiple blocks that make up the NC program during execution of the NC program in which operating units such as the spindle motor and coolant are on standby. If a block on standby is present, the control device determines whether or not it is possible to cut off the power supplied to the power source corresponding to the operating unit, such as the spindle motor or coolant pump, during execution of the block.

[0003] Japanese Patent Application Laid-Open No. 2018-067346

[0004] Since the control device only cuts off power when it is in standby mode, there is a possibility that the coolant supply unit may supply too much coolant, and power consumption by the coolant supply unit may not be properly suppressed.

[0005] An object of the present invention is to provide a numerical control device, a machine tool, a control method, a program, and a storage medium that can drive a cutting fluid ejection mechanism at appropriate timing.

[0006] The numerical control device of claim 1 is a numerical control device that controls a machine tool equipped with a spray mechanism that washes away chips generated by machining a workpiece placed inside a cover based on a machining program by driving a pump to spray cutting fluid into the cover, and is characterized in that it comprises: a first judgment unit that judges whether a specific time has been reached that is a first predetermined time before the time the machining program ends, based on the machining time from the start of machining based on the machining program to the end of machining; and a first pump drive unit that drives the pump for the first predetermined time from the specific time to the end of the machining program when the first judgment unit judges that the specific time has been reached.

[0007] The numerical control device can reliably wash away chips by the time the machining program ends by driving the pump for the first predetermined time, and therefore can drive the cutting fluid ejection mechanism at an appropriate timing.

[0008] The numerical control device according to claim 2 may further include a second pump driving unit that intermittently drives the pump while the machining program is being executed. This allows the numerical control device to reduce power consumption compared to when the pump is constantly driven.

[0009] In the numerical control device of claim 3, the second pump driving unit may repeatedly drive the pump for a first time period, and then stop the pump for a second time period after driving the pump for the first time period, and the first predetermined time period may be shorter than the first time period. Depending on the machining program, only a small amount of chips may be generated in the latter half of machining. In such cases, even if the first predetermined time period is shorter than the first time period, the chips can be sufficiently flushed away, thereby reducing power consumption.

[0010] In the numerical control device of claim 4, the second pump driving unit may repeatedly drive the pump for a first time during execution of the machining program and stop the pump for a second time after driving the pump for the first time, the first predetermined time being longer than the first time. The numerical control device drives the pump for a first predetermined time, which is longer than the first time, before the end of the machining program. Therefore, the numerical control device can more reliably wash away chips by the time the machining program ends.

[0011] The numerical control device of claim 5 may include a second pump driving unit that repeatedly drives the pump for a first time during execution of the machining program and stops the pump for a second time after driving the pump for the first time; a second determination unit that determines whether a second predetermined time from the last time the pump was stopped before the end of the machining program to the specific time is shorter than a predetermined reference time; and a setting unit that, if the second determination unit determines that the second predetermined time is shorter than the reference time, sets the first predetermined time to the time from the last time the pump was started to drive the pump for the first predetermined time set by the setting unit. By resetting the first predetermined time, the numerical control device can prevent the pump from repeatedly stopping and driving in a short period of time. This allows the numerical control device to achieve low power consumption.

[0012] The machine tool of claim 6 is characterized in that it comprises an ejection mechanism that washes away the chips generated by machining the workpiece placed inside the cover based on the machining program by driving the pump to eject the cutting fluid into the cover, and the numerical control device described in any of claims 1 to 5.

[0013] The above machine tool achieves the same effects as the numerical control device of any one of claims 1 to 5.

[0014] The control method of claim 7 is a control method for a numerical control device that controls a machine tool equipped with a spray mechanism that washes away chips generated by machining a workpiece placed inside a cover based on a machining program by driving a pump to spray cutting fluid into the cover, and is characterized by comprising: a first judgment step that judges whether a specific time has been reached that is a first predetermined time before the time the machining program ends, based on the machining time from the start of machining to the end of machining based on the machining program; and a first pump drive step that drives the pump for the first predetermined time from the specific time to the end of the machining program when the first judgment step judges that the specific time has been reached.

[0015] The above control method achieves the same effects as the numerical control device of claim 1.

[0016] The program of claim 8 is characterized in that it causes a computer of a numerical control device that controls a machine tool equipped with a spray mechanism that washes away chips generated by machining a workpiece placed in a cover based on a machining program by spraying cutting fluid into the cover by driving a pump, to execute a first judgment step of judging whether a specific time has been reached that is a first predetermined time before the time the machining program ends, based on the machining time from the start of machining based on the machining program to the end of machining, and a first pump drive step of driving the pump for the first predetermined time from the specific time to the end of the machining program, when the first judgment step judges that the specific time has been reached.

[0017] The above program achieves the same effect as the numerical control device of claim 1.

[0018] The storage medium of claim 9 is characterized in that it stores a program that causes a computer of a numerical control device that controls a machine tool equipped with a spray mechanism that washes away chips generated by machining a workpiece placed inside a cover based on a machining program by driving a pump to spray cutting fluid into the cover, to execute a first judgment step of judging whether a specific time has been reached that is a first predetermined time before the time the machining program ends, based on the machining time from the start of machining based on the machining program to the end of machining, and a first pump drive step of driving the pump for the first predetermined time from the specific time to the end of the machining program when the first judgment step judges that the specific time has been reached.

[0019] The storage medium described above provides the same effect as the numerical control device of claim 1.

[0020] A perspective view of the machine tool 1 as seen from the rear. A front view of the machine tool 1. A plan view of the machine tool 1. A cross-sectional view taken along the line I-I in FIG. 3. A diagram showing a state in which a tool T attached to a spindle 7 machines a workpiece W. A block diagram showing the electrical configuration of a numerical control device 30 and the machine tool 1. A table showing parameters for flag setting. A diagram showing a pump drive flag. A table showing parameters for flag setting. A diagram showing a pump drive flag. A diagram showing the relationship between operation patterns A and B and the drive state of the pump 22. A flowchart of main processing. A diagram showing a pump drive flag in a modified example.

[0021] An embodiment of the present invention will be described with reference to the drawings. In the following description, the front, back, left, right, top, and bottom of the paper in Fig. 2 will be referred to as the front, rear, left, right, top, and bottom, respectively, of machine tool 1. The left-right, front-back, and top-bottom directions of machine tool 1 correspond to the X-axis, Y-axis, and Z-axis directions of machine tool 1, respectively.

[0022] The structure of the machine tool 1 will be described with reference to Figures 1 to 4. The machine tool 1 includes a base 2, a machine body 3, a cover 4, a table 8 (see Figure 3), a tool changer 13 (see Figure 4), a control box 15, and the like. The base 2 is a roughly rectangular parallelepiped iron base. The machine body 3 is mounted on top of the base 2 and performs cutting operations on a workpiece W (see Figure 5) held on the top surface of the table 8. The types of cutting operations include drilling, tapping, and milling. The cover 4 is mounted on top of the base 2 and has a roughly rectangular parallelepiped box shape that covers the periphery of the machine body 3 and the top of the base 2. The cover 4 prevents chips, cutting fluid splashes, and the like from scattering to the outside. As shown in Figure 4, the table 8 is mounted in the center of the top of the base 2 and can be moved in the X-axis and Y-axis directions by an X-axis motor 53 (see Figure 6), a Y-axis motor 54 (see Figure 6), an X-axis guide mechanism, and a Y-axis guide mechanism (not shown). Each guide mechanism includes a linear guide, a ball screw, a nut (not shown), etc. A workpiece W (see FIG. 5) can be fixed to the upper surface of the table 8 with a jig or the like.

[0023] As shown in FIG. 4, the tool changer 13 includes a tool magazine 14. The disk-shaped tool magazine 14 includes a plurality of gripping arms 14A on its outer periphery. The gripping arms 14A grip a tool T (see FIG. 5) at their tips and are capable of swinging between themselves and a spindle 7 (see FIG. 5) of the machine body 3, which will be described later. The tool changer 13 swings the gripping arms 14A, which are located at the tool changing position, to attach and detach the tool T to and from the spindle 7. The tool changing position is the lowest position of the tool magazine 14 and the position closest to the spindle 7. As shown in FIG. 1, the control box 15 is provided on the rear side of the cover 4, and houses a numerical control device 30 (see FIG. 6) inside. The numerical control device 30 controls the operation of the machine tool 1.

[0024] The configuration of the machine body 3 will be described with reference to Figures 1 to 4. The machine body 3 includes a column 5, a spindle head 6, a spindle 7 (see Figure 5), etc. The column 5 is erected at the rear of the upper part of the base 2. The spindle head 6 can be raised and lowered in the Z-axis direction along the front surface of the column 5 by a Z-axis movement mechanism (not shown). The Z-axis movement mechanism includes a linear guide, a ball screw, a nut (not shown), etc. As shown in Figure 5, the spindle head 6 rotatably supports a spindle 7 therein. A tool T is attached to the lower end of the spindle 7, and the spindle 7 is rotated by the drive of a spindle motor 52 (see Figures 3 and 6). The machine tool 1 can perform cutting on a workpiece W (see Figure 5) held on the upper surface of the table 8 by relative movement between the workpiece W and the tool T attached to the spindle 7.

[0025] The structure of the cover 4 will be described with reference to Figures 1 to 4. The cover 4 has a front wall 41, a left wall 42, a right wall 43, a left back wall 44 (see Figures 3 and 4), and a right back wall 45 (see Figures 3 and 4), and is formed in a substantially rectangular box shape. The lower ends of each wall 41 to 45 are fixed to the upper part of the base 2. As shown in Figures 3 and 4, the left back wall 44 and the right back wall 45 form the back walls of the cover 4. The left back wall 44 is fixed to the front end of the left side of the column 5 and extends to the left. The right back wall 45 is fixed to the front end of the right side of the column 5 and extends to the right. The cover 4 covers the machining area of ​​the machine tool 1. The machining area is the area required for the machine tool 1 to machine the workpiece, and includes at least the movable ranges of the spindle head 6 and spindle 7 in the Z-axis direction and the movable range of the table 8 in the X and Y directions. The cover 4 is equipped with a cutting fluid spraying mechanism (hereinafter referred to as the "spraying mechanism"). The spray mechanism sprays cutting fluid inside the cover 4. Therefore, the machine tool 1 can wash away chips that are generated during workpiece machining and that adhere to and accumulate inside the cover 4. The structure of the spray mechanism will be described later.

[0026] As shown in FIG. 2 , the front wall 41 has an opening 46, a door 47, and an operation panel 10. The opening 46 is located approximately in the center of the front wall 41 and is rectangular in front view. The door 47 is movable left and right within the opening 46. An operator can open the door 47 to attach or detach a workpiece W on the top surface of the table 8. The operation panel 10 is located on the right side of the opening 46. The operation panel 10 is connected to the numerical control device 30 (see FIG. 6 ) via a harness (not shown). The operation panel 10 has an input unit 11 and a display unit 12. The input unit 11 is a device that allows input of various operation instructions for the machine tool 1, machining programs, tool types, tool diameters, various parameters, etc. The machining program is composed of multiple blocks containing various control commands, and the numerical control device 30 controls various operations of the machine tool 1, including axis movement and tool replacement, on a block-by-block basis based on the machining program. The display unit 12 receives instructions from the numerical control device 30 and can display various input screens or operation screens.

[0027] The structure of the spray mechanism will be described with reference to Figures 1, 3, and 4. The spray mechanism is composed of a spray unit and a supply unit. The spray unit is provided inside the cover 4 and sprays cutting fluid within the cover 4. The supply unit is provided outside the cover 4 and supplies cutting fluid to the spray unit.

[0028] The configuration of the spraying unit will be described with reference to Figure 4. The spraying unit is composed of a pair of flexible pipes 71, 72, a pair of cutting fluid nozzles 74, 75, a pair of cutting fluid pipes 81, 82, and multiple chip showers 83, 84. The flexible pipe 71 extends toward the top surface of the table 8 from a through hole 94 formed in the left back wall 44. The through hole 94 is formed at approximately the middle in the vertical direction on the right end side of the left back wall 44. The cutting fluid nozzle 74 is formed at the tip of the flexible pipe 71. The flexible pipe 72 extends toward the top surface of the table 8 from a through hole 92 formed in the right back wall 45. The through hole 92 is formed at approximately the middle in the vertical direction on the left end side of the right back wall 45. The cutting fluid nozzle 75 is formed at the tip of the flexible pipe 72. The cutting fluid nozzles 74, 75 are directed toward the top surface of the table 8 by bending the flexible pipes 71, 72.

[0029] The cutting fluid pipe 81 extends horizontally and forward from a through-hole 93 (see FIG. 3) provided in the upper left end of the left back wall 44. The cutting fluid pipe 82 extends horizontally and forward from a through-hole 91 (see FIG. 3) provided in the upper right end of the right back wall 45. The cutting fluid pipe 81 has a plurality of holes (not shown) at predetermined intervals in its lower part. The chip showers 83 are attached to the plurality of holes provided in the lower part of the cutting fluid pipe 81. The cutting fluid pipe 82 also has a plurality of holes (not shown) at predetermined intervals in its lower part. The chip showers 84 are attached to the plurality of holes provided in the lower part of the cutting fluid pipe 82. The chip showers 83, 84 spray cutting fluid downward.

[0030] The configuration of the supply unit will be described with reference to Figures 1 and 3. As shown in Figure 1, the supply unit is composed of a tank 20, pumps 22 and 23, main hoses 25 and 26, branch hoses 27 and 28, T-joints 61 and 62, and joints 63 and 64 (see Figure 3), etc. The tank 20 is installed behind the base 2 and stores cutting fluid. The pumps 22 and 23 are installed adjacent to the right side of the tank 20. The main hose 25 is connected to the pump 22. The main hose 26 is connected to the pump 23. The pump 22 pumps up the cutting fluid in the tank 20 and supplies it to the main hose 25. The pump 23 pumps up the cutting fluid in the tank 20 and supplies it to the main hose 26.

[0031] The T-joint 61 is connected from outside the cover 4 to a through-hole 91 provided in the upper right end of the right back wall 45. The T-joint 62 is connected from outside the cover 4 to a through-hole 92 provided in the middle position in the vertical direction on the left end side of the right back wall 45. As shown in Figure 3, the joint 63 is connected from outside the cover 4 to a through-hole 93 provided in the upper left end side of the left back wall 44. The joint 64 is connected from outside the cover 4 to a through-hole 94 (see Figure 4) provided in the middle position in the vertical direction on the right end side of the left back wall 44.

[0032] The main hose 25 and the branch hose 27 are each connected to the T-joint 61. The branch hose 27 extends to the left side of the column 5 via the back side of the column 5 and connects to a joint 63 provided on the left back wall 44 (see Figure 3). The main hose 26 and the branch hose 28 are each connected to the T-joint 62. The branch hose 28 passes through a hole 5B (see Figure 1) provided in the column 5, extends to the left side of the column 5, and connects to a joint 64 provided on the left back wall 44 (see Figure 3). The hole 5B is provided in the middle position in the vertical direction of the column 5 and penetrates in the left-right direction.

[0033] The operation of the spray mechanism will be described with reference to Figures 1, 3, and 4. When the pump 23 is driven, cutting fluid flows through the main hose 26. The cutting fluid branches at the T-shaped joint 62, with one branch flowing through the through-hole 92 to the flexible pipe 72 and the other flowing to the branch hose 28. The cutting fluid flowing into the flexible pipe 72 is forcefully sprayed from the cutting fluid nozzle 75. The cutting fluid flowing into the branch hose 28 flows from the joint 64 on the opposite side of the column 5 through the through-hole 94 to the flexible pipe 71 and is forcefully sprayed from the cutting fluid nozzle 74. The cutting fluid nozzles 74 and 75 can directly spray cutting fluid from both the left and right sides onto the workpiece W (not shown) fixed to the top surface of the table 8 with a jig or the like. The cutting fluid can wash away chips adhering to the workpiece.

[0034] When the pump 22 is driven, the cutting fluid flows through the main hose 25. The cutting fluid branches at the T-joint 61, one branch flows through the cutting fluid pipe 82 via the through-hole 91, and the other flows into the branch hose 27. The cutting fluid that flows into the cutting fluid pipe 82 spurts out forcefully downward from multiple chip showers 84. The cutting fluid that flows into the branch hose 27 flows through the cutting fluid pipe 81 from the joint 63 on the opposite side of the column 5 via the through-hole 93, and is spurted out forcefully downward from multiple chip showers 83. Therefore, the cutting fluid can wash away chips that adhere to and accumulate on the inside of the cover 4.

[0035] The electrical configurations of the numerical control device 30 and the machine tool 1 will be described with reference to FIG. 6 . The numerical control device 30 includes a CPU 31, a ROM 32, a RAM 33, a nonvolatile storage device 34, an input / output unit 35, motor control units 51A-55A, and drive control units 56A and 57A. The CPU 31 controls the numerical control device 30. The ROM 32 stores a control program and the like. The control program executes a main process (see FIG. 12 ), which will be described later. The RAM 33 includes various storage areas. The nonvolatile storage device 34 stores a plurality of machining programs and the like input by an operator via the input unit 11 of the control panel 10. The control program stored in the ROM 32 may be stored in a readable external storage medium (such as a USB memory or a CD-ROM). The CPU 31 may read a program from the storage medium, store it in the nonvolatile storage device 34, and execute the control program stored in the nonvolatile storage device 34. The machine tool 1 may also be capable of communicating with other devices (such as a server) via a communication line. The control program may be stored in a storage device of another device. The CPU 31 may store the control program acquired by communicating with another device in the non-volatile storage device 34. The control program corresponds to the program of the present invention. A USB memory, a CD-ROM, a server, another device, etc. correspond to the storage medium.

[0036] The motor control unit 51A is connected to the Z-axis motor 51 and encoder 51B. The motor control unit 52A is connected to the spindle motor 52 and encoder 52B. The motor control unit 53A is connected to the X-axis motor 53 and encoder 53B. The motor control unit 54A is connected to the Y-axis motor 54 and encoder 54B. The motor control unit 55A is connected to the magazine motor 55 and encoder 55B. The drive control unit 56A is connected to the pump 22. The drive control unit 57A is connected to the pump 23. The motor control units 51A to 55A receive commands from the CPU 31 and output drive currents to the corresponding motors 51 to 55, respectively.

[0037] Motor control units 51A to 55A receive feedback signals from encoders 51B to 55B and perform feedback control of position and speed. Input / output unit 35 is connected to input unit 11 and display unit 12, respectively. Drive control units 56A and 57A receive commands from CPU 31 and output drive currents to corresponding pumps 22 and 23, respectively. Pumps 22 and 23 are driven by the drive currents. Z-axis motor 51, spindle motor 52, X-axis motor 53, Y-axis motor 54, and magazine motor 55 are all servo motors. In the following description, Z-axis motor 51, spindle motor 52, X-axis motor 53, Y-axis motor 54, and magazine motor 55 will be referred to collectively as motors 51 to 55.

[0038] An example of parameter setting and flag setting for the pump 22 will be described with reference to Figures 7 and 8. The operator operates the operation panel 10 to set each parameter related to the operation of the pump 22. For convenience of explanation, the machining time is set to 100 seconds. The machining time is the time from the start to the end of machining the workpiece W according to the machining program. The machining time is stored in the non-volatile storage device 34 in association with each machining program.

[0039] As shown in Figure 7, the pump 22 is driven and stopped once per cycle Tcyc, which is 56 seconds. The stop time of the pump 22 (hereinafter referred to as the second time Toff) is 39 seconds, and the drive time of the pump 22 (hereinafter referred to as the first time Ton) is 17 seconds. The drive time of the pump 22 before the end of machining (hereinafter referred to as the first predetermined time Tend) is 15 seconds per operation of the machining program. The first predetermined time Tend is shorter than the first time Ton. The time 85 seconds after the start of machining is referred to as the specific time Tsp. In other words, when the specific time Tsp is reached after the start of machining, the pump 22 continues to drive until the end of the machining program.

[0040] 8, the flag of the pump 22 is set by the CPU 31 based on parameters set by the operator. When the flag is "0", the pump 22 stops. When the flag is "1", the pump 22 runs. The numerical control device 30 starts machining the workpiece W at time 0 seconds. For a second time Toff (39 seconds) from time 0 seconds to time 39 seconds, the flag is "0". For a first time Ton (17 seconds) from time 39 seconds to time 56, the flag is "1".

[0041] When time 56 seconds is reached, the second cycle Tcyc starts. At that time, the flag becomes "0." After time 56 seconds, and until the second time Toff has elapsed, the flag remains "0." When time 85 seconds, that is, the specific time Tsp, is reached, the flag becomes "1" again. The flag remains 1 for a first predetermined time Tend from time 85 seconds, which is the specific time Tsp, until the completion of machining at time 100 seconds.

[0042] An example of parameter settings and flag settings for the pump 22 will be described with reference to Figures 9 and 10. In the following, the processing time is set to 100 seconds, as in Figures 7 and 8. In Figures 9 and 10, the time for one cycle Tcyc is longer than in Figures 7 and 8. As shown in Figure 9, one cycle Tcyc is set to 83 seconds. The second time Toff is set to 10 seconds, and the first time Ton is set to 73 seconds. The first predetermined time Tend is set to 15 seconds before the end of processing. In other words, the specific time Tsp is 85 seconds. The first predetermined time Tend is shorter than the first time Ton.

[0043] As shown in Figure 10, machining starts at time 0 seconds. During the second time Toff (10 seconds) from time 0 seconds to time 10 seconds, the flag is "0". During the first time Ton (73 seconds) from time 10 seconds to time 83 seconds, the flag is "1". When time 83 seconds is reached, it is the start time of the second time Toff of the next cycle Tcyc, but two seconds later, specific time Tsp, which is 85 seconds, is reached. At this time, pump 22 is stopped and started in a short period of time, so machine tool 1 consumes more power than necessary.

[0044] In this case, even when 83 seconds has passed since the start time of the second cycle Tcyc, the flag is set to "1." This prevents the pump 22 from stopping and starting in a short period of time. For example, if the time from the last time the pump 22 stops before the end of the machining program to the specific time Tsp (hereinafter also referred to as the second predetermined time Tsub) is shorter than the reference time Tref, the flag remains set to "1." The reference time Tref is, for example, 3 seconds, and may be determined according to the specifications of the pump 22.

[0045] Referring to Figure 11, the operation patterns A and B of the machining program will be briefly described. Unlike the examples shown in Figures 7 to 10, operation patterns A and B have a longer machining time relative to one cycle Tcyc. For this reason, the pump 22 is repeatedly driven and stopped over multiple cycles Tcyc from the machining start time t0. By repeating this cycle Tcyc, the ejection mechanism discharges the chips that are generated. In the case of operation patterns A and B, the pump 22 is also driven intermittently, allowing the numerical control device 30 to reduce power consumption.

[0046] Operation pattern A is a case where the second predetermined time Tsub is longer than the reference time Tref. The pump 22 stops from the start of the final second time Toff until specific time Tsp. When specific time Tsp is reached, the pump 22 starts operating. The pump 22 operates from specific time Tsp until time te, when the machining program ends. Therefore, the numerical control device 30 can use cutting fluid to discharge chips generated during long-term machining in one cycle Tcyc, which is repeatedly executed, while also discharging chips generated between specific time Tsp and time Te.

[0047] Operation pattern B is a case in which the second predetermined time Tsub is shorter than the reference time Tref. At this time, at time t10, the pump 22 is not stopped for the second time Toff. The numerical control device 30 sets time t7 as the specific time Tsp, and resets the time from time t7 to time Te to the first predetermined time Tend. In other words, the pump 22 continues to operate from time t7 until time te, when the machining program ends. Therefore, the numerical control device 30 and the machine tool 1 can reduce power consumption caused by repeatedly starting and stopping the pump 22 in a short period of time.

[0048] The main processing will be described with reference to Figure 12. The following description is based on the assumption that parameters for driving the pump 22 have already been set. The operator selects one machining program using the input unit 11 and inputs a start command. The CPU 31 reads the machining program selected using the input unit 11 from the non-volatile storage device 34 and executes this processing.

[0049] The CPU 31 refers to the nonvolatile storage device 34 and reads the machining time corresponding to the machining program selected by the operator (S1).

[0050] The CPU 31 determines whether the second predetermined time Tsub is equal to or greater than the reference time Tref (S5). If it is determined that the second predetermined time Tsub is equal to or greater than the reference time Tref (S5: YES), the CPU 31 maintains the first predetermined time Tend, one of the parameters received in S1, and proceeds to S9. This makes it possible to execute the operation pattern A in FIG. 11. In other words, the specific time Tsp remains unchanged from when the parameter was set.

[0051] If the CPU 31 determines that the second predetermined time Tsub is shorter than the reference time Tref (S5: NO), it resets the first predetermined time Tend to the time from the start of driving the pump 22 in the last first time Ton to the end of the machining program (S7). Therefore, it becomes possible to execute the operation pattern B in FIG. 11. In this case, the specific time Tsp is a time before the specific time Tsp set in the parameter setting. The first predetermined time Tend is longer than the time set in the parameter setting in the processing of S1.

[0052] The CPU 31 starts the machining program (S9). The CPU 31 starts measuring the elapsed time since the start of the machining program (S11). The CPU 31 determines whether a specific time Tsp, which is a first predetermined time Tend before the time te at which the machining program ends, has been reached (S13). If it determines that the specific time Tsp has not been reached (S13: NO), the CPU 31 sets the flag to 0 and stops the pump 22 (S15). The CPU 31 starts measuring the stop time since the pump 22 was stopped (S17).

[0053] The CPU 31 determines whether the stop time of the pump 22 has elapsed the second time Toff (S19). If it is determined that the stop time of the pump 22 has not elapsed the second time Toff (S19: NO), the CPU 31 returns the process to S13. The CPU 31 stops the pump 22 until the second time Toff has elapsed. Here, the specific time Tsp may be reached while the pump 22 is stopped. In this case, the CPU 31 determines that the specific time Tsp has been reached (S13: YES) and proceeds to S29.

[0054] If it is determined that the stop time of the pump 22 has elapsed the second time Toff seconds (S19: YES), the CPU 31 determines whether the specific time Tsp has been reached (S21), similar to the process of S13. If it is determined that the specific time Tsp has not been reached (S21: NO), the CPU 31 sets the flag to "1" and drives the pump 22 (S23).

[0055] The CPU 31 starts measuring the drive time of the pump 22 (S25). The CPU 31 determines whether the drive time of the pump 22 has elapsed a first time Ton (S27). If the CPU 31 determines that the drive time of the pump 22 has not elapsed the first time Ton (S27: NO), the CPU 31 returns the process to S21. That is, the CPU 31 drives the pump 22 until the first time Ton has elapsed. Here, the specific time Tsp may be reached while the pump 22 is being driven. In this case, the CPU 31 determines that the specific time Tsp has been reached (S21: YES) and proceeds to S29.

[0056] On the other hand, if the driving time of the pump 22 has exceeded the first time Ton (S27: YES), the CPU 31 returns the process to S13. If the specific time Tsp has not yet been reached (S13: NO), the CPU 31 stops driving the pump 22 and controls the pump 22 for the next cycle Tcyc (S13 to S27).

[0057] Since the specific time Tsp has been reached, the CPU 31 sets the flag to "1" (S29) and drives the pump 22. If the pump 22 is already being driven (S27: NO ⇒ S21: YES), the CPU 31 maintains the flag at "1" and drives the pump 22.

[0058] The CPU 31 determines whether the machining program has ended, i.e., whether the first predetermined time Tend has elapsed (S31). If it determines that the machining program has not ended (S31: NO), the CPU 31 returns to the process and waits. At this time, the CPU 31 continues to drive the pump 22. If it determines that the machining program has ended (S31: YES), the CPU 31 sets the flag to "0" and stops the pump 22 (S33). In other words, when the CPU 31 determines that the specific time Tsp has been reached (S9: YES, S17: YES), it drives the pump 22 for the first predetermined time Tend, from the specific time Tsp until the end of the machining program. The CPU 31 then ends the process.

[0059] As described above, the CPU 31 determines whether the specific time Tsp, which is the time before the first predetermined time Tend from the time te when the machining program ends, has been reached based on the machining time from the start to the end of the machining program. When the CPU 31 determines that the specific time Tsp has been reached, it drives the Tend pump 22 for the first predetermined time from the specific time Tsp to the end of the machining program.

[0060] The numerical control device 30 can reliably wash away chips by the end of the machining program by driving the pump 22 for the first predetermined time Tend. Therefore, the numerical control device 30 can drive the cutting fluid ejection mechanism at an appropriate timing.

[0061] The CPU 31 intermittently drives the pump 22 while the machining program is being executed, so that the numerical control device 30 can reduce power consumption compared to when the pump 22 is constantly driven.

[0062] The CPU 31 repeatedly drives the pump 22 for a first time Ton, and then stops the pump for a second time Toff after driving the pump 22 for the first time Ton. The first predetermined time Tend is shorter than the first time Ton. Depending on the machining program, only a small amount of chips may be generated in the latter half of machining. In such cases, even if the first predetermined time Tend is shorter than the first time Ton, the chips can be sufficiently flushed away, thereby reducing power consumption.

[0063] During execution of the machining program, the CPU 31 repeatedly drives the pump 22 for a first time Ton, and then stops the pump 22 for a second time Toff after driving the pump 22 for the first time Ton. The CPU 31 determines whether a second predetermined time Tsub, which is the time from the last time the pump 22 is stopped before the end of the machining program to a specific time Tsp, is shorter than a predetermined reference time Tref. If the CPU 31 determines that the second predetermined time Tsub is shorter than the reference time Tref, the CPU 31 sets the first predetermined time Tend to the time from the last time the pump 22 is started to drive the first time Ton until the end of the machining program, and drives the pump 22 for the first predetermined time Tend. By resetting the first predetermined time Tend, the numerical controller 30 can prevent the pump 22 from being stopped and started in a short period of time. Therefore, the numerical controller 30 can achieve low power consumption.

[0064] In the above explanation, the CPU 31 that executes the processes of S13 and S21 is an example of a first determination unit of the present invention. The CPU 31 that executes the process of S29 is an example of a first pump drive unit of the present invention. The CPU 31 that executes the processes of S13 to S27 is an example of a second pump drive unit of the present invention. The CPU 31 that executes the process of S5 is an example of a second determination unit of the present invention. The CPU 31 that executes the process of S7 is an example of a setting unit of the present invention.

[0065] The present invention is not limited to the above embodiment and various modifications are possible. In the above embodiment, the flag for the pump 22 is set while the main process is being executed, but this is not limiting. For example, the flag for the pump 22 may be set first when setting parameters. In this case, the CPU 31 only needs to drive the pump 22 based on the set flag.

[0066] In the above embodiment, the first predetermined time Tend is shorter than the first time Ton, but this is not limited thereto. For example, as shown in FIG. 13 , the first predetermined time Tend may be longer than the first time Ton. Before the end of the machining program, the numerical control device 30 drives the pump 22 for the first predetermined time Tend, which is longer than the first time Ton that is repeatedly driven. Therefore, the numerical control device 30 can more reliably wash away chips by the time the machining program ends. In other words, the operator sets the parameters in this manner when prioritizing chip removal performance over energy conservation.

[0067] In the above embodiment, the pump 22 is driven and stopped for at least one cycle Tcyc, but this is not limiting. For example, the pump 22 may be started to be driven in the same manner as in the above embodiment even if the specific time Tsp is reached before the end of one cycle Tcyc.

[0068] In the above embodiment, the pump 22 is driven intermittently for a first time Ton and stopped for a second time Toff, but this is not limiting. For example, the CPU 31 may detect the flow rate of the cutting fluid using a sensor that detects the flow rate of the cutting fluid, and stop the pump 22 when the detection result detects a predetermined flow rate. Alternatively, the pump 22 may be stopped when a liquid level sensor provided inside the tank 20 detects a predetermined position, i.e., when a predetermined amount of cutting fluid has leaked out.

[0069] 1 Machine tool 4 Cover 22 Pump 30 Numerical control device 31 CPU W Workpiece Tsp Specific time Ton First time Toff Second time Tend First predetermined time Tsub Second predetermined time Tref Reference time

Claims

1. A numerical control device that controls a machine tool equipped with a spraying mechanism that sprays cutting fluid into the cover by driving a pump to wash away chips generated by machining a workpiece placed inside a cover based on a machining program, characterized in that the numerical control device comprises: a first judgment unit that judges whether a specific time has been reached that is a first predetermined time before the end of the machining program, based on the machining time from the start of machining based on the machining program to the end of machining, and a first pump drive unit that drives the pump for the first predetermined time from the specific time to the end of the machining program, when the first judgment unit judges that the specific time has been reached.

2. The numerical control device according to claim 1, further comprising a second pump drive unit for intermittently driving the pump while the machining program is being executed.

3. The numerical control device according to claim 2, characterized in that the second pump driving unit repeatedly drives the pump for a first time and then stops the pump for a second time after driving the pump for the first time, and the first specified time is shorter than the first time.

4. The numerical control device described in claim 2, characterized in that the second pump driving unit repeatedly drives the pump for a first time while the machining program is being executed, and then stops the pump for a second time after driving the pump for the first time, and the first specified time is longer than the first time.

5. A numerical control device as described in claim 1, comprising: a second pump driving unit that repeatedly drives the pump for a first time during execution of the machining program and stops the pump for a second time after driving the pump for the first time; a second judgment unit that judges whether a second predetermined time from the last time the pump is stopped before the end of the machining program to the specific time is shorter than a predetermined reference time; and a setting unit that sets the time from the last time the pump is started to be driven for the first time to the end of the machining program to the first predetermined time when the second judgment unit judges that the second predetermined time is shorter than the reference time, wherein the first pump driving unit drives the pump for the first predetermined time set by the setting unit.

6. A machine tool comprising: an ejection mechanism that washes away chips generated by machining the workpiece placed inside the cover based on the machining program by driving the pump to eject the cutting fluid into the cover; and the numerical control device described in any one of claims 1 to 5.

7. A control method for a numerical control device that controls a machine tool equipped with a spray mechanism that sprays cutting fluid into the cover by driving a pump to wash away chips generated by machining a workpiece placed inside a cover based on a machining program, the control method comprising: a first judgment step of judging whether a specific time has been reached that is a first predetermined time before the end of the machining program, based on the machining time from the start of machining based on the machining program to the end of machining; and a first pump drive step of driving the pump for the first predetermined time from the specific time to the end of the machining program, when the first judgment step judges that the specific time has been reached.

8. A program for causing a computer of a numerical control device that controls a machine tool equipped with a spraying mechanism that sprays cutting fluid into the cover by driving a pump to wash away chips generated by machining a workpiece placed inside a cover based on a machining program, the program comprising: a first judgment step for judging whether a specific time has been reached that is a first predetermined time before the end of the machining program, based on the machining time from the start of machining based on the machining program to the end of machining; and a first pump drive step for driving the pump for the first predetermined time from the specific time to the end of the machining program, when the first judgment step judges that the specific time has been reached.

9. A storage medium storing a program for causing a computer of a numerical control device that controls a machine tool equipped with a spray mechanism that sprays cutting fluid into the cover by driving a pump to wash away chips generated by machining a workpiece placed inside a cover based on a machining program to execute a first judgment step of judging whether a specific time has been reached that is a first predetermined time before the time the machining program ends, based on the machining time from the start of machining based on the machining program to the end of machining, and a first pump drive step of driving the pump for the first predetermined time from the specific time to the end of the machining program, when the first judgment step judges that the specific time has been reached.

Citation Information

Patent Citations

  • NC program generation device in view of power saving

    JP2018067346A

  • Cutting liquid spraying system in machining

    JP1998118884A

  • Cutting fluid filtering device having filter washing function

    JP2013248701A

  • Numerical control device

    JP2014213434A

  • Numerical control device

    JP2015123567A