JPH082036B2 - Transmission control device - Google Patents

Transmission control device

Info

Publication number
JPH082036B2
JPH082036B2 JP63042668A JP4266888A JPH082036B2 JP H082036 B2 JPH082036 B2 JP H082036B2 JP 63042668 A JP63042668 A JP 63042668A JP 4266888 A JP4266888 A JP 4266888A JP H082036 B2 JPH082036 B2 JP H082036B2
Authority
JP
Japan
Prior art keywords
signal
adapter
control terminal
communication
address
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 - Lifetime
Application number
JP63042668A
Other languages
Japanese (ja)
Other versions
JPH01218132A (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.)
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 JP63042668A priority Critical patent/JPH082036B2/en
Publication of JPH01218132A publication Critical patent/JPH01218132A/en
Publication of JPH082036B2 publication Critical patent/JPH082036B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Cable Transmission Systems, Equalization Of Radio And Reduction Of Echo (AREA)

Description

【発明の詳細な説明】 産業上の利用分野 本発明は、商用電力線を双方向伝送通信路として利用
し、複数の負荷を遠隔操作によりオンオフ制御する伝送
制御装置に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a transmission control device that uses a commercial power line as a bidirectional transmission communication path and controls on / off a plurality of loads by remote control.

従来の技術 このような伝送制御装置として、従来第11図及び第12
図に示すような構成のものが使用されていた。
2. Description of the Related Art As such a transmission control device, as shown in FIGS.
The structure shown in the figure was used.

図中、1は専用のアダプタ2〜5を介して電力線10に
接続されている負荷6〜9を遠隔操作でオンオフ制御す
る制御ターミナル、2〜5は制御ターミナルから送られ
た信号を受けて自己に接続されている負荷6〜9をオン
オフし、その制御結果を制御ターミナル1へ返信するア
ダプタ、6〜9は電気機器等の負荷である。10は双方向
伝送通信路としても利用される商用100V電力線(以下電
力線と称する)を示している。制御ターミナル1は、自
局アドレスを設定する自局アドレス設定手段11、他局ア
ドレスを設定する他局アドレス設定手段12〜15、接続さ
れている複数の負荷を遠隔操作でオンオフしたいときに
使用者が操作する操作スイッチ16〜19、操作スイッチ16
〜19の操作結果、負荷6〜9が制御されたことを示す表
示手段20〜23を有している。なお表示手段20〜23は遠隔
制御によらず、手動で負荷6〜9をオンオフした場合も
その状態変化を表示する機能を併せもつものである。ま
た、当然ながら他局アドレス設定手段12〜15、操作スイ
ッチ16〜19及び表示手段20〜23は負荷6〜9のひとつず
つと対応するようこの場合は4個ずつ用意されている。
またアダプタ2は、自局アドレスを設定するための自局
アドレス設定手段26、電力線を介して制御ターミナル1
との間で通信を行うための通信部28、負荷6を制御ター
ミナル1からの信号に応じてオンオフし、この制御結果
を検出する負荷制御手段30、通信部28で受信した信号を
負荷制御手段30へ送り、負荷6の遠隔操作が終了した信
号を負荷制御手段30から受け取れば自局アドレス設定手
段26の信号による自局アドレスを付加し、この制御結果
を示す信号を通信部28へ送る演算制御手段29を有してい
る。通信部28は制御ターミナル1との間で電力線10を介
して通信を行う通信手段24と、通信のための基準クロッ
ク信号を発生するクロック発生手段25と、通信信号の衝
突が発生した場合、自局アドレス設定手段26で設定され
たアドレス数に相当する時間だけ演算制御手段29で作ら
れた信号の送信を保留する計時手段27を有している。
In the figure, 1 is a control terminal for remotely controlling on / off of loads 6-9 connected to a power line 10 through dedicated adapters 2-5, and 2-5 are self-received by receiving a signal sent from the control terminal. Adapters for turning on / off the loads 6 to 9 connected to the control terminal and returning the control result to the control terminal 1, and 6 to 9 are loads of electric devices and the like. Reference numeral 10 denotes a commercial 100V power line (hereinafter referred to as a power line) that is also used as a bidirectional transmission communication path. The control terminal 1 is a user who wants to turn on / off his / her own station address setting means 11 for setting the own station address, other station address setting means 12-15 for setting the other station address, and a plurality of connected loads by remote control. Operation switches 16 to 19 operated by
The display means 20 to 23 indicate that the loads 6 to 9 are controlled as a result of the operation Nos. 19 to 19. The display means 20 to 23 also have a function of displaying the state change of the loads 6 to 9 when they are manually turned on and off, not by remote control. In addition, as a matter of course, the other station address setting means 12 to 15, the operation switches 16 to 19 and the display means 20 to 23 are provided in this case four each so as to correspond to each one of the loads 6 to 9.
Further, the adapter 2 controls the local terminal address setting means 26 for setting the local station address and the control terminal 1 through the power line.
A communication unit 28 for communicating with and the load 6 is turned on / off according to a signal from the control terminal 1 and a load control unit 30 for detecting the control result, and a signal received by the communication unit 28 is a load control unit. If the signal sent to the load control means 30 is sent to the load control means 30, the own address is added by the signal of the own address setting means 26, and a signal indicating the control result is sent to the communication section 28. It has a control means 29. The communication unit 28 communicates with the control terminal 1 via the power line 10, a communication unit 24, a clock generation unit 25 for generating a reference clock signal for communication, and a communication unit 28 itself when communication signal collision occurs. It has a clocking means 27 for holding the transmission of the signal generated by the arithmetic control means 29 for a time corresponding to the number of addresses set by the station address setting means 26.

以上の構成で、以下にこの伝送制御装置の動作を説明
する。先ずシステムの導入設置時に、制御ターミナル1
及びアダプタ2〜5のアドレスを固有に設定する。この
アドレス設定は、制御ターミナル1については制御ター
ミナル1自身の自局アドレスをディップスイッチで構成
されている自局アドレス設定手段11に、遠隔操作で制御
される負荷6〜9が接続されるアダプタ2〜5のアドレ
スを他局アドレス設定手段12〜15に2進符号で設定す
る。また、アダプタ2のアドレスはアダプタ2が有する
自局アドレス設定手段26に制御ターミナル1の他局アド
レス設定手段12に設定されたアドレスと同じアドレスと
なるように、またアダプタ3の自局アドレスは同じく制
御ターミナル1の他局アドレス設定手段13に設定された
アドレスと同じアドレスとなるように、アダプタ4は他
局アドレス設定手段14と、アダプタ5は他局アドレス設
定手段15と対応するよう設定する。こうして制御ターミ
ナル1には、制御ターミナル自身のアドレスとアダプタ
2〜5が有する固有のアドレスとが設定される。
The operation of the transmission control device having the above configuration will be described below. First, when installing the system, control terminal 1
And the addresses of the adapters 2 to 5 are set uniquely. For this address setting, for the control terminal 1, the local address of the control terminal 1 itself is set to the local address setting means 11 which is constituted by a DIP switch, and the adapters 2 to 9 which are remotely controlled are connected to the adapter 2. Addresses 5 to 5 are set in the other station address setting means 12 to 15 in binary code. The address of the adapter 2 is the same as the address set in the other station address setting means 12 of the control terminal 1 in the own station address setting means 26 of the adapter 2, and the own station address of the adapter 3 is the same. The adapter 4 is set to correspond to the other station address setting means 14 and the adapter 5 is set to correspond to the other station address setting means 15 so that the same address as that set in the other station address setting means 13 of the control terminal 1 is set. In this way, the address of the control terminal itself and the unique address of the adapters 2-5 are set in the control terminal 1.

