Program editing device, machine tool and program editing method

DE112022007072T5Pending Publication Date: 2025-02-27FANUC LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
DE112022007072
Authority / Receiving Office
DE · DE
Patent Type
Applications
Current Assignee / Owner
Filing Date
2022-06-23
Publication Date
2025-02-27

Smart Images

  • Figure 00000000_0000_ABST
    Figure 00000000_0000_ABST
Patent Text Reader

Abstract

This program editing device (90) comprises: a fog quantity acquisition unit (92) that acquires a fog quantity (MA1); a period detection unit (94) that detects a first period (PE1) during which a fog separator (34) is in operation while the fog quantity (MA1) is less than a first threshold value (TH1); and a program editing unit (96) that automatically edits a machine processing program (72) such that the fog separator (34) does not operate during the first period (PE1).
Need to check novelty before this filing date? Find Prior Art

Description

Technical field

[0001] The present invention relates to a program editing device, a machine tool and a program editing method. Related state of the art

[0002] A mist separator collects the mist generated within the machining area of ​​a machine tool (see also JP 2012-076006 A). The mist separator collects the mist within the machining area and prevents it from escaping. The mist is a coolant consisting of fine or minute particles suspended in the air. Summary of the invention

[0003] To reliably prevent mist from escaping the machine's processing area, the mist separator is often operated for extended periods. However, because the mist separator operates for such long periods, it consumes a significant amount of electricity.

[0004] One object of the present invention is to solve the problem described above.

[0005] A first embodiment of the present invention is a program editing device that edits a machining program configured to control the operation of a fog separator of a machine tool, wherein the machine tool comprises a machining device configured to machine a workpiece, and the fog separator is configured to collect the fog present in a machining area of ​​the machine tool, wherein the program editing device comprises a fog quantity acquisition unit configured to obtain a quantity of the fog collected by the fog separator based on a detection signal from a first fog sensor, and a period detection unit configured to detect a first period in which the fog separator operates in a state where the fog quantity is less than a first threshold.and includes a program editing unit configured to automatically edit the machine processing program so that the fog separator does not operate during the first period.

[0006] A second embodiment of the present invention is a machine tool comprising the program editing device described above according to the first embodiment, the machining device, the mist separator and a control device configured to control the machining device and the mist separator based on the machining program.

[0007] A third embodiment of the present invention is a program editing method for editing a machining program configured to control the operation of a fog separator of a machine tool, wherein the machine tool comprises a machining device configured to machine a workpiece, and the fog separator is configured to collect the fog present in a machining area of ​​the machine tool, the method comprising a fog quantity detection step for detecting a quantity of fog collected by the fog separator based on a detection signal from a first fog sensor, a first period detection step for detecting a first period in which the fog separator operates in a state where the fog quantity is less than a first threshold, and a program editing step.in which a computer automatically edits the machine processing program so that the fog separator does not operate during the first period.

[0008] According to the present invention, it is possible to reduce the power consumption of the machine tool which is equipped with the machining device and the mist separator. Brief description of the drawings

[0009] They show: [ Fig. 1] Fig. 1 a schematic representation of a machine tool according to an exemplary embodiment; [ Fig. 2] Fig. 2 a block diagram showing a control device (program editing device), a drive device and a plurality of motors; [ Fig. 3] Fig. 3 a block diagram showing a control device (a program editing device), a drive device and a plurality of motors; [ Fig. 4] Fig. 4. A first diagram showing the temporal progression of a fog quantity; [ Fig. 5] Fig. 5 a second diagram showing the temporal progression of the amount of fog; [ Fig. 6] Fig. 6. A first diagram showing the time course of an accumulation amount; [ Fig. 7] Fig. 7 a second diagram showing the time course of the accumulation amount; [ Fig. 8] Fig. 8 a flowchart showing a program editing procedure according to the exemplary embodiment; [ Fig. 9] Fig. Figure 9 is a flowchart showing a determination step; [ Fig. 10] Fig. 10 a schematic representation of a machine tool according to an exemplary modification 1; [ Fig. 11] Fig. 11 a block diagram of a control device according to an exemplary modification 2; [ Fig. 12] Fig. 12 a block diagram of a control device according to an exemplary modification 3; [ Fig. 13] Fig. 13 a block diagram of a program editing device according to an exemplary modification 4; [ Fig. 14] Fig. 14 a flowchart showing a program editing procedure according to a fifth modification; [ Fig. 15] Fig. 15 a third diagram describing the time course of the accumulation amount; and [ Fig. 16] Fig. 16 a fourth diagram showing the time course of the accumulation amount. Detailed description of the invention [exemplary embodiment]

[0010] Fig. Figure 1 shows a schematic representation of a machine tool 10 according to an exemplary embodiment.

[0011] The X-direction and the Y-direction, which are in Fig. The directions shown in Figure 1 are parallel to a horizontal plane. The X-direction and the Y-direction are perpendicular to each other. The directions shown in Figure 1 are: Fig. The Z-direction shown in Figure 1 is a direction parallel to the direction of gravity. Accordingly, the Z-direction is perpendicular to the X-direction and the Y-direction. The in Fig. However, the Z-direction shown indicates a direction that runs opposite to the direction of gravity.

[0012] The machine tool 10 is equipped with a machining device 12, a control device 14, a coolant supply device 32 and a mist separator 34.

[0013] The machining device 12 is a machine that performs machining operations on a workpiece using a tool 16. The machining device 12 comprises a spindle 18, a spindle head 20, a column 22, a base 24, a table 26, a table drive unit 28, and a cover 30.

[0014] A tool holder 36 is attached to the spindle 18 (see figure). Fig. 1) The tool holder 36 can be attached to and removed from the spindle 18. The tool holder 36 accommodates the tool 16. The tool 16 is, for example, a spring-loaded turning tool, a drill, a shank cutter, a milling cutter, or the like.

[0015] The machining device 12 is also equipped with a tool magazine 38. The tool magazine 38 detachably holds a variety of tools 16. One of the many tools 16 held by the tool magazine 38 is mounted on the tool holder 36.

[0016] The spindle head 20 carries the spindle 18. The spindle head 20 is equipped with a spindle motor 21 for rotating the spindle 18. The spindle motor 21 is, for example, a spindle motor. The spindle motor 21 includes a shaft (not shown) and a sensor 23.

[0017] The shaft of the spindle motor 21 rotates due to the electric current supplied to the spindle motor 21. The spindle 18 rotates in accordance with the rotation of the shaft of the spindle motor 21. As the spindle 18 rotates, the tool 16, which is attached to the spindle 18 via the tool holder 36, also rotates.

[0018] The encoder 23 is a rotation encoder. The encoder 23 outputs a detection signal that corresponds to the rotational position of the shaft of the spindle motor 21.

[0019] The column 22 is supported by the base 24. The column 22 supports the spindle head 20. The column 22 includes a column motor 25. The column motor 25 is, for example, a servo motor. The column motor 25 includes a shaft (not shown) and a sensor 27.

[0020] The shaft of the column motor 25 rotates due to the electric current supplied to the column motor 25. The column 22 moves in the Z-direction according to the rotation of the shaft of the column motor 25. When the column 22 moves in the Z-direction, the spindle 18 supported by the column 22 also moves in the Z-direction.

[0021] The encoder 27 is a rotation encoder. The encoder 27 outputs a detection signal that corresponds to the rotational position of the shaft of the column motor 25.

[0022] The base 24 is positioned on the installation surface. The installation surface is, for example, the floor of a factory. The installation surface can be a support surface for a platform that is placed on the floor. The installation surface extends, for example, parallel to the horizontal plane. The base 24 can be equipped with a variety of support elements 24a. Each of the support elements 24a can be, for example, a caster foot, a lift, or similar.

[0023] The table drive unit 28 is supported on the base 24. The table drive unit 28 comprises a plurality of feed axis motors 47 (47X, 47Y), a first sliding unit 42, a main slide 44 and a second sliding unit 46.

[0024] The range of feed axis motors 47 includes a Y-axis motor 47Y and an X-axis motor 47X. The Y-axis motor 47Y and the X-axis motor 47X are, for example, servo motors. The Y-axis motor 47Y includes a rotary shaft 49Y. The X-axis motor 47X includes a rotary shaft 49X.

[0025] The first sliding unit 42 is mounted on the base 24. The first sliding unit 42 includes, for example, guide rails extending in the Y direction. The first sliding unit 42 carries the main carriage 44.

[0026] The main slide 44 is connected to the Y-axis motor 47Y. The main slide 44 moves in the Y direction in response to the drive of the Y-axis motor 47Y. The main slide 44 moves while being guided by the first sliding unit 42.

[0027] The second sliding unit 46 is mounted on the main slide 44. The second sliding unit 46 includes, for example, guide rails extending in the X direction. The second sliding unit 46 supports the table 26.

[0028] Table 26 carries a workpiece (not shown) below spindle 18. Table 26 is connected to an X-axis motor 47X. Table 26 moves in the X direction in response to the drive of the X-axis motor 47X. Table 26 moves while being guided by the second sliding unit 46.

