JPH03201791A - Remote controller - Google Patents

Remote controller

Info

Publication number
JPH03201791A
JPH03201791A JP34260689A JP34260689A JPH03201791A JP H03201791 A JPH03201791 A JP H03201791A JP 34260689 A JP34260689 A JP 34260689A JP 34260689 A JP34260689 A JP 34260689A JP H03201791 A JPH03201791 A JP H03201791A
Authority
JP
Japan
Prior art keywords
transmission request
counter
received
ack
fault
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
JP34260689A
Other languages
Japanese (ja)
Inventor
Takao Asada
隆生 浅田
Mitsunari Konishi
小西 光成
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 JP34260689A priority Critical patent/JPH03201791A/en
Publication of JPH03201791A publication Critical patent/JPH03201791A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To recognize the presence of a fault in a main body device and a remote control transmitter-receiver in a short time by sending a transmission request signal to the main body device when a state signal from the main body device cannot be received for a prescribed period and confirming whether or not the state signal is returned from the main body device as a return signal. CONSTITUTION:When an ACK packet P2 cannot be received within a prescribed time, a retrial counter is incremented, The retrial counter is an up-counter which recognizes it as a fault when no ACK packet P2 is returned even if a transmission request is sent for several times because it is not proper that absence of ACK to only one transmission request cannot be regarded as a fault. When an ACK is received before the retrial counter expires, the counter is initialized. When no ACK is received even when the transmission request is sent for several number of times, the retrial counter expires and a communication error code is outputted to a display device 5 via an I/O 3a. Thus, the fault is recognized in a short time and mis-display is prevented.

Description

【発明の詳細な説明】 産業上の利用分野 本発明は温水器具等を遠隔制御するためのリモートコン
トロール装置に関する。
DETAILED DESCRIPTION OF THE INVENTION Field of the Invention The present invention relates to a remote control device for remotely controlling hot water appliances and the like.

従来の技術 従来より、温水器具本体とリモコン間の回線をアクセス
する方式として、コンテンション方式とホーリングセレ
フティング方式を混在させた方式がとられていた。すな
わち、リモコンで操作が行なわれた場合は直ちに本体機
器に操作内容を送信しくコンテンション方式)、リモコ
ンで操作が行なわれず、本体機器においても状態変化が
ない場合でも、一定周期ごとに本体機器から各々のリモ
コンへ状態信号を送り各リモコンから返信があるかを確
認し、(ホーリングセレフティング方式)、本体機器の
状態とリモコン表示との相違が生じない様にすると共に
、リモコンに故障等の発生がないか確認するものとなっ
ていた。
BACKGROUND OF THE INVENTION Conventionally, as a method for accessing a line between a hot water appliance body and a remote control, a method using a mixture of a contention method and a holing-lefting method has been used. In other words, when an operation is performed on the remote control, the content of the operation is immediately sent to the main device (contention method), and even if no operation is performed on the remote control and there is no change in the state of the main device, the content is sent from the main device at regular intervals. Sends a status signal to each remote controller and checks to see if there is a reply from each remote controller (hauling-refting method) to prevent discrepancies between the main unit's status and the remote controller display, and to prevent malfunctions in the remote controller. It was supposed to be checked to see if there were any.

発明が解決しようとする課題 しかしながら上記の様な構成では、本体機器に異常が発
生し、通信不可能となった場合に、リモコンで操作が行
なわれない限り、リモコンが本体機器の異常を認知する
方法がないため、本体機器が停止しているにもかかわら
ずリモコンは動作中を表示する可能性があった。また、
リモコン送受信装置に異常が発生し、通信不可能となっ
た場合でも、本体機器はポーリングにより異常を認知で
きるが、リモコンは操作が行なわれるまで、リモコン自
身の異常を認知できない槽底となっていた。
Problems to be Solved by the Invention However, with the above configuration, if an abnormality occurs in the main device and communication becomes impossible, the remote control will recognize the abnormality in the main device unless the remote control is operated. Because there was no way to do this, there was a possibility that the remote control would show that it was working even though the main device was stopped. Also,
Even if an abnormality occurs in the remote control transmitting/receiving device and communication becomes impossible, the main unit can recognize the abnormality by polling, but the remote control itself cannot recognize the abnormality until it is operated. .

そこで本発明は、本体機器又はリモコン自身の送受信装
置に異常が発生し、通信不可能となった場合、短時間内
に異常を認知し、誤表示のないリモコンを提供すること
を目的としている。
SUMMARY OF THE INVENTION Therefore, an object of the present invention is to provide a remote control that recognizes the abnormality within a short time and does not display errors when an abnormality occurs in the transmitting/receiving device of the main unit or the remote controller and communication becomes impossible.

