JPH0265547A - Signal transmission system - Google Patents

Signal transmission system

Info

Publication number
JPH0265547A
JPH0265547A JP63218033A JP21803388A JPH0265547A JP H0265547 A JPH0265547 A JP H0265547A JP 63218033 A JP63218033 A JP 63218033A JP 21803388 A JP21803388 A JP 21803388A JP H0265547 A JPH0265547 A JP H0265547A
Authority
JP
Japan
Prior art keywords
signal
terminal
processing unit
central processing
transmission
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
JP63218033A
Other languages
Japanese (ja)
Inventor
Masayuki Morita
正之 森田
Kyoji Yamazaki
山崎 恭二
Yuichi Watanabe
有一 渡辺
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.)
Toshiba Lighting and Technology Corp
Original Assignee
Toshiba Lighting and Technology Corp
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 Toshiba Lighting and Technology Corp filed Critical Toshiba Lighting and Technology Corp
Priority to JP63218033A priority Critical patent/JPH0265547A/en
Publication of JPH0265547A publication Critical patent/JPH0265547A/en
Pending legal-status Critical Current

Links

Landscapes

  • Small-Scale Networks (AREA)

Abstract

PURPOSE:To reduce the data acquisition time after start collision of terminal equipments by allowing a central processing unit to detect signal collision due to start, designating a group estimated to which at least started terminal equipments are all belong and allowing each start terminal equipment to return a subsequent relevant group. CONSTITUTION:A current mode signal sent from a terminal equipment is received based on an output of a current detection circuit 12 and when the presence of terminal equipment collision is discriminated, a high-order group of a started terminal equipment is retrieved and a return signal from the terminal equipment to each synchronizing signal is received while sending a synchronizing signal SYNC at the prescribed period. In the case of cyclic processing, in which timing the return signal is detected is discriminated to decide the high-order group belonging to the starting terminal equipment. A terminal equipment 5 executes the relevant group return processing when the mode MOD is any of high-order, middle-order and low-order group retrieval modes. Thus, the central processing unit 1 can detects a terminal equipment 5 of which group is started.

Description

【発明の詳細な説明】 [産業上の利用分野] この発明は、中央処理装置と複数の端末器とを1対の伝
送線で接続してなるランダム信号伝送方式に関し、特に
中央処理装置において端末器に接続された負荷を監視制
御する遠隔制御用として好適な信号伝送方式に関する。
[Detailed Description of the Invention] [Industrial Application Field] The present invention relates to a random signal transmission system in which a central processing unit and a plurality of terminal devices are connected by a pair of transmission lines, and in particular, the present invention relates to a random signal transmission system in which a central processing unit and a plurality of terminal devices are connected by a pair of transmission lines. The present invention relates to a signal transmission method suitable for remote control for monitoring and controlling loads connected to equipment.

[従来の技術] 従来のランダム伝送では、複数の端末器(子機)の起動
が衝突した場合には、各起動端末器が自己アドレスaと
一定単位時間tとの積aXtに対応した時間待機した後
再起動することによって再度の衝突を防止していた。し
かし、この方式ではアドレスの大きい端末器は不要の時
間を待って再起動することが多く、中央処理装置(親機
)側でのデータ入手が遅れるといった欠点があった。。
[Prior art] In conventional random transmission, when activation of multiple terminal devices (slave devices) collides, each activated terminal waits for a time corresponding to the product aXt of its own address a and a certain unit time t. Restarting the system after doing so prevented another collision. However, with this method, terminals with large addresses often wait an unnecessary amount of time before restarting, which has the disadvantage that there is a delay in data acquisition on the central processing unit (base unit) side. .

また、中央処理装置が衝突検出後、全端末をポーリング
する方式も考えられるが、これも時間を要するという不
都合がある。
Another possible method is that the central processing unit polls all terminals after detecting a collision, but this also has the disadvantage of requiring time.

[発明が解決しようとする課題] この発明は、上記従来例における問題点な鑑みてなされ
たもので、ランダム信号伝送方式において、特に端末起
動衝突後のデータ入手時間を短くすることを目的とする
[Problems to be Solved by the Invention] This invention was made in view of the problems in the conventional example described above, and aims to shorten the data acquisition time particularly after a terminal startup collision in a random signal transmission system. .

[課題を解決するための手段] 上記目的を達成するため、この発明では、中央処理装置
と複数の端末器とを1対の伝送線に接続してなる信号伝
送システムにおいて、複数の端末器の起動により信号が
衝突した際、中央処理装置がこの衝突を検知し、起動し
た端末器からの所属グループ報告要求を示すモード信号
を含む伝送信号を送信し、各起動端末器はこの伝送信号
に応答して自己アドレスが属する分類に応じたタイミン
グまたはこの所属分類に応じたパルス幅の返送信号を出
力し、中央処理装置は該返送信号に基づき起動端末器の
所属グループを判別するとともに、この操作を上位のグ
ループ分類から下位のグループ分類へと複数回実行して
起動端末器のアドレスを検出し、該起動端末器をアクセ
スして監視データ等の端末データを得ることを特徴とし
ている。
[Means for Solving the Problem] In order to achieve the above object, the present invention provides a signal transmission system in which a central processing unit and a plurality of terminal devices are connected to a pair of transmission lines. When signals collide due to activation, the central processing unit detects this collision and transmits a transmission signal including a mode signal indicating a group reporting request from the activated terminal, and each activated terminal responds to this transmission signal. The central processing unit then outputs a return signal with a timing corresponding to the classification to which the self-address belongs or a pulse width corresponding to this belonging classification, and the central processing unit determines the group to which the initiating terminal belongs based on the return signal, and performs this operation. The method is characterized in that the address of the activated terminal device is detected by performing multiple classifications from the upper group classification to the lower group classification, and the activated terminal device is accessed to obtain terminal data such as monitoring data.

[作 用] 上記構成からなるこの発明によれば、中央処理装置が起
動による信号衝突を検知し、次いで少なくとも起動した
端末器は全部が所属すると推定されるグループを指定し
て、各起動端末器にその指定グループ内での下位の所属
グループを返送信号の送出タイミングまたはパルス幅で
返送させる。
[Operation] According to the present invention having the above configuration, the central processing unit detects a signal collision caused by activation, and then specifies at least a group to which all activated terminal devices are presumed to belong, and assigns each activated terminal device to a group. to send back the lower belonging group within the designated group at the sending timing or pulse width of the return signal.

−例を挙げて説明すると、中央処理装置は、先ず、全端
末器を指定して各端末器の自己アドレスの上位3ビツト
の値に応じたタイミングまたはパルス幅で返送信号を送
出させる。この返送信号により、上位3ビツトを判別す
ると、次は上位3ビツトが判別した値である端末器群を
指定して第4〜6ビツトの中位3ビツトの値を報告させ
る。このようなポーリングを複数回繰り返すことによっ
て、起動端末器のアドレスを検出する。検出すると、そ
の起動端末器をアクセスして監視データ等の端末データ
を送信させる。
- To explain with an example, the central processing unit first specifies all the terminals and causes each terminal to send out a return signal at a timing or pulse width according to the value of the upper three bits of its own address. Once the upper 3 bits are determined by this return signal, the terminal group corresponding to the determined value of the upper 3 bits is designated and the value of the middle 3 bits of the 4th to 6th bits is reported. By repeating such polling multiple times, the address of the activated terminal is detected. When detected, the activated terminal is accessed and terminal data such as monitoring data is transmitted.

[効果] したがって、この発明によれば、上述の場合、端末器の
数を9ビット512台として、起動した端末器のうちの
1台を3回のポーリングによって検出することができる
。このように、ランダム伝送において衝突した起動端末
器のアドレスを極で短時間で検出することができ、端末
起動衝突後のデータ入手時間が短くなる。
[Effect] Therefore, according to the present invention, in the above case, when the number of terminals is set to 512 with 9 bits, one of the activated terminals can be detected by polling three times. In this way, the address of the activated terminal device that collided with the random transmission can be detected in a short time at the pole, and the time for obtaining data after the terminal activation collision is shortened.

また、衝突検知およびポーリングは中央処理装置側で行
なうため、各端末器は伝送線での信号衝突を検知する必
要がない。
Furthermore, since collision detection and polling are performed on the central processing unit side, each terminal device does not need to detect signal collisions on transmission lines.

以下、図面によりこの発明の詳細な説明する。Hereinafter, the present invention will be explained in detail with reference to the drawings.

[第1の実施例〕 第1図は、この発明の第1の実施例に係る遠隔制御装置
の概略の構成を示す。同図の装置は、親機としての中央
処理装置1、この中央処理装置1に1対の伝送線3を介
して接続された子機としての複数の端末器5 (5−1
,5−2,5−3,・・・)および監視表示盤7等を備
えている。各端末器5−1゜5−2. 5−3.・・・
には、それぞれ図示しない負荷、例えば照明器具、壁ス
ィッチ、照度センサ等が接続されている。
[First Embodiment] FIG. 1 shows a schematic configuration of a remote control device according to a first embodiment of the present invention. The device in the figure includes a central processing unit 1 as a parent unit, and a plurality of terminal units 5 (5-1) as slave units connected to the central processing unit 1 via a pair of transmission lines 3.
, 5-2, 5-3, . . . ) and a monitoring display panel 7. Each terminal 5-1゜5-2. 5-3. ...
are connected to loads (not shown), such as lighting fixtures, wall switches, illuminance sensors, etc., respectively.

このような機器構成は遠隔制御装置としては、例えば特
公昭61−3155号にも示されるように公知であり、
例えば、中央処理装置と複数の端末器とを1対の伝送線
により接続し、第3図(a)に示すように、中央処理装
置より端末器ヘアドレス信号用および制御信号用の短パ
ルスADR/CNTと監視信号用の長パルスRTMとを
伝送し、各端末器において適宜限流抵抗とスイッチ要素
との直列回路を伝送線に並列的に接続して監視信号用長
パルスの伝送期間中に監視内容に応じてスイッチ要素を
開閉し、この開閉動作による伝送線の電流変化RPIを
中央処理装置で検出するように構成されている。
Such a device configuration is known as a remote control device, for example, as shown in Japanese Patent Publication No. 61-3155.
For example, when a central processing unit and a plurality of terminal devices are connected by a pair of transmission lines, as shown in FIG. /CNT and a long pulse RTM for a monitoring signal, and in each terminal, a series circuit of an appropriate current-limiting resistor and a switch element is connected in parallel to the transmission line during the transmission period of the long pulse for a monitoring signal. The switch element is opened and closed according to the monitored content, and the central processing unit detects a current change RPI in the transmission line due to this opening and closing operation.

