Numerical control device and numerical control program

JPWO2024100808A5Inactive Publication Date: 2025-07-17
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
JP2024556923
Authority / Receiving Office
JP · JP
Patent Type
Applications
Priority Date
2022-11-09
Filing Date
2022-11-09
Publication Date
2025-07-17
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

Numerical control devices lack the ability to simultaneously display the expected power consumption and the necessary information for its calculation, making it difficult for users to understand the impact of operating program changes on power consumption effectively.

Method used

Incorporating a power calculation unit and a display unit within the numerical control device and program, which calculates and displays the expected power consumption based on acceleration/deceleration settings, allowing users to view the necessary information for calculation, including acceleration/deceleration types, period settings, and external power consumption, facilitating easy comparison before and after changes.

Benefits of technology

Enables users to accurately check and compare the expected power consumption while adjusting settings, supporting informed decision-making by displaying power information for each divided period and including external power considerations, thus enhancing energy management and efficiency.

✦ Generated by Eureka AI based on patent content.
Patent Text Reader

Abstract

The purpose of the present disclosure is to make it possible to check an expected amount of electric power while checking the information necessary to calculate the expected amount of electric power. In the present disclosure, a numerical control device that controls a machine on the basis of an operating program is provided with an electric power calculation unit and a display unit. The electric power calculation unit calculates an expected amount of electric power as an expected value of the amount of electric power consumed when a machine operates, on the basis of acceleration / deceleration settings, which are settings for the acceleration / deceleration of the operating portion of the machine when controlling the machine. The display unit displays electric power information indicating the expected amount of electric power while displaying prescribed information as at least a portion of the information necessary to calculate the expected amount of electric power.
Need to check novelty before this filing date? Find Prior Art

Description

Numerical control device and numerical control program

[0001] The present disclosure relates to a numerical control device that controls a machine based on an operation program.

[0002] From the perspective of economics and energy conservation, which has recently attracted attention, it is desirable for numerical control devices to be able to instantly calculate the predicted amount of power as a forecast value for the amount of power consumed by the machine they control and make the predicted amount of power available for confirmation. For this reason, technology has been proposed to clearly display how changes in the operating program affect the predicted amount of power.

[0003] Japanese Patent Application Laid-Open No. 2019-133346

[0004] The present inventors have realized that in such a technology, it would be more preferable if the user could check information necessary for calculating the estimated amount of power at the same time as checking the estimated amount of power.

[0005] The present disclosure has been made in consideration of the above circumstances, and aims to make it possible to check the estimated amount of power while checking information necessary for calculating the estimated amount of power.

[0006] The numerical control device disclosed herein is a numerical control device that controls a machine based on an operation program, and includes: a power calculation unit that calculates an expected amount of power as a predicted value of the amount of power consumed when the machine operates based on acceleration / deceleration settings of an operating unit of the machine in controlling the machine; and a display unit that displays predetermined information as at least a part of the information necessary to calculate the expected amount of power, while displaying power information indicating the expected amount of power.

[0007] The numerical control program disclosed herein is a numerical control program that causes a computer to function as a numerical control device that controls a machine based on an operation program, and causes the computer to function as: a power calculation unit that calculates an expected amount of power as a predicted value for the amount of power consumed when the machine operates based on acceleration / deceleration settings of the operating unit in controlling the machine; and a display unit that displays power information indicating the expected amount of power while displaying specified information as at least a part of the information necessary to calculate the expected amount of power.

[0008] According to the present disclosure, it is possible to check the estimated amount of power while checking information necessary for calculating the estimated amount of power.

[0009] FIG. 1 is a configuration diagram showing a numerical control device of a first embodiment; FIG. 2 is a flowchart showing recalculation by a power calculation unit; FIG. 3 is a graph showing the transition of each value when the acceleration / deceleration type is step type; FIG. 4 is a graph showing the transition of each value when the acceleration / deceleration type is bell type; FIG. 5 is a graph showing the transition of each value when the acceleration / deceleration type is exponential type; FIG. 6 is a graph showing the change in acceleration / deceleration with a change in time constant; FIG. 7 is a graph showing the change in power consumption with a change in time constant; FIG. 8 is a diagram showing the display unit of a first specific example; FIG. 9 is a diagram showing the display unit of a second specific example; FIG. 10 is a diagram showing the display unit of a third specific example; FIG. 11 is a diagram showing the display unit of a fourth specific example; and FIG. 12 is a diagram showing the display unit of a fifth specific example.