[0029] The cover 30 covers the spindle 18, the spindle head 20, the column 22, the base 24, the table 26, and the table drive unit 28. Consequently, the cover 30 forms a machining area 48. A workpiece is machined within the machining area 48.

[0030] The cover 30 is also equipped with a door and a window (not shown). The operator can place the workpiece into the machining area 48 through the open door. The operator can also easily check the condition of the machining area 48 through the window.

[0031] The coolant supply device 32 is a device that supplies the coolant to the machining area 48. The coolant supply device 32 is equipped with a coolant tank 50, a nozzle 52, a supply line 54 and a pump 56.

[0032] The coolant tank 50 stores the coolant. The coolant tank 50 is located outside the machining area 48.

[0033] The nozzle 52 is an ejection unit that expels the coolant. The nozzle 52 is located within the machining area 48. The coolant supply device 32 can comprise a plurality of nozzles 52.

[0034] The supply line 54 is a line that connects the coolant tank 50 and the nozzle 52. The coolant supply device 32 can also be equipped with multiple supply lines 54. The number of supply lines 54 is determined, for example, by the number of nozzles 52. The supply line 54 connects the coolant tank 50 and the nozzle 52.

[0035] Pump 56 is connected to supply line 54. Pump 56 draws coolant from coolant tank 50 and delivers it to nozzle 52. The coolant is then expelled from nozzle 52 into the machining area 48.

[0036] The coolant introduced into the machining area 48 cools the tool 16 and the workpiece. During machining in the machining area 48, a coolant mist is generated. There is a concern that this mist could escape from the machining area 48 to the outside through small gaps that occur in the machining device 12.

[0037] The fog separator 34 is a device designed to collect fog within the machining area 48. The fog separator 34 is located outside the machining area 48 and is connected to the cover 30 via a channel 58. The fog separator 34 collects the fog by drawing in air from within the machining area 48, thus preventing the fog from escaping the machining area 48.

[0038] As the tool 16 cuts the workpiece, fine or minute chips in the form of powdery dust are produced in the machining area 48. There is a concern that this powdery dust, like the mist, could escape from the machining area 48 through small gaps in the machining device 12. The mist separator 34, by drawing air from within the machining area 48, can collect not only the mist but also the powdery dust. This prevents the powdery dust from escaping the machining area 48.

[0039] The fog separator 34 can be connected to the coolant tank 50. Consequently, the fog collected by the fog separator 34 can be returned to the coolant tank 50 as coolant.

[0040] In the event that the mist separator 34 and the coolant tank 50 are connected, it is preferable that the mist separator 34 and the coolant tank 50 be connected via a filter device (not shown). The filter device removes impurities from the coolant that is routed from the mist separator 34 to the coolant tank 50. By connecting the mist separator 34 and the coolant tank 50 via the filter device, clean coolant can be returned from the mist separator 34 to the coolant tank 50. Impurities in the coolant include, for example, the cutting chips that have accumulated along with the mist.

[0041] The control device 14 is a computer that controls the machining device 12, the coolant supply device 32, and the mist separator 34. The control device 14 is, for example, a numerical control device. A more detailed description of the control device 14 follows.

[0042] The machine tool 10 also includes a control device 82, a first fog sensor 84A, a second fog sensor 84B, a temperature sensor 86, a runout sensor 88, and a program editing device 90. The program editing device 90 is housed in the control device 14.

[0043] The control device 82 comprises a plurality of amplifiers. These plurality of amplifiers include, for example, an amplifier for the spindle motor 21, an amplifier for the column motor 25, an amplifier for the Y-axis motor 47Y, and an amplifier for the X-axis motor 47X. In the following description, when it is not necessary to distinguish between the spindle motor 21, the column motor 25, the Y-axis motor 47Y, and the X-axis motor 47X, each of the spindle motor 21, the column motor 25, the Y-axis motor 47Y, and the X-axis motor 47X will be referred to simply as a motor MO. Similarly, when it is not necessary to distinguish between the encoder 23, the encoder 27, and an encoder 29 in the following description, each of the encoder 23, the encoder 27, and the encoder 29 will be referred to simply as an encoder EN.

[0044] The control device 14, based on a machine program 72 (described below), issues a command to the drive device 82 to operate each motor MO. The drive device 82 supplies each motor MO with electrical current based on the command issued by the control device 14. Each motor MO is driven by means of the electrical current supplied by the drive device 82.

[0045] Each of the encoders EN outputs a detection signal according to the drive of the motor MO, which is equipped with the corresponding encoder EN. The control device 82 calculates an error between the drive state of motor MO and the command of the control device 14 based on the detection signal supplied by the encoder EN. Specifically, the control device 82 calculates, for example, an error between the rotational speed of shaft 49X specified by the control device 14 and the actual rotational speed of shaft 49X. The control device 82 adjusts the electrical current supplied to motor MO such that the error is reduced. The control device 82 adjusts the current supply to each of the motors MO such that the error in each of the motors MO is reduced. The control device 14 can calculate the error.

[0046] The first fog sensor 84A outputs a detection signal corresponding to a fog quantity MA1, i.e., the amount of fog collected by the fog separator 34. In the present embodiment, the amount of fog is more precisely referred to as the fog concentration.

[0047] The first fog sensor 84A is located outside the machine processing area 48. More precisely, the first fog sensor 84A is located on the path to collecting the fog, which is collected by the fog separator 34. As in Fig. As shown in Figure 1, the first fog sensor 84A is located, for example, in channel 58.

[0048] The second fog sensor 84B is located in the machine processing area 48. The second fog sensor 84B outputs a detection signal corresponding to the amount of fog accumulated in the machine processing area 48. Unless otherwise specified, the fog accumulation described above is also referred to as accumulation amount MA2 in the following description. Accumulation amount MA2 is the amount of fog that has accumulated in the machine processing area 48. More precisely, accumulation amount MA2 is the concentration of fog in the machine processing area 48.

[0049] The temperature sensor 86 is located in the machine processing area 48. The temperature sensor 86 outputs a detection signal that corresponds to the temperature in the machine processing area 48.

[0050] The runout sensor 88 outputs a detection signal corresponding to the runout of the rotating spindle 18. The runout of the spindle 18 is a range of the spindle's runout while it is rotating. More precisely, the runout of the spindle 18 is a range of the runout relative to the axis of rotation of the tool 16, which rotates along with the spindle 18.

[0051] The runout sensor 88 includes, for example, a vibration sensor, a camera (an image sensor), and similar components. If the runout sensor 88 is a vibration sensor, the vibration sensor is, for example, located on the spindle 18. If the spindle 18 is equipped with a vibration sensor, the runout of the spindle 18 is calculated, for example, based on the vibration of the spindle 18.

[0052] If the runout sensor 88 is a camera, the camera is installed such that the spindle 18 (the tool 16) is located within the camera's field of view. Preferably, the tool 16 mounted on the spindle 18 is located within the camera's field of view. When a camera is used as the runout sensor 88, the runout of the spindle 18 is calculated based on the camera's image.

[0053] Fig. 2 and Fig. Figure 3 shows block diagrams illustrating the control device 14 (program editing device 90), the drive device 82 and the plurality of motors MO. Fig. Figure 2 shows an example of a case in which a program prior to editing 72A, described below, is used as a machine editing program 72. Fig. Figure 3 shows an example of a case in which a program after editing 72B, described below, is used as a machine editing program 72.

[0054] The control device 14 comprises a display unit 60, an operating unit 62, a storage unit 64 and a calculation unit 66.

[0055] The display unit 60 is a display device equipped with a display screen 60d. The display unit 60 is, for example, a liquid crystal display device or an OEL (organic electroluminescent) display device.

[0056] The operating unit 62 is an input unit that receives instructions from the operator for the control device 14. The operating unit 62 comprises, for example, an operating panel 62a and a touch panel 62b, or similar components. The touch panel 62b is mounted on the display screen 60d. The operating unit 62 (the operating panel 62a) can be equipped with a keyboard, a mouse, or similar device.

[0057] The memory unit 64 consists of a volatile memory (not shown) and a non-volatile memory (not shown). Examples of volatile memory include random access memory (RAM) or similar. Examples of non-volatile memory include read-only memory (ROM) and flash memory or similar. Data and similar information can be stored, for example, in the volatile memory. A program, a data table, a characteristic map, or similar information can be stored in the non-volatile memory. At least one section of the memory unit 64 can be contained within the processor, integrated circuit, or similar device described above. The memory unit 64 stores a control program 70, the machine processing program 72, a first threshold TH1, and a second threshold TH2.

[0058] The control program 70 is a program that causes the control device 14 to execute the program editing procedure according to the present embodiment. The program editing procedure is described in more detail below.

[0059] The machining program 72 contains the data for the machine tool 10 to perform a predetermined machining operation. More precisely, the machining program 72 includes a variety of control commands for controlling the machining device 12, the coolant supply device 32, and the mist separator 34.

[0060] For example, the machine tool 10, as described above, is equipped with a plurality of motors MO for machining a workpiece by the machining device 12. The machining program 72 comprises a plurality of control commands to cause each motor MO to perform a predetermined operation.

[0061] The numerous control commands for controlling the fog separator 34 include, for example, a start command and a stop command. The start command is a control command to start the fog separator 34. For example, the start command is a command to start the fog separator 34 when a predetermined time has elapsed since the start of machining by the machining device 12. The stop command is a control command to stop the fog separator 34.

[0062] The numerous control commands for controlling the coolant supply device 32 include, for example, a control command to start the coolant supply device 32 (pump 56) and a control command to stop the coolant supply device 32 (pump 56). Like the mist separator 34, the coolant supply device 32 can also be controlled according to the expiration of the machining time or the progress of the machining process.

[0063] The first threshold TH1 is, for example, an upper limit of the fog quantity MA1, at which the fog does not escape from the machine working area 48, even if the fog separator 34 is stopped. The second threshold TH2 is, for example, an upper limit of the accumulation amount MA2, at which the fog does not escape from the machine working area 48, even if the fog separator 34 is stopped. The first threshold TH1 and the second threshold TH2 are predetermined by an operator, for example, based on an experiment. The first threshold TH1 and the second threshold TH2, determined by the operator, are entered into the control device 14, for example, via the operating unit 62. The first threshold TH1 and the second threshold TH2 can be set, for example, based on information from the manufacturer of the machine tool 10.

[0064] The computing unit 66 consists of a processor, including, for example, a CPU (central processing unit), a GPU (graphics processing unit), or similar. More precisely, the computing unit 66 can be formed by a processing circuit.

[0065] The processing unit 66 is equipped with a machine processing control unit 74 and a separator control unit 76. The machine processing control unit 74 and the separator control unit 76 are implemented by the processing unit 66, which executes the control program 70. Furthermore, at least one section of the machine processing control unit 74 and the separator control unit 76 can be implemented by an integrated circuit, such as an ASIC (application-specific integrated circuit), an FPGA (field-programmable gate array), or similar. At least one section of the machine processing control unit 74 and the separator control unit 76 can be formed by an electronic circuit including a discrete device.

[0066] The machining control unit 74 controls the machining device 12 (control device 82) and the coolant supply device 32 based on the machining program 72. Thus, the machining control unit 74 performs a predetermined machining operation based on the machining program 72. For example, the machining control unit 74 issues a command to the control device 82 based on the machining program 72. The control device 82 then controls the multiple motors MO based on the command from the machining control unit 74.

[0067] The separator control unit 76 controls the mist separator 34 based on the machine processing program 72. For example, the separator control unit 76 controls the mist separator 34 based on a start command. The mist separator 34 is then started. The started mist separator 34 collects the mist in the machine processing area 48.

[0068] The calculation unit 66 further comprises a fog quantity acquisition unit 92, a period detection unit 94, a program editing unit 96, a load acquisition unit 98, a temperature acquisition unit 100, a cycle time acquisition unit 102, and a determination unit 104. The load acquisition unit 98, the temperature acquisition unit 100, the cycle time acquisition unit 102, and the determination unit 104 form the program editing device 90. The fog quantity acquisition unit 92, the period detection unit 94, the program editing unit 96, the load acquisition unit 98, the temperature acquisition unit 100, the cycle time acquisition unit 102, and the determination unit 104 are implemented by the calculation unit 66, which executes the control program 70.However, at least one section of the fog quantity acquisition unit 92, the period detection unit 94, the program editing unit 96, the load acquisition unit 98, the temperature acquisition unit 100, the round-trip amount acquisition unit 102 and the determination unit 104 may be configured by the integrated circuit, discrete device or similar described above.

[0069] The fog quantity acquisition unit 92 obtains information specifying the fog quantity MA1. The fog quantity MA1 is the amount of fog collected by the fog separator 34. In other words, the fog quantity MA1 is the amount of fog extracted from the machine processing area 48 and flowing to the fog separator 34. The fog quantity acquisition unit 92 obtains information specifying the fog quantity MA1 based on the detection signal from the first fog sensor 84A. The storage unit 64 can store the information specifying the fog quantity MA1.

[0070] Fig. Figure 4 shows a first diagram depicting the temporal progression of the fog quantity MA1. The vertical axis of Fig. Figure 4 indicates the fog quantity MA1. As described above, the fog quantity MA1 is, for example, the amount of fog detected by the first fog sensor 84A provided in channel 58. The horizontal axis in Fig. 4 indicates the time.

[0071] The fog quantity acquisition unit 92 sequentially acquires information specifying the fog quantity MA1. As a result, for example, the diagram in Fig. 4 achieved. In Fig. Figure 4 represents a time point t1, a time point t2, a time point t3, and a predetermined time period TM. Time point t1 indicates the start time of the machining operation by the machining control unit 74. Time point t2 indicates the end time of the machining operation by the machining control unit 74. Time point t3 is a time point that lies after time point t2 by the predetermined time period TM.

[0072] In Fig. Figure 4 also shows an operating period PEA. The operating period PEA is a period in which the mist separator 34 is controlled based on the machine processing program 72. As in Fig. As shown in Figure 4, the operating period PEA is a period from time t1 to time t3. That is, as shown in Figure 4. Fig. As shown in Figure 4, the fog separator 34 continues to operate for a predetermined time period TM even after the machining operation has been completed by the machining control unit 74. By intentionally continuing to operate the fog separator 34 for the predetermined time period TM, even after the machining control unit 74 has ended the machining operation, it is possible to eliminate insufficient fog recovery.

[0073] The period detection unit 94 detects the first period PE1. The first period PE1 is a period in which the amount of fog MA1 is less than the first threshold TH1 (condition 1-1) and the fog separator 34 is in operation (condition 1-2).

[0074] The period recording unit 94 records the first period PE1 based on the operating status of the fog separator 34, the fog quantity MA1, and the first threshold value TH1. The operating status of the fog separator 34 indicates whether it is in operation or stopped. The period recording unit 94 can determine the operating status of the fog separator 34, for example, based on a history of the control actions performed by the separator control unit 76. This history of the control actions performed by the separator control unit 76 is stored, for example, in the storage unit 64.

[0075] In the Fig. In the example shown, two initial periods PE1 are recorded. To differentiate between them, in Fig. 4 and the description below, one of the first two periods PE1 is also referred to as the first period PE11. Conversely, the other of the first two periods PE1 is also referred to as the first period PE12.

[0076] Storage unit 64 can store information specifying the recorded first period PE1. Information specifying the operating period PEA can also be stored in storage unit 64.

[0077] The program editing unit 96 automatically edits the machine processing program 72 based on the recorded first period PE1. More precisely, the program editing unit 96 automatically edits the machine processing program 72 such that the fog separator 34 does not operate in a period corresponding to the first period PE1 within the period from time t1 to time t3.

[0078] The machine processing program 72 obtained by editing with the program editing unit 96 is also referred to as program after editing 72B. Conversely, the machine processing program 72 before editing with the program editing unit 96 is also referred to as program before editing 72A.

[0079] Fig. Figure 5 shows a second diagram, which illustrates the temporal progression of the fog quantity MA1. As described above, the fog quantity MA1 is, for example, the fog quantity detected by the first fog sensor 84A provided in channel 58. The format of this diagram is similar to that of the one in Figure 5. Fig. 4 diagrams shown.

[0080] If the program is executed after editing 72B, for example, the following will be done: Fig. The diagram shown in section 5 was obtained. Fig. Figure 5 represents a time point ta, a time point tb, and an operating period PEB. The time point ta in Fig. 5 corresponds to time ta in Fig. 4. The time ta in Fig. Time 4 is the point in time at which the amount of fog MA1, which was less than the first threshold TH1, has risen to the first threshold TH1. Time tb in Fig. 5 corresponds to time tb in Fig. 4. The time tb in Fig. 4 is the point in time at which the amount of fog MA1, which was greater than the first threshold TH1, falls back to the first threshold TH1. The operating period PEB specifies a period in which the fog separator 34 is controlled based on the program after editing 72B.

[0081] The operating period PEB is the period from time ta to time tb. The period between time ta and time tb is a portion of the period between time t1 and time t3. Therefore, the operating period PEB is shorter than the operating period PEA. By shortening the operating period of the fog separator 34, the power consumption of the fog separator 34 is reduced. By reducing the power consumption of the fog separator 34, the power consumption of the machine tool 10 is also reduced.

[0082] The period between time t1 and time t3, which differs from the operating period PEB, is a period in which the mist separator 34 is not in operation. The risk of mist escaping outside the machine processing area 48 during the period in which the mist separator 34 is not in operation decreases with the reduction of the first threshold value TH1.

[0083] As described above, the period detection unit 94 can detect a multitude of first periods PE1. However, it is preferable that each of the first periods PE1 be a period lasting a predetermined period or longer. That is, even if the period is one in which the fog separator 34 operates in a state where the fog quantity MA1 is less than the first threshold TH1, it is preferable that the period not be treated as a first period PE1 if the period is short. This reduces the frequency of switching the fog separator 34 on and off. Consequently, the control overhead of the machine tool 10 is reduced.

[0084] The load acquisition unit 98 obtains information indicating the load of at least one predetermined motor MO from a plurality of motors MO. The load acquisition unit 98 obtains load information indicating the load of motor MO based on a detection signal output by the load sensor corresponding to the load of motor MO. The load of motor MO is, for example, the current consumption of motor MO. Therefore, the load acquisition unit 98 can obtain information indicating the current consumption of at least one predetermined motor MO from a plurality of motors MO as information indicating the load.