課題を解決するための手段 そこで前記目的を達成するために、本発明は本体機器の
状態を表示する表示装置と、本体機器や他のリモコンと
の信号のやりとりを行う送受信装置と、一定周期内に本
体機器から状態信号の送信がない場合は本体機器に対し
て送信要求信号を送り本体機器及び前記送受信装置の状
態を確認する送信要求手段を備えたものである。
Means for Solving the Problems In order to achieve the above object, the present invention provides a display device that displays the status of the main device, a transmitting/receiving device that exchanges signals with the main device and other remote controllers, and a display device that displays the status of the main device and another remote controller. The device is equipped with a transmission request means for sending a transmission request signal to the main device to check the status of the main device and the transmitting/receiving device if no status signal is transmitted from the main device.

作用 本発明のリモートコントロール装置は、本体機器からの
状態信号を一定周期間受信できなかった場合、本体機器
に対して送信要求信号を送り、返信として本体機器から
状態信号が返ってくるかをfl認することで、本体機器
及びリモコン送受信装置の異常の有無を短時間内に認知
できるものである。
Operation When the remote control device of the present invention cannot receive a status signal from the main device for a certain period of time, it sends a transmission request signal to the main device and checks whether a status signal is returned from the main device as a reply. By checking this, the presence or absence of an abnormality in the main unit and the remote control transmitting/receiving device can be recognized within a short time.

実施例 以下本発明の一実施例におけるリモートコントロール装
置について図面とともに説明する。
EMBODIMENT A remote control device according to an embodiment of the present invention will be described below with reference to the drawings.

第1図は本発明の一実施例のリモコンシステム図である
。リモコン1は本体機器や他のリモコンと信号のやりと
りをする送受信装置2と、通信制御や入出力制御を行う
マイクロコンピュータ3、操作装置4及び給湯温度や時
刻を表示する表示装置5から構成されている。マイクロ
コンピュータ3は、操作部4の信号や受信信号を受は入
れたり表示装置5ヘデータを出力する110部3a、制
御プログラムが記録されているROM部3b、及びデー
タを記憶しておく RAM部3cにより構成されている
。尚、送信要求手段3b+ はROM部3bに備えられ
ている。
FIG. 1 is a diagram of a remote control system according to an embodiment of the present invention. The remote controller 1 is composed of a transmitting/receiving device 2 that exchanges signals with the main unit and other remote controllers, a microcomputer 3 that performs communication control and input/output control, an operating device 4, and a display device 5 that displays hot water temperature and time. There is. The microcomputer 3 includes a 110 section 3a that receives and receives signals from the operating section 4 and outputs data to the display device 5, a ROM section 3b that stores control programs, and a RAM section 3c that stores data. It is made up of. Incidentally, the transmission request means 3b+ is provided in the ROM section 3b.