[0010] Hereinafter, embodiments of the present disclosure will be described with reference to the drawings. However, the present disclosure is not limited to the following embodiments and can be appropriately modified and implemented within the scope of the present disclosure.

[0011] 1 controls a machine 200 such as a machine tool based on an operation program. In this case, the numerical control device 100 accelerates and decelerates a moving unit of the machine 200 based on the operation program. The moving unit is a part driven by various motors such as an X-axis motor, a Y-axis motor, and a Z-axis motor. Hereinafter, the setting for the acceleration and deceleration of the moving unit will be referred to as "acceleration and deceleration setting."

[0012] The numerical control device 100 includes a main body that performs calculations, a display, and an operation unit that can be operated by a user U (none of which are shown).

[0013] The numerical control device 100 has a program storage unit 30, an acceleration / deceleration setting unit 20, and a period setting unit 40. The program storage unit 30 is mainly configured as the main body of the numerical control device 100, and stores an operation program.

[0014] The acceleration / deceleration setting unit 20 is mainly composed of the operation unit, display, and main body of the numerical control device 100, and is configured to allow the user U to select an acceleration / deceleration setting. Specifically, the acceleration / deceleration setting unit 20 is configured to allow the user U to select an acceleration / deceleration type, such as step type, bell type, or exponential type, as the acceleration / deceleration setting. Furthermore, for example, the acceleration / deceleration setting unit 20 is configured to allow the user U to select a predetermined parameter value, such as a time constant τ, as the acceleration / deceleration setting.

[0015] The period setting unit 40 is mainly composed of the operation unit, display, and main body of the numerical control device 100, and is configured to allow the user U to select a divided period. Specifically, the period setting unit 40 has an accumulation period setting unit 43 configured to allow the user U to select the setting of an accumulation period, and a period dividing unit 44 configured to allow the user U to select the setting of a period division.

[0016] The period setting unit 40 calculates the divided periods by dividing the accumulated period based on the period division setting. Specifically, for example, if six days is selected as the accumulated period setting and one day is selected as the period division setting, six divided periods for each day are set. Also, for example, if five cycles of a predetermined operation by the machine 200 are selected as the accumulated period and one cycle is selected as the period division setting, five divided periods for each cycle are set. Note that the divided periods do not have to be at equal intervals; for example, the first period may be "Monday to Friday" and the second period may be "Saturday and Sunday."

[0017] External equipment 300 is provided outside the machine 200 and the numerical control device 100. The external equipment 300 includes, for example, a coolant pump, a conveyor, a light, a vibration measuring device, a camera, a brake device, a hydraulic pump, a cooling device, etc. Hereinafter, the predicted value of the power consumption of the external equipment 300 will be referred to as "external power po," and the power consumption amount (∫podt) obtained by integrating the external power po over time will be referred to as "external power amount Po."

[0018] The numerical control device 100 further includes an information storage unit 50 , a power calculation unit 60 , and a display unit 70 .

[0019] The information storage unit 50 stores various information related to the machine 200 and the external device 300. Specifically, for example, the information storage unit 50 stores the inertia Jm and friction F of the machine 200. The inertia Jm and friction F are constants that are obtained by advance measurement, simulation, or the like. The information storage unit 50 also stores information indicating a detected angular velocity ω of the motor rotation. The information storage unit 50 also stores information ipo indicating the external power po. The information ipo indicating the external power po is, for example, information based on a catalog value. The information storage unit 50 also stores information iZa and iZb indicating the setting of the division periods. Note that the information iZa and iZb include information iZa indicating the setting of the integration period and information iZb indicating the setting of the period division.

[0020] The power calculation unit 60 is mainly configured by the main body of the numerical control device 100. Hereinafter, the predicted value of power consumption when the machine 200 operates based on the acceleration / deceleration setting will be referred to as "predicted power p," and the amount of power consumption (∫pdt) obtained by integrating the predicted power p over time will be referred to as "predicted power amount P." The power calculation unit 60 calculates the predicted power amount P based on the acceleration A and speed V of the operating part based on the acceleration setting. An example of this calculation method will be described below.

[0021] First, in a first step S1, the power calculation unit 60 calculates the torque "Kt.I" based on, for example, the following equation 1: q " is calculated. "Kt" is the torque constant, and "I q " is the current value.

