-1 Specification Air Conditioner 5 TECHNICAL FIELD [0001] The present invention relates to air conditioners, and in particular, to an air conditioner having a ventilating part that ventilates a room. 10 BACKGROUND ART [0002] Conventionally, there is disclosed an air conditioner, in which an indoor unit and an outdoor unit are connected with each other via a ventilation pipe, and one end of the ventilation pipe is connected to the inlet 15 side and the outlet side of an air blower provided for the outdoor unit switchably by means of a damper (JP 2003 176944 A). [0003] In the conventional air conditioner, the ventilation pipe is connected to the inlet side of the air 20 blower, and the air blower takes in indoor air via the ventilation pipe and the indoor unit and discharges the air to the outside of the room in a first switch position of the damper. On the other hand, in a second switch position of the damper, the ventilation pipe is connected to the 25 outlet side of the air blower, and the air blower supplies -2 the outdoor air to the inside of the room via the ventilation pipe and the indoor unit. By thus discharging the indoor air to the outside of the room or supplying the outdoor air to the inside of the room by the air 5 conditioner, indoor air ventilating operation is performed. [0004] The air conditioner also includes a remote controller that receives a command of an operating state from an operator and transmits a signal corresponding to the command to the indoor unit, and a control part that 10 controls the operating state of the air conditioner in accordance with the signal from the remote controller. When the operator commands the remote controller to perform ventilating operation, the control part that receives the signal from the remote controller controls the damper and 15 the air blower to perform the ventilating operation. [0005) However, in a case where power failure occurs while the ventilating operation is performed, the conventional air conditioner enters a stop state even if the power failure is recovered and sometimes fails in 20 returning to the ventilating operation before the power failure. Moreover, when the battery of the remote controller is replaced while the ventilating operation is performed, the remote controller is set back to its initial state, and a signal of the initial state is transmitted to 25 the indoor unit, sometimes stopping the air conditioner.
3 Recently, all buildings are obliged to be equipped with a mechanical ventilation facility in principle as a countermeasure to the so-called sick house syndrome due to the revision of Building Standard Law. However, there is a problem that the conventional air conditioner, which 5 sometimes stops the ventilating operation though it has not received the command of stopping the ventilating operation by the operator as described above, is therefore not able to function as a mechanical ventilation facility provided by Building Standard Law. There exists a need to provide an air conditioner capable of preventing the disadvantage that the ventilating operation stops though no command of stopping the io ventilating operation has been received from the operator. There exists a need to provide an air conditioner capable of preventing the disadvantage that the ventilating operation stops though no command of stopping the ventilating operation has been received from the operator. is Summary According to an aspect of the present disclosure, there is provided an air conditioner comprising: a ventilating part that ventilates a room; a first nonvolatile memory that stores operation information representing an 20 operating state of the ventilating part at a previous time of operation; and -4 a control part that controls operation of the ventilating part on a basis of operation information stored in the first nonvolatile memory at a present time of operation. 5 According to the above construction, when the ventilating part was in the operating state at the previous time of operation, the operation of the ventilating part is controlled to the operating state by the control part at the present time of operation on the basis of the operation 10 information that is the operation information stored in the first nonvolatile memory and represents the operating state. For example, by controlling the ventilating part so that the operating state becomes identical to the operating state at the previous time of operation even when the 15 ventilating operation stops due to, for example, power failure, the ventilating operation can be resumed at the present time of operation after recovery from the power failure. Therefore, the disadvantage that the ventilating operation stops though no command for stopping the 20 ventilating operation has been received as in the conventional case can be prevented. The air conditioner of the above aspect further comprises: an indoor unit having the first nonvolatile 25 memory, a receiving part that receives a command signal for 5 commanding the operating state of the ventilating part and a transmitting part that transmits an operation information signal representing the operation information stored in the first nonvolatile memory; and a wireless remote controller having a transmitting part that transmits the s command signal and a receiving part that receives the operation information signal. wherein the wireless remote controller, upon being set back to an initial state, communicates with the indoor unit to obtain operation information stored in the first non volatile memory and the operation information, at least after recovery from a power failure, is prevented from differing between the wireless remote controller and the indoor 10 unit. According to the embodiment, the command signal is transmitted from the transmitting part of the remote controller on the basis of the input to the remote controller by the operator. The command signal is received by the receiving part of the indoor unit, and the ventilating part is controlled to the operating state corresponding to the command 15 signal. Moreover, the operation information signal that represents the operation information stored in the first non-volatile memory of the indoor unit is transmitted by the transmitting part of the indoor unit. The operation information signal is received by the receiving part of the remote controller. Therefore, since the remote controller can obtain 20 the information identical to the operation information stored in the first non-volatile memory of the indoor unit even when the operating state is set back to the initial state due to, for example, replacement of the battery of the remote controller, the operation information -6 can be prevented from differing between the remote controller and the indoor unit. Therefore, the disadvantage that the command signal of the initial state is transmitted from the remote controller set back to the 5 initial state to the indoor unit and the operation of the ventilating part stops though no command of stopping the ventilating operation is inputted to the remote controller can be prevented. [0014] In one embodiment of the invention, the air 10 conditioner further comprises: an outdoor unit having a second nonvolatile memory that stores the operation information of the ventilating part at the previous time of operation. [0015] According to the above embodiment, the operation 15 information of the ventilating part at the previous time of operation is stored in the second nonvolatile memory of the outdoor unit. Therefore, the operation information of the ventilating part can be backed up in preparation for the vanishment of the operation information in the first 20 nonvolatile memory due to, for example, the failure or replacement of the indoor unit. [0016] In one embodiment of the invention, the remote controller comprises: -7 a third nonvolatile memory that stores the operation information of the ventilating part at the previous time of operation, and the transmitting part transmits the operation 5 information signal that represents the operation information stored in the third nonvolatile memory to the indoor unit. [0017] According to the above embodiment, the operation information of the ventilating part at the previous time of 10 operation is stored in the third nonvolatile memory of the remote controller. The operation information signal that represents the operation information stored in the third nonvolatile memory is transmitted to the indoor unit by the transmitting part. By this operation, the operation 15 information of the ventilating part at the previous time of operation can be backed up in preparation for the vanishment of the operation information in the first or second nonvolatile memory due to, for example, replacement or another cause of electrical components. 20 [0018] In one embodiment of the invention, when the receiving part of the indoor unit does not receive the command signal for commanding execution of ventilation of the ventilating part at the present time of operation and the operating state of the ventilating part at the previous 25 time of operation represented by the operation information -8 stored in the first nonvolatile memory, the second nonvolatile memory or the third nonvolatile memory is execution of ventilation, the control part controls the operation of the ventilating part on a basis of the stored 5 operation information so that the operating state becomes identical to the operating state at the previous time of operation. [0019] According to the above embodiment, when the receiving part does not receive the command signal that 10 commands the execution of the ventilation of the ventilating part at the present time of operation, the operation information stored in the first nonvolatile memory, the second nonvolatile memory or the third nonvolatile memory is referred to. When the operating 15 state of the ventilating part at the previous time of operation represented by the operation information stored in the first nonvolatile memory, the second nonvolatile memory or the third nonvolatile memory indicates the execution of ventilation, the operation of the ventilating 20 part is controlled so as to enter the operating state identical to the operating state at the previous time of operation on the basis of the stored operation information. Therefore, when, for example, the previous operation has stopped due to, for example, power failure, the ventilating 25 operation can be resumed as in the previous operation even -9 if the command of executing ventilation is not received from the operator at the time of resuming the present operation. It is noted that the control part may control the operation of the ventilating part at the present time 5 of operation so as to enter the operating state identical to at least part of the operating state at the previous time of operation. As described above, the air conditioner of an aspect the present invention includes the Ventilating part that 10 ventilates the room, the first nonvolatile memory that stores the operation information representing the operating state of the ventilating part at the previous time of operation, and the control part that controls the operation of the ventilating part on the basis of the operation 15 information stored in the first nonvolatile memory at the present time of operation. Therefore, even when the ventilating operation stops due to, for example, power failure, the ventilating operation can be resumed at the present time of operation after recovery from the power 20 failure. Therefore, the disadvantage that the ventilating operation stops after recovery from power failure as in the conventional case can be prevented. BRIEF DESCRIPTION OF THE DRAWINGS -10 [0021] The present invention will become more fully understood from the detailed description given hereinbelow and the accompanying drawings which are given by way of illustration only, and thus are not intended to limit the 5 present invention, and wherein: [0022] FIG. 1 is a schematic view showing an air conditioner according to a first embodiment of the present invention; [0023] FIG. 2 is a flow chart showing processing 10 executed by a control part of the air conditioner of the first embodiment; [0024] FIG. 3 is a schematic view showing an air conditioner according to a second embodiment of the present invention; 15 [0025] FIG. 4A is a flow chart showing processing executed by a control part of the air conditioner of the second embodiment; [0026] FIG. 4B is a flow chart showing processing executed by a control part of the air conditioner of the 20 second embodiment. DETAILED DESCRIPTION OF THE INVENTION [0027] The present invention will now be described in detail below by the embodiments shown in the drawings. 25 (First Embodiment) -11 [0028] FIG. 1 is a schematic view showing an air conditioner according to a first embodiment of the present invention. [0029] The air conditioner includes an indoor unit 1 5 placed on a wall surface or the like of a room, and an outdoor unit 2 placed outside the room, and the indoor unit 1 and the outdoor unit 2 are connected with each other via a refrigerant piping 5, a ventilation pipe 6 and a connection wiring 8. 10 (0030] The indoor unit 1 has an indoor heat exchanger (not shown) to which a refrigerant is supplied from the outdoor unit 2 via the refrigerant piping 5 and a crossflow fan that guides wind to the indoor heat exchanger. Moreover, an opening that communicates with the ventilation 15 pipe 6 is provided on a wind passage generated by the crossflow fan, forming a structure in which outdoor air is supplied to the inside of a room and the indoor air is discharged to the outside of the room via the opening. [0031] Moreover, the indoor unit 1 has an infrared ray 20 transmitting and receiving part 13 that transmits and receives an infrared signal between the part and a wireless remote controller 3 as a remote controller described later. In detail, the infrared ray transmitting and receiving part 13 receives command signals for commanding the operating 25 states of an operating mode, a preset temperature, a preset -12 air volume, a wind direction and so on from the wireless remote controller 3 and transmits an operation information signal that represents the operating state of the air conditioner to the wireless remote controller 3. As 5 described above, the infrared ray transmitting and receiving part 13 functions as a receiving part and a transmitting part. [0032] The wireless remote controller 3 has an input part to which the operating states of the preset 10 temperature, preset air volume, wind direction and so on are commanded and inputted by an operator in the room. The wireless remote controller 3 also has an infrared ray transmitting and receiving part 31 that transmits and receives an infrared signal between the part and the indoor 15 unit 1 to transmit a command signal corresponding to the input to the input part to the indoor unit 1 and receive an operation information signal concerning the operation information from the indoor unit 1. As described above, the infrared ray transmitting and receiving part 31 20 functions as a receiving part and a transmitting part. [0033] The indoor unit 1 further includes a first EEPROM (Electrically Erasable Programmable Read-Only Memory) 11 as a first nonvolatile memory that stores the operation information representing the operating state of the air 25 conditioner at the present time of operation.
-13 [0034] The indoor unit 1 further includes an information communicating part that carries out information communication between the unit and the outdoor unit 2 to transmit the command signal received from the wireless 5 remote controller 3 to the outdoor unit 2. The information communicating part transmits an operation information signal that represents the operation information (information identical to the information to be stored in the first EEPROM 11) at the present time of operation to 10 the outdoor unit 2 and receives the operation information signal concerning the air conditioner at the previous time of operation from the outdoor unit 2. [0035] The outdoor unit 2 includes an outdoor unit 21 and a humidifying unit 22. A compressor that compresses a 15 refrigerant, an expander that reduces the pressure by adiabatically expanding the refrigerant, an outdoor heat exchanger that exchanges heat between the refrigerant and outdoor air and a four-way changeover valve for changeover between cooling operation and heating operation by changing 20 the direction of flow of the refrigerant are housed in the outdoor unit 21. Moreover, electrical components are housed in the outdoor unit 21, and the electrical components include a power circuit of the air conditioner and a control part 7 constructed of a CPU. The CPU reads a 25 control program stored in a ROM and executes control of the -14 air conditioner. The refrigerant piping 5 is connected to the outdoor unit 21 and supplied with the refrigerant of prescribed temperature and pressure by changeover control of the four-way changeover valve and capacity control of 5 the compressor. [0036] On the other hand, a humidifying rotor formed of a moisture adsorbent material such as zeolite, an air blower to which the humidifying rotor is selectively connected to the inlet side, and a connection damper that 10 connects the ventilation pipe 6 to the inlet side or the outlet side of the air blower in a changeover manner are housed in the humidifying unit 22 of the outdoor unit 2. In a first switch position of the connection damper, the ventilation pipe 6 is connected to the inlet side of the 15 air blower, and the air blower takes in the indoor air via the ventilation pipe 6 and the indoor unit 1 and discharges the air to the outside of the room. On the other hand, in a second switch position of the connection damper, the ventilation pipe 6 is connected to the outlet side of the 20 air blower, and the air blower supplies the outdoor air humidified via the humidifying rotor or the outdoor air that does not pass through the humidifying rotor into the room via the ventilation pipe 6 and the indoor unit 1. [0037] The indoor air ventilating operation is thus 25 performed by discharging the indoor air to the outside of -15 the room via the indoor unit 1, the ventilation pipe 6 and the outdoor unit 2 or supplying the outdoor air into the room. That is, a ventilating part is constructed of an opening formed in the ventilation flue of the indoor unit, 5 the ventilation pipe 6 that communicates with the opening, the air blower connected to the ventilation pipe 6 and the connection damper that switches the connection of the ventilation pipe 6 to the air blower. [0038] The outdoor unit 2 further includes an 10 information communicating part that carries out information communication between the unit and the indoor unit 1 to receive the command signal, which has been transmitted from the wireless remote controller 3 and received by the transmitting and receiving part 13 of the indoor unit 1, 15 from the information communicating part of the indoor unit 1. A second EEPROM 23 that stores the operation information at the present time of operation that the information communicating part has received from the indoor unit 1 is further provided. 20 [0039] The control part 7 provided for the electrical components in the outdoor unit 21 carries out capacity control and start/stop of the compressor, changeover of the four-way changeover valve, capacity control and start/stop of the air blower and changeover of the connection damper 25 on the basis of the command signal from the indoor unit 1.
-16 Moreover, the control part 7 controls storage and read from and to the first EEPROM 11, transmission and reception to and from the wireless remote controller 3 and storage and read from and to the second EEPROM 23 regarding the 5 operation information of the air conditioner. [0040] The ventilating operation by the air conditioner of the above construction is described with reference to the flow chart of FIG. 2. The flow chart shows the processing executed by the control part 7. 10 [0041] First of all, power of the air conditioner is turned on to start up the air conditioner (step Sl). The control part 7 is started up by turning on the power and determines whether or not the command signal of the contents to turn on the ventilating operation has been 15 received from the wireless remote controller 3 (step S2). When it is determined that the command signal for turning on the ventilating operation has been received from the wireless remote controller 3, information that represents the on-state of the ventilating operation is stored into 20 the first EEPROM 11 of the indoor unit 1 (step S3). Subsequently, information that represents the on-state of the ventilating operation is stored into the second EEPROM 23 of the outdoor unit 2 (step S4). [0042] Subsequently, it is determined whether the 25 command signal from the wireless remote controller 3 has -17 the contents representing the on-state of the ventilating operation or the contents representing the off-state of the ventilating operation (step S5). [0043] When it is determined that the command signal for 5 turning on the ventilating operation is not received from the wireless remote controller 3 in step S2, the information stored in the first EEPROM 11 of the indoor unit 1 is read to determine whether or not the ventilating operation has been on at the previous time of operation 10 (step S7) When the information stored in the first EEPROM 11 is the information of the on-state of the ventilating operation and it is determined that the ventilating operation has been on at the previous time of operation, the program flow proceeds to the step SS. 15 [0044] When the information stored in the first EEPROM 11 is the information of the off-state of the ventilating operation in the step S7, the information stored in the second EEPROM 23 is read to determine whether or not the ventilating operation has been on at the previous time of 20 operation (step S10) When it is determined that the information stored in the second EEPROM 23 is the information of the on-state of the ventilating operation and the ventilating operation has been on at the previous time of operation, information that represents the on-state 25 of the ventilating operation is stored into the first -18 EEPROM 11 (step Sll) Subsequently, operation information that represents the on-state of the ventilating operation is transmitted to the wireless remote controller 3 (step S12). Thereafter, the program flow proceeds to the step 5 S5. [0045] When the information stored in the second EEPROM 23 is the information of the off-state of the ventilating operation in the step S10, the program flow proceeds to the step S5. 10 [0046] When the command signal from the wireless remote controller 3 has the contents that represent the on-state of the ventilating operation in step S5, the ventilating operation is executed (step S6). That is, the connection damper of the outdoor unit 2 is switched to connect the 15 ventilation pipe 6 to the inlet side or the outlet side of the air blower, and the air blower is started up. [0047] When the command signal from the wireless remote controller 3 has the contents that represent the off-state of the ventilating operation in step S5, it is determined 20 whether or not the information stored in the first EEPROM 11 represents the on-state of the ventilating operation (step S8) . When the information stored in the first EEPROM 11 represents the on-state of the ventilating operation, the program flow proceeds to the step S6 to execute the 25 ventilating operation.
-19 [0048] When the information stored in the first EEPROM 11 is the off-state of the ventilating operation in the step S8, the ventilating operation is brought into a stop state (step S9). 5 [0049] After the step S6 and step S9, the program flow returns to step S2 to determine whether or not the command signal of the on-state of the ventilating operation has been received from the wireless remote controller 3. [0050] As described above, when the command to perform 10 the ventilating operation is inputted to the remote controller by the operator, in the air conditioner of the present embodiment, the ventilating operation is performed in accordance with the command signal from the remote controller. Even in a case where the command to perform 15 the ventilating operation is not inputted to the remote controller by the operator, the ventilating operation can be resumed on the basis of the information of the on-state of the operation stored in the first EEPROM 11 or the second EEPROM 23 when the ventilating operation has been 20 performed at the previous time of operation. Therefore, even when the ventilating operation is stopped by, for example, power failure, the ventilating operation identical to the operation at the previous time of operation before the power failure can be resumed at the present time of 25 operation after recovery from the power failure even if the -20 operator does not input the turning-on of the ventilating operation. Therefore, the conventional disadvantage that the ventilating operation cannot be resumed after recovery from power failure and brought into the stop state though 5 no command for stopping the ventilating operation has been received can effectively be prevented. It is noted that the setting state of the air volume, wind direction and so on other than the operating state may be set back, at the present time of operation, to the initial state or to the 10 state at the previous time of operation by storing also the setting state of the previous time of operation in the first EEPROM 11. [0051] Moreover, since the signal that represents the operation information stored in the first EEPROM 11 is 15 transmitted to the wireless remote controller 3 regarding the operation information of the ventilating part, the operation information can be prevented from differing between the indoor unit 1 and the wireless remote controller 3 even when the wireless remote controller 3 is 20 set back to the initial state due to, for example, replacement of battery. Therefore, the disadvantage that the command signal in the initial state is transmitted to the indoor unit 1 and the operation of the ventilating part stops though no command for stopping the ventilating -21 operation is inputted by the operator to the wireless remote controller 3 can be prevented. [0052] Furthermore, since backup is performed by storing the operation information to be stored in the first EEPROM 5 11 of the indoor unit 1 also in the second EEPROM 23 of the outdoor unit 2, the ventilating operation can be continued on the basis of the operation information stored in the second EEPROM 23 even if the operation information of the first EEPROM 11 vanishes due to, for example, the trouble 10 or replacement of the indoor unit 1. [0053] As described above, the air conditioner of the present embodiment can continue the execution of the ventilating operation under the power on condition until receiving the command for turning off the ventilating 15 operation by the operator, even when power failure, trouble of the indoor unit 1, initialization of the wireless remote controller 3 or the like occurs. As a result, the air conditioner can function as a ventilator prescribed in the provision of Building Standard Law. 20 (Second Embodiment) [0054] FIG. 3 is a schematic view showing an air conditioner according to another embodiment of the present invention. [0055] As shown in FIG. 3, an indoor unit 1 and an 25 outdoor unit 2 are connected with each other via a -22 refrigerant piping 5, a ventilation pipe 6 and a connection wiring 8 in the air conditioner of the second embodiment as in the air conditioner of the first embodiment. [0056] In the air conditioner of the present embodiment, 5 operation information at the present time of operation is stored into a third EEPROM 33 in addition to the first EEPROM 11 and the second EEPROM 23. With this arrangement, even if the operation information stored in the first and second EEPROM's 11 and 23 vanish due to the trouble of the 10 indoor unit and the outdoor unit, replacement of electrical components or the like, ventilating operation similar to that at the previous time of operation can be performed on the basis of the operation information stored in the third EEPROM 33. 15 [0057] In the present embodiment, components similar to the components of the first embodiment are denoted by the same reference numerals as those used in the first embodiment, and no detailed description is provided for them. 20 [0058] In the air conditioner of the present embodiment, the wireless remote controller 3 has the third EEPROM 33. Operation information received from the indoor unit 1 is written into the third EEPROM 33, and operation information to be transmitted to the indoor unit 1 is read from the 25 third EEPROM 33. The wireless remote controller 3 -23 transmits the operation information read from the third EEPROM 33 to the indoor unit 1 in addition to the command signal corresponding to the input to the input part by the operator by means of an infrared ray transmitting and 5 receiving part 31 that transmits and receives an infrared signal between the controller and the indoor unit 1. Moreover, the operation information to be written into the third EEPROM 33 is received from the indoor unit 1 by the infrared ray transmitting and receiving part 31. The 10 wireless remote controller 3 further includes an input part for inputting by the operator in the room as in the case of the wireless remote controller 3 of the first embodiment. [0059] Moreover, the infrared ray transmitting and receiving part 13 of the indoor unit 1 receives the 15 operation information signal that represents the operation information stored in the third EEPROM 33 from the wireless remote controller 3 in addition to the command signal that issues commands of the operating mode, preset temperature, preset air volume, wind direction and so on, or the 20 operating states of the air conditioner. Moreover, the infrared ray transmitting and receiving part 13 of the indoor unit 1 transmits an operation information signal, which represents the operation information of the air conditioner that should be stored in the third EEPROM 33, 25 to the wireless remote controller 3.
-24 [0060] FIGS. 4A and 4B are flow charts showing the processing executed in the control part 7 of the air conditioner of the present embodiment. The ventilating operation of the air conditioner of the present embodiment 5 is described with reference to the flow charts of FIGS. 4A and 4B. [0061] First of all, the power of the air conditioner is turned on to start up the air conditioner (step Sl) and start up the control part 7, and it is determined whether 10 or not the command signal of the contents of turning on the ventilating operation has been received from the wireless remote controller 3 (step S2). When it is determined that the command signal for turning on the ventilating operation has been received from the wireless remote controller 3, 15 information that represents the on-state of the ventilating operation is stored into the first EEPROM 11 of the indoor unit 1 (step S3). Subsequently, information that represents the on-state of the ventilating operation is stored into the second EEPROM 23 of the outdoor unit 2 20 (step S4) . Further, information that represents the on state of the ventilating operation is transmitted to the wireless remote controller 3, and the information that represents the on-state of the ventilating operation is stored into the third EEPROM 33 of the wireless remote 25 controller (step S5).
-25 [0062] Subsequently, it is determined whether the command signal from the wireless remote controller 3 has the contents representing the on-state of the ventilating operation or the contents representing the off-state of the 5 ventilating operation (step S6). [0063] When it is determined that the command signal for turning on the ventilating operation is not received from the wireless remote controller 3 in step S2, the information stored in the first EEPROM 11 of the indoor 10 unit 1 is read to determine whether or not the ventilating operation has been on at the previous time of operation (step S8). When the information stored in the first EEPROM 11 is the information of the on-state of the ventilating operation and it is determined that the ventilating 15 operation has been on at the previous time of operation, the program flow proceeds to the step S6. [0064] When the information stored in the first EEPROM 11 is the information of the off-state of the ventilating operation in the step S8, the information stored in the 20 second EEPROM 23 is read to determine whether or not the ventilating operation has been on at the previous time of operation (step S11). When it is determined that the information stored in the second EEPROM 23 is the information of the on-state of the ventilating operation 25 and the ventilating operation has been on at the previous -26 time of operation, information that represents the on-state of the ventilating operation is stored into the first EEPROM 11 (step S12) Subsequently, operation information that represents the on-state of the ventilating operation 5 is transmitted to the wireless remote controller 3, information that represents the on-state of the ventilating operation is stored into the third EEPROM 33 of the wireless remote controller (step S13). Thereafter, the program flow proceeds to the step S6. 10 [0065] When the information stored in the second EEPROM 23 is the information of the off-state of the ventilating operation in the step Sll, the wireless remote controller 3 is commanded to read the information stored in the third EEPROM 33 and transmit the information to the indoor unit, 15 and it is determined whether or not the ventilating operation has been on at the previous time of operation on the basis of the information received by the indoor unit (step S14). When the information stored in the third EEPROM 33 is the information of the on-state of the 20 ventilating operation and it is determined that the ventilating operation has been on at the previous time of operation, the information that represents the on-state of the ventilating operation is stored into the first EEPROM 11 (step S15). Subsequently, the information that 25 represents the on-state of the ventilating operation is -27 stored into the second EEPROM 23 of the outdoor unit 2 (step S16) Thereafter, the program flow proceeds to the step S6. [0066] When the information stored in the third EEPROM 5 33 represents the off-state of the ventilating operation and it is determined that the ventilating operation has been off at the previous time of operation in the step 514, the program flow proceeds to the step S6. [0067] When the command signal from the wireless remote 10 controller 3 has the contents that represent the on-state of the ventilating operation in the step S6, the ventilating operation is executed (step S7). [0068] When the command signal from the wireless remote controller 3 has the contents that represent the off-state 15 of the ventilating operation in step S6, it is determined whether or not the information stored in the first EEPROM 11 represents the on-state of the ventilating operation (step S9) . When the information stored in the first EEPROM 11 represents the on-state of the ventilating operation, 20 the program flow returns to the step S7 to execute the ventilating operation. [0069] When the information stored in the first EEPROM 11 is the off-state of the ventilating operation in the step S9, the ventilating operation is brought into a stop 25 state (step S10).
-28 [0070] After the step S7 and step S10, the program flow returns to step S2 to determine whether or not the command signal of the on-state of the ventilating operation has been received from the wireless remote controller 3. 5 [0071] As described above, when the command to perform the ventilating operation is inputted to the remote controller by the operator, in the air conditioner of the present embodiment, the ventilating operation is performed in accordance with the command signal from the remote 10 controller. Even in a case where the command to perform the ventilating operation is not inputted to the remote controller by the operator, the ventilating operation can be resumed on the basis of the information of the on-state of the operation stored in the first EEPROM 11, the second 15 EEPROM 23 or the third EEPROM 33 when the ventilating operation has been performed at the previous time of operation. Therefore, even if the information stored in the first and EEPROM 11 and the second EEPROM 23 vanish due to, for example, replacement, malfunction or the like of 20 electrical components, the air conditioner of the present embodiment can resume the ventilating operation similar to that at the previous time of operation at the present time of operation regardless of an input by the operator. [0072] Although the information that represents the on 25 state of the ventilating operation is stored in the third -29 EEPROM 33 by receiving the command signal for turning on the ventilating operation from the wireless remote controller 3 and thereafter transmitting the information that represents the on-state of the ventilating operation 5 to the wireless remote controller 3 (step S5) in the second embodiment, it is acceptable to store the information that represents the on-state of the ventilating operation into the third EEPROM 33 when the input of turning on the ventilating operation is made by the operator to the 10 wireless remote controller 3. In this case, the step SS may be removed. [0073] Moreover, when the information of the on-state of the ventilating operation is stored in the second EEPROM 23 or the third EEPROM 33, the information is once stored in 15 the first EEPROM 11 and thereafter the ventilating operation is executed by reading the information stored in the first EEPROM 11 in the first and second embodiments. However, the ventilating operation may immediately be executed by reading the information of the on-state of the 20 ventilating operation stored in the second EEPROM 23 or the third EEPROM 33. [0074] Moreover, although the first EEPROM 11 is provided as the first nonvolatile memory for the indoor unit 1, the first nonvolatile memory needs not be provided 25 for the indoor unit 1 but allowed to be provided for the -30 outdoor unit 2 or the wireless remote controller 3. For example, it is acceptable to remove the first EEPROM 11 of the indoor unit 1 and make the second EEPROM 23 of the outdoor unit 2 or the third EEPROM 33 of the wireless 5 remote controller 3 function as the first EEPROM 11. [0075] Moreover, in the first and second embodiments, ventilation means at least one of supply of outdoor air into a room and discharge of indoor air to the outside of the room. Moreover, supply of outdoor air into a room and 10 discharge of indoor air to the outside of the room may alternately be performed on the basis of the input condition by the operator or another condition. [0076] Moreover, although the information of the on state and the off-state of the ventilating operation at the 15 previous time of operation is stored in the first, second and third EEPROM's 11, 23 and 33 in the first and second embodiments, it is acceptable to store the information of distinction between intake and discharge of air, air volume, wind direction, presence or absence of humidifying 20 operation, preset temperature and so on of the ventilating operation besides the information of the on-state or the off-state of the ventilating operation. [0077] Moreover, although the ventilation pipe 6 is connected to the humidifying unit 22 that has the 25 humidifying rotor in the outdoor unit 2, the ventilation -31 pipe 6 may be connected to an air blower unit that has no humidifying rotor. [0078] Moreover, the ventilating part may be constructed of a ventilation pipe of which one end communicates with 5 the indoor unit and the other end is opened to the outside of the room and a fan that is provided for the indoor unit and discharges indoor air to the outside of the room or guides outdoor air to the inside of the room via the ventilation pipe. 10 [0079] Moreover, the nonvolatile memory may be provided by a RAM or a magnetic recording device such as a hard disk besides EEPROM and is, in short, required to be a memory that can maintain the storage state even when the power is cut off. 15 [0080] Moreover, although the air conditioner is constituted by connecting the indoor unit 1 with the outdoor unit 2 via the ventilation pipe 6, the refrigerant piping 5 and the connection wiring 8, it is acceptable to integrally form the indoor unit 1 with the outdoor unit 2. 20 [0081] Embodiments of the invention being thus described, it will be obvious that the same may be varied in many ways. Such variations are not to be regarded as a departure from the spirit and scope of the invention, and all such modifications as would be obvious to one skilled -32 in the art are intended to be included within the scope of the following claims.