第3図に通信データのパケット構成を示す。通信データ
は時分割のシリアル信号伝送方式であり、送信元のアド
レスを示す送信アドレスSA、受信側のアドレスを示す
受信アドレスDA、データの種類を表すコントロールワ
ードCW、伝送情報DATA、及び誤り検出コードCR
Cから#11fi、されている。尚、コントロールワー
ドCWは、通常のデータの場合は0である。また、第4
図に示すのは、送信要求バケッ1−(Pi)、アックパ
ケット(P2)である。送信要求パケット(P’りはコ
ントロールワードCWがlと決まっており、受信側はこ
のコントロールワードCWがlであることにより、送信
要求パケット(Pl)を受信したと判断する。また、ア
ックパケット(P2)とは、第3図における通信データ
を受信アドレスDAで示される本体機器またはリモコン
が正常に受信した場合に、送信するパケットであり、コ
ントロールワードCWが2と決まっている。データ送信
側はアンクパケソト(P2)を受信することにより、通
信完了と判断する。
FIG. 3 shows the packet structure of communication data. Communication data is transmitted using a time-division serial signal transmission method, and includes a sending address SA indicating the address of the sending source, a receiving address DA indicating the address of the receiving side, a control word CW indicating the type of data, transmission information DATA, and an error detection code. CR
From C to #11fi, it has been done. Note that the control word CW is 0 in the case of normal data. Also, the fourth
What is shown in the figure is a transmission request bucket 1-(Pi) and an ack packet (P2). The control word CW of the transmission request packet (P') is determined to be l, and the receiving side determines that it has received the transmission request packet (Pl) based on this control word CW being l. P2) is a packet that is transmitted when the main unit or remote controller indicated by the reception address DA normally receives the communication data in Fig. 3, and the control word CW is determined to be 2.The data transmission side is It is determined that the communication is complete by receiving the unque packet message (P2).

次に第2図により、ROM5 b内プログラムにおける
送信要求手段について説明する。通信システムが正常に
働いている場合は、一定周期ごとに本体機器からの送信
を受けとり、(Sl)で示すタイマー1をデータ受信の
たびにイニシャルしているが、タイマー割込みルーチン
内で一定周期間にデータ受信がないとタイマーlがオー
バーL(S2)、送信要求フラグが立つ(S3)。
Next, referring to FIG. 2, the transmission request means in the program in the ROM 5b will be explained. When the communication system is working normally, it receives transmissions from the main unit at regular intervals, and initializes timer 1 (Sl) each time it receives data. If no data is received, the timer l goes over L (S2) and the transmission request flag is set (S3).

一方メインルーチンの送信部ではまず、操作フラグが立
っているかを見る(S4)。このフラグはスイッチの取
込みがあった時にRAMac内にセットされているもの
である。操作フラグがセットされていれば通常のデータ
送信を行う(S5)。
On the other hand, the transmitter of the main routine first checks whether the operation flag is set (S4). This flag is set in RAMac when a switch is acquired. If the operation flag is set, normal data transmission is performed (S5).

操作フラグが立っていない時はタイマー割込みルーチン
でセットする送信要求フラグを確認しくS6)、このフ
ラグが立っていれば送信要求信号を送信する(S7)。
If the operation flag is not set, check the transmission request flag set in the timer interrupt routine (S6), and if this flag is set, transmit the transmission request signal (S7).

つまり、一定周期間に本体機器からのデータ送信がなか
った場合は、送信要求信号を送信することになる。受信
側である本体機器はコントロールワードCWがlである
パケットを受信すると、状態信号を送信する前に、送信
要求パケット(Pi)、受は取った証拠にアックパケッ
ト(P2)を送信する。この時、リモコン側では、この
アックパケット(P2)が受信できるかをチエツクして
いるのである(S8)。一定時関内にブックパケット(
P2)が受信できるかを確認しくS9)、ブックすなわ
ち、コントロールワードCWが2であるパケットを受信
できれば、送信要求フラグを落としく5IO)、送信を
終る。
In other words, if there is no data transmission from the main device within a certain period, a transmission request signal will be transmitted. When the main device on the receiving side receives a packet whose control word CW is l, it sends a transmission request packet (Pi) and an ACK packet (P2) as proof of receipt before transmitting the status signal. At this time, the remote control side checks whether this ACK packet (P2) can be received (S8). Book packets (
Check whether P2) can be received. S9) If a book, that is, a packet whose control word CW is 2, can be received, the transmission request flag is dropped. 5IO) The transmission ends.

つまり、この時は、特に本体機器及び送受信装置には異
常が認められなかったと判断するのである。
In other words, at this time, it is determined that no abnormality was found in the main device or the transmitting/receiving device.

一定時間内に、ブックパケッl−(P2)が受信できな
かった場合は、リトライカウンタをアップする(Sll
)。リトライカウンタとは、わずか−回の送信要求に対
するブックがないだけで、異常と認めるのは早急である
ので、数回送信要求を送ってもブックパケット(P2)
が返ってこない時に異常と認めるためのアップカウンタ
である。リトライカウンタがオーバーする前に、ブック
を受信すると、(S12)にまりカウンタがイニシャル
される。尚、この送信ルーチンは、周期的に通るルーチ
ンであり、送信要求フラグが立っている間は、周期的に
送信要求バケツ)(Pi)を送るものである。さて、数
回送信要求を送ってもブックを受信できない場合は、リ
トライカータがオーバーL (S13) 、表示装置5
にI / 03 aを介して通信エラーコードを出力す
る(S14)。通信エラーコードとは通常は表示しない
数字を7セグメン)LEDに表示し、本体機器又は送受
信装置の異常を知らせるものである。
If the book packet l-(P2) cannot be received within a certain period of time, the retry counter is increased (Sll
). The retry counter means that even if there is no book for just a few transmission requests, it is immediately recognized as abnormal, so even if several transmission requests are sent, the book packet (P2)
This is an up counter that recognizes it as an abnormality when it does not return. If a book is received before the retry counter exceeds the limit, the error counter is initialized (S12). Note that this transmission routine is a routine that is periodically executed, and as long as the transmission request flag is set, the transmission request bucket (Pi) is periodically sent. Now, if the book cannot be received even after sending a transmission request several times, the retry counter is over L (S13), and the display device 5
A communication error code is output via I/03a (S14). A communication error code is a number that is not normally displayed and is displayed on a 7-segment LED to notify you of an abnormality in the main unit or transmitting/receiving device.

以上の様に、通信が不可能なことを数回確認したのち、
エラー表示とするのである。
As mentioned above, after confirming several times that communication is impossible,
This is an error message.

