Abstract:
A wire electric discharge machine that machines a workpiece by supplying a working fluid to a work tank where the workpiece is placed includes a temperature monitor, which exercises control so that the temperature of the working fluid is within a predetermined range. An alarm is displayed when the temperature of the working fluid is outside an allowable temperature range. A time that has elapsed since the temperature of the working fluid falls within the allowable temperature range from outside the allowable temperature rage is measured and when the measured time exceeds a preset working fluid temperature difference disappearing time, the alarm is called off.

Description:
BACKGROUND OF THE INVENTION 
       [0001]    1. Field of the Invention 
         [0002]    The present invention relates to a temperature monitor of a wire electric discharge machine. More specifically, the present invention relates to a temperature monitor of a wire electric discharge machine that monitors the temperature of a working fluid or the temperature around an electric discharge machine (outside air temperature), displays an alarm when the monitored working fluid temperature or outside air temperature is outside a predetermined range, and calls off the alarm after the monitored temperature returns to within the predetermined range and a temperature difference between the working fluid and a workpiece or a temperature difference between the outside air temperature and the electric discharge machine body disappears. 
         [0003]    2. Description of the Related Art 
         [0004]    A wire electric discharge machine machines a workpiece into a desired shape by causing a discharge by applying a voltage to a machining gap between a wire electrode and a workpiece and at the same time, changing a relative position of the wire electrode with respect to the workpiece. In general, the dimensional precision, perpendicularity, or precision of angle is required from machining results of a workpiece. 
         [0005]    In wire electric discharge machining, the required machining precision changes depending on conditions such as the material, thickness and the like of a workpiece and in some cases, high precision of a few micrometers is required. Thus, if the temperature of the working fluid or around the wire electric discharge machine changes and the workpiece or the electric discharge machine body is deformed during machining, the machining precision deteriorates and the dimension error may become larger than an allowable value. Therefore, it is important to control the working fluid temperature or the temperature around the electric discharge machine to obtain a desired machining result from the electric discharge machine. 
         [0006]    Regarding the temperature control of electric discharge machining, Japanese Patent Application Laid-Open No. 4-82624 discloses a technology of machining while controlling the working fluid temperature and the outside air temperature to within a predetermined temperature range by managing the working fluid temperature and the temperature around an electric discharge machine (outside air temperature). The technology relate to controlling of working fluid temperature and temperature around an electric discharge machine while the electric discharge machine is in operation. 
         [0007]    A case where a wire electric discharge machine restarts to work after pausing for a predetermined time will be considered. It is assumed that the wire electric discharge machine is without human intervention during pausing and no machine operation is performed by humans. It is also assumed that the temperature control unit of the working fluid and air conditioner stop while the wire electric discharge machine pauses and the wire electric discharge machine operates with the minimum power to maintain the machine. 
         [0008]    First, the temperature change of the working fluid will be considered. 
         [0009]    If the temperature around the electric discharge machine (outside air temperature) is lower than a control target temperature of the working fluid in a normal operation state (such control target temperature is hereinafter referred to as control temperature), the temperature of the working fluid gets closer to the outside air temperature when the electric discharge machine pauses and after the pause state ends and the electric discharge machine restarts to work, the temperature of the working fluid is controlled to a control temperature. In the meantime, the state of the electric discharge machine is classified into the following four states (See  FIG. 9 ). 
         [0010]    “Control temperature” below means the optimum control target temperature to machine a workpiece by a wire electric discharge machine. 
         [0011]    A: A normal operation state in which the working fluid temperature is maintained at control temperature 
         [0012]    B: A pause state in which the temperature control unit of the working fluid stops 
         [0013]    C: A preparation state to restart an operation from the pause state in which the temperature control of the working fluid is restarted by the temperature control unit and a working fluid circulating pump 
         [0014]    D: A state immediately after the working fluid temperature becomes equal to the control temperature in which there is a temperature difference between the workpiece and working fluid 
         [0015]    E: A state returning to the normal operation state after the temperature difference between the workpiece and working fluid disappears (this state E is the same as the above state A). 
         [0016]    If, in the operation restart preparation state C described above, machining is started before the temperature of the working fluid reaches the control temperature, the working fluid temperature will be different before machining and after machining. The workpiece is deformed as the temperature of the working fluid changes, causing defective machining. 
         [0017]    Here, application of the technology described in Japanese Patent Application Laid-Open No. 4-82624 described above to the above restart preparation state C is considered. 
         [0018]    According to the air-conditioning management method of a wire electric discharge machine described in the above Patent Document, an alarm signal is issued if the working fluid temperature or the room temperature is not within a predetermined temperature range when a predetermined time passes after power-on and the electric discharge machine is activated to start an operation if the working fluid temperature and the room temperature are within the predetermined temperature range. However, this air-conditioning management method issues an alarm warning to determine whether a working fluid cooling apparatus or an air conditioner is defective or not. Moreover, according to the air-conditioning management method, machining is immediately started when the working fluid temperature or the room temperature falls within the predetermined temperature range. That is, the technology is not intended to start an operation after waiting until a temperature difference between the electric discharge machine or workpiece and the working fluid or outside air disappears. 
         [0019]    In addition, an abnormal condition display system of the working fluid temperature of a wire electric discharge machine that uses two temperature sensors and displays an alarm or stops machining when the working fluid temperature falls outside the predetermined temperature range due to a failure of cooler or an operator&#39;s failure to press a switch is disclosed in Japanese Patent Application Laid-Open No. 2-116418. If the technology of the abnormal condition display system of the working fluid temperature is used, an alarm is raised if an attempt is made to start machining when the working fluid temperature is outside the predetermined temperature range like the above operation restart preparation state C and therefore, machining can be performed only when the working fluid temperature is within the predetermined temperature range and the working fluid temperature does not change during machining. 
         [0020]    Even if the technology disclosed in Japanese Patent Application Laid-Open No. 2-116418 described above is used, the workpiece or electric discharge machine body may thermally be deformed during machining. For example, immediately after the working fluid temperature or the ambient temperature of the wire electric discharge machine (outside air temperature) returns from outside the predetermined temperature range to inside the predetermined temperature range, there may be a temperature difference between the working fluid temperature or outside air temperature and the workpiece or electric discharge machine body. Though the temperature difference decreases and disappears over time, but if electric discharge machining is started before the temperature difference disappears, the temperature of the workpiece or electric discharge machine body will change during machining so that thermal deformation may arise due to the change of temperature of the workpiece during machining. 
         [0021]      FIG. 10  is a diagram schematically showing temperature changes of the working fluid and workpiece when a wire electric discharge machine restarts to operate from a state of pause. 
         [0022]    In  FIG. 10 , a solid line represents the work fluid temperature and a broken line represents the temperature of the workpiece. Characteristics such as thermal conductivity are different in the working fluid and the workpiece and thus, when the wire electric discharge machine restarts to operate, times necessary for respective temperatures to reach a set temperature are different. That is, in  FIG. 10 , while the working fluid temperature reaches the set temperature at t c , the temperature of the workpiece reaches the set temperature at t E . If, for example, electric discharge machining is started at time t E (t c &lt;t D &lt;t E ), the temperature of the workpiece changes during machining and thermal deformation is caused, leading to defective machining. 
         [0023]    Similar consideration also applies to the change of outside air temperature around the electric discharge machine. If machining of the workpiece is started after an air conditioner is restarted to operate from the state of pause and before the ambient temperature of the wire electric discharge (outside air temperature) reaches the set temperature, the temperature of the machine body of the wire electric discharge machine is different between when machining is started and when machining is finished. This means that the machine itself is thermally deformed with temperature changes of the outside air temperature, causing defective machining. 
         [0024]    Thus, a conventional wire electric discharge machine is configured to start machining even in a state in which the temperature of a workpiece or electric discharge machine body can change. This can cause defective machining, posing a problem of declining efficiency with an increasing number of man-hours due to repeated machining. 
       SUMMARY OF THE INVENTION 
       [0025]    In view of the problem of the conventional technology, an object of the present invention is to provide a temperature monitor of a wire electric discharge machine that inhibits machining of a workpiece from starting by displaying an alarm on the assumption that the temperature of the workpiece or the electric discharge machine body can change when the temperature of a working fluid or the temperature around the electric discharge machine (outside air temperature) is outside a predetermined range and calls off the alarm and permits to start machining after the temperature of the working fluid or the outside air temperature returns to within the predetermined range and a temperature difference between the workpiece and working fluid or a temperature difference between the temperature of the electric discharge machine body and the outside air temperature disappears. 
         [0026]    The present invention relates to a temperature monitor of a wire electric discharge machine that machines a workpiece by supplying a working fluid from a working fluid treatment equipment to a work tank where the workpiece is placed. The temperature monitor includes a working fluid temperature detector that detects a temperature of the working fluid, a working fluid temperature controller that controls the temperature of the working fluid so that the temperature of the working fluid is within a predetermined range, a working fluid temperature comparator that determines whether the detected temperature of the working fluid is within a preset allowable working fluid temperature range or not, an alarm display unit that displays an alarm when determined by the working fluid temperature comparator that the temperature of the working fluid is outside the allowable working fluid temperature range, a working fluid temperature difference disappearing time measuring unit that measures a time that has elapsed since the detected temperature of the working fluid falls within the allowable working fluid temperature range from outside the allowable working fluid temperature range, and an alarm lifting unit that calls off the alarm when a time measured by the working fluid temperature difference disappearing time measuring unit exceeds a preset working fluid temperature difference disappearing time. 
         [0027]    The alarm display unit may change display content of the alarm when the temperature of the working fluid falls within the allowable working fluid temperature range from outside the allowable working fluid temperature range. 
         [0028]    The temperature monitor may further include an outside air temperature detector that detects an outside air temperature as a temperature around the wire electric discharge machine, an outside air temperature controller that controls the outside air temperature so that the outside air temperature falls within the predetermined range, and an outside air temperature comparator that determines whether the outside air temperature is within an allowable outside air temperature range or not, wherein the alarm display unit may further display the alarm when, in addition to a case where the temperature of the working fluid is determined to be outside the allowable outside air temperature range by the working fluid temperature comparator, the outside air temperature is determined to be outside the allowable outside air temperature range by the outside air temperature comparator. 
         [0029]    The temperature monitor may further include an outside air temperature difference disappearing time measuring unit that measures a time that has elapsed since the detected outside air temperature falls within the allowable outside air temperature range from outside the allowable outside air temperature range, wherein the alarm lifting unit may call off the alarm when a time that has elapsed since the detected temperature of the working fluid falls within the allowable working fluid temperature range from outside the allowable working fluid temperature range exceeds the working fluid temperature difference disappearing time and a time that has elapsed since the detected outside air temperature falls within the allowable outside air temperature range from outside the allowable outside air temperature range exceeds a preset outside air temperature difference disappearing time. 
         [0030]    The temperature monitor may further include a storage unit that stores relationships at least among a volume, a surface area, and a material of the workpiece, a difference between the temperature when machining is started and a set temperature, and the working fluid temperature difference disappearing time, wherein the working fluid temperature difference disappearing time may be set based on the relationships stored in the storage unit. 
         [0031]    The temperature monitor may further include an operation controller that automatically starts machining after the alarm is called off. 
         [0032]    According to the present invention, it is possible to provide a temperature monitor of a wire electric discharge machine that inhibits machining of a workpiece from starting by displaying an alarm on the assumption that the temperature of the workpiece or the electric discharge machine body can change when the temperature of a working fluid or the temperature around the electric discharge machine (outside air temperature) is outside a predetermined range and calls off the alarm and permits to start machining after the temperature of the working fluid or the outside air temperature returns to within the predetermined range and a temperature difference between the workpiece and working fluid or a temperature difference between the temperature of the electric discharge machine body and the outside air temperature disappears. 
     
    
     
       BRIEF DESCRIPTION OF THE DRAWINGS 
         [0033]    The above and other objects and features of the present invention will be apparent from the following description of embodiments of the invention with reference to the accompanying drawings, in which: 
           [0034]      FIG. 1  is a graph illustrating the relationship between the temperature of a working fluid and the temperature of a workpiece over time; 
           [0035]      FIG. 2  is a diagram schematically showing the configuration of a wire electric discharge machine including a temperature monitor according to the present invention; 
           [0036]      FIG. 3  is an example of a table showing the relationship between (V(volume)/S(surface area)) and a temperature difference; 
           [0037]      FIG. 4  is a flow chart illustrating the flow of temperature control in a temperature management program executed by a first embodiment of the temperature monitor according to the present invention; 
           [0038]      FIGS. 5A and 5B  are flow charts illustrating the flow of temperature control in the temperature management program executed by a second embodiment of the temperature monitor according to the present invention; 
           [0039]      FIG. 6  is a flow chart illustrating the flow of temperature control according to a third embodiment of the present invention; 
           [0040]      FIG. 7  is a flow chart illustrating the flow of control of an outside air temperature in  FIG. 6 ; 
           [0041]      FIG. 8  is a flow chart illustrating the flow of control of the working fluid temperature in  FIG. 6 ; 
           [0042]      FIG. 9  is a diagram showing transitions of an electric discharge machine according to conventional technology like a normal operation state A, a pause state B, a restart preparation state C, a state D in which there is a temperature difference between the workpiece and working fluid, and a normal operation state E (=A); and 
           [0043]      FIG. 10  is a diagram schematically showing temperature changes of the working fluid and workpiece when a wire electric discharge machine restarts to operate from a state of pause. 
       
    
    
     DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS 
       [0044]    A temperature monitor of a wire electric discharge machine according to the present invention 
         [0045]    displays an “alarm 1” indicating that the temperature of a working fluid or the temperature around an electric discharge machine (outside air temperature) is outside an allowable range when such a temperature is outside the allowable range to inhibit machining from starting in conditions in which the temperature of a workpiece or the electric discharge machine body can change, displays an “alarm 2” indicating a time in which a predetermined temperature difference is disappearing until a difference between the temperature of the workpiece and the temperature of the working fluid and a difference between the temperature of the electric discharge machine body and the outside air temperature disappear and 
         [0046]    after these temperature differences disappear, the alarm is called off to start electric discharge machining. 
         [0047]      FIG. 1  is a graph illustrating the relationship between the temperature of a working fluid and the temperature of a workpiece over time. 
         [0048]      FIG. 1  shows the relationship between the temperature of the working fluid and the temperature of the workpiece over time by ignoring the ambient temperature of a wire electric discharge machine (outside air temperature). The temperature of the working fluid reaches the set temperature at time t c  and the temperature of the workpiece reaches the set temperature at time t E . Therefore, an “alarm 1W” is displayed until time t c  and an “alarm 2W” is displayed between time t c  and time t E . 
         [0049]    Incidentally, the relationship between the outside air temperature (ignored in  FIG. 1 ) and the temperature of the workpiece over time can also be represented like in  FIG. 1 . 
         [0050]      FIG. 2  is a diagram schematically showing the configuration of a wire electric discharge machine including a temperature monitor according to the present invention. 
         [0051]    The wire electric discharge machine includes, as shown in  FIG. 2 , a machine body  1 , a working fluid treatment tank  2 , a working fluid cooling apparatus  3 , an air conditioner  4 , and a numerical controller (CNC)  5 . The machine body  1  is connected to the numerical controller (CNC)  5  to machine a workpiece (not shown) based on command signals from the CNC  5 . An outside air temperature sensor  6  is provided near the machine body  1 . The outside air temperature sensor  6  is connected to a programmable machine controller (PMC)  10  contained in the CNC  5  to detect the temperature around the machine body  1  (outside air temperature TA) and to transmit a temperature detection signal thereof to the PMC  10 . The numerical controller  5  includes an input apparatus with a display apparatus (not shown) and various alarms related to temperature control can be displayed on a display screen of the display apparatus. Incidentally, alarm displays may also be made by lamp displays or the like. 
         [0052]    The working fluid treatment tank  2  is comprised of a fresh water tank  7 , a foul water tank  8 , and a filter (not shown) and removes impurities in the working fluid to maintain the state of the working water constant. The fresh water tank  7  is provided with a working fluid temperature sensor  9 . Like the outside air temperature sensor  6 , the working fluid temperature sensor  9  is connected to the PMC  10  to detect a working fluid temperature TW and to transmit a detection signal thereof to the PMC  10 . The working fluid cooling apparatus  3  is connected to the PMC  10  to control the working fluid based on a signal from the PMC  10  to maintain the working fluid temperature constant. 
         [0053]    The machine body  1 , the working fluid treatment tank  2 , and the working fluid cooling apparatus  3  are mutually connected by a working fluid channel (not shown) and the working fluid is always circulated by driving a working fluid pump (not shown). That is, the working fluid flows in the order of the foul water tank  8 , the filter, and the fresh water tank  7  in the working fluid treatment tank  2  from the machine body  1  and is sent to the working fluid cooling apparatus  3  for cooling before being supplied to the machine body  1  again. Water or oil is used as the working fluid. 
         [0054]    The air conditioner  4  may be connected to the PMC  10  to control the outside air temperature based on a signal from the PMC  10  or may be connected to the outside air temperature sensor  6  without being connected to the PMC  10  to control the outside air temperature based on a signal from the outside air temperature sensor  6  independently of the machine. When the outside air temperature is not particularly managed, the air conditioner  4  may not be included. 
         [0055]    The PMC  10  contained in the CNC  5  manages the temperature of the working fluid by controlling the working fluid cooling apparatus  3  and in some cases, manages the temperature of the outside air by controlling the air conditioner  4 . That is, the PMC  10  executes a temperature management program based on a detection signal from the working fluid temperature sensor  9 , input into an input/output circuit  11  thereof, and sends an output signal thereof from the input/output circuit  11  to the working fluid cooling apparatus  3 . In some cases, the PMC  10  executes a temperature management program based on a detection signal from the outside air temperature sensor  6 , input into the input/output circuit  11 , and sends an output signal thereof from the input/output circuit  11  to the air conditioner  4 . 
         [0056]    In an embodiment of a temperature monitor according to the present invention, as shown in  FIG. 3 , a table of time required for eliminating a temperature difference between a working fluid and a workpiece may be prepared in advance to set the predetermined temperature difference disappearing time in a storage apparatus included in the numerical controller  5  in accordance with the volume, surface area, and material of the workpiece and a difference between the temperature when machining is started and a set temperature. Alternatively, the predetermined temperature difference disappearing time may also be set by other methods. 
         [0057]    Hereinafter, the procedure for temperature control performed by a temperature monitor according to the present invention will be described by using the flow charts in  FIG. 4  and subsequent figures. In the flow charts below, a predetermined temperature difference disappearing time t0 is a temperature difference disappearing time for a set outside air temperature and a predetermined temperature difference disappearing time t1 is a temperature difference disappearing time for a set working fluid temperature. 
       First Embodiment 
       [0058]      FIG. 4  is a flow chart illustrating the flow of temperature control in a temperature management program executed by the first embodiment of the temperature monitor according to the present invention. Hereinafter, the flowchart of  FIG. 4  will be described according to each step. 
         [0000]    [Step SA 01 ] The temperature monitor reads the working fluid temperature TW from the working fluid temperature sensor  9 .
 