[0022] Inertia "Jm", detected angular velocity "ω q ” and friction “F” are acquired from the information storage unit 50.

[0023] Next, in a second step S2, the power calculation unit 60 calculates the divided periods by obtaining information iZa and iZb indicating the settings of the divided periods from the information storage unit 50. Then, for each divided period, the predicted amount of power "P" is calculated based on, for example, the following equation 2.

[0024] Torque "Kt.I q" is calculated in the first step S1. The predicted angular velocity "ω" is calculated, for example, based on the acceleration A and speed V of the operating unit based on the acceleration setting. Information ipo indicating the external power po is acquired from the information storage unit 50. As described above, the power consumption (∫podt) obtained by integrating the external power po over time is the external power amount Po, and therefore the predicted power amount P includes the external power amount Po. If there are multiple devices as the external device 300, "∫podt" in equation 2 becomes, for example, "∫po1dt+∫po2dt+∫po3dt+∫po4dt+...".

[0025] The display unit 70 is mainly composed of the display and main body of the numerical control device 100. Hereinafter, at least a part of the information necessary to calculate the estimated power amount P will be referred to as "predetermined information iQ," and information indicating the estimated power amount P will be referred to as "power information iP."

[0026] In a third step S3 following the second step S2, the display unit 70 acquires the predetermined information iQ and the power information iP for each divided period from the power calculation unit 60. The display unit 70 then displays the power information iP for each divided period while displaying the predetermined information iQ. In this embodiment, the predetermined information iQ includes at least one of information iA indicating the acceleration / deceleration setting, information iZa and iZb indicating the setting of the divided period, and information iPo indicating the external power amount Po.

[0027] Next, the time when the acceleration / deceleration setting or the period setting is changed will be described with reference to Figure 2. Note that "when the change is made" here means, for example, "after the user U selects the change and before selecting to confirm the change." Hereinafter, "the current time," i.e., "before the change is made," will be referred to as "before the change is made," and "when the change is made" will be referred to as "after the change."

[0028] In a fourth step S4 after the third step S3, when the user U changes the acceleration / deceleration setting or the period setting, a recalculation request is issued to the power calculation unit 60, and the predicted power amount P for each divided period in the second step S2 is calculated again. In the subsequent third step S3, the display unit 70 displays the changed specified information iQ and power information iP. At this time, the specified information iQ and power information iP before the change are also displayed. In other words, the display unit 70 displays the changed specified information iQ and power information iP while displaying the pre-change specified information iQ and power information iP.

[0029] Next, differences in speed V due to different acceleration / deceleration types will be described with reference to FIGS.

[0030] 3, when the acceleration / deceleration type is step type, that is, when the acceleration A changes in a stepwise manner, the velocity V is the integral value of the stepwise change in acceleration A. Hereinafter, the four predetermined timings will be referred to in chronological order as "Ta1," "Ta2," "Ta3," and "Ta4."

[0031] In the case of this step type, for example, acceleration A is a predetermined positive value from Ta1 to Ta2, acceleration A is zero from Ta2 to Ta3, and acceleration A is a predetermined negative value from Ta3 to Ta4. In this case, speed V increases at a constant rate from Ta1 to Ta2, speed V is constant from Ta2 to Ta3, and speed V decreases at a constant rate from Ta3 to Ta4. This causes the operating part of machine 200 to move a predetermined amount on the positive side and stop.

[0032] In the case of this step type, for example, the length of the period from Ta1 to Ta2 and the length of the period from Ta3 to Ta4 may be set as a "time constant τ" to perform acceleration / deceleration setting.

[0033] 4, when the acceleration / deceleration type is bell-shaped, that is, when acceleration A changes in a bell shape, velocity V is the integral value of acceleration A changing in the bell shape. Hereinafter, the eight predetermined timings will be referred to in chronological order as "Tb1," "Tb2," "Tb3," "Tb4," "Tb5," "Tb6," "Tb7," and "Tb8."

[0034] In the case of this bell-shaped curve, for example, acceleration A is positive from Tb1 to Tb4. Specifically, acceleration A increases at a constant rate from Tb1 to Tb2, is constant from Tb2 to Tb3, and decreases at a constant rate from Tb3 to Tb4. Acceleration A is zero from Tb4 to Tb5. Acceleration A is negative from Tb5 to Tb8. Specifically, the absolute value of the negative acceleration increases at a constant rate from Tb5 to Tb6, is constant negative acceleration A from Tb6 to Tb7, and decreases at a constant rate from Tb7 to Tb8.