アドレス設定が終了すれば、日常の遠隔操作使用に入
る。例えば、使用者が現在オフ状態である負荷8をオン
に制御したい場合について説明する。制御ターミナル1
の表示手段22が消灯状態であることから、現在負荷8が
オフ状態であることを認識した使用者が、操作スイッチ
18を操作する。操作スイッチ18が操作されれば、制御タ
ーミナル1から、負荷をオンせよという操作命令が制御
ターミナル1自身のアドレスに負荷8が接続されている
アダプタ4のアドレスを付加して電力線10に送信され
る。アダプタ2〜5は常時電力線10上に通信信号が無い
かどうかを監視しており前記信号はアダプタ4に設定さ
れた自局アドレスと一致するためアダプタ4に受信され
る。こうしてアダプタ4が有する通信部28から演算制御
手段29にこの信号が届く。演算制御手段29はこの信号に
より負荷制御手段30を駆動させ、アダプタ4に接続され
ている負荷8がオンされる。負荷制御手段30はこの負荷
8のオンを検知し、この信号を演算制御手段29へ送る。
演算制御手段29はこの負荷8のオン信号に自局アドレス
設定手段26で設定されているアダプタ4の自局アドレス
を付加した信号を作り、通信手段24へ送る。通信手段24
はこの信号を電力線10を介して制御ターミナル1へ返信
する。この信号を受けた制御ターミナル1は、負荷8が
オンされたことを認識し、表示手段22を点灯させる。こ
うして、使用者は表示手段22が点灯されたため負荷8が
オンになったことを認識することができる。
When the address setting is completed, it is ready for daily remote control use. For example, a case where the user wants to control the load 8 that is currently in the off state to be on will be described. Control terminal 1
Since the display means 22 of is in the off state, the user who recognizes that the load 8 is currently in the off state is
Operate 18 When the operation switch 18 is operated, an operation command for turning on the load is transmitted from the control terminal 1 to the power line 10 by adding the address of the adapter 4 to which the load 8 is connected to the address of the control terminal 1 itself. . The adapters 2 to 5 constantly monitor whether or not there is a communication signal on the power line 10. Since the signal matches the own station address set in the adapter 4, the signal is received by the adapter 4. In this way, this signal reaches the arithmetic control means 29 from the communication section 28 of the adapter 4. The arithmetic control unit 29 drives the load control unit 30 by this signal, and the load 8 connected to the adapter 4 is turned on. The load control means 30 detects that the load 8 is turned on and sends this signal to the arithmetic control means 29.
The arithmetic control means 29 produces a signal in which the ON signal of the load 8 is added with the own station address of the adapter 4 set by the own station address setting means 26 and sends it to the communication means 24. Communication means 24
Returns this signal to the control terminal 1 via the power line 10. Receiving this signal, the control terminal 1 recognizes that the load 8 is turned on and turns on the display means 22. In this way, the user can recognize that the load 8 is turned on because the display means 22 is turned on.

以上の如く伝送制御装置は、接続されている負荷を自
由に遠隔操作でオンオフ制御することができるものであ
る。
As described above, the transmission control device can freely control on / off of the connected load by remote control.

発明が解決しようとする課題 しかしこのように便利な伝送制御装置ではあるが、従
来の構成のものでは以下に記すような課題があった。
However, although the transmission control device is convenient as described above, the conventional configuration has the following problems.

すなわち、アドレス設定を誤った場合には制御ターミ
ナルとアダプタ間での通信が不可能になるということ
や、或は通信は行われても表示手段での表示が間違った
ものになることがあるということである。この表示の間
違いについては、本発明の目的とするところではないた
めここで説明を割愛する。
That is, if the address setting is incorrect, communication between the control terminal and the adapter may become impossible, or even if communication is performed, the display on the display means may be incorrect. That is. This display error is not the object of the present invention, and therefore its explanation is omitted here.

以下に第11図から第15図を用いて、通信が不可能とな
る場合について説明する。今制御ターミナル1のアドレ
スを1、アダプタ2のアドレスを2、アダプタ3及び4
のアドレスを3、アダプタ5のアドレス5と設定してし
まったとする。
The case where communication becomes impossible will be described below with reference to FIGS. 11 to 15. Now the control terminal 1 address is 1, the adapter 2 address is 2, the adapters 3 and 4
Suppose that the address is set to 3 and the address of the adapter 5 is set to 5.

通信信号の形態は、第13図に示すように商用周波数の
半サイクルの前半に信号が重畳されていれば0、同じく
後半に信号が重畳されていれば1とする2進符号であ
り、全ての信号はこの0と1の組合せで表現されてい
る。第13図のAは商用周波数に信号が重畳されている状
態を、Bは信号成分だけを、C・D・E・Fは時間をそ
れぞれ表わしている。つまり時間Cには0、時間Dには
1、時間Eには0と1の信号が重畳されており、時間F
には信号が重畳されていない(以下、空きクロックと呼
ぶ)ことを示している。制御ターミナル1は、例えばア
ダプタが電力線10から外されたりした場合にはそのアダ
プタのアドレスを示す部分の表示手段の表示が誤ったも
のとなる惧れがあるため、定期的にそれぞれのアダプタ
に対して異常の有無を問合せ、これに対してそれぞれの
アダプタから制御ターミナル1に対して返信することが
行われている。この通信にも勿論前記した2進符号によ
る通信信号が用いられる。この場合の制御ターミナル1
からの問合せに対する各アダプタの応答を第14図及び第
15図を用いて説明する。第14図は送信信号の構成を示す
図であり、第15図は各アダプタの返信信号を表わす図で
ある。アダプタ2は設定アドレスが2、接続されている
負荷6がオンであるため、自局アドレス部は2を示す
“00000010"相手局アドレス部には制御ターミナルのア
ドレスである1を示す“00000001"を、コマンド部には
オンを示す“10000000"を組合せた返信信号を電力線10
に送信する。この返信信号を受信し表示手段20を点灯さ
せた制御ターミナル1は、引続いてアダプタ3に対して
負荷7の現在の状態を問合せる。このとき、アダプタ3
のアドレスとアダプタ4のアドレスとは前記したように
どちらも3と設定されているため、制御ターミナル1か
らの問合せに対しアダプタ3とアダプタ4とはどちらも
同時に応答しようとする。この応答のうち、自局アドレ
ス部及び相手局アドレス部は全く同一であり、それぞれ
のアダプタ3及び4から電力線10に対して送信すること
ができるが、コマンド部を示す信号の1ビット目が一方
は0、他方は1であり、第13図の時間Eで示した信号衝
突が生じた状態となる。この信号衝突が生じた場合、従
来の構成では自局アドレスとして定められたアドレス数
に相当する時間、この場合は3であり半サイクルの3倍
分だけの時間信号送信を保留する構成となっている。第
12図に示す計時手段27は、この待ち時間を計時するもの
である。しかし、3/2サイクル分だけ待ったとしても、
やはり送信が0と1とであり、結局アダプタ3とアダプ
タ4とは制御ターミナル1からの問合せに対し永久に応
答することができない状態となる。また制御ターミナル
1は、アダプタ3とアダプタ4からの返信信号が届かな
いため、アダプタ5に対する問合せができないことにな
る。
As shown in FIG. 13, the form of the communication signal is a binary code that is 0 when the signal is superimposed on the first half of the half cycle of the commercial frequency and 1 when the signal is superimposed on the latter half of the commercial frequency. The signal of is represented by the combination of 0 and 1. A of FIG. 13 shows a state in which a signal is superimposed on a commercial frequency, B shows only a signal component, and C, D, E, and F show time. That is, the signals 0 and 1 are superimposed on the time C, the time D, and the time E, respectively.
Indicates that no signal is superimposed (hereinafter referred to as an empty clock). For example, when the adapter is disconnected from the power line 10, the control terminal 1 may display an incorrect display on the display means of the address indicating the adapter. Inquiries about the presence or absence of abnormality are made, and in response to this, the respective adapters reply to the control terminal 1. Of course, the communication signal based on the above-mentioned binary code is also used for this communication. Control terminal 1 in this case
The response of each adapter to the inquiry from Fig. 14 and Fig.
It will be described with reference to FIG. FIG. 14 is a diagram showing a structure of a transmission signal, and FIG. 15 is a diagram showing a reply signal of each adapter. Since the setting address of the adapter 2 is 2 and the connected load 6 is on, the local station address part indicates "00000010" and the partner station address part indicates "00000001" which indicates 1 which is the address of the control terminal. , In the command section, the power line 10
Send to. The control terminal 1 receiving this reply signal and turning on the display means 20 subsequently inquires of the adapter 3 about the current state of the load 7. At this time, adapter 3
Since both the address and the address of the adapter 4 are set to 3, as described above, both the adapter 3 and the adapter 4 try to respond to the inquiry from the control terminal 1 at the same time. In this response, the address part of the own station and the address part of the partner station are exactly the same and can be transmitted from the respective adapters 3 and 4 to the power line 10. However, the first bit of the signal indicating the command part is one Is 0 and the other is 1, which means that the signal collision shown at time E in FIG. 13 has occurred. When this signal collision occurs, in the conventional configuration, the time corresponding to the number of addresses defined as the own station address, which is 3 in this case, is set to hold the signal transmission for the time of three times the half cycle. There is. First
The time measuring means 27 shown in FIG. 12 measures this waiting time. However, even if you wait for 3/2 cycles,
After all, the transmission is 0 and 1, so that the adapters 3 and 4 are in a state where they cannot permanently respond to the inquiry from the control terminal 1. Further, the control terminal 1 cannot make an inquiry to the adapter 5 because the reply signals from the adapter 3 and the adapter 4 do not arrive.

