JP2609933B2 - Terminal device identification number setting method - Google Patents

Terminal device identification number setting method

Info

Publication number
JP2609933B2
JP2609933B2 JP29281889A JP29281889A JP2609933B2 JP 2609933 B2 JP2609933 B2 JP 2609933B2 JP 29281889 A JP29281889 A JP 29281889A JP 29281889 A JP29281889 A JP 29281889A JP 2609933 B2 JP2609933 B2 JP 2609933B2
Authority
JP
Japan
Prior art keywords
identification number
terminal device
setting
switch
control
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.)
Expired - Fee Related
Application number
JP29281889A
Other languages
Japanese (ja)
Other versions
JPH03154453A (en
Inventor
堅一郎 小松
池本  大輔
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.)
Sanyo Electric Co Ltd
Original Assignee
Tottori Sanyo Electric Co Ltd
Sanyo Electric 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 Tottori Sanyo Electric Co Ltd, Sanyo Electric Co Ltd filed Critical Tottori Sanyo Electric Co Ltd
Priority to JP29281889A priority Critical patent/JP2609933B2/en
Publication of JPH03154453A publication Critical patent/JPH03154453A/en
Application granted granted Critical
Publication of JP2609933B2 publication Critical patent/JP2609933B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Small-Scale Networks (AREA)
  • Selective Calling Equipment (AREA)

Description

【発明の詳細な説明】 (イ) 産業上の利用分野 本発明は通信機能の有する端末装置の識別番号設定方
法に関する。
The present invention relates to an identification number setting method for a terminal device having a communication function.

(ロ) 従来の技術 家庭用の電気機器を制御するために制御用の端末装置
を電燈線に接続し、この電燈線を介して制御用のデータ
を送受するシステムが知られている(例えば特開昭60−
116249号公報)。
(B) Conventional technology There is known a system in which a control terminal device is connected to a power line to control household electrical equipment, and control data is transmitted / received via the power line (for example, there is a known system). Kaisho 60-
No. 116249).

しかしながら従来のシステムにおいては、各端末装置
の識別番号をディップスイッチやロータリースイッチ等
を用いて設定する構成であるので、端末装置を小型化す
る際には前記スイッチは小型化の妨げになるとともに、
スイッチを小型化するとその操作性が悪くなるなどの問
題がある。
However, in the conventional system, since the identification number of each terminal device is set using a dip switch, a rotary switch, or the like, when miniaturizing the terminal device, the switch hinders miniaturization,
When the size of the switch is reduced, the operability is deteriorated.

(ハ) 発明が解決しようとする課題 本発明は上記の点を考慮して成されたもので、端末装
置の識別番号を設定するための構成を簡素化して端末装
置の小型化を計るとともに、識別番号の設定を容易にで
きるようにすることを課題とするものである。
(C) Problems to be Solved by the Invention The present invention has been made in consideration of the above points, and has been made to reduce the size of the terminal device by simplifying the configuration for setting the identification number of the terminal device. It is an object to easily set an identification number.

(ニ) 課題を解決するための手段 上述の課題を解決するために本発明は、主端末装置と
複数の端末装置を通信路を介して互いに接続し、主端末
装置は各々の受信先識別番号に対応する各々の制御スイ
ッチを有し、各々の端末装置は各々の設定スイッチを有
し、制御スイッチおよび設定スイッチを同時に又は所定
時間内に前後して操作し、かつ両スイッチを所定回数連
続して操作する事により、受信先識別番号を自己識別番
号として端末装置に登録するものである。
(D) Means for Solving the Problems In order to solve the above-mentioned problems, the present invention connects a main terminal device and a plurality of terminal devices to each other via a communication path, and the main terminal device has a destination identification number. , Each terminal device has a respective setting switch, operates the control switch and the setting switch simultaneously or back and forth within a predetermined time, and continuously operates both switches a predetermined number of times. This operation registers the destination identification number as a self-identification number in the terminal device.