[Step SA 02 ] The temperature monitor determines whether or not the read working fluid temperature TW is between the lowest value T3 and the highest value T4 of the set working fluid temperature allowable range (that is, determine whether the working fluid temperature TW is within the set working fluid temperature allowable range or not). The process proceeds to step SA 06  if the working fluid temperature TW is within the working fluid temperature allowable range (T3≦TW≦T4) (YES), whereas process proceeds to step SA 03  if the working fluid temperature TW is not within the working fluid temperature allowable range (NO).
 
[Step SA 03 ] The temperature monitor determines whether the working fluid temperature TW read in step SA 01  is higher than the highest value T4 of the working fluid temperature allowable range or not. The process proceeds to step SA 04  if the working fluid temperature TW is higher than the highest value T4 (T4&lt;TW) of the working fluid temperature allowable range (YES), whereas the process proceeds to step SA 05  if the working fluid temperature TW is not higher than the highest value T4 (NO).
 
[Step SA 04 ] The temperature monitor notifies that the working fluid temperature TW is higher than the highest value T4 of the working fluid temperature allowable range by displaying the alarm 1W and starts to cool the working fluid by activating the working fluid cooling apparatus  3 , and then the process returns to step SA 01 .
 
[Step SA 05 ] The temperature monitor notifies that the working fluid temperature TW is lower than the lowest value T3 of the temperature allowable range by displaying the alarm 1W and performs warming-up by activating a pump which causes the working fluid to circulate, thereby starting control that raises the working fluid temperature TW, and then the process returns to step SA 01 .
 