ところで、この従来の遠隔制御装置(以下、従来システ
ムという)のように、端末器でシンクする電流を変化さ
せる電流モードで端末器から中央処理装置への信号伝送
を行なう場合、中央処理装置では検出抵抗等により電流
を電圧に変換して検出することができる。しかし、この
信号電流は送出元端末器と中央処理装置との間にしか流
れないため、送出元端末器と中央処理装置との間以外の
位置ではこの監視信号等を検出できない。
By the way, when transmitting signals from the terminal to the central processing unit in a current mode that changes the current sinking at the terminal, as in this conventional remote control device (hereinafter referred to as the conventional system), the central processing unit detects Current can be converted into voltage using a resistor or the like and detected. However, since this signal current flows only between the sending terminal device and the central processing unit, this monitoring signal etc. cannot be detected at a position other than between the sending terminal device and the central processing unit.

したがって、この従来システムにおいては、各端末器が
、より後段の端末器の信号しか検出できず、全て他の端
末器の信号を検出できるようにすることはできないため
、ランダム伝送で端末器から起動をかけようとする(子
起動の)場合に、その起動端末器は前段の端末器からの
送出信号の有無、すなわち伝送線の占有や信号の衝突を
判別することができず、ランダム伝送には適さない。
Therefore, in this conventional system, each terminal device can only detect the signal of the terminal device in the later stage, and it is not possible to detect the signals of all other terminal devices, so it is activated from the terminal device by random transmission. When attempting to transmit (child activation), the activated terminal cannot determine whether there is a signal sent from the previous terminal, that is, whether the transmission line is occupied or a signal collision occurs, and random transmission cannot be performed. Not suitable.

この第1の実施例は、この従来システムを改良したもの
で、中央処理装置11;おいて、端末器から送出された
電流モード信号の変化を検出し、該信号の変化に応じて
伝送線上の電圧モードを反転することにより、端末器か
らの電流モード信号を電圧モード信号に変換して全部の
端末器が他の端末器の送出信号を電圧として検出できる
ようにしである。
This first embodiment is an improvement on this conventional system, in which the central processing unit 11 detects changes in the current mode signal sent from the terminal, and responds to changes in the current mode signal on the transmission line in accordance with the changes in the signal. By inverting the voltage mode, the current mode signal from the terminal device is converted to a voltage mode signal so that all the terminal devices can detect the output signal of the other terminal device as a voltage.

第2図は、中央処理装置1の機能ブロック構成を示す。FIG. 2 shows a functional block configuration of the central processing unit 1. As shown in FIG.

この中央処理装置1は、信号処理回路11、電流検出回
路12およびドライブ回路13からなる従来システムの
中央処理装置に対し、衝突検知回路14、微分回路15
、同期信号発生回路17およびフリップフロップ回路1
9を付加したものである。なお、この中央処理装置1に
は、さらに、データ入力用のキーボードおよびスイッチ
類またはセンサ類、ならびに各種表示用の表示装置、例
えばCRT等が必要に応じて設けられる。
This central processing unit 1 has a collision detection circuit 14, a differentiation circuit 15, and a collision detection circuit 14, a differentiating circuit 15, in contrast to the central processing unit of a conventional system consisting of a signal processing circuit 11, a current detection circuit 12, and a drive circuit 13.
, synchronous signal generation circuit 17 and flip-flop circuit 1
9 is added. The central processing unit 1 is further provided with a keyboard and switches or sensors for data input, and a display device for various displays, such as a CRT, as required.

信号処理回路11は、所定のシーケンスに従って前記キ
ーボードやスイッチ、センサ等からデータを取り込んだ
り、各端末器の監視データを収集し、これらのデータに
基づいて制御信号を作成したり、前記表示装置に表示す
る。また、この制御信号等からなる伝送用電圧信号を作
成する。前記従来システムの中央処理装置においては、
この電圧信号がそのままドライブ回路13に入力され、
伝送信号として伝送線3に送出されていたため、この伝
送用電圧信号のフォーマットは、従来システムにおける
中央処理装置からの伝送信号フォーマットである第3図
(a)に示すものと同じである。
The signal processing circuit 11 takes in data from the keyboard, switches, sensors, etc. according to a predetermined sequence, collects monitoring data from each terminal, creates control signals based on this data, and sends data to the display device. indicate. Also, a transmission voltage signal consisting of this control signal and the like is created. In the central processing unit of the conventional system,
This voltage signal is input as is to the drive circuit 13,
Since it was sent to the transmission line 3 as a transmission signal, the format of this transmission voltage signal is the same as that shown in FIG. 3(a), which is the transmission signal format from the central processing unit in the conventional system.

第3図(a)を参照して、この伝送用電圧信号すなわち
従来システムにおける伝送信号は、“12レベルの長パ
ルス信号からなるスタート信号STと、所要ビット数の
1/2の数の“1aレベル短パルス群からなり送信先端
末器のアドレスADHおよび制御信号CNT等の伝送デ
ータを示す送信信号ADH/CNTと、“1″レベルの
長パルス信号からなり、送信先端末器からの監視データ
等の返送待機期間(または端末伝送区間)を示す返送期
間信号RTM等で構成されている。前記の送信信号AD
H/CNTは、順次連続する各“1″レベル部分と“O
”レベル部分がそれぞれ1ビツトのデータを表わしてお
り、1゛または“0゜レベル部分が短かいものはデータ
″0°を示し、長いものは“1゛を示している。第3図
(a)の例では、信号ADH/CNTとして「001・
・・」を示している。
Referring to FIG. 3(a), this transmission voltage signal, that is, the transmission signal in the conventional system, consists of a start signal ST consisting of a long pulse signal of 12 levels, and an The transmission signal ADH/CNT consists of a group of short-level pulses and indicates transmission data such as the address ADH and control signal CNT of the destination terminal, and the long pulse signal of "1" level, which transmits monitoring data etc. from the destination terminal. It consists of a return period signal RTM, etc. indicating the return waiting period (or terminal transmission section). Said transmission signal AD
H/CNT is connected to each successive "1" level part and "O" level part in sequence.
Each "level part represents 1 bit of data, and a short 1" or "0° level part indicates data "0°, and a long one indicates data "1." In the example of FIG. 3(a), the signal ADH/CNT is “001.
"..." is shown.

第2図に戻って、電流検出回路12は、伝送線3を介し
て中央処理装置1と端末器との間に流れる電流(第3図
(a)に斜線で示すような監視データ等の電流モード信
号)を電圧に変換する。
Returning to FIG. 2, the current detection circuit 12 detects the current flowing between the central processing unit 1 and the terminal device via the transmission line 3 (current such as monitoring data as shown by diagonal lines in FIG. 3(a)). mode signal) into voltage.

ドライブ回路13は、入力信号に応じた複極信号で伝送
線3を駆動するもので、例えば入力信号が′1″レベル
であれば伝送線を+24Vにプルアップし、′0#レベ
ルであれば一22Vにプルダウンする。従来システムの
中央処理装置においては信号処理回路11の信号電圧出
力をそのままドライブ回路13へ入力していたのに対し
、この実施例では、第3図に示すように、スタート信号
STおよび送信信号ADH/CNTはそのまま送出する
が、前記返送期間に信号処理回路11から出力される返
送期間信号RTMはフリップフロップ回路19で適宜加
工してから送出するようにしている。このフリップフロ
ップ回路19はドライブ回路13とともに、この実施例
の中央処理装置の送信回路20を構成している。
The drive circuit 13 drives the transmission line 3 with a bipolar signal according to the input signal. For example, if the input signal is at the '1' level, it pulls up the transmission line to +24V, and if the input signal is at the '0# level, it pulls up the transmission line 3. In the central processing unit of the conventional system, the signal voltage output from the signal processing circuit 11 is inputted directly to the drive circuit 13, but in this embodiment, as shown in FIG. The signal ST and the transmission signal ADH/CNT are sent out as they are, but the return period signal RTM outputted from the signal processing circuit 11 during the return period is appropriately processed by the flip-flop circuit 19 before being sent out. The drive circuit 19 and the drive circuit 13 constitute a transmitting circuit 20 of the central processing unit of this embodiment.

衝突検知回路14は、電流検出回路12の検出電流値お
よび電流波形に基づいて端末衝突の有無を検知する。
The collision detection circuit 14 detects the presence or absence of a terminal collision based on the current value and current waveform detected by the current detection circuit 12.

微分回路15は、電流検出回路12の出力電圧を微分す
ることにより、端末器から送出される電流モード信号の
変化を検出する。
The differentiating circuit 15 detects changes in the current mode signal sent from the terminal by differentiating the output voltage of the current detecting circuit 12.

同期信号発生回路18は、端末器から中央処理装置への
信号伝送期間(端末伝送区間)RTM中だけ所定の周期
で同期信号5YNCを発生する。
The synchronization signal generation circuit 18 generates the synchronization signal 5YNC at a predetermined period only during the signal transmission period (terminal transmission period) RTM from the terminal device to the central processing unit.

フリップフロップ(F/F)回路19は、その電圧出力
が信号処理回路11から出力される電圧信号および同期
信号発生回路17から出力される同期信号5YNCの立
ち上がりで立ち上がり、立ち下がりで立ち下がるととも
に、微分回路15の微分出力をトリガとして出力を反転
する。すなわち、フリップフロップ回路19は、信号処
理回路11および同期信号発生回路17の出力変化に従
って変化する電圧をドライブ回路13に送出し、信号処
理回路11の出力が一定の状態では電流検出回路12で
検出される電流モード信号が変化するごとに反転する電
圧をドライブ回路13に送出する。
The flip-flop (F/F) circuit 19 has a voltage output that rises at the rise of the voltage signal output from the signal processing circuit 11 and the synchronization signal 5YNC output from the synchronization signal generation circuit 17, and falls at the fall of the voltage signal output from the signal processing circuit 11. The output is inverted using the differential output of the differentiating circuit 15 as a trigger. That is, the flip-flop circuit 19 sends a voltage that changes according to changes in the output of the signal processing circuit 11 and the synchronizing signal generation circuit 17 to the drive circuit 13, and when the output of the signal processing circuit 11 is constant, the voltage is detected by the current detection circuit 12. A voltage that is inverted each time the current mode signal changes is sent to the drive circuit 13.

このフリップフロップ回路19の出力電圧に応じてドラ
イブ回路13が伝送線3を駆動することによって、第3
図(a)および第3図(b)に示すように、スタート信
号STおよび送信信号ADH/CNTは信号処理装置1
1からの出力波形と同形の電圧モード信号で伝送線3に
送出されるとともに、前記端末伝送区間RTMにおいて
は、中央処理装置から同期信号5YNCが送出され、こ
の同期信号5YNCに対応して端末器から電流モード信
号RPIが送出されるとこの信号RPIに応じた電圧モ
ード信号RPVが伝送線3に送出される。
The drive circuit 13 drives the transmission line 3 according to the output voltage of the flip-flop circuit 19, so that the third
As shown in FIGS. 3(a) and 3(b), the start signal ST and the transmission signal ADH/CNT are transmitted to the signal processing device 1.
A voltage mode signal having the same shape as the output waveform from 1 is sent to the transmission line 3, and in the terminal transmission section RTM, a synchronization signal 5YNC is sent from the central processing unit, and the terminal When a current mode signal RPI is sent from the transmission line 3, a voltage mode signal RPV corresponding to this signal RPI is sent to the transmission line 3.