本発明は望ましくは、自己識別番号が端末装置に登録
された後に、登録した自己識別番号に対応する制御スイ
ッチを操作すると、端末装置は自己識別番号を一斉宛或
いは主端末装置宛に送信するものである。
The present invention is preferably arranged such that, after the self-identification number is registered in the terminal device, when the control switch corresponding to the registered self-identification number is operated, the terminal device transmits the self-identification number to the general address or the main terminal device. It is.

(ホ) 作用 本発明によれば、端末装置の各々に設けていた識別番
号設定用のディップスイッチ等が不要となり、端末装置
の小型化を可能とするとともに、識別番号の設定操作を
容易とする。
(E) Function According to the present invention, the DIP switch for setting the identification number provided in each of the terminal devices becomes unnecessary, and the size of the terminal device can be reduced, and the setting operation of the identification number is facilitated. .

(ヘ) 実施例 以下本発明の実施例を図面を参照しながら説明する。
図中、(1)は商用電源(2)に接続された電灯線、
(3)(4)(5)は螢光灯、換気扇などの電気機器で
ある。(6)(7)(8)は同一構成の端末装置で、そ
れぞれ制御データを交流電圧に重畳して送信しかつ受信
する通信部と、送受信データを演算処理するマイクロコ
ンピュータ等により成る演算処理部と、接続された電気
機器をオン・オフ制御する制御部と、不揮発性のメモリ
を有する記憶部とを備え、電灯線(1)のコンセントに
プラグで接続自在としているとともに、電気機器のプラ
グを差し込んで接続自在としている。(9)(10)(1
1)は端末装置(6)(7)(8)のそれぞれの識別番
号を設定する際に押下げ操作される設定スイッチであ
る。
(F) Example Hereinafter, an example of the present invention will be described with reference to the drawings.
In the figure, (1) is a power line connected to a commercial power supply (2),
(3), (4) and (5) are electric devices such as fluorescent lamps and ventilation fans. (6) (7) and (8) are terminal devices having the same configuration, each of which is a communication unit for transmitting and receiving control data superimposed on an AC voltage and an arithmetic processing unit including a microcomputer for arithmetically processing transmission / reception data. And a control unit for controlling on / off of the connected electric device, and a storage unit having a non-volatile memory, which can be freely connected to an outlet of the power line (1) by a plug, Insert and connect freely. (9) (10) (1
Reference numeral 1) denotes a setting switch that is pressed down when setting the respective identification numbers of the terminal devices (6), (7), and (8).

(12)は電灯線(1)に接続された主端末装置(以下
コントローラと称す)で、前記端末装置と同様に通信部
と、演算処理部を備えているとともに、電気機器のオン
・オフを指示するための複数の制御スイッチ(13)(1
4)(15)、及び電気機器のオン・オフ状態を表示する
前記スイッチ(13)(14)(15)と対応づけて配列した
表示器(16)(17)(18)を備えている。前記制御スイ
ッチ(13)(14)(15)には、それぞれ異なる番号例え
ば「01」、「02」、「03」が割当てられており、制御ス
イッチが操作されると、その番号は端末装置を指定する
受信先識別番号として制御データに付加されて電灯線
(1)に送出される。またコントローラ(12)自身の識
別番号は予め例えば「00」に設定されており、制御デー
タの送信元を示す送信元識別番号として制御データに付
加される。
(12) is a main terminal device (hereinafter, referred to as a controller) connected to the power line (1), which has a communication unit and an arithmetic processing unit similarly to the terminal device, and turns on / off an electric device. Multiple control switches to indicate (13) (1
4) and (15), and indicators (16), (17) and (18) arranged in association with the switches (13), (14) and (15) for displaying the on / off state of the electric device. The control switches (13), (14), and (15) are assigned different numbers, for example, "01", "02", and "03", and when the control switches are operated, the numbers change the terminal device. The control data is added to the control data as a designated destination identification number and transmitted to the power line (1). The identification number of the controller (12) itself is set to, for example, “00” in advance, and is added to the control data as a transmission source identification number indicating the transmission source of the control data.