発明の効果 以上の様な構成により、本発明のリモートコントロール
装置は本体機器又はリモコン自身の送受信装置に異常が
発生し通信不可能となった場合でも、短時間内に異常を
認知し、誤表示を防止し、正しく状態を表示するもので
ある。
Effects of the Invention With the configuration described above, the remote control device of the present invention can recognize the abnormality within a short time and prevent erroneous display even if an abnormality occurs in the main unit or the transmitting/receiving device of the remote control itself and communication becomes impossible. This prevents this and displays the status correctly.

【図面の簡単な説明】[Brief explanation of drawings]

第1図は本発明の一実施例における送信要求手段のリモ
コンシステム図、第2図は同送信要求手段の概略フロー
チャート、第3図は同通信データのパケット構成国、第
4図aは同送信要求パケット構成図、及び第4図すはブ
ックパケット構成図である。 1・・・・・・リモコン、2・・・・・・送受信装置、
3・・・・・・マイクロコンピュータ、3b・・・・・
・ROM部、3b。 ・・・・・・送信要求手段、4・・・・・・操作装置、
5・・・・・・表示装置。
Fig. 1 is a remote control system diagram of the transmission requesting means in an embodiment of the present invention, Fig. 2 is a schematic flowchart of the transmission requesting means, Fig. 3 is the packet composition country of the communication data, and Fig. 4a is the same transmission FIG. 4 is a request packet configuration diagram, and FIG. 4 is a book packet configuration diagram. 1... Remote control, 2... Transmitting/receiving device,
3...Microcomputer, 3b...
・ROM section, 3b. ...... Transmission request means, 4...... Operating device,
5...Display device.

Claims (1)

【特許請求の範囲】[Claims] 本体機器の状態を表示する表示装置と、本体機器や他の
リモコンとの信号のやりとりを行う送受信装置と、一定
周期内に本体機器から状態信号の送信がない場合は本体
機器に対して送信要求信号を送り、本体機器及び前記送
受信装置の状態を確認する送信要求手段を備えたリモー
トコントロール装置。
A display device that displays the status of the main device, a transmitting/receiving device that exchanges signals with the main device and other remote controllers, and a transmission request to the main device if no status signal is sent from the main device within a certain period. A remote control device comprising a transmission request means for sending a signal and checking the status of the main device and the transmitting/receiving device.
JP34260689A 1989-12-28 1989-12-28 Remote controller Pending JPH03201791A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP34260689A JPH03201791A (en) 1989-12-28 1989-12-28 Remote controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP34260689A JPH03201791A (en) 1989-12-28 1989-12-28 Remote controller

Publications (1)

Publication Number Publication Date
JPH03201791A true JPH03201791A (en) 1991-09-03

Family

ID=18355075

Family Applications (1)

Application Number Title Priority Date Filing Date
JP34260689A Pending JPH03201791A (en) 1989-12-28 1989-12-28 Remote controller

Country Status (1)

Country Link
JP (1) JPH03201791A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2012070439A1 (en) * 2010-11-24 2012-05-31 パナソニック株式会社 Load-control switch and load-control switch system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2012070439A1 (en) * 2010-11-24 2012-05-31 パナソニック株式会社 Load-control switch and load-control switch system
CN103229263A (en) * 2010-11-24 2013-07-31 松下电器产业株式会社 Load-control switch and load-control switch system

Similar Documents

Publication Publication Date Title
US4988990A (en) Dual master implied token communication system
US5122794A (en) Dual master implied token communication system
US5166678A (en) Dual master implied token communication system
KR970702677A (en) COMMUNICATION SYSTEM
JPH03201791A (en) Remote controller
GB1529314A (en) Communication apparatus
JPS61295738A (en) Transmission controller
JP2751505B2 (en) Remote control device
JPH0533087Y2 (en)
US5617309A (en) Configuration for data transfer with a parallel bus system
JP2613636B2 (en) Multiplex transmission method
JPH0738603B2 (en) Communication monitoring device
KR950001520B1 (en) Signalling terminal group bus communication protocol of message transfer part using common channel signalling no.7
JPH01245733A (en) Time division multiplex transmission system
JPH0344250A (en) Communication control system
CA1233263A (en) Queued access of common communications link with expanded addressing and error checking protocol
JPH036998A (en) Remote control system
JPH0458237B2 (en)
JPH01225254A (en) Transmitter-receiver
JPH1198166A (en) Transmission system
JP2001126166A (en) Annunciator controller
JPH0550902B2 (en)
JPS61270930A (en) Wireless transmission system
JPH066942A (en) Method and apparatus for inputting power system information
JPS61245740A (en) Time division multiplex transmission system