すなわち、第1図の伝送システムにおいては、前記端末
伝送期間RTM中、端末器5からの電流モード信号が中
央処理装置1で電圧モード信号に変換されて伝送線3に
送出される。このため、すべての端末器および監視表示
盤7が、この電圧モード信号によって、自身より後段に
接続された端末器については勿論のこと、前段に接続さ
れた端末器からの電流モード信号についてもその内容を
判別することができる。したがって、このシステムにお
いては、監視表示盤7を伝送線3の任意の場所に接続す
ることができる。また、いずれの端末器もこの電圧モー
ド信号によって全ての端末器の信号送出状態を判別する
ことができるため、自身で伝送線3のあき具合や信号衝
突の有無を判定できる。したがって、このシステムによ
れば、中央処理装置の負担を重くすることなく、衝突が
少なく、ランダム式本来の伝送スピードが速いという特
徴を生かしたランダム伝送方式を実現することができる
。さらに、各端末器は、電流モード信号を送出したとき
は、中央処理装置がこの電流モード信号から変換した電
圧モード信号を判別することにより、この電流モード信
号が中央処理装置によって受は取られたことを確認する
ことができる。したがって、中央処理装置からのアンサ
−信号が不要であり、伝送方式によらず、伝送スビード
の高速化を図ることができる。
That is, in the transmission system of FIG. 1, during the terminal transmission period RTM, a current mode signal from the terminal device 5 is converted into a voltage mode signal by the central processing unit 1 and sent to the transmission line 3. Therefore, all the terminals and the monitoring display panel 7 use this voltage mode signal to control not only the terminals connected later than themselves, but also the current mode signals from the terminals connected earlier. Contents can be determined. Therefore, in this system, the monitoring display panel 7 can be connected to any location on the transmission line 3. In addition, since each terminal device can determine the signal transmission state of all terminal devices using this voltage mode signal, it can determine by itself the degree of clearance of the transmission line 3 and the presence or absence of signal collision. Therefore, according to this system, it is possible to realize a random transmission method that takes advantage of the characteristics of fewer collisions and faster transmission speed inherent in the random method, without increasing the burden on the central processing unit. Furthermore, when each terminal device sends out a current mode signal, the central processing unit determines whether the current mode signal is received or accepted by the central processing unit by determining the voltage mode signal converted from the current mode signal. You can confirm that. Therefore, there is no need for an answer signal from the central processing unit, and the transmission speed can be increased regardless of the transmission method.

第4図は、第1図の伝送システムにおける端末′j55
の機能ブロック図を示す。この端末器5は、信号処理回
路51、受信回路52、送信回路53および自己アドレ
ス設定回路63等からなる従来システムの端末器に対し
、同期信号検出回路55およびフリップフロップ回路5
7を付加したものである。さらに、信号処理回路51に
は単数または複数の負荷9が接続されている。
FIG. 4 shows terminal 'j55 in the transmission system of FIG.
The functional block diagram is shown below. This terminal device 5 has a synchronizing signal detection circuit 55, a flip-flop circuit
7 is added. Further, one or more loads 9 are connected to the signal processing circuit 51 .

受信回路52は、中央処理装置tlから伝送線3に送出
される電圧モード信号を受信する。信号処理回路51は
、所定のシーケンスに従って動作し、受信回路52で受
信された電圧モード信号に含まれた制御信号等を受は取
ってこの制御信号等に基づく負荷駆動信号を負荷9に供
給したり、負荷9が監視負荷であればその監視信号を検
出して監視データを作成し、前記制御信号等に従ってこ
の監視データを送信回路53に出力する。送信回路53
は、信号処理回路51から出力される監視データに応じ
て伝送線の線間に抵抗を接続し、二の端末器5における
シンク電流値を変化させる。これにより、前記監視デー
タが電流モード信号として伝送線3に送出される。中央
処理装置のドライブ回路13の出力インピーダンスが低
い場合、この電流モード信号による伝送線3の線間電圧
の変化は殆どないが、第3図(a)の斜線部RPIは、
この電流モード信号を模式的に示している。
The receiving circuit 52 receives the voltage mode signal sent to the transmission line 3 from the central processing unit tl. The signal processing circuit 51 operates according to a predetermined sequence, receives and receives a control signal, etc. included in the voltage mode signal received by the receiving circuit 52, and supplies a load drive signal to the load 9 based on this control signal, etc. Alternatively, if the load 9 is a monitoring load, the monitoring signal is detected to create monitoring data, and this monitoring data is output to the transmitting circuit 53 in accordance with the control signal and the like. Transmission circuit 53
connects a resistor between the transmission lines in accordance with the monitoring data output from the signal processing circuit 51, and changes the sink current value in the second terminal device 5. As a result, the monitoring data is sent to the transmission line 3 as a current mode signal. When the output impedance of the drive circuit 13 of the central processing unit is low, there is almost no change in the line voltage of the transmission line 3 due to this current mode signal, but the shaded area RPI in FIG. 3(a) is
This current mode signal is schematically shown.

同期信号検出回路55は、受信回路52の出力に基づい
て中央処理装置1から伝送線3に送出される電圧モード
の同期信号を検出するためのものであり、フリップフロ
ップ回路57は、信号処理回路51の出力をラッチする
ためのものである。
The synchronizing signal detection circuit 55 is for detecting a voltage mode synchronizing signal sent from the central processing unit 1 to the transmission line 3 based on the output of the receiving circuit 52, and the flip-flop circuit 57 is a signal processing circuit. This is for latching the output of 51.

第5図は、第1図の伝送システムにおける監視表示盤7
の機能ブロック図を示す。この監視表示盤7は、信号処
理回路71、受信回路72および表示部73等を具備す
る。
Figure 5 shows the monitoring display panel 7 in the transmission system of Figure 1.
The functional block diagram is shown below. The monitoring display panel 7 includes a signal processing circuit 71, a receiving circuit 72, a display section 73, and the like.

受信回路72は中央処理装置1から伝送線3に送出され
る電圧モード信号を受信する。信号処理回路71は、所
定のシーケンスに従って動作し、受信回路72の出力に
基づいて、前記端末器から送出される電流モード信号を
中央処理装置で変換した電圧モード信号より監視データ
等を判別し、表示部73にこの監視データに応じた表示
用信号を送出する。表示部73は、LED、ランプ、L
EDアレイ、LCDまたはCRT等の表示素子とこれら
の表示素子を駆動するための駆動回路とからなり、信号
処理回路71から入力される表示用信号に従って負荷等
の状態をこれらの表示素子を点滅し、あるいはこれらの
表示素子に線、図形、文字等を現わすことによって表示
する。
The receiving circuit 72 receives the voltage mode signal sent from the central processing unit 1 to the transmission line 3. The signal processing circuit 71 operates according to a predetermined sequence, and based on the output of the receiving circuit 72, determines monitoring data etc. from the voltage mode signal obtained by converting the current mode signal sent from the terminal device by the central processing unit, A display signal corresponding to this monitoring data is sent to the display section 73. The display section 73 includes an LED, a lamp, and an L
It consists of display elements such as an ED array, LCD, or CRT, and a drive circuit for driving these display elements, and blinks these display elements to indicate the status of the load, etc. according to display signals input from the signal processing circuit 71. , or by displaying lines, figures, characters, etc. on these display elements.

第6図は、第1図の伝送システムにおける中央処理装置
1の具体的回路例を示す。
FIG. 6 shows a specific circuit example of the central processing unit 1 in the transmission system of FIG.

同図の中央処理装置は、マイクロプロセッサ(CPU)
21によってその全体動作を制御するように構成したも
ので、第2図の信号処理回路11、衝突検知回路14、
微分回路15、同期信号発生回路18およびフリップフ
ロップ回路19に相当する機能はCPU21の動作プロ
グラムによって実現している。
The central processing unit in the figure is a microprocessor (CPU)
The signal processing circuit 11, the collision detection circuit 14, and the collision detection circuit 14 shown in FIG.
Functions corresponding to the differentiating circuit 15, the synchronizing signal generating circuit 18, and the flip-flop circuit 19 are realized by the operation program of the CPU 21.

同図の中央処理装置は、さらに、電流検出回路12のア
ナログ出力をCPU21が処理可能なディジタルデータ
に変換して供給するためのA/Dコンバータ22、交流
電源より例えばドライブ回路13の出力段用の+26V
と一24Vおよびこの出力段以外の回路用の+5Vの直
流電圧を発生する直流電源23、交流電源のゼロクロス
を検出するゼロクロス検出回路24、ゼロクロス信号を
伝送線3に送出するためのゼロクロス信号送出回路25
、CPU21の駆動クロックを発生する発振回路26、
CPU21を初期状態に設定するためのリセット回路2
7を具備している。
The central processing unit in the figure further includes an A/D converter 22 for converting the analog output of the current detection circuit 12 into digital data that can be processed by the CPU 21, and an A/D converter 22 for converting the analog output of the current detection circuit 12 into digital data that can be processed by the CPU 21. +26V of
A DC power supply 23 that generates a DC voltage of -24V and +5V for circuits other than this output stage, a zero-cross detection circuit 24 that detects zero-crossing of the AC power supply, and a zero-crossing signal sending circuit for sending a zero-crossing signal to the transmission line 3. 25
, an oscillation circuit 26 that generates a drive clock for the CPU 21,
Reset circuit 2 for setting the CPU 21 to the initial state
It is equipped with 7.

中央処理装置から端末器へ伝送信号を送出する場合、C
PU21は、第3図に示す波形と相似の、但し“0”レ
ベルがOvで、“1″レベルが5Vの電圧信号をドライ
ブ回路13に供給する。ドライブ回路13は、CPU2
1からの電圧信号に従って“0#レベルが一22Vで、
′1ルベルが+24Vの、第3図に示すような波形の電
圧モード信号を伝送線3に送出する。
When sending a transmission signal from the central processing unit to the terminal device, C
The PU 21 supplies the drive circuit 13 with a voltage signal having a waveform similar to that shown in FIG. 3, except that the "0" level is Ov and the "1" level is 5V. The drive circuit 13 is a CPU 2
According to the voltage signal from 1, the “0# level is 122V,
A voltage mode signal having a waveform as shown in FIG. 3 and having a voltage of +24 V is sent to the transmission line 3.