ここで例えば端末装置(6)(7)(8)の識別番号
が既に「01」、「02」、「03」に設定されているとす
る。そしてコントローラ(12)において、制御スイッチ
(13)を押下げると、送信される制御データの受信先識
別番号は「01」、送信元識別番号は「00」となってお
り、端末装置(6)は受信した制御データの受信先識別
番号「01」が自己の識別番号「01」と同じであるから制
御データ中のオン・オフ信号を取込み、例えばオン信号
であれば電気機器(3)をオンさせる。そしてオン動作
状態であることを一斉宛又はコントローラ宛に送信す
る。コントローラ(12)は受信した制御データの発信元
番号「01」に基づいて端末装置(6)からのデータと判
断し、またオン動作状態信号に基づいて制御スイッチ
(13)と対応した表示器(16)を点灯させ電気機器
(3)がオン状態にあることを表示する。
Here, for example, it is assumed that the identification numbers of the terminal devices (6), (7), and (8) have already been set to “01”, “02”, and “03”. When the controller (12) depresses the control switch (13), the destination identification number of the transmitted control data is "01" and the transmission source identification number is "00". Captures the on / off signal in the control data because the destination identification number "01" of the received control data is the same as its own identification number "01". For example, if the signal is an on signal, the electric device (3) is turned on. Let it. Then, the state of the ON operation state is transmitted to the broadcast or the controller. The controller (12) determines that the data is from the terminal device (6) based on the source number "01" of the received control data, and displays the display () corresponding to the control switch (13) based on the ON operation state signal. 16) is turned on to indicate that the electric device (3) is in the ON state.

次に端末装置の識別番号設定についてまず簡単に説明
する。制御スイッチ(13)で電気機器(3)のオン・オ
フを制御する場合には、制御スイッチ(13)と設定スイ
ッチ(9)を同時に押下げる操作を例えば3回繰り返
す。この時コントローラ(12)においては、制御スイッ
チ(13)が押下げられると、これに割当てられた番号
「01」が受信先識別番号として制御データに付加して送
出され、一方端末装置(6)においては、受信する制御
データの中から設定スイッチ(9)の操作に基づいて受
信先識別番号を取込み、これらの動作が繰り返されて同
一の識別番号を連続して例えば3回取込むとその識別番
号を自己の識別番号として記憶部に記憶して登録する。
尚、記憶部は端末装置(6)を電灯線(1)から外して
も登録した番号を記憶する構成としているので、端末装
置をコントローラ(12)と離間した位置に設置する場合
でも容易に識別番号を設定することができる。
Next, the identification number setting of the terminal device will be briefly described first. When the control switch (13) controls on / off of the electric device (3), the operation of simultaneously depressing the control switch (13) and the setting switch (9) is repeated, for example, three times. At this time, in the controller (12), when the control switch (13) is depressed, the number "01" assigned to the control switch (13) is added to the control data as the destination identification number and transmitted, and the terminal device (6) is transmitted. In the case of receiving the destination identification number from the control data to be received based on the operation of the setting switch (9), these operations are repeated, and the same identification number is continuously captured, for example, three times. The number is stored and registered in the storage unit as its own identification number.
The storage unit is configured to store the registered number even when the terminal device (6) is disconnected from the power line (1), so that the terminal device can be easily identified even when the terminal device is installed at a position separated from the controller (12). Number can be set.

ところで制御スイッチと設定スイッチの同時操作を行
なう場合、その順序に多少のズレが生じるが、以下に詳
述するように3秒程度前後しても設定できるようにして
いる。
By the way, when the control switch and the setting switch are operated at the same time, the order may be slightly different, but as described in detail below, the setting can be made even after about 3 seconds.

