JP2006177630A - Multiterminal communication system, and air conditioner equipped therewith - Google Patents
Multiterminal communication system, and air conditioner equipped therewith Download PDFInfo
- 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
Links
Images
Landscapes
- Air Conditioning Control Device (AREA)
- Small-Scale Networks (AREA)
Abstract
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
図14に示す様に、この空気調和機300には、一台の室外機310と複数の室内機321〜324が設けられている。室外機310と各室内機321〜324とは、通信ライン340を介して相互に通信可能となっている。
As shown in FIG. 14, the air conditioner 300 is provided with one
図15において、室外機310には、CPU311とEEPROM312とデータ送信部310aとデータ受信部310bとが設けられている。また、室内機321には、CPU411とEEPROM412とデータ送信部321aとデータ受信部321bとが設けられている。
In FIG. 15, the
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
室外機310のCPU311は、通常運転時において複数の室内機321〜324のそれぞれに対して個別にコンプレッサや室内ファン等の動作を制御する制御信号を送受信する必要があることから、通常運転に先だって自動的に各室内機に対してアドレスを付与する自動アドレス設定が行われる。
Prior to normal operation, the
室内機321のCPU411は、自動アドレス設定の際に通信ライン340を介して室外機310のCPU311から受信する各種コマンドに対して応答メッセージを送出したり又は無応答状態となったりする機能を有している。
The
以下、自動アドレス設定を室外機310のCPU311が行う場合を例にあげて説明する。
Hereinafter, the case where the
図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
次に、各室内機に設定されているシリアル番号を例えば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
まず、室外機310のCPU311は、上位1ビット目の値が1である室内機が応答するように指令を送信すると、全ての室内機321〜324の1ビット目が1であるため、全ての室内機321〜324が応答メッセージを送信する。このとき、各室内機321〜324のCPUは通信ライン340をモニタする事により、自己以外の室内機も応答メッセージを送信したことを認識することができる。
First, when the
次に、CPU311は、上位2ビット目の値が1である室内機が応答するように指令を送信するが、全ての室内機321〜324の2ビット目が0であるため、全ての室内機321〜324が無応答状態となる。このとき、各室内機321〜324のCPUは通信ライン340をモニタする事により、自己以外の室内機も無応答状態であることを認識することが出来る。ここで、各室内機321〜324のCPUは、自己が無応答状態となり、かつ、他の室内機が応答メッセージを送信したことを認識すると、それ以降のビットについては確認コマンドが一致したとしても無応答状態を維持するように構成されている一方、自己が無応答状態となり、かつ、他の室内機も無応答状態であることを認識すると、その次のビットについての確認コマンドが一致した時には応答メッセージを送信するように構成されている。このため、2ビット目について全ての室内機321〜324が無応答状態であるが、次の3ビット目の確認コマンドに対して応答可能な状態となっている。
Next, the
そして、室外機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
そして、CPU311は、次の5ビット目の値が1である室内機が応答するように指令を送信すると、室内機321の5ビット目が1であるため、室内機321のみが応答メッセージを送信し、、室内機322〜324については無応答状態となる。このとき初めて、応答する室内機が1台となり、CPU311は応答メッセージを正常に受信することができるので、この室内機321が特定されたこととなりアドレスの設定付与が可能となる。
Then, when the
特定した室内機に対するアドレスの付与が終了すると、CPU311は、再度1ビット目からビットの確認を再開する。この時点で、室内機についても応答禁止状態がクリアされ、再度各ビットの確認コマンドに対しての応答を再開する。以上の処理を繰り返すことにより、全ての室内機に対しアドレスを付与していく。
しかしながら、前記従来の構成において室外機が全ての室内機を特定するためには、自動アドレス設定前に全ての室内機の電源が投入されているという前提が必要である。 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
図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
図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
図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
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
室外機10は決められた時間(t1)間隔で各室内機21〜22に対し送信を繰り返しており、一方、各室内機21〜22は室外機10からのデータが自己宛てであれば、室外機10のデータ送信開始後一定時間(t2)経過した後に室外機10に対して応答を開始する。このようにして、室外機10と室内機21〜22は順次通信を実施する。ところで、一般的なポーリング方式では、室外機10は認識している各室内機21〜22に対してのみポーリングを実施するため、アドレスを持たない室内機23が室外機10から呼ばれることはない。
The
次に、図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
図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
st4で、タイマ1の値がt3を経過した場合st5へ進み、室外機10に向けコマンドCを送信し(st5)、引き続き、タイマ2をスタートさせ(st6)st7へ進む。st7では、タイマ2が予め設定された値(T)未満であるかどうかを判断する。T未満である場合はst8に進み、タイマ2がTを超過した場合は、コマンドCが何らかの原因により室外機10が認識できなかったと判断し、やり直しのためにst2に戻る。
If the value of
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
上記の様にして、アドレスを持たない室内機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
(実施の形態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
以下、図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
図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
st2では、受信開始によりタイマ1をスタートさせ、st3へ進む。st3では、室外機がコマンドAを送信するのを待つ。コマンドAを受信した場合st4に進む。st4では、タイマ3が予め設定された時間(TT)を経過したかどうかを判定する。予め設定された時間(TT)を経過していない場合はst2に戻り、経過している場合はst5へ進む。
In st2,
st5では、st2でスタートさせたタイマ1が所定時間(t3)経過するのを待つ。タイマ1(t3)の時間設定については、他の室内機の応答が開始されるまでに室外機10がコマンドCの分析を実行できるような時間に設定する。st5で、タイマ1の値がt3を経過した場合st6へ進み、室外機10に向けコマンドCを送信し、引き続き、st7でタイマ2をスタートさせst8へ進む。
In st5, the
st8では、タイマ2が予め設定された値(T)未満であるかどうかを判断する。T未満である場合はst9に進み、タイマ2がTを超過した場合は、コマンドCが何らかの原因により室外機10が認識できなかったと判断し、タイマ3をクリア(st10)した後、やり直しのためにst2に戻る。
In st8, it is determined whether or not the
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
上記の様にして、アドレスを持たない室内機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
(実施の形態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
図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
以下、図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
図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
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
st5で、タイマ1の値がt3を経過した場合st6へ進み、室外機10に向けコマンドCを送信し、st7へ進みタイマ2をスタートさせst8へ進む。st8では、タイマ2が予め設定された値(T)未満であるかどうかを判断する。T未満である場合はst9に進み、タイマ2がTを超過した場合は、コマンドCが何らかの原因により室外機10が認識できなかったと判断し、やり直しのためにst3に戻る。
If the value of
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
上記の様にして、アドレスを持たない室内機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
(実施の形態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
ここでは、室内機21から22までは、室外機10からの自動アドレス設定によりアドレスが付与されているとし、一方、室内機23については、電源投入が遅れた等の理由によりアドレスが付与されていないものとする。以下、図1に示すように、バスライン40によって室外機10には接続されているが、アドレスを持たない室内機23の、室外機10に対するアドレス未設定室内機の存在を報知するコマンドCを送信する手順について図6及び図8を用いて説明する。
Here, it is assumed that addresses are assigned to the
図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
st2では、アドレス未決定を報知するコマンドを送信するタイミングを室外機10がコマンドAを送信した後か、或いはコマンドBを送信した後とするのかを決定しst3へ進む。ここでは、説明のためコマンドB受信後とする。st3では、アドレス未決定を報知するコマンドを送信する時期をst2で選択したコマンドが何回送信された後に送信するのかという回数(CC)を決定しst4へ進む。st4では、受信開始によりタイマ1をスタートさせst5へ進む。st5では、室外機がst2で選択したコマンド(本説明ではコマンドB)を送信するのを待つ。
In st2, it is determined whether the
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
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
上記の様にして、アドレスを持たない室内機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
(実施の形態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
ここでは、室内機21から22までは、室外機10からの自動アドレス設定によりアドレスが付与されているとし、一方、室内機23については、電源投入が遅れた等の理由によりアドレスが付与されていないものとする。以下、図1に示すように、バスライン40によって室外機10には接続されているが、アドレスを持たない室内機23の、室外機10に対するアドレス未設定室内機の存在を報知するコマンドCを送信する手順について図3及び図9を用いて説明する。
Here, it is assumed that addresses are assigned to the
図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
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
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
タイマ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
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
上記の様にして、アドレスを持たない室内機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
(実施の形態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
以下に本発明の実施の形態6を図1、図10及び図11を用いて説明する。ここでは、室内機21から22までは、室外機10からの自動アドレス設定によりアドレスが付与されているとし、一方、室内機23については、電源投入が遅れた等の理由によりアドレスが付与されていないものとする。以下、図1に示すように、バスライン40によって室外機10には接続されているが、アドレスを持たない室内機23の、室外機10に対するアドレス未設定室内機の存在を報知するコマンドCを送信する手順について図10及び図11を用いて説明する。
図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
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
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
上記の様にして、アドレスを持たない室内機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
(実施の形態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
以下、図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
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
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
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
st9で、タイマ1の値がt3を経過した場合st10へ進み、室外機10に向けコマンドCを送信した後st11へ進み、タイマ2をスタートさせst12へ進む。st12ではタイマ2が予め設定された値(T)未満であるかどうかを判断する。T未満である場合はst13に進み、タイマ2がTを超過した場合は、コマンドCが何らかの原因により
室外機10が認識できなかったと判断し、受信回数カウンタをクリア(st14)した後、やり直しのためにst5に戻る。
If the value of
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
上記の様にして、アドレスを持たない室内機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
(実施の形態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
以下、図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
図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
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
st5で、タイマ1の値がt3を経過した場合st6へ進み、室外機10に向けコマンドCを送信した後、st7でタイマ2をスタートさせst8へ進む。st8では、タイマ2が予め設定された値(T)未満であるかどうかを判断する。T未満である場合はst9に進み、タイマ2がTを以上の場合は、コマンドCが何らかの原因により室外機10が認識できなかったと判断し、やり直しのためにst2に戻り再度報知するコマンドCを割り込ませるコマンドの選択からやりなおす。
If the value of
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
上記の様にして、アドレスを持たない室内機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
本発明にかかる多端末通信方式および多端末通信方式を備えた空気調和機は、一台の中央装置に対し複数の端末装置を有するシステムにおいて、ポーリングという固定された順番をもつ通信方式でありながら、アドレスを持たない端末装置が発生した場合においても、その存在を知らせることが可能となるので、空調機のみではなく、他のポーリング方式を採用するマスター、スレーブの関係を持つ機器全般においても適用できる。 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.
10 室外機
21、22、23 室内機
100 空気調和機
10
Claims (10)
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)
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 |
-
2004
- 2004-12-24 JP JP2004372826A patent/JP2006177630A/en active Pending
Cited By (1)
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 |