ゼロクロス検出回路24は、交流電源のゼロクロスを検
出し、′1ルベルのゼロクロス信号をCPU21に入力
する。この検出回路24においては、例えばACloo
Vの交流電源を絶縁トランスTIを介してダイオードブ
リッジDBIに供給し、このダイオードブリッジDBI
からの全波整流出力をトランジスタTrlのベースに印
加して超C級増幅することにより、この全波整流出力が
OVであるとき、すなわち交流電源のゼロクロスするタ
イミングでトランジスタTrlのコレクタに5Vのゼロ
クロス信号を発生する。
The zero cross detection circuit 24 detects the zero cross of the AC power supply and inputs a zero cross signal of '1 level to the CPU 21. In this detection circuit 24, for example, ACloo
AC power of V is supplied to the diode bridge DBI via the isolation transformer TI, and the diode bridge DBI
By applying the full-wave rectified output from the transistor Trl to the base of the transistor Trl and performing ultra-class C amplification, when this full-wave rectified output is OV, that is, at the timing of the zero-crossing of the AC power supply, a 5V zero-crossing is applied to the collector of the transistor Trl. Generate a signal.

CPU21は、このゼロクロス信号を、中央起動時等の
必要時であればそのままゼロクロス信号送信回路25に
供給する。ゼロクロス信号送信回路25においては、ゼ
ロクロス信号入力時アナログスイッチASIがオフする
ことによってCPU21からドライブ回路13への電圧
信号供給を遮断し、これにより中央処理装置から端末器
への信号伝送を遮断するとともに、CPU21からのゼ
ロクロス信号によりフォトカブラPctを駆動してダイ
オードブリッジDB2の交流端子間を短絡することによ
って伝送線3の線間を短絡する。これにより、第13図
に示すような、電圧0のゼロクロス信号が端末器へ伝送
される。
The CPU 21 supplies this zero-crossing signal as it is to the zero-crossing signal transmitting circuit 25 when necessary, such as during central activation. In the zero-crossing signal transmission circuit 25, when the zero-crossing signal is input, the analog switch ASI turns off to cut off the voltage signal supply from the CPU 21 to the drive circuit 13, thereby cutting off the signal transmission from the central processing unit to the terminal device. , the photocoupler Pct is driven by a zero-cross signal from the CPU 21 to short-circuit the AC terminals of the diode bridge DB2, thereby short-circuiting the transmission lines 3. As a result, a zero-cross signal of voltage 0 as shown in FIG. 13 is transmitted to the terminal device.

このゼロクロス信号は、従来、端末器において作成され
ていたが、このように、中央処理装置で作成して各端末
器に伝送するようにすれば、ゼロクロス検出回路が1個
で足り、端末器ごとに設ける場合に比べ、システム全体
から見て回路構成の簡略化および低廉化を図ることがで
きる。
Conventionally, this zero-crossing signal was created in the terminal device, but if it were created in the central processing unit and transmitted to each terminal device, one zero-crossing detection circuit would be sufficient, and each terminal device would have a zero-crossing detection circuit. The circuit configuration can be simplified and the cost can be reduced from the viewpoint of the entire system, compared to the case where the circuit is provided in the circuit.

第7図は、第1図の伝送システムにおける端末器5の具
体的回路例を示す。
FIG. 7 shows a specific circuit example of the terminal device 5 in the transmission system of FIG. 1.

同図の端末器は、マイクロプロセッサ(CPU)61に
よってその全体動作を制御するように構成したもので、
第4図の信号処理回路51、同期信号検出回路55およ
びフリップフロップ回路57に相当する機能はCPU6
1の動作プログラムによって実現している。52および
53はそれぞれ第4図に示したものと共通の受信回路お
よび送信回路である。
The terminal shown in the figure is configured so that its entire operation is controlled by a microprocessor (CPU) 61.
The functions corresponding to the signal processing circuit 51, synchronous signal detection circuit 55, and flip-flop circuit 57 in FIG.
This is realized by the operation program No. 1. 52 and 53 are a receiving circuit and a transmitting circuit, respectively, which are common to those shown in FIG.

また、62はゼロクロス信号受信回路、63は自己アド
レス設定回路、64は交流電源より5vの直流出力を発
生する直流電源、65はクロック発生回路である。さら
に、C51はこの端末器の電源投入時にCPU61をリ
セットするためのコンデンサ、D B 51は複極(交
流)系である伝送線3と単極(直流)系である送信回路
52およびゼロクロス信号受信回路55とを整合するた
めのダイオードブリッジである。
Further, 62 is a zero-cross signal receiving circuit, 63 is a self-address setting circuit, 64 is a DC power supply that generates a 5V DC output from an AC power supply, and 65 is a clock generation circuit. Further, C51 is a capacitor for resetting the CPU 61 when the terminal is powered on, and D B 51 is a bipolar (AC) system transmission line 3, a unipolar (DC) system transmission circuit 52, and zero-cross signal reception. This is a diode bridge for matching with the circuit 55.

この端末器には必要に応じて様々な負荷装置が単独また
は様々な組み合わせで接続されるが、ここでは、91と
してゼロクロス信号を要しない負荷装置を、92として
ゼロクロス信号を要する負荷装置である調光装置を、さ
らに93として監視負荷であるスイッチを例示しである
。なお、負荷装置91および92はそれぞれ負荷駆動部
のみが示されている。
Various load devices can be connected to this terminal unit, either singly or in various combinations, as required.Here, 91 is a load device that does not require a zero-cross signal, and 92 is a load device that requires a zero-cross signal. The optical device is further illustrated as a switch 93 which is a monitoring load. Note that in each of the load devices 91 and 92, only the load drive section is shown.

受信回路52は、伝送線3の電圧モードが“0′である
か、′1°であるかに応じてそれぞれ0および5Vの信
号を発生し、CPU61に供給する。
The receiving circuit 52 generates signals of 0 and 5 V depending on whether the voltage mode of the transmission line 3 is "0" or "1°," respectively, and supplies them to the CPU 61.

送信回路53は、CPU61で作成される端末器から中
央処理装置への伝送信号を供給され、この伝送信号が“
1″のときだけ伝送線3の線間に抵抗R51を接続する
。このとき抵抗R51は電流シンクとなり、抵抗R51
を流れる電流によって第3図(a)に斜線で示すように
伝送線3を流れる電流RPIが変化し、これが中央処理
装置の電流検出回路12(第2図)で検出されることに
よって端末器から中央処理装置への電流モードの信号伝
送が行なわれる。
The transmission circuit 53 is supplied with a transmission signal from the terminal device created by the CPU 61 to the central processing unit, and this transmission signal is “
1", a resistor R51 is connected between the lines of the transmission line 3. At this time, the resistor R51 becomes a current sink, and the resistor R51
The current flowing through the transmission line 3 changes the current RPI flowing through the transmission line 3 as shown by the diagonal lines in Figure 3(a), and this is detected by the current detection circuit 12 (Figure 2) of the central processing unit and is transmitted from the terminal device. Current mode signal transmission to the central processing unit takes place.

第13図に示すように、伝送線3の線間電圧は、中央処
理装置からのゼロクロス信号送出時のみ0となり、それ
以外は+24Vまたは一22Vとなっている。すなわち
、ダイオードブリッジDB51の直流端電圧は、ゼロク
ロス信号送出時のみ0となり、それ以外では約+24V
または+22Vとなる。ゼロクロス信号受信回路55は
、このダイオードブリッジDB51の直流端電圧を約1
15に分圧する分圧抵抗回路である。
As shown in FIG. 13, the line voltage of the transmission line 3 is 0 only when a zero-cross signal is sent from the central processing unit, and is otherwise +24V or -22V. In other words, the DC terminal voltage of diode bridge DB51 becomes 0 only when a zero-cross signal is sent, and is approximately +24V at other times.
Or +22V. The zero cross signal receiving circuit 55 adjusts the DC terminal voltage of this diode bridge DB51 to about 1
This is a voltage dividing resistor circuit that divides the voltage into 15.

CPU61は、ゼロクロス信号受信回路62の出力が約
5vから0となったときそれをゼロクロ大信号として検
出する。そして、交流電源の半サイクルごとにこのゼロ
クロス信号と中央処理装置から伝送された制御信号に基
づく位相角で5vのパルスを作成し、調光装置92に供
給する。これにより、調光装置92ではトライアックT
Zが前記制御信号で指定された導通角でオンし、図示し
ない負荷であるランプが調光点灯される。
When the output of the zero-cross signal receiving circuit 62 changes from approximately 5V to 0, the CPU 61 detects it as a large zero-cross signal. Then, every half cycle of the AC power supply, a 5V pulse is created with a phase angle based on this zero-cross signal and the control signal transmitted from the central processing unit, and is supplied to the dimming device 92. As a result, in the light control device 92, the triac T
Z is turned on at a conduction angle specified by the control signal, and a lamp, which is a load (not shown), is dimmed and lit.

一方、監視負荷93において、スイッチ5W93が操作
されると、CF’U61がそれを検出し、そのオン/オ
フを示す監視データを作成する。この監視データは、前
述のように電流モードで中央処理装置に送出される。
On the other hand, when the switch 5W93 is operated in the monitoring load 93, the CF'U 61 detects this and creates monitoring data indicating its on/off state. This monitoring data is sent to the central processing unit in current mode as described above.

第8図は、第1図の伝送システムにおける監視表示盤7
の具体的回路例を示す。
Figure 8 shows the monitoring display panel 7 in the transmission system of Figure 1.
A specific circuit example is shown below.

同図において、71は第5図の信号処理回路71に対応
するマイクロプロセッサ(CP U)、72および73
はそれぞれ第5図に示したものと共通の受信回路および
表示部である。
In the figure, 71 is a microprocessor (CPU), 72 and 73 corresponding to the signal processing circuit 71 in FIG.
are the receiving circuit and display section common to those shown in FIG. 5, respectively.

また、75は交流電源より5vの直流出力を発生する直
流電源、76はクロック発生回路、C71はこの監視表
示装置の電源投入時にCPU71をリセットするだめの
コンデンサである。
Further, 75 is a DC power supply that generates a 5V DC output from an AC power supply, 76 is a clock generation circuit, and C71 is a capacitor for resetting the CPU 71 when the monitor display device is powered on.

受信回路72は、伝送線3の電圧モードが“O”である
か“1″であるかに応じてそれぞれOおよび5vの受信
信号を発生し、CPU71に供給する。表示部73は、
CPU71の出力端子0UT71〜7nのそれぞれに対
応する表示素子(発光ダイオード)LED71〜7oと
これを駆動するためのトランジスタTr71〜7n等に
より構成されており、CPU71が前記受信信号に基づ
いて5Vの駆動信号を発生した出力端子0UT7xに接
続されたトランジスタTr7xがオンすることによって
LED7xが点灯し、表示がなされる。
The reception circuit 72 generates reception signals of O and 5V depending on whether the voltage mode of the transmission line 3 is "O" or "1", respectively, and supplies them to the CPU 71. The display section 73 is
It is composed of display elements (light emitting diodes) LED71 to 7o corresponding to the output terminals 0UT71 to 7n of the CPU 71, and transistors Tr71 to 7n for driving them, etc., and the CPU 71 drives it at 5V based on the received signal. When the transistor Tr7x connected to the output terminal 0UT7x that generated the signal is turned on, the LED 7x lights up and a display is made.