第2、第3図のフローチャートを参照して識別番号の
設定について詳述すると、第1回目の同時押下げ操作
時、制御スイッチ(13)の押下げに先立って設定スイッ
チ(9)が押下げられると、端末装置(6)においては
ステップ(S2)からステップ(S3)へ進み、第1のタイ
マー(3秒間)をスタートさせる。3秒以内に制御スイ
ッチ(13)が押下げられると、コントローラ(12)から
送信された制御データを受信してステップ(S4)からス
テップ(S5)へ進むが、始めての受信であるので、ステ
ップ(S6)へ進み、受信した制御データ中の受信先識別
番号「01」を取込み一時記憶する。そして一致フラグを
セットし、第2のタイマー(3秒間)をスタートさせ
る。第1、第2のタイマーとも動作中であるのでステッ
プ(S14)へ進み、不一致フラグはセットされていない
のでステップ(S16)へ進む。一致フラグはセットされ
ているので、ステップ(S17)へ進み、一致カウンタに
1を加えて1とする。一致カウンタは3に達していない
のでステップ(S20)に進み、一致、不一致フラグをリ
セットするとともに第1、第2タイマーをリセットす
る。
The setting of the identification number will be described in detail with reference to the flowcharts of FIGS. 2 and 3. In the first simultaneous pressing operation, the setting switch (9) is pressed down before the control switch (13) is pressed down. Then, the terminal device (6) proceeds from step (S2) to step (S3) and starts the first timer (3 seconds). If the control switch (13) is depressed within 3 seconds, the control data transmitted from the controller (12) is received and the process proceeds from step (S4) to step (S5). Proceeding to (S6), the destination identification number "01" in the received control data is fetched and temporarily stored. Then, a match flag is set, and a second timer (3 seconds) is started. Since both the first and second timers are operating, the process proceeds to step (S14), and since the mismatch flag is not set, the process proceeds to step (S16). Since the match flag has been set, the process proceeds to step (S17), and 1 is added to the match counter to set it to 1. Since the coincidence counter has not reached 3, the flow advances to step (S20) to reset the coincidence / non-coincidence flags and reset the first and second timers.

第2回目の同時押下げ操作時、例えば制御スイッチ
(13)の押下げ後設定スイッチ(9)が押下げられる
と、ステップ(S4)においてコントローラ(12)からの
制御データを受信し、ステップ(S5)に進む。2度目の
受信であるのでステップ(S7)に進み、受信した制御デ
ータの受信先識別番号「01」と一時記憶している識別番
号を比較する。両者「01」であるのでステップ(S8)に
て一致と判定し、ステップ(S10)にて一致フラグをセ
ットする。そしてステップ(S11)にて第2のタイマー
をスタートする。その後設定スイッチ(9)が押下げら
れるまではステップ(S12)、(S2)、(S4)を繰り返
す。そして、制御スイッチ(13)の押下げ後3秒以内に
設定スイッチ(9)が押下げられると、第1のタイマー
が動作することによって、ステップ(S12)(S13)(S1
4)と進む。一致フラグはセットされ、不一致フラグは
セットされていないのでステップ(S17)へ進み、一致
カウンタを2とする。
At the time of the second simultaneous depression operation, for example, if the setting switch (9) is depressed after the depression of the control switch (13), control data from the controller (12) is received in step (S4), and Go to S5). Since it is the second reception, the process proceeds to step (S7), where the destination identification number “01” of the received control data is compared with the temporarily stored identification number. Since both are "01", it is determined that they match in step (S8), and a match flag is set in step (S10). Then, the second timer is started in step (S11). Thereafter, steps (S12), (S2) and (S4) are repeated until the setting switch (9) is pressed down. When the setting switch (9) is pressed down within 3 seconds after the control switch (13) is pressed down, the first timer is operated, and the steps (S12), (S13) and (S1) are performed.
Continue with 4). Since the match flag is set and the non-match flag is not set, the process proceeds to step (S17), and the match counter is set to 2.