このように、アダプタのアドレス設定を誤った場合に
は、制御ターミナルとアダプタ間での通信が不可能とな
る場合があり、しかもこの状態ではアドレス設定が誤っ
ていることを発見することもできない。
As described above, if the address setting of the adapter is incorrect, communication between the control terminal and the adapter may not be possible, and in this state, it is not possible to discover that the address setting is incorrect.

また、上記説明では通信衝突がアダプタ間での送信に
より生じた例を説明したが、例えばシステムを増設して
制御ターミナルも複数個設置されたような場合は、制御
ターミナルとアダプタ間で生じる場合や複数の制御ター
ミナル間で生じる場合も存在する。
In the above description, the example in which the communication collision occurs due to the transmission between the adapters is explained. However, for example, when the system is expanded and a plurality of control terminals are installed, it may occur between the control terminal and the adapter. It may also occur between multiple control terminals.

本発明はこのような通信衝突が生じた場合に、通信不
能となることを回避することのできる伝送制御装置を提
供することを目的としている。
It is an object of the present invention to provide a transmission control device capable of avoiding a communication failure when such a communication collision occurs.

課題を解決するための手段 前記目的を達成するための本発明の手段は、通信衝突
を検出した段階で設定されている自局アドレスの値をあ
る規則に従って変更することのできる通信部をアダプタ
または制御ターミナル、或はその両方に備えた構成とす
るものである。
Means for Solving the Problems Means of the present invention for achieving the above-mentioned object is an adapter or a communication unit capable of changing the value of its own station address set at the stage of detecting a communication collision according to a certain rule. The configuration is provided for the control terminal or both.

作 用 上記構成とすることに、本発明は通信衝突が発生して
も通信不能となることを避けることができ、使用者に対
してアドレス設定の異常を報知することができるもので
ある。
Operation With the above-described configuration, the present invention can prevent communication failure even if a communication collision occurs, and notify the user of an address setting abnormality.

実施例 第1の発明である伝送制御装置の一実施例を第1図及
び第2図に基いて説明する。第1図は本発明である通信
部をアダプタ34に設けた第1の実施例であり、第2図は
第1図の通信部34が有するプログラムを表わすフローチ
ャートである。なお第11図及び第12図で説明した従来例
と同一機能を有する部材については、同一番号を付与し
その説明を省略する。31は電力線10を介して制御ターミ
ナル1との間で通信信号の授受を行うもので以下のよう
な作用を有する通信手段である。
Embodiment An embodiment of the transmission control device according to the first invention will be described with reference to FIGS. 1 and 2. FIG. 1 is a first embodiment in which the communication unit of the present invention is provided in the adapter 34, and FIG. 2 is a flow chart showing a program included in the communication unit 34 of FIG. It should be noted that members having the same functions as those of the conventional example described with reference to FIGS. 11 and 12 are given the same reference numerals and the description thereof will be omitted. Reference numeral 31 is a communication means for exchanging communication signals with the control terminal 1 via the power line 10 and having a function as follows.

すなわち、第1の作用は電力線10上に通信信号の衝突
が生じていないかどうか、つまり通信路が空いているか
どうかを監視するもので、通信信号の衝突が発生した場
合は計数手段32に信号を送りこの通信信号の衝突回数を
カウントさせ、また一方、関数手段33に信号を送り、待
ち時間を決定することである。第2は自局から制御ター
ミナル1に対する信号を送信する作用である。この場
合、演算制御手段29で作成された通信信号を電力線10に
送信するが前記した信号衝突が発生している場合は、こ
の送信タイミングを計時手段27で定められた時間だけ待
ち送信を行うものである。この待ち時間の計数は、クロ
ック発生手段25で発生する基準クロック信号を計時手段
27で定められた所定値分に相当する空きクロック数だけ
カウントすることで行われる。また送信が完了すれば、
計数手段32の値を0に戻すクリア信号を発生する。第3
は、制御ターミナル1から自局宛の通信信号を受信する
作用である。前記同様この受信が完了すれば計数手段32
の値を0に戻すクリア信号を発生する。
That is, the first action is to monitor whether or not a collision of communication signals has occurred on the power line 10, that is, whether or not a communication path is vacant. When the collision of communication signals occurs, a signal is sent to the counting means 32. To count the number of collisions of this communication signal, while sending a signal to the function means 33 to determine the waiting time. The second is the action of transmitting a signal from the local station to the control terminal 1. In this case, the communication signal created by the arithmetic control means 29 is transmitted to the power line 10, but when the above-mentioned signal collision occurs, the transmission timing is waited for the time determined by the time measuring means 27. Is. This waiting time is calculated by counting the reference clock signal generated by the clock generating means 25.
It is performed by counting the number of empty clocks corresponding to the predetermined value defined by 27. When the transmission is completed again,
A clear signal for returning the value of the counting means 32 to 0 is generated. Third
Is an operation of receiving a communication signal addressed to itself from the control terminal 1. Similar to the above, if this reception is completed, the counting means 32
Generates a clear signal that returns the value of to 0.

32は通信信号の衝突が発生した場合、通信手段31から
この信号を受取り衝突発生回数の信号を関数手段33に送
る計数手段である。33は自局アドレス設定手段26・通信
手段31・計数手段32から信号を受取り、所定の手続きで
待ち時間を演算し、計時手段27にこの信号を送る関数手
段である。以下、この関数手段の作用について説明す
る。演算制御手段29で作られた自局から制御ターミナル
1宛の通信信号を送信しようとする場合、通信信号の衝
突が発生していれば、この通信衝突が所定回数(本実施
例では連続4回としている。)だけ連続して発生するこ
とを確認して通信衝突が発生していることを認識し、4
回の通信衝突が発生した時点で自局からの送信データが
0である場合は自局アドレス設定手段26に設定されたア
ドレスnをn−1と、送信データが1である場合にはア
ドレスnをn+1と演算し、この値を待ち時間として計
時手段27に出力するものである。この時、計数手段32は
値を0に戻す。34は通信手段31・計数手段32・関数手段
33を有する通信部である。
Reference numeral 32 is a counting means that receives a signal from the communication means 31 and sends a signal of the number of collision occurrences to the function means 33 when a communication signal collision occurs. Reference numeral 33 is a function means for receiving a signal from the own station address setting means 26, the communication means 31, and the counting means 32, calculating the waiting time by a predetermined procedure, and sending this signal to the clock means 27. The operation of the function means will be described below. When attempting to transmit a communication signal addressed to the control terminal 1 from the own station created by the arithmetic control means 29, if there is a collision of communication signals, this communication collision occurs a predetermined number of times (four consecutive times in this embodiment). 4) and confirm that there is a communication collision, and
When the transmission data from the own station is 0 at the time when the communication collision occurs twice, the address n set in the own station address setting means 26 is n−1, and when the transmission data is 1, the address n. Is calculated as n + 1 and this value is output to the clock means 27 as a waiting time. At this time, the counting means 32 returns the value to 0. 34 is communication means 31, counting means 32, and function means
33 is a communication unit.

以下、通信部34の有する作用を第2図のフローチャー
トに基いて説明する。
The operation of the communication unit 34 will be described below with reference to the flowchart of FIG.

演算制御手段29で作られた自局から制御ターミナル1
への通信信号を送信する場合、電力線10が現在空いてい
るかどうか、すなわち通信信号の衝突が発生していない
かどうかを確認する。これがステップ1である。通信信
号の衝突が発生している場合、自局が送信しようとして
いるかどうか、或いは送信中であるかを確認する。これ
がステップ2である。送信しようとしているか、或は送
信中であれば、計数手段32からの信号をカウントし、通
信信号の衝突回数が所定値、本実施例では4回カウント
する。これがステップ3である。4回のカウントを完了
した時点で送信しようとするデータが0であるか1であ
るかを確認する。これがステップ4である。ステップ5
では送信データが0である場合、自局アドレス設定手段
26に設定されたアドレスnをn−1と演算し、計時手段
27にこの信号を出力する。ステップ6は、ステップ5で
演算された待ち時間だけ待って送信が完了すれば計時手
段27の値を0に戻すステップである。ステップ7はステ
ップ1での信号衝突の確認に対して信号衝突ではない場
合の動作ステップで、信号がない状態すなわち空きクロ
ックであるかどうかを確認するステップである。ステッ
プ8は、ステップ7での確認結果空きクロックである場
合、計時手段27に記憶されている待ち時間xをx−1に
変更するステップである。なお、本実施例では、この待
ち時間xの初期値は自局アドレス設定手段26に設定され
たアドレス値nと等しい数としている。ステップ9では
通信手段31が空きクロックを発生する都度ステップ8で
xの値を1つずつ減算する作用によるxの値が0に達し
たかどうかを判定するステップである。ステップ10で
は、計時手段27での待ち時間xが0となったため、通信
手段31に対して送信可能を指示する。ステップ11はステ
ップ4での4回衝突検知時での送信データが1である場
合を指示するステップで、この場合は関数手段33は計時
手段27の待ち時間xとして自局アドレス設定手段26に設
定されたアドレス値nに1を加えた値、n+1を代入す
る。ステップ12はステップ7での空きクロックであるか
どうかの確認に、空きクロックではないと判断した場合
を示すステップで、通信衝突ではなくて空きクロックで
はないということで電力線10上に通信信号が存在してい
る。つまり自局或は他局が送信中であることを検知する
ステップである。ステップ13はステップ3で計数した通
信信号の衝突回数が4回ではない場合の処理を示すステ
ップで計数手段32の計数値に1を加える。ステップ14は
通信信号の衝突回数が4回ではない場合の計時手段27の
記憶値xの値を指示するステップで、この段階ではxに
自局アドレス設定手段26に設定された値nをそのまま代
入する。
Control terminal 1 from own station made by arithmetic and control means 29
When transmitting a communication signal to the power line, it is checked whether the power line 10 is currently vacant, that is, whether there is a communication signal collision. This is step 1. When a communication signal collision occurs, it is confirmed whether or not the own station is trying to transmit or is transmitting. This is step 2. If the signal is about to be transmitted or is being transmitted, the signal from the counting means 32 is counted, and the number of collisions of communication signals is counted to a predetermined value, which is four in this embodiment. This is step 3. It is confirmed whether the data to be transmitted is 0 or 1 when the counting of four times is completed. This is step 4. Step 5
Then, if the transmission data is 0, the own station address setting means
The address n set in 26 is calculated as n-1, and the time counting means
Output this signal to 27. Step 6 is a step of returning the value of the clock means 27 to 0 when the transmission is completed after waiting for the waiting time calculated in step 5. Step 7 is an operation step in the case of no signal collision with respect to the confirmation of signal collision in Step 1, and is a step of confirming whether there is no signal, that is, whether or not there is an empty clock. Step 8 is a step of changing the waiting time x stored in the clock means 27 to x-1 if the check result in step 7 is an empty clock. In this embodiment, the waiting time x has an initial value equal to the address value n set in the local station address setting means 26. In step 9, each time the communication means 31 generates a vacant clock, in step 8, it is determined whether or not the value of x has reached 0 due to the action of subtracting the value of x one by one. In step 10, since the waiting time x in the time measuring means 27 becomes 0, the communication means 31 is instructed to be ready for transmission. Step 11 is a step for instructing the case where the transmission data at the time of detecting the four collisions in step 4 is 1. In this case, the function means 33 sets the waiting time x of the clock means 27 in the own station address setting means 26. The value obtained by adding 1 to the address value n thus obtained, n + 1, is substituted. Step 12 is a step showing a case where it is judged that it is not an empty clock in checking whether or not it is an empty clock in Step 7, and there is a communication signal on the power line 10 because it is not an empty clock because it is not a communication collision. are doing. That is, this is a step of detecting that the own station or another station is transmitting. Step 13 is a step showing a process when the number of collisions of the communication signals counted in step 3 is not 4, and 1 is added to the count value of the counting means 32. Step 14 is a step of instructing the value of the stored value x of the clock means 27 when the number of collisions of communication signals is not four, and at this stage, the value n set in the own station address setting means 26 is directly substituted for x. To do.

以上の構成で以下にこの伝送制御装置の動作を説明す
る。第11図で説明した構成の伝送制御装置の各アドレス
が第15図に示したように誤って設定され、それぞれ第15
図に示したようなコマンドを送信しようとする場合を例
にとって説明する。今、制御ターミナル1から各アダプ
タに対して負荷の状態を問合せる通信が発生したとす
る。この通信信号は、アドレスの若い順に行なわれるた
め、アダプタ2から制御ターミナル1への返信は電力線
10にノイズ等による障害が発生していなければ本実施例
の場合も従来例と同様スムーズに行うことができる。ア
ダプタ3とアダプタ4とは、同一アドレスに誤って設定
されているため、制御ターミナル1からの通信信号の到
着タイミングも各アダプタからの返信ナイミングも同一
となり、電力線10上に返信信号の衝突が発生する。この
信号衝突は、返信信号を構成するコマンド部の第1信号
で発生する。すなわちアダプタ3からの送信信号は0、
アダプタ4からの送信信号は1である。この場合、各ア
ダプタが内蔵した通信部28は第3図に示すように動作す
る。
The operation of the transmission control device having the above configuration will be described below. Each address of the transmission control device having the configuration described in FIG. 11 is erroneously set as shown in FIG.
An example will be described in which the command shown in the figure is to be transmitted. Now, it is assumed that a communication for inquiring about the load state from the control terminal 1 has occurred to each adapter. Since this communication signal is sent in ascending order of address, the reply from the adapter 2 to the control terminal 1 is the power line.
If there is no trouble due to noise or the like in 10, the present embodiment can be performed smoothly as in the conventional example. Since the adapter 3 and the adapter 4 are erroneously set to the same address, the arrival timing of the communication signal from the control terminal 1 and the reply naming from each adapter are the same, and a collision of the reply signal occurs on the power line 10. To do. This signal collision occurs with the first signal of the command section that constitutes the return signal. That is, the transmission signal from the adapter 3 is 0,
The transmission signal from the adapter 4 is 1. In this case, the communication unit 28 built in each adapter operates as shown in FIG.