[0035] In this case, the speed V increases from Tb1 to Tb4. Specifically, from Tb1 to Tb2, the gradient of the speed V increases to the right, that is, as time passes. From Tb2 to Tb3, the gradient of the speed V increases to the right, and from Tb3 to Tb4, the gradient of the speed V decreases to the right. From Tb4 to Tb5, the speed V is constant. From Tb5 to Tb8, the speed V decreases. Specifically, from Tb5 to Tb6, the gradient of the speed V decreases to the right, and from Tb6 to Tb7, the gradient of the speed V decreases to the right. From Tb7 to Tb8, the gradient of the speed V decreases to the right, and from Tb7 to Tb8, the gradient of the speed V decreases to the right.

[0036] As a result, the operating part of machine 200 advances a predetermined amount on the positive side and stops in a manner different from that in the case of step-type acceleration / deceleration. This results in a different predicted amount of power P than in the case of step-type acceleration / deceleration.

[0037] In the case of this bell-shaped waveform, the acceleration / deceleration may be set by using, for example, the length of the period from Tb1 to Tb2, the length of the period from Tb3 to Tb4, the length of the period from Tb5 to Ta6, and the length of the period from Tb7 to Ta8 as the "time constant τ." Also, for example, the acceleration / deceleration may be set by using, for example, the length of the period from Tb1 to Tb3 and the length of the period from Tb5 to Tb7 as the "time constant τ2."

[0038] 5, when the acceleration / deceleration type is exponential, that is, when the acceleration A changes exponentially, the speed V is the integral value of this exponentially changing acceleration A. Hereinafter, the four predetermined timings will be referred to in chronological order as "Tc1," "Tc2," "Tc3," and "Tc4."

[0039] In the case of this exponential type, for example, at Tc1, acceleration A goes from zero to a predetermined positive value. From Tc1 to Tc2, the gradient of acceleration A, which slopes downward to the right, becomes gentler as it moves to the right. From Tc2 to Tc3, acceleration A is zero. At Tc3, acceleration A goes from zero to a predetermined negative value. From Tc3 to Tc4, the gradient of acceleration A, which slopes upward to the right, becomes gentler as it moves to the right.

[0040] In this case, from Tc1 to Tc2, the gradient of the velocity V increases to the right, but becomes gentler as the velocity moves to the right. From Tc2 to Tc3, the velocity V is constant. From Tc3 to Tc4, the gradient of the velocity V decreases to the right, but becomes gentler as the velocity moves to the right.

[0041] As a result, the operating part of machine 200 advances a predetermined amount on the positive side and stops in a manner different from that of either the step type or bell type acceleration / deceleration types. This results in a predicted amount of power P that differs from that of either the step type or bell type.

[0042] In the case of this exponential type, for example, the length from Tc1 until the speed V reaches approximately 63.2% of the terminal speed, and the length from Tc3 until the speed V reaches approximately 36.8% (100% - 63.2%) of the terminal speed may be set as the "time constant τ" for acceleration / deceleration setting.

[0043] In the above, it has been shown that the predicted power consumption P differs depending on the type of acceleration / deceleration, but in addition to that, for example, when the time constant τ is changed as shown in Fig. 6, the predicted power consumption P also changes as shown in Fig. 7. Furthermore, the cycle time also changes accordingly.

[0044] Next, specific examples of screens displayed on the display unit 70 will be described with reference to FIGS.

[0045] The first specific example shown in Fig. 8 shows the case where the acceleration / deceleration setting is changed by the user U. Note that the first specific example has only one divided period.

[0046] When the acceleration / deceleration setting is changed, the power calculation unit 60 calculates the predicted power amount P after the change in advance, and the display unit 70 displays the specified information iQ2 and power information iP2 after the change. At this time, the display unit 70 also displays the specified information iQ1 and power information iP1 before the change. In other words, the display unit 70 displays the specified information iQ1 and power information iP1 before the change, while also displaying the specified information iQ2 and power information iP2 after the change.

[0047] Each of the predetermined information iQ1 and iQ2 before and after the change includes information iA indicating the respective acceleration / deceleration settings. The information iA indicating the acceleration / deceleration settings includes, for example, information indicating the acceleration / deceleration type and information indicating parameter values ​​such as the time constant τ.