3回目の同時押下げ操作により一致カウンタが3とな
ると、ステップ(S18)にてそれが判定され、ステップ
(S19)へ進み、一時記憶している識別番号「01」を自
己の識別番号として登録する。
When the coincidence counter becomes 3 by the third simultaneous depression operation, it is determined in step (S18), and the process proceeds to step (S19), where the temporarily stored identification number "01" is registered as its own identification number. I do.

尚、取込んだ識別番号が3回連続しなかった場合、即
ちステップ(S8)にて識別番号の不一致が判定され、ス
テップ(S9)にて不一致フラグがセットされるとステッ
プ(S14)にて一致カウンタの値を0とし、識別番号の
登録を阻止する。
If the acquired identification numbers are not consecutive three times, that is, it is determined in step (S8) that the identification numbers do not match, and if the mismatch flag is set in step (S9), the process proceeds to step (S14). The value of the coincidence counter is set to 0, and registration of the identification number is prevented.

例えば、制御スイッチ(13)と対応して端末装置
(7)の識別番号が既に「01」と設定されている場合に
は、制御スイッチ(13)が押下げられると、その後端末
装置(7)が一斉宛或いはコントローラ宛に制御データ
を送出するため、端末装置(6)(8)の取込む受信先
識別番号は連続しない。これにより識別番号の重複登録
を防止することができる。
For example, if the identification number of the terminal device (7) is already set to "01" in correspondence with the control switch (13), when the control switch (13) is pressed down, the terminal device (7) Sends control data to all or a controller, the receiving destination identification numbers taken in by the terminal devices (6) and (8) are not continuous. This can prevent duplicate registration of the identification number.

(ト) 発明の効果 本発明は上述の様に、制御スイッチおよび設定スイッ
チを同時に又は所定時間内に前後して操作する事によ
り、受信先識別番号を設定できるため、設定操作が極め
て容易となる。更に上記構成により、制御スイッチおよ
び設定スイッチを所定回数連続して操作しなければ自己
識別番号を登録できないので確実に登録出来る。
(G) Effect of the Invention As described above, the present invention makes it possible to set the destination identification number by operating the control switch and the setting switch simultaneously or before or after within a predetermined time, so that the setting operation becomes extremely easy. . Further, with the above configuration, the self-identification number cannot be registered unless the control switch and the setting switch are continuously operated a predetermined number of times.

本発明は望ましくは、例えば制御スイッチ13と対応し
て端末装置7の自己識別番号が既に01と登録している場
合には、制御スイッチ13を操作すると、端末装置7が一
斉宛或いは主端末装置12宛に01を送信する。その結果、
端末装置6,8の取込む受信先識別番号は連続しなく、識
別番号の重複登録を防止出来る。
The present invention is preferably implemented, for example, in the case where the self-identification number of the terminal device 7 is already registered as 01 in correspondence with the control switch 13, and when the control switch 13 is operated, Send 01 to 12. as a result,
Reception destination identification numbers taken in by the terminal devices 6 and 8 are not continuous, and duplicate registration of identification numbers can be prevented.

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

第1図は本発明の一実施例を示すブロック図、第2、第
3図は本発明の動作を説明するためのフローチャート図
である。 (3)(4)(5)……電気機器、(6)(7)(8)
……端末装置、(9)(10)(11)……設定スイッチ、
(12)……主端末装置、(13)(14)(15)……制御ス
イッチ。
FIG. 1 is a block diagram showing an embodiment of the present invention, and FIGS. 2 and 3 are flowcharts for explaining the operation of the present invention. (3) (4) (5) ... electrical equipment, (6) (7) (8)
…… Terminal device, (9) (10) (11) …… Setting switch,
(12)… Main terminal device, (13) (14) (15)… Control switch.

───────────────────────────────────────────────────── フロントページの続き (56)参考文献 特開 昭60−200642(JP,A) 特開 昭62−287721(JP,A) 特開 昭61−41247(JP,A) ────────────────────────────────────────────────── ─── Continuation of front page (56) References JP-A-60-200642 (JP, A) JP-A-62-287721 (JP, A) JP-A-61-41247 (JP, A)