[0085] The current consumption of each of the multiple motors MO is set by the control device 82 based on the sensing signal from the encoder EN, which is provided in each motor MO. In this case, the load acquisition unit 98 can obtain information from the control device 82 indicating the current consumption of each of the motors MO. Each encoder EN used to set the current consumption acts as a load sensor.

[0086] The load acquisition unit 98 acquires the load information sequentially during a period (from time t1 to time t2) in which the machine processing control unit 74 performs a machining operation. The storage unit 64 stores the load information acquired sequentially by the load acquisition unit 98 cumulatively.

[0087] The temperature acquisition unit 100 acquires information indicating the temperature in the machine processing area 48, based on the detection signal from the temperature sensor 86. The temperature acquisition unit 100 sequentially acquires information indicating the temperature during a period (from time t1 to time t2) in which the machine processing control unit 74 performs machining operations. The storage unit 64 cumulatively stores the information indicating the temperatures acquired by the temperature acquisition unit 100.

[0088] The runout acquisition unit 102 obtains information indicating the runout of the spindle 18 based on the detection signal from the runout sensor 88. The runout acquisition unit 102 sequentially obtains information indicating the runout during a period (from time t1 to time t2) in which the machining control unit 74 performs machining operations. The storage unit 64 cumulatively stores the information indicating the runout.

[0089] The determination unit 104 determines whether a predetermined condition is met during machine processing after the program editing unit 96 has edited the machine processing program 72. The determination unit 104 determines that the predetermined condition is met if at least one of the conditions 2-1 to 2-4, described below in this order, is met.

[0090] Condition 2-1 consists of the second load LO2 being greater than the first load LO1. Preferably, condition 2-1 is further supplemented by the condition that the difference between the first load LO1 and the second load LO2 is greater than or equal to a predetermined value.

[0091] The first load LO1 is a load in the machining process based on the program before editing 72A. The second load LO2 is a load in the machining process based on the program after editing 72B. Both the first load LO1 and the second load LO2 can be loads in a predetermined period (a predetermined process) of the machining period, which is a period during which machining is performed. As described above, the load is a load (current consumption) of at least one predetermined motor MO from a plurality of motors MO provided in the machine tool 10. To determine whether condition 2-1 is met or not, the determining unit 104 compares, for example, the maximum value of the first load LO1 and the maximum value of the second load LO2.The maximum value of the load of the motor MO is the instantaneous maximum current consumption (maximum electrical current) of the motor MO.

[0092] By adding the condition that the difference between the first load LO1 and the second load LO2 is greater than or equal to a predetermined value to condition 2-1, the error between the first load LO1 and the second load LO2 is allowed. Allowing this error prevents condition 2-1 from being determined to be satisfied even though the first load LO1 and the second load LO2 are not very different.

[0093] Condition 2-2 states that a second temperature change dT2 is greater than a first temperature change dT1. It is preferable to supplement condition 2-2 with the condition that the difference between the first temperature change dT1 and the second temperature change dT2 is greater than or equal to a predetermined value.

[0094] The first temperature change amount dT1 is the amount of temperature change in the machining area 48 during machining based on the program before editing 72A. The second temperature change amount dT2 is the amount of temperature change in the machining area 48 during machining based on the program after editing 72B. Both the first temperature change amount dT1 and the second temperature change amount dT2 can be a change in temperature in the machining area 48 during a predetermined period (a predetermined process) of the machining period, which is the period during which the machining is performed.

[0095] By adding the condition that the difference between the first temperature change dT1 and the second temperature change dT2 is greater than or equal to a predetermined value to condition 2-2, the error between the first temperature change dT1 and the second temperature change dT2 is allowed. Allowing this error prevents condition 2-2 from being determined to be satisfied even if the first temperature change dT1 and the second temperature change dT2 are not very different.

[0096] Condition 2-3 stipulates that a second round-robin amount RA2 is greater than a first round-robin amount RA1. It is preferable to supplement condition 2-3 with a condition that the difference between the first round-robin amount RA1 and the second round-robin amount RA2 is greater than or equal to a predetermined value.

[0097] The first runout value RA1 is the runout value of spindle 18 when machining is performed based on the program before editing 72A. The second runout value RA2 is the runout value of spindle 18 when machining is performed based on the program after editing 72B. Both the first runout value RA1 and the second runout value RA2 can be a runout value of spindle 18 within a predetermined period (a predetermined process) of a machining period during which the machining is performed. To determine whether condition 2-3 is met or not, the determining unit 104 compares, for example, the maximum value of the first runout value RA1 and the maximum value of the second runout value RA2.

[0098] By adding the condition that the difference between the first run amount RA1 and the second run amount RA2 is greater than or equal to a predetermined value, to condition 2-3, the error between the first run amount RA1 and the second run amount RA2 is allowed. Allowing this error prevents condition 2-3 from being determined to be satisfied even if the first run amount RA1 and the second run amount RA2 are not very different.

[0099] Condition 2-4 stipulates that a second period PE2 (PE22), when machining is performed based on the program after editing 72B, is longer than a second period PE2 (PE21), when machining is performed based on the program before editing 72A. It is preferable to supplement condition 2-4 with a condition that the difference between the second period PE21, when machining is performed based on the program before editing 72A, and the second period PE22, when machining is performed based on the program after editing 72B, is greater than or equal to a predetermined value.

[0100] The second period PE2 is a period in which the accumulation amount MA2 during machining is greater than or equal to the second threshold TH2. The second period PE2 is detected by the period detection unit 94 based on the accumulation amount MA2 and the second threshold TH2. The accumulation amount MA2, which is used by the period detection unit 94 to detect the second period PE2, is detected by the fog quantity detection unit 92 based on the detection signal from the second fog sensor 84B. The second period PE2 can comprise at least part of the period between time t2 (see...). Fig. 4) and the time t3 (see Fig. 4) include.

[0101] Fig. Figure 6 shows a first diagram describing the time course of the accumulation amount MA2. The vertical axis of Fig. Figure 6 indicates the accumulation amount MA2. As described above, the accumulation amount MA2 is the amount of mist that has accumulated in the machine processing area 48. The horizontal axis in Fig. 6 indicates the time.

[0102] The second period PE21 is a period in which the accumulation amount MA2 is greater than or equal to the second threshold TH2 when machining is performed on the basis of the program before editing 72A. Fig. Figure 6 shows the time course of the accumulation amount MA2 and the second period PE21 for the case in which the program is used before editing 72A. As in Fig. As shown in Figure 6, the accumulation amount MA2 increases after the start of machining. This is because mist forms in the machining area 48 during the machining of the workpiece. Similarly, as in Fig. Figure 6 shows the accumulation amount MA2 after time t1. This is because the fog separator 34 begins to collect the fog in the machine processing area 48 at time t1.

[0103] The in Fig. The accumulation amount MA2 shown in Figure 6 begins to rise immediately after the start of machining and reaches the second threshold TH2 at a time before time t1. However, depending on the program content before edit 72A, the accumulation amount MA2 only exceeds the second threshold TH2 once the machining is complete (see also the exemplary modification example described below). Fig. 15). In this case, the length of the second period PE21 is zero.

[0104] Fig. Figure 7 shows a second chart depicting the time course of the accumulation amount MA2. This chart has a similar format to the one in Fig. Diagram 6 shown.

[0105] The second period PE22 is a period in which the accumulation amount MA2 is greater than or equal to the second threshold TH2 when machining is performed on the basis of the program after editing 72B. Fig. Figure 7 shows the time course of the accumulation amount MA2 and the second period PE22 for the case in which the program is used after editing 72B. The accumulation amount MA2 in Fig. 7 increases after the start of machining, as in Fig. 6. This is because, during the machining of the workpiece in the machining area, 48 fog is generated. As in Fig. As can be seen in Figure 7, the accumulation amount MA2 also increases in the period between time t1 and time ta. The reason for this is that the fog separator 34 is not in operation between time t1 and time ta because the machine processing program 72 was being edited. As shown in Figure 7. Fig. As shown in Figure 7, the accumulation amount MA2 decreases after time ta.

[0106] By adding the condition that the difference between the second period PE21 and the second period PE22 is greater than or equal to a predetermined value, to condition 2-4, the error between the second period PE21 and the second period PE22 is allowed. By allowing the error between the second period PE21 and the second period PE22, it is possible to prevent determining that condition 2-4 is satisfied, even if the second periods PE21 and PE22 are not very different.

[0107] It is preferable if the second period PE2 is a period that lasts for a predetermined time period or longer. That is, even if the accumulation amount MA2 is greater than or equal to the second threshold TH2, it is preferable not to treat the period as a second period PE2 if the period is short.

[0108] If at least one of conditions 2-1 to 2-4 is met, the program editing unit 96 restores the machine processing program 72 to its state before editing. That is, if the determination unit 104 determines that the predetermined condition is met, the program editing unit 96 restores the machine processing program 72 used in the machine processing from the post-editing program 72B to the pre-editing program 72A.