[Step SA 06 ] The temperature monitor calls off the alarm 1W and starts a timer 2. The timer 2 is a timer which measures a time that has elapsed since the working fluid temperature TW falls within the working fluid temperature allowable range (T3≦TW≦T4).
 
[Step SA 07 ] The temperature monitor determines whether or not the predetermined temperature difference disappearing time t1 for the set working fluid temperature has passed after it determines that the working fluid temperature TW is within the working fluid temperature allowable range (T3≦TW≦T4) in step SA 02  (that is, after the timer 2 is started in step SA 06 ). The process proceeds to step SA 09  if the predetermined temperature difference disappearing time t1 has passed, whereas the process proceeds to step SA 08  if the predetermined temperature difference disappearing time t1 has not passed.
 
[Step SA 08 ] (Because the predetermined temperature difference disappearing time t1 has not passed after starting the timer in step SA 06 ), the temperature monitor notifies that the temperature difference with respect to the working fluid temperature has not disappeared by displaying the alarm 2W, and the process returns to step SA 07 . That is, the temperature monitor waits until the predetermined temperature difference disappearing time t1 with respect to the set working fluid temperature passes while controlling the working fluid temperature TW to within the working fluid temperature allowable range (T3≦TW≦T4).
 
[Step SA 09 ] The temperature monitor calls off the alarm 2W.
 