Claims (2)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】主端末装置と複数の端末装置を通信路を介
して互いに接続し、前記主端末装置は各々の受信先識別
番号に対応する各々の制御スイッチを有し、各々の前記
端末装置は各々の設定スイッチを有し、前記制御スイッ
チおよび前記設定スイッチを同時に又は所定時間内に前
後して操作し、かつ前記両スイッチを所定回数連続して
操作する事により、前記受信先識別番号を自己識別番号
として前記端末装置に登録する事を特徴とする端末装置
の識別番号設定方法。
1. A main terminal device and a plurality of terminal devices are connected to each other via a communication path. The main terminal device has control switches corresponding to respective destination identification numbers. Has each setting switch, operates the control switch and the setting switch simultaneously or back and forth within a predetermined time, and operates the both switches a predetermined number of times in succession to change the reception destination identification number. A method for setting an identification number of a terminal device, wherein the method is registered in the terminal device as a self-identification number.
【請求項2】前記自己識別番号が前記端末装置に登録さ
れた後に、登録した前記自己識別番号に対応する前記制
御スイッチを操作すると、前記端末装置は前記自己識別
番号を一斉宛或いは前記主端末装置宛に送信する事を特
徴とする特許請求の範囲第1項に記載の端末装置の識別
番号設定方法。
2. When the control switch corresponding to the registered self-identification number is operated after the self-identification number has been registered in the terminal device, the terminal device sends the self-identification number to all at once or the main terminal. 2. The method for setting an identification number of a terminal device according to claim 1, wherein the terminal device transmits the identification number to a device.
JP29281889A 1989-11-10 1989-11-10 Terminal device identification number setting method Expired - Fee Related JP2609933B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP29281889A JP2609933B2 (en) 1989-11-10 1989-11-10 Terminal device identification number setting method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP29281889A JP2609933B2 (en) 1989-11-10 1989-11-10 Terminal device identification number setting method

Publications (2)

Publication Number Publication Date
JPH03154453A JPH03154453A (en) 1991-07-02
JP2609933B2 true JP2609933B2 (en) 1997-05-14

Family

ID=17786746

Family Applications (1)

Application Number Title Priority Date Filing Date
JP29281889A Expired - Fee Related JP2609933B2 (en) 1989-11-10 1989-11-10 Terminal device identification number setting method

Country Status (1)

Country Link
JP (1) JP2609933B2 (en)

Also Published As

Publication number Publication date
JPH03154453A (en) 1991-07-02

Similar Documents

Publication Publication Date Title
JP2609933B2 (en) Terminal device identification number setting method
JPH10322782A (en) Universal remotee control system
EP0316913B1 (en) Time switch
JPH09102396A (en) Address number assigning system and method
JP2003279109A (en) System and method for setting zone number of multi air conditioner
JP2663727B2 (en) Multiple device control system
JPH1169468A (en) Remote supervisory and control system
JP3363045B2 (en) How to set the station number of the switch unit
JPS60162398A (en) Home control system
JP2002071196A (en) Air conditioner
JPH024154A (en) Control device for air conditioner
JP2669429B2 (en) Control device for air conditioner
JPS6130110Y2 (en)
JPH0141079Y2 (en)
JPH0638543Y2 (en) Remote monitoring control system
JP3420182B2 (en) Air conditioner
JPH05284570A (en) Remote control system
JPH0658602A (en) Control method of air conditioner and device employing the method
JPH07182261A (en) Information processor
JP2000105882A (en) Emergency receiver of automatic fire alarm system
JPS60134794A (en) Control circuit for motor
GB2203874A (en) Control system
JPH09261777A (en) Selector switch for remote monitor control system
JPH01184559A (en) System for constituting automatic memory system
JPH0715881A (en) Wiring system in building

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees