JPH03201108A - remote control device - Google Patents
remote control deviceInfo
- Publication number
- JPH03201108A JPH03201108A JP1342607A JP34260789A JPH03201108A JP H03201108 A JPH03201108 A JP H03201108A JP 1342607 A JP1342607 A JP 1342607A JP 34260789 A JP34260789 A JP 34260789A JP H03201108 A JPH03201108 A JP H03201108A
- Authority
- JP
- Japan
- Prior art keywords
- address
- data
- code
- remote control
- remote
- 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.)
- Granted
Links
Landscapes
- Selective Calling Equipment (AREA)
Abstract
(57)【要約】本公報は電子出願前の出願データであるた
め要約のデータは記録されません。(57) [Summary] This bulletin contains application data before electronic filing, so abstract data is not recorded.
Description
【発明の詳細な説明】
産業上の利用分野
本発明はガス給湯機等を遠隔制御するためのリモートコ
ントロール装置に関する。DETAILED DESCRIPTION OF THE INVENTION Field of the Invention The present invention relates to a remote control device for remotely controlling a gas water heater or the like.
従来の技術
従来ガス給湯機で用いられてきた通信プロトコルにつき
、第5図にもとづいて説明する。2. Description of the Related Art Communication protocols conventionally used in gas water heaters will be explained based on FIG.
第5図は本体機器に対しリモコイが3台接続された場合
の通信プロトコル概念図である。リモコンAで何れかの
操作スイッチが押されると、その状態変化を本体機器4
にデータとして送信する(31)、本体機器4はデータ
を正常に受は取ることができた場合、答えであるアック
をリモコンAに返す(S2)、Lかし、この状態ではリ
モコンAの状態変化をリモコンB1リモコンCはまだ受
は取っておらず、リモコン表示としてリモコンAとリモ
コンB、Cとでは異なる表示になっていることになる。FIG. 5 is a conceptual diagram of a communication protocol when three remote controllers are connected to the main device. When any operation switch is pressed on remote control A, the change in status is transmitted to main unit 4.
(31). If the main device 4 can successfully receive the data, it returns an answer, ACK, to the remote control A (S2). In this state, the state of the remote control A is Remote controller B1 and remote controller C have not yet received the change, so remote controller A and remote controllers B and C have different displays as remote controller displays.
これは、送信データ中の送信相手のアドレスを示すディ
ストネーシッンアドレスが、自らのアドレス設定の違う
場合データ受信しても取りこまず無視しているためであ
る。全てのリモコンA、B、Cの表示を一敗させるため
に本体機器4は、リモコンAから受は取ったデータの内
容をディストネーションアドレスをリモコンBにして送
る(B3)、リモコンBはデータを正しく受信するとナ
ックを本体に返送する(S 4 ) 、次に本体機器4
は再びリモコンAから受は取ったデータの内容をディス
トネーションアドレスをリモコンCにして送り(35)
、リモコンCは正しくデータを受信するとナックを返す
(B6)、以上の(Sl)〜(B6)の動作により、リ
モコンAが操作された時の通信が終了し、すべてのリモ
コンが正しい表示をすることになるのである。This is because if the destination address indicating the address of the transmission destination in the transmission data is different from the address setting of the transmission destination, even if the data is received, it is ignored without being imported. In order to make the display on all remote controllers A, B, and C disappear, the main device 4 sends the contents of the data received from remote controller A with the destination address set to remote controller B (B3), and remote controller B sends the data. If it is received correctly, the knack is returned to the main unit (S4), and then the main unit 4
sends the data received from remote controller A again with the destination address set to remote controller C (35)
, When remote control C receives the data correctly, it returns a nack (B6). By the above operations (Sl) to (B6), the communication when remote control A is operated is completed, and all remote controllers display the correct display. That's what happens.
発明が解決しようとする課題
しかしながら上記の様な構成では、リモコンAが操作さ
れてからリモコンCの表示が変わるまでに数百ミリ秒を
必要とし非常に応答の遅いものであった。また、1回の
操作に対して通信を行う機会が(Sl)〜(B6)まで
6回あり、通信途中に異常が発生し、リモコンAのデー
タがリモコンBやリモコンCに間違って伝達される可能
性があった。Problems to be Solved by the Invention However, with the above configuration, several hundred milliseconds are required from when remote controller A is operated until the display on remote controller C changes, resulting in a very slow response. In addition, there are six opportunities to communicate for one operation (Sl) to (B6), and an error occurs during communication, causing data from remote control A to be incorrectly transmitted to remote control B and remote control C. It was possible.
そこで本発明は、リモコンの操作に対する応答が速く、
なおかつ通信の信頼性の高いリモートコントロール装置
を提供することを目的としている。Therefore, the present invention provides a quick response to remote control operations.
Moreover, the purpose is to provide a remote control device with high communication reliability.
課題を解決するための手段
そこで上記目的を達成するために本発明は、リモコン制
御装置と、リモコンのアドレスを設定するアドレス設定
装置と、他のリモコンや本体機器と信号伝送を行う送受
信装置とを備え、送受信装置は機器本体及びリモコンか
ら伝送する情報にナック要求アドレスを付加した構成に
おいて、受信信号が正常な場合は受信信号における前記
ナック要求アドレスが前記アドレス設定装置の設定と−
致すれば信号取込みの後ナックコードを送信し、前記ナ
ック要求アドレスが前記アドレス設定装置の設定と一致
しなければ信号取込みの後もナックコードを返さないナ
ックコード送信手段と、受信信号が異常の場合は前記ナ
ック要求アドレスが何であれナックコードを送信するナ
ックコード送信手段を有するものである。Means for Solving the Problems To achieve the above object, the present invention provides a remote control control device, an address setting device for setting the address of the remote control, and a transmitting/receiving device for transmitting signals with other remote controllers and main device. In a configuration in which the transmitting/receiving device adds a NAC request address to the information transmitted from the device main body and the remote control, if the received signal is normal, the NAC request address in the received signal is the same as the setting of the address setting device.
a nack code transmitting means that transmits a nac code after signal acquisition if the nac request address does not match the setting of the address setting device, and does not return the nac code even after signal acquisition; In this case, the device has a NAC code transmitting means for transmitting a NAC code regardless of the NAC request address.
作用
本発明のリモートコントロール装置は、送受信データの
中にナック要求アドレスを付加し、ナック要求アドレス
が何であれデータを取込むことにより、本体機器を介さ
ずリモコン間での通信が行え、他のリモコンでの操作及
び本体機器の状態変化に対する応答が速い。また、デー
タ通信の機会が減るため、通信の信頼性も向上するもの
である。Operation The remote control device of the present invention adds a NAC request address to the transmitted and received data and captures the data no matter what the NAC request address is, thereby allowing communication between remote controllers without going through the main device, and allowing communication with other remote controllers. The response to operations and changes in the status of the main unit is fast. Furthermore, since opportunities for data communication are reduced, the reliability of communication is also improved.
実施例
以下本発明の一実施例におけるリモートコントロール装
置について図面とともに説明する。EMBODIMENT A remote control device according to an embodiment of the present invention will be described below with reference to the drawings.
第1図は本発明の一実施例のシステム図である。FIG. 1 is a system diagram of an embodiment of the present invention.
本体ll器4にリモコンA1リモコンB1リモコンCの
3つのリモコンが二芯線の伝送ケーブル5を介して接続
されている。リモコンAは、本体機器4や他のリモコン
と信号のやりとりをするためナックコード送信手段6a
I、ナックコード送信手段6atを有する送受信装置6
aと、リモコンのスイッチ入力や表示を制御するリモコ
ン制御装置7aと、リモコンのアドレスを決定するアド
レス設定装置8aと、リモコン操作部9aと表示部10
a及びRA Mll aから構成され、そしてリモコン
B1リモコンCについても構成要素は全く同じである。Three remote controllers, ie, remote controller A, remote controller B, and remote controller C, are connected to the main unit 4 via a two-core transmission cable 5. The remote control A has a nack code transmitting means 6a for exchanging signals with the main device 4 and other remote controllers.
I. A transmitting/receiving device 6 having a NAC code transmitting means 6at
a, a remote control control device 7a that controls switch input and display of the remote control, an address setting device 8a that determines the address of the remote control, a remote control operation section 9a, and a display section 10.
The remote controller B1 and the remote controller C have exactly the same components.
アドレス設定装置8as 8b、8cはリモコンA−C
によりアドレスを変える必要があるので、ジャンパー線
の有無のパターンを変えることにより、制御装置7a、
7b、7cへの人力を変化させアドレスを決定するもの
である。また、RAM11a、llb、llcは送受信
装置6a〜6cと制御装置7a〜7C共通のRAMで、
どちらからもリードライト可能である。Address setting device 8as 8b, 8c are remote controllers A-C
Since it is necessary to change the address, the control device 7a,
The address is determined by changing the human power applied to 7b and 7c. Further, the RAMs 11a, llb, and llc are RAMs common to the transmitting/receiving devices 6a to 6c and the control devices 7a to 7C,
It can be read and written from either side.
第3図に通信データのパケット構成を示す。通信データ
は時分割のシリアル信号伝送方式・であり、送信元のア
ドレスを示す送信アドレスSA、送信に対する正常受信
の確認を要求するアック要求アドレスAA、データの種
類を表すコントロールワードCW、伝送情報DATA、
及び誤り検出コードCRCから構成されている。尚、コ
ントロールワードCWは、通常のデータの場合は01ア
ツクコードの場合は2、ナックコードの場合は3とする
ことにより、データの種類を識別できるようになってい
る。FIG. 3 shows the packet structure of communication data. The communication data is a time-division serial signal transmission method, and includes a transmission address SA indicating the address of the transmission source, an ACK request address AA requesting confirmation of normal reception of the transmission, a control word CW indicating the type of data, and transmission information DATA. ,
and an error detection code CRC. The control word CW is set to 0 in the case of normal data, 2 in the case of an ACK code, and 3 in the case of a NACK code, so that the type of data can be identified.
第2図に、リモコンAにおいてアックコード送信手段及
びナックコード送信手段を備えた送受信装置がデータを
受信した場合の概略フローチャートを示す、データを受
信した場合(S7)、まずそのデータの種類をチエツク
し、アックコード又はナックコードであれば取込む必要
がないので無視する(S8)、すなわち通信パケットの
コントロールワードCWが0かどうか確認するのである
。FIG. 2 shows a schematic flowchart when a transmitting/receiving device equipped with an ACK code transmitting means and a NACK code transmitting means receives data in remote control A. When data is received (S7), the type of the data is first checked. However, if it is an acknowledge code or a nack code, there is no need to capture it, so it is ignored (S8). That is, it is checked whether the control word CW of the communication packet is 0.
次に受信データが通常のデータであれば誤り検出コード
を、受信データから計算して求め(S9)、その答えが
データと共に送られてきた誤り検出コードCRCと一致
するか確認する(510)、誤り検出コードが一致すれ
ば正常なデータを受信したとみなし、データをRAM1
1aにセーブする(S11)0次に、受信しセーブした
データのアック要求アドレスAAが、あらかじめ制御装
置7によりRAM11aにストアされている、アドレス
設定装置8aにより設定されたアドレスと一致するかを
確認する。アドレスが一致すれば回線を監視し始め(5
13) 、一定時間信号ラインに信号がないことをfa
ilたのち(314) 、アックコードを送信する(3
15)、このアックコードは、受信したデータのコント
ロールワードCWを2に変えたものである。送信側はア
ックコードを受信することで1回の通信を完了する。ま
た、(512)においてアック要求アドレスAAが設定
アドレスと一致しない場合はそのまま受信を終了する。Next, if the received data is normal data, an error detection code is calculated from the received data (S9), and it is confirmed whether the answer matches the error detection code CRC sent with the data (510); If the error detection codes match, it is assumed that normal data has been received, and the data is stored in RAM1.
1a (S11) 0 Next, check whether the ACK request address AA of the received and saved data matches the address set by the address setting device 8a, which is stored in advance in the RAM 11a by the control device 7. do. If the addresses match, the line will begin to be monitored (5
13) If there is no signal on the signal line for a certain period of time, fa
iltanochchi (314), send ack code (3
15), this ACK code is obtained by changing the control word CW of the received data to 2. The sending side completes one communication by receiving the acknowledge code. Further, if the ACK request address AA does not match the set address in (512), the reception ends immediately.
すなわち、この時はデータはセーブするがアックコード
は返さないことになる。In other words, in this case, the data will be saved, but the ACK code will not be returned.
一方、(SIO)においてCRC演算結果が一致しない
場合は受信エラーと見なして回線を監視し始め(S16
)、一定時間信号ラインに信号がないことを確認したの
ち(SL?)、ナックコードを送信する(318)、こ
のナックコードは送信アドレスSA及びアック要求アド
レスAAをアドレス設定装置8aによるアドレスとし、
コントロールワードCWを3に変え、伝送情報DATA
部分はなしにし、CRCを付加したコードである。送信
側はナックコードを受信すると、同じデータを再送する
。On the other hand, if the CRC calculation results do not match in (SIO), it is assumed that there is a reception error and the line is monitored (S16
), after confirming that there is no signal on the signal line for a certain period of time (SL?), transmits a NAC code (318). This NAC code uses the sending address SA and the ACK request address AA as addresses set by the address setting device 8a,
Change the control word CW to 3 and transmit the transmission information DATA.
This is a code with the part omitted and a CRC added. When the sender receives the NAC code, it retransmits the same data.
次に第4図により、本発明の通信プロトコルの概念図を
示す、■で示すように、リモコンAで操作が行なわれ、
データが送信された場合(S19)、この時の通信パケ
ットのアック要求アドレスAAは本体機器4となってい
るため、本体機器4はアックコードを送信するが(S2
0)、リモコンB、リモコンCはデータをセーブした後
も、何も送信しないのである。この様に、1回の通信で
全てのリモコンがデータを取り込むことができる。また
、■で示すように、万一リモコンAのデータをリモコン
Bが正常に受信できなかった場合(321)、リモコン
Bはナックコードを送信するのでリモコンAは再びデー
タを送信する。尚、この時、本体機器4が正常受信した
場合はアックコードとナックコードが衝突することが考
えられるが、第1図における回線監視タイマ時間(S1
3)、(S16)に時間差を付けることで防ぐことがで
きる。また、■で示すように本体機器4に状態変化があ
り、データが送られて来た場合でも、全てのリモコンが
同時にデータを受は取り、アックコードを返すのは、ア
ック要求アドレスが設定アドレスと等しいリモコンAと
なるのである。Next, FIG. 4 shows a conceptual diagram of the communication protocol of the present invention.As shown by ■, operations are performed with the remote control A,
When the data is sent (S19), the ACK request address AA of the communication packet at this time is the main device 4, so the main device 4 sends the ACK code (S2
0), remote controller B, and remote controller C do not transmit anything even after saving the data. In this way, all remote controllers can acquire data through one communication. Furthermore, as shown by ■, if remote controller B is unable to properly receive the data from remote controller A (321), remote controller B transmits a nack code, so remote controller A transmits the data again. At this time, if the main device 4 receives the data normally, it is possible that the ACK code and NACK code will collide, but the line monitoring timer time (S1
3) This can be prevented by adding a time difference to (S16). Also, as shown in ■, even if there is a change in the status of the main device 4 and data is sent, all remote controllers receive and receive the data at the same time and return an ACK code because the ACK request address is the set address. The remote control A is equal to .
発明の効果
以上のような構成により、本発明のリモートコントロー
ル装置は、他のリモコンの操作や、本体機器の状態変化
に対する応答が速く、リモコン間で表示のずれがほとん
ど生じないものであると共に、データ通信の機会を減ら
し通信の信頼性も向上するものである。Effects of the Invention With the above-described configuration, the remote control device of the present invention has a quick response to operations of other remote controllers and changes in the state of the main device, and almost no display deviation occurs between remote controllers. This reduces opportunities for data communication and improves communication reliability.
第1図は本発明の一実施例における送受信装置のシステ
ム図、第2図は本発明の一実施例における送受信装置の
概略フローチャート、第3図は同通信データのパケット
構成国、第4図は同通信プロトコル概念図、第5図は従
来の通信プロトコルの概念図である。
4・・・・・・本体機器、5・・・・・・伝送ケーブル
、6a、6b、6c・・・・・・送受信装置、7 a1
7 bs 7 c・・・・・・リモコン制御装置、8a
、8b、8c・・・・・・アドレス設定装置、
9a。
9b。
9C・・・・・・リモコン操
件部、10a、10b、 10cm・・−・・表示部、
lla、、llb。
11c・・・・・・RAM。FIG. 1 is a system diagram of a transmitting/receiving device in an embodiment of the present invention, FIG. 2 is a schematic flowchart of a transmitting/receiving device in an embodiment of the present invention, FIG. 3 is a packet composition country of the communication data, and FIG. 4 is a system diagram of a transmitting/receiving device in an embodiment of the present invention. FIG. 5 is a conceptual diagram of the conventional communication protocol. 4...Main device, 5...Transmission cable, 6a, 6b, 6c...Transmitting/receiving device, 7 a1
7 bs 7 c...Remote control device, 8a
, 8b, 8c...address setting device, 9a. 9b. 9C...Remote control unit, 10a, 10b, 10cm...Display unit,
lla,,llb. 11c...RAM.
Claims (1)
ドレス設定装置と、他のリモコンや本体機器と信号伝送
を行う送受信装置とを備え、送受信装置は機器本体及び
リモコンから伝送する情報に、アック要求アドレスを付
加し、受信信号が正常な場合は、受信信号における前記
アック要求アドレスが前記アドレス設定装置の設定と一
致すれば信号取込みののちアックコードを送信し、前記
アック要求アドレスが前記アドレス設定装置の設定と一
致しなければ信号取込みの後もアックコードを返さない
アックコード送信手段と、受信信号が異常の場合は前記
アック要求アドレスが何であれナックコードを送信する
ナックコード送信手段を有するリモートコントロール装
置。It is equipped with a remote control control device, an address setting device for setting the address of the remote control, and a transmitting/receiving device for transmitting signals with other remote controllers and the main device. If the received signal is normal, and the ACK request address in the received signal matches the setting of the address setting device, an ACK code is transmitted after the signal is captured, and the ACK request address matches the setting of the address setting device. The remote control device has an ACK code transmitting means which does not return an ACK code even after signal acquisition unless the address matches the ACK request address, and a NACK code transmitting means which transmits a NACK code regardless of the ACK request address if the received signal is abnormal.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP34260789A JP2751505B2 (en) | 1989-12-28 | 1989-12-28 | Remote control device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP34260789A JP2751505B2 (en) | 1989-12-28 | 1989-12-28 | Remote control device |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPH03201108A true JPH03201108A (en) | 1991-09-03 |
| JP2751505B2 JP2751505B2 (en) | 1998-05-18 |
Family
ID=18355083
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP34260789A Expired - Lifetime JP2751505B2 (en) | 1989-12-28 | 1989-12-28 | Remote control device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP2751505B2 (en) |
-
1989
- 1989-12-28 JP JP34260789A patent/JP2751505B2/en not_active Expired - Lifetime
Also Published As
| Publication number | Publication date |
|---|---|
| JP2751505B2 (en) | 1998-05-18 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US4347563A (en) | Industrial control system | |
| US5122794A (en) | Dual master implied token communication system | |
| US4988990A (en) | Dual master implied token communication system | |
| US5166678A (en) | Dual master implied token communication system | |
| JP2751505B2 (en) | Remote control device | |
| KR100525677B1 (en) | Apparatus and method for duplication of communication control module | |
| JPH01289339A (en) | Communication controller | |
| JP3331664B2 (en) | Terminal device identification method, terminal device control method, terminal device control device | |
| JP2001177508A (en) | Wireless communication device | |
| JP2742944B2 (en) | Transmission data transmission method in wireless control system and wireless control system using the same | |
| JP3972630B2 (en) | Ethernet variable transmission system | |
| JP3460502B2 (en) | Serial transmission system | |
| JP2543105B2 (en) | Communication control device | |
| JPH03104582A (en) | Robot control device using serial communication | |
| JPH01295595A (en) | Separate type air-conditioner | |
| JPS63300649A (en) | Communication control system | |
| JPH02196596A (en) | Communication control method | |
| JPH07311728A (en) | Simultaneous data transmission method | |
| JPH04129346A (en) | Communication system provided with duplicate address detection function | |
| JPH0449431A (en) | Interface circuit with testing function | |
| JPS63138827A (en) | data transmission equipment | |
| JPS60149245A (en) | Data transmission and reception system for packet type exchange network | |
| JPS61270929A (en) | Wireless transmission system | |
| JPH03289833A (en) | On-vehicle data transmitter | |
| JPS63133727A (en) | Data retransmission system |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20080227 Year of fee payment: 10 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20090227 Year of fee payment: 11 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20090227 Year of fee payment: 11 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20100227 Year of fee payment: 12 |
|
| EXPY | Cancellation because of completion of term |