アダプタ3の通信部28は、自局が送信しようとするデ
ータ0とアダプタ4が送信しようとするデータ1が電力
線10にAというタイミングで衝突していることを検知す
る。検知回数が4回になったときに、関数手段33は自局
アドレス設定手段26に設定されているアドレス3を送信
しようとするデータが0であるため1を減じた値2とし
て計時手段27に出力する。この出力タイミングがBで77
クロック目である。こうして設定された待ち時間を通信
手段31がクロック発生手段25の基準クロック信号をカウ
ントすることで、79クロック目のタイミングCから送信
するわけである。データ送信が完了した103クロック目
のタイミングDではアダプタ3の計時手段27の値は0に
クリアされ、次の通信要求の発生を待つ。一方、アダプ
タ4の通信部28は、タイミングAで検知した信号衝突が
4回に達した時点で、自局からの送信信号が1であるた
め関数手段33が計時手段27に設定されている待ち時間を
自局アドレス設定手段26に設定されている値3に1を加
えた値4に変更する。このタイミングがBであり、77ク
ロック目である。つまり、アダプタ4の待ち時間はBか
ら4クロック分の時間である。ところがBから2クロッ
ク分の時間が経過した時点でアダプタ3の送信が行わ
れ、この送信が完了したタイミングDでは2クロック分
だけ待ち時間が不足しており、この2クロック分だけ待
機して106クロック目のタイミングEからデータ送信を
行うことになる。この送信が完了したタイミングFで計
時手段27の値が0にクリアされ、次の通信要求の発生を
待つ。この信号衝突発生時にアダプタ3及び4から制御
ターミナル1に対する送信にアドレス設定誤りを表現す
るコマンドを付加することにより、使用者はアドレスの
誤設定を認識することができる。
The communication unit 28 of the adapter 3 detects that the data 0 to be transmitted by the local station and the data 1 to be transmitted by the adapter 4 collide with the power line 10 at the timing A. When the number of times of detection reaches 4, the function means 33 sends the address 3 set in the own station address setting means 26 to the address measuring means 27 as the value 2 subtracted from 1 because the data to be transmitted is 0. Output. This output timing is B at 77
It is the clock eye. The communication means 31 counts the reference clock signal of the clock generation means 25 to transmit the waiting time thus set from the timing C of the 79th clock. At the timing D of the 103rd clock when the data transmission is completed, the value of the clock means 27 of the adapter 3 is cleared to 0, and the generation of the next communication request is waited. On the other hand, the communication unit 28 of the adapter 4 waits for the function means 33 to be set in the time counting means 27 because the transmission signal from the own station is 1 when the number of signal collisions detected at the timing A reaches four times. The time is changed to the value 4 which is obtained by adding 1 to the value 3 set in the own station address setting means 26. This timing is B, which is the 77th clock. That is, the waiting time of the adapter 4 is a time corresponding to 4 clocks from B. However, the transmission of the adapter 3 is performed when the time of 2 clocks elapses from B, and at the timing D when this transmission is completed, the waiting time is insufficient by 2 clocks, and the waiting time is 2 clocks. Data will be transmitted from timing E of the clock. At the timing F when this transmission is completed, the value of the clock means 27 is cleared to 0, and the next communication request is awaited. By adding a command expressing an address setting error to the transmission from the adapters 3 and 4 to the control terminal 1 when this signal collision occurs, the user can recognize the incorrect setting of the address.

以上のように本実施例では、通信伝送路に信号衝突が
所定回数に生じたことを検出した場合、自局アドレス設
定手段に設定されたアドレス値nを自局からの送信デー
タが0の場合はn−1に自局からの送信データが1の場
合はn+1に変換し、これを待ち時間とするような通信
部をそれぞれのアダプタに設けたことで、アドレスの誤
設定があったとしても通信不能の状態となることを避け
ることができ、更にアドレスの設定に誤りがあることを
使用者に知らしめることができるものである。
As described above, in the present embodiment, when it is detected that the signal collision occurs on the communication transmission line a predetermined number of times, the address value n set in the own station address setting means is 0 when the transmission data from the own station is 0. Even if there is an erroneous address setting, each adapter has a communication unit that converts n-1 to n + 1 if the data sent from the station is 1, and uses this as a waiting time. It is possible to prevent the communication from being disabled, and to inform the user that the address is set incorrectly.

なお本実施例では、前記通信部はアダプタだけに設け
た構成としたが、制御ターミナルだけ或いは制御ターミ
ナルとアダプタの両方に設けた構成としても本第1の発
明の目的に沿う作用効果を有するものである。
In the present embodiment, the communication section is provided only in the adapter, but a configuration provided only in the control terminal or in both the control terminal and the adapter has the action and effect in accordance with the object of the first invention. Is.

次に、第2の発明である伝送制御装置の一実施例につ
いて第4図,第5図に基いて説明する。第4図は本発明
である通信部をアダプタ34に設けた構成を示すブロック
図であり、第5図はこの通信部の有するプログラムを示
すフローチャートである。なお第11図,第12図は第1図
で説明した部材と同一作用を有する部材については同一
番号を付与し、説明を省略或いは簡略にする。35は関数
手段33で演算処理された待ち時間を保存し、計時手段27
にこの情報を伝達する待ちクロック値格納メモリであ
る。36はこの待ちクロック値格納メモリを有し、制御タ
ーミナル1と通信を行う通信部である。この通信部の作
用を第5図のフローチャートに基いて説明する。なおこ
のフローチャートのステップで、ステップ1からステッ
プ13までは第2図に示した第1の発明である通信部と同
様のステップであり、説明を省略する。ステップ14はス
テップ2で自局が送信中或いは送信しようとしているか
どうかの確認でその状態ではない場合の関数手段33の作
用を示すステップで、待ちクロック値格納メモリに自局
アドレス設定手段26に設定されたアドレスnをそのまま
代入する。ステップ15はステップ4での所定回数(本実
施例では4回としている。)の信号衝突時での自局から
の送信データが0ではない。つまり1であった場合の関
数手段33の作用を示すステップで、この場合関数手段33
は待ちクロック値格納メモリ35に自局アドレスの値nに
1を加えた値n+1を代入する。ステップ16も同様で関
数手段33は待ちクロック値格納メモリ35にn−1を代入
する。
Next, an embodiment of the transmission control device of the second invention will be described with reference to FIGS. 4 and 5. FIG. 4 is a block diagram showing a configuration in which the communication unit of the present invention is provided in the adapter 34, and FIG. 5 is a flow chart showing a program included in this communication unit. In FIGS. 11 and 12, members having the same functions as those described in FIG. 1 are designated by the same reference numerals, and the description thereof will be omitted or simplified. The numeral 35 stores the waiting time calculated by the function means 33, and the time measuring means 27
It is a waiting clock value storage memory that transmits this information to. Reference numeral 36 is a communication unit which has this waiting clock value storage memory and communicates with the control terminal 1. The operation of this communication unit will be described based on the flowchart of FIG. In the steps of this flowchart, steps 1 to 13 are the same steps as those of the communication unit according to the first aspect of the invention shown in FIG. 2, and a description thereof will be omitted. Step 14 is a step showing the action of the function means 33 when the own station is confirming whether it is transmitting or is about to transmit in step 2 and it is not in that state. The assigned address n is directly substituted. In step 15, the transmission data from the own station at the time of the signal collision of the predetermined number of times in step 4 (four times in this embodiment) is not 0. That is, in the step showing the action of the function means 33 when it is 1, in this case, the function means 33
Substitutes the value n + 1 obtained by adding 1 to the value n of its own station address into the waiting clock value storage memory 35. The same applies to step 16, and the function means 33 substitutes n-1 into the waiting clock value storage memory 35.