[Step SA 10 ] The temperature monitor starts machining to finish the machining by judging that the working fluid temperature TW is controlled to within the working fluid temperature allowable range (T3≦TW≦T4) and the workpiece has adjusted to the environment within the working fluid temperature allowable range (T3≦TW≦T4) in the predetermined temperature difference disappearing time t1.
 
         [0059]    The machining of the above flow chart in  FIG. 4  will supplementarily be described. 
         [0060]    In steps SA 04  and SA 05  after step SA 03 , respective flags indicating the activation of the working fluid cooling apparatus and the start of warming-up are allocated. In the second iteration of steps SA 04  and SA 05  after returning to SA 01  from step SA 04  or step SA 05 , the activation of the working fluid cooling apparatus  3  and the start of warming-up can be controlled by checking whether these flags are 1 or 0. 
         [0061]    In steps SA 07  and SA 08 , the working fluid temperature TW is controlled to within the working fluid temperature allowable range (T3≦TW≦T4) until the predetermined temperature difference disappearing time t1 with respect to the set working fluid temperature passes. 
         [0062]    The control after the activation of the working fluid cooling apparatus  3  and the circulating pump for warming-up will continue so that the working fluid temperature TW is maintained within the working fluid temperature allowable range (T3≦TW≦T4). 
       Second Embodiment 
       [0063]      FIGS. 5A and 5B  are flow charts illustrating the flow of temperature control in the temperature management program executed by the second embodiment of the temperature monitor according to the present invention. Hereinafter, the flowcharts of  FIGS. 5A and 5B  will be described according to each step. 
         [0000]    [Step SB 01 ] The temperature monitor reads the outside air temperature TA from the outside air temperature sensor  6 .
 
