JP2006177630A - Multiterminal communication system, and air conditioner equipped therewith - Google Patents

Multiterminal communication system, and air conditioner equipped therewith Download PDF

Info

Publication number
JP2006177630A
JP2006177630A JP2004372826A JP2004372826A JP2006177630A JP 2006177630 A JP2006177630 A JP 2006177630A JP 2004372826 A JP2004372826 A JP 2004372826A JP 2004372826 A JP2004372826 A JP 2004372826A JP 2006177630 A JP2006177630 A JP 2006177630A
Authority
JP
Japan
Prior art keywords
address
command
outdoor unit
indoor unit
terminal device
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2004372826A
Other languages
Japanese (ja)
Inventor
Izumi Yoshida
泉 吉田
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP2004372826A priority Critical patent/JP2006177630A/en
Publication of JP2006177630A publication Critical patent/JP2006177630A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Air Conditioning Control Device (AREA)
  • Small-Scale Networks (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To allow an outdoor unit to know the existence of an indoor unit even when the indoor unit fed with an electric power source exists after automatic address setting is finished, when a polling system is adopted as a communication system between the outdoor unit and the indoor unit. <P>SOLUTION: The existence of the indoor unit 23 not imparted with an address with respect to the outdoor unit 10 is recognized while evading collision of the communication with the indoor unit having no other address, by determining notification timing in response to a lapse time after the power source of the indoor unit 23 is fed, when determining the notification timing of the address not set yet, in the indoor unit 23 having no address. <P>COPYRIGHT: (C)2006,JPO&NCIPI

Description

本発明は、中央装置と複数の端末装置との間における多端末通信方式に関する。   The present invention relates to a multi-terminal communication method between a central device and a plurality of terminal devices.

従来この種の中央装置と複数台の端末装置との間におけるポーリング方式を用いた多端末通信方式においては、中央装置は制御対象となる端末装置を管理する為に必要なアドレスを付与する必要がある。アドレス付与後は、その付与されたアドレスを用いて中央装置と端末装置の通信が実施される。   Conventionally, in a multi-terminal communication method using a polling method between this type of central device and a plurality of terminal devices, it is necessary for the central device to give an address necessary for managing the terminal device to be controlled. is there. After the address is assigned, communication between the central device and the terminal device is performed using the assigned address.

このアドレスを設定する方法として、端末装置に各々アドレススイッチを設けて設定する場合と、中央装置が複数台の端末装置に対し、通信をしながらアドレスを付与する場合がある。   As a method for setting this address, there are a case where each terminal device is provided with an address switch, and a case where the central device assigns an address to a plurality of terminal devices while communicating.

アドレススイッチによる設定は、台数が多くなると作業が煩雑となり、また、作業者による設定誤り等の課題が存在するため、現在では中央装置が複数台の端末装置に対し、通信をしながらアドレスを付与する方式が広く実施されており、この方法は自動アドレス設定と呼ばれている。   Setting with the address switch becomes complicated when the number is large, and there are problems such as setting errors by workers, so the central unit now gives addresses to multiple terminal units while communicating This method is widely implemented, and this method is called automatic address setting.

従来、この種のアドレス設定方法としては、例えば個々の室内機に書きこまれた固有の数値を利用して、制御用のアドレスを付与しているものがあった(特許文献1参照)。   Conventionally, as this type of address setting method, for example, there is a method of assigning a control address using a unique numerical value written in each indoor unit (see Patent Document 1).

図14は、特許文献1に記載された空気調和機の構成を示す概略図、図15は、特許文献1に記載された室外機と室内機との内部機構を示す概略図、図16は、特許文献1に記載された自動アドレス設定を行う際にCPUによって実現される機能ブロックを示す概略図である。以下図14、図15及び図16を用いて特許文献1に記載の自動アドレス設定方法を説明する。   FIG. 14 is a schematic diagram illustrating a configuration of an air conditioner described in Patent Document 1, FIG. 15 is a schematic diagram illustrating an internal mechanism of the outdoor unit and the indoor unit described in Patent Document 1, and FIG. It is the schematic which shows the functional block implement | achieved by CPU when performing the automatic address setting described in patent document 1. FIG. Hereinafter, the automatic address setting method described in Patent Document 1 will be described with reference to FIGS. 14, 15 and 16.

図14に示す様に、この空気調和機300には、一台の室外機310と複数の室内機321〜324が設けられている。室外機310と各室内機321〜324とは、通信ライン340を介して相互に通信可能となっている。   As shown in FIG. 14, the air conditioner 300 is provided with one outdoor unit 310 and a plurality of indoor units 321 to 324. The outdoor unit 310 and the indoor units 321 to 324 can communicate with each other via the communication line 340.

図15において、室外機310には、CPU311とEEPROM312とデータ送信部310aとデータ受信部310bとが設けられている。また、室内機321には、CPU411とEEPROM412とデータ送信部321aとデータ受信部321bとが設けられている。   In FIG. 15, the outdoor unit 310 is provided with a CPU 311, an EEPROM 312, a data transmission unit 310 a, and a data reception unit 310 b. Further, the indoor unit 321 is provided with a CPU 411, an EEPROM 412, a data transmission unit 321a, and a data reception unit 321b.

EEPROM312、412には、室外機や各室内機それぞれの製造時に付与される固有のシリアル番号(識別番号)や通信のために設定されるアドレスなどが格納される。   The EEPROMs 312 and 412 store a unique serial number (identification number) given at the time of manufacture of the outdoor unit and each indoor unit, an address set for communication, and the like.

なお、図14に記載されている他の室内機322〜324についても図15に示した室内機321と同様である。   The other indoor units 322 to 324 shown in FIG. 14 are the same as the indoor unit 321 shown in FIG.

室外機310のCPU311は、通常運転時において複数の室内機321〜324のそれぞれに対して個別にコンプレッサや室内ファン等の動作を制御する制御信号を送受信する必要があることから、通常運転に先だって自動的に各室内機に対してアドレスを付与する自動アドレス設定が行われる。   Prior to normal operation, the CPU 311 of the outdoor unit 310 needs to transmit and receive control signals for controlling the operation of the compressor, the indoor fan, etc. to each of the plurality of indoor units 321 to 324 during normal operation. Automatic address setting for automatically assigning an address to each indoor unit is performed.

室内機321のCPU411は、自動アドレス設定の際に通信ライン340を介して室外機310のCPU311から受信する各種コマンドに対して応答メッセージを送出したり又は無応答状態となったりする機能を有している。   The CPU 411 of the indoor unit 321 has a function of sending a response message to various commands received from the CPU 311 of the outdoor unit 310 via the communication line 340 or setting a no-response state during automatic address setting. ing.

以下、自動アドレス設定を室外機310のCPU311が行う場合を例にあげて説明する。   Hereinafter, the case where the CPU 311 of the outdoor unit 310 performs automatic address setting will be described as an example.

図16は、自動アドレス設定を行う際に室外機310のCPU311によって実現される機能ブロック図である。CPU311は、まず、アドレスリセット部311aとして機能し、通信ライン340に接続されている複数の室内機321〜324のアドレスをリセットさせる。そして、CPU311は、各室内機321〜324においてアドレスがリセットされたことを確認すると、アドレス未設定検出部311bとして機能し、複数の室内機321〜324のうちで未だアドレスが設定されていない室内機が存在するか否かを検出する。そして、アドレスの未設定室内機が存在すれば、そのうちでシリアル番号の最も小さい又は最も大きい室内機から順次特定し、固有のアドレスを付与すべく、アドレス設定部311cとして機能して、一台の室内機を特定してその室内機に対してアドレスを設定付与する。CPU311は、一つの室内機に対するアドレス設定を完了すると、再びアドレス未設定検出部311bとして機能し、上記と同様に、未だアドレスが設定されていない室内機が存在するか否かを検出する。全ての室内機321〜324に既にアドレスが設定付与されている場合は、CPU311は、アドレス確認部311dとして機能し、各室内機のアドレスを確認する。そして、各室内機321〜324に対して設定されたアドレスに異常がない場合には、その後空気調和機の通常運転へと移行していくように構成されている。   FIG. 16 is a functional block diagram realized by the CPU 311 of the outdoor unit 310 when automatic address setting is performed. First, the CPU 311 functions as the address reset unit 311 a and resets the addresses of the plurality of indoor units 321 to 324 connected to the communication line 340. When the CPU 311 confirms that the address has been reset in each of the indoor units 321 to 324, the CPU 311 functions as the address non-setting detection unit 311b, and the indoor unit 321 to 324 in which an address has not yet been set. Detect whether there is a machine. Then, if there is an indoor unit whose address is not set, the indoor unit having the smallest serial number or the largest serial number is sequentially identified and functions as the address setting unit 311c to assign a unique address. An indoor unit is identified and an address is set and assigned to the indoor unit. When the CPU 311 completes address setting for one indoor unit, it functions as the address non-setting detection unit 311b again, and detects whether there is an indoor unit for which no address has been set as described above. When addresses are already set and assigned to all the indoor units 321 to 324, the CPU 311 functions as the address confirmation unit 311d and confirms the address of each indoor unit. And when there is no abnormality in the address set with respect to each indoor unit 321-324, it is comprised so that it may transfer to normal operation of an air conditioner after that.

次に、各室内機に設定されているシリアル番号を例えば24ビットのデータとした場合に、一台の室内機を特定する方法を説明する。   Next, a method for specifying one indoor unit when the serial number set for each indoor unit is, for example, 24-bit data will be described.

例えば、室内機321の24ビットで表現されたシリアル番号が「10111・・・」であり、室内機322の24ビットで表現されたシリアル番号が「10110・・・」であり、室内機323の24ビットで表現されたシリアル番号が「10100・・・」であり、室内機324の24ビットで表現されたシリアル番号が「10000・・・」であったとする。   For example, the serial number expressed by 24 bits of the indoor unit 321 is “10111...”, The serial number expressed by 24 bits of the indoor unit 322 is “10110. It is assumed that the serial number expressed by 24 bits is “10100...” And the serial number expressed by 24 bits of the indoor unit 324 is “10000.

まず、室外機310のCPU311は、上位1ビット目の値が1である室内機が応答するように指令を送信すると、全ての室内機321〜324の1ビット目が1であるため、全ての室内機321〜324が応答メッセージを送信する。このとき、各室内機321〜324のCPUは通信ライン340をモニタする事により、自己以外の室内機も応答メッセージを送信したことを認識することができる。   First, when the CPU 311 of the outdoor unit 310 transmits a command so that the indoor unit whose upper first bit value is 1, the first bit of all the indoor units 321 to 324 is 1, The indoor units 321 to 324 transmit response messages. At this time, by monitoring the communication line 340, the CPUs of the indoor units 321 to 324 can recognize that other indoor units have transmitted the response message.

次に、CPU311は、上位2ビット目の値が1である室内機が応答するように指令を送信するが、全ての室内機321〜324の2ビット目が0であるため、全ての室内機321〜324が無応答状態となる。このとき、各室内機321〜324のCPUは通信ライン340をモニタする事により、自己以外の室内機も無応答状態であることを認識することが出来る。ここで、各室内機321〜324のCPUは、自己が無応答状態となり、かつ、他の室内機が応答メッセージを送信したことを認識すると、それ以降のビットについては確認コマンドが一致したとしても無応答状態を維持するように構成されている一方、自己が無応答状態となり、かつ、他の室内機も無応答状態であることを認識すると、その次のビットについての確認コマンドが一致した時には応答メッセージを送信するように構成されている。このため、2ビット目について全ての室内機321〜324が無応答状態であるが、次の3ビット目の確認コマンドに対して応答可能な状態となっている。   Next, the CPU 311 transmits a command so that the indoor unit whose upper second bit value is 1 responds, but since the second bit of all the indoor units 321 to 324 is 0, all the indoor units 321 to 324 are not responding. At this time, the CPUs of the indoor units 321 to 324 can recognize that the indoor units other than the self are not responding by monitoring the communication line 340. Here, if the CPUs of the indoor units 321 to 324 recognize that they are in a non-response state and that other indoor units have transmitted a response message, even if the confirmation commands match for the subsequent bits, While it is configured to maintain a no-response state, when it recognizes that it is in a no-response state and other indoor units are also in a no-response state, when the confirmation command for the next bit matches It is configured to send a response message. For this reason, all the indoor units 321 to 324 are in a no-response state for the second bit, but are in a state capable of responding to the next confirmation command for the third bit.

そして、室外機310のCPU311は、次の3ビット目の値が1である室内機が応答するように指令を送信すると、室内機321〜323の3ビット目が1であるため、3台の室内機321〜323が応答メッセージを送信し、室内機324については無応答状態となる。なお、室内機324は、それ以降のビットの確認コマンドに対して無応答状態を維持する。そして、CPU311は、次の4ビット目の値が1である室内機が応答するように指令を送信すると、室内機321、322の4ビット目が1であるため、2台の室内機321、322が応答メッセージを送信し、室内機323,324については、無応答状態となる。   Then, when the CPU 311 of the outdoor unit 310 sends a command so that the indoor unit whose next third bit value is 1, the third bit of the indoor units 321 to 323 is 1, so that the three units The indoor units 321 to 323 transmit a response message, and the indoor unit 324 enters a no-response state. The indoor unit 324 maintains a no-response state with respect to subsequent bit confirmation commands. Then, when the CPU 311 transmits a command so that the indoor unit whose next fourth bit value is 1 responds, the fourth bit of the indoor units 321 and 322 is 1, so the two indoor units 321, 322 transmits a response message, and the indoor units 323 and 324 are in a no-response state.

そして、CPU311は、次の5ビット目の値が1である室内機が応答するように指令を送信すると、室内機321の5ビット目が1であるため、室内機321のみが応答メッセージを送信し、、室内機322〜324については無応答状態となる。このとき初めて、応答する室内機が1台となり、CPU311は応答メッセージを正常に受信することができるので、この室内機321が特定されたこととなりアドレスの設定付与が可能となる。   Then, when the CPU 311 transmits a command so that the indoor unit whose next fifth bit value is 1 responds, only the indoor unit 321 transmits a response message because the fifth bit of the indoor unit 321 is 1. However, the indoor units 322 to 324 are not responding. At this time, the number of responding indoor units is one, and the CPU 311 can normally receive a response message. Therefore, the indoor unit 321 is specified and an address can be set.

特定した室内機に対するアドレスの付与が終了すると、CPU311は、再度1ビット目からビットの確認を再開する。この時点で、室内機についても応答禁止状態がクリアされ、再度各ビットの確認コマンドに対しての応答を再開する。以上の処理を繰り返すことにより、全ての室内機に対しアドレスを付与していく。
特開2000−74461号公報
When the assignment of the address to the specified indoor unit is completed, the CPU 311 restarts bit confirmation from the first bit again. At this time, the response prohibition state is also cleared for the indoor unit, and the response to the confirmation command for each bit is resumed again. By repeating the above processing, addresses are assigned to all indoor units.
JP 2000-74461 A

しかしながら、前記従来の構成において室外機が全ての室内機を特定するためには、自動アドレス設定前に全ての室内機の電源が投入されているという前提が必要である。   However, in order for the outdoor unit to identify all indoor units in the conventional configuration, it is necessary to assume that all the indoor units are powered on before automatic address setting.

機器の設置環境により各機器に対する電源投入時期が異なる場合、例えば、室外機が自動アドレス設定完了後に電源が投入された室内機については、その室内機を室外機が認識することは不可能である。   When the power-on timing for each device differs depending on the installation environment of the device, for example, for an indoor unit that is turned on after the outdoor unit completes automatic address setting, it is impossible for the outdoor unit to recognize the indoor unit .

前記課題を解決するために各室内機にアドレス未設定報知の機能を持たせることにより、室外機に対し室内機からアドレス未設定を報知することが可能となる。   In order to solve the above-mentioned problem, by providing each indoor unit with an address non-setting notification function, it is possible to notify the outdoor unit that the address has not been set from the indoor unit.

本発明は、通信手段としてポーリング方式をとるものに関し、自動アドレス設定完了後に電源が投入された等の原因によりアドレスを持たない端末装置が存在する場合においても、アドレスを持たない端末装置は中央装置に対しアドレス未設定端末装置の存在を報知する機能を持ち、加えて、アドレス未設定端末装置の存在を報知するタイミングを、端末装置自らが種々の情報を用いて決定することにより、中央装置に対し端末装置からアドレス未設定を他の端末装置との通信の衝突を避けつつ、中央装置に対しアドレスが付与されていない端末装置の存在を認識させることが可能となり、中央装置は全ての端末装置に対し再度アドレスを付与することが可能となる。   The present invention relates to a communication method using a polling method, and even when there is a terminal device that does not have an address due to power being turned on after completion of automatic address setting, the terminal device that does not have an address is a central device In addition, the terminal device itself uses various information to determine the timing for notifying the presence of an address non-set terminal device. On the other hand, it is possible to make the central device recognize the presence of an unassigned terminal device while avoiding communication conflicts with other terminal devices when the address is not set from the terminal device. An address can be assigned again.

第1の発明は、アドレスが付与されていない端末装置は、中央装置と複数台の端末装置間の通信において、予め設定されているタイミングで特定のコマンドを中央装置に対し送信することにより、中央装置に対しアドレスが付与されていない端末装置の存在を認識さ
せることが可能となり、中央装置は再度各端末装置に対しアドレスを付与することが可能となる。
In the first invention, a terminal device to which no address is assigned transmits a specific command to the central device at a preset timing in communication between the central device and a plurality of terminal devices. It is possible to recognize the existence of a terminal device to which no address is assigned to the device, and the central device can assign an address to each terminal device again.

第2の発明は、特に、第1の発明のアドレス未設定の報知に際し、その報知するタイミングを決定する機能を各端末装置が持つことにより、他の端末装置との通信の衝突を避けつつ、中央装置に対しアドレスが付与されていない端末装置の存在を認識させることが可能となり、中央装置は再度各端末装置に対しアドレスを付与することが可能となる。   In the second invention, in particular, in the notification of the address not set of the first invention, each terminal device has a function of determining the notification timing, thereby avoiding a communication collision with other terminal devices, The central device can be made aware of the presence of an unassigned terminal device, and the central device can again assign an address to each terminal device.

第3の発明は、特に、第2の発明のアドレス未設定を報知するタイミングの決定に際し、その報知するタイミングを、該当端末装置の電源が投入されてからの経過時間が予め設定された時間と一致した場合とする事により、他の端末装置との通信の衝突を避けつつ、中央装置に対しアドレスが付与されていない端末装置の存在を認識させることが可能となり、中央装置は再度各端末装置に対しアドレスを付与することが可能となる。   In the third aspect of the invention, in particular, when determining the timing for notifying the address non-setting of the second aspect of the invention, the notification timing is set to a time set in advance from the time when the terminal device is turned on. By making a match, it becomes possible to recognize the existence of a terminal device to which no address is assigned to the central device while avoiding a communication collision with other terminal devices, and the central device again recognizes each terminal device. It is possible to assign an address to.

第4の発明は、特に、第2の発明のアドレス未設定を報知するタイミングの決定に際し、その報知するタイミングを、中央装置が送信する特定のコマンドをトリガとし、特定のコマンドは端末装置が決定する事により、他の端末装置との通信の衝突を避けつつ、中央装置に対しアドレスが付与されていない端末装置の存在を認識させることが可能となり、中央装置は再度各端末装置に対しアドレスを付与することが可能となる。   In the fourth aspect of the invention, in particular, when determining the timing for notifying the address non-setting according to the second aspect of the invention, the notification timing is triggered by a specific command transmitted by the central device, and the specific command is determined by the terminal device. By doing so, it becomes possible to recognize the existence of an unassigned terminal device to the central device while avoiding a communication collision with other terminal devices, and the central device again assigns an address to each terminal device. It becomes possible to grant.

第5の発明は、特に、第2の発明のアドレス未設定を報知するタイミングの決定に際し、その報知するタイミングを、中央装置からの特定のコマンドの送信回数をトリガとし、特定のコマンド及び送信回数は端末装置が決定する事により、他の端末装置との通信の衝突を避けつつ、中央装置に対しアドレスが付与されていない端末装置の存在を認識させることが可能となり、中央装置は再度各端末装置に対しアドレスを付与することが可能となる。   In the fifth aspect of the invention, in particular, when determining the timing for notifying the address non-setting according to the second aspect of the invention, the notification timing is triggered by the number of transmissions of a specific command from the central device, and the specific command and the number of transmissions. By determining the terminal device, it becomes possible to recognize the existence of a terminal device to which no address is given to the central device while avoiding communication collisions with other terminal devices. An address can be assigned to the device.

第6の発明は、特に、第2の発明のアドレス未設定を報知するタイミングの決定に際し、その報知するタイミングを、中央装置からのコマンドの送信回数をトリガとし、送信回数は端末装置が決定する事により、他の端末装置との通信の衝突を避けつつ、中央装置に対しアドレスが付与されていない端末装置の存在を認識させることが可能となり、中央装置は再度各端末装置に対しアドレスを付与することが可能となる。   In the sixth aspect of the invention, in particular, when determining the timing for notifying the address non-setting of the second aspect, the notification timing is triggered by the number of command transmissions from the central device, and the number of transmissions is determined by the terminal device. As a result, it is possible to recognize the existence of an unassigned terminal device to the central device while avoiding communication collisions with other terminal devices, and the central device again assigns an address to each terminal device. It becomes possible to do.

第7の発明は、特に、第2の発明のアドレス未設定を報知するタイミングの決定に際し、その報知するタイミングを、中央装置に対する端末装置の特定のアドレスをトリガとし、特定のアドレスは端末装置が決定する事により、他の端末装置との通信の衝突を避けつつ、中央装置に対しアドレスが付与されていない端末装置の存在を認識させることが可能となり、中央装置は再度各端末装置に対しアドレスを付与することが可能となる。   In the seventh aspect of the invention, in particular, when determining the timing for notifying the address non-setting according to the second aspect of the invention, the notification timing is triggered by a specific address of the terminal device with respect to the central device. By deciding, it becomes possible to recognize the existence of an unassigned terminal device to the central device while avoiding communication collisions with other terminal devices, and the central device again addresses each terminal device. Can be given.

第8の発明は、特に、第2の発明のアドレス未設定を報知するタイミングの決定に際し、その報知するタイミングを、中央装置に対する端末装置の特定のアドレスの応答回数をトリガとし、特定のアドレス及び応答回数は端末装置が決定する事により、他の端末装置との通信の衝突を避けつつ、中央装置に対しアドレスが付与されていない端末装置の存在を認識させることが可能となり、中央装置は再度各端末装置に対しアドレスを付与することが可能となる。   In the eighth aspect of the invention, in particular, when determining the timing for notifying the address non-setting of the second aspect, the notification timing is triggered by the number of responses of the specific address of the terminal device to the central device, and the specific address and By determining the number of responses by the terminal device, it becomes possible to recognize the existence of a terminal device to which no address is assigned to the central device while avoiding communication collisions with other terminal devices. An address can be assigned to each terminal device.

第9の発明は、第1の発明から第8の発明の報知するタイミングを報知の都度変更することにより、他の端末装置との通信の衝突を避けつつ、中央装置に対しアドレスが付与されていない端末装置の存在を認識させることが可能となり、中央装置は再度各端末装置に対しアドレスを付与することが可能となる。   In the ninth aspect of the invention, by changing the notification timing of the first to eighth aspects of each notification, an address is given to the central device while avoiding communication collision with other terminal devices. It is possible to recognize the presence of a terminal device that does not exist, and the central device can again give an address to each terminal device.

第10の発明は、第1の発明から第9の発明の多端末通信方式を空気調和機搭載することにより、アドレスが設定されていない室内機が存在する場合においても、室外機はその存在を把握し、再度各室内機に対してアドレスを付与することが可能となる。   In the tenth aspect of the present invention, when the multi-terminal communication system of the first to ninth aspects is installed in an air conditioner, even if there is an indoor unit for which no address is set, the outdoor unit is not present. It is possible to grasp and give an address to each indoor unit again.

以下、本発明の実施の形態について、一般的な空気調和機を対象として、図面を参照しながら説明する。なお、この実施の形態によって本発明が限定されるものではない。   Hereinafter, embodiments of the present invention will be described with reference to the drawings for a general air conditioner. Note that the present invention is not limited to the embodiments.

(実施の形態1)
一般に、空気調和機においては、室外機および室内機にそれぞれ制御装置が備えられており、両ユニットの制御装置間で相互に通信を行うことにより運転制御が行われている。通信方式としては、近年、バスラインを用いたシリアル通信が採用されており、比較的細い(例えば2芯)の信号ケーブルによって多量のデータの送受信が行われる。
(Embodiment 1)
Generally, in an air conditioner, an outdoor unit and an indoor unit are each provided with a control device, and operation control is performed by communicating with each other between the control devices of both units. In recent years, serial communication using a bus line has been adopted as a communication method, and a large amount of data is transmitted and received by a relatively thin (for example, two-core) signal cable.

ところで、建屋に空気調和機を設置する際には、空気調和機の室外機を屋上等に配置し、そこから各室内機まで冷媒配管を配管することが多い。このような場合、各空気調和機の信号ケーブルも冷媒配管と同様に個別に敷設されるが、室外機と各室内機間で一つのバスラインを共用させ、ケーブル敷設作業の容易化等を図る構成が一般的である。すなわち、室外機と各室内機とを一本のバスラインで接続し、そのバスラインを介して空気調和機として運転制御を行わせるようにすれば、屋上等から屋内へは一本の信号ケーブルを引き込めば済むことになる。   By the way, when installing an air conditioner in a building, an outdoor unit of the air conditioner is often arranged on the roof or the like, and refrigerant piping is often piped from there to each indoor unit. In such a case, the signal cable of each air conditioner is laid separately as well as the refrigerant pipe. However, one bus line is shared between the outdoor unit and each indoor unit to facilitate cable installation work, etc. The configuration is common. In other words, if the outdoor unit and each indoor unit are connected by a single bus line and the operation control is performed as an air conditioner through the bus line, a single signal cable is used from the rooftop to the indoors. You can just pull in.

この種の空気調和機では、一つの空気調和機における室外機と室内機との間の通信は、室外機から出力されるポーリング信号により、所定の時間間隔をもって行われる。   In this type of air conditioner, communication between an outdoor unit and an indoor unit in one air conditioner is performed at predetermined time intervals by a polling signal output from the outdoor unit.

図1は、本発明の実施の形態1における空気調和機100の構成を示す概略図である。図1に示すように、この空気調和機100には1台の室外機10と複数の室内機21〜23が設けられている。室外機10と室内機21〜23とは、通信用のバスライン40を介して相互に通信可能となっている。   FIG. 1 is a schematic diagram showing a configuration of an air conditioner 100 according to Embodiment 1 of the present invention. As shown in FIG. 1, the air conditioner 100 is provided with one outdoor unit 10 and a plurality of indoor units 21 to 23. The outdoor unit 10 and the indoor units 21 to 23 can communicate with each other via a communication bus line 40.

図2は、本発明の実施の形態1における室外機10と室内機21〜22との間で行われるポーリングの各々の送信タイミングを表したタイムチャートである。ここで、t1は、室外機が室内機に対して送信を開始する時間間隔であり、t2は、室外機10から呼ばれた室内機が送信を開始するタイミングを示している。また、図中、A及びBは、室外機が送信するコマンドであり、A’、B’は室内機21が室外機10のコマンドA及びコマンドBに対する応答であり、A”及びB”は室内機22が室外機10のコマンドA及びコマンドBに対する応答である。   FIG. 2 is a time chart showing the transmission timing of each polling performed between the outdoor unit 10 and the indoor units 21 to 22 in Embodiment 1 of the present invention. Here, t1 is a time interval at which the outdoor unit starts transmission to the indoor unit, and t2 indicates a timing at which the indoor unit called from the outdoor unit 10 starts transmission. In the figure, A and B are commands transmitted by the outdoor unit, A ′ and B ′ are responses to the commands A and B of the outdoor unit 10 by the indoor unit 21, and A ″ and B ″ are indoors. The unit 22 is a response to the command A and the command B of the outdoor unit 10.

図3は、本発明の実施の形態1における室外機10と室内機21との通信の際に、アドレスが設定されていない室内機23が割り込むタイミングを表したタイムチャートである。図中Cは、室内機がアドレス未設定室内機の存在を報知するコマンドであり、t3は室内機23がコマンドCを送信するタイミングを示している。コマンドA及びコマンドBに比較してコマンドCが短いのは、コマンドA及びコマンドBは室内機に対する制御情報等が含まれるが、コマンドCについては、状態に関する情報等は含まれていないためである。   FIG. 3 is a time chart showing the timing at which the indoor unit 23 for which no address is set interrupts the communication between the outdoor unit 10 and the indoor unit 21 according to Embodiment 1 of the present invention. C in the figure is a command for the indoor unit to notify the presence of an indoor unit for which no address is set, and t3 represents the timing at which the indoor unit 23 transmits the command C. The command C is shorter than the command A and the command B because the command A and the command B include control information for the indoor unit, but the command C does not include information on the state. .

図4は、アドレス未設定の室内機が、室外機10に対しアドレス未設定を報知するコマンドCを送信する手順を示したフローチャートである。以下に本発明の実施の形態1を図1、図2、図3及び図4を用いて説明する。ここでは、室内機21から22までは、室外機10からの自動アドレス設定によりアドレスが付与されているとし、一方、室内機23
については、電源投入が遅れた等の理由によりアドレスが付与されていないものとする。
FIG. 4 is a flowchart illustrating a procedure in which an indoor unit without an address transmits a command C for informing the outdoor unit 10 that an address has not been set. Embodiment 1 of the present invention will be described below with reference to FIGS. 1, 2, 3 and 4. FIG. Here, it is assumed that addresses are assigned to the indoor units 21 to 22 by automatic address setting from the outdoor unit 10, while the indoor unit 23
For, it is assumed that no address is given due to a delay in power-on.

図2に示すように、室外機10は、室内機21〜22に対してポーリングによるシリアルデータ通信を実施している。ここで、室外機はマスターであり、室内機はスレーブである。   As illustrated in FIG. 2, the outdoor unit 10 performs serial data communication by polling with respect to the indoor units 21 to 22. Here, the outdoor unit is a master and the indoor unit is a slave.

室外機10は決められた時間(t1)間隔で各室内機21〜22に対し送信を繰り返しており、一方、各室内機21〜22は室外機10からのデータが自己宛てであれば、室外機10のデータ送信開始後一定時間(t2)経過した後に室外機10に対して応答を開始する。このようにして、室外機10と室内機21〜22は順次通信を実施する。ところで、一般的なポーリング方式では、室外機10は認識している各室内機21〜22に対してのみポーリングを実施するため、アドレスを持たない室内機23が室外機10から呼ばれることはない。   The outdoor unit 10 repeats transmission to each of the indoor units 21 to 22 at a predetermined time (t1) interval. On the other hand, if the data from the outdoor unit 10 is addressed to itself, The response to the outdoor unit 10 is started after a certain time (t2) has elapsed since the start of data transmission of the unit 10. In this way, the outdoor unit 10 and the indoor units 21 to 22 perform communication sequentially. By the way, in the general polling method, since the outdoor unit 10 performs polling only on the recognized indoor units 21 to 22, the indoor unit 23 having no address is not called from the outdoor unit 10.

次に、図1に示すように、バスライン40によって室外機10には接続されているが、アドレスを持たない室内機23の、室外機10に対するアドレス未設定室内機の存在を報知するコマンドCを送信する手順について図3及び図4を用いて説明する。   Next, as shown in FIG. 1, a command C for notifying the presence of an indoor unit whose address is not set for the outdoor unit 10 of the indoor unit 23 that is connected to the outdoor unit 10 by the bus line 40 but does not have an address. Will be described with reference to FIGS. 3 and 4. FIG.

図4において、まず、自己がアドレスを持たないことを確認する(st1)。フローチャートには表現していないが、ここでは、室外機がコマンドA或いはコマンドBを送信するのは、アドレス設定等の初期設定完了以降としている。よって、アドレスを持たない室内機の場合は、室外機が送信するコマンドがA或いはBを知ることにより、アドレス設定が終了していることを知ることが可能となる。   In FIG. 4, first, it is confirmed that it does not have an address (st1). Although not shown in the flowchart, the outdoor unit transmits the command A or the command B here after completion of initial setting such as address setting. Therefore, in the case of an indoor unit that does not have an address, it is possible to know that address setting has been completed by knowing A or B as a command transmitted by the outdoor unit.

ここで、アドレスを持つ場合は処理を終了し、アドレスを持たない場合はst2へ進む。st2では、受信開始によりタイマ1をスタートさせst3へ進む。st3では、室外機10がコマンドAを送信するのを待つ。コマンドAを受信した場合st4へ進み、st2でスタートさせたタイマ1が所定時間(t3)経過するのを待つ。タイマ1(t3)の時間設定については、他の室内機の応答が開始されるまでに室外機10がコマンドCの分析を実行できるような時間に設定する。   Here, if it has an address, the process ends. If it does not have an address, the process proceeds to st2. In st2, the timer 1 is started by starting reception, and the process proceeds to st3. In st3, it waits for the outdoor unit 10 to transmit the command A. If the command A is received, the process proceeds to st4 and waits for a predetermined time (t3) to elapse in the timer 1 started in st2. About the time setting of the timer 1 (t3), it sets to the time which the outdoor unit 10 can perform the analysis of the command C until the response of another indoor unit is started.

st4で、タイマ1の値がt3を経過した場合st5へ進み、室外機10に向けコマンドCを送信し(st5)、引き続き、タイマ2をスタートさせ(st6)st7へ進む。st7では、タイマ2が予め設定された値(T)未満であるかどうかを判断する。T未満である場合はst8に進み、タイマ2がTを超過した場合は、コマンドCが何らかの原因により室外機10が認識できなかったと判断し、やり直しのためにst2に戻る。   If the value of timer 1 has passed t3 in st4, the process proceeds to st5, command C is transmitted to the outdoor unit 10 (st5), timer 2 is subsequently started (st6), and the process proceeds to st7. In st7, it is determined whether or not the timer 2 is less than a preset value (T). When it is less than T, the process proceeds to st8, and when the timer 2 exceeds T, it is determined that the outdoor unit 10 cannot recognize the command C for some reason, and the process returns to st2 for redoing.

st8では、コマンドC送信後アドレス設定が開始されたかどうかを判断する。図には示していないが、例えば室外機10がコマンドDを送信した場合は、アドレス設定が開始されたと判断する。st8で、アドレス設定が開始された場合は処理を終了し、アドレス設定が開始されない場合はst7へ戻り、st7、st8を繰り返す。   In st8, it is determined whether or not address setting is started after transmission of the command C. Although not shown in the figure, for example, when the outdoor unit 10 transmits the command D, it is determined that the address setting has been started. If the address setting is started at st8, the process is terminated. If the address setting is not started, the process returns to st7, and st7 and st8 are repeated.

上記の様にして、アドレスを持たない室内機23は、室外機10に対し、室外機10のデータ送信後から室内機21〜22のいずれかが応答を開始するまでの時間を利用して、アドレス未設定室内機の存在をコマンドCの送信により知らせることができる。一方、受信状態である室外機10がコマンドCを受け取った場合は、アドレス未設定の室内機の存在を認識し、再度アドレス設定処理を実施することとなる。なお、上記の説明では室外機のコマンドAについて説明をしているが、コマンドAの代りにコマンドBでも良い。   As described above, the indoor unit 23 having no address uses the time from the data transmission of the outdoor unit 10 to the start of a response by any of the indoor units 21 to 22 to the outdoor unit 10. The presence of an indoor unit for which no address is set can be notified by sending command C. On the other hand, when the outdoor unit 10 in the receiving state receives the command C, it recognizes the presence of an indoor unit for which an address is not set, and performs address setting processing again. In the above description, the command A of the outdoor unit is described, but the command B may be used instead of the command A.

(実施の形態2)
図1から図3に対する説明は、実施の形態1における説明と同一であるため、説明を省略する。図5は、本実施の形態2における、アドレス未設定の室内機が、室外機10に対しアドレス未設定を報知するコマンドCを送信する手順を示したフローチャートである。以下に本発明の実施の形態2を図1、図3及び図5を用いて説明する。ここでは、室内機21から22までは、室外機10からの自動アドレス設定によりアドレスが付与されているとし、一方、室内機23については、電源投入が遅れた等の理由によりアドレスが付与されていないものとする。
(Embodiment 2)
The description on FIGS. 1 to 3 is the same as that in the first embodiment, and thus the description is omitted. FIG. 5 is a flowchart illustrating a procedure in which an indoor unit with no address set transmits a command C for informing the outdoor unit 10 that an address has not been set according to the second embodiment. A second embodiment of the present invention will be described below with reference to FIGS. Here, it is assumed that addresses are assigned to the indoor units 21 to 22 by automatic address setting from the outdoor unit 10, while addresses are assigned to the indoor units 23 for reasons such as a delay in power-on. Make it not exist.

以下、図1に示すように、バスライン40によって室外機10には接続されているが、アドレスを持たない室内機23の、室外機10に対するアドレス未設定室内機の存在を報知するコマンドCを送信する手順について図3及び図5を用いて説明する。フローチャートには図示しないが、室内機23の電源投入時に、タイマ3がスタートしており、定期的に更新されている。   Hereinafter, as shown in FIG. 1, a command C for notifying the presence of an indoor unit whose address is not set for the outdoor unit 10 of the indoor unit 23 that is connected to the outdoor unit 10 by the bus line 40 but does not have an address. The transmission procedure will be described with reference to FIGS. Although not shown in the flowchart, when the indoor unit 23 is powered on, the timer 3 is started and updated regularly.

図5において、まず、自己がアドレスを持たないことを確認する(st1)。フローチャートには表現していないが、ここでは、室外機10がコマンドA或いはコマンドBを送信するのは、アドレス設定等の初期設定完了以降としている。よって、アドレスを持たない室内機の場合は、室外機が送信するコマンドがA或いはBを知ることにより、アドレス設定が終了している事を知ることが可能となる。ここで、アドレスを持つ場合は処理を終了し、アドレスを持たない場合はst2へ進む。   In FIG. 5, first, it is confirmed that it does not have an address (st1). Although not expressed in the flowchart, here, the outdoor unit 10 transmits the command A or the command B after completion of initial setting such as address setting. Therefore, in the case of an indoor unit that does not have an address, it is possible to know that the address setting has been completed when the command transmitted by the outdoor unit knows A or B. Here, if it has an address, the process ends. If it does not have an address, the process proceeds to st2.

st2では、受信開始によりタイマ1をスタートさせ、st3へ進む。st3では、室外機がコマンドAを送信するのを待つ。コマンドAを受信した場合st4に進む。st4では、タイマ3が予め設定された時間(TT)を経過したかどうかを判定する。予め設定された時間(TT)を経過していない場合はst2に戻り、経過している場合はst5へ進む。   In st2, timer 1 is started by the start of reception, and the process proceeds to st3. In st3, it waits for the outdoor unit to transmit the command A. When the command A is received, the process proceeds to st4. In st4, it is determined whether or not the timer 3 has passed a preset time (TT). If the preset time (TT) has not elapsed, the process returns to st2, and if it has elapsed, the process proceeds to st5.

st5では、st2でスタートさせたタイマ1が所定時間(t3)経過するのを待つ。タイマ1(t3)の時間設定については、他の室内機の応答が開始されるまでに室外機10がコマンドCの分析を実行できるような時間に設定する。st5で、タイマ1の値がt3を経過した場合st6へ進み、室外機10に向けコマンドCを送信し、引き続き、st7でタイマ2をスタートさせst8へ進む。   In st5, the timer 1 started in st2 waits for a predetermined time (t3) to elapse. About the time setting of the timer 1 (t3), it sets to the time which the outdoor unit 10 can perform the analysis of the command C until the response of another indoor unit is started. If the value of timer 1 has passed t3 in st5, the process proceeds to st6, and the command C is transmitted to the outdoor unit 10, and then the timer 2 is started in st7 and proceeds to st8.

st8では、タイマ2が予め設定された値(T)未満であるかどうかを判断する。T未満である場合はst9に進み、タイマ2がTを超過した場合は、コマンドCが何らかの原因により室外機10が認識できなかったと判断し、タイマ3をクリア(st10)した後、やり直しのためにst2に戻る。   In st8, it is determined whether or not the timer 2 is less than a preset value (T). If it is less than T, the process proceeds to st9. If the timer 2 exceeds T, it is determined that the outdoor unit 10 has not been recognized for some reason by the command C, the timer 3 is cleared (st10), and the process is repeated. Return to st2.

st9では、コマンドC送信後アドレス設定が開始されたかどうかを判断する。図には示していないが、例えば室外機10がコマンドDを送信した場合は、アドレス設定が開始されたと判断する。アドレス設定が開始された場合は処理を終了し、アドレス設定が開始されない場合はst8へ戻り、st8、st9を繰り返す。   In st9, it is determined whether or not address setting is started after transmission of the command C. Although not shown in the figure, for example, when the outdoor unit 10 transmits the command D, it is determined that the address setting has been started. If the address setting is started, the process is terminated. If the address setting is not started, the process returns to st8, and st8 and st9 are repeated.

上記の様にして、アドレスを持たない室内機23は、室外機10に対し、室外機10のデータ送信後から室内機21〜22のいずれかが応答を開始するまでの時間を利用して、アドレス未設定室内機の存在を知らせることができる。一方、受信状態である室外機10がコマンドCを受け取った場合は、アドレス未設定の室内機の存在を認識し、再度アドレス設定処理を実施することとなる。なお、上記の説明では室外機のコマンドAについて説明をしているが、コマンドAの代りにコマンドBでも良い。   As described above, the indoor unit 23 having no address uses the time from the data transmission of the outdoor unit 10 to the start of a response by any of the indoor units 21 to 22 to the outdoor unit 10. The presence of an indoor unit for which no address is set can be notified. On the other hand, when the outdoor unit 10 in the reception state receives the command C, it recognizes the presence of an indoor unit for which no address is set, and performs the address setting process again. In the above description, the command A of the outdoor unit is described, but the command B may be used instead of the command A.

(実施の形態3)
図1に対する説明は、実施の形態1における説明と同一であるため、説明を省略する。図6は、本発明の実施の形態3における室外機10と室内機21との送信データの間で行なわれる通信に対し、アドレスが設定されていない室内機23が割り込むタイミングを表したタイムチャートである。図中Cは、室内機がアドレス未設定室内機の存在を報知するコマンドであり、t3は室内機23がコマンドCの送信を開始するタイミングを示している。
(Embodiment 3)
The description for FIG. 1 is the same as the description in Embodiment 1, and thus the description is omitted. FIG. 6 is a time chart showing the timing when the indoor unit 23 in which no address is set interrupts the communication performed between the transmission data of the outdoor unit 10 and the indoor unit 21 in the third embodiment of the present invention. is there. In the figure, C is a command for the indoor unit to notify the presence of an indoor unit for which no address is set, and t3 represents the timing at which the indoor unit 23 starts transmitting command C.

図7は、本実施の形態3における、アドレス未設定の室内機が、室外機10に対しアドレス未設定を報知するコマンドCを送信する手順を示したフローチャートである。以下に本発明の実施の形態3を図1、図6及び図7を用いて説明する。ここでは、室内機21から22までは、室外機10からの自動アドレス設定によりアドレスが付与されているとし、一方、室内機23については、電源投入が遅れた等の理由によりアドレスが付与されていないものとする。   FIG. 7 is a flowchart illustrating a procedure in which an indoor unit with no address set transmits a command C for informing the outdoor unit 10 that an address has not been set according to the third embodiment. A third embodiment of the present invention will be described below with reference to FIGS. 1, 6, and 7. FIG. Here, it is assumed that addresses are assigned to the indoor units 21 to 22 by automatic address setting from the outdoor unit 10, while addresses are assigned to the indoor units 23 for reasons such as a delay in power-on. Make it not exist.

以下、図1に示すように、バスライン40によって室外機10には接続されているが、アドレスを持たない室内機23の、室外機10に対するアドレス未設定室内機の存在を報知するコマンドCを送信する手順について図6及び図7を用いて説明する。   Hereinafter, as shown in FIG. 1, a command C for notifying the presence of an indoor unit whose address is not set for the outdoor unit 10 of the indoor unit 23 that is connected to the outdoor unit 10 by the bus line 40 but does not have an address. The transmission procedure will be described with reference to FIGS.

図7において、まず、自己がアドレスを持たないことを確認する(st1)。フローチャートには表現していないが、ここでは、室外機10がコマンドA或いはコマンドBを送信するのは、アドレス設定等の初期設定完了以降としている。よって、アドレスを持たない室内機の場合は、室外機が送信するコマンドがA或いはBを知ることにより、アドレス設定が終了している事を知ることが可能となる。ここで、アドレスを持つ場合は処理を終了し、アドレスを持たない場合はst2へ進む。   In FIG. 7, first, it is confirmed that it does not have an address (st1). Although not expressed in the flowchart, here, the outdoor unit 10 transmits the command A or the command B after completion of initial setting such as address setting. Therefore, in the case of an indoor unit that does not have an address, it is possible to know that the address setting has been completed when the command transmitted by the outdoor unit knows A or B. Here, if it has an address, the process ends. If it does not have an address, the process proceeds to st2.

st2では、アドレス未決定を報知するコマンドを送信するタイミングを室外機10がコマンドAを送信した後か、或いはコマンドBを送信した後とするのかを決定しst3へ進む。ここでは、説明のためコマンドB受信後とする。st3では、受信開始によりタイマ1をスタートさせst4へ進む。st4では、室外機がst2で選択したコマンド(本説明ではコマンドB)を送信するのを待つ。st4でst2で選択したコマンド(コマンドB)を受信した場合st5へ進み、st3でスタートさせたタイマ1が所定時間(t3)経過するのを待つ。タイマ1(t3)の時間設定については、他の室内機の応答が開始されるまでに室外機10がコマンドCの分析を実行できるような時間に設定する。   In st2, it is determined whether the outdoor unit 10 transmits the command A or the command B after transmitting the command notifying that the address has not been determined, and the process proceeds to st3. Here, for the sake of explanation, it is assumed that command B has been received. In st3, the timer 1 is started by the start of reception and proceeds to st4. In st4, it waits for the outdoor unit to transmit the command (command B in this description) selected in st2. If the command (command B) selected in st2 is received in st4, the process proceeds to st5 and waits for the timer 1 started in st3 to pass a predetermined time (t3). About the time setting of the timer 1 (t3), it sets to the time which the outdoor unit 10 can perform the analysis of the command C until the response of another indoor unit is started.

st5で、タイマ1の値がt3を経過した場合st6へ進み、室外機10に向けコマンドCを送信し、st7へ進みタイマ2をスタートさせst8へ進む。st8では、タイマ2が予め設定された値(T)未満であるかどうかを判断する。T未満である場合はst9に進み、タイマ2がTを超過した場合は、コマンドCが何らかの原因により室外機10が認識できなかったと判断し、やり直しのためにst3に戻る。   If the value of timer 1 has passed t3 in st5, the process proceeds to st6, a command C is transmitted to the outdoor unit 10, the process proceeds to st7, the timer 2 is started, and the process proceeds to st8. In st8, it is determined whether or not the timer 2 is less than a preset value (T). If it is less than T, the process proceeds to st9. If the timer 2 exceeds T, it is determined that the outdoor unit 10 cannot recognize the command C for some reason, and the process returns to st3 for redoing.

st9では、コマンドC送信後アドレス設定が開始されたかどうかを判断する。図には示していないが、例えば室外機10がコマンドDを送信した場合は、アドレス設定が開始されたと判断する。アドレス設定が開始された場合は処理を終了し、アドレス設定が開始されない場合はst8へ戻り、st8、st9を繰り返す。   In st9, it is determined whether or not address setting is started after transmission of the command C. Although not shown in the figure, for example, when the outdoor unit 10 transmits the command D, it is determined that the address setting has been started. If the address setting is started, the process is terminated. If the address setting is not started, the process returns to st8, and st8 and st9 are repeated.

上記の様にして、アドレスを持たない室内機23は、室外機10に対し、室外機10のデータ送信後から室内機21〜22のいずれかが応答を開始するまでの時間を利用して、アドレス未設定室内機の存在を知らせることができる。一方、受信状態である室外機10がコマンドCを受け取った場合は、アドレス未設定の室内機の存在を認識し、再度アドレ
ス設定処理を実施することとなる。
As described above, the indoor unit 23 having no address uses the time from the data transmission of the outdoor unit 10 to the start of a response by any of the indoor units 21 to 22 to the outdoor unit 10. The presence of an indoor unit for which no address is set can be notified. On the other hand, when the outdoor unit 10 in the reception state receives the command C, it recognizes the presence of an indoor unit for which no address is set, and performs the address setting process again.

(実施の形態4)
図1及び図6に対する説明は、これまでの説明と同一であるため、説明を省略する。図8は、本実施の形態4における、アドレス未設定の室内機が、室外機10に対しアドレス未設定を報知するコマンドCを送信する手順を示したフローチャートである。以下に本発明の実施の形態4を図1、図6及び図8を用いて説明する。
(Embodiment 4)
The description for FIGS. 1 and 6 is the same as the description so far, and the description is omitted. FIG. 8 is a flowchart illustrating a procedure in which an indoor unit with no address set transmits a command C for informing the outdoor unit 10 of an address non-set state according to the fourth embodiment. Embodiment 4 of the present invention will be described below with reference to FIGS. 1, 6 and 8. FIG.

ここでは、室内機21から22までは、室外機10からの自動アドレス設定によりアドレスが付与されているとし、一方、室内機23については、電源投入が遅れた等の理由によりアドレスが付与されていないものとする。以下、図1に示すように、バスライン40によって室外機10には接続されているが、アドレスを持たない室内機23の、室外機10に対するアドレス未設定室内機の存在を報知するコマンドCを送信する手順について図6及び図8を用いて説明する。   Here, it is assumed that addresses are assigned to the indoor units 21 to 22 by automatic address setting from the outdoor unit 10, while addresses are assigned to the indoor units 23 for reasons such as a delay in power-on. Make it not exist. Hereinafter, as shown in FIG. 1, a command C for notifying the presence of an indoor unit whose address is not set for the outdoor unit 10 of the indoor unit 23 that is connected to the outdoor unit 10 by the bus line 40 but does not have an address. The transmission procedure will be described with reference to FIGS.

図8において、まず、自己がアドレスを持たないことを確認する(st1)。フローチャートには表現していないが、ここでは、室外機10がコマンドA或いはコマンドBを送信するのは、アドレス設定等の初期設定完了以降としている。よって、アドレスを持たない室内機の場合は、室外機が送信するコマンドがA或いはBを知ることにより、アドレス設定が終了している事を知ることが可能となる。ここで、アドレスを持つ場合は処理を終了し、アドレスを持たない場合はst2へ進む。   In FIG. 8, first, it is confirmed that it does not have an address (st1). Although not expressed in the flowchart, here, the outdoor unit 10 transmits the command A or the command B after completion of initial setting such as address setting. Therefore, in the case of an indoor unit that does not have an address, it is possible to know that the address setting has been completed when the command transmitted by the outdoor unit knows A or B. Here, if it has an address, the process ends. If it does not have an address, the process proceeds to st2.

st2では、アドレス未決定を報知するコマンドを送信するタイミングを室外機10がコマンドAを送信した後か、或いはコマンドBを送信した後とするのかを決定しst3へ進む。ここでは、説明のためコマンドB受信後とする。st3では、アドレス未決定を報知するコマンドを送信する時期をst2で選択したコマンドが何回送信された後に送信するのかという回数(CC)を決定しst4へ進む。st4では、受信開始によりタイマ1をスタートさせst5へ進む。st5では、室外機がst2で選択したコマンド(本説明ではコマンドB)を送信するのを待つ。   In st2, it is determined whether the outdoor unit 10 transmits the command A or the command B after transmitting the command notifying that the address has not been determined, and the process proceeds to st3. Here, for the sake of explanation, it is assumed that command B has been received. In st3, the number (CC) of how many times the command selected in st2 is transmitted after transmitting the command for notifying the address undecided is determined (CC), and the process proceeds to st4. In st4, the timer 1 is started by the start of reception and proceeds to st5. In st5, it waits for the outdoor unit to transmit the command (command B in this description) selected in st2.

st5で、受信したコマンドがコマンドBではなかった場合はst4に戻り、コマンドBを受信した場合はst6へ進み、受信回数カウンタを+1した後st7へ進む。st7では受信回数カウンタとst3で設定した回数(CC)を比較する。受信回数カウンタが比較値(CC)に満たない場合はst4に戻り、受信回数カウンタが比較値(CC)を超えた場合はst8に進む。   If the received command is not the command B in st5, the process returns to st4. If the command B is received, the process proceeds to st6. After the reception number counter is incremented by 1, the process proceeds to st7. In st7, the reception number counter is compared with the number of times (CC) set in st3. When the reception number counter is less than the comparison value (CC), the process returns to st4, and when the reception number counter exceeds the comparison value (CC), the process proceeds to st8.

st8では、st4でスタートさせたタイマ1が所定時間(t3)経過するのを待つ。タイマ1(t3)の時間設定については、他の室内機の応答が開始されるまでに室外機10がコマンドCの分析を実行できるような時間に設定する。st8で、タイマ1の値がt3を経過した場合st9へ進み、室外機10に向けコマンドCを送信しst10へ進み、タイマ2をスタートさせst11へ進む。st11では、タイマ2が予め設定された値(T)未満であるかどうかを判断する。T未満である場合はst12に進み、タイマ2がTを超過した場合は、コマンドCが何らかの原因により室外機10が認識できなかったと判断し、st13で受信回数カウンタをクリアした後、やり直しのためにst4に戻る。   In st8, the timer 1 started in st4 waits for a predetermined time (t3) to elapse. About the time setting of the timer 1 (t3), it sets to the time which the outdoor unit 10 can perform the analysis of the command C until the response of another indoor unit is started. If the value of timer 1 has passed t3 in st8, the process proceeds to st9, a command C is transmitted to the outdoor unit 10, the process proceeds to st10, the timer 2 is started, and the process proceeds to st11. In st11, it is determined whether or not the timer 2 is less than a preset value (T). If it is less than T, the process proceeds to st12. If the timer 2 exceeds T, it is determined that the outdoor unit 10 cannot recognize the command C for some reason. Return to st4.

st12では、コマンドC送信後アドレス設定が開始されたかどうかを判断する。図には示していないが、例えば室外機10がコマンドDを送信した場合は、アドレス設定が開始されたと判断する。アドレス設定が開始された場合は処理を終了し、アドレス設定が開始されない場合はst11へ戻り、st11、st12を繰り返す。   In st12, it is determined whether or not address setting is started after transmission of the command C. Although not shown in the figure, for example, when the outdoor unit 10 transmits the command D, it is determined that the address setting has been started. If the address setting is started, the process is terminated. If the address setting is not started, the process returns to st11, and st11 and st12 are repeated.

上記の様にして、アドレスを持たない室内機23は、室外機10に対し、室外機10のデータ送信後から室内機21〜22のいずれかが応答を開始するまでの時間を利用して、アドレス未設定室内機の存在を知らせることができる。一方、受信状態である室外機10がコマンドCを受け取った場合は、アドレス未設定の室内機の存在を認識し、再度アドレス設定処理を実施することとなる。   As described above, the indoor unit 23 having no address uses the time from the data transmission of the outdoor unit 10 to the start of a response by any of the indoor units 21 to 22 to the outdoor unit 10. The presence of an indoor unit for which no address is set can be notified. On the other hand, when the outdoor unit 10 in the reception state receives the command C, it recognizes the presence of an indoor unit for which no address is set, and performs the address setting process again.

(実施の形態5)
図1から図3に対する説明は、実施の形態1における説明と同一であるため、説明を省略する。図9は、本発明の実施の形態5における、アドレス未設定の室内機が、室外機10に対しアドレス未設定を報知するコマンドCを送信する手順を示したフローチャートである。以下に本発明の実施の形態5を図1、図3及び図9を用いて説明する。
(Embodiment 5)
The description on FIGS. 1 to 3 is the same as that in the first embodiment, and thus the description is omitted. FIG. 9 is a flowchart illustrating a procedure in which an indoor unit with no address set transmits a command C for notifying the outdoor unit 10 of an address non-set state according to the fifth embodiment of the present invention. A fifth embodiment of the present invention will be described below with reference to FIGS.

ここでは、室内機21から22までは、室外機10からの自動アドレス設定によりアドレスが付与されているとし、一方、室内機23については、電源投入が遅れた等の理由によりアドレスが付与されていないものとする。以下、図1に示すように、バスライン40によって室外機10には接続されているが、アドレスを持たない室内機23の、室外機10に対するアドレス未設定室内機の存在を報知するコマンドCを送信する手順について図3及び図9を用いて説明する。   Here, it is assumed that addresses are assigned to the indoor units 21 to 22 by automatic address setting from the outdoor unit 10, while addresses are assigned to the indoor units 23 for reasons such as a delay in power-on. Make it not exist. Hereinafter, as shown in FIG. 1, a command C for notifying the presence of an indoor unit whose address is not set for the outdoor unit 10 of the indoor unit 23 that is connected to the outdoor unit 10 by the bus line 40 but does not have an address. The transmission procedure will be described with reference to FIGS.

図9において、まず、自己がアドレスを持たないことを確認する(st1)。フローチャートには表現していないが、ここでは、室外機10がコマンドA或いはコマンドBを送信するのは、アドレス設定等の初期設定完了以降としている。よって、アドレスを持たない室内機の場合は、室外機が送信するコマンドがA或いはBを知ることにより、アドレス設定が終了している事を知ることが可能となる。   In FIG. 9, first, it is confirmed that it does not have an address (st1). Although not expressed in the flowchart, here, the outdoor unit 10 transmits the command A or the command B after completion of initial setting such as address setting. Therefore, in the case of an indoor unit that does not have an address, it is possible to know that the address setting has been completed when the command transmitted by the outdoor unit knows A or B.

st1で、アドレスを持つ場合は処理を終了し、アドレスを持たない場合はst2へ進む。st2では、アドレス未決定を報知するコマンドを送信するタイミングを、室外機10がコマンドを何回送信した後に実施するのかを決定しst3へ進む。ここで設定する回数をCCCとする。st3では、受信開始によりタイマ1をスタートさせst4へ進む。st4では、室外機がコマンドを送信するのを待つ。ここでのコマンドは、コマンドA或いはコマンドBのいずれでも良い。   If it has an address at st1, the process ends. If it does not have an address, the process proceeds to st2. In st2, it is determined how many times the outdoor unit 10 transmits the command to transmit the command for notifying that the address has not been determined, and the process proceeds to st3. The number of times set here is CCC. In st3, the timer 1 is started by the start of reception and proceeds to st4. In st4, it waits for the outdoor unit to transmit a command. The command here may be either command A or command B.

st4で受信したコマンドが室外機10からのコマンドではなかった場合はst3に戻り、室外機10からのコマンドを受信した場合はst5へ進み、受信回数カウンタを+1した後st6へ進む。st6では受信回数カウンタとst2で設定した回数(CCC)を比較する。受信回数カウンタが比較値(CCC)に満たない場合はst3に戻り、受信回数カウンタが比較値(CCC)を超える場合はst7に進む。st7では、st3でスタートさせたタイマ1が所定時間(t3)経過するのを待つ。   If the command received in st4 is not a command from the outdoor unit 10, the process returns to st3. If a command from the outdoor unit 10 is received, the process proceeds to st5. After the reception number counter is incremented by 1, the process proceeds to st6. In st6, the reception number counter is compared with the number of times (CCC) set in st2. When the reception number counter is less than the comparison value (CCC), the process returns to st3, and when the reception number counter exceeds the comparison value (CCC), the process proceeds to st7. In st7, the timer 1 started in st3 waits for a predetermined time (t3) to elapse.

タイマ1(t3)の時間設定については、他の室内機の応答が開始されるまでに室外機10がコマンドCの分析を実行できるような時間に設定する。st7でタイマ1の値がt3を経過した場合st8へ進み、室外機10に向けコマンドCを送信した後、st9でタイマ2をスタートさせst10へ進む。st10では、タイマ2が予め設定された値(T)未満であるかどうかを判断する。T未満である場合はst11に進み、タイマ2がTを超過した場合は、コマンドCが何らかの原因により室外機10が認識できなかったと判断し、st12で受信回数カウンタをクリアした後、やり直しのためにst3に戻る。   About the time setting of the timer 1 (t3), it sets to the time which the outdoor unit 10 can perform the analysis of the command C until the response of another indoor unit is started. When the value of timer 1 has elapsed t3 in st7, the process proceeds to st8, and after the command C is transmitted to the outdoor unit 10, the timer 2 is started in st9 and the process proceeds to st10. In st10, it is determined whether or not the timer 2 is less than a preset value (T). If it is less than T, the process proceeds to st11. If the timer 2 exceeds T, it is determined that the outdoor unit 10 has not been recognized for some reason by the command C. Return to st3.

st11では、コマンドC送信後アドレス設定が開始されたかどうかを判断する。図には示していないが、例えば室外機10がコマンドDを送信した場合は、アドレス設定が開始されたと判断する。st11で、アドレス設定が開始された場合は処理を終了し、アド
レス設定が開始されない場合はst10へ戻り、st10、st11を繰り返す。
In st11, it is determined whether or not address setting is started after transmission of the command C. Although not shown in the figure, for example, when the outdoor unit 10 transmits the command D, it is determined that the address setting has been started. If the address setting is started in st11, the process is terminated. If the address setting is not started, the process returns to st10, and st10 and st11 are repeated.

上記の様にして、アドレスを持たない室内機23は、室外機10に対し、室外機10のデータ送信後から室内機21〜22のいずれかが応答を開始するまでの時間を利用して、アドレス未設定室内機の存在を知らせることができる。一方、受信状態である室外機10がコマンドCを受け取った場合は、アドレス未設定の室内機の存在を認識し、再度アドレス設定処理を実施することとなる。   As described above, the indoor unit 23 having no address uses the time from the data transmission of the outdoor unit 10 to the start of a response by any of the indoor units 21 to 22 to the outdoor unit 10. The presence of an indoor unit for which no address is set can be notified. On the other hand, when the outdoor unit 10 in the reception state receives the command C, it recognizes the presence of an indoor unit for which no address is set, and performs the address setting process again.

(実施の形態6)
図1に対する説明は、実施の形態1における説明と同一であるため、説明を省略する。図10は、本発明の実施の形態6における室外機10と室内機21との送信データの間で行なわれる通信に対し、アドレスが設定されていない室内機23が割り込むタイミングを表したタイムチャートである。図11は、本実施の形態6における、アドレス未設定の室内機が、室外機10に対しアドレス未設定を報知するコマンドCを送信する手順を示したフローチャートである。
(Embodiment 6)
The description for FIG. 1 is the same as the description in Embodiment 1, and thus the description is omitted. FIG. 10 is a time chart showing the timing when the indoor unit 23 in which no address is set interrupts the communication performed between the transmission data of the outdoor unit 10 and the indoor unit 21 in the sixth embodiment of the present invention. is there. FIG. 11 is a flowchart illustrating a procedure in which an indoor unit with no address set transmits a command C for notifying the outdoor unit 10 that an address has not been set according to the sixth embodiment.

以下に本発明の実施の形態6を図1、図10及び図11を用いて説明する。ここでは、室内機21から22までは、室外機10からの自動アドレス設定によりアドレスが付与されているとし、一方、室内機23については、電源投入が遅れた等の理由によりアドレスが付与されていないものとする。以下、図1に示すように、バスライン40によって室外機10には接続されているが、アドレスを持たない室内機23の、室外機10に対するアドレス未設定室内機の存在を報知するコマンドCを送信する手順について図10及び図11を用いて説明する。   Embodiment 6 of the present invention will be described below with reference to FIGS. 1, 10 and 11. FIG. Here, it is assumed that addresses are assigned to the indoor units 21 to 22 by automatic address setting from the outdoor unit 10, while addresses are assigned to the indoor units 23 for reasons such as a delay in power-on. Make it not exist. Hereinafter, as shown in FIG. 1, a command C for notifying the presence of an indoor unit whose address is not set for the outdoor unit 10 of the indoor unit 23 that is connected to the outdoor unit 10 by the bus line 40 but does not have an address. The transmission procedure will be described with reference to FIGS.

図11において、まず、自己がアドレスを持たないことを確認する(st1)。フローチャートには表現していないが、ここでは、室外機10がコマンドA或いはコマンドBを送信するのは、アドレス設定等の初期設定完了以降としている。よって、アドレスを持たない室内機の場合は、室外機が送信するコマンドがA或いはBを知ることにより、アドレス設定が終了している事を知ることが可能となる。   In FIG. 11, first, it is confirmed that it does not have an address (st1). Although not expressed in the flowchart, here, the outdoor unit 10 transmits the command A or the command B after completion of initial setting such as address setting. Therefore, in the case of an indoor unit that does not have an address, it is possible to know that the address setting has been completed when the command transmitted by the outdoor unit knows A or B.

st1で、アドレスを持つ場合は処理を終了し、アドレスを持たない場合はst2へ進む。st2では、室外機10と他の室内機の通信を受信し、設定されているアドレスの抽出を行ないst3へ進む。本説明においては、設定されているアドレスは21と22である。st3では、st2で抽出したアドレスのいずれの室内機の次に割り込むかを決定し、st4に進む。本説明においては、室内機22を選択したものとする。st4では、受信開始によりタイマ1をスタートさせst5へ進む。st5では、選択した室内機(室内機22)がコマンドを送信するのを待つ。st5で受信したコマンドが選択した室内機からのものではなかった場合はst4に戻り、選択した室内機(室内機22)である場合st6へ進む
st6では、st4でスタートさせたタイマ1が所定時間(t3)経過するのを待つ。タイマ1(t3)の時間設定については、選択した室内機の応答が終了し、次に室外機10が送信を開始するまでの時間の間で設定する。st6でタイマ1の値がt3を経過した場合st7へ進み、室外機10に向けコマンドCを送信した後st8へ進み、タイマ2をスタートさせst9へ進む。st9では、タイマ2が予め設定された値(T)未満であるかどうかを判断する。T未満である場合はst10に進み、タイマ2がTを超過した場合は、コマンドCが何らかの原因により室外機10が認識できなかったと判断し、やり直しのためにst4に戻る。
If it has an address at st1, the process ends. If it does not have an address, the process proceeds to st2. In st2, the communication between the outdoor unit 10 and another indoor unit is received, the set address is extracted, and the process proceeds to st3. In this description, the set addresses are 21 and 22. In st3, it is determined which indoor unit of the address extracted in st2 is to be interrupted next, and the process proceeds to st4. In this description, it is assumed that the indoor unit 22 is selected. In st4, the timer 1 is started by the start of reception and proceeds to st5. In st5, it waits for the selected indoor unit (indoor unit 22) to transmit a command. If the command received in st5 is not from the selected indoor unit, the process returns to st4, and if it is the selected indoor unit (indoor unit 22), the process proceeds to st6. In st6, the timer 1 started in st4 is set for a predetermined time. (T3) Wait for elapse. About the time setting of the timer 1 (t3), it sets between the time until the response of the selected indoor unit is complete | finished and the outdoor unit 10 next starts transmission. If the value of timer 1 has elapsed t3 in st6, the process proceeds to st7, and after transmitting the command C to the outdoor unit 10, the process proceeds to st8, the timer 2 is started and the process proceeds to st9. In st9, it is determined whether or not the timer 2 is less than a preset value (T). If it is less than T, the process proceeds to st10. If the timer 2 exceeds T, it is determined that the outdoor unit 10 cannot recognize the command C for some reason, and the process returns to st4 for redoing.

st10では、コマンドC送信後アドレス設定が開始されたかどうかを判断する。図には示していないが、例えば室外機10がコマンドDを送信した場合は、アドレス設定が開
始されたと判断する。st10で、アドレス設定が開始された場合は処理を終了し、アドレス設定が開始されない場合はst9へ戻り、st9、st10を繰り返す。
In st10, it is determined whether or not address setting is started after transmission of the command C. Although not shown in the figure, for example, when the outdoor unit 10 transmits the command D, it is determined that the address setting has been started. If the address setting is started in st10, the process is terminated. If the address setting is not started, the process returns to st9, and st9 and st10 are repeated.

上記の様にして、アドレスを持たない室内機23は、選択した室内機の送信完了後から室外機10が送信を開始するまでの時間を利用して、アドレス未設定室内機の存在を知らせることができる。一方、受信状態である室外機10がコマンドCを受け取った場合は、アドレス未設定の室内機の存在を認識し、再度アドレス設定処理を実施することとなる。   As described above, the indoor unit 23 that does not have an address notifies the presence of an indoor unit without an address using the time from the completion of transmission of the selected indoor unit until the outdoor unit 10 starts transmission. Can do. On the other hand, when the outdoor unit 10 in the reception state receives the command C, it recognizes the presence of an indoor unit for which no address is set, and performs the address setting process again.

(実施の形態7)
図1に対する説明は、実施の形態1における説明と同一であるため、説明を省略する。図12は、本実施の形態7における、アドレス未設定の室内機が、室外機10に対しアドレス未設定を報知するコマンドCを送信する手順を示したフローチャートである。以下に本発明の実施の形態7を図1、図10及び図12を用いて説明する。ここでは、室内機21から22までは、室外機10からの自動アドレス設定によりアドレスが付与されているとし、一方、室内機23については、電源投入が遅れた等の理由によりアドレスが付与されていないものとする。
(Embodiment 7)
The description for FIG. 1 is the same as the description in Embodiment 1, and thus the description is omitted. FIG. 12 is a flowchart showing a procedure in which an indoor unit with no address set transmits a command C for notifying the outdoor unit 10 of no address set in the seventh embodiment. A seventh embodiment of the present invention will be described below with reference to FIGS. Here, it is assumed that addresses are assigned to the indoor units 21 to 22 by automatic address setting from the outdoor unit 10, while addresses are assigned to the indoor units 23 for reasons such as a delay in power-on. Make it not exist.

以下、図1に示すように、バスライン40によって室外機10には接続されているが、アドレスを持たない室内機23の、室外機10に対するアドレス未設定室内機の存在を報知するコマンドCを送信する手順について図10及び図12を用いて説明する。図12において、まず、自己がアドレスを持たないことを確認する(st1)。フローチャートには表現していないが、ここでは、室外機10がコマンドA或いはコマンドBを送信するのは、アドレス設定等の初期設定完了以降としている。よって、アドレスを持たない室内機の場合は、室外機が送信するコマンドがA或いはBを知ることにより、アドレス設定が終了している事を知ることが可能となる。   Hereinafter, as shown in FIG. 1, a command C for notifying the presence of an indoor unit whose address is not set for the outdoor unit 10 of the indoor unit 23 that is connected to the outdoor unit 10 by the bus line 40 but does not have an address. The transmission procedure will be described with reference to FIGS. In FIG. 12, first, it is confirmed that it does not have an address (st1). Although not expressed in the flowchart, here, the outdoor unit 10 transmits the command A or the command B after completion of initial setting such as address setting. Therefore, in the case of an indoor unit that does not have an address, it is possible to know that the address setting has been completed when the command transmitted by the outdoor unit knows A or B.

st1で、アドレスを持つ場合は処理を終了し、アドレスを持たない場合はst2へ進む。st2では、室外機10と他の室内機の通信を受信し、設定されている室内機のアドレスの抽出を行ないst3へ進む。本説明においては、設定されているアドレスは21と22である。st3では、st2で抽出したアドレスのいずれの室内機の次に割り込むかを決定し、st4に進む。本説明においては、室内機22を選択したものとする。   If it has an address at st1, the process ends. If it does not have an address, the process proceeds to st2. In st2, the communication between the outdoor unit 10 and another indoor unit is received, the address of the set indoor unit is extracted, and the process proceeds to st3. In this description, the set addresses are 21 and 22. In st3, it is determined which indoor unit of the address extracted in st2 is to be interrupted next, and the process proceeds to st4. In this description, it is assumed that the indoor unit 22 is selected.

st4では、アドレス未決定を報知するコマンドを送信する時期をst3で選択した室内機が何回送信した後に実施するのかという回数(CC)を決定しst5へ進む。st5では、受信開始によりタイマ1をスタートさせst6へ進む。st6では、選択した室内機(室内機22)がコマンドを送信するのを待つ。st6で、受信したコマンドが選択した室内機(室内機22)からのものではなかった場合はst5に戻り、選択した室内機(室内機22)である場合st7へ進む。   In st4, the number (CC) of how many times the indoor unit selected in st3 transmits the command to notify that the address has not been determined is determined, and the process proceeds to st5. In st5, the timer 1 is started by the start of reception and proceeds to st6. In st6, it waits for the selected indoor unit (indoor unit 22) to transmit a command. In st6, if the received command is not from the selected indoor unit (indoor unit 22), the process returns to st5, and if it is the selected indoor unit (indoor unit 22), the process proceeds to st7.

st7では、受信回数カウンタを+1し、st8へ進む。st8では、受信回数カウンタとst4で決定した回数(CC)を比較し、受信回数カウンタが設定した回数を超えている場合はst9へ進み、超えていない場合はst5へ戻る。st9では、st5でスタートさせたタイマ1が所定時間(t3)経過するのを待つ。タイマ1(t3)の時間設定については、選択した室内機の応答が終了し、次に室外機10が送信を開始するまでの時間の間で設定する。   In st7, the reception number counter is incremented by 1, and the process proceeds to st8. In st8, the reception number counter is compared with the number of times (CC) determined in st4. If the reception number counter exceeds the set number, the process proceeds to st9, and if not, the process returns to st5. In st9, the timer 1 started in st5 waits for a predetermined time (t3) to elapse. About the time setting of the timer 1 (t3), it sets between the time until the response of the selected indoor unit is complete | finished and the outdoor unit 10 next starts transmission.

st9で、タイマ1の値がt3を経過した場合st10へ進み、室外機10に向けコマンドCを送信した後st11へ進み、タイマ2をスタートさせst12へ進む。st12ではタイマ2が予め設定された値(T)未満であるかどうかを判断する。T未満である場合はst13に進み、タイマ2がTを超過した場合は、コマンドCが何らかの原因により
室外機10が認識できなかったと判断し、受信回数カウンタをクリア(st14)した後、やり直しのためにst5に戻る。
If the value of timer 1 has passed t3 in st9, the process proceeds to st10, the command C is transmitted to the outdoor unit 10, then the process proceeds to st11, the timer 2 is started and the process proceeds to st12. In st12, it is determined whether or not the timer 2 is less than a preset value (T). If it is less than T, the process proceeds to st13. If the timer 2 exceeds T, it is determined that the outdoor unit 10 cannot recognize the command C for some reason, the reception number counter is cleared (st14), and the process is repeated. Therefore, the process returns to st5.

st13では、コマンドC送信後アドレス設定が開始されたかどうかを判断する。図には示していないが、例えば室外機10がコマンドDを送信した場合は、アドレス設定が開始されたと判断する。st13で、アドレス設定が開始された場合は処理を終了し、アドレス設定が開始されない場合はst12へ戻り、st12、st13を繰り返す。   In st13, it is determined whether or not address setting is started after transmission of the command C. Although not shown in the figure, for example, when the outdoor unit 10 transmits the command D, it is determined that the address setting has been started. If the address setting is started in st13, the process is terminated. If the address setting is not started, the process returns to st12, and st12 and st13 are repeated.

上記の様にして、アドレスを持たない室内機23は、選択した室内機の送信完了後から室外機10が送信を開始するまでの時間を利用して、アドレス未設定室内機の存在を知らせることができる。一方、受信状態である室外機10がコマンドCを受け取った場合は、アドレス未設定の室内機の存在を認識し、再度アドレス設定処理を実施することとなる。   As described above, the indoor unit 23 that does not have an address notifies the presence of an indoor unit without an address using the time from the completion of transmission of the selected indoor unit until the outdoor unit 10 starts transmission. Can do. On the other hand, when the outdoor unit 10 in the reception state receives the command C, it recognizes the presence of an indoor unit for which no address is set, and performs the address setting process again.

(実施の形態8)
図1及び図6に対する説明は、これまでにおける説明と同一であるため、説明を省略する。図13は、本実施の形態8における、アドレス未設定の室内機が、室外機10に対しアドレス未設定を報知するコマンドCを送信する手順を示したフローチャートである。以下に本発明の実施の形態7を図1、図6及び図13を用いて説明する。ここでは、室内機21から22までは、室外機10からの自動アドレス設定によりアドレスが付与されているとし、一方、室内機23については、電源投入が遅れた等の理由によりアドレスが付与されていないものとする。
(Embodiment 8)
The description for FIGS. 1 and 6 is the same as the description so far, and the description is omitted. FIG. 13 is a flowchart illustrating a procedure in which an indoor unit without an address in the eighth embodiment transmits a command C for informing the outdoor unit 10 that an address has not been set. A seventh embodiment of the present invention will be described below with reference to FIGS. Here, it is assumed that addresses are assigned to the indoor units 21 to 22 by automatic address setting from the outdoor unit 10, while addresses are assigned to the indoor units 23 for reasons such as a delay in power-on. Make it not exist.

以下、図1に示すように、バスライン40によって室外機10には接続されているが、アドレスを持たない室内機23の、室外機10に対するアドレス未設定室内機の存在を報知するコマンドCを送信する手順について図6及び図12を用いて説明する。   Hereinafter, as shown in FIG. 1, a command C for notifying the presence of an indoor unit whose address is not set for the outdoor unit 10 of the indoor unit 23 that is connected to the outdoor unit 10 by the bus line 40 but does not have an address. The transmission procedure will be described with reference to FIGS.

図13において、まず、自己がアドレスを持たないことを確認する(st1)。フローチャートには表現していないが、ここでは、室外機10がコマンドA或いはコマンドBを送信するのは、アドレス設定等の初期設定完了以降としている。よって、アドレスを持たない室内機の場合は、室外機が送信するコマンドがA或いはBを知ることにより、アドレス設定が終了している事を知ることが可能となる。   In FIG. 13, first, it is confirmed that it does not have an address (st1). Although not expressed in the flowchart, here, the outdoor unit 10 transmits the command A or the command B after completion of initial setting such as address setting. Therefore, in the case of an indoor unit that does not have an address, it is possible to know that the address setting has been completed when the command transmitted by the outdoor unit knows A or B.

st1で、アドレスを持つ場合は処理を終了し、アドレスを持たない場合はst2へ進む。st2で、アドレス未決定を報知するコマンドを送信するタイミングを室外機10がコマンドAを送信した後か、或いはコマンドBを送信した後とするのかを決定しst3へ進む。ここでは、説明のためコマンドB受信後とする。st3では、受信開始によりタイマ1をスタートさせst4へ進む。st4では室外機がst2で選択したコマンド(本説明ではコマンドB)を送信するのを待つ。st4でコマンドBを受信した場合はst5へ進み、st5でst3でスタートさせたタイマ1が所定時間(t3)経過するのを待つ。タイマ1(t3)の時間設定については、他の室内機の応答が開始されるまでに室外機10がコマンドCの分析を実行できるような時間に設定する。   If it has an address at st1, the process ends. If it does not have an address, the process proceeds to st2. In st2, it is determined whether the outdoor unit 10 transmits the command A or the command B after transmitting the command for informing that the address has not been determined, and the process proceeds to st3. Here, for the sake of explanation, it is assumed that command B has been received. In st3, the timer 1 is started by the start of reception and proceeds to st4. In st4, it waits for the outdoor unit to transmit the command (command B in this description) selected in st2. When the command B is received at st4, the process proceeds to st5, and the timer 1 started at st3 at st5 waits for a predetermined time (t3) to elapse. About the time setting of the timer 1 (t3), it sets to the time which the outdoor unit 10 can perform the analysis of the command C until the response of another indoor unit is started.

st5で、タイマ1の値がt3を経過した場合st6へ進み、室外機10に向けコマンドCを送信した後、st7でタイマ2をスタートさせst8へ進む。st8では、タイマ2が予め設定された値(T)未満であるかどうかを判断する。T未満である場合はst9に進み、タイマ2がTを以上の場合は、コマンドCが何らかの原因により室外機10が認識できなかったと判断し、やり直しのためにst2に戻り再度報知するコマンドCを割り込ませるコマンドの選択からやりなおす。   If the value of timer 1 exceeds t3 in st5, the process proceeds to st6, and after command C is transmitted to the outdoor unit 10, the timer 2 is started in st7 and proceeds to st8. In st8, it is determined whether or not the timer 2 is less than a preset value (T). If it is less than T, the process proceeds to st9. If the timer 2 is greater than or equal to T, it is determined that the outdoor unit 10 cannot recognize the command C for some reason. Redo from selection of command to interrupt.

st9では、コマンドC送信後アドレス設定が開始されたかどうかを判断する。図には
示していないが、例えば室外機10がコマンドDを送信した場合は、アドレス設定が開始されたと判断する。st9ではアドレス設定が開始された場合は処理を終了し、アドレス設定が開始されない場合はst8へ戻り、st8、st9を繰り返す。
In st9, it is determined whether or not address setting is started after transmission of the command C. Although not shown in the figure, for example, when the outdoor unit 10 transmits the command D, it is determined that the address setting has been started. In st9, if the address setting is started, the process is terminated. If the address setting is not started, the process returns to st8, and st8 and st9 are repeated.

上記の様にして、アドレスを持たない室内機23は、室外機10に対し、室外機10のデータ送信後から室内機21〜22のいずれかが応答を開始するまでの時間を利用して、アドレス未設定室内機の存在を知らせることができる。一方、受信状態である室外機10がコマンドCを受け取った場合は、アドレス未設定の室内機の存在を認識し、再度アドレス設定処理を実施することとなる。   As described above, the indoor unit 23 having no address uses the time from the data transmission of the outdoor unit 10 to the start of a response by any of the indoor units 21 to 22 to the outdoor unit 10. The presence of an indoor unit for which no address is set can be notified. On the other hand, when the outdoor unit 10 in the reception state receives the command C, it recognizes the presence of an indoor unit for which no address is set, and performs the address setting process again.

本発明にかかる多端末通信方式および多端末通信方式を備えた空気調和機は、一台の中央装置に対し複数の端末装置を有するシステムにおいて、ポーリングという固定された順番をもつ通信方式でありながら、アドレスを持たない端末装置が発生した場合においても、その存在を知らせることが可能となるので、空調機のみではなく、他のポーリング方式を採用するマスター、スレーブの関係を持つ機器全般においても適用できる。   An air conditioner equipped with a multi-terminal communication method and a multi-terminal communication method according to the present invention is a communication method having a fixed order of polling in a system having a plurality of terminal devices for one central device. Even when a terminal device that does not have an address occurs, it can be notified of its existence, so it is applicable not only to air conditioners but also to all devices with master / slave relationships that employ other polling methods. it can.

本発明の実施の形態1における空気調和機100の構成を示す概略図Schematic which shows the structure of the air conditioner 100 in Embodiment 1 of this invention. 本発明の実施の形態1における室外ユニット10と室内ユニット21〜22との間で行われるポーリングの各々の送信タイミングを表したタイムチャートThe time chart showing each transmission timing of the polling performed between the outdoor unit 10 and the indoor units 21-22 in Embodiment 1 of this invention 本発明の実施の形態1における室外ユニット10と室内ユニット21との送信データの間で行なわれる通信に対し、アドレスが設定されていない室内機23が割り込むタイミングを表したタイムチャートTime chart showing the timing when indoor unit 23 in which no address is set interrupts communication performed between transmission data between outdoor unit 10 and indoor unit 21 in Embodiment 1 of the present invention. 本発明の実施の形態1におけるアドレス未設定の室内機が、室外機10に対しアドレス未設定を報知するコマンドCを送信する手順を示したフローチャートThe flowchart which showed the procedure which the indoor unit in which address is not set in Embodiment 1 of this invention transmits the command C which alert | reports address non-setting with respect to the outdoor unit 10 本発明の実施の形態2における、アドレス未設定の室内機が、室外機10に対しアドレス未設定を報知するコマンドCを送信する手順を示したフローチャートThe flowchart which showed the procedure in which the indoor unit in which address is not set in Embodiment 2 of this invention transmits the command C which alert | reports address non-setting with respect to the outdoor unit 10 本発明の実施の形態3における室外ユニット10と室内ユニット21との送信データの間で行なわれる通信に対し、アドレスが設定されていない室内機23が割り込むタイミングを表したタイムチャートTime chart showing the timing at which indoor unit 23 in which no address is set interrupts communication performed between transmission data between outdoor unit 10 and indoor unit 21 in Embodiment 3 of the present invention. 本発明の実施の形態3における、アドレス未設定の室内機が、室外機10に対しアドレス未設定を報知するコマンドCを送信する手順を示したフローチャートThe flowchart which showed the procedure which the indoor unit in which address is not set in Embodiment 3 of this invention transmits the command C which alert | reports address non-setting with respect to the outdoor unit 10 本発明の実施の形態4における、アドレス未設定の室内機が、室外機10に対しアドレス未設定を報知するコマンドCを送信する手順を示したフローチャートThe flowchart which showed the procedure in which the indoor unit in which address is not set in Embodiment 4 of this invention transmits the command C which alert | reports address non-setting with respect to the outdoor unit 10 本発明の実施の形態5における、アドレス未設定の室内機が、室外機10に対しアドレス未設定を報知するコマンドCを送信する手順を示したフローチャートThe flowchart which showed the procedure in which the indoor unit in which an address is not set transmits the command C which alert | reports address non-setting with respect to the outdoor unit 10 in Embodiment 5 of this invention. 本発明の実施の形態6における室外ユニット10と室内ユニット21との送信データの間で行なわれる通信に対し、アドレスが設定されていない室内機23が割り込むタイミングを表したタイムチャートTime chart showing the timing at which indoor unit 23 in which no address is set interrupts communication performed between transmission data between outdoor unit 10 and indoor unit 21 in Embodiment 6 of the present invention. 本発明の実施の形態6における、アドレス未設定の室内機が、室外機10に対しアドレス未設定を報知するコマンドCを送信する手順を示したフローチャートThe flowchart which showed the procedure in which the indoor unit in which address is not set in Embodiment 6 of this invention transmits the command C which alert | reports address non-setting with respect to the outdoor unit 10 本発明の実施の形態7における、アドレス未設定の室内機が、室外機10に対しアドレス未設定を報知するコマンドCを送信する手順を示したフローチャートThe flowchart which showed the procedure in which the indoor unit in which address is not set in Embodiment 7 of this invention transmits the command C which alert | reports address non-setting with respect to the outdoor unit 10 本発明の実施の形態8における、アドレス未設定の室内機が、室外機10に対しアドレス未設定を報知するコマンドCを送信する手順を示したフローチャートThe flowchart which showed the procedure in which the indoor unit in which an address is not set transmits the command C which alert | reports address non-setting with respect to the outdoor unit 10 in Embodiment 8 of this invention. 従来の空気調和機の構成を示す概略図Schematic showing the configuration of a conventional air conditioner 従来の室外機と室内機との内部機構を示す概略図Schematic showing the internal mechanism of a conventional outdoor unit and indoor unit 従来の自動アドレス設定を行う際にCPUによって実現される機能ブロックを示す概略図Schematic showing functional blocks implemented by the CPU when performing conventional automatic address setting

符号の説明Explanation of symbols

10 室外機
21、22、23 室内機
100 空気調和機
10 outdoor unit 21, 22, 23 indoor unit 100 air conditioner

Claims (10)

中央装置と複数台の端末装置間のポーリング方式による通信に関し、前記中央装置が複数台の前記端末装置を管理するために用いるアドレスの付与を自動で行なう機能を有した多端末通信方式において、アドレスが付与されていない前記端末装置は前記中央装置に対しアドレス未設定端末装置の存在を報知する機能を持ち、前記中央装置は前記端末装置からアドレス未設定の報知を受けた場合には、再度全ての前記端末装置に対しアドレスの設定を実施することを特徴とする多端末通信方式。 In communication with a polling method between a central device and a plurality of terminal devices, in the multi-terminal communication method having a function of automatically assigning an address used by the central device to manage the plurality of terminal devices, The terminal device to which no address is assigned has a function of notifying the central device of the presence of an address unset terminal device, and when the central device receives an address non-set notification from the terminal device, A multi-terminal communication system, wherein an address is set for the terminal device. アドレス未設定端末装置の存在を報知する機能は、アドレスが付与されていない前記端末装置自体が前記中央装置に対しアドレス未設定を報知するタイミングを単数或いは複数の要因により決定する事を特徴とする請求項1に記載の多端末通信方式。 The function of notifying the presence of an unaddressed terminal device is characterized in that the terminal device itself, to which no address is assigned, determines the timing at which an address non-setting is notified to the central device based on one or more factors. The multi-terminal communication system according to claim 1. アドレスが付与されていない端末装置自体が中央装置に対しアドレス未設定を報知するタイミングは、該当端末装置の電源が投入されてからの経過時間が予め設定された時間と一致した場合とする事を特徴とする請求項2に記載の多端末通信方式。 The timing at which the terminal device itself to which no address is assigned notifies the central device that the address has not been set is set to be the time when the elapsed time since the power of the corresponding terminal device is turned on matches the preset time. The multi-terminal communication system according to claim 2, wherein: アドレスが付与されていない端末装置自体が中央装置に対しアドレス未設定を報知するタイミングは、前記中央装置が送信する特定のコマンドをトリガとし、前記特定のコマンドは前記端末装置が決定する事を特徴とする請求項2に記載の多端末通信方式。 The timing when the terminal device itself to which no address is assigned notifies the central device that the address has not been set is triggered by a specific command transmitted by the central device, and the specific command is determined by the terminal device. The multi-terminal communication system according to claim 2. アドレスが付与されていない端末装置自体が中央装置に対しアドレス未設定を報知するタイミングは、前記中央装置からの特定のコマンドの送信回数をトリガとし、前記特定のコマンド及び前記送信回数は前記端末装置が決定する事を特徴とする請求項2に記載の多端末通信方式。 The timing at which the terminal device itself to which no address is assigned notifies the central device that the address has not been set is triggered by the number of transmissions of a specific command from the central device, and the specific command and the number of transmissions are determined by the terminal device. The multi-terminal communication method according to claim 2, wherein: アドレスが付与されていない端末装置自体が中央装置に対しアドレス未設定を報知するタイミングは、前記中央装置からのコマンドの送信回数をトリガとし、前記送信回数は前記端末装置が決定する事を特徴とする請求項2に記載の多端末通信方式。 The timing at which the terminal device itself to which no address is assigned notifies the central device that the address has not been set is triggered by the number of command transmissions from the central device, and the number of transmissions is determined by the terminal device. The multi-terminal communication system according to claim 2. アドレスが付与されていない端末装置自体が中央装置に対しアドレス未設定を報知するタイミングは、前記中央装置に対する前記端末装置の特定のアドレスをトリガとし、前記特定のアドレスは前記端末装置が決定する事を特徴とする請求項2に記載の多端末通信方式。 The timing at which the terminal device itself to which no address is assigned notifies the central device that the address has not been set is triggered by a specific address of the terminal device with respect to the central device, and the specific address is determined by the terminal device. The multi-terminal communication system according to claim 2. アドレスが付与されていない端末装置自体が中央装置に対しアドレス未設定を報知するタイミングは、前記中央装置に対する端末装置の特定のアドレスの応答回数をトリガとし、前記特定のアドレス及び前記応答回数は前記端末装置が決定する事を特徴とする請求項2に記載の多端末通信方式。 The timing at which the terminal device itself to which no address is assigned notifies the central device that the address has not been set is triggered by the number of responses of the specific address of the terminal device to the central device, and the specific address and the number of responses are The multi-terminal communication method according to claim 2, wherein the terminal device determines. アドレス未設定端末装置の存在を報知する機能は、アドレスが付与されていない端末装置自体が前記中央装置に対しアドレス未設定を報知するタイミングを報知の都度変更する機能を持つ事を特徴とする請求項1ないし請求項8のうちいずれかに記載の多端末通信方式。 The function of notifying of the presence of an unaddressed terminal device has a function of changing the timing at which an unassigned terminal device itself notifies the central device of address non-setting every time it is notified. The multi-terminal communication system according to any one of claims 1 to 8. 室外機と複数の室内機間でポーリングによる通信を行うことにより運転制御が行われる空気調和機において、請求項1ないし請求項9のいずれかに記載の多端末通信方式を備えた空気調和機。 10. An air conditioner in which operation control is performed by performing communication by polling between an outdoor unit and a plurality of indoor units, comprising the multi-terminal communication method according to claim 1.
JP2004372826A 2004-12-24 2004-12-24 Multiterminal communication system, and air conditioner equipped therewith Pending JP2006177630A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2004372826A JP2006177630A (en) 2004-12-24 2004-12-24 Multiterminal communication system, and air conditioner equipped therewith

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2004372826A JP2006177630A (en) 2004-12-24 2004-12-24 Multiterminal communication system, and air conditioner equipped therewith

Publications (1)

Publication Number Publication Date
JP2006177630A true JP2006177630A (en) 2006-07-06

Family

ID=36731891

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2004372826A Pending JP2006177630A (en) 2004-12-24 2004-12-24 Multiterminal communication system, and air conditioner equipped therewith

Country Status (1)

Country Link
JP (1) JP2006177630A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102331074A (en) * 2011-10-14 2012-01-25 青岛海尔空调电子有限公司 Air-conditioning system and implementation method and device for controlling same

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102331074A (en) * 2011-10-14 2012-01-25 青岛海尔空调电子有限公司 Air-conditioning system and implementation method and device for controlling same

Similar Documents

Publication Publication Date Title
US20230149259A1 (en) System and Method for Dynamic Device Discovery and Address Assignment
JP2018529170A (en) Identifying multiple identical devices on a shared bus
CN101852472B (en) Automatic addressing method for air conditioning system and air conditioning controller
CN108521474B (en) Address competition method of multi-connected control system
JP4168051B2 (en) Network system and formal address assignment method thereof
JP2010007947A (en) Equipment control monitoring device and equipment control monitoring program
US10942885B2 (en) Communicating apparatus, communication method, program, and communication system
JP2010276204A (en) Communication system of air conditioning device
JP2006177630A (en) Multiterminal communication system, and air conditioner equipped therewith
KR100630450B1 (en) Automatic Allocation of Communication Address for Multi-airconditioner System
JP4950617B2 (en) Air conditioning management apparatus, air conditioning management method, and air conditioning management program
JP4994889B2 (en) Air conditioning communication system, communication system and program
JP6762546B1 (en) Serial communication method and serial communication system
CN110608502B (en) Air conditioner communication method based on single-wire half-duplex communication and air conditioner
JP2008286461A (en) Air conditioner
JP2008096080A (en) Address setting method in air conditioner
JP2006242525A (en) Air conditioner and address setting method in air conditioner
JP2007003083A (en) Air conditioner and address setting method for air conditioner
JP2005188883A (en) Air conditioner, and address setting method of air conditioner
JP3005561B1 (en) Air conditioning system address setting method and device
JP2005061676A (en) Air conditioner
JP7468152B2 (en) Air Conditioning System
JP2007071428A (en) Unregistered indoor unit adding device in air conditioner
JP2007032858A (en) Device and method for adding unregistered indoor unit in air conditioner
JP2008121947A (en) Air conditioner and address setting method in air conditioner