[0048] In this specific example, the power information iP1 and iP2 before and after the change are both graphs showing the transition of the predicted power amount P. The graph showing the power information iP1 before the change and the graph showing the power information iP2 after the change may be displayed together in one coordinate system as shown in Figure 8, or may be displayed separately in two coordinate systems. The display unit 70 may be configured to display the screen shown in Figure 8 before the user U selects to change the acceleration / deceleration setting on a screen different from the screen shown in Figure 8, or may be configured to allow the user U to change the acceleration / deceleration setting from information iA indicating the acceleration / deceleration setting on the screen shown in Figure 8.

[0049] The second specific example shown in FIG. 9 differs from the first specific example in that the power information iP is a bar graph.

[0050] The third specific example shown in FIG. 10 differs from the first and second specific examples in that the user U inputs a target power amount as the acceleration / deceleration setting. That is, in this third specific example, the acceleration A is calculated backward from the target power amount. Information iA indicating the acceleration setting includes information indicating the target power amount. The predetermined information iQ includes information indicating the cycle time in addition to the information indicating the target power amount. The cycle time may be, for example, the time required for the machine 200 to perform one cycle of a predetermined operation, or may be an accumulated period set in the period setting unit 40. When the machine 200 simultaneously operates on two or more axes, for example, the longest operation time is set as the cycle time.

[0051] In this third specific example, the target power amount and the estimated power amount P1 before the change are equal to each other, and the target power amount and the estimated power amount P2 after the change are equal to each other. Therefore, either one of the numerical value indicating the target power amount before the change and the bar graph indicating the power information iP1 may serve both roles, and the other may be omitted. Similarly, either one of the numerical value indicating the target power amount after the change and the bar graph indicating the power information iP2 may serve both roles, and the other may be omitted. The display unit 70 may be configured to allow the user U to operate the bar graph indicating the changed power information iP2. In other words, the target power amount setting may be changed by this operation.

[0052] The fourth specific example shown in Figure 11 illustrates a case where the divided periods are changed by the user U. When the divided period settings are changed, the power calculation unit 60 calculates the expected power amount P for each divided period after the change in advance, and the display unit 70 displays the specified information iQii and power information iPii after the change. At this time, the display unit 70 also displays the specified information iQi and power information iPi before the change. In other words, the display unit 70 displays the specified information iQi and power information iPi before the change, while also displaying the specified information iQii and power information iPii after the change. The specified information iQi before the change includes information iZa and iZb that indicate the divided period settings before the change, and the specified information iQii after the change includes information iZa and iZb that indicate the divided period settings after the change.

[0053] 12 illustrates a case where information iPo indicating the amount of external power Po is displayed as the predetermined information iQ. Specifically, the information iPo indicating the amount of external power Po may be, for example, a graph showing the change over time in the amount of external power Po, as shown in FIG. 12 , or a bar graph showing the amount of external power Po.

[0054] The first to fifth specific examples shown in Figures 8 to 12 may be implemented by combining at least a portion of each other. Specifically, for example, the predetermined information iQ may include information iA indicating the acceleration setting shown in Figure 8, information iZa and iZb indicating the division period setting shown in Figure 11, and information iPo indicating the external power amount Po shown in Figure 12. Also, for example, in each of the first to fifth specific examples, the display unit 70 may be configured to further display the electricity rate.

[0055] The numerical control device 100 described above is primarily composed of a computer and a numerical control program. The computer includes a computer main body, a display, and an operation unit. The computer main body has a CPU, ROM, RAM, etc. The numerical control program causes the computer to function as a numerical control device. Specifically, the numerical control program works in cooperation with the computer to cause the computer to function as an acceleration / deceleration setting unit 20, a program storage unit 30, a period setting unit 40, an information storage unit 50, a power calculation unit 60, and a display unit 70.

[0056] The configuration and effects of this embodiment are summarized below.

[0057] The display unit 70 displays predetermined information iQ as at least a part of the information necessary to calculate the predicted power amount P, while also displaying power information iP indicating the predicted power amount P. Therefore, the user U can check the predicted power amount P while checking the information necessary to calculate the predicted power amount P. Specifically, if the predetermined information iQ includes, for example, information iA indicating an acceleration / deceleration setting, the user U can check the predicted power amount P while checking the acceleration / deceleration setting. This supports the user U in setting various parameters that may affect the predicted power amount P, such as the acceleration / deceleration setting.