以上の構成で以下に本実施例の作用を説明する。今、
システム全体が第11図の従来例で示したような構成であ
り、アダプタ3・アダプタ4・アダプタ5のアドレスが
誤って3と設定されており、それぞれのアダプタが0・
0・1という信号を制御ターミナル1に対して通信しよ
うとしているとする。この場合、この3つのアダプタの
アドレスが3という同一アドレスであるため、制御ター
ミナル1への送信タイミングが一致し信号衝突が生じる
ことになる。この信号衝突が生じた場合を第6図・第7
図を用いて説明する。第6図中の負荷の状態を示す“終
了”は、例えば負荷として自動炊飯器等を使用して炊飯
中であったような場合、制御ターミナル1からの問いか
けに対する応答のタイミングが炊飯終了のタイミングに
一致したような場合を示すコマンドである。第7図にこ
のような衝突が生じた場合の通信部36の動作を示す。制
御ターミナル1からの問いかけに対し、アダプタ3・4
・5は返信信号を同一タイミングで送信し始める。しか
し前記したような信号衝突が17ビット目で生ずる。これ
がタイミングAである。この信号衝突を通信手段31が検
知し、計数手段32が4回目の信号衝突を計数すれば関数
手段33が次のように動作する。すなわち、アダプタ3の
関数手段33は4回目の信号衝突が生じた場合に自局が送
信しようとするデータが0であるため、自局アドレス設
定手段26に設定されているアドレス3から1を減じた値
2を待ちクロック値格納メモリ35に出力する。アダプタ
4の関数手段33は、送信しようとするデータが1である
ため誤って設定されている自局アドレス3に1を加えた
数4を待ちクロック値格納メモリに出力する。同様にア
ダプタ5の関数手段33は、待ちクロック値格納メモリ35
に2を出力する。これがタイミングBのアドレス変更で
ある。このアドレス変更が行われた結果、アダプタ3と
アダプタ5のアドレスは共に2に、アダプタ4のアドレ
スは4に変更される。よって、次の送信はアダプタ3と
アダプタ5からタイミングCをスタートにして行われる
ことになる。この送信は、17ビット目まで行われ、18ビ
ット目で第2の信号衝突が生じる。これがタイミングD
であり、前記した第1の信号衝突のときと同様各アダプ
タの関数手段はそれぞれのアドレスを変更する。すなわ
ち、アダプタ3のアドレスは2にアダプタ5のアドレス
は4に変更される。これがタイミングEでのアドレス変
更である。従って、次の送信はアダプタ3だけとなり信
号衝突を生ずることなく送信を完了することができる。
タイミングFでこのアダプタ3からの送信が完了すれ
ば、アダプタ4とアダプタ5が2クロックあき後、同時
に送信を開始する。この送信は16ビット目までは行われ
るが、17ビット目で信号衝突が発生することになる。こ
れがタイミングGの衝突である。この衝突の結果、アダ
プタ4のアドレスは4に、アダプタ5のアドレスは2に
変更される。これがタイミングHである。こうしてタイ
ミングIでアダプタ5による送信が行われ、次いでタイ
ミングJでアダプタ4による送信が行われることにな
る。
The operation of the present embodiment having the above configuration will be described below. now,
The entire system has the configuration shown in the conventional example of FIG. 11, the addresses of the adapter 3, the adapter 4, and the adapter 5 are erroneously set to 3, and each adapter has 0.
It is assumed that a signal of 0.1 is going to be communicated to the control terminal 1. In this case, since the addresses of the three adapters are the same address of 3, the transmission timings to the control terminal 1 coincide with each other, which causes a signal collision. The case where this signal collision occurs is shown in FIGS.
This will be described with reference to the drawings. “End” indicating the load state in FIG. 6 indicates that when rice is being cooked using, for example, an automatic rice cooker as the load, the timing of the response to the inquiry from the control terminal 1 is the timing of the end of rice cooking. It is a command that indicates a case that matches with. FIG. 7 shows the operation of the communication unit 36 when such a collision occurs. Adapters 3 and 4 for inquiries from the control terminal 1
・ 5 starts sending reply signals at the same timing. However, the above-mentioned signal collision occurs at the 17th bit. This is timing A. When the communication means 31 detects this signal collision and the counting means 32 counts the fourth signal collision, the function means 33 operates as follows. In other words, the function means 33 of the adapter 3 subtracts 1 from the address 3 set in the own station address setting means 26 because the data to be transmitted by the own station when the fourth signal collision occurs is 0. The value 2 is output to the waiting clock value storage memory 35. Since the data to be transmitted is 1, the function means 33 of the adapter 4 outputs the number 4 obtained by adding 1 to the erroneously set own station address 3 to the waiting clock value storage memory. Similarly, the function means 33 of the adapter 5 uses the waiting clock value storage memory 35.
2 is output to. This is the timing B address change. As a result of this address change, both the addresses of the adapter 3 and the adapter 5 are changed to 2, and the address of the adapter 4 is changed to 4. Therefore, the next transmission is performed from the adapter 3 and the adapter 5 with the timing C started. This transmission is performed up to the 17th bit, and the second signal collision occurs at the 18th bit. This is timing D
The function means of each adapter changes each address as in the case of the first signal collision described above. That is, the address of the adapter 3 is changed to 2 and the address of the adapter 5 is changed to 4. This is the address change at the timing E. Therefore, the next transmission is limited to the adapter 3, and the transmission can be completed without signal collision.
When the transmission from the adapter 3 is completed at the timing F, the adapter 4 and the adapter 5 start transmission at the same time after two clocks have elapsed. This transmission is performed up to the 16th bit, but a signal collision will occur at the 17th bit. This is a timing G collision. As a result of this collision, the address of adapter 4 is changed to 4 and the address of adapter 5 is changed to 2. This is the timing H. Thus, the transmission by the adapter 5 is performed at the timing I, and then the transmission by the adapter 4 is performed at the timing J.

以上のように第2の発明を示す本実施例では、3局以
上のアダプタ間で信号衝突が発生しても、1局ずつ衝突
対象であるアダプタを減らしていくことができ、通信不
能の状態になることを避けることができる。
As described above, in this embodiment showing the second invention, even if a signal collision occurs between adapters of three or more stations, it is possible to reduce the number of adapters subject to collision one station at a time, resulting in a communication disabled state. You can avoid becoming.

なお第1の発明と同様、本実施例の通信部はアダプタ
だけに用いてもよく、或は制御ターミナルだけ、または
制御ターミナルとアダプタの両方に用いてもよいもので
ある。
As in the first invention, the communication unit of this embodiment may be used only for the adapter, or may be used only for the control terminal or both the control terminal and the adapter.

次に、第8図・第9図に基いて第3の発明の伝送制御
装置の一実施例について説明する。第8図は本発明であ
る通信部をアダプタ34に設けた構成を示すブロック図で
あり、第9図はこの通信部が有するプログラムを示して
いる。従来例並に第1の発明、第2の発明と同様の作用
を示す部材については、従来例と同一番号を付与しその
説明を省略する。
Next, an embodiment of the transmission control device of the third invention will be described with reference to FIGS. FIG. 8 is a block diagram showing a configuration in which the communication unit of the present invention is provided in the adapter 34, and FIG. 9 shows a program included in this communication unit. The same numbers as those in the conventional example are given to the members having the same effects as in the conventional example and the first and second inventions, and the description thereof will be omitted.