[0109] The reason why the machining program 72 used in machining is restored from the program after editing 72B to the program before editing 72A when the predetermined condition is met is as follows.

[0110] During machining, the air in the machining area 48 is heated by the heat generated during the machining process. The heated air in the machining area 48, along with the mist, is then discharged to the outside of the machining area 48 by the operation of the mist separator 34. The mist separator 34 therefore not only collects the mist but also serves to ventilate the machining area 48.

[0111] The program editing unit 96 edits the machine processing program 72 and thereby shortens the operating period of the fog separator 34. When the operating period of the fog separator 34 is shortened, the power consumption of the fog separator 34 is reduced as described above, but the heat tends to be trapped in the machine processing area 48.

[0112] The heat in the machining area 48 causes the articles and equipment located in the machining device 12 to expand thermally. For example, the heat in the machining area 48 causes the workpiece, the tool 16, and the like to expand thermally. The thermal expansion of the workpiece, the tool 16, and the like causes the material removal rate of the tool 16 from the workpiece to vary. The power consumption of the multiple motors MO provided in the machining device 12 varies with the way in which the tool 16 removes material from the workpiece.Due to the variation in power consumption of the multiple motors MO, the power consumption of machine tool 10 during machining based on program 72B may be greater than the power consumption of machine tool 10 during machining based on program 72A. Furthermore, the machine's accuracy varies due to the thermal expansion of the workpiece, tool 16, and other factors.

[0113] If the conditions 2-1, 2-2 and the like described above are met, there is a higher probability that the power consumption of the machine tool 10 can be reduced more by machining using the program before editing 72A than by machining using the program after editing 72B. In the present embodiment, therefore, if conditions 2-1, 2-2 and the like are met, the machining program 72 used for machining is restored from the program after editing 72B to the program before editing 72A.

[0114] The variation in cutting resistance also affects the concentricity of the spindle 18. Therefore, in the present embodiment, even if the above-described condition 2-3 is met, the machining program 72 used during machining is also restored from the program after editing 72B to the program before editing 72A.

[0115] If the fog accumulates in the machining area 48, it is also more likely that heat will be trapped in the machining area 48 compared to the case where the fog is not present in the machining area 48. As the accumulation amount MA2 increases, so does the risk of the fog escaping from the machining area 48. For this reason, in the present embodiment, even if condition 2-4 is met, the program after editing 72B is restored to the program before editing 72A.

[0116] Fig. Figure 8 shows a flowchart illustrating a program editing procedure according to the exemplary embodiment.

[0117] The program editing device 90 can, for example, be used to edit the program in Fig. The program editing procedure shown in Figure 8 is performed. The program editing procedure comprises a fog quantity acquisition step S1, a first accumulation amount acquisition step S2, a first load acquisition step S3, a first temperature change acquisition step S4, and a first round-trip amount acquisition step S5. The program editing procedure also includes a first period acquisition step S6, a first accumulation period acquisition step S7, and a program editing step S8. The execution order of the steps from fog quantity acquisition step S1 to the first accumulation period acquisition step S7 can be changed as needed. However, the first period acquisition step S6 is executed after fog quantity acquisition step S1. The first accumulation period acquisition step S7 is executed after the first accumulation amount acquisition step S2.

[0118] In fog quantity acquisition step S1, the fog quantity acquisition unit 92 acquires the fog quantity MA1 based on the detection signal of the first fog sensor 84A. The fog quantity acquisition unit 92 acquires the fog quantity MA1 in the operating period PEA based on the pre-edit program 72A.

[0119] In the first accumulation amount acquisition step S2, the fog quantity acquisition unit 92 acquires the accumulation amount MA2 based on the detection signal of the second fog sensor 84B. The fog quantity acquisition unit 92 acquires the accumulation amount MA2 in the period from time t1 to time t3 when the fog separator 34 is controlled based on the program before editing 72A.

[0120] In the first load acquisition step S3, the load acquisition unit 98 acquires at least one load (first load LO1) from the plurality of motors MO. As described above, the load is, for example, the current consumption of motor MO.

[0121] In the first temperature change acquisition step S4, the temperature acquisition unit 100 acquires the amount of the temperature change (first temperature change amount dT1) in the machine processing area 48 on the basis of the detection signal of the temperature sensor 86.

[0122] In the first runout amount acquisition step S5, the runout amount acquisition unit 102 obtains the runout amount (first runout amount RA1) of the spindle 18 on the basis of the detection signal of the runout amount sensor 88.

[0123] In the first period detection step S6, the period detection unit 94 detects the first period PE1 based on the amount of fog MA1 obtained in the fog quantity acquisition step S1.

[0124] In the first accumulation period recording step S7, the period recording unit 94 records the second period PE21 on the basis of the accumulation amount MA2 obtained in the first accumulation amount acquisition step S2.

[0125] In program editing step S8, the program editing unit 96 automatically edits the program before editing 72A based on the first period PE1. The program editing unit 96 edits the program before editing 72A such that the fog separator 34 does not operate in a state where the fog quantity MA1 is less than the first threshold value TH1. In this way, the program editing unit 96 creates the program after editing 72B.

[0126] The Fig. The program editing procedure shown in Figure 8 also includes a second accumulation amount acquisition step S9, a second load acquisition step S10, a second temperature change acquisition step S11, a second runtime amount acquisition step S12, and a second accumulation period (second dwell time) acquisition step S13. The program editing procedure also includes a determination step S14 and a recovery step S15.

[0127] In the second accumulation amount acquisition step S9, the fog quantity acquisition unit 92 acquires the accumulation amount MA2 based on the detection signal of the second fog sensor 84B. The fog quantity acquisition unit 92 acquires the accumulation amount MA2 during the period from time t1 to time t3 when the fog separator 34 is controlled based on the program after editing 72B.

[0128] In the second load acquisition step S10, the load acquisition unit 98 acquires at least one load (second load LO2) of the multitude of motors MO.

[0129] In the second temperature change acquisition step S11, the temperature acquisition unit 100 obtains the amount of the temperature change (second temperature change amount dT2) in the machine processing area 48 on the basis of the detection signal of the temperature sensor 86.

[0130] In the second runout amount acquisition step S12, the runout amount acquisition unit 102 obtains the runout amount (second runout amount RA2) of the spindle 18 on the basis of the detection signal of the runout amount sensor 88.

[0131] In the second accumulation period recording step S13, the period recording unit 94 records the second period PE22 on the basis of the accumulation amount MA2 obtained in the second accumulation amount acquisition step S9.

[0132] Fig. Figure 9 shows a flowchart illustrating the determination step S14.

[0133] In determination step S14, the determination unit 104 determines whether the predetermined condition is met or not. Determination step S14 comprises a load determination step S141, a temperature change determination step S142, a RPM determination step S143, and an accumulation period determination step S144. The sequence of load determination step S141, temperature change determination step S142, RPM determination step S143, and accumulation period determination step S144 is not specified.

[0134] In load determination step S141, the determination unit 104 determines whether the second load LO2 is greater than the first load LO1 or not.

[0135] In the temperature change determination step S142, the determination unit 104 determines whether the second temperature change amount dT2 is greater than the first temperature change amount dT1 or not.

[0136] In the round-robin amount determination step S143, the determination unit 104 determines whether the second round-robin amount RA2 is greater than the first round-robin amount RA1 or not.

[0137] In the accumulation period determination step S144, the determination unit 104 determines whether the second period PE22, which is based on the program after editing 72B, is longer than the second period PE21, which is based on the program before editing 72A, or not.

[0138] If the determination results in load determination step S141, temperature change determination step S142, run-on time determination step S143, and accumulation period determination step S144 are all NO, the determination unit 104 determines that the predetermined condition is not met (S14: NO). In this case, the program editing device 90 terminates the program editing procedure.

[0139] If the determination result in at least one of the load determination step S141, the temperature change determination step S142, the run-around amount determination step S143 and the accumulation period determination step S144 is YES, the determination unit 104 determines that the predetermined condition is met (S14 in Fig. 8: YES). In this case, after the determination step S14, the program editing unit 96 starts the recovery step S15.

[0140] In recovery step S15, the program editing unit 96 restores the program after edit 72B to the program before edit 72A. When recovery step S15 is complete, the program editing device 90 terminates the program editing procedure.

[0141] According to the present embodiment, the program editing unit 96 edits the program before edit 72A in such a way that the power consumption of the fog separator 34 is reduced. This results in the program after edit 72B. By using the program after edit 72B, the control device 14 can reduce the power consumption of the fog separator 34.

[0142] However, it may occur that the power consumption of the entire machine tool 10 cannot be reduced, even though the program after editing 72B is used. In the present embodiment, if one of conditions 2-1 to 2-4 is met, the program editing unit 96 restores the program after editing 72B to the program before editing 72A. In this way, the power consumption of the entire machine tool 10 can be reduced. [Example modifications]

[0143] Exemplary modifications of the embodiment described above are described below. However, any descriptions that overlap with or repeat those of the embodiment described above are appropriately omitted in the following description. Unless otherwise specified, the same reference numerals are used for elements already described in the embodiment described above. (Example modification 1)

[0144] Fig. Figure 10 shows a schematic representation of a machine tool 10 (10A) according to an exemplary modification 1.