[Step SB 02 ] The temperature monitor determines whether or not the read working fluid temperature TA is between a lowest value T1 and a highest value T2 of a set outside air temperature allowable range (that is, determines whether the working fluid temperature TA is within the set outside air temperature allowable range or not). The process proceeds to step SB 04  if the outside air temperature TA is within the outside air temperature allowable range (T1≦TA≦T2) (YES), whereas the process proceeds to step SB 03  if the outside air temperature TA is not within the outside air temperature allowable range (NO).
 
[Step SB 03 ] The temperature monitor notifies that the outside air temperature TA is not within the outside air temperature allowable range (T1≦TA≦T2) (that is, notifies that the outside air temperature TA is too high or too low) by displaying an alarm 1A and activate the air conditioner  4  to control the outside air temperature TA.
 
[Step SB 04 ] The temperature monitor calls off the alarm 1A and starts a timer 1. The timer 1 is a timer which measures a time that has elapsed since the outside air temperature TA falls within the outside air temperature allowable range (T1≦TW≦T2).
 
[Step SB 05 ] The temperature monitor reads the working fluid temperature TW from the working fluid temperature sensor  9 .
 
[Step SB 06 ] The temperature monitor determines whether or not the read working fluid temperature TW is between the lowest value T3 and the highest value T4 of the set working fluid temperature allowable range (that is, whether the working fluid temperature TW is within the set working fluid temperature allowable range or not). The process proceeds to step SB 10  if the working fluid temperature TW is within the working fluid temperature allowable range (T3≦TW≦T4) (YES), whereas the process proceeds to step SB 07  if the working fluid temperature TW is not within the working fluid temperature allowable range (NO).
 