次に、第9〜12図のフローチャートを参照しながら、
第1図および第6〜8図に示される構成のシステムの動
作を説明する。
Next, while referring to the flowcharts in Figures 9 to 12,
The operation of the system having the configuration shown in FIG. 1 and FIGS. 6 to 8 will be explained.

中央処理装置1、端末器5および監視表示盤7は、それ
ぞれの電源が投入されると、それぞれのCPUごとに内
蔵された制御プログラムに従って動作を開始する。先ず
、CPUに内蔵された各種メモリ、フラグおよびレジス
タ等をイニシャライズした後、中央処理装置1は第9図
のフローチャートに示す、端末器5は第10図のフロー
チャートに示す、そして監視表示盤7は第11図のフロ
ーチャートに示す、それぞれの無限ループ処理を実行す
る。
When the central processing unit 1, the terminal device 5, and the monitoring display panel 7 are powered on, they start operating according to a control program built into each CPU. First, after initializing various memories, flags, registers, etc. built into the CPU, the central processing unit 1 is operated as shown in the flowchart of FIG. 9, the terminal unit 5 is operated as shown in the flowchart of FIG. Each infinite loop process shown in the flowchart of FIG. 11 is executed.

これらの無限ループ処理は、第13図に示すように、交
流電源のゼロクロスに従ってこの交流電源の半サイクル
または1サイクルごとに中央処理装置1から送出される
スタート信号を基準として実行される。
As shown in FIG. 13, these infinite loop processes are executed based on a start signal sent from the central processing unit 1 every half cycle or every cycle of the AC power supply according to the zero cross of the AC power supply.

A、中央処理装置の動作 第9図を参照して、中央処理装置1は、先ず、ステップ
102にて起動データの有無を判定する。
A. Operation of the Central Processing Unit Referring to FIG. 9, the central processing unit 1 first determines the presence or absence of activation data in step 102.

端末器へ送出すべきデータすなわち起動データが有れば
、ステップ104〜114の中央起動(親起動)処理を
実行する。起動データが無ければ、ステップ120にて
第13図(1)に示すような端末起動用のスタート信号
を送出した後、ステップ122にて端末起動の有無を判
定する。端末起動が無ければステップ102に戻って次
の伝送タイミングを待機する。一方、ステップ122に
て端末起動が検出されれば、ステップ124にて端末衝
突の有無を判定する。衝突無しであればステップ126
〜128の通常モード処理を実行し、衝突有りであれば
ステップ130〜170の起動端末検索処理を実行する
If there is data to be sent to the terminal, that is, activation data, central activation (parent activation) processing in steps 104 to 114 is executed. If there is no activation data, a start signal for activating the terminal as shown in FIG. 13(1) is sent out in step 120, and then it is determined in step 122 whether or not the terminal is activated. If the terminal is not activated, the process returns to step 102 and waits for the next transmission timing. On the other hand, if activation of the terminal is detected in step 122, it is determined in step 124 whether there is a terminal collision. If there is no collision, step 126
The normal mode processing of steps 128 to 128 is executed, and if there is a conflict, the activated terminal search processing of steps 130 to 170 is executed.

中央起動処理 中央起動処理時は、先ず、ステップ104にてその起動
データの種類に応じた第13図(2)■〜■に示すよう
な、スタート信号ST、送信先端末器アドレスADRお
よび制御信号(起動データ)CNT等からなる伝送デー
タをドライブ回路13より電圧モードで伝送線3に送出
する。この伝送データ送出は、ステップ104の処理を
1回経由するごとに1ビツトずつ行なわれる。次のステ
ップ106は、このステップ104の処理が伝送データ
のビット数に対応する所定の回数だけ繰り返されたか否
かを判定するためのステップで、ステツブ104の処理
回数がこの所定回数より少なければ処理をステップ10
4に戻す。ステップ104の処理が所定回数繰り返され
、所定ビット数の電圧モード信号を送出すると、ステッ
プ106にて送信終了と判定し、処理を次のステップ1
08に進める。
Central startup processing At the time of central startup processing, first, in step 104, a start signal ST, a destination terminal device address ADR, and a control signal as shown in FIG. (Startup data) Transmission data consisting of CNT, etc. is sent from the drive circuit 13 to the transmission line 3 in voltage mode. This transmission data is sent out one bit each time the process of step 104 is passed through. The next step 106 is a step for determining whether or not the process of step 104 has been repeated a predetermined number of times corresponding to the number of bits of the transmission data. Step 10
Return to 4. When the process in step 104 is repeated a predetermined number of times and a voltage mode signal of a predetermined number of bits is transmitted, it is determined in step 106 that the transmission has ended, and the process is continued to the next step 1.
Proceed to 08.

ステップ108では電流検出回路12の出力に基づいて
端末器から送出される電流モード信号を受信する。そし
て、この電流モード信号の変化を検出して変化のたびに
ドライブ回路13の出力電圧モードを反転させる。これ
により、端末器から送出された電流モード信号は、中央
処理装置で電圧モードに変換されて伝送線3に送出され
、各端末器および監視表示盤は、その接続位置にかかわ
らず他の端末器から送出される信号を判別することがで
きる。
In step 108, a current mode signal sent from the terminal device is received based on the output of the current detection circuit 12. Then, changes in this current mode signal are detected and the output voltage mode of the drive circuit 13 is inverted every time there is a change. As a result, the current mode signal sent from the terminal device is converted into voltage mode signal by the central processing unit and sent out to the transmission line 3, and each terminal device and monitoring display panel can be connected to other terminal devices regardless of their connection position. It is possible to determine the signals sent from the

ステップ110では返送が終了したか否かを判定する。In step 110, it is determined whether the return has been completed.

この中央処理装置においては、ステップ108の伝送信
号受信処理が1口実行されるごとに返送データの1ビツ
トが伝送される。したがって、ステップ108の処理が
返送データのビット数に対応する所定の回数だけ繰り返
されていれば、ステップ110にて返送終了と判定し、
処理をステップ112に進める。一方、ステップlO8
の処理回数が返送データのビット数に達していなければ
、返送は未だ終了していないから、処理をステップ10
8に戻す。
In this central processing unit, one bit of return data is transmitted each time the transmission signal reception process of step 108 is executed. Therefore, if the process in step 108 has been repeated a predetermined number of times corresponding to the number of bits of the returned data, it is determined in step 110 that the return has ended;
Processing proceeds to step 112. On the other hand, step lO8
If the number of times of processing has not reached the number of bits of the return data, the return has not yet been completed, and the processing is continued at step 10.
Return to 8.

ステップ112ではステップ118にて受信した返送デ
ータの可否を判定する。例えば、送信先端末器が肯定応
答ACKとして制御信号CNTと同じ内容のデータを返
送する場合には、この肯定応答ACKと制御信号CNT
とを比較することにより制御データCNTが送信先端末
器に正常に受信されたか否かを判定することができる。
In step 112, it is determined whether the return data received in step 118 is acceptable. For example, if the destination terminal device returns data with the same content as the control signal CNT as an acknowledgment ACK, this acknowledgment ACK and control signal CNT
It can be determined whether the control data CNT has been normally received by the destination terminal device by comparing the CNT and CNT.

返送データが正常であれば制御データ等の伝送が正常に
実施されたのであるからステップ114にて起動データ
をクリアする等して起動を解除した後、ステップ102
に戻る。
If the returned data is normal, it means that the transmission of the control data etc. was carried out normally, so after canceling the start-up by clearing the start-up data in step 114, step 102
Return to

一方、返送データが異常であれば、ステップ114をス
キップしてステップ112から直接ステップ102に戻
る。この場合、起動データはそのまま残っているので、
次の伝送タイミングの際、ステップ102にて起動デー
タ有りと判定され、この中央起動処理が再度実行される
。すなわち、起動データが正常に伝送されるまでこの中
央起動処理が繰り返される。
On the other hand, if the returned data is abnormal, step 114 is skipped and the process returns directly from step 112 to step 102. In this case, the startup data remains as is, so
At the next transmission timing, it is determined in step 102 that activation data is present, and this central activation process is executed again. That is, this central activation process is repeated until the activation data is successfully transmitted.

通常モード処理 ステップ102にて起動データが無く、ステップ120
にて送信した端末起動用スタート信号に応答して端末器
が起動したことをステップ122にて検知し、かつステ
ップ124にて端末の衝突もなければ、ステップ126
とステップ128との循環処理からなる通常モード処理
を実行する。
There is no startup data in normal mode processing step 102, and step 120
If it is detected in step 122 that the terminal device has been activated in response to the start signal for terminal activation transmitted in step 122, and if there is no collision of the terminals in step 124, the process proceeds to step 126.
A normal mode process consisting of a circular process of step 128 and step 128 is executed.

ステップ126では端末器から送出される電流モード信
号である端末データ信号、すなわち端末データの1ビツ
トを受信する。そして、このステップ126の処理を端
末データのビット数と同じ回数だけ繰り返すと、ステッ
プ128にて信号受信終了と判定し、処理をステップ1
02に戻す。
In step 126, a terminal data signal, which is a current mode signal sent from the terminal, ie, one bit of terminal data is received. When the process of step 126 is repeated the same number of times as the number of bits of the terminal data, it is determined in step 128 that signal reception is complete, and the process is continued in step 1.
Return to 02.

起動端末検索処理 前記通常モード処理に移行する前のステップ124にて
端末衝突有りと判定されると、ステップ130〜170
の起動端末検索処理を実行する。
Activation terminal search process If it is determined that there is a terminal collision in step 124 before shifting to the normal mode process, steps 130 to 170
Execute the startup terminal search process.