[0145] The machine tool 10A also includes a subordinate control device 78.

[0146] The subordinate control device 78 is a computer that is separate from the control device 14. The subordinate control device 78 is equipped, for example, with a processor and memory. Likewise, the subordinate control device 78 can be equipped with an integrated circuit, a discrete device, or the like.

[0147] When the control device 14 is stopped, the downstream control device 78 controls the fog separator 34 instead of the separator control unit 76. Therefore, even when the control device 14 is stopped, the fog separator 34 is controlled by the downstream control device 78 in the same way as in the exemplary embodiment.

[0148] For example, if the main power supply to the control device 14 is switched off before the separator control unit 76 causes the fog separator 34 to stop, the downstream control device 78 can stop the fog separator 34 instead of the control device 14.

[0149] Furthermore, it is preferable if the downstream control device 78 and the control device 14 can communicate with each other and exchange the data required for controlling the mist separator 34. For example, the downstream control device 78 informs the control device 14 of the progress of the machining process. According to these features, the downstream control device 78 is able to seamlessly take over the control previously performed by the separator control unit 76. In accordance with the present exemplary modification, the downstream control device 78 can also continue controlling the mist separator 34 even after the control device 14 has stopped. (Exemplary modification 2)

[0150] Fig. Figure 11 shows a block diagram of a control device 14 (14B) according to an exemplary modification 2.

[0151] The control device 14B also includes an emergency power supply unit 68.

[0152] The backup power supply unit 68 is a power supply that differs from the main power supply of the control device 14B. The backup power supply unit 68 includes, for example, a battery. The backup power supply unit 68 is integrated into the control device 14B. However, the backup power supply unit 68 can also be provided in the machine tool 10 as an external power supply for the control device 14B. The main power supply of the control device 14B is not shown.

[0153] If the main power supply to the control device 14B is switched off while the fog separator 34 is in operation, the backup power supply unit 68 supplies power to the individual components of the control device 14B. This feature allows the separator control unit 76 to continue controlling the fog separator 34 even after the main power supply is switched off.

[0154] For example, the main power supply to the control device 14B can be switched off before the separator control unit 76 stops the fog separator 34. In such a case, the separator control unit 76 can automatically stop the fog separator 34 even if the main power supply to the control device 14B is switched off, by drawing power from the backup power supply unit 68. In this way, the excessive power consumption of the fog separator 34 is reduced. (Example modification 3)

[0155] Fig. Figure 12 shows a block diagram of a control device 14 (14C) according to an exemplary modification 3.

[0156] The control device 14C is also equipped with an alarm output unit 80.

[0157] The alarm output unit 80 issues an alarm when an anomaly occurs in the machine tool 10. The machine tool 10 is equipped, for example, with sensors (not shown) suitable for detecting malfunctions or faults in the respective components, such as the spindle 18, the spindle head 20, the table drive unit 28, etc. Based on the signals output by the sensors, the alarm output unit 80 determines whether or not a fault exists in the machine tool 10. If a fault is detected in one of the respective components of the machine tool 10, the alarm output unit 80 notifies the operator that the fault has occurred, for example, via the display unit 60.

[0158] If the alarm output unit 80 issues an alarm before the start of machining, the machining control unit 74 will not start machining until the cause of the alarm has been eliminated. If the alarm output unit 80 issues an alarm after the start of machining, the machining control unit 74 will interrupt machining based on the machining program 72 until the cause of the alarm has been eliminated.

[0159] In the event that the alarm output unit 80 issues an alarm, the separator control unit 76 prohibits the operation of the fog separator 34 until the cause of the alarm has been eliminated, regardless of the content of the machine processing program 72. In the event that the fog separator 34 is in operation at the time the alarm is issued, the separator control unit 76 causes the fog separator 34 to be stopped, regardless of the content of the machine processing program 72.

[0160] According to the present exemplary modification, in the event of an anomaly in the machine tool 10, the mist separator 34 is prevented from operating. (Exemplary modification 4)

[0161] Fig. Figure 13 shows a block diagram of a program editing device 90 (90D) according to a fourth modification.

[0162] The program editing device 90D also includes a communication control unit 106.

[0163] In the event that the program editing unit 96 edits the program before editing 72A, the communication control unit 106 communicates with another machine tool 10 and transfers the content edited by the program editing unit 96 to the other machine tool.

[0164] For example, the storage unit 64 of each of the plurality of machine tools 10 stores the program before editing 72A. At least one of the plurality of machine tools 10 is equipped with a program editing device 90D. In the machine tool 10 equipped with the program editing device 90D, the program is edited before editing 72A. In such a case, the communication control unit 106 transmits the program after editing 72B to another machine tool 10. It may occur that there are a plurality of machine tools 10 that can receive the program after editing 72B. In this case, it is preferable for the communication control unit 106 to transmit the program after editing 72B to all machine tools 10 that can receive the program after editing 72B.

[0165] According to the present modification, the program after editing 72B can be used not only by the machine tool 10 equipped with the program editing device 90D, but also by a machine tool 10 that is different from machine tool 10. Likewise, the power consumption of the machine tool 10 that is not equipped with the program editing device 90D can be reduced. (Exemplary modification 5)

[0166] Fig. Figure 14 shows a flowchart illustrating a program editing procedure according to an exemplary modification 5.

[0167] The determination step S14 of Fig. 14 includes at least one accumulation period determination step S144. The program editing procedure of Fig. Step 14 also includes a program re-edit step S16. The program re-edit step S16 is started after the recovery step S15.

[0168] In the program re-edit step S16, the program editing unit 96 edits the program before editing 72A in such a way that the fog separator 34 does not work in the first period PE1.

[0169] However, the program editing unit 96 edits the program before editing 72A such that the fog separator 34 operates in the second period PE22. If there is an overlap period between the first period PE1 and the second period PE22, the program editing unit 96 edits the program before editing 72A such that the fog separator 34 operates in the overlap period.

[0170] For example, the program editing unit 96 edits the program before editing 72A, as shown below with reference to Fig. 15 and Fig. 16 described.

[0171] Fig. Figure 15 shows a third diagram, which shows the time course of the accumulation amount MA2. Fig. Figure 16 shows a fourth diagram, which illustrates the time course of the accumulation amount MA2. The format of each of the diagrams in the Fig. 15 and Fig. The diagrams shown in 16 resemble the format of the one in Fig. 6 shown in the diagram.

[0172] Fig. Section 15 describes the transition of the accumulation amount MA2 in the case where the program is used before editing 72A. Although part of the accumulation amount MA2 in Fig. Since 15 has been omitted, the accumulation amount MA2 does not exceed the second threshold TH2 in the period from the start time (origin) of the machine processing until time t3. Fig. Figure 16, on the other hand, shows the transition of the accumulation amount MA2 for the case in which the program is used after editing 72B. The program after editing 72B of Fig. 16 is edited by the program editing unit 96 by editing the program before editing 72A of Fig. 15 created.

[0173] The accumulation amount MA2 in Fig. 16 reaches the second threshold TH2 at a time tc between time t1 and time ta. The accumulation amount MA2 in Fig. 16 becomes less than the second threshold TH2 at a time td after time ta. In this case, the second period PE22 is according to Fig. 16 a period between time tc and time td.

[0174] In this case, the determination unit 104 determines that the length of the second period PE22 is greater than the length (zero) of the second period PE21. The program editing unit 96 edits the machine processing program 72 such that the fog separator 34 operates not only during the operating period PEB, but also during the period from time tc to time ta.

[0175] In this case, a machine processing program 72 is obtained in which the fog separator 34 is operated for a period from time tc to time t3. The period between time tc and time t3 is shorter than the operating period PEA. Therefore, if the machine processing program 72 obtained in the program re-edit step S16 is used, the power consumption of the fog separator 34 can be reduced more than if the program before editing 72A is used. Furthermore, it can be prevented that the accumulation amount MA2 exceeds the second threshold TH2.

[0176] As described above, the machine processing program 72, according to the present modification, can not only reduce the power consumption of the fog separator 34, but also the accumulation amount MA2 in order not to exceed the second threshold TH2.

[0177] In program re-edit step S16, the program editing unit 96 can set the time at which the fog separator 34 is started to a time a predetermined time period before time tc. This reduces the risk of the accumulation amount MA2 reaching the second threshold TH2. In this case, the predetermined time period is determined, for example, within a time difference between time t1 and time tc.

[0178] Some steps belonging to determination step S14 are shown in the flowchart of Fig. 14 is omitted. More precisely, the load determination step S141 to the runout amount determination step S143 are omitted from the flowchart of Fig. 14 is not included. However, the program editing procedure of the present modification can include at least one step from load determination step S141 to runtime amount determination step S143. In this case, the program editing procedure of the present modification also includes, as needed, the first load acquisition step S3 to the first runtime amount acquisition step S5 and the second load acquisition step S10 to the second runtime amount acquisition step S12. But even if at least one of the determination results from load determination step S141 to runtime amount determination step S143 is YES, the accumulation period determination step S144 is performed. (Combination of a variety of exemplary modifications)