[Step SB 07 ] The temperature monitor determines whether the working fluid temperature TW read in step SB 05  is higher than the highest value T4 of the working fluid temperature allowable range or not. The process proceeds to step SB 08  if the working fluid temperature TW is higher than the highest value T4 (T4&lt;TW) of the working fluid temperature allowable range (YES), whereas the process proceeds to step SB 09  if the working fluid temperature TW is not higher than the highest value T4 of the working fluid temperature allowable range (NO).
 
[Step SB 08 ] The temperature monitor notifies that the working fluid temperature TW is higher than the highest value T4 of the working fluid temperature allowable range by displaying the alarm 1W and start to cool the working fluid by activating the working fluid cooling apparatus  3 , and the process returns to step SB 05 .
 
[Step SB 09 ] The temperature monitor notifies that the working fluid temperature TW is lower than the lowest value T3 of the temperature allowable range by displaying the alarm 1W and performs warming-up by activating a pump which causes the working fluid to circulate, thereby starting control that raises the working fluid temperature TW, and then the process returns to step SB 05 .
 
[Step SB 10 ] The temperature monitor calls off the alarm 1W and starts the timer 2. The timer 2 is a timer which measures a time that has elapsed since the working fluid temperature TW falls within the working fluid temperature allowable range (T3≦TW≦T4).
 
[Step SB 11 ] The temperature monitor determines whether or not the predetermined temperature difference disappearing time t0 for the set outside air temperature has passed after it determines that the outside air temperature TA is within the outside air temperature allowable range (T1≦TA≦T2) in step SB 02  (that is, after the timer 1 is started in step SB 04 ). The process proceeds to step SB 13  if the predetermined temperature difference disappearing time t0 has passed, whereas the process proceeds to step SB 12  if the predetermined temperature difference disappearing time t0 has not passed.
 