先ず、ステップ130にて起動端末器の上位グループ(
例えば上位3ビツトのアドレス)を検索すべきか否かを
判定する。検索すべきであれば、ステップ132および
ステップ134の循環処理にて第12図に示すような、
スタート信号ST。
First, in step 130, the upper group (
For example, it is determined whether or not the address of the upper 3 bits should be searched. If a search is to be performed, the cyclic processing of steps 132 and 134 is performed to search for the search result as shown in FIG.
Start signal ST.

上位検索モードであることを示すモードデータMOD、
および相手先を指定しないダミーアドレスADR等から
なるデータを1ビツトずつ送信する。
mode data MOD indicating that it is a higher search mode;
and a dummy address ADR that does not specify the other party, and transmits data one bit at a time.

続いて、ステップ136およびステップ138の循環処
理にて所定の周期で同期信号5YNCを送出しながら、
各同期信号に対する端末器からの返送信号を受信する。
Subsequently, in the cyclic process of steps 136 and 138, the synchronization signal 5YNC is sent out at a predetermined cycle, while
Receive return signals from the terminal in response to each synchronization signal.

このステップ136の処理を上位グループの数と同じ回
数だけ繰り返すと、ステップ138にて返送終了と判定
し、処理をステップ140に進める。
When the process in step 136 is repeated the same number of times as the number of upper-level groups, it is determined in step 138 that the return has been completed, and the process proceeds to step 140.

ステップ140では前記ステップ136およびステップ
138の循環処理の際、どのタイミングで返送信号が検
出されたかを判定する。これにより、起動端末器の属す
る上位グループが決定される。ステップ140の処理を
終了すると、ステップ130に戻る。
In step 140, it is determined at which timing the return signal was detected during the cyclic processing of steps 136 and 138. As a result, the upper group to which the activation terminal belongs is determined. When the process of step 140 is completed, the process returns to step 130.

今度は上位グループが検索済みであるから、ステップ1
30の判定はrNOJとなり、処理はステップ142に
進む。
This time, the top groups have been searched, so step 1
The determination at step 30 is rNOJ, and the process proceeds to step 142.

このステップ142にて判定がrYESJとなり中位グ
ループを検索する際には送信データのモードMODが中
位検索モードとなり、前記ダミーアドレスのうち上位ア
ドレス部分を前記上位検索により判別した上位アドレス
に入れ代える外は、前記ステップ132〜140の上位
検索処理と全く同様の処理を実行する。
In this step 142, the determination is rYESJ, and when searching for the middle group, the mode MOD of the transmission data becomes the middle search mode, and the upper address portion of the dummy address is replaced with the upper address determined by the upper search. Otherwise, the same processing as the upper search processing in steps 132 to 140 is executed.

上位および中位のグループが判別すると、ステップ13
および142の判定がいずれもrNOJとなり、処理は
ステップ154に進む。ステップ154では、スタート
信号ST、下位検索モードデータMOD、ならびに判別
した上位および中位が判別したアドレスで下位がダミー
アドレスのアドレスデータADR等からなるデータを1
ビツトずつ送信する。ステップ156にて送信終了と判
定すると、処理をステップ158に進める。
Once the top and middle groups are determined, step 13
The determinations in step 142 and 142 are both rNOJ, and the process proceeds to step 154. In step 154, data consisting of the start signal ST, lower search mode data MOD, and address data ADR in which the upper and middle digits are the determined addresses and the lower dummy addresses are 1
Send bit by bit. If it is determined in step 156 that the transmission has ended, the process advances to step 158.

ステップ158〜162は前記上位検索および中位検索
におけるステップ136〜140および146〜150
と全く同じ処理である。
Steps 158 to 162 are steps 136 to 140 and 146 to 150 in the upper search and middle search.
This is exactly the same process.

このステップ158〜162を終了すると、起動端末器
のうちの1台のアドレスが判明する。
When steps 158 to 162 are completed, the address of one of the activated terminals is known.

続く、ステップ164と166の循環処理では同スター
ト信号STおよび検出した端末アドレスを送信する。こ
れにより、アドレスを検出された起動端末器がポーリン
グされる。
In the subsequent circular processing of steps 164 and 166, the same start signal ST and the detected terminal address are transmitted. As a result, the activated terminal whose address has been detected is polled.

したがって、ステップ168と170の循環処理により
該起動端末器からのデータを受信した後、この起動端末
検索処理を終了し、ステップ102に戻る。
Therefore, after receiving the data from the activated terminal through the cyclic process of steps 168 and 170, the activated terminal search process is ended and the process returns to step 102.

B、端末器の動作 第10図を参照して、端末器5は、先ずステップ202
にて中央処理装置から第13図(2)■〜■に示すよう
な電圧モードの中央起動信号が送出されたか否かを判定
する。中央処理装置(第9図のステップ104)から中
央起動信号が送出されていればステップ202〜230
の返送処理を実行する。一方、送出されていなければ、
ステップ250にて起動データの有無を判定する。中央
処理装置へ送出すべきデータすなわち起動データがあれ
ば、ステップ260〜280の循環処理からなる端末起
動(子起動)処理を実行する。ステップ202にて中央
起動信号が送出されておらず、かつ自己から中央処理装
置に送出する端末データも無ければ、そのまま最初のス
テップ202に戻る。
B. Operation of Terminal Referring to FIG. 10, the terminal 5 first performs step 202.
Then, it is determined whether or not a voltage mode central activation signal as shown in FIG. If a central activation signal is sent from the central processing unit (step 104 in FIG. 9), steps 202 to 230 are performed.
Execute the return process. On the other hand, if it is not sent,
At step 250, the presence or absence of activation data is determined. If there is data to be sent to the central processing unit, that is, activation data, terminal activation (child activation) processing consisting of cyclic processing of steps 260 to 280 is executed. In step 202, if the central activation signal has not been sent and there is no terminal data to be sent from itself to the central processing unit, the process directly returns to the first step 202.

返送処理 返送処理時は、ステップ204およびステップ206の
循環処理にて受信回路52の出力に基づき中央処理装置
から送出される(第9図のステップ104〜106)電
圧モードの伝送データをこの循環処理の1回ごとに1ビ
ツトずつ受信する。
Return processing During the return processing, voltage mode transmission data sent from the central processing unit based on the output of the receiving circuit 52 in the cyclic processing of steps 204 and 206 (steps 104 to 106 in FIG. 9) is processed in this cyclic processing. One bit is received each time.

そして、所定ビット数の受信を終了すると、処理をステ
ップ206からステップ208に進め、ステップ208
にてモードMODを判定する。
When the predetermined number of bits have been received, the process proceeds from step 206 to step 208, and step 208
Determine the mode MOD.

ステップ208にてモードMODが上位、中位または下
位のいずれかのグループ検索モードであれば、ステップ
210〜232の所属クループ返送処理を実行する。一
方、ステップ208にてモードMODがグループ検索モ
ード以外であれば、ステップ240〜246の通常返送
処理を実行する。
If the mode MOD is in the upper, middle, or lower group search mode in step 208, the affiliated group return processing in steps 210 to 232 is executed. On the other hand, if the mode MOD is other than group search mode in step 208, normal return processing in steps 240 to 246 is executed.

所属クループ返送処理においステップ210では起動デ
ータの有無を判定する。この所属グループ返送処理は起
動端末器のみに要求される処理であるから、起動データ
が無い場合、すなわち自己が起動端末器でない場合には
、以下のに処理は実行することなく、直ちにステップ2
02に戻る。
In step 210 of the affiliated group return process, it is determined whether or not there is activation data. This belonging group return process is a process that is required only for the starting terminal, so if there is no starting data, that is, if the self is not the starting terminal, the process in step 2 is immediately performed without executing the following process.
Return to 02.

一方、ステップ210の判定にて起動データ有りならば
、ステップ212にてモードMODが上位検索モードか
否かを判定する。上位検索モードであれば、ステップ2
14にて自己の所属する上位グループ、例えば自己アド
レスの上位3ビツトに対応した返送タイミングで信号を
返送する。この返送タイミングは、上位3ビツトの値が
000であれば最初の同期信号に応答して、また011
であれば4番目の同期信号に応答して電流モードで送出
する。返送を終了すると、ステップ216を経てステッ
プ202に戻る。
On the other hand, if it is determined in step 210 that activation data is present, it is determined in step 212 whether the mode MOD is the upper search mode. If you are in top search mode, step 2
At step 14, the signal is returned at a return timing corresponding to the upper group to which it belongs, for example, the upper three bits of its own address. This return timing is in response to the first synchronization signal if the value of the upper 3 bits is 000, and again in response to 011.
If so, transmit in current mode in response to the fourth synchronization signal. When the return is completed, the process returns to step 202 via step 216.

ステップ212の判定にてrNOJであればステップ2
18にてモードMODが中位検索モードか否かを判定す
る。中位検索モードであれば、ステップ220にてこの
モードデータMODの次に伝送されるアドレスデータA
DRで示される上位グループが自己の所属する上位グル
ープと一致するか否かを判定する。一致しなければ自己
の属するグループ以外のグループについての検索中であ
るから、以後の処理は実行することなく、ステップ20
2に戻る。
If rNOJ is determined in step 212, step 2
At step 18, it is determined whether the mode MOD is the intermediate search mode. If it is the intermediate search mode, in step 220 address data A transmitted next to this mode data MOD is selected.
It is determined whether the upper group indicated by DR matches the upper group to which the user belongs. If there is no match, the search is in progress for a group other than the group to which the user belongs, so the process returns to step 20 without executing any further processing.
Return to 2.

一方、ステップ220の判定がrYEsJであれば、自
己の属する上位グループ内の端末器を検索しているので
あるから、ステップ222にて自己の所属する中位グル
ープ、例えば自己アドレスの中位3ビツトに対応した返
送タイミングで信号を返送する。返送を終了すると、ス
テップ224を経てステップ202に戻る。
On the other hand, if the determination in step 220 is rYEsJ, this means that the terminal is searching for a terminal in the upper group to which it belongs, so in step 222 it searches for the middle group to which it belongs, for example, the middle three bits of its own address. The signal is sent back at the return timing corresponding to the signal. When the return is completed, the process returns to step 202 via step 224.

ステップ218の判定にて「No」であれば、ステップ
226にてこのモードデータMODの次に伝送されるア
ドレスデータADRで示される上位および中位グループ
が自己の所属する上位および中位グループと一致するか
否かを判定する。
If the determination in step 218 is "No", in step 226 the upper and middle groups indicated by the address data ADR transmitted next to this mode data MOD match the upper and middle groups to which the self belongs. Determine whether or not to do so.

致しなければ自己の属するグループ以外のグループにつ
いての検索中であるから、以後の処理は実行することな
く、ステップ202に戻る。
If it does not, the process returns to step 202 without executing any further processing, since a search is in progress for a group other than the group to which the user belongs.

一方、ステップ226の判定がrYESJであれば自己
の属する上位および中位グループ内の端末器を検索して
いるのであるからステップ228にて自己の所属する下
位グループ、例えば自己アドレスの下位3ビツトに対応
した返送タイミングで信号を返送する。返送を終了する
と、ステップ230を経てステップ232に処理を進め
、このステップ232にて起動データをクリアする等し
て起動を解除したの後、ステップ202に戻る。
On the other hand, if the determination in step 226 is rYESJ, the terminal is searching for a terminal in the upper and middle groups to which it belongs, so in step 228 it searches for the lower group to which it belongs, for example, the lower 3 bits of its own address. The signal is sent back at the corresponding return timing. When the return is completed, the process advances to step 232 via step 230, and after clearing the activation data or canceling the activation in step 232, the process returns to step 202.

以上で所属クループ返送処理を終了する。This completes the belonging group return processing.

前記ステップ208にてモードMODがグループ検索モ
ード以外であれば、ステップ240以下の通常返送処理
を実行する。
If the mode MOD is other than the group search mode in step 208, normal return processing from step 240 onwards is executed.

この通常返送処理においては、先ず、ステップ240に
て中央処理装置から送出された送信先アドレスADHが
自己アドレスと一致するか否かを判定する。一致しなけ
れば他の端末器へのポーリングであるから、以後の処理
を実行することなく、ステップ202に戻る。
In this normal return processing, first, in step 240, it is determined whether the destination address ADH sent from the central processing unit matches the own address. If they do not match, the process returns to step 202 without executing any further processing since the polling is for another terminal.

一方、ステップ240の判定がrYESJであれば自己
宛ての通信であるからステップ228にて監視データ等
の返送信号を前記同期信号に同期して1ビツトずつ返送
する。返送を終了すると、ステップ246を経てステッ
プ202に戻る。
On the other hand, if the determination in step 240 is rYESJ, the communication is addressed to itself, so in step 228 a return signal such as monitoring data is returned bit by bit in synchronization with the synchronization signal. When the return is completed, the process returns to step 202 via step 246.

以下、第12図を参照しながら、前記起動端末検索処理
について説明する。
The activation terminal search process will be described below with reference to FIG.

第12図(a)は、衝突検知後1回目の中央処理装置1
からのポーリング信号を示す。同図において、返送信号
RPIは、中央処理装置1で電圧モードに変換された信
号RPVで現わしである。
FIG. 12(a) shows the first central processing unit 1 after detecting a collision.
shows the polling signal from. In the figure, the return signal RPI is represented by a signal RPV converted into a voltage mode by the central processing unit 1.

ここでは、端末器5を自己アドレスの上位3ビツトの値
Xに応じて8つに分割してあり、同期信号5YNCも8
ビツトの返送信号を返送させるように送出している。
Here, the terminal device 5 is divided into eight parts according to the value X of the upper three bits of its own address, and the synchronization signal 5YNC is also divided into eight parts.
A bit return signal is sent so as to be sent back.

すなわち、第1回目のポーリングに対して、各起動端末
器5は、自身の属するグループに応じて、例えば第Xグ
ループであれば、第Xビット目でのみ“1″レベルの電
流モード返送信号RPIを送出する。これにより、中央
処理装置1は、どのグループの端末器5が起動したかを
検知することができる。ここでは、第3番目(上位3ビ
ツトが010)のグループと第4番目(上位3ビツトが
011)のグループの端末器が起動した例を示している
That is, in response to the first polling, each activation terminal 5 sends a current mode return signal RPI of "1" level only at the X-th bit, depending on the group to which it belongs. Send out. Thereby, the central processing unit 1 can detect which group of terminal devices 5 has been activated. Here, an example is shown in which terminals in the third group (the upper three bits are 010) and the fourth group (the upper three bits are 011) are activated.

第2回目以降は、検知したグループを指定してポーリン
グを行なう。すなわち、上記の例では、アドレス信号A
DHの上位アドレスには、先ず、010(または011
)をセットし、下位にはダミーアドレスをセットして第
2回目のポーリングを行なう。これに対して端末器は上
位アドレスが010(または011)のもののみが今度
は自己アドレスの第4〜6ビツト目の値に応じたタイミ
ングで1“レベルの電流モード返送信号RPIを発生す
る。この2回のポーリングにより、中央処理装置1は、
起動端末器の一方のアドレスの上位6ビツトまで検知す
ることができる。
From the second time onwards, polling is performed by specifying the detected group. That is, in the above example, address signal A
First, the upper address of DH is 010 (or 011
), set a dummy address in the lower part, and perform the second polling. On the other hand, only terminal devices whose upper addresses are 010 (or 011) generate current mode return signals RPI of 1" level at timings corresponding to the values of the 4th to 6th bits of their own addresses. Through these two pollings, the central processing unit 1
It is possible to detect up to the upper 6 bits of the address of one of the activated terminals.

第23図(b)は、衝突検知後第2回目以降の中央処理
装置1からのポーリング信号を示す。同図によると、第
2番目(検出しようとする3ビツトの値が001)のグ
ループが返送信号を発生している。したがって、これ力
(2回目のポーリングであれば、起動端末器の1つ(ま
たは複数)についてアドレスが010001・・・・・
・であることが検知できる。以下同様にして、512個
(9ビツト)のアドレスのうちの1つを3回のポーリン
グで検知することができる。
FIG. 23(b) shows the polling signal from the central processing unit 1 from the second time onwards after the collision was detected. According to the figure, the second group (value of 3 bits to be detected is 001) generates a return signal. Therefore, if this is the second poll, the address for one (or more) of the activated terminals is 010001...
・Can be detected. Similarly, one of the 512 (9 bits) addresses can be detected by polling three times.

C5監視表示盤の動作 第11図を参照して、監視表示盤7は、先ず、ステップ
302にて中央処理装置から中央起動(3号が送出され
たか否かを判定する。中央処理装置から中央起動信号が
送出されていれば(第9図のステップ104)、処理を
ステップ304に進め、一方、送出されていなければ、
ステップ312に進める。
Operation of the C5 Monitoring Display Panel Referring to FIG. If the activation signal has been sent (step 104 in FIG. 9), the process proceeds to step 304; on the other hand, if it has not been sent,
Proceed to step 312.

ステップ304では中央処理装置から送出される(第9
図のステップ104〜106)電圧モードの伝送信号(
中央起動データ)を検出する。そして、次のステップ3
06にてこの伝送信号に対する端末器の返送信号(返送
データ)を中央処理装置で変換した電圧モード信号によ
って検出した後、ステップ308にてこれらの信号が内
容的に一致するか否かを判定する。このステップ308
は、中央処理装置におけるステップ140(第9図)と
同様の処理である。ステップ308にて2つの信号が一
致していれば中央処理装置と端末器とのデータ伝送が正
常に行なわれたのであるから、ステップ310にてその
データ伝送の内容に基づく表示を行なう。
In step 304, the central processing unit sends out (the ninth
Steps 104-106 in the figure) Voltage mode transmission signal (
central activation data). And next step 3
After detecting the return signal (return data) of the terminal in response to this transmission signal using the voltage mode signal converted by the central processing unit in step 06, it is determined in step 308 whether or not these signals match in content. . This step 308
is a process similar to step 140 (FIG. 9) in the central processing unit. If the two signals match in step 308, it means that data transmission between the central processing unit and the terminal device was performed normally, and therefore, in step 310, a display is performed based on the content of the data transmission.

一方、ステップ308にて2つの信号が内容的に不一致
であれば、中央処理装置と端末器とのデータ伝送に異常
があったのであるから、ステップ304および306で
受信したデータはクリアしてステップ302に戻る。こ
の場合、同一内容のデータ伝送は正常に実行するまで繰
り返されるため、その正常に実行された際にステップ3
10の処理を実行することになるから、その時、ステッ
プ310にてその伝送されたデータの内容に基づく表示
を行なう。
On the other hand, if the two signals do not match in content in step 308, it means that there was an abnormality in the data transmission between the central processing unit and the terminal device, so the data received in steps 304 and 306 is cleared and the step Return to 302. In this case, data transmission of the same content is repeated until it is executed normally, so when it is executed normally, step 3
10 will be executed, and at that time, in step 310, a display is performed based on the contents of the transmitted data.

ステップ302にて中央起動でなければ、処理をステッ
プ312に進め、このステップ312にて端末起動の有
無を判定する。いずれの端末器も起動しなければ、ステ
ップ312から直接ステップ302に戻る。
If it is determined in step 302 that the terminal has not been activated, the process proceeds to step 312, where it is determined whether or not the terminal has been activated. If none of the terminals is activated, the process returns directly from step 312 to step 302.

ステップ312にていずれかの端末器が起動したと判定
されれば、ステップ314にて起動端末から送出される
端末データの1ビツトずつを、中央処理装置で変換され
た電圧モード信号により検出し、ステップ316にて所
定ビット数の信号が検出されたか否か等に基づいて端末
信号が正常に伝送されたか否かを判定する。
If it is determined in step 312 that one of the terminals has been activated, in step 314, each bit of terminal data sent from the activated terminal is detected by the voltage mode signal converted by the central processing unit, In step 316, it is determined whether the terminal signal has been transmitted normally based on whether a signal with a predetermined number of bits has been detected.

正常に伝送されていればステップ310にてこの端末デ
ータに基づく負荷監視表示を行なう。
If the transmission is normal, a load monitoring display based on this terminal data is performed in step 310.

一方、ステップ312にて端末器から中央処理装置への
データ伝送が正常に行なわれなかったものと判定したと
きは、ステップ316からステップ302へ戻る。この
場合も端末起動のデータ伝送は正常に実施されるまで繰
り返されるから、正常に実施された際にステップ310
まで進むことにより監視表示されることになる。
On the other hand, if it is determined in step 312 that data transmission from the terminal device to the central processing unit has not been performed normally, the process returns from step 316 to step 302. In this case as well, the data transmission for starting the terminal is repeated until it is executed normally, so when it is executed normally, step 310
By proceeding up to the point, it will be monitored and displayed.

[第2の実施例] 第14図は、この発明の第2の実施例に係る中央処理装
置および端末器の機能ブロック構成を示す。
[Second Embodiment] FIG. 14 shows a functional block configuration of a central processing unit and a terminal device according to a second embodiment of the present invention.

第14図(a)の中央処理装置1は、第2図のものに対
し、同期信号発生回路18を除去したものである。
The central processing unit 1 shown in FIG. 14(a) is the same as that shown in FIG. 2, with the synchronization signal generation circuit 18 removed.

また、第14図(b)の端末器5は、第2図のものに対
し、同期信号発生回路55およびフリップフロップ回路
57を除去し、かつ自己アドレスの上位、中位および下
位アドレスのうち中央処理回路1から返送要求されたア
ドレスに応じたパルス幅で送信回路53を駆動する返送
パルス幅決定回路56を設けたものである。
Furthermore, the terminal device 5 in FIG. 14(b) has the synchronizing signal generation circuit 55 and the flip-flop circuit 57 removed from the terminal device 5 in FIG. A return pulse width determining circuit 56 is provided which drives the transmitting circuit 53 with a pulse width corresponding to the address requested for return from the processing circuit 1.

第15図は、第14図(a)に示す機能を実現するため
のフローチャートである。
FIG. 15 is a flowchart for realizing the functions shown in FIG. 14(a).

第9図のフローチャートとは、ステップ140.152
および162の処理において、第9図では返送タイミン
グによりアドレスを検出しているのに対し、第15図で
は返送パルス幅でアドレスを検出する点において異なる
が、その他は全く同一である。
The flowchart in FIG. 9 includes steps 140 and 152.
In the processes of 162 and 162, the address is detected based on the return timing in FIG. 9, whereas the address is detected based on the return pulse width in FIG. 15, but otherwise the process is exactly the same.

第16図は、第14図(b)に示す機能を実現するため
のフローチャートである。
FIG. 16 is a flowchart for realizing the function shown in FIG. 14(b).

第10図のフローチャートとはステップ214.222
および228の処理において、第10図ではアドレスに
対応するタイミングで返送信号を送出しているのに対し
、第16図ではアドレスに対応するパルス幅の返送信号
を送出する点において異なるが、その他は全く同一であ
る。
What is the flowchart in Figure 10? Steps 214 and 222
In the processing of 228 and 228, the difference is that in FIG. 10, a return signal is sent out at a timing corresponding to the address, whereas in FIG. 16, a return signal with a pulse width corresponding to the address is sent out. They are exactly the same.

第17図(a)は、返送期間信号RTMと電流モード返
送信号RPIを示した図、第17図(b)は、伝送線に
現われる電圧を模式的に示した図である。
FIG. 17(a) is a diagram showing the return period signal RTM and the current mode return signal RPI, and FIG. 17(b) is a diagram schematically showing the voltage appearing on the transmission line.

[発明の適用例] なお、上述においては、中央処理装置側からは電圧モー
ド信号で、端末器側からは電流モード信号で信号伝送す
る信号伝送システムにこの発明を適用した例について説
明したが、この発明の方式は、相互に電圧モードで信号
伝送する場合にも適用可能である。また、上述において
は、端末器からの電流モード信号を中央処理装置にて電
圧モード信号に変換して伝送線に送出する信号伝送シス
テムにこの発明を適用した例について説明したが、この
発明は、端末器で衝突検知を行なう必要がないため、こ
のような変換を行なわない、例えば特公昭61−315
5号に記載されたような方式の信号伝送システムにも適
用可能である。
[Application Example of the Invention] In the above description, an example has been described in which the present invention is applied to a signal transmission system in which a voltage mode signal is transmitted from the central processing unit side and a current mode signal is transmitted from the terminal device side. The method of the present invention is also applicable to mutual signal transmission in voltage mode. Further, in the above description, an example has been described in which the present invention is applied to a signal transmission system in which a current mode signal from a terminal device is converted into a voltage mode signal by a central processing unit and sent to a transmission line. Since there is no need to perform collision detection on the terminal device, such conversion is not performed.
It is also applicable to a signal transmission system of the type described in No. 5.

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

第1図は、この発明の第1の実施例に係る信号伝送シス
テムの全体構成を示すブロック図、第2図は、第1図の
システムにおける中央処理装置の機能ブロック図、 第3図は、第1図のシステムの伝送信号フォーマット説
明図、 第4図は、第1図のシステムにおける端末器の機能ブロ
ック図、 第5図は、第1図のシステムにおける監視表示盤の機能
ブロック図、 第6図は、第2図の中央処理装置の具体例を示す回路図
、 第7図は、第4図の端末器の具体例を示す回路図、 第8図は、第5図の監視表示盤の具体例を示す回路図、 第9図は、第6図の中央処理装置の動作を示すフローチ
ャート、 第10図は、第7図の端末器の動作を示すフローチャー
ト、 第11図は、第8図の監視表示盤の動作を示すフローチ
ャート、 第12図は、第1の実施例における衝突時起動端末検出
動作説明のための伝送信号フォーマット説明図、 第13図は、上記実施例に係る伝送信号の動作モード別
詳細フォーマット 第14図は、この発明の第2の実施例に係る中央処理装
置および端末器の機能ブロック図、第15図は、この発
明の第2の実施例に係る中央処理装置の動作説明のため
のフローチャート、第16図は、この発明の第2の実施
例に係る端末器の動作を示すフローチャート、そして第
17図は、第2の実施例における伝送信号フォーマット
説明図である。 1:中央処理装置 3:伝送線 5−L  5−2. 5−3.・・・:端末器7:監視
表示盤 9:負荷装置 11.51:信号処理回路 12:電流検出回路 14:衝突検知回路 15二微分回路 18:同期信号発生回路 19.57:フリップフロップ回路 20.53:送信回路 21.61,71:CPU 55:同期信号検出回路 55:返送パルス幅決定回路 RPI:電流モード信号 RPV :電圧モード信号
FIG. 1 is a block diagram showing the overall configuration of a signal transmission system according to a first embodiment of the present invention, FIG. 2 is a functional block diagram of a central processing unit in the system of FIG. 1, and FIG. 4 is a functional block diagram of the terminal device in the system of FIG. 1; FIG. 5 is a functional block diagram of the monitoring display panel in the system of FIG. 1; Fig. 6 is a circuit diagram showing a specific example of the central processing unit shown in Fig. 2, Fig. 7 is a circuit diagram showing a specific example of the terminal unit shown in Fig. 4, and Fig. 8 is a circuit diagram showing a specific example of the terminal unit shown in Fig. 5. FIG. 9 is a flowchart showing the operation of the central processing unit in FIG. 6; FIG. 10 is a flowchart showing the operation of the terminal device in FIG. 7; FIG. 12 is an explanatory diagram of a transmission signal format for explaining the collision activation terminal detection operation in the first embodiment. FIG. 13 is a transmission signal according to the above embodiment. Detailed format for each operation mode FIG. 14 is a functional block diagram of a central processing unit and a terminal device according to a second embodiment of the present invention, and FIG. 15 is a functional block diagram of a central processing unit according to a second embodiment of the present invention. 16 is a flowchart showing the operation of the terminal device according to the second embodiment of the present invention, and FIG. 17 is a diagram explaining the transmission signal format in the second embodiment. . 1: Central processing unit 3: Transmission line 5-L 5-2. 5-3. ...: Terminal 7: Monitoring display panel 9: Load device 11.51: Signal processing circuit 12: Current detection circuit 14: Collision detection circuit 15 Two-differentiation circuit 18: Synchronous signal generation circuit 19.57: Flip-flop circuit 20 .53: Transmission circuit 21. 61, 71: CPU 55: Synchronous signal detection circuit 55: Return pulse width determination circuit RPI: Current mode signal RPV: Voltage mode signal

Claims (2)

【特許請求の範囲】[Claims] (1)中央処理装置と複数の端末器とを1対の伝送線に
接続してなる信号伝送システムにおいて、複数の端末器
の起動により信号が衝突した際、中央処理装置がこの衝
突を検知し、起動した端末器からの所属グループ報告要
求を示すモード信号を含む伝送信号を送信し、各起動端
末器はこの伝送信号に応答して自己アドレスが属する分
類に応じたタイミングで返送信号を出力し、中央処理装
置は該返送信号に基づき起動端末器の所属グループを判
別するとともに、この操作を上位のグループ分類から下
位のグループ分類へと複数回実行して起動端末器のアド
レスを検出し、該起動端末器をアクセスして監視データ
等の端末データを得ることを特徴とする信号伝送方式。
(1) In a signal transmission system in which a central processing unit and multiple terminal devices are connected to a pair of transmission lines, when signals collide due to activation of multiple terminal devices, the central processing unit detects this collision. , the activated terminal transmits a transmission signal including a mode signal indicating a group report request, and each activated terminal responds to this transmission signal and outputs a return signal at a timing according to the classification to which its own address belongs. , the central processing unit determines the group to which the activation terminal belongs based on the return signal, and performs this operation multiple times from the higher group classification to the lower group classification to detect the address of the activation terminal, and detects the address of the activation terminal. A signal transmission method characterized by accessing a starting terminal to obtain terminal data such as monitoring data.
(2)中央処理装置と複数の端末器とを1対の伝送線に
接続してなる信号伝送システムにおいて、複数の端末器
の起動により信号が衝突した際、中央処理装置がこの衝
突を検知し、起動した端末器からの所属グループ報告要
求を示すモード信号を含む伝送信号を送信し、各起動端
末器はこの伝送信号に応答して自己アドレスが属する分
類に応じたパルス幅の返送信号を出力し、中央処理装置
は該返送信号に基づき起動端末器の所属グループを判別
するとともに、この操作を上位のグループ分類から下位
のグループ分類へと複数回実行して起動端末器のアドレ
スを検出し、該起動端末器をアクセスして監視データ等
の端末データを得ることを特徴とする信号伝送方式。
(2) In a signal transmission system in which a central processing unit and multiple terminal devices are connected to a pair of transmission lines, when signals collide due to activation of multiple terminal devices, the central processing unit detects this collision. , transmits a transmission signal including a mode signal indicating a group report request from the activated terminal, and each activated terminal responds to this transmission signal by outputting a return signal with a pulse width corresponding to the classification to which its own address belongs. Then, the central processing unit determines the group to which the activation terminal belongs based on the return signal, and detects the address of the activation terminal by performing this operation multiple times from the higher group classification to the lower group classification, A signal transmission method characterized in that terminal data such as monitoring data is obtained by accessing the activated terminal device.
JP63218033A 1988-08-31 1988-08-31 Signal transmission system Pending JPH0265547A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63218033A JPH0265547A (en) 1988-08-31 1988-08-31 Signal transmission system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63218033A JPH0265547A (en) 1988-08-31 1988-08-31 Signal transmission system

Publications (1)

Publication Number Publication Date
JPH0265547A true JPH0265547A (en) 1990-03-06

Family

ID=16713588

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63218033A Pending JPH0265547A (en) 1988-08-31 1988-08-31 Signal transmission system

Country Status (1)

Country Link
JP (1) JPH0265547A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2014076942A1 (en) * 2012-11-13 2014-05-22 パナソニック株式会社 Communication system and terminal device
CN107749157A (en) * 2017-01-10 2018-03-02 浙江工业大学义乌科学技术研究院有限公司 A kind of remote data acquisition system and its power consumption control method

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2014076942A1 (en) * 2012-11-13 2014-05-22 パナソニック株式会社 Communication system and terminal device
CN107749157A (en) * 2017-01-10 2018-03-02 浙江工业大学义乌科学技术研究院有限公司 A kind of remote data acquisition system and its power consumption control method

Similar Documents

Publication Publication Date Title
KR920001538B1 (en) Simultaneous data and electric power transmitting/receiving system
US5019747A (en) Illumination control apparatus
WO2002041671A2 (en) Protocol enhancement for lighting control networks and communications interface for same
JPH03217904A (en) Input module
JPH0265547A (en) Signal transmission system
CN110891346B (en) Bidirectional transmission control circuit and method for single-wire series connection of light emitting diodes
CN112040601A (en) Lamp dot matrix control device and method and LED stage lamp
CN109152128A (en) PWM mode generator circuit, corresponding device and method
JPH0662468A (en) Multiplex transmission control system
JPH07105802B2 (en) Signal transmission system
KR920009049B1 (en) Signal transmission system
JP2995882B2 (en) Multiplex transmission method
EP1656001A1 (en) Flashing lights control apparatus and method thereof
JPS6219062Y2 (en)
TWI683594B (en) Bidirectional transmission control circuit of single-line serially connected light-emitting diode
JPH03203434A (en) Signal transmission equipment
JPH02200095A (en) Signal transmission system
JPH0486098A (en) Signal transmission equipment
JPH03203435A (en) Signal transmission equipment
JPH03190089A (en) Remote load control system
JPH0662467A (en) Multiplex transmission control system
JPH04223799A (en) Remote control system
JP3004776U (en) Electric signal generation analyzer
CN113672540A (en) Two-bus system
JPH02200097A (en) Remote control system