[0179] The numerous exemplary modifications described above can be combined at will within a range where there are no contradictions. [Modified embodiments]

[0180] It should be noted that the present invention is not limited to the disclosure described above, and that various alternative or additional configurations can be used without deviating from the essence and core of the present invention.

[0181] According to the exemplary embodiment, the first fog sensor 84A is provided, for example, in the channel 58, but the present invention is not limited to this configuration. The first fog sensor 84A can be provided at a fog inlet of the fog separator 34 (a connecting section between the fog separator 34 and the channel 58).

[0182] Furthermore, the first fog sensor 84A can, for example, be installed in the machine processing area 48. In this case, the first fog sensor 84A can also function as the second fog sensor 84B.

[0183] Furthermore, at least part of the actuating device 82 can be housed in the control device 14.

[0184] For example, the start command included in the machining program 72 can be a command to start the mist separator 34 when the machining progress reaches a predetermined step. The stop command included in the machining program 72 can be a command to start the mist separator 34 when the machining progress reaches a predetermined step.

[0185] For example, the load detection unit 98 can calculate the amount of electricity consumption of at least one of the multiple motors MO. In this case, at least one of the multiple sensors EN can send a detection signal not only to the control device 82, but also to the control device 14.

[0186] According to the embodiment, the period detection unit 94 obtains the operating state of the mist separator 34 from the separator control unit 76 in order to detect the first period PE1. However, the period detection unit 94 can also detect the operating period PEA in advance based on the machine processing program 72. In this case, the period detection unit 94 can further detect the first period PE1 based on the detected operating period PEA.

[0187] For example, a period (from time t2 to time t3 in Fig. 4), in which the mist separator 34 collects the mist after completion of machine processing, are excluded from the detection range of the first period PE1. For example, the period detection unit 94 does not necessarily have to be the one in Fig.The first period PE12, as shown in Figure 4, is recorded. Accordingly, the fog separator 34 is reliably operated during the period between time t2 and time t3. This reliably prevents insufficient fog recovery after completion of machining. For the same reason, the program editing unit 96 can exclude the period in which the fog separator 34 collects the fog after completion of machining from an editing target, regardless of the result of the recording by the period recording unit 94.

[0188] According to the embodiment, the determining unit 104 compares the maximum value of the first load LO1 with the maximum value of the second load LO2 to determine whether condition 2-1 is met. However, the method for determining whether condition 2-1 is met is not limited to comparing the maximum value of the first load LO1 with the maximum value of the second load LO2. For example, the determining unit 104 can also compare the average value of the first load LO1 with the average value of the second load LO2 to determine whether condition 2-1 is met. The average value of the load of the motors MO is the average current consumption of the motors MO.

[0189] According to the embodiment, the determining unit 104 compares the maximum value of the first round-trip amount RA1 with the maximum value of the second round-trip amount RA2 to determine whether condition 2-3 is met or not. However, the method for determining whether condition 2-3 is met or not is not limited to comparing the maximum value of the first round-trip amount RA1 with the maximum value of the second round-trip amount RA2. For example, the determining unit 104 can compare the average value of the first round-trip amount RA1 with the average value of the second round-trip amount RA2 to determine whether condition 2-3 is met or not.

[0190] At least one of the multiple MO motors can be equipped with a torque sensor. The torque sensor outputs a detection signal corresponding to the output torque of the respective MO motor. The load acquisition unit 98 can acquire the output torque of the MO motor as the load of the MO motor. In this case, the torque sensor functions as a load sensor.

[0191] At least one of the numerous MO motors can be equipped with a current sensor. The current sensor outputs a detection signal corresponding to the drive current of the respective MO motor. The load acquisition unit 98 can acquire the drive current of the MO motor as the load of the MO motor. In this case, the current sensor functions as a load sensor.

[0192] At least one of the load acquisition unit 98, the temperature acquisition unit 100, and the runout acquisition unit 102 can be omitted in the program editing device 90. In this case, the determination unit 104 determines, based on the load (electrical current consumption) of the motor MO, the temperature in the machining area 48, and the runout of the spindle 18, whether the predetermined condition is met or not.

[0193] The determination unit 104 can be omitted in the program editing device 90. In this case, not only the determination unit 104, but also the load acquisition unit 98, the temperature acquisition unit 100, and the runout acquisition unit 102 can be omitted in the program editing device 90.

[0194] The method for ejecting the coolant is not limited to the exemplary embodiment. For example, the coolant can also be ejected in a continuous flow process. In this case, the coolant supply device 32 delivers the coolant to the spindle 18. Alternatively, the coolant can flow along the inner wall of the cover 30 (the machining area 48).

[0195] The machining device 12 can, for example, be equipped with a coolant recovery element (not shown) that falls from the table 26. Such an element is, for example, an oil pan located on the base 24. A portion of the coolant supplied to the machining area 48 falls from the table 26 without turning into mist. According to the present exemplary modification, it is possible to collect the coolant that has fallen from the table 26. The collected coolant can be returned to the coolant tank 50. This allows the coolant supply device 32 to reuse the collected coolant. In this case, it is preferable to arrange a filter device (a filter) between the recovery element and the coolant tank 50.In this way, clean coolant can be returned to the coolant tank 50.

[0196] According to the exemplary embodiment, each of the plurality of motors MO is a rotary motor, but the present invention is not limited thereto. At least one motor MO can be a linear motor. For example, at least one of the column motor 25, the X-axis motor 47X, and the Y-axis motor 47Y can be a linear motor. In the case where the column motor 25 is a linear motor, the encoder 27 is a linear encoder. If the X-axis motor 47X is a linear motor, the encoder 27X is a linear encoder. If the Y-axis motor 47Y is a linear motor, the encoder 27Y is a linear encoder.

[0197] The communication control unit 106 can transmit the program after editing 72B to at least one of the multitude of machine tools 10 that are capable of receiving the program after editing 72B. In other words, the communication control unit 106 does not have to transmit the program after editing 72B to all of the multitude of machine tools 10 that are capable of receiving the program after editing 72B.

[0198] The communication control unit 106 can be housed in an electronic device separate from the program editing device 90D. This separate electronic device could, for example, be a communication control unit that can be externally connected to the program editing device 90. When the communication control unit is externally connected to the program editing device 90, the program editing device 90 is equipped with the functionality of the communication control unit 106.

[0199] The program editing unit 96, according to exemplary modification 5, can edit the program after edit 72B based on the second period PE22. In this case, the program editing unit 96 edits the program after edit 72B such that the fog separator 34 operates in the second period PE22. In this case, the recovery step S15 is omitted. [Invention that can be seen from the disclosure]

[0200] The invention, which can be seen from the disclosure described above, is described below. <Erste Ausgestaltung der Erfindung>

[0201] A first embodiment of the invention is the program editing device (90) which edits the machining program (72) configured to control the operation of the fog separator (34) of the machine tool (10), wherein the machine tool comprises the machining device (12) configured to machine the workpiece, and the fog separator configured to collect the fog present in the machining area (48) of the machining device, wherein the program editing device comprises the fog quantity acquisition unit (92) configured to obtain the quantity (MA1) of fog collected by the fog separator based on the detection signal of the first fog sensor (84A), and the period detection unit (94) configured to detect the first period (PE1) in which the fog separator operates in the statein which the amount of fog is less than the first threshold (TH1), and includes the program editing unit (96) which is configured to automatically edit the machine processing program so that the fog separator does not operate during the first period.

[0202] In this way, the power consumption of the machine tool, which is equipped with the machining device and the mist separator, can be reduced.

[0203] In the program editing device, the fog quantity acquisition unit can obtain the fog quantity based on the detection signal of the first fog sensor arranged in the channel (58).

[0204] In the program editing device, the machining program can include the content for the machine tool to perform a predetermined machining operation, and the machine tool can perform the predetermined machining operation based on the machining program. The program editing device can further include the determination unit (104) which is configured to determine whether the predetermined condition is met in the predetermined machining operation performed after the machining program has been edited by the program editing unit. In the event that the predetermined condition is met in the predetermined machining operation performed after the machining program has been edited by the program editing unit, the program editing device can reset the machining program to a state prior to the editing.

[0205] In the program editing device, the machine tool can include the plurality of motors (MO) configured to be used for machining; the program editing device can further include the load acquisition unit (98) configured to acquire the load of at least one predetermined motor based on the detection signal of the load sensor (EN); and the determination unit can determine that the predetermined condition is met when the load in the predetermined machining operation performed after the editing of the machining program by the program editing unit is greater than the load in the predetermined machining operation performed before the editing of the machining program by the program editing unit.

[0206] The program editing device may further include the temperature acquisition unit (100) which is configured to acquire the temperature in the machining area based on the detection signal of the temperature sensor (86), wherein the determination unit can determine that the predetermined condition is met if the amount of temperature change in the predetermined machining operation performed after the editing of the machining program by the program editing unit is greater than the amount of temperature change in the predetermined machining operation performed before the editing of the machining program by the program editing unit.

[0207] The program editing unit may further include the runout acquisition unit (102) which is configured to obtain the runout of the spindle (18) of the machining device based on the acquisition signal of the runout acquisition sensor (88), wherein the determination unit can determine that the predetermined condition is met if the runout in the predetermined machining operation performed after the editing of the machining program by the program editing unit is greater than the runout in the predetermined machining operation performed before the editing of the machining program by the program editing unit.