37は通信手段31・計数手段32・自局アドレス設定手段
26及び待ちクロック値格納メモリ35からの情報に基き以
下の作用を行う関数手段である。すなわち、計数手段32
からの入力が所定値(本実施例では4回)に達したとき
は、待ちクロック値格納メモリ35の記憶値mを通信手段
31が送信しようとする信号が1であるときはm+1に、
通信手段31が送信しようとする信号が0であるときはm
−1に演算し、この演算値を再び待ちクロック値格納メ
モリ35に入力する。また、計数手段32からの入力値が所
定値以外で送信中でない場合は、自局アドレス設定手段
26に設定された自局アドレスnを待ちクロック値格納メ
モリ35に入力する。38はこの関数手段37を有する通信部
であり、第9図のフローチャートに示すような機能を有
している。このフローチャートでステップ1からステッ
プ15までは第2図及び第5図で説明した第1の発明及び
第2の発明の実施例と同様であり、説明を省略する。
37 is communication means 31, counting means 32, own station address setting means
It is a function means for performing the following operations based on the information from the 26 and the waiting clock value storage memory 35. That is, the counting means 32
When the input from the counter reaches a predetermined value (four times in this embodiment), the stored value m of the waiting clock value storage memory 35 is set to the communication means.
31 is m + 1 when the signal to be transmitted is 1, and
When the signal that the communication means 31 is going to transmit is 0, m
-1 is calculated, and this calculated value is input to the waiting clock value storage memory 35 again. When the input value from the counting means 32 is not a predetermined value and is not being transmitted, the own station address setting means
The own station address n set in 26 is input to the waiting clock value storage memory 35. Reference numeral 38 is a communication unit having the function means 37, and has a function as shown in the flowchart of FIG. Steps 1 to 15 in this flowchart are the same as those of the embodiments of the first invention and the second invention described with reference to FIGS. 2 and 5, and the description thereof will be omitted.

ステップ16はステップ4での所定回数の信号衝突が生
じた場合の自局アドレスからの送信信号が0であるかど
うかの確認に対し、0である場合の関数手段37の作用を
示すステップである。この場合、関数手段37は待ちクロ
ック値格納メモリの記憶値mをm−1に書き換える。ス
テップ17はステップ4での確認に対し、送信データが1
であるとした場合の関数手段37の作用を示すステップ
で、この場合は待ちクロック値格納メモリの記憶値mを
m+1に書き換えるものである。
Step 16 is a step showing the action of the function means 37 when the signal is 0 when the transmission signal from the own station address is 0 when the predetermined number of signal collisions occur in step 4. . In this case, the function means 37 rewrites the stored value m of the waiting clock value storage memory to m-1. In step 17, the transmission data is 1 in response to the confirmation in step 4.
In this case, the stored value m of the waiting clock value storage memory is rewritten to m + 1.

以上の構成で以下に、本実施例の通信部を第11図の構
成の各アダプタに使用した場合の動作を第10図を基にし
て説明する。この場合、各アダプタのアドレスと送信信
号は第6図に示したものと同一であったとする。この場
合、制御ターミナル1からの問合せに対する応答が、第
2の発明で説明した如く同一のタイミングで行われるこ
とになる。そして第7図で説明した如く、第1の信号衝
突が発生する。この信号衝突が所定回数生じた場合に、
各アダプタは以下のように作用する。すなわちアダプタ
3の有する関数手段37は、信号衝突を生じた17ビット目
の送信信号が0であるため、自局アドレス設定手段26に
設定されているアドレス3から1を減じた値2を待ちク
ロック値格納メモリ35に入力する。従って、この時点で
アダプタ3の待ちクロック値格納メモリ35の記憶値は2
となっている。また、アダプタ4の関数手段37は、同様
に17ビット目の送信信号が1であるため、待ちクロック
値格納メモリ35に4を出力し、待ちクロック値格納メモ
リ35の値は4となる。またアダプタ5の待ちクロック値
格納メモリ35の値は2となる。こうして、アダプタ3及
び5による送信が再び同一タイミングで行われ、18ビッ
ト目で第2の信号衝突が発生する。この第2の信号衝突
を所定回数検知した時点で、アダプタ3の関数手段37は
待ちクロック値格納メモリ35に記憶されている値2を呼
び出し、この値から1を減じた値1を再び待ちクロック
値格納メモリ35に出力する。またアダプタ5の関数手段
37は、待ちクロック値格納メモリ35に記憶されている値
2を呼び出し、この値に1を加えた値3を再び待ちクロ
ック値格納メモリ35に出力する。こうして、アダプタ3
・アダプタ4・アダプタ5の待ちクロック値格納メモリ
35の値はそれぞれ1・4・3となる。従って次のタイミ
ングでアダプタ3が送信でき、次いでアダプタ5・アダ
プタ4が送信できるわけである。つまりこの場合は、2
回の送信衝突だけで各アダプタから制御ターミナル1へ
の返信信号を送信することができるものである。
The operation when the communication unit of the present embodiment is used for each adapter having the configuration of FIG. 11 with the above configuration will be described below with reference to FIG. In this case, it is assumed that the address and transmission signal of each adapter are the same as those shown in FIG. In this case, the response to the inquiry from the control terminal 1 is made at the same timing as described in the second invention. Then, as described with reference to FIG. 7, the first signal collision occurs. If this signal collision occurs a predetermined number of times,
Each adapter works as follows. That is, the function means 37 included in the adapter 3 waits for the value 2 obtained by subtracting 1 from the address 3 set in the local station address setting means 26 because the transmission signal of the 17th bit in which the signal collision has occurred is 0. Input to the value storage memory 35. Therefore, at this point, the value stored in the waiting clock value storage memory 35 of the adapter 3 is 2
Has become. Similarly, the function means 37 of the adapter 4 outputs 4 to the waiting clock value storage memory 35 because the transmission signal of the 17th bit is 1, and the value of the waiting clock value storage memory 35 becomes 4. The value of the waiting clock value storage memory 35 of the adapter 5 becomes 2. Thus, the transmissions by the adapters 3 and 5 are performed again at the same timing, and the second signal collision occurs at the 18th bit. When the second signal collision is detected a predetermined number of times, the function means 37 of the adapter 3 calls the value 2 stored in the waiting clock value storage memory 35, and subtracts 1 from this value to obtain the value 1 again as the waiting clock. Output to the value storage memory 35. Moreover, the function means of the adapter 5
The 37 calls the value 2 stored in the waiting clock value storage memory 35, and outputs the value 3 obtained by adding 1 to the waiting clock value storage memory 35 again. Thus, the adapter 3
・ Wait clock value storage memory for adapter 4 and adapter 5
The values of 35 are 1.4.3. Therefore, the adapter 3 can transmit at the next timing, and then the adapter 5 and the adapter 4 can transmit. So in this case, 2
The reply signal from each adapter to the control terminal 1 can be transmitted by only one transmission collision.

このように第3の発明は、第2の発明を更に改善した
ものであり、通信のスルプットを更に高めることができ
るものである。
As described above, the third invention is a further improvement of the second invention and can further enhance the throughput of communication.

なお前記第1・第2の発明の実施例と同様、第3の発
明においても、この発明の骨子となる通信部をアダプタ
だけ、或いは制御ターミナルだけ、もしくはアダプタと
制御ターミナルの両方に設けても発明の意図する目的を
達することができるものである。
Similar to the embodiments of the first and second inventions, also in the third invention, the communication unit, which is the essence of the present invention, may be provided only in the adapter, only in the control terminal, or in both the adapter and the control terminal. It is possible to achieve the intended purpose of the invention.

発明の効果 本発明は、上記実施例より明らかなように、アダプタ
のアドレスに誤設定があっても、通信部によりアダプタ
のアドレスを変更することにより、通信不能の状態を回
避することができ、しかも、通信部を制御ターミナル、
アダプタの少なくとも一方に設けているので、使用者の
使い勝手が良いという効果を有する。
EFFECTS OF THE INVENTION As is apparent from the above-described embodiment, the present invention can avoid an incommunicable state by changing the address of the adapter by the communication unit even if the address of the adapter is erroneously set. Moreover, the communication unit is the control terminal,
Since it is provided on at least one of the adapters, it has the effect of being convenient for the user.

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