[0058] The display unit 70 displays the power information iP for each divided period. Therefore, the user U can check the estimated power amount P for each divided period. Furthermore, if the predetermined information iQ includes information iZa and iZb that indicate the setting of the divided period, the user U can check the estimated power amount P while checking the setting of the divided period.

[0059] The period setting unit 40 has an integration period setting unit 43 configured to allow the user U to select the setting of the integration period, and a period division unit 44 configured to allow the user U to select the setting of the period division. The period setting unit 40 calculates the divided periods by dividing the integration period based on the setting of the period division. Therefore, the user U can easily set the desired divided periods based on the setting of the integration period and the setting of the period division. Furthermore, when the predetermined information iQ includes information iZa indicating the setting of the integration period and information iZb indicating the setting of the period division, the user U can check the expected energy P for each divided period while checking the setting of the integration period and the setting of the period division.

[0060] When the user U changes the acceleration / deceleration setting, the power calculation unit 60 calculates post-change power information iP before the change, and the display unit 70 displays the post-change power information iP2 while displaying the pre-change power information iP1. This allows the user U to compare the estimated power amount P before and after the change of the acceleration / deceleration setting. Furthermore, if the predetermined information iQ includes information iA indicating the pre-change acceleration / deceleration setting and information iA indicating the post-change acceleration / deceleration setting, the user U can compare the estimated power amount P before and after the change while comparing the acceleration / deceleration settings before and after the change. This makes it easy for the user U to check the effect of the change of the acceleration / deceleration setting on the estimated power amount P.

[0061] The power calculation unit 60 acquires the external power amount Po and calculates the estimated power amount P including the external power amount Po. Therefore, the estimated power amount P can be calculated more accurately than when the external power amount Po is not acquired. Furthermore, when the predetermined information iQ includes information iPo indicating the external power amount Po, the user U can check the estimated power amount P while checking the external power amount Po.

[0062] Although the embodiments have been described in detail above, as mentioned above, the present disclosure is not limited to the embodiments. Various additions, substitutions, modifications, partial deletions, etc. are possible within the scope of the gist of the present disclosure or within the scope of the gist of the present disclosure derived from the content of the claims and their equivalents. For example, the order of each operation and the order of each process in the embodiments are shown as examples and are not limited to these. The same applies when numerical values ​​or mathematical expressions are used to explain the embodiments.

[0063] According to the above embodiment, the numerical control device (100) of Supplementary Notes 1 to 10 and the numerical control program of Supplementary Note 11 shown below can be realized.

[0064] [Supplementary Note 1] A numerical control device (100) that controls a machine (200) based on an operation program, the numerical control device (100) comprising: a power calculation unit (60) that calculates an expected amount of power (P) as an expected value of the amount of power consumed when the machine (200) operates based on acceleration / deceleration settings of an operating unit of the machine (200) in controlling the machine (200); and a display unit (70) that displays predetermined information (iQ) as at least a part of information necessary to calculate the expected amount of power (P) and also displays power information (iP) indicating the expected amount of power (P).

[0065] [Appendix 2] The numerical control device (100) according to appendix 1, wherein the predetermined information (iQ) includes information (iA) indicating the acceleration / deceleration setting.

[0066] [Supplementary Note 3] The numerical control device (100) according to Supplementary Note 1 or 2, further comprising a period setting unit (40) configured to be able to select the setting of a divided period, and the display unit (70) displays the power information (iP) for each divided period.

[0067] [Configuration 4] The numerical control device (100) according to Supplementary Note 3, wherein the predetermined information (iQ) includes information (iZa, iZb) indicating the setting of the divided period.

[0068] [Supplementary Note 5] The numerical control device (100) according to Supplementary Note 3 or 4, wherein the period setting unit (40) has an integrated period setting unit (43) configured to be able to select a setting for an integrated period, and a period dividing unit (44) configured to be able to select a setting for period division, and the period setting unit (40) calculates the divided periods by dividing the integrated period based on the setting for the period division.

[0069] [Appendix 6] The numerical control device (100) described in Appendix 5, wherein the predetermined information (iQ) includes information (iZa) indicating the setting of the integration period and information (iZb) indicating the setting of the period division.

[0070] [Supplementary Note 7] The numerical control device (100) according to any one of Supplementary Notes 1 to 6, wherein when the acceleration / deceleration setting is changed, the power calculation unit (60) calculates the predicted power amount (P) after the change before the change, and the display unit (70) displays the power information (iP) after the change while displaying the power information (iP) before the change.