[0208] In the program editing device, the fog quantity acquisition unit can further acquire the accumulation amount (MA2) of fog in the machine processing area based on the detection signal of the second fog sensor (84B), the period detection unit can further acquire the second period (PE2) in which the accumulation amount is greater than or equal to the second threshold (TH2), and the determination unit can determine that the predetermined condition is met if the second period in the predetermined machine processing, which was carried out after the editing of the machine processing program by the program editing unit, is longer than the second period in the predetermined machine processing, which was carried out before the editing of the machine processing program by the program editing unit.

[0209] In the program editing device, the fog quantity acquisition unit can further acquire the accumulation amount (MA2) of fog in the machine processing area based on the acquisition signal of the second fog sensor (84B), the period acquisition unit can further acquire the second period (PE2) in which the accumulation amount is greater than or equal to the second threshold (TH2), and the program editing unit can edit the machine processing program based on the second period if the second period in the predetermined machine processing, which was carried out after the editing of the machine processing program by the program editing unit, is longer than the second period in the predetermined machine processing, which was carried out before the editing of the machine processing program by the program editing unit.

[0210] In the program editing device, the fog quantity acquisition unit can obtain the accumulation amount based on the detection signal of the second fog sensor, which is located in the machine processing area.

[0211] The program editing device may also include a communication control unit (106) configured to transfer the edited machine program to the other machine tool in the event that the machine program is edited by the program editing unit. <Zweite Ausgestaltung der Erfindung>

[0212] A second embodiment of the invention is the machine tool (10) comprising the program editing device described above, the machining device, the mist separator and the control device (14) which is configured to control the machining device and the mist separator based on the machining program.

[0213] Thanks to this function, it is possible to reduce the power consumption of the machine tool.

[0214] In a machine tool, the program editing device can be housed in the control device.

[0215] The machine tool can also include a downstream control device (78) configured to control the mist separator instead of the control device if the control device is stopped. According to this feature, automatic control of the mist separator is also performed when the control device is stationary. <Dritte Ausgestaltung der Erfindung>

[0216] A third embodiment of the invention is the program editing method for editing the machine processing program (72) configured to control the operation of the fog separator (34) of the machine tool (10), wherein the machine tool comprises the machining device (12) configured to machine the workpiece, and the fog separator is configured to collect the fog present in the machining area (48) of the machining device, the method comprising the fog quantity acquisition step (S1) for obtaining the quantity (MA1) of fog collected by the fog separator based on the detection signal of the first fog sensor (84A), the first period detection step (S6) for detecting the first period (PE1) in which the fog separator operates in the state where the fog quantity is less than the first threshold (TH1), and the program editing step (S8).in which the computer automatically edits the machine processing program so that the fog separator does not operate during the first period.

[0217] According to this feature, the power consumption of the machine tool, which is equipped with the machining device and the mist separator, can be reduced. List of reference symbols 10, 10A machine tool 12 machine processing devices 14, 14B, 14C Control device 18 spindles 34 fog separators 48 machine processing area 72 machine processing program 78 downstream control device 84A first fog sensor 84B second fog sensor 86 Temperature sensor 88 Runout sensor 90, 90D Program editing device 92 Fog quantity acquisition unit 94 period recording units 96 Program editing unit 98 truck recovery unit 100 temperature gain units 102 Round-robin amount acquisition unit 104 Unit of determination 106 Communication control unit EN measuring transmitter (load sensor) MA1 Fog quantity MA2 Accumulation amount MO Motor PE1 first period PE2 second period TH1 first threshold TH2 second threshold QUOTES CONTAINED IN THE DESCRIPTION

[0000] This list of documents cited by the applicant was automatically generated and is included solely for the reader's convenience. The list is not part of the German patent or utility model application. The DPMA accepts no liability for any errors or omissions. Cited patent literature

[0000] JP 2012-076006 A

[0002]

Claims

[1] A program editing device (90) that edits a machining program (72) configured to control the operation of a mist collector (34) of a machine tool (10), the machine tool comprising a machining device (12) configured to machine a workpiece, and the mist collector is configured to collect mist present in a machining area (48) of the machine tool, the program editing device comprising: a mist amount obtaining unit (92) configured to obtain an amount (MA1) of the mist collected by the mist eliminator based on a detection signal of a first mist sensor (84A); a period detection unit (94) configured to detect a first period (PE1) in which the mist eliminator operates in a state in which the amount of mist is less than a first threshold value (TH1); and a program editing unit (96) configured to automatically edit the machining program so that the mist eliminator does not operate during the first period. [2] The program editing apparatus according to claim 1, wherein the fog amount acquiring unit detects the fog amount based on a detection signal of the first fog sensor arranged in a channel (58). [3] The program editing apparatus according to claim 1 or 2, wherein the machining program includes content for the machine tool to perform predetermined machining, and the machine tool performs the predetermined machining based on the machining program, the program editing device further comprises a determination unit (104) configured to determine whether a predetermined condition is satisfied in the predetermined machining performed after the machining program is edited by the program editing unit, and in the case where the predetermined condition is satisfied in the predetermined machining performed after the machining program is edited by the program editing unit, the program editing unit restores the machining program to a state before the editing. [4] A program editing apparatus according to claim 3, wherein the machine tool comprises a plurality of motors (MO) configured to be used for machining, the program editing device further comprises a load acquisition unit (98) configured to detect a load of at least one predetermined one of the motors based on a detection signal of a load sensor (EN), and the determination unit determines that the predetermined condition is satisfied when the load in the predetermined machining performed after the machining program is edited by the program editing unit is larger than the load in the predetermined machining performed before the machining program is edited by the program editing unit. [5] The program editing apparatus according to claim 3 or 4, further comprising a temperature acquiring unit (100) configured to acquire a temperature in the machining area based on a detection signal of a temperature sensor (86), wherein the determining unit determines that the predetermined condition is satisfied when an amount of change in temperature in the predetermined machining performed after the machining program is edited by the program editing unit is greater than an amount of change in temperature in the predetermined machining performed before the machining program is edited by the program editing unit. [6] The program editing device according to any one of claims 3 to 5, further comprising a runout amount obtaining unit (102) configured to obtain a runout amount of a machining spindle (18) based on a detection signal of a runout amount detection sensor (88), wherein the determination unit determines that the predetermined condition is satisfied when the runout amount in the predetermined machining performed after the machining program is edited by the program editing unit is larger than the runout amount in the predetermined machining performed before the machining program is edited by the program editing unit. [7] The program editing apparatus according to any one of claims 3 to 6, wherein the acquisition unit further acquires an accumulation amount (MA2) of the fog in the machining area based on a detection signal of a second fog sensor (84B), the period detection unit further detects a second period (PE2) in which the accumulation amount is greater than or equal to a second threshold value (TH2), and the determination unit determines that the predetermined condition is satisfied when the second period in the predetermined machining performed after the machining program is edited by the program editing unit is longer than the second period in the predetermined machining performed before the machining program is edited by the program editing unit. [8] The program editing apparatus according to any one of claims 3 to 6, wherein the fog amount obtaining unit further obtains an accumulation amount (MA2) of the fog in the machining area based on a detection signal of a second fog sensor (84B), the period detection unit further detects a second period (PE2) in which the accumulation amount is greater than or equal to a second threshold value (TH2), and the program editing unit edits the machining program based on the second period when the second period in the predetermined machining performed after the machining program is edited by the program editing unit is longer than the second period in the predetermined machining performed before the machining program is edited by the program editing unit. [9] The program editing apparatus according to claim 7 or 8, wherein the mist amount obtaining unit obtains the accumulation amount based on a detection signal of the second mist sensor arranged in the machining area. [10] The program editing apparatus according to any one of claims 1 to 9, further comprising a communication control unit (106) configured to transmit the edited machining program to another machine tool in a case where the machining program is edited by the program editing unit. [11] A machine tool (10) comprising the program editing device according to any one of claims 1 to 10, the machining device, the mist eliminator, and a control device (14) configured to control the machining device and the mist eliminator based on the machining program. [12] A machine tool according to claim 11, wherein the program editing device is provided in the control device. [13] A machine tool according to claim 11 or 12, further comprising a downstream control device (78) configured to control the mist eliminator instead of the control device when the control device is stopped. [14] A program editing method for editing a machining program (72) configured to control the operation of a mist collector (34) of a machine tool (10), the machine tool comprising a machining device (12) configured to machine a workpiece, and the mist collector configured to collect mist present in a machining area (48) of the machining device, the method comprising: a mist amount obtaining step (S1) for obtaining an amount (MA1) of the mist collected by the mist eliminator based on a detection signal of a first mist sensor (84A); a first period detecting step (S6) for detecting a first period (PE1) in which the mist eliminator operates in a state in which the amount of mist is less than a first threshold value (TH1); and a program editing step (S8) in which a computer automatically edits the machining program so that the mist eliminator does not operate during the first period.

Citation Information

Patent Citations

  • Method for removing oil mist by using oil mist collector

    JP2012076006A