第1図は伝送制御装置の第1の発明の一実施例を示すブ
ロック図、第2図は第1の通信部の作用を示すフローチ
ャート、第3図は第1の発明の動作を示すタイミングチ
ャート、第4図は第2の発明の一実施例を示すブロック
図、第5図は第4図の通信部の作用を示すフローチャー
ト、第6図は第2の発明の動作を説明するための各アダ
プタの状態図、第7図は第2の発明の動作を説明するた
めのタイミングチャート、第8図は第3の発明の一実施
例を示すブロック図、第9図は第8図の通信部の作用を
示すフローチャート、第10図は第3の発明の動作を説明
するためのタイミングチャート、第11図は伝送制御装置
の全体構成を説明するためのブロック図、第12図は従来
の伝送制御装置の構成を説明するためのブロック図、第
13図及び第14図は伝送制御装置の通信信号を説明するた
めの説明図、第15図は従来の伝送制御装置の動作を説明
するための各アダプタの状態図である。 1……制御ターミナル、2〜5……アダプタ、6〜9…
…負荷、10……電力線、32……計数手段、33……関数手
段、34・36・38……通信部、35……待ちクロック値格納
メモリ。
FIG. 1 is a block diagram showing an embodiment of the first invention of the transmission control device, FIG. 2 is a flow chart showing the operation of the first communication section, and FIG. 3 is a timing chart showing the operation of the first invention. FIG. 4 is a block diagram showing an embodiment of the second invention, FIG. 5 is a flow chart showing the operation of the communication unit of FIG. 4, and FIG. 6 is each for explaining the operation of the second invention. FIG. 7 is a state diagram of the adapter, FIG. 7 is a timing chart for explaining the operation of the second invention, FIG. 8 is a block diagram showing an embodiment of the third invention, and FIG. 9 is a communication unit of FIG. FIG. 10 is a timing chart for explaining the operation of the third invention, FIG. 11 is a block diagram for explaining the overall configuration of the transmission control device, and FIG. 12 is a conventional transmission control. Block diagram for explaining the configuration of the device,
13 and 14 are explanatory diagrams for explaining communication signals of the transmission control device, and FIG. 15 is a state diagram of each adapter for explaining the operation of the conventional transmission control device. 1 ... Control terminal, 2-5 ... Adapter, 6-9 ...
… Load, 10 …… Power line, 32 …… Counting means, 33 …… Function means, 34 ・ 36 ・ 38 …… Communication section, 35 …… Standing clock value storage memory.

フロントページの続き (56)参考文献 特開 昭62−287723(JP,A) 特開 昭61−265937(JP,A) 特開 昭60−189342(JP,A) 特開 昭60−107946(JP,A)Continuation of the front page (56) Reference JP 62-287723 (JP, A) JP 61-265937 (JP, A) JP 60-189342 (JP, A) JP 60-107946 (JP , A)

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】制御ターミナル或はアダプタもしくはその
両方の自局アドレスを設定する自局アドレス設定手段を
有する制御ターミナルと、この制御ターミナルと商用電
力線を介して互いに通信を行い、この制御ターミナルに
よって制御される負荷が接続された複数のアダプタとか
らなる伝送制御装置本体と、 通信信号の衝突回数を計数する計数手段と、この計数手
段からの信号と上記自局アドレス設定手段に設定された
アドレス値と上記商用電力線からの信号により加減算の
処理をして通信信号の待ち時間を決定する関数手段と、
基準クロック信号を発生するクロック発生手段と、上記
関数手段から入力された待ち時間を記憶し、上記クロッ
ク発生手段からの入力で時間の経過をカウントし待ち時
間が「0」に達したときに上記商用電力線に信号を送る
計時手段とからなる通信部とを備え、 この通信部を制御ターミナル、アダプタの少なくとも一
方に設けたことを特徴とする伝送制御装置。
1. A control terminal and / or a control terminal having own station address setting means for setting an own station address of an adapter or both, and this control terminal communicates with each other via a commercial power line and is controlled by this control terminal. Transmission controller main body consisting of a plurality of adapters to which the load is connected, counting means for counting the number of collisions of communication signals, the signal from this counting means and the address value set in the local address setting means. And a function means for determining the waiting time of the communication signal by performing addition and subtraction processing with a signal from the commercial power line,
The clock generation means for generating the reference clock signal and the waiting time input from the function means are stored, and when the waiting time reaches "0", the elapsed time is counted by the input from the clock generation means. A transmission control device, comprising: a communication unit including a timing means for transmitting a signal to a commercial power line, the communication unit being provided on at least one of a control terminal and an adapter.
【請求項2】通信部は、関数手段が加減算して決定した
待ち時間を記憶し計時手段に出力する待ちクロック値格
納メモリを有した請求項(1)記載の伝送制御装置。
2. The transmission control device according to claim 1, wherein the communication unit has a waiting clock value storage memory that stores the waiting time determined by addition and subtraction by the function means and outputs it to the timekeeping means.
【請求項3】関数手段は、計数手段による信号衝突回数
が所定値に達したときは、待ちクロック値格納メモリに
記憶されている値を演算処理して新たな待ち時間を決定
し、待ちクロック値格納メモリに出力する請求項(2)
記載の伝送制御装置。
3. When the number of signal collisions by the counting means reaches a predetermined value, the function means arithmetically processes the value stored in the waiting clock value storage memory to determine a new waiting time, Outputting to a value storage memory (2)
The transmission control device described.
JP63042668A 1988-02-25 1988-02-25 Transmission control device Expired - Lifetime JPH082036B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63042668A JPH082036B2 (en) 1988-02-25 1988-02-25 Transmission control device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63042668A JPH082036B2 (en) 1988-02-25 1988-02-25 Transmission control device

Publications (2)

Publication Number Publication Date
JPH01218132A JPH01218132A (en) 1989-08-31
JPH082036B2 true JPH082036B2 (en) 1996-01-10

Family

ID=12642402

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63042668A Expired - Lifetime JPH082036B2 (en) 1988-02-25 1988-02-25 Transmission control device

Country Status (1)

Country Link
JP (1) JPH082036B2 (en)

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS60107946A (en) * 1983-11-17 1985-06-13 Canon Inc Data communication system
JPS60189342A (en) * 1984-03-09 1985-09-26 Canon Inc Data communication system and its equipment
JPH06101728B2 (en) * 1985-05-20 1994-12-12 沖電気工業株式会社 Method of avoiding call collision of local network
JPH0738603B2 (en) * 1986-06-06 1995-04-26 松下電器産業株式会社 Communication monitoring device

Also Published As

Publication number Publication date
JPH01218132A (en) 1989-08-31

Similar Documents

Publication Publication Date Title
US5122794A (en) Dual master implied token communication system
US4988990A (en) Dual master implied token communication system
JP2582982B2 (en) Method of detecting message identifier in data transmission network of elevator system
JPH03230638A (en) Multiplex communication controller
US5487151A (en) Transmission error detection system for use in a disaster prevention monitoring system
US6346873B1 (en) Power saving in a contention and polling system communication system
JPH082036B2 (en) Transmission control device
US7539206B2 (en) Communication apparatus and method for supporting carrier sense multiple access/collision detection
JPH1032479A (en) Photoelectric sensor and synchronization control system therefor
JPH0123017B2 (en)
JP2662319B2 (en) Transmission error detection method and terminal equipment for disaster prevention monitoring system
JP2654139B2 (en) Branch for wireless signal line of remote monitoring and control system
JP3164851B2 (en) Air conditioner address setting device
JPH0218759B2 (en)
JP2662320B2 (en) Transmission data synchronization method for disaster prevention monitoring system
JP3083387B2 (en) Air conditioner group control address setting device
JP3409242B2 (en) Sensor device remote control method, sensor control system, and sensor device
JP3282464B2 (en) Remote control system
JPH0715769A (en) Group control address setter for air conditioner
JPS62171349A (en) Communication control equipment
JPH0764472A (en) Remote i/o system of programmable controller
JP3415897B2 (en) Fire transmitter
JPH08191319A (en) Data communication system
JPH0439938B2 (en)
JPH0654889B2 (en) Power line carrier system