Power tool and power reduction amount calculation method for power tool
The machine tool system accurately calculates power reduction by monitoring and summing device states, addressing the complexity of existing methods and enhancing power efficiency.
Patent Information
- Application Number
- CN202410705379.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Priority Date
- 2023-06-05
- Filing Date
- 2024-06-03
- Publication Date
- 2024-12-06
AI Technical Summary
Existing machine tools lack an accurate and efficient method to calculate power reduction amounts, as the power consumption calculations are complicated and not precise due to varying operational conditions with and without power cutoffs.
A machine tool system with a power-on signal switching unit, prohibition signal switching unit, signal determination unit, and reduction amount calculation unit to accurately determine and sum power reduction states across multiple electric devices, allowing calculation without requiring power cutoff during operation.
Enables precise and straightforward calculation of power reduction amounts by monitoring and summing individual device power reductions, simplifying the process and reducing unnecessary power consumption.
Smart Images

Figure CN119076984A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to a machine tool including a plurality of electric devices that consume electric power when powered on, and a method for calculating a power reduction amount of the machine tool. Background Art
[0002] The machine tool is equipped with servo motors for moving the front spindle table, the front tool rest, the back spindle table and the back tool rest, as well as various electric devices such as a coolant pump, a cooling fan, a product conveyor belt, and lighting equipment. These electric devices are powered on and consume electricity when they are in motion, as well as when they are stopped. The operation of these electric devices is mainly controlled by an NC (Numerical Control) device or a PLC (Programmable Logic Controller) possessed by the NC device. However, in recent years, as part of a countermeasure to global warming or rising fuel costs, there has been an increasing demand to reduce the power consumption of electric devices. In contrast, a machine tool has been proposed that aims to reduce power consumption by cutting off the power supply to electric devices that do not need to be in motion (for example, refer to Patent Document 1).
[0003] [Background Technology Literature]
[0004] [Patent Document]
[0005] [Patent Document 1] Japanese Patent No. 5846607 Summary of the invention
[0006] [Problems to be solved by the invention]
[0007] However, in the machine tool described in Patent Document 1, there is a problem that it is not known to what extent the power is reduced due to the power cut off to the electric device. As a method for solving the above problem, it is considered to calculate the difference between the power consumption when the machine tool is operated without cutting off the power and the power consumption when the power is cut off to the electric device that does not need to be operated, as a method of reducing the amount of power. However, in the above method, since the actions when the power is not cut off and the actions when the power is cut off are not necessarily all performed under the same conditions, there is a problem that it is not known whether the correct amount of power reduction is calculated. In addition, the machine tool must be operated without cutting off the power to measure the power consumption, so there is also a problem that the operation for calculating the amount of power reduction becomes complicated. In response to these problems, it is desired to develop a technology that can easily and correctly calculate the amount of power reduction of a machine tool.
[0008] The present invention has been made in view of the above-mentioned problems, and an object of the present invention is to provide a machine tool and a method for calculating the amount of power reduction for the machine tool, which can accurately and easily calculate the amount of power reduction.
[0009] [Technical means to solve the problem]
[0010] The machine tool of the present invention for solving the above-mentioned problems is a machine tool including a plurality of electric devices that consume electric power when energized, and is characterized by comprising:
[0011] a power-on signal switching unit that switches the power-on signal set for each of the electric devices between a power-on request state for requesting power on the electric device and a power-on-not-required state for not requesting power on;
[0012] a prohibition signal switching unit that switches the power-on prohibition signal set for each of the electric devices between a prohibition state for prohibiting power-on of the electric device and a permission state for permitting power-on;
[0013] a signal determination unit that determines, for each of the electric devices, whether the electric device is in a power reduction state, the power reduction state being that the power-on signal is in the power-on request state and the power-on prohibition signal is in the prohibition state; and
[0014] The reduction amount calculation unit obtains a cumulative time of the power reduction state, calculates an individual device power reduction amount for each of the electric devices based on the cumulative time, and calculates a power reduction amount by summing up the individual device power reduction amounts.
[0015] According to the machine tool, the power reduction amount is calculated by calculating the power reduction amount of the individual devices based on the accumulated time and summing up the power reduction amounts of the individual devices, so the power reduction amount can be calculated accurately. In addition, since it is not necessary to operate the machine tool in a state where the power supply to the electric device is not prohibited (cut off) in order to calculate the power reduction amount, the power reduction amount can be easily calculated.
[0016] Here, the machine tool may also have an ECO (Ecology Conservation Optimization) mode for reducing the power consumption of the electric device, and may switch between a normal mode that does not reduce the power consumption of the electric device and the ECO mode. The reduction amount calculation unit may also calculate the power reduction amount in the ECO mode. The prohibition signal switching unit may also switch the power-on prohibition signal to a prohibition state based on at least one condition that the electric device is a target of power reduction. In addition, the prohibition signal switching unit may also switch the power-on prohibition signal for the electric device associated with the command to a prohibition state during a specified period of continuing the processing state of a specified command. Furthermore, the power-on signal switching unit may also switch the power-on signal to the power-on request state when the power reduction target is not the electric device and the process of powering on the electric device is executed.
[0017] In the machine tool,
[0018] The signal determination unit may monitor the energization signal and the energization prohibition signal, and determine whether or not each of the electric devices is in the power reduction state.
[0019] Thereby, the signal determination unit can accurately determine whether or not the power reduction state is in the state.
[0020] Here, the signal determination unit may monitor the power-on signal and the power-on prohibition signal at predetermined time intervals. In addition, the signal determination unit may always monitor the power-on signal and the power-on prohibition signal.
[0021] In the machine tool,
[0022] The inhibition signal switching unit may set the energization inhibition signal for the electric device associated with the macro program to the inhibition state under the condition that a predetermined macro program is executed.
[0023] As a result, the power consumption of the electric device that does not need to be powered can be reduced when the macro program is executed.
[0024] In the machine tool,
[0025] The electric device may also be provided with an electric motor,
[0026] The inhibition signal switching unit switches the energization inhibition signal to the inhibition state for inhibiting energization for exciting the motor, on the condition that the motor is not rotating.
[0027] This can prevent unnecessary excitation of the electric motor and reduce the power consumption of the electric motor.
[0028] In the machine tool,
[0029] The prohibition signal switching unit may set the energization prohibition signal for the electric device to the prohibition state on the condition that a product discharging operation is performed or a tool other than a rotary tool is selected.
[0030] This can reduce the power consumption of the electric device that is not required for the product ejection operation or the power consumption of the electric device that does not need to be energized when a tool other than the rotation tool is selected.
[0031] The machine tool may also include:
[0032] a spindle having a chuck for holding a workpiece; and
[0033] The electric device, namely the spindle motor, causes the spindle to rotate;
[0034] The inhibit signal switching unit sets the energization inhibit signal for the spindle motor to the inhibit state on condition that the spindle is located at a predetermined position or the chuck is opened.
[0035] This can reduce the power consumption of the spindle motor.
[0036] In the machine tool,
[0037] The device may further include: a power consumption storage unit for storing, for each of the electric devices, an average power consumption per unit time when the electric device is powered on;
[0038] The reduction amount calculation unit calculates the individual device power reduction amount by multiplying the average power consumption by the cumulative time.
[0039] This makes it possible to accurately calculate the amount of power reduction for the individual device.
[0040] In addition, the machine tool may also include:
[0041] The instantaneous power reduction display command unit displays power obtained by summing up the average power consumption of the electric devices determined by the signal determination unit to be in the power reduction state among the plurality of electric devices as instantaneous power reduction.
[0042] The operator of the machine tool can recognize the momentary power failure.
[0043] Furthermore, the machine tool may also include:
[0044] The individual device power reduction amount display command unit displays, for each of the electric devices, the individual device power reduction amount calculated by the reduction amount calculation unit.
[0045] The operator of the machine tool can recognize the individual device power reduction amount of each of the electric devices.
[0046] In addition, the machine tool may also include:
[0047] The graph display command unit displays a graph using the power reduction amount calculated by the reduction amount calculation unit and the elapsed time as axes.
[0048] The operator of the machine tool can recognize the relationship between the elapsed time and the amount of power reduction.
[0049] Here, the graph display command unit may display a time-series graph indicating elapsed time from an arbitrary time point and the power reduction amount corresponding to the elapsed time.
[0050] The method for calculating the amount of power reduction for a machine tool of the present invention for solving the above-mentioned problems is a method for calculating the amount of power reduction for a machine tool including a plurality of electric devices that consume electric power when powered on, and is characterized by comprising:
[0051] A power-on signal detection step, for each of the electric devices, detecting whether the power-on signal is in a power-on request state requesting power on or in a power-on-not-required state not requesting power on;
[0052] a prohibition signal detection step, for each of the electric devices, detecting whether the power-on prohibition signal is in a prohibition state prohibiting power-on or a permission state permitting power-on;
[0053] a signal determination step, in the power-on signal detection step and the prohibition signal detection step, determining for each of the electric devices whether the electric device is in a power reduction state, the power reduction state being that the power-on signal is in the power-on request state and the power-on prohibition signal is in the prohibition state; and
[0054] The reduction amount calculation step obtains a cumulative time of the power reduction state, calculates an individual device power reduction amount for each of the electric devices based on the cumulative time, and calculates the power reduction amount by summing up the individual device power reduction amounts.
[0055] According to the power reduction amount calculation method of the machine tool, the power reduction amount can be correctly calculated. In addition, since it is not necessary to operate the machine tool in a state where the power supply to the electric device is prohibited in order to calculate the power reduction amount, the power reduction amount can be easily calculated. In addition, in the case where the machine tool is operated by changing a part of the existing processing program or in the case where the machine tool is operated by a new processing program, the power reduction amount can also be simply calculated.
[0056] [Effects of the Invention]
[0057] According to the present invention, it is possible to provide a machine tool and a method for calculating the amount of power reduction for the machine tool, which can accurately and easily calculate the amount of power reduction. BRIEF DESCRIPTION OF THE DRAWINGS
[0058] Figure 1 It is a diagram showing the hardware configuration of the machine tool according to the present embodiment.
[0059] Figure 2 Yes means Figure 1 The diagram shows the main functional configuration of the NC device.
[0060] Figure 3 Yes means Figure 2 The ladder diagram of the energization operation of the coolant pump related to the present embodiment among the operations of the PLC shown.
[0061] Figure 4 Yes means Figure 2 The ladder diagram of the energization operation of the spindle motor related to the present embodiment among the operations of the PLC shown.
[0062] Figure 5 Yes means Figure 2 The ladder diagram of the energization operation of the rotation tool motor related to the present embodiment among the operations of the PLC shown.
[0063] Figure 6 Yes means Figure 2 Flowchart of the operation of the signal determination unit shown.
[0064] Figure 7 Yes means Figure 2 Flowchart of the operation of the reduction amount calculation unit shown.
[0065] Figure 8 It means through Figure 2 FIG. 1 is a diagram of a display screen showing the amount of power reduction and the like displayed on the display unit in response to an instruction from the display command unit shown. DETAILED DESCRIPTION
[0066] Hereinafter, an embodiment of the present invention will be described with reference to the drawings. In this embodiment, an example in which the present invention is applied to an NC lathe will be described.
[0067] Figure 1 It is a diagram showing the hardware configuration of the NC lathe 1 according to the present embodiment.
[0068] like Figure 1 As shown, the NC lathe 1 of this embodiment includes an NC device 2, an operation panel 3, a drive control device 4, a spindle 5, a rotating tool 6, and a coolant pump 7. The NC device 2 includes a CPU (Central Processing Unit) 21, a memory 22, and a timer 23. The memory 22 includes a non-volatile memory and a volatile memory. The CPU 21 temporarily stores the program and data stored in the non-volatile memory and the data of the calculation process in the volatile memory, and uses the volatile memory as a work area to perform processing.
[0069] The memory 22 stores the control program PR1, the macro program PR2, the machining program PR3, and the average power consumption data AD. The control program PR1 is a basic program for executing NC control of the servo motor or PLC control of various electric devices. In addition, the control program PR1 also includes a program for displaying an image on the display unit 32 or calculating the power reduction amount. These functions are described in detail below.
[0070] The macro program PR2 is a program that describes operations predetermined by the manufacturer of the NC lathe 1. A plurality of macro programs PR2 are stored in the memory 22. The operator of the NC lathe 1 can also create a macro program PR2 and store it in the memory 22.
[0071] The machining program PR3 is also called an NC program, and is mainly created by the operator of the NC lathe 1. The machining program PR3 is a program having a code system including G codes indicating movement commands of the spindle table or tool rest, T codes indicating call commands of the tool to be used, and M codes indicating auxiliary function commands. The NC device 2 controls the movement of the tool rest or the spindle according to the machining program PR3, thereby machining the object to be machined, that is, the workpiece, into a desired shape, and cutting the machined workpiece. The cut machined workpiece becomes a product manufactured by the NC lathe 1. The manufactured product is discharged to a specified position by the product discharge action. The machining, cutting and discharge are regarded as one cycle, and multiple cycles are executed, thereby manufacturing the same number of products as the number of cycles. The NC device 2 reads the machining program PR3 line by line, interprets the commands, refers to the data required to execute the commands, and executes the commands described in the machining program PR3 in sequence. When the execution of the macro program PR2 is specified in the read-in block, the CPU 21 executes the specified macro program PR2.
[0072] The average power consumption data AD is data on average power consumption per unit time when the coolant pump 7, the spindle motor 42, and the rotary tool motor 44 are each powered on. The spindle motor 42, the rotary tool motor 44, and the coolant pump 7 are equivalent to an example of an electric device. In addition, the NC lathe 1 is equipped with many electric devices in addition to the servomotors for moving the front spindle table, the front tool rest, the back spindle table, and the back tool rest, as well as the cooling fan, the product conveyor, the door lock switch, the spindle cooling device, the lighting equipment, etc., but Figure 1For the sake of simplicity, the illustration is omitted. Hereinafter, the spindle motor 42, the rotary tool motor 44 and the coolant pump 7 are referred to as target electric devices, and the other electric devices are referred to as other electric devices. With respect to the coolant pump 7, the power consumed during the coolant ejection operation, that is, the power consumption, is stored in the memory 22 as average power consumption data AD. On the other hand, with respect to the spindle motor 42 and the rotary tool motor 44, the power consumed during the excitation in which the motor output shaft is kept in a non-rotating state, that is, the power consumption, is stored in the memory 22 as average power consumption data AD. The average power consumption value in the average power consumption data AD is stored in the memory 22 as the catalog value of the pump for the coolant pump 7. However, the coolant pump 7 may be operated, and each power consumption may be measured using a power meter, and the measured value may be used as the average power consumption data AD of the coolant pump 7. With respect to the spindle motor 42 and the rotary tool motor 44, each power consumption in the non-rotating excitation state may be measured using a power meter (not shown), and the measured value may be stored in the memory 22 as the average power consumption data AD before factory shipment. However, if the power consumption of the spindle motor 42 and the rotary tool motor 44 in the non-rotating excitation state exists as a catalog value of the motor, the catalog value may be used as the average power consumption data AD. In addition, the average power consumption data AD stored in the memory 22 can be appropriately changed before and after factory shipment.
[0073] The timer 23 is a timer for measuring the passage of time. For example, to measure the elapsed time after the power supply of the NC lathe 1 is turned on, or to enable the signal determination unit 13 (see Figure 2 ) or the reduction amount calculation unit 14 (reference Figure 2 ) For each action at a specified time, a timer 23 is used.
[0074] The operation panel 3 includes an operation unit 31 and a display unit 32. The operation unit 31 includes a plurality of buttons or keys for accepting input operations of the operator of the NC lathe 1. In addition, the operation unit 31 may also be a touch panel integrated with the display unit 32. The operator can store the processing program PR3 created using the operation unit 31 or an external computer in the memory 22. In addition, the operator can also use the operation unit 31 to modify the processing program PR3 and store the modified processing program PR3 in the memory 22. Moreover, the operator can use the operation unit 31 to switch between the ECO mode and the normal mode described later, or select the target electric equipment set as the power reduction target.
[0075] The display unit 32 is used to display the macro program PR2, the machining program PR3, various set values, error contents, and the display command unit 15 (see FIG. Figure 2 ) is a display of various information related to the NC lathe 1, such as the amount of power reduction commanded.
[0076] The drive control device 4 includes a spindle amplifier 41, a spindle motor 42, a rotary tool amplifier 43, and a rotary tool motor 44. These spindle motors 42 and rotary tool motors 44 are equivalent to an example of a motor. In addition, although the illustration is omitted here for simplicity, in the drive control device 4, servo motors and servo amplifiers are provided for each movable axis to move the front spindle table, the front tool holder, the back spindle table, and the back tool holder. The spindle amplifier 41 and the spindle motor 42 of this embodiment are amplifiers and motors for rotating the back spindle (spindle 5). In addition, an amplifier and a motor for rotating the front spindle are also provided in the drive control device 4, but they are omitted here. Moreover, the rotary tool amplifier 43 and the rotary tool motor 44 are provided for each tool holder on which the rotary tool 6 can be mounted.
[0077] The spindle 5 is a part that is rotated by the spindle motor 42. The spindle 5 is set on the back spindle stage. The spindle 5 is equivalent to an example of a spindle. In addition, a front spindle is set on the front spindle stage, but it is omitted here. The rotating tool 6 is a tool that is rotated by the rotating tool motor 44, and is arranged in a processing chamber for processing a workpiece. In many NC lathes 1, a plurality of rotating tools 6 can be installed on one tool holder. And, the plurality of rotating tools 6 installed on one tool holder are rotated by one rotating tool motor 44. The coolant pump 7 is a pump for circulating the coolant. The coolant pump 7 sprays the coolant into the processing chamber by energizing.
[0078] Figure 2 Yes means Figure 1 The diagram shows the main functional configuration of the NC device 2.
[0079] like Figure 2 As shown, the NC device 2 includes a PLC 11, a signal determination unit 13, a reduction amount calculation unit 14, a display command unit 15, and a graph creation unit 16 as functional components. Figure 1 The CPU 21 and the control program PR1 shown in the figure have functional structures. The PLC 11 has a power-on signal switching unit 111 and a prohibition signal switching unit 112. The power-on signal switching unit 111 switches the NC lathe 1 (reference Figure 1 ) is provided with a power-on signal set for each target electric device, and is switched to a power-on request state for requesting power on for each target electric device, and a power-on-not-required state for not requesting power on. In addition, the PLC 11 also controls the power-on or switching action signals of other electric devices provided in the NC lathe 1, but Figure 2Only aspects related to the present embodiment are shown. In the normal mode, the power-on and power-off of the target electric device are controlled only by the power-on signal switched by the power-on signal switching unit 111. That is, in the power-on request state, the target electric device is powered on, and in the power-on-unnecessary state, the power-on of the target electric device is stopped. The PLC 11 of the present embodiment switches the power-on request state and the power-on-unnecessary state by switching the signal voltage to an H (high) level and an L (low) level. However, other methods may also be used to switch the power-on request state and the power-on-unnecessary state. The power-on signal switching unit 111 of the embodiment includes a coolant power-on signal switching unit 111a, a spindle power-on signal switching unit 111b, and a rotating tool power-on signal switching unit 111c.
[0080] The coolant energizing signal switching unit 111a switches the energizing signal to the coolant pump 7 to the energizing signal to the coolant pump 7 (refer to Figure 1 ) power request state, that is, the coolant power request state, and the coolant pump 7 does not need to be powered, that is, the coolant power request state. The spindle power signal switching unit 111b switches the power signal to the spindle motor 42 to the power signal to the spindle motor 42 (reference Figure 1 ) power request state, that is, the spindle power request state, and the spindle motor 42 does not need to be powered, that is, the spindle power request state. The rotary tool power signal switching unit 111c switches the power signal to the rotary tool motor 44 to the power signal to the rotary tool motor 44 (reference Figure 1 ) is the power-on request state of the rotating tool, that is, the power-on request state of the rotating tool, and the power-on-not-required state for the rotating tool motor 44, that is, the power-on-not-required state of the rotating tool. The signal determination unit 13 monitors each power-on signal switched by the coolant power-on signal switching unit 111a, the spindle power-on signal switching unit 111b, and the rotating tool power-on signal switching unit 111c at a specified time interval such as every 8msec (milliseconds) or all the time. In addition, it can also be configured to store the state information of the power-on signal in a specified area of the memory 22, and the signal determination unit 13 obtains the state information of the communication signal stored in the specified area, instead of the signal determination unit 13 directly monitoring the state of the power-on signal. That is, the signal determination unit 13 can also indirectly monitor the state of the power-on signal.
[0081] The prohibition signal switching unit 112 will be Figure 1) is provided with a power-on prohibition signal set for each target electric device, which is switched to a prohibition state for prohibiting power-on for each target electric device and a permission state for allowing power-on. The PLC 11 of this embodiment switches the prohibition state and the permission state by switching the signal voltage to an H level and an L level. However, the prohibition state and the permission state may also be switched by other methods. The prohibition signal switching unit 112 of this embodiment includes a coolant prohibition signal switching unit 112a, a spindle prohibition signal switching unit 112b, and a rotating tool prohibition signal switching unit 112c.
[0082] The coolant prohibition signal switching unit 112a switches the energization prohibition signal for the coolant pump 7 to the energization prohibition signal for the coolant pump 7 (refer to Figure 1 ) is in a prohibited state, that is, a coolant prohibited state, and a permitted state, that is, a coolant permitted state, for the coolant pump 7. The spindle prohibition signal switching unit 112b switches the power-on prohibition signal for the spindle motor 42 to the power-on prohibition signal for the spindle motor 42 (reference Figure 1 ) is in the prohibited state, that is, the spindle prohibited state, and the permitted state for the spindle motor 42, that is, the spindle permitted state. The rotation tool prohibition signal switching unit 112c switches the energization prohibition signal for the rotation tool motor 44 to the energization prohibition signal for the rotation tool motor 44 (reference Figure 1 ) is the prohibited state of the rotation tool, that is, the rotation tool prohibited state, and the permitted state for the rotation tool motor 44 is the rotation tool permitted state. The signal determination unit 13 monitors each power-on prohibition signal switched by the coolant prohibition signal switching unit 112a, the spindle prohibition signal switching unit 112b, and the rotation tool prohibition signal switching unit 112c at a prescribed time interval such as every 8msec or all the time. In addition, it can also be configured to store the state information of the power-on prohibition signal in a prescribed area of the memory 22, and the signal determination unit 13 obtains the state information of the communication prohibition signal stored in the prescribed area, instead of the signal determination unit 13 directly monitoring the state of the power-on signal. That is, the signal determination unit 13 can also indirectly monitor the state of the power-on prohibition signal.
[0083] The signal determination unit 13 receives the signal switched by the power-on signal switching unit 111 and the prohibition signal switching unit 112, and determines for each target electric device whether the power-on signal for the target electric device is in the power-on request state and the power-on prohibition signal is in the prohibition state. Hereinafter, the state in which the power-on signal is in the power-on request state and the power-on prohibition signal is in the prohibition state is sometimes referred to as the power reduction state. The signal determination unit 13 always obtains the power supply of the NC lathe 1 (reference) from the timer 23. Figure 1) after the power supply of the NC lathe 1 is turned off. After the power supply of the NC lathe 1 is turned on, the signal determination unit 13 determines whether the target electric device is in a power reduction state, for example, every 8 msec. The determination time point may be other than 8 msec, and the next determination operation may be started immediately after the previous determination is completed to monitor all the time. Moreover, when the signal determination unit 13 is in a power reduction state, each time the determination is made, the information on the subject of the power reduction state is stored in a reduction time storage unit 221 provided in the memory 22. Here, the signal determination unit 13 may also compare the last determination result with the current determination result, and only if there is a change, store the changed state information in the reduction time storage unit 221. Thus, the occupied area in the memory 22 for storing the determination result can be reduced. In addition, the signal determination unit 13 may also store the determination result in the reduction time storage unit 221 at a time interval different from the determination time interval, such as every 1 min (minute). In addition, the time interval is preferably consistent with the time interval for the display command unit 15 to update the display of the display unit 32 in advance. In this way, the occupied area in the memory 22 for storing the determination result can also be reduced. The information stored in the reduction time storage unit 221 includes information on the elapsed time after the power supply of the NC lathe 1 is turned on. In addition, when the signal determination unit 13 is in the non-power reduction state, it can also store information on the non-power reduction state together with the information on the elapsed time in the reduction time storage unit 221 provided in the memory 22. In addition, when the signal determination unit 13 determines that the power reduction state is in progress, the information on the power reduction state is sent to the reduction amount calculation unit 14 for each determination.
[0084] The reduction amount calculation unit 14 performs the following processing every 8 msec, similarly to the signal determination unit 13. First, the reduction amount calculation unit 14 accumulates the power reduction time stored in the reduction time storage unit 221 for each target electric device, and obtains the accumulated time of the power reduction time for each target electric device. Then, the power reduction amount of each device is calculated by multiplying the accumulated time by the average power consumption of each target electric device. Here, the average power consumption of each target electric device is calculated by referring to the average power consumption data AD (reference Figure 1 ) and the value obtained. Next, the reduction amount calculation unit 14 calculates the power reduction amount by summing up the individual device power reduction amounts calculated for all target electric devices. Moreover, the reduction amount calculation unit 14 calculates the power reduced at the time point, that is, the instantaneous power reduction, by summing up the average power consumption of the target electric devices in the power reduction state received from the signal determination unit 13 during the past 8 msec. Thereafter, the reduction amount calculation unit 14 stores the obtained individual device power reduction amount, power reduction amount, and instantaneous power reduction in the power reduction amount storage unit 223. In addition, the reduction amount calculation unit 14 may also calculate the power reduction amount of the target electric devices as shown in FIG. Figure 2As shown by the dotted arrow in the middle, only the information requested by the display command unit 15 among the individual device power reduction amount, power reduction amount, instantaneous power reduction, and time series graph is calculated or generated and stored in the power reduction amount storage unit 223.
[0085] When there is a request from the graph display command unit 153, the graph creation unit 16 uses the data stored in the power reduction amount storage unit 223 to create a time series graph showing the change of the power reduction amount with respect to the elapsed time after the power supply of the NC lathe 1 is turned on, using the elapsed time and the power reduction amount as axes. Then, the graph creation unit 16 stores the created time series graph in the power reduction amount storage unit 223. In addition, the graph creation unit 16 may send the created time series graph to the graph display command unit 153.
[0086] The display command unit 15 displays the requested information on the display unit 32 through the input operation of the operator of the NC lathe 1 to the operation unit 31. The display command unit 15 includes an individual device power reduction amount display command unit 151, a power reduction amount display command unit 152, a graph display command unit 153, and an instantaneous power reduction display command unit 154. The individual device power reduction amount display command unit 151 calls out the individual device power reduction amount stored in the power reduction amount storage unit 223 by the reduction amount calculation unit 14, and displays it on the display unit 32 for each individual target electric device. The power reduction amount display command unit 152 calls out the power reduction amount stored in the power reduction amount storage unit 223 by the reduction amount calculation unit 14, and displays it on the display unit 32. The graph display command unit 153 calls out the time series graph stored in the power reduction amount storage unit 223 by the graph creation unit 16, and displays it on the display unit 32. Here, the graph display command unit 153 also has a function of cutting out the elapsed time of the period specified by the operator and the power reduction amount during the elapsed time from the time series graph created by the reduction amount calculation unit 14, and displaying it on the display unit 32. The instantaneous power reduction display command unit 154 calls out the instantaneous power reduction stored in the power reduction amount storage unit 223 by the reduction amount calculation unit 14, and displays it on the display unit 32.
[0087] The memory 22 includes a reduction time storage unit 221, a power consumption storage unit 222, and a power reduction amount storage unit 223. As described above, the NC lathe 1 (reference Figure 1) is associated with the information of the elapsed time after the NC lathe 1 is powered on, and is stored in the reduction time storage unit 221 for each target electric device. The power consumption storage unit 222 stores the average power consumption data AD of each target electric device. The power reduction amount storage unit 223 stores the power reduction amount of each device, the power reduction amount, and the instantaneous power reduction calculated or calculated by the reduction amount calculation unit 14, and the information of the time series chart created by the chart creation unit 16.
[0088] Figure 3 Yes means Figure 2 The ladder diagram of the operation of the PLC 11 shown is a energizing operation of the coolant pump 7 related to the present embodiment.
[0089] Figure 3 The contact R20.1, contact R30.1, contact R30.2, contact R30.3 and contact α0 shown in the ladder diagram are so-called A contacts, and the contact β0 is so-called B contact. Furthermore, when the contact R20.1 is connected, the signal α0 is connected (H level), and when the contact R20.1 is disconnected, the signal α0 is disconnected (L level). The signal α0 is equivalent to an example of a power-on signal for the coolant pump 7. In addition, the contact R20.1 that switches the on / off of the signal α0 is equivalent to the coolant power-on signal switching unit 111a. Furthermore, the connection of the signal α0 is a coolant power-on request state, and the disconnection of the signal α0 is a coolant power-on-free state. The contact R20.1 is executed in sequence during the machining program PR3 (reference Figure 1 ) is received, the contact is connected when the command is to drive the coolant pump 7, and is disconnected when the command is to stop driving the coolant pump 7.
[0090] In addition, when the contacts R30.1, R30.2, and R30.3 are all connected, the signal β0 is connected, and when any one of the contacts R30.1, R30.2, and R30.3 is disconnected, the signal β0 is disconnected. The signal β0 is equivalent to an example of a power-on prohibition signal for the coolant pump 7. In addition, the contacts R30.1, R30.2, and R30.3 that switch the on / off of the signal β0 are equivalent to the coolant prohibition signal switching unit 112a. Moreover, the connection of the signal β0 is a coolant prohibition state, and the disconnection of the signal β0 is a coolant permission state. The contact R30.1 is a contact that is connected when the ECO mode is selected and disconnected when the normal mode is selected. The contact R30.2 is a contact that is connected when the coolant pump 7 is included in the power reduction target and disconnected when the coolant pump 7 is not included. Whether the coolant pump 7 is included in the power reduction target can be determined by the NC lathe 1 (reference Figure 1) uses the operation unit 31 (reference Figure 1 ) can be changed arbitrarily. Contact R30.3 is executed in sequence when processing program PR3 (reference Figure 1 ) is executed, a contact that is connected when the command is a command to specify the execution of the macro program PR2 for performing the product discharge action, and is disconnected when the execution of the macro program PR2 for performing the product discharge action is terminated. The action period from the start to the end of the product discharge action is equivalent to an example of a prescribed period, and whether the prescribed period is equivalent to an example of a prescribed condition for the prohibition signal switching unit 112 to determine whether to switch to a prohibited state in which power is prohibited. In addition, the coolant pump 7 is associated with the macro program PR2 for performing the product discharge action or the command to call out the macro program PR2. In addition, when the product discharge action is not performed with the macro program PR2, the PLC11 determines the start and end of the product discharge action, for example, as follows. The back spindle has a chuck that can be opened and closed to hold the workpiece by closing. When the PLC11 executes a command to move the back spindle to the first position for discharging the product, or when the PLC11 executes a command to open the chuck that holds the processed workpiece, it determines that the product discharge action has started and connects the contact R30.3. In addition, when PLC11 executes the command to move the back spindle to the second position for holding the product and close the chuck holding the workpiece, it determines that the product discharge action is completed and disconnects contact R30.3.
[0091] Furthermore, as described above, contact α0 is a contact that is connected when signal α0 is connected (H level) due to contact A, and is disconnected when signal α0 is disconnected (L level). Contact β0 is a contact that is connected when signal β0 is disconnected (L level) due to contact B, and is disconnected when signal β0 is connected (H level). PLC11 connects contact α0 in the coolant power-on request state where signal α0 is connected. On the other hand, PLC11 disconnects contact α0 in the coolant power-on request state where signal α0 is disconnected. The step in which PLC11 detects the signal α0 is equivalent to an example of a power-on signal detection step. In addition, PLC11 connects contact β0 in the coolant permission state where signal β0 is disconnected. On the other hand, PLC11 disconnects contact β0 in the coolant prohibition state where signal β0 is connected. The step in which PLC11 detects the signal β0 is equivalent to an example of a prohibition signal detection step. When the contact α0 is on and the contact β0 is on, the signal ε0 is on, and the coolant pump 7 is energized, and the coolant pump 7 is driven. On the other hand, when the contact α0 is off or the contact β0 is off, the signal ε0 is off, and the coolant pump 7 is not energized, and the coolant pump 7 stops. As described above, the state in which the signal α0 is the coolant energization request state and the signal β0 is the coolant prohibition state becomes the power reduction state of the coolant pump 7.
[0092] Figure 4 Yes means Figure 2 The ladder diagram of the operation of the PLC 11 showing the energization operation of the spindle motor 42 related to the present embodiment.
[0093] Figure 4 The contact R21.1, contact R31.1, contact R31.2, contact R31.3, contact ε1, contact R41.1, contact γ1 and contact α1 shown in the ladder diagram are so-called A contacts, and the contact Δ1 and contact β1 are so-called B contacts. Furthermore, when the contact R21.1 is turned on, the signal α1 is turned on, and when the contact R21.1 is turned off, the signal α1 is turned off. The signal α1 is equivalent to an example of a power-on signal for the spindle motor 42. In addition, the contact R21.1 that switches the on / off of the signal α1 is equivalent to the spindle power-on signal switching unit 111b. Furthermore, the turning on of the signal α1 is a spindle power-on request state, and the turning off of the signal α1 is a state where the spindle power-on is not required. The contact R21.1 is executed in sequence in the machining program PR3 (reference Figure 1 ) is a contact that is turned on when the command is to excite the spindle motor 42 and is turned off when the command is to stop the excitation of the spindle motor 42.
[0094] In addition, when the contact R31.1, the contact R31.2, the contact R31.3 and the contact Δ1 are all turned on, the signal β1 is turned on, and when any one of the contact R31.1, the contact R31.2, the contact R31.3 and the contact Δ1 is turned off, the signal β1 is turned off. The signal β1 is equivalent to an example of a power-on prohibition signal for the spindle motor 42. In addition, the contact R31.1, the contact R31.2, the contact R31.3 and the contact Δ1 that switch the on / off of the signal β1 are equivalent to the spindle prohibition signal switching unit 112b. And, the on of the signal β1 is the spindle prohibition state, and the off of the signal β1α is the spindle permission state. The contact R31.1 is a contact that is turned on when the ECO mode is selected and is turned off when the normal mode is selected. The contact R31.2 is a contact that is turned on when the spindle motor 42 is included in the power reduction target and is turned off when the spindle motor 42 is not included. Whether the power reduction target includes the spindle motor 42 can be controlled by the NC lathe 1 (refer to Figure 1 ) uses the operation unit 31 (reference Figure 1 ) can be changed arbitrarily. The contact point R31.3 is the same as the contact point R30.3, which is executed in sequence in the processing program PR3 (reference Figure 1) is a contact that is connected when the command is to specify the execution of the macro program PR2 for product ejection, and disconnected when the execution of the macro program PR2 for product ejection is terminated. In other words, the spindle motor 42 is associated with the macro program PR2 for product ejection or the command to call out the macro program PR2. In addition, as mentioned above, the spindle motor 42 here is used to drive the back spindle ( Figure 1 The motor that rotates the main shaft 5) in the product ejection operation. When the product ejection operation is not performed by macro program PR2, PLC11 uses the same determination method as described in contact R30.3 to determine the start and end of the product ejection operation.
[0095] Furthermore, the PLC 11 turns on the contact α1 when the signal α1 is turned on and the spindle is requested to be powered on. On the other hand, the PLC 11 turns off the contact α1 when the signal α1 is turned off and the spindle does not need to be powered on. The step in which the PLC 11 detects the signal α1 is equivalent to an example of a power-on signal detection step. Furthermore, the PLC 11 turns on the contact β1 when the signal β1 is turned off and the spindle is allowed to be powered on. On the other hand, the PLC 11 turns off the contact β1 when the signal β1 is turned on and the spindle is prohibited to be powered on. The step in which the PLC 11 detects the signal β1 is equivalent to an example of a prohibition signal detection step. When the contact α1 is turned on and the contact β1 is turned on, the signal ε1 is turned on, the spindle motor 42 is powered on, and the spindle motor 42 is excited. The spindle motor 42 is in a non-rotating state when excited, and even if an external force in the rotation direction is applied, the output shaft is in a non-rotating state (the signal Δ1 described later is turned off) or in a rotating state (the signal Δ1 described later is turned on). On the other hand, when the contact α1 is disconnected or the contact β1 is disconnected, the signal ε1 is disconnected, the spindle motor 42 is not energized, and the spindle motor 42 is not excited. The spindle motor 42 is in a non-rotating state when it is not excited, and when an external force in the rotation direction is applied, the output shaft is in a rotating state. As described above, the state in which the signal α1 is the spindle power request state and the signal β1 is the spindle prohibition state becomes the power reduction state of the spindle motor 42.
[0096] The contact Δ1 is disconnected when the signal Δ1 is on, and is connected when the signal Δ1 is disconnected. When the signal Δ1 is on, the output shaft of the spindle motor 42 rotates, and when the signal Δ1 is disconnected, the output shaft of the spindle motor 42 stops. That is, the signal Δ1 is equivalent to the rotation signal of the spindle motor 42. The signal Δ1 is a signal that is turned on when the contact γ1 is on, and is disconnected when the contact γ1 is disconnected. Moreover, the contact γ1 is a contact that is turned on when the signal γ1 is on, and is disconnected when the signal γ1 is disconnected. Furthermore, the signal γ1 is a signal that is turned on when the contact ε1 is on and the contact R41.1 is on, and is disconnected when either the contact ε1 or the contact R41.1 is disconnected. The contact ε1 is turned on when the signal ε1 is on, and is disconnected when the signal ε1 is disconnected. The contact R41.1 is used to execute the machining program PR3 (reference) in sequence. Figure 1 ) is received, a contact which is turned on when the command is to rotate the spindle motor 42 and is turned off when the command is to stop the spindle motor 42.
[0097] Figure 5 Yes means Figure 2 The ladder diagram of the operation of the PLC 11 shown is a energizing operation of the rotation tool motor 44 related to the present embodiment.
[0098] Figure 5 The contact R22.1, contact R32.1, contact R32.2, contact R32.3, contact ε2, contact R42.1, contact γ2 and contact α2 shown in the ladder diagram are so-called A contacts, and contact Δ2 and contact β2 are so-called B contacts. Furthermore, when contact R22.1 is turned on, signal α2 is turned on, and when contact R22.1 is turned off, signal α2 is turned off. The signal α2 is equivalent to an example of a power-on signal for the rotating tool motor 44. In addition, the contact R22.1 that switches the on / off of the signal α2 is equivalent to the rotating tool power-on signal switching unit 111c. Furthermore, the turning on of the signal α2 is a rotating tool power-on request state, and the turning off of the signal α2 is a rotating tool power-on-free state. The contact R22.1 is to execute the machining program PR3 (reference Figure 1 ) is received, the contact being a contact that is turned on when the command is to excite the rotary tool motor 44 and turned off when the command is to stop the excitation of the rotary tool motor 44.
[0099] In addition, when the contact R32.1, the contact R32.2, the contact R32.3 and the contact Δ2 are all connected, the signal β2 is connected, and when any one of the contact R32.1, the contact R32.2, the contact R32.3 and the contact Δ2 is disconnected, the signal β2 is disconnected. The signal β2 is equivalent to an example of a power-on prohibition signal for the rotation tool motor 44. In addition, the contact R32.1, the contact R32.2, the contact R32.3 and the contact Δ2 that switch the on / off of the signal β2 are equivalent to the rotation tool prohibition signal switching unit 112c. And, the connection of the signal β2 is the rotation tool prohibition state, and the disconnection of the signal β2α is the rotation tool permission state. The contact R32.1 is a contact that is connected when the ECO mode is selected and disconnected when the normal mode is selected. The contact R32.2 is a contact that is connected when the rotation tool motor 44 is included in the power reduction target and disconnected when the rotation tool motor 44 is not included. Whether the rotary tool motor 44 is included in the power reduction target can be determined by the NC lathe 1 (refer to Figure 1 ) uses the operation unit 31 (reference Figure 1 ) can be changed arbitrarily. Contact R32.3 is to execute the machining program PR3 (reference Figure 1 ), a contact that is connected when the command is a command to specify the execution of the macro program PR2 for selecting a tool other than the rotary tool, and disconnected when the execution of the macro program PR2 for selecting a tool other than the rotary tool is terminated. That is, the rotary tool motor 44 is associated with the macro program PR2 for selecting a tool other than the rotary tool, or the command to call out the macro program PR2. In addition, the termination of the execution of the macro program PR2 for selecting a tool other than the rotary tool referred to here refers to the start of the execution of the macro program PR2 for selecting a tool other than the rotary tool. That is, the period during which the selection state of a tool other than the rotary tool is continued by executing the macro program PR2 for selecting a tool other than the rotary tool is equivalent to an example of a prescribed period, and whether the prescribed period is equivalent to an example of a prescribed condition for the prohibition signal switching unit 112 to decide whether to switch to the prohibited state prohibiting power supply.
[0100] Furthermore, the PLC 11 turns on the contact α2 when the rotation tool is in a power-on request state with the signal α2 turned on. On the other hand, the PLC 11 turns off the contact α2 when the rotation tool does not need to be powered on with the signal α2 turned off. The step in which the PLC 11 detects the signal α2 is equivalent to an example of a power-on signal detection step. Furthermore, the PLC 11 turns on the contact β2 when the rotation tool is in a permitted state with the signal β2 turned off. On the other hand, the PLC 11 turns off the contact β2 when the rotation tool is in a prohibited state with the signal β2 turned on. The step in which the PLC 11 detects the signal β2 is equivalent to an example of a prohibited signal detection step. When the contact α2 is turned on and the contact β2 is turned on, the signal ε2 is turned on, the rotation tool motor 44 is powered on, and the rotation tool motor 44 is excited. The rotation tool motor 44 is in a non-rotating state when excited, and even if an external force in the rotation direction is applied, the output shaft is in a non-rotating state (the signal Δ2 described later is turned off) or in a rotating state (the signal Δ2 described later is turned on) of the output shaft. On the other hand, when the contact α2 is disconnected or the contact β2 is disconnected, the signal ε2 is disconnected, the rotation tool motor 44 is not energized, and the rotation tool motor 44 is not excited. The rotation tool motor 44 is in a non-rotating state when not excited, and the output shaft is in a rotating state when an external force in the rotation direction is applied. As described above, the state in which the signal α2 is a rotation tool power request state and the signal β2 is a rotation tool prohibition state becomes a power reduction state of the rotation tool motor 44.
[0101] The contact Δ2 is disconnected when the signal Δ2 is on, and is connected when the signal Δ2 is off. When the signal Δ2 is on, the output shaft of the rotating tool motor 44 rotates, and when the signal Δ2 is off, the output shaft of the rotating tool motor 44 stops. That is, the signal Δ2 is equivalent to the rotation signal of the rotating tool motor 44. The signal Δ2 is a signal that is turned on when the contact γ2 is on, and is disconnected when the contact γ2 is off. Moreover, the contact γ2 is a contact that is turned on when the signal γ2 is on, and is disconnected when the signal γ2 is off. Furthermore, the signal γ2 is a signal that is turned on when the contact ε2 is on and the contact R42.1 is on, and is disconnected when either the contact ε2 or the contact R42.1 is off. The contact ε2 is turned on when the signal ε2 is on, and is disconnected when the signal ε2 is off. The contact R42.1 is a signal that executes the machining program PR3 (reference) in sequence. Figure 1 ) is received, a contact that is turned on when the command is to rotate the rotary tool motor 44 and turned off when the command is to stop the rotation of the rotary tool motor 44.
[0102] Figure 6 Yes means Figure 2 The flowchart of the operation of the signal determination unit 13 is shown in FIG. Figure 6The actions shown are from the connection to NC lathe 1 (reference Figure 1 ) after power is supplied, for example, every 8msec.
[0103] like Figure 6 As shown, the signal determination unit 13 determines whether the signal α0 is in the coolant power-on request state (step S31). In the case of the coolant power-on request state (yes in step S31), the signal determination unit 13 determines whether the signal β0 is in the coolant prohibition state (step S32). In the case of the coolant prohibition state (yes in step S32), the signal determination unit 13 stores the information that the coolant pump 7 is in the power reduction state together with the information of the elapsed time from the power supply of the NC lathe 1 to the execution of this determination in the reduction time storage unit 221 (step S33). In addition, the case where both step S31 and step S32 are yes (YES) is the power reduction state of the coolant pump 7, that is, the power of the coolant pump 7 is reduced, that is, the effect of the command to drive the coolant pump 7 continues but the coolant pump 7 is stopped. These steps S31 and step S32 are equivalent to an example of the signal determination step. Next, the signal determination unit 13 outputs the information that the coolant pump 7 is in the power reduction state to the reduction amount calculation unit 14 (step S34). When the signal α0 is not in the coolant power request state (No (NO) in step S31), when the signal β0 is not in the coolant prohibition state (No (NO) in step S32), or when the execution of step S34 is completed, the process proceeds to step S35. Here, when the signal α0 is not in the coolant power request state (No (NO) in step S31), or when the signal β0 is not in the coolant prohibition state (No (NO) in step S32), the signal determination unit 13 can store the information that the coolant pump 7 is not in the power reduction state together with the information of the elapsed time after the power supply of the NC lathe 1 is connected in the reduction time storage unit 221, and can also output it to the reduction amount calculation unit 14.
[0104] In step S35, the signal determination unit 13 determines whether the signal α1 is in the spindle power-on request state. In the case of the spindle power-on request state (yes in step S35), the signal determination unit 13 determines whether the signal β1 is in the spindle prohibition state (step S36). In the case of the spindle prohibition state (yes in step S36), the signal determination unit 13 stores the information that the spindle motor 42 is in the power reduction state together with the information of the elapsed time from the power supply of the NC lathe 1 to the execution of this determination in the reduction time storage unit 221 (step S37). In addition, if both step S35 and step S36 are yes (YES), the spindle motor 42 is in the power reduction state, that is, the spindle motor 42 is in the power reduction state, that is, the effect of the command to excite the spindle motor 42 continues but the spindle motor 42 is not excited. These steps S35 and step S36 are equivalent to an example of a signal determination step. Next, the signal determination unit 13 outputs information that the spindle motor 42 is in a power reduction state to the reduction amount calculation unit 14 (step S38). When the signal α1 is not in a spindle power request state (no in step S35), when the signal β1 is not in a spindle prohibition state (no in step S36), or when the execution of step S38 is completed, the process proceeds to step S39. Here, when the signal α1 is not in a spindle power request state (no in step S35), or when the signal β1 is not in a spindle prohibition state (no in step S36), the signal determination unit 13 may store the information that the spindle motor 42 is not in a power reduction state together with the information on the elapsed time after the power supply of the NC lathe 1 is connected in the reduction time storage unit 221, or may output it to the reduction amount calculation unit 14.
[0105] In step S39, the signal determination unit 13 determines whether the signal α2 is in the state of requesting the power on the rotating tool. In the case of the state of requesting the power on the rotating tool (YES in step S39), the signal determination unit 13 determines whether the signal β2 is in the state of prohibiting the rotating tool (step S40). In the case of the state of prohibiting the rotating tool (YES in step S40), the signal determination unit 13 stores the information that the rotating tool motor 44 is in the power reduction state together with the information of the elapsed time from the time when the power of the NC lathe 1 is connected to the execution of this determination in the reduction time storage unit 221 (step S41). In addition, if both step S39 and step S40 are YES, the power reduction state of the rotating tool motor 44 is in the state, that is, the effect of the command to excite the rotating tool motor 44 is continued but the rotating tool motor 44 is not excited. These steps S39 and step S40 are equivalent to an example of a signal determination step. Next, the signal determination unit 13 outputs information indicating that the rotary tool motor 44 is in a power reduction state to the reduction amount calculation unit 14 (step S42). When the signal α2 is in a non-rotating tool power-on request state (no in step S39), when the signal β2 is in a non-rotating tool prohibition state (no in step S40), or when the execution of step S38 is completed, the signal determination unit 13 ends the processing. Here, when the signal α2 is in a non-rotating tool power-on request state (no in step S39), or when the signal β2 is in a non-rotating tool prohibition state (no in step S40), the signal determination unit 13 may store the information indicating that the rotary tool motor 44 is not in a power reduction state together with the information on the elapsed time after the power supply of the NC lathe 1 is connected in the reduction time storage unit 221, or may output it to the reduction amount calculation unit 14.
[0106] Figure 7 Yes means Figure 2 Flowchart showing the operation of the reduction amount calculation unit 14. Figure 7 The actions shown are from the connection to NC lathe 1 (reference Figure 1 ) is powered on, for example, every 8msec. However, Figure 7 The operations shown may be executed only when requested by the display command unit 15. In addition, the reduction amount calculation unit 14 may execute only operations required for the information requested by the display command unit 15.
[0107] like Figure 7As shown, the reduction amount calculation unit 14 obtains data on the time when the coolant pump 7 is in the power reduction state from the reduction time storage unit 221, and obtains the average power consumption data AD of the coolant pump 7 from the power consumption storage unit 222 (step S51). In addition, the reduction amount calculation unit 14 obtains the cumulative time of the time when the coolant pump 7 is in the power reduction state, multiplies the cumulative time by the average power consumption of the coolant pump 7 obtained from the average power consumption data AD, calculates the power reduction amount of the coolant pump 7, and stores it in the power reduction amount storage unit 223 (step S52).
[0108] In addition, the reduction amount calculation unit 14 obtains data on the time during which the spindle motor 42 is in the power reduction state from the reduction time storage unit 221, and obtains the average power consumption data AD of the spindle motor 42 from the power consumption storage unit 222 (step S53). Furthermore, the reduction amount calculation unit 14 obtains a cumulative time by accumulating the time during which the spindle motor 42 is in the power reduction state, multiplies the cumulative time by the average power consumption of the spindle motor 42 obtained from the average power consumption data AD, calculates the power reduction amount of the spindle motor 42, and stores it in the power reduction amount storage unit 223 (step S54).
[0109] Furthermore, the reduction amount calculation unit 14 obtains data of the time during which the rotary tool motor 44 is in the power reduction state from the reduction time storage unit 221, and obtains the average power consumption data AD of the rotary tool motor 44 from the power consumption storage unit 222 (step S55). Furthermore, the reduction amount calculation unit 14 obtains the cumulative time of the time during which the rotary tool motor 44 is in the power reduction state, multiplies the cumulative time by the average power consumption of the rotary tool motor 44 obtained from the average power consumption data AD, calculates the power reduction amount of the rotary tool motor 44, and stores it in the power reduction amount storage unit 223 (step S56). The power reduction amount of the coolant pump 7, the power reduction amount of the spindle motor 42, and the power reduction amount of the rotary tool motor 44 are equivalent to an example of the power reduction amount of the individual device.
[0110] Next, the reduction amount calculation unit 14 calculates the power reduction amount by adding up the calculated power reduction amount of the coolant pump 7, the power reduction amount of the spindle motor 42, and the power reduction amount of the rotary tool motor 44, and stores it in the power reduction amount storage unit 223 together with the calculation time (step S57). These steps S51 to S57 are an example of the reduction amount calculation step. In addition, the graph making unit 16 uses the elapsed time and the power reduction amount as axes to make a time series graph showing the change of the power reduction amount relative to the elapsed time after the power supply of the NC lathe 1 is connected, and stores it in the power reduction amount storage unit 223 (step S58). The step S58 causes the graph making unit 16 to continue to execute the request from the graph display command unit 153 while the graph display command unit 153 causes the display unit 32 to display the time series graph, but is omitted when the time series graph is not displayed. In addition, the reduction amount calculation unit 14 calculates the power reduced at the time point, that is, the instantaneous power reduction, by summing up the average power consumption of the target electric devices that are in the power reduction state during the past 8 msec received from the signal determination unit 13. And, the reduction amount calculation unit 14 stores the calculated instantaneous power reduction in the power reduction amount storage unit 223 (step S59). Here, when past data already exists in the power reduction amount storage unit 223, the reduction amount calculation unit 14 overwrites the new data on the past data and stores it. In addition, the reduction amount calculation unit 14 can also read the past data stored in the power reduction amount calculation unit 223, add the newly received information from the signal determination unit 13 to the past data, thereby calculating the power reduction amount of individual devices and the power reduction amount, or updating the time series chart, and storing it in the power reduction amount storage unit 223.
[0111] Figure 8 It means through Figure 2 The figure shows a display screen in which the display unit 32 is instructed by the display command unit 15 to display the amount of power reduction and the like.
[0112] As described above, the display command unit 15 displays information requested by the operator of the NC lathe 1 through input operation on the operation unit 31 on the display unit 32 . Figure 8 The screen examples when the operator performs input operations for displaying the power reduction amount of individual equipment, the power reduction amount, the time series graph (the transition of the power reduction amount), and the instantaneous power reduction are shown. These screen examples use the information stored in the power reduction amount storage unit 223 by the reduction amount calculation unit 14 to display the individual equipment power reduction amount display command unit 151, the power reduction amount display command unit 152, the graph display command unit 153, and the instantaneous power reduction display command unit 154 on the display unit 32. The displayed content is updated at any time during the display of these screen examples. By updating, the operator of the NC lathe 1 can immediately confirm the power reduction amount or its transition. Figure 8The example screen shows that the power reduction of individual equipment is configured on the right side of the lower stage, the time series graph is configured on the left side of the lower stage, the power reduction is configured in the second from the left of the upper stage, and the instantaneous power reduction is configured at the right end of the upper stage. Figure 8 The power consumption when the NC lathe 1 is powered on is shown at the left end of the upper row, and the ratio of the power consumed in the normal mode to the power reduction amount that can be reduced, that is, the power reduction rate, is shown at the second screen from the right in the upper row. Figure 8 In the time series chart shown, the amount of power reduction when the power supply of the NC lathe 1 is connected is shown in a chart, but only the time specified by the operator's input operation can be shown as a time series chart. In addition, the change in power reduction can be added to the change in power consumption and shown as a time series chart, and the time series chart of the change in power consumption and the time series chart of the change in power reduction can be switched. In addition, the elapsed time used as the axis of the time series chart can also be changed to any unit such as seconds or time units. In addition, the elapsed time used as the axis of the time series chart can also be switched between the elapsed time (1min, 2min, etc.) from the reference time and the actual time (10:00, 10:01, etc.).
[0113] In the NC lathe 1 described above, the time when each target electric device is in the power reduction state is accumulated, and the accumulated time of the power reduction state is obtained for each target electric device, and the accumulated time is multiplied by the average power consumption, thereby calculating the power reduction amount of the individual device. In addition, since the power reduction amount is calculated by summing the power reduction amounts of the individual devices of each target electric device, the power reduction amount can be calculated accurately and easily. In addition, since there is no need for data as a comparison object, there is no need to make the NC lathe 1 operate in the normal mode and confirm the power consumption. This is because the signal determination unit 13 grasps the state information of the power request signal of the power signal switching unit 111, and the reduction amount calculation unit 14 uses the state information to calculate, thereby being able to calculate the difference between the power in the normal mode and the power in the ECO mode, that is, the power reduction amount. In other words, it can also be said that the signal determination unit 13 makes the state when the NC lathe 1 is virtually operated in the normal mode. In addition, it can also be said that the reduction amount calculation unit 14 compares the power in the state with the power in the ECO mode to calculate the power reduction amount. Therefore, even if the NC lathe 1 is operated in the ECO mode from the beginning, the amount of power reduction can be calculated.
[0114] In addition, by setting the signal β0 and the signal β1 to a prohibited state under the condition that the macro program PR2 for performing the product discharge action is executed, the power supply to the coolant pump 7 and the spindle motor 42 is cut off to prevent the consumption of useless power. Similarly, by setting the signal β2 to a prohibited state under the condition that the macro program PR2 for selecting tools other than the rotary tool is executed, the power supply to the rotary tool motor 44 is cut off to prevent the consumption of useless power. In addition, by displaying the instantaneous power reduction, the operator of the NC lathe 1 can actually identify the instantaneous power reduction, that is, the instantaneous power reduction. In addition, by displaying the power reduction amount of individual devices, the operator can identify the power reduction amount of each target electric device, that is, the power reduction amount of the individual device. Moreover, by displaying a time series chart, the operator can identify the relationship between the elapsed time and the power reduction amount.
[0115] The present invention is not limited to the above-described embodiment, and various changes can be made within the scope described in the claims. For example, in the present embodiment, an example of applying the present invention to an NC lathe 1 is shown, but the present invention can also be applied to other machine tools such as a machining center or a milling machine. In addition, in the present embodiment, the spindle motor 42, the rotary tool motor 44, and the coolant pump 7 are used as target electric devices to calculate the power reduction amount, but it is also possible to replace a part or all of the above and use other electric devices as the target to calculate the power reduction amount, or to add other electric devices to the target electric devices of the present embodiment to calculate the power reduction amount. In addition, the switching conditions between the power-on request state and the power-on-free state and the switching conditions between the prohibited state and the permitted state can also be appropriately changed. Moreover, the NC lathe 1 of the present embodiment can switch between the ECO mode and the normal mode, but it is also possible to be unable to switch and always select the ECO mode.
[0116] Only the constituent elements included in the description of each modification described above can be applied to other modifications.
[0117] [Explanation of symbols]
[0118] 1NC lathe (machine tool)
[0119] 13Signal judgment department
[0120] 14Reduction Calculation Department
[0121] 111 Power-on signal switching unit
[0122] 112 Inhibit signal switching unit.
Claims
1. A machine tool comprising a plurality of electric devices that consume electric power when powered on, characterized in that: have: a power-on signal switching unit that switches the power-on signal set for each of the electric devices between a power-on request state for requesting power on the electric device and a power-on-not-required state for not requesting power on; a prohibition signal switching unit that switches the power-on prohibition signal set for each of the electric devices between a prohibition state that prohibits power-on of the electric device and a permission state that permits power-on; a signal determination unit that determines, for each of the electric devices, whether the electric device is in a power reduction state, the power reduction state being that the power-on signal is in the power-on request state and the power-on prohibition signal is in the prohibition state; and The reduction amount calculation unit obtains a cumulative time of the power reduction state, calculates an individual device power reduction amount for each of the electric devices based on the cumulative time, and calculates a power reduction amount by summing up the individual device power reduction amounts.
2. The machine tool according to claim 1, characterized in that The signal determination unit monitors the energization signal and the energization prohibition signal, and determines whether or not each of the electric devices is in the power reduction state.
3. The machine tool according to claim 1, characterized in that The inhibition signal switching unit sets the energization inhibition signal for the electric device associated with the macro program to the inhibition state under the condition that a predetermined macro program is executed.
4. The machine tool according to claim 1, characterized in that Having the electric device, that is, an electric motor; The inhibition signal switching unit switches the energization inhibition signal to the inhibition state for inhibiting energization for exciting the motor, on the condition that the motor is not rotating.
5. The machine tool according to claim 1, characterized in that The prohibition signal switching unit sets the energization prohibition signal for the electric device to the prohibition state under the condition that a product discharging operation is performed or a tool other than a rotary tool is selected.
6. The machine tool according to claim 1, characterized in that It has: a spindle, a chuck for holding a workpiece; and The electric device, namely the spindle motor, causes the spindle to rotate; The inhibit signal switching unit sets the energization inhibit signal for the spindle motor to the inhibit state on condition that the spindle is located at a predetermined position or the chuck is opened.
7. The machine tool according to claim 1, characterized in that The device comprises: a power consumption storage unit for storing, for each of the electric devices, an average power consumption per unit time when the electric device is powered on; The reduction amount calculation unit calculates the individual device power reduction amount by multiplying the average power consumption by the cumulative time.
8. The machine tool according to claim 7, characterized in that The device further comprises an instantaneous power reduction display instruction unit configured to display power obtained by summing up the average power consumption of the electric devices determined by the signal determination unit to be in the power reduction state among the plurality of electric devices as an instantaneous power reduction display.
9. The machine tool according to any one of claims 1 to 7, characterized in that: The device further includes an individual device power reduction amount display command unit configured to display, for each of the electric devices, the individual device power reduction amount calculated by the reduction amount calculation unit.
10. The machine tool according to any one of claims 1 to 7, characterized in that The device includes a graph display command unit configured to display a graph using the power reduction amount calculated by the reduction amount calculation unit and the elapsed time as axes.
11. A method for calculating a power reduction amount for a machine tool, the method being a method for calculating a power reduction amount for a machine tool having a plurality of electric devices that consume electric power when powered on, characterized in that: have: A power-on signal detection step, for each of the electric devices, detecting whether the power-on signal is in a power-on request state requesting power on or in a power-on-not-required state not requesting power on; a prohibition signal detection step, for each of the electric devices, detecting whether the power-on prohibition signal is in a prohibition state prohibiting power-on or a permission state permitting power-on; a signal determination step, in the power-on signal detection step and the prohibition signal detection step, determining for each of the electric devices whether the electric device is in a power reduction state, the power reduction state being that the power-on signal is in the power-on request state and the power-on prohibition signal is in the prohibition state; and The reduction amount calculation step obtains a cumulative time of the power reduction state, calculates an individual device power reduction amount for each of the electric devices based on the cumulative time, and calculates the power reduction amount by summing up the individual device power reduction amounts.
Citation Information
Patent Citations
Manufacture of magnetic metal powder
JP1983046607A