[Step SB 12 ] The temperature monitor displays an alarm 2A, and the process returns to step SB 11 .
 
[Step SB 13 ] The temperature monitor determines whether or not the predetermined temperature difference disappearing time t1 for the set working fluid temperature has passed after it determines that the working fluid temperature TW is within the working fluid temperature allowable range (T3≦TW≦T4) in step SB 06  (that is, after the timer 2 is started in step SB 10 ). The process proceeds to step SB 15  if the predetermined temperature difference disappearing time t1 has passed, whereas the process proceeds to step SB 14  if the predetermined temperature difference disappearing time t1 has not passed.
 
[Step SB 14 ] The temperature monitor calls off the alarm 2A and displays the alarm 2W, and the process returns to step SB 13 .
 
[Step SB 15 ] The temperature monitor calls off the alarm 2W.
 
[Step SB 16 ] The temperature monitor starts machining to finish the machining by judging that the outside air temperature TA is controlled to within the outside air temperature allowable range (T1≦TA≦T2), the working fluid temperature TW is controlled to within the working fluid temperature allowable range (T3≦TW≦T4), the outside air temperature TA has passed the predetermined time within the outside air temperature allowable range (T1≦TA≦T2), and the workpiece has adjusted to the environment in which the working fluid temperature is within the working fluid temperature allowable range (T3≦TW≦T4) in the predetermined time.
 
         [0064]    The control after the activation of the working fluid cooling apparatus  3  and the circulating pump (not shown) for warming-up will continue so that the working fluid temperature TW is maintained within the working fluid temperature allowable range (T3≦TW≦T4). 
       Third Embodiment 
       [0065]      FIG. 6  is a flow chart illustrating the flow of temperature control in the temperature management program executed by the third embodiment of the temperature monitor according to the present invention.  FIG. 7  is a flow chart illustrating the flow of control of the outside air temperature in  FIG. 6 .  FIG. 8  is a flow chart illustrating the flow of control of the working fluid temperature in  FIG. 6 . 
         [0066]    First, the flowchart of  FIG. 6  will be described according to each step. Each flag is set to OFF as the initial setting. 
         [0000]    [Step SC 01 ] The temperature monitor executes a control program of the outside air temperature indicated by G1 (see  FIG. 7 ) and a control program of a machining temperature indicated by G2 (see  FIG. 8 ) at the same time.
 
[Step SC 02 ] The temperature monitor determines whether a machining start flag FW is ON or not, and the process proceeds to step SC 05  after waiting until the machining start flag FW becomes ON.
 
[Step SC 03 ] The temperature monitor executes the control program of G2 and the control program of G1 at the same time, as described in step SC 01 .
 
[Step SC 04 ] The temperature monitor determines whether a machining start flag FA is ON or not, and the process proceeds to step SC 05  after waiting until the machining start flag FW becomes ON.
 
[Step SC 05 ] The temperature monitor starts machining.
 
         [0067]      FIG. 7  is a flow chart illustrating the flow of the control program G1 of the outside air temperature executed in step SC 01  of the flow chart in  FIG. 6 . Hereinafter, the flowchart of  FIG. 7  will be described according to each step. Each flag is set to OFF as the initial setting. 
         [0000]    [Step SD 01 ] The temperature monitor reads the outside air temperature TA from the outside air temperature sensor  6 .
 
[Step SD 02 ] The temperature monitor determines whether or not the read working fluid temperature TA is between the lowest value T1 and the highest value T2 of the set outside air temperature allowable range (T1≦TA≦T2) (that is, whether the working fluid temperature TA is within the set outside air temperature allowable range or not). The process proceeds to step SD 04  if the outside air temperature TA is within the outside air temperature allowable range (T1≦TA≦T2) (YES), whereas the process proceeds to step SD 03  if the outside air temperature TA is not within the outside air temperature allowable range (NO).
 
[Step SD 03 ] The temperature monitor notifies that the outside air temperature TA is not within the outside air temperature allowable range (T1≦TA≦T2) (that is, notifies that the outside air temperature TA is too high or too low) by displaying an alarm 1A and activates the air conditioner  4  to control the outside air temperature TA.
 
[Step SD 04 ] The temperature monitor calls off the alarm 1A and starts the timer 1. The timer 1 is a timer which measures a time that has elapsed since the outside air temperature TA falls within the outside air temperature allowable range (T1≦TA≦T2).
 
