Movatterモバイル変換


[0]ホーム

URL:


JPH07107993B2 - Multi-network controller - Google Patents

Multi-network controller

Info

Publication number
JPH07107993B2
JPH07107993B2JP31168691AJP31168691AJPH07107993B2JP H07107993 B2JPH07107993 B2JP H07107993B2JP 31168691 AJP31168691 AJP 31168691AJP 31168691 AJP31168691 AJP 31168691AJP H07107993 B2JPH07107993 B2JP H07107993B2
Authority
JP
Japan
Prior art keywords
data
line
clock
control device
unit
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
JP31168691A
Other languages
Japanese (ja)
Other versions
JPH05130109A (en
Inventor
芳博 村松
Original Assignee
株式会社ネットワークサプライ
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 株式会社ネットワークサプライfiledCritical株式会社ネットワークサプライ
Priority to JP31168691ApriorityCriticalpatent/JPH07107993B2/en
Publication of JPH05130109ApublicationCriticalpatent/JPH05130109A/en
Publication of JPH07107993B2publicationCriticalpatent/JPH07107993B2/en
Anticipated expirationlegal-statusCritical
Expired - Lifetimelegal-statusCriticalCurrent

Links

Landscapes

Description

Translated fromJapanese
【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、マルチネットワーク制
御装置に関し、さらに詳細には、光ファイバケーブル等
を通信媒体とし、他のマルチネットワーク制御装置と接
続され、相互にシリアルデータ通信可能なマルチネット
ワーク制御装置(以下、単に制御装置と言う)に関す
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a multi-network control device, and more particularly to a multi-network control device that uses an optical fiber cable or the like as a communication medium and is connected to another multi-network control device and is capable of mutual serial data communication. The present invention relates to a control device (hereinafter, simply referred to as a control device).

【0002】[0002]

【従来の技術】制御装置には、他の制御装置との間を接
続する回線の異常を検出するための回線自己診断機能が
求められている。例えば、一つの制御装置から回線診断
のための診断データを、診断しようとする回線に送信す
る。該回線に接続された他の制御装置はその診断データ
を受信すると、受信した診断データを前記一つの制御装
置に向けて送信する。該制御装置では送られてくる診断
データを受信し、送信した診断データと比較することに
よって、回線の異常の有無を検出する機能である。この
要請に答え、従来の制御装置は、送信されてくる診断デ
ータを受信し、この診断データを送信元の制御装置へ向
けて送信する機能を有している。この折り返し動作には
ソフトウェアが介在している。つまり、ソフトウェアに
て決められた手順に従って制御されるマイクロプロセッ
サと、マイクロプロセッサによりプログラミングされる
通信用LSI等を有し、通信用LSI等が診断データを
受信し、通信用LSI内部に取り込まれた診断データを
マイクロプロセッサが読み出す。マイクロプロセッサは
診断データを確認後、通信用LSIに診断データを書き
込み、通信用LSIを制御して送信元の制御装置へ送出
することにより、診断データの折り返しが可能になって
いる。
2. Description of the Related Art A control device is required to have a line self-diagnosis function for detecting an abnormality in a line connecting to another control device. For example, one control device transmits diagnostic data for line diagnosis to a line to be diagnosed. Upon receiving the diagnostic data, another control device connected to the line transmits the received diagnostic data to the one control device. The control device has a function of detecting the presence / absence of a line abnormality by receiving the diagnostic data sent thereto and comparing it with the transmitted diagnostic data. In response to this request, the conventional control device has a function of receiving the transmitted diagnostic data and transmitting this diagnostic data to the transmission source control device. Software is involved in this folding operation. That is, it has a microprocessor controlled according to a procedure determined by software, a communication LSI programmed by the microprocessor, etc., and the communication LSI etc. receives the diagnostic data and is taken into the communication LSI. The diagnostic data is read by the microprocessor. After confirming the diagnostic data, the microprocessor writes the diagnostic data in the communication LSI, controls the communication LSI, and sends the control data to the control device of the transmission source, whereby the diagnostic data can be returned.

【0003】また制御装置は、1つの制御装置から受信
したデータを他の制御装置へ送信するデータ中継機能も
求められている。例えば、複数の制御装置が環状接続、
鎖状接続等により接続されている場合であっても、制御
装置がデータ中継機能を有することで、1つの制御装置
が送信したデータを他のすべての制御装置が受信するこ
とができる。そこで、従来の制御装置は、前述した診断
データの送受信の場合と同様に、ソフトウェアにて制御
されるマイクロプロセッサが、通信用LSI等を動作さ
せてデータ中継を行っている。また、特に光ファイバケ
ーブル等を通信媒体として、高速にデータ中継を行う必
要がある場合には、受信データを制御装置の入口部分で
2系統に分け、1系統は制御装置内に取り込むため通信
用LSI等へ入力され、残りの1系統は他の制御装置途
接続される回線の出力部分へ入力され、ソフトウェアを
介在すること無くハードウェアにてデータの中継を行っ
ている。
Further, the control device is also required to have a data relay function of transmitting data received from one control device to another control device. For example, multiple controllers are connected in a ring,
Even when connected by a chain connection or the like, the control device has the data relay function, so that the data transmitted by one control device can be received by all the other control devices. Therefore, in the conventional control device, as in the case of transmitting and receiving the diagnostic data described above, the microprocessor controlled by software operates the communication LSI or the like to perform data relay. In addition, especially when it is necessary to perform high-speed data relay using a communication medium such as an optical fiber cable, the received data is divided into two systems at the entrance of the control device and one system is taken into the control device for communication. The data is input to an LSI or the like, and the remaining one system is input to an output portion of a line connected to another control device, and the data is relayed by hardware without intervening software.

【0004】[0004]

【発明が解決しようとする課題】しかしながら、上記の
従来の制御装置には次の様な課題が有る。他の制御装置
と接続する回線の診断を行う場合、一方の制御装置から
の診断データを受信する他の制御装置内での診断データ
の折り返し動作には、ソフトウェアが介在しているため
に動作が遅い。さらに回線に接続された他の制御装置が
ソフトウェアによって正常に動作していなければ、回線
が正常であっても診断データが一方の制御装置には送ら
れてこないため、一方の制御装置では回線の故障か他の
制御装置の故障かが特定できない。
However, the above-mentioned conventional control device has the following problems. When diagnosing a line connected to another control device, the loopback operation of the diagnostic data in the other control device that receives the diagnostic data from one control device is not possible because the software intervenes. slow. Furthermore, if the other control device connected to the line is not operating normally by software, diagnostic data will not be sent to one control device even if the line is normal. It is not possible to identify whether it is a failure or a failure of another control device.

【0005】また制御装置が複数個接続され、接続され
た制御装置間でシリアルデータ通信を行うために各制御
装置が有するデータ中継機能において、ソフトウェアが
介在する場合には、前記回線診断と同様な理由により、
データの伝送速度が遅くなると共に、マイクロプロセッ
サがソフトウェアによって正常に動作していなければシ
リアルデータ通信が不能となる。また受信データを制御
装置の入口部分で2系統に分ける方式のハードウェアに
てシリアルデータの中継を行っている場合には、データ
の伝送速度は格段に上がるが、複数の制御装置にてデー
タの受信および送信を繰り返すうちにデータ波形に伝送
歪みが蓄積し、データ波形が乱れ、受信不能となるため
接続できる制御装置の数が制限されるという課題があ
る。従って、本発明は上記問題点を解決すべくなされ、
その目的とするところは、診断データの折り返し、およ
びデータの中継はハードウェアにて行い、さらに送信デ
ータの波形を整形することで、高速で、しかも伝送デー
タ波形に歪みの生じにくい制御装置を提供することにあ
る。
Further, when a plurality of control devices are connected and the software intervenes in the data relay function of each control device for performing serial data communication between the connected control devices, similar to the above-mentioned line diagnosis. For reasons
The data transmission speed becomes slow, and serial data communication is disabled unless the microprocessor operates normally by software. If serial data is relayed by hardware that divides the received data into two systems at the entrance of the control device, the data transmission speed will increase dramatically, but the data transmission will be There is a problem that the number of control devices that can be connected is limited because transmission distortion accumulates in the data waveform during repeated reception and transmission, the data waveform is disturbed, and reception becomes impossible. Therefore, the present invention has been made to solve the above problems,
The purpose is to provide a control device that performs high-speed and less-distorted transmission data waveforms by returning the diagnostic data and relaying the data by hardware and shaping the waveform of the transmission data. To do.

【0006】[0006]

【課題を解決するための手段】本発明は上記目的を達成
するため次の構成を備える。すなわち、送信および受信
のための回線を有し、該回線に接続された他の制御装置
とシリアルデータ通信を行うと共に、データ中継機能を
有し、他の制御装置同士の間におけるシリアルデータ通
信のためのデータ中継を行うマルチネットワーク制御装
置において、前記回線からの受信データの1つを、予め
決められた方式に従って選択する受信データ選択部と、
該受信データ選択部にて選択された1つの受信データの
波形整形を行い、整形受信データとして出力すると共
に、第1のクロックと第2のクロックを発生させる波形
整形部と、コントロール部データを作成すると共に、前
記整形受信データと第1のクロックと第2のクロックが
入力され、第1のクロックのタイミングで整形受信デー
タを受信し、前記第2のクロックのタイミングで前記コ
ントロール部データを出力するコントロール部と、前記
整形受信データと前記コントロール部データとを切り換
え、前記回線に送信データとして出力する送信データ選
択部を具備することを特徴とする。
The present invention has the following constitution in order to achieve the above object. That is, it has a line for transmission and reception, performs serial data communication with another control device connected to the line, has a data relay function, and performs serial data communication between other control devices. In a multi-network control device for performing data relaying for receiving, a reception data selection unit that selects one of the reception data from the line according to a predetermined method,
Waveform shaping is performed on one reception data selected by the reception data selection unit and output as shaped reception data, and a waveform shaping unit for generating a first clock and a second clock and a control unit data are created. In addition, the shaped reception data, the first clock, and the second clock are input, the shaped reception data is received at the timing of the first clock, and the control unit data is output at the timing of the second clock. It is characterized by comprising a control unit and a transmission data selection unit that switches between the shaped reception data and the control unit data and outputs the transmission data to the line as transmission data.

【0007】[0007]

【作用】他の制御装置と接続される回線からの受信デー
タを受信データ選択部にて予め決められた方式に従って
1つ選択し、波形整形部にて選択された前記受信データ
の波形整形を行うと共に、コントロール部が整形受信デ
ータを受信するための第1のクロックを発生させ、前記
整形受信データとコントロール部データを送信データ選
択部にて切り換え、どちらか一方のデータを前記回線に
出力する。
The reception data selecting section selects one reception data from the line connected to another control device according to a predetermined method, and the waveform shaping section performs waveform shaping of the reception data selected. At the same time, the control unit generates a first clock for receiving the shaped reception data, the shaping reception data and the control unit data are switched by the transmission data selection unit, and either one of the data is output to the line.

【0008】[0008]

【実施例】以下、本発明の好適な実施例を添付図面に基
づいて詳細に説明する。図1は、本実施例の制御装置の
構成を示すブロック図である。まず、構成について説明
する。制御装置は、入力回線選択部10と、出力回線選
択部12と、キャリア検出部14と、受信データ選択部
16と、送信データ選択部18と、波形整形部20と、
コントロール部22とから構成されている。入力回線選
択部10は、コントロール部22からの回線選択信号I
を受け、所定の回線42の受信ラインに受信許可を与え
るものである。受信許可が与えられた回線42からの1
次受信データAのみが制御装置内へ入力される。出力回
線選択部12は、コントロール部22からの回線選択信
号Iを受け、所定の回線42の送信ラインに送信許可を
与えるものである。送信データ選択部18において選択
され、出力されたデータは送信許可が与えられた回線4
2だけから出力される。但し、受信許可を受ける回線
(受信ライン)と送信許可を受ける回線(送信ライン)
とは同一の回線42である。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENT A preferred embodiment of the present invention will be described in detail below with reference to the accompanying drawings. FIG. 1 is a block diagram showing the configuration of the control device of this embodiment. First, the configuration will be described. The control device includes an input line selection unit 10, an output line selection unit 12, a carrier detection unit 14, a reception data selection unit 16, a transmission data selection unit 18, a waveform shaping unit 20,
It is composed of a control unit 22. The input line selection unit 10 receives the line selection signal I from the control unit 22.
In response to this, the reception permission is given to the reception line of the predetermined line 42. 1 from line 42 that has received permission
Only the next received data A is input into the control device. The output line selection unit 12 receives the line selection signal I from the control unit 22 and gives a transmission permission to a transmission line of a predetermined line 42. The data selected and output by the transmission data selection unit 18 is the line 4 to which the transmission permission is given.
Output from 2 only. However, the line that receives the reception permission (reception line) and the line that receives the transmission permission (transmission line)
Is the same line 42.

【0009】受信データ選択部16は、先着優先回路2
4と端子優先回路26とから構成され、入力回線選択部
10にて選択された回線42の1次受信データAの中か
ら1つのデータを予め決められた方式に従って選択す
る。つまり、先着優先回路24にて先着の1次受信デー
タAを1つ選択する。一方、もし複数の1次受信データ
Aの入力タイミングが同時の場合には端子優先回路26
により、回線42に予め設けられた優先順位に従って、
複数の1次受信データAから1つのデータを2次受信デ
ータBとして選択する。送信データ選択部18は、ネッ
トワークを構成する他の制御装置に向けて送信するため
にコントロール部22で作成されるコントロール部デー
タGと、受信データ選択部16において選択され、後述
する波形整形部20で波形整形された整形受信データD
とを切り換えて、出力回線選択部12へ出力する。コン
トロール部22からのコントロール部データGが送信デ
ータ選択部18に入力され始めると、整形受信データD
の出力回線選択部12への出力(受信データの折り返し
動作)が禁止される。整形受信データDのみが送信デー
タ選択部18へ入力されると、整形受信データDの出力
回線選択部12への出力(受信データの折り返し動作)
が有効となる。またコントロール部22から入力される
送信データ選択信号Kにより、整形受信データDをコン
トロール部データGに優先して選択することができる。
The received data selection section 16 is provided in the first-come-first-served circuit 2
4 and the terminal priority circuit 26, and selects one data from the primary reception data A of the line 42 selected by the input line selection unit 10 according to a predetermined method. That is, the first-arrival priority circuit 24 selects one of the first-arrival primary reception data A. On the other hand, if the input timings of the plurality of primary reception data A are the same, the terminal priority circuit 26
According to the priority set in advance on the line 42,
One data is selected from the plurality of primary reception data A as the secondary reception data B. The transmission data selection unit 18 is a control unit data G created by the control unit 22 for transmission to another control device forming the network, and the reception data selection unit 16 selects the waveform shaping unit 20 which will be described later. Shaped reception data D whose waveform has been shaped by
And are output to the output line selection unit 12. When the control unit data G from the control unit 22 starts to be input to the transmission data selection unit 18, the shaped reception data D
Output to the output line selection unit 12 (return operation of received data) is prohibited. When only the shaped reception data D is input to the transmission data selection unit 18, the shaped reception data D is output to the output line selection unit 12 (reception operation of the reception data).
Is effective. Further, by the transmission data selection signal K input from the control unit 22, the shaped reception data D can be selected with priority over the control unit data G.

【0010】キャリア検出部14は、コントロール部2
2からの回路選択信号により入力許可を受けた回線42
の1次受信データAの有無を検出するためのものであ
る。1次受信データAが入力されていると、キャリア検
出回路28が1次受信データAを検出し、1次受信デー
タA有りを示すキャリア信号Hを立ち上げ(有効と
し)、一定時間出力する。キャリア信号Hはコントロー
ル部22とエッジ検出回路30へ送られ、エッジ検出回
路30でキャリア信号Hの立ち下がりエッジを検出す
る。キャリア信号Hの立ち下がりが検出されたら、エッ
ジ検出回路30は受信データ選択部16と送信データ選
択部18へ信号を出力する。受信データ選択部16内の
先着優先回路24では、次の1次受信データAの入力に
備えて、エッジ検出回路30からの信号が入力されたら
先の先着優先端子番号をリセットする。また、送信デー
タ選択部18では、エッジ検出回路30からの信号が入
力されたら整形受信データDが選択され、出力回線選択
部12へ出力されるよう設定する。
The carrier detecting section 14 includes a control section 2
Line 42 that has received input permission by the circuit selection signal from 2
It is for detecting the presence or absence of the primary reception data A. When the primary reception data A is input, the carrier detection circuit 28 detects the primary reception data A, raises (validates) the carrier signal H indicating that the primary reception data A is present, and outputs it for a fixed time. The carrier signal H is sent to the control unit 22 and the edge detection circuit 30, and the edge detection circuit 30 detects the falling edge of the carrier signal H. When the trailing edge of the carrier signal H is detected, the edge detection circuit 30 outputs a signal to the reception data selection unit 16 and the transmission data selection unit 18. The first-come-first-served circuit 24 in the reception data selection unit 16 resets the first-come-first-served priority terminal number when a signal from the edge detection circuit 30 is input in preparation for the input of the next primary reception data A. Further, the transmission data selection unit 18 is set so that the shaped reception data D is selected when the signal from the edge detection circuit 30 is input and is output to the output line selection unit 12.

【0011】波形整形部20は、データ生成部32と、
遅延回路部34と、エッジ検出部36と、第1のクロッ
ク生成部38と、第2のクロック生成部40とから構成
され、受信データ選択部16にて選択された2次受信デ
ータBの波形をデータ通信の規定に則った波形に整形す
る機能と、第1のクロックEと第2のクロックFを生成
する機能とを有する。本実施例の波形整形部20の構成
は、2次受信データBを一定時間遅らせ、遅延データC
として出力する遅延回路部34と、水晶発振器と分周回
路とから構成され、第1のクロック生成部38の駆動ク
ロックおよび送信データを送出するタイミングを規定す
る所定の周波数の第2のクロックFを発生させる第2の
クロック発生部40と、第1のクロックEの一方のエッ
ジを検出し、一定の幅のリセットパルスJを出力するエ
ッジ検出部36、遅延データCの一方のエッジを検出
し、第1のクロックEを生成する第1のクロック生成部
38と、2次受信データBと遅延データCとリセットパ
ルスJを基に、2次受信データを整形し、整形受信デー
タDとして再生し、送信データ選択部18とコントロー
ル部22へ出力するデータ生成部32とを具備すること
を特徴とする。
The waveform shaping section 20 includes a data generating section 32,
The waveform of the secondary reception data B, which includes the delay circuit unit 34, the edge detection unit 36, the first clock generation unit 38, and the second clock generation unit 40, and is selected by the reception data selection unit 16. Is shaped into a waveform that complies with the regulations of data communication, and a function of generating a first clock E and a second clock F. The configuration of the waveform shaping unit 20 of this embodiment delays the secondary reception data B by a certain time and delays the delay data C
And a second clock F having a predetermined frequency that defines the drive clock of the first clock generation unit 38 and the timing of transmitting the transmission data. The second clock generating section 40 to generate, one edge of the first clock E is detected, the edge detecting section 36 that outputs the reset pulse J having a constant width, and one edge of the delay data C is detected, Based on the first clock generation unit 38 that generates the first clock E, the secondary reception data B, the delay data C, and the reset pulse J, the secondary reception data is shaped and reproduced as shaped reception data D, It is characterized by including a transmission data selection unit 18 and a data generation unit 32 for outputting to the control unit 22.

【0012】コントロール部22は、コントロール部デ
ータGを作成すると共に、整形受信データDと第1のク
ロックEと第2のクロックFが入力され、第1のクロッ
クEのタイミングで整形受信データDを受信し、第2の
クロックFのタイミングでコントロール部データGを出
力する。コントロール部22はマイクロプロセッサを含
み、波形整形部20からの整形受信データDと第1のク
ロックEを受取り、パラレルデータに変換すると共に、
第2のクロックF発生部40から第2のクロックFを受
取り、予めマイクロプロセッサから与えられたパラレル
データをシリアルデータに変換して、コントロール部デ
ータGとして出力するものである。またコントロール部
22は、回線42を選択するための回線選択信号Iを入
力回線選択部10と出力回線選択部12へ出力する。ま
たコントロール部22は、キャリア検出部14からのキ
ャリア信号Hを見ながら、送信データ選択部18へ、強
制的に整形受信データDを選択する為の送信データ選択
信号Kを出力している。マイクロプロセッサは、予め記
憶手段(例えばROM等)に記憶された内容に従って、
動作し制御装置全体を制御する。コントロール部22に
障害が発生した際には、コントロール部22から出力さ
れる回線選択信号Iは全回線を選択し、送信データ選択
信号Kは整形受信データDを選択し、コントロール部デ
ータGは出力されないようにハードウェアにて設定され
る。
The control unit 22 creates the control unit data G, receives the shaped reception data D, the first clock E and the second clock F, and outputs the shaped reception data D at the timing of the first clock E. It receives and outputs the control part data G at the timing of the second clock F. The control unit 22 includes a microprocessor, receives the shaped reception data D and the first clock E from the waveform shaping unit 20 and converts them into parallel data.
The second clock F is received from the second clock F generator 40, the parallel data given in advance by the microprocessor is converted into serial data, and the serial data is output as the control unit data G. The control unit 22 also outputs a line selection signal I for selecting the line 42 to the input line selection unit 10 and the output line selection unit 12. The control unit 22 also outputs the transmission data selection signal K for forcibly selecting the shaped reception data D to the transmission data selection unit 18 while watching the carrier signal H from the carrier detection unit 14. The microprocessor, according to the contents stored in advance in the storage means (such as ROM),
It operates and controls the entire control device. When a failure occurs in the control unit 22, the line selection signal I output from the control unit 22 selects all lines, the transmission data selection signal K selects the shaped reception data D, and the control unit data G is output. It is set in hardware so that it will not be executed.

【0013】次に、動作について説明する。まずコント
ロール部22は、入力回線選択部10と出力回線選択部
12に回線選択信号Iを出力し、選択された回線42
(受信ラインおよび送信ライン)に受信および送信許可
を与える。受信許可を受けた回線42に受信データが入
力されると、該受信データは入力回線選択部10を通過
し、1次受信データAとして受信データ選択部16とキ
ャリア検出部14に入力される。まず受信データ選択部
16では、入力された1次受信データAから先着順位お
よび端子優先順位に従って1つの回線42からの受信デ
ータを選択する。またキャリア検出部14では、1次受
信データAが入力されたことを検出してキャリア信号H
を一定時間出力する。
Next, the operation will be described. First, the control unit 22 outputs the line selection signal I to the input line selection unit 10 and the output line selection unit 12, and selects the selected line 42.
Receive and send permission is given to (reception line and transmission line). When the reception data is input to the line 42 that has received the reception permission, the reception data passes through the input line selection unit 10 and is input to the reception data selection unit 16 and the carrier detection unit 14 as primary reception data A. First, the reception data selection unit 16 selects reception data from one line 42 from the input primary reception data A according to the first-come-first-served order and the terminal priority order. Further, the carrier detection unit 14 detects that the primary reception data A is input and detects the carrier signal H.
Is output for a fixed time.

【0014】受信データ選択部16から出力された2次
受信データBは、波形整形部20に入力される。入力さ
れた2次受信データBは遅延回路部34とデータ生成部
32へ入力され、さらに遅延回路部34を通過した遅延
データCは、データ生成部32と第1のクロック生成部
38へ入力される。第1のクロック生成部38内にはフ
リーランニングカウンタが有り、遅延データCの立ち上
がりに同期してリセットされ、その後カウントアップを
繰り返す。また、第1のクロック生成部38は前記フリ
ーランニングカウンタが所定の数カウントを行う毎に一
定パルス長のクロックパルスを出力する。このクロック
パルスを第1のクロックEとする。またカウントアップ
中に遅延データCの立ち上がりが検出されたら、前記フ
リーランニングカウンタは再度リセットされ、再びカウ
ントアップを繰り返す。これにより入力される遅延デー
タCの立ち上がりのタイミングと殆ど同じタイミングで
立ち下がると共に、デューティが略50%であり、しか
も遅延データCの1ビットの真ん中で波形が立ち上がる
第1のクロックEが生成される。
The secondary reception data B output from the reception data selection section 16 is input to the waveform shaping section 20. The input secondary reception data B is input to the delay circuit unit 34 and the data generation unit 32, and the delay data C that has passed through the delay circuit unit 34 is input to the data generation unit 32 and the first clock generation unit 38. It There is a free-running counter in the first clock generator 38, which is reset in synchronization with the rising edge of the delay data C, and then repeats counting up. Further, the first clock generation unit 38 outputs a clock pulse having a constant pulse length every time the free running counter counts a predetermined number. This clock pulse is the first clock E. When the rising edge of the delay data C is detected during the count-up, the free running counter is reset again and the count-up is repeated again. As a result, a first clock E is generated, which has almost the same timing as the rising timing of the input delay data C, has a duty of about 50%, and has a waveform rising in the middle of one bit of the delay data C. It

【0015】エッジ検出部36では、入力された第1の
クロックEの立ち下がりを検出し、リセットパルスJを
データ生成部32へ出力する。波形整形部20にあるデ
ータ生成部32には、上記のように受信データ選択部1
6から出力された2次受信データBと、遅延回路部34
を通過した遅延データCと、エッジ検出部36からのリ
セットパルスJが入力される。データ生成部32には、
フリップフロップ(FF)があり、このFFが次の様に
動作することで2次受信データBの波形整形を行ない、
整形受信データDが出力される。 遅延データCが立ち上がると、出力がHiとなる。 2次受信データBがLowの時に、リセットパルス
Jが入力されると、FFはリセットされ、出力はLow
となる。 2次受信データBがHiの時に、リセットパルスJ
が入力されても、FFはリセットされず、出力はHiの
まま保持される。
The edge detector 36 detects the falling edge of the input first clock E and outputs a reset pulse J to the data generator 32. As described above, the data generation unit 32 in the waveform shaping unit 20 includes the reception data selection unit 1
6 and the secondary reception data B output from the delay circuit unit 34.
The delay data C that has passed through and the reset pulse J from the edge detection unit 36 are input. The data generator 32 includes
There is a flip-flop (FF), and the FF operates as follows to shape the waveform of the secondary reception data B,
The shaped reception data D is output. When the delay data C rises, the output becomes Hi. When the reset pulse J is input when the secondary reception data B is Low, the FF is reset and the output is Low.
Becomes When the secondary reception data B is Hi, the reset pulse J
Is input, the FF is not reset and the output is held at Hi.

【0016】コントロール部22からのコントロール部
データGが無い場合には、送信データ選択部18にて整
形受信データDが送信データとして選択され、出力回線
選択部12へ入力される。入力された整形受信データD
は、コントロール部22からの回路選択信号により送信
許可されている全ての回線42の送信ラインから、該回
線42と接続される受信データの送信元の制御装置を含
む他の制御装置に向けて出力される。従って、受信デー
タは送信元の制御装置へ送出され、回線自己診断ができ
ると共に、他の制御装置へも同時に送出されるためデー
タ中継器としても動作する。コントロール部22からの
コントロール部データGが有る場合、整形受信データD
は出力回線選択部12へは出力されず、代わりにコント
ロール部データGが送信データとして出力される。また
コントロール部22から送信データ選択信号Kが入力さ
れた際には、コントロール部データGの有無にかかわら
ず、整形受信データDが出力される。
When there is no control section data G from the control section 22, the transmission data selection section 18 selects the shaped reception data D as transmission data and inputs it to the output line selection section 12. The input shaped reception data D
Is output from the transmission lines of all the lines 42 permitted to be transmitted by the circuit selection signal from the control unit 22 to other control devices including the control device of the transmission source of the reception data connected to the line 42. To be done. Therefore, the received data is sent to the control device of the transmission source, the line self-diagnosis can be performed, and it is also sent to other control devices at the same time, so that it also operates as a data relay. If there is control unit data G from the control unit 22, shaped reception data D
Is not output to the output line selection unit 12, but instead the control unit data G is output as transmission data. When the transmission data selection signal K is input from the control unit 22, the shaped reception data D is output regardless of the presence or absence of the control unit data G.

【0017】上記の様に、波形整形部20によって2次
受信データBの波形が整形受信データDに整形され、そ
の整形受信データDが送信データ選択部18により折り
返しが可能と成っているため、折り返し動作にソフトウ
ェアが介在する必要がない。また、複数の制御装置を接
続し、データの受信および送信を繰り返す場合でも、受
信したデータ波形を整形して送信するためデータ波形が
乱れることはない。また第1のクロックE生成部38に
おいて、第1ビット目から確実に同期した第1のクロッ
クEを生成することができる。
As described above, the waveform shaping section 20 shapes the waveform of the secondary reception data B into the shaped reception data D, and the shaped reception data D can be folded back by the transmission data selecting section 18. There is no need for software to intervene in the loopback operation. Further, even when a plurality of control devices are connected and data reception and transmission are repeated, the received data waveform is shaped and transmitted, so that the data waveform is not disturbed. In addition, the first clock E generator 38 can reliably generate the first clock E synchronized from the first bit.

【0018】以上、本発明の好適な実施例について種々
述べてきたが、本発明は上述する実施例に限定されるも
のではなく、回線毎にキャリア検出部を設けてキャリア
信号を出力回線選択部へ入力し、出力回線選択部はキャ
リア信号が有効となっている回線への送信データの出力
を禁止する回路構成とすることで、送信・受信ラインを
有する回線に代えて、1ラインの回線としてもよい等、
発明の精神を逸脱しない範囲で多くの改変を施し得るの
はもちろんである。
Although various preferred embodiments of the present invention have been described above, the present invention is not limited to the above-mentioned embodiments, and a carrier detection unit is provided for each line to output a carrier signal to an output line selection unit. The output line selection unit has a circuit configuration that prohibits the output of transmission data to the line where the carrier signal is valid. Moyo, etc.
Of course, many modifications can be made without departing from the spirit of the invention.

【0019】[0019]

【発明の効果】本発明に係るマルチネットワーク制御装
置を用いると、受信データ選択部で選択された1つの受
信データは波形整形部にて波形整形され、その整形受信
データとコントロール部データを送信データ選択部にて
切り換え、回線に出力することができる。従って、回線
診断を行う場合の診断データの折り返し動作に、ソフト
ウェアが介在しないので診断動作が速い。また被診断回
線に接続された制御装置のソフトウェアが正常に動作し
ていない場合でも、折り返し動作はハードウェアにより
可能なため、回線が正常であれば診断データが戻ってく
る。従って回線の故障か他の制御装置の故障かが特定で
きる。また制御装置が複数個接続され、接続された制御
装置間でシリアルデータ通信を行う場合、各制御装置の
データ中継機能はハードウェアで構成されているため、
データの伝送速度が速い。中間に配置された制御装置の
ソフトウェアが正常に動作していなくとも、シリアルデ
ータ通信は可能となる。また受信データの波形整形を波
形整形部にてハードウェアにて行っているため、複数の
制御装置にてデータの受信および送信を繰り返してもデ
ータ波形に伝送歪みが蓄積することは無く、従って接続
できる制御装置の数が制限されるということはないとい
う著効を奏する。
When the multi-network control device according to the present invention is used, one reception data selected by the reception data selection unit is waveform-shaped by the waveform shaping unit, and the shaped reception data and control unit data are transmitted. It can be switched by the selection unit and output to the line. Therefore, since the software does not intervene in the loopback operation of the diagnostic data when the line diagnosis is performed, the diagnostic operation is fast. Further, even if the software of the control device connected to the line to be diagnosed is not operating normally, the loopback operation can be performed by the hardware, so that the diagnostic data is returned if the line is normal. Therefore, it is possible to identify whether the line is broken or another control device is broken. Further, when a plurality of control devices are connected and serial data communication is performed between the connected control devices, the data relay function of each control device is configured by hardware,
The data transmission speed is fast. Even if the software of the control device arranged in the middle is not operating normally, serial data communication is possible. Also, because the waveform shaping of the received data is performed by hardware in the waveform shaping section, transmission distortion does not accumulate in the data waveform even if data is repeatedly received and transmitted by multiple control devices, and therefore connection is performed. The remarkable effect is that the number of control devices that can be used is not limited.

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

【図1】本発明に係るマルチネットワーク制御装置の一
実施例を示すブロックダイアグラムである。
FIG. 1 is a block diagram showing an embodiment of a multi-network control device according to the present invention.

【符号の説明】[Explanation of symbols]

16 受信データ選択部 18 送信データ選択部 20 波形整形部 22 コントロール部 42 回線 16 reception data selection section 18 transmission data selection section 20 waveform shaping section 22 control section 42 line

Claims (1)

Translated fromJapanese
【特許請求の範囲】[Claims]【請求項1】 送信および受信のための回線を有し、該
回線に接続された他の制御装置とシリアルデータ通信を
行うと共に、データ中継機能を有し、他の制御装置同士
の間におけるシリアルデータ通信のためのデータ中継を
行うマルチネットワーク制御装置において、 前記回線からの受信データの1つを、予め決められた方
式に従って選択する受信データ選択部と、 該受信データ選択部にて選択された1つの受信データの
波形整形を行い、整形受信データとして出力すると共
に、第1のクロックと第2のクロックを発生させる波形
整形部と、 コントロール部データを作成すると共に、前記整形受信
データと第1のクロックと第2のクロックが入力され、
第1のクロックのタイミングで整形受信データを受信
し、前記第2のクロックのタイミングで前記コントロー
ル部データを出力するコントロール部と、 前記整形受信データと前記コントロール部データとを切
り換え、前記回線に送信データとして出力する送信デー
タ選択部を具備することを特徴とするマルチネットワー
ク制御装置。
1. A serial communication between other control devices having a line for transmission and reception, performing serial data communication with another control device connected to the line, and having a data relay function. In a multi-network control device for relaying data for data communication, one of the received data from the line is selected by a received data selection unit according to a predetermined method and the received data selection unit. Waveform shaping of one received data is performed and output as shaped received data, and a waveform shaping unit for generating a first clock and a second clock and a control unit data are created, and the shaped received data and the first received data are generated. Clock and second clock are input,
A control unit that receives the shaped reception data at the timing of the first clock and outputs the control unit data at the timing of the second clock, and switches between the shaped reception data and the control unit data and transmits to the line. A multi-network control device comprising a transmission data selection unit for outputting as data.
JP31168691A1991-10-301991-10-30 Multi-network controllerExpired - LifetimeJPH07107993B2 (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
JP31168691AJPH07107993B2 (en)1991-10-301991-10-30 Multi-network controller

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
JP31168691AJPH07107993B2 (en)1991-10-301991-10-30 Multi-network controller

Publications (2)

Publication NumberPublication Date
JPH05130109A JPH05130109A (en)1993-05-25
JPH07107993B2true JPH07107993B2 (en)1995-11-15

Family

ID=18020249

Family Applications (1)

Application NumberTitlePriority DateFiling Date
JP31168691AExpired - LifetimeJPH07107993B2 (en)1991-10-301991-10-30 Multi-network controller

Country Status (1)

CountryLink
JP (1)JPH07107993B2 (en)

Also Published As

Publication numberPublication date
JPH05130109A (en)1993-05-25

Similar Documents

PublicationPublication DateTitle
US7680144B2 (en)Device coupled between serial busses using bitwise arbitration
CA1191918A (en)Multipoint data communication system with local arbitration
EP0119003B1 (en)Method and apparatus for the detection and regeneration of a lost token in a token based data communications network
JP2566774B2 (en) Method for serial peripheral interface SPI in serial data bus
EP0152013A2 (en)Synchronous/asynchronous communication system
GB2127255A (en)Improvements in or relating to data interconnecting networks
JPS59202753A (en)Data communication system
EP0439646A1 (en)Optical star network protocol and system with minimised delay between consecutive packets
JPH07107993B2 (en) Multi-network controller
JPS61161842A (en) Signal transmission method
KR0136472B1 (en)Communication system of audio/video system
EP0216379A2 (en)Communication method and equipment therefor
JPS5951794B2 (en) Control method of distributed electronic exchange
JPH11243405A (en)Asynchronous serial communication system
JPS588622B2 (en) Data Densou Houshiki
JPS60152153A (en)Bi-directional repeater
KR100267344B1 (en)Apparatus and method for collision protecting of transmitting data in hdlc bus structured switching system
JPH0621999A (en)Serial communication equipment
JPS60204144A (en)Fault detecting system in bus type communication system
JPS63116538A (en)Data transmission retrial system
JPS61224637A (en)Data transmission system
JPH0815275B2 (en) Data transmission system and data transmission method between a plurality of devices
JPH07101877B2 (en) Terminal device
JPH03285429A (en)Signal transmission system
JPS63153936A (en) relay device

[8]ページ先頭

©2009-2025 Movatter.jp