[0071] [Appendix 8] The numerical control device (100) according to Appendix 7, wherein the predetermined information (iQ) includes information indicating the acceleration / deceleration setting before the change and information indicating the acceleration / deceleration setting after the change.

[0072] [Appendix 9] The numerical control device (100) according to any one of Appendices 1 to 8, wherein the power calculation unit (60) acquires an external power amount (Po) as a predicted value of the amount of power consumed by an external device (300) outside the machine (200), and calculates the predicted power amount (P) including the external power amount (Po).

[0073] [Supplementary Note 10] The numerical control device (100) according to Supplementary Note 9, wherein the predetermined information (iQ) includes information indicating the external electric energy (Po).

[0074] [Supplementary Note 11] A numerical control program that causes a computer to function as a numerical control device (100) that controls a machine (200) based on an operation program, the numerical control program causing the computer to function as: a power calculation unit (60) that calculates an expected amount of power (P) as an expected value of the amount of power consumed when the machine (200) operates based on acceleration / deceleration settings of an operating unit of the machine (200) in controlling the machine (200); and a display unit (70) that displays power information (iP) that indicates the expected amount of power (P) while displaying predetermined information (iQ) as at least a part of information necessary to calculate the expected amount of power (P).

[0075] 20 Acceleration / deceleration setting unit 40 Period setting unit 43 Integration period setting unit 44 Period division unit 60 Power calculation unit 70 Display unit 100 Numerical control device 200 Machine 300 External device iA Information indicating acceleration / deceleration setting iP Power information iP1 Power information before acceleration / deceleration setting change iP2 Power information after acceleration / deceleration setting change iPi Power information before period setting change iPii Power information after period setting change iPo Information indicating external power amount iQ Prescribed information iQ1 Prescribed information before acceleration / deceleration setting change iQ2 Prescribed information after acceleration / deceleration setting change iQi Prescribed information before period setting change iQii Prescribed information after period setting change iZa Information indicating integration period setting (information indicating divided period setting) iZb Information indicating period division setting (information indicating divided period setting) P Estimated power amount Po External power amount U User

Claims

1. In a numerical control device that controls a machine based on an operation program, a power calculation unit that calculates an estimated power consumption as an estimated value of the power consumption when the machine operates based on the acceleration / deceleration setting of the operation unit of the machine in the control of the machine; a display unit that displays power information indicating the estimated power consumption while displaying predetermined information as at least a part of the information necessary for calculating the estimated power consumption; A numerical control device comprising:

2. The numerical control device according to claim 1, wherein the predetermined information includes information indicating the acceleration / deceleration setting.

3. Comprising a period setting unit configured to be able to select a setting of a divided period, The display unit displays the power information for each divided period, The numerical control device according to claim 1 or 2.

4. The numerical control device according to claim 3, wherein the predetermined information includes information indicating the setting of the divided period.

5. The period setting unit has an integrated period setting unit configured to be able to select a setting of an integrated period and a period division unit configured to be able to select a setting of a period division, The period setting unit calculates the divided period by dividing the integrated period based on the setting of the period division, The numerical control device according to claim 3 or 4.

6. The numerical control device according to claim 5, wherein the predetermined information includes information indicating the setting of the integrated period and information indicating the setting of the period division.

7. When the acceleration / deceleration setting is changed, before the change, the power calculation unit calculates the estimated power consumption after the change, and the display unit displays the power information after the change while displaying the power information before the change. The numerical control device according to claim 1 or 2.

8. The numerical control device according to claim 7, wherein the predetermined information includes information indicating the acceleration / deceleration setting before the change and information indicating the acceleration / deceleration setting after the change.

9. The power calculation unit acquires an external power consumption as an estimated value of the power consumption by an external device outside the machine, and calculates the estimated power consumption including the external power consumption. The numerical control device according to claim 1 or 2.

10. The predetermined information includes information indicating the external power consumption. The numerical control device according to claim 9.

11. In a numerical control program that causes a computer to function as a numerical control device that controls a machine based on an operation program, The computer, A power calculation unit that calculates an estimated power consumption as an estimated value of the power consumption when the machine operates based on the acceleration / deceleration setting of the operating unit of the machine in the control of the machine; A display unit that displays power information indicating the estimated power consumption while displaying predetermined information as at least a part of the information necessary for calculating the estimated power consumption; A numerical control program that functions as.