[Step SD 05 ] The temperature monitor determines whether or not the predetermined temperature difference disappearing time t0 for the set outside air temperature has passed after it determines that the outside air temperature TA is within the outside air temperature allowable range (T1≦TA≦T2) in step SD 02  (that is, after the timer 1 is started in step SD 04 ). The process proceeds to step SD 07  if the predetermined temperature difference disappearing time t0 has passed, whereas the process proceeds to step SD 06  if the predetermined temperature difference disappearing time t0 has not passed.
 
[Step SD 06 ] The temperature monitor displays the alarm 2A, and the process returns to step SD 05 .
 
[Step SD 07 ] The temperature monitor calls off the alarm 2A and turns on the machining start flag FA, and then the process returns to the processing shown in  FIG. 6 .
 
         [0068]      FIG. 8  is a flow chart illustrating the flow of the control program G2 of the working fluid temperature executed in step SC 03  of the flow chart in  FIG. 6 . Hereinafter, the flowchart of  FIG. 8  will be described according to each step. Each flag is set to OFF as the initial setting. 
         [0000]    [Step SE 01 ] The temperature monitor reads the working fluid temperature TW from the working fluid temperature sensor  9 .
 
[Step SE 02 ] The temperature monitor determines whether or not the read working fluid temperature TW is between the lowest value T3 and the highest value T4 of the set working fluid temperature allowable range (that is, whether the working fluid temperature TW is within the set working fluid temperature allowable range or not). The process proceeds to step SE 06  if the working fluid temperature TW is within the working fluid temperature allowable range (T3≦TW≦T4) (YES), whereas the process proceeds to step SE 03  if the working fluid temperature TW is not within the working fluid temperature allowable range (NO).
 
[Step SE 03 ] The temperature monitor determines whether or not the working fluid temperature TW read in step SE 01  is higher than the highest value T4 of the set working fluid temperature allowable range. The process proceeds to step SE 04  if the working fluid temperature TW is higher than the highest value (T4&lt;TW) of the working fluid temperature allowable range (YES), whereas the process proceeds to step SE 05  if the working fluid temperature TW is not higher than the highest value (NO).
 
[Step SE 04 ] The temperature monitor notifies that the working fluid temperature TW is higher than the highest value T4 of the working fluid temperature allowable range by displaying the alarm 1W and starts to cool the working fluid by activating the working fluid cooling apparatus  3 , and the process returns to step SE 01 .
 
[Step SE 05 ] The temperature monitor notifies that the working fluid temperature TW is lower than the lowest value T3 of the temperature allowable range by displaying the alarm 1W and performs warming-up by activating a pump which causes the working fluid to circulate, thereby starting control that raises the working fluid temperature TW, and then the process returns to step SE 01 .
 
[Step SE 06 ] The temperature monitor calls off the alarm 1W and starts the timer 2. The timer 2 is a timer which measures a time that has elapsed since the working fluid temperature TW falls within the working fluid temperature allowable range (T3≦TW≦T4).
 
[Step SE 07 ] The temperature monitor determines whether or not the predetermined temperature difference disappearing time t1 for the set working fluid temperature has passed after it determines that the working fluid temperature TW is within the working fluid temperature allowable range (T3≦TW≦T4) in step SE 02  (that is, after the timer 2 is started in step SE 06 ). The process proceeds to step SE 09  if the predetermined temperature difference disappearing time t1 has passed, whereas the process proceeds to step SE 08  if the predetermined temperature difference disappearing time t1 has not passed.
 
[Step SE 08 ] (Because the predetermined temperature difference disappearing time t1 has not passed after starting the timer in step SE 06 ), the temperature monitor notifies that the temperature difference with respect to the working fluid temperature has not disappeared by displaying the alarm 2W, and then the process returns to step SE 07 . That is, the temperature monitor waits until the predetermined temperature difference disappearing time t1 with respect to the set working fluid temperature passes while controlling the working fluid temperature TW to within the working fluid temperature allowable range (T3≦TW≦T4).
 
[Step SE 09 ] The temperature monitor calls off the alarm 2W and turns on the machining start flag FW, and then the process returns to the machining shown in  FIG. 6 .
 
         [0069]    According to the present invention, as described above, an alarm is displayed and machining is not started when the outside air temperature TA or the working fluid temperature TW is outside the respective set allowable temperature range, and after both the outside air temperature TA and the working fluid temperature TW are within the set allowable temperature ranges, machining is started after a temperature difference between the machine body or workpiece and the outside air or working fluid disappears at the temperature. Therefore, defective machining due to temperature changes will not occur so that machining with high precision can be achieved.