JP2606710Y2 - Relay equipment for communication lines - Google Patents

Relay equipment for communication lines

Info

Publication number
JP2606710Y2
JP2606710Y2 JP1993015684U JP1568493U JP2606710Y2 JP 2606710 Y2 JP2606710 Y2 JP 2606710Y2 JP 1993015684 U JP1993015684 U JP 1993015684U JP 1568493 U JP1568493 U JP 1568493U JP 2606710 Y2 JP2606710 Y2 JP 2606710Y2
Authority
JP
Japan
Prior art keywords
communication
communication data
data
edge
output
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP1993015684U
Other languages
Japanese (ja)
Other versions
JPH0677348U (en
Inventor
直樹 棚井
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Keyence Corp
Original Assignee
Keyence 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 Keyence Corp filed Critical Keyence Corp
Priority to JP1993015684U priority Critical patent/JP2606710Y2/en
Publication of JPH0677348U publication Critical patent/JPH0677348U/en
Application granted granted Critical
Publication of JP2606710Y2 publication Critical patent/JP2606710Y2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Monitoring And Testing Of Transmission In General (AREA)
  • Cable Transmission Systems, Equalization Of Radio And Reduction Of Echo (AREA)

Description

【考案の詳細な説明】[Detailed description of the invention]

【0001】[0001]

【産業上の利用分野】本考案は、中継装置、特に、双方
向の通信を行う通信回線の途中に配置され、双方向の通
信データを増幅する通信回線用中継装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a repeater, and more particularly, to a repeater for a communication line which is arranged in a communication line for performing two-way communication and amplifies two-way communication data.

【0002】[0002]

【従来の技術】たとえば、生産管理システムのように、
多数の端末とホストコンピュータとを通信回線により接
続する場合、通信回線上でのデータの減衰を防止するた
めに中継装置が用いられる。この中継装置は、通信回線
の途中に配置されて双方向の通信データを増幅するもの
であり、制御部と、受信回路及び送信回路を1組とした
2組の通信回路と、通信方向を表示するための2つの表
示器とを有している。受信回路は常にデータを受信でき
る構成となっており、送信回路は、制御部からの制御に
よりデータを出力する構成となっている。
2. Description of the Related Art For example, as in a production management system,
When many terminals and host computers are connected by a communication line, a relay device is used to prevent data attenuation on the communication line. This relay device is arranged in the middle of a communication line and amplifies bidirectional communication data. The relay device includes a control unit, two communication circuits each including a reception circuit and a transmission circuit, and a communication direction. And two indicators for performing the operations. The receiving circuit is configured to always receive data, and the transmitting circuit is configured to output data under the control of the control unit.

【0003】ここでは、受信回路がデータを受信する
と、受信されたデータを制御部が確認して、送信回路に
送信許可信号を送る。送信回路は、受信した通信データ
を増幅して出力する。表示器は、受信回路が通信データ
を受信すると、その受信データにより駆動され、受信方
向を示すべく点灯する。この表示によりデータの通信方
向を把握できる。
Here, when the receiving circuit receives the data, the control unit confirms the received data and sends a transmission permission signal to the transmitting circuit. The transmission circuit amplifies and outputs the received communication data. When the receiving circuit receives the communication data, the display is driven by the received data and lights up to indicate the receiving direction. By this display, the data communication direction can be grasped.

【0004】[0004]

【考案が解決しようとする課題】前記従来の構成では、
表示器は、受信回路の通信データの受信の有無に基づい
て通信方向の表示を行うので、双方向から通信データが
受信されたときには、そのまま双方向の通信を意味する
表示を行ってしまう。ところが、双方向の通信データを
受信した場合であっても、実際に増幅して出力されるの
は制御部によって選択された一方向の通信データであ
る。つまり、中継装置中に双方向の通信データが入力さ
れると、一方の通信データしか出力されないにもかかわ
らず2つの表示器が同時に点灯する。このため、作業者
は、実際に出力された通信データを正確に把握できな
い。
SUMMARY OF THE INVENTION In the above conventional configuration,
Since the display unit displays the communication direction based on whether or not the receiving circuit has received the communication data, when the communication data is received from both directions, the display means the two-way communication. However, even when bidirectional communication data is received, what is actually amplified and output is one-way communication data selected by the control unit. In other words, when bidirectional communication data is input into the relay device, the two indicators light up at the same time even though only one communication data is output. For this reason, the operator cannot accurately grasp the actually output communication data.

【0005】本考案の目的は、通信方向を正確に把握で
きるようにすることにある。
An object of the present invention is to enable the communication direction to be accurately grasped.

【0006】[0006]

【課題を解決するための手段】本考案に係る中継装置
は、双方向の通信を行う通信回線の途中に配置され、双
方向の通信データを増幅する通信回線用の装置であっ
て、第1方向からの通信データを受信する第1受信手段
と、前記第1方向と逆方向となる第2方向からの通信デ
ータを受信する第2受信手段と、前記第1方向からの通
信データを受け、増幅して出力する第1増幅手段と、前
記第2方向からの通信データを受け、増幅して出力する
第2増幅手段と、前記第1受信手段が受信した前記通信
データのエッジを検出する第1検出手段と、前記第2受
信手段が受信した前記通信データのエッジを検出する第
2検出手段と、前記第1検出手段の検出出力及び前記第
2検出手段のエッジ検出出力に基づいて計数を開始する
計数手段と、前記計数手段の計数結果により前記第1検
出手段及び第2検出手段が前記通信データの途中から検
出したか否かを判断するとともに、前記第1検出手段及
び前記第2検出手段が前記通信データの途中から検出し
ていないと判断された後、先に上記通信データの受信を
検出した上記第1又は第2検出手段の何れか一方に係る
通信方向に上記通信データを出力することを決定し、上
記通信デ−タを、決定された通信方向に対応する上記第
1または第2増幅手段に出力する通信方向決定手段と、
前記通信方向決定手段の決定に従い前記通信方向を表示
する表示手段と、を備えたことを特徴とする。
SUMMARY OF THE INVENTION A relay device according to the present invention is a device for a communication line which is disposed in the middle of a communication line for performing bidirectional communication and amplifies bidirectional communication data. First receiving means for receiving communication data from a first direction, second receiving means for receiving communication data from a second direction opposite to the first direction, and receiving communication data from the first direction; A first amplifying means for amplifying and outputting, a second amplifying means for receiving and amplifying and outputting communication data from the second direction, and a second amplifying means for detecting an edge of the communication data received by the first receiving means. 1 detection means, second detection means for detecting an edge of the communication data received by the second reception means, and counting based on a detection output of the first detection means and an edge detection output of the second detection means. Counting means to start and the counting means It is determined whether or not the first detection means and the second detection means have detected from the middle of the communication data based on the counting result of the stage, and the first detection means and the second detection means determine from the middle of the communication data. After it is determined that the communication data has not been detected, it is determined that the communication data is to be output in the communication direction according to one of the first and second detection means that has previously detected the reception of the communication data, and Communication direction determining means for outputting data to the first or second amplifying means corresponding to the determined communication direction;
Display means for displaying the communication direction in accordance with the determination by the communication direction determination means.

【0007】[0007]

【作用】本考案に係る中継装置では、第1検出手段が第
1受信手段により受信された第1方向の通信データのエ
ッジを検出し、その通信データを第1増幅手段が増幅し
て出力する。また、第2検出手段が第2受信手段により
受信された第2方向の通信データのエッジを検出し、そ
の通信データを第2増幅手段が増幅して出力する。この
通信データの方向は、第1及び第2検出手段のエッジ検
出出力に基づいて計数を開始する計数手段の計数結果に
基づいて第1検出手段及び第2検出手段が通信データの
途中から検出したか否かを判断し、第1及び第2検出手
段が通信データの途中から検出していないと判断された
後、先に上記通信データの受信を検出した第1又は第2
検出手段の何れか一方に係る通信方向に通信データを出
力することを決定することにより決定される。そしてこ
の通信方向の決定に従い、表示手段が通信方向を示す表
示を行う。
In the repeater according to the present invention, the first detecting means detects the edge of the communication data in the first direction received by the first receiving means, and the first amplifying means amplifies and outputs the communication data. . Further, the second detecting means detects an edge of the communication data in the second direction received by the second receiving means, and the communication data is amplified and outputted by the second amplifying means. The direction of the communication data is detected from the middle of the communication data by the first detection means and the second detection means based on the counting result of the counting means which starts counting based on the edge detection output of the first and second detection means. It is determined whether or not the first and second detecting means have not detected the communication data from the middle of the communication data.
It is determined by deciding to output communication data in the communication direction related to one of the detecting means. Then, according to the determination of the communication direction, the display means performs a display indicating the communication direction.

【0008】ここでは、通信方向決定手段の決定結果に
従い通信方向を示す表示がなされるので、同時に双方向
の通信データを受信しても、実際に出力された通信デー
タの通信方向が表示され、通信方向を正確に把握でき
る。
Here, since the display indicating the communication direction is made in accordance with the result of the determination by the communication direction determining means, the communication direction of the actually output communication data is displayed even if bidirectional communication data is received at the same time. The communication direction can be accurately grasped.

【0009】[0009]

【実施例】図1において、本考案の一実施例を採用した
生産管理システムは、オンラインでリアルタイムに生産
管理を行うシステムである。この生産管理システムは、
ホストコンピュータ1と、ホストコンピュータ1に回線
コントローラ2及びシリアル通信回線3を介して接続さ
れたN個(たとえば16個)の端末41 〜4N とから構
成されている。端末41 〜4N には、それぞれ設備51
〜5N が別々に接続されている。たとえば51 〜54
プレス機A〜D、設備55 はダイキャストマシン、設備
6 ,57 はラベル貼り機A,B、設備5N-2 〜5N
梱包機A〜Cである。
In FIG. 1, a production management system adopting an embodiment of the present invention is a system for real-time production management on-line. This production management system
The host computer 1, and a terminal 4 1 to 4 N of N connected via the line controller 2 and a serial communication line 3 to the host computer 1 (e.g., 16). Terminals 4 1 to 4 N have facilities 5 1 respectively.
~ 5 N are connected separately. For example 5 1 to 5 4 are press to D, equipment 5 5 diecast machine equipment 5 6, 5 7 labeling machines A, B, equipment 5 N-2 to 5 N in packaging machines A~C is there.

【0010】端末41 〜4N は、接続された設備51
N から生産管理データを品種毎に区分けして取得す
る。生産管理データには、設備の稼働/停止、停止要
因、不良要因、生産数、不良品検出等のデータが含まれ
る。また、製品の品種やロット番号等の製品データも含
まれる。ホストコンピュータ1は、端末4で収集された
生産管理データを集計して出力する。ホストコンピュー
タ1は、たとえばパーソナルコンピュータからなり、コ
ンピュータ本体6とディスプレイ7とキーボード8とマ
ウス9とプリンタ10とを有している。回線コントロー
ラ2は、ホストコンピュータ1のRS232Cインター
フェイス(図示せず)に接続されている。
The terminals 4 1 to 4 N are connected to the connected facilities 5 1 to 5 N.
From 5 N , production management data is obtained for each product type. The production management data includes data such as the operation / stop of equipment, the cause of stoppage, the cause of failure, the number of productions, and the detection of defective products. It also includes product data such as product type and lot number. The host computer 1 totalizes and outputs the production management data collected by the terminal 4. The host computer 1 is, for example, a personal computer, and has a computer main body 6, a display 7, a keyboard 8, a mouse 9, and a printer 10. The line controller 2 is connected to an RS232C interface (not shown) of the host computer 1.

【0011】シリアル通信回線3は双方向に通信データ
を通信可能な回線である。ホストコンピュータ1から端
末4に送られる通信データとしてはホストコンピュータ
1で設定される各種の端末の設定データが含まれる。ま
た、端末4からホストコンピュータ1に通信される通信
データとしては、生産管理データ及びそれを加工した加
工データが含まれる。これらの通信データのデータ長
は、データの種類に関わらず一定である。また、通信デ
ータは、データの始まりを示すヘッダ部と、データ部
と、データの終わりを示すフッタ部とを有している。
The serial communication line 3 is a line capable of communicating communication data in both directions. The communication data sent from the host computer 1 to the terminal 4 includes various terminal setting data set by the host computer 1. The communication data transmitted from the terminal 4 to the host computer 1 includes production management data and processed data obtained by processing the data. The data length of these communication data is constant regardless of the type of data. The communication data has a header indicating the start of the data, a data, and a footer indicating the end of the data.

【0012】シリアル通信回線3の途中には、通信デー
タの減衰を防止するための中継器20が配置されてい
る。中継器20は、たとえばシリアル通信回線3の所定
距離毎に配置されている。中継器20は、図2に示すよ
うに通信方向を決定し、その決定に従って表示を行うた
めの制御部21を有している。また中継器20は、矢印
R方向の通信データを受信して制御部21に出力する第
1受信回路(RC1)22Rと、制御部21から出力さ
れた通信データを増幅して出力する第1送信回路(TC
1)22と、矢印L方向の通信データを受信して制御
部21に出力する第2受信回路(RC2)23Rと、制
御部21から出力された通信データを増幅して出力する
第2送信回路(TC2)23と、通信データの通信方
向を表示するためのLEDからなる1対の表示器2
、24bとを備えている。
In the middle of the serial communication line 3, a repeater 20 for preventing attenuation of communication data is arranged. Repeaters 20 are arranged, for example, at predetermined distances of serial communication line 3. The repeater 20 has a control unit 21 for determining a communication direction and performing display according to the determination as shown in FIG. Further, the repeater 20 receives a communication data in the direction of arrow R and outputs it to the control unit 21. A first reception circuit (RC1) 22 R that amplifies the communication data output from the control unit 21 and outputs the amplified communication data. Transmission circuit (TC
1) 22 T and arrow L direction and the second reception circuit (RC2) 23 R for outputting communication data to receive and the control unit 21, a second amplifying and outputting the communication data outputted from the control unit 21 Transmitter circuit (TC2) 23 T and a pair of indicators 2 each composed of an LED for displaying the communication direction of communication data
4 a and 24 b .

【0013】制御部21から第1及び第2送信回路22
T ,23T には、送信許可信号ENT1,ENT2がそ
れぞれ与えられる。この送信許可信号ENT1,ENT
2は、表示器24a ,24b にも与えられる。制御部2
1は、図3に示すように、第1,第2波形成形部3
a ,32b と、第1, 第2エッジ検出部33a ,33
b と、論理演算部31とを有している。第1,第2波形
成形部32a ,32b は、第1及び第2受信回路2
R ,23R で受信した通信データの高周波ノイズを取
り除くためのディジタルローパスフィルタから構成され
ている。第1,第2エッジ検出部33a ,33b は、第
1,第2受信回路22R ,23R で受信する通信データ
のエッジを検出するためのものである。
The first and second transmission circuits 22 from the control unit 21
The T, 23 T, transmission permission signal ENT1, ENT2 are given respectively. The transmission permission signals ENT1, ENT
2 is also supplied to the display device 24 a, 24 b. Control unit 2
Reference numeral 1 denotes a first and second waveform shaping unit 3 as shown in FIG.
2a , 32b and the first and second edge detectors 33a , 33
b and a logical operation unit 31. The first and second waveform shaping units 32 a and 32 b are provided with the first and second receiving circuits 2.
It is composed of a digital low-pass filter for removing high frequency noise of communication data received by 2 R and 23 R. The first and second edge detectors 33 a and 33 b are for detecting edges of communication data received by the first and second receiving circuits 22 R and 23 R.

【0014】第1,第2波形成形部32a ,32bの出
力はシフトレジスタ34に与えられる。シフトレジスタ
34は、波形成形された通信データを所定時間遅延させ
るものである。この遅延時間は、後述する論理制御部3
1のヘッダ部検出時間に適合するよう定められている。
シフトレジスタ34は、第1チャンネルと第2チャンネ
ルとを有しており、第1チャンネルは第2送信回路22
T に、第2チャンネルは第2送信回路23T にそれぞれ
接続される。
Outputs of the first and second waveform shaping units 32 a and 32 b are applied to a shift register 34. The shift register 34 delays the communication data having the shaped waveform for a predetermined time. This delay time corresponds to a logic control unit 3 described later.
It is determined so as to be compatible with one header part detection time.
The shift register 34 has a first channel and a second channel.
T and the second channel are connected to the second transmission circuit 23T , respectively.

【0015】第1,第2エッジ検出部33a ,33b
出力はカウンタA35及び論理制御部31に与えられ
る。カウンタA35は、第1,第2エッジ検出部3
a ,33b で検出されたエッジの間隔をそれぞれ測定
するためのものであり、エッジが検出される毎にクリア
され、計数を開始する。この計数値は論理制御部31に
与えられる。
A first output of the second edge detection unit 33 a, 33 b is applied to the counter A35 and the logic control unit 31. The counter A35 includes the first and second edge detection units 3
3 a, 33 b at the detected edge interval of which is for measuring respectively, are cleared each time the edge is detected, starts counting. This count value is given to the logic control unit 31.

【0016】論理制御部31は、ハードウェア構成のロ
ジック回路からなり、いずれのエッジ検出部がエッジを
検出したかを判断するとともに、検出されたエッジから
次に検出されたエッジまでのカウンタA35の計数値に
より、エッジ間のデータの有無を判断する。また、デー
タが有ると判断した場合には、その送信許可のための送
信許可信号ENT1,ENT2を第1及び第2送信回路
22T ,23T のいずれか一方に択一的に出力する。さ
らに論理制御部31は、いずれのエッジ検出部がエッジ
を検出したかによりシフトレジスタ34のチャンネル切
り換え信号を出力する。
The logic control section 31 is composed of a logic circuit having a hardware configuration. The logic control section 31 determines which edge detection section has detected an edge, and controls the counter A35 from the detected edge to the next detected edge. The presence or absence of data between edges is determined based on the count value. Further, if it is determined that data is present, which alternatively outputs the transmission permit signal ENT1, ENT2 for its transmission permission to the one of the first and second transmission circuit 22 T, 23 T. Further, the logic control unit 31 outputs a channel switching signal of the shift register 34 depending on which edge detection unit has detected the edge.

【0017】論理制御部31にはカウンタB36も接続
されている。カウンタB36は、送信許可信号ENT
1,ENT2のオン時間を定めるためのものである。こ
こで、通信データのデータ長は一定であるので、カウン
タB36は、通信速度に応じた1データ長分の時間を計
算する。次に、上述の実施例の動作を、図4に示す制御
フローチャートに従って説明する。
The logic controller 31 is also connected to a counter B36. The counter B36 outputs the transmission permission signal ENT.
1, to determine the ON time of ENT2. Here, since the data length of the communication data is constant, the counter B36 calculates a time corresponding to one data length according to the communication speed. Next, the operation of the above embodiment will be described with reference to a control flowchart shown in FIG.

【0018】論理制御部31では、まずカウンタA35
をスタートさせる。ステップS2では、カウンタA35
がオーバーフローするのを待つ。ここでカウンタA35
がオーバーフローするのを待つのは、通信データが途中
から入力されたか否かを判断するためである。カウンタ
A35がオーバーフローするとステップS3に移行す
る。ステップS3では第1エッジ検出部33a がエッジ
を検出したか否かを判断し、さらにステップS12では
第2エッジ検出部33b がエッジを検出したか否かを判
断する。
In the logic controller 31, first, the counter A35
Start. In step S2, the counter A35
Wait for overflow. Here, the counter A35
The reason for waiting for overflow is to determine whether or not communication data has been input halfway. When the counter A35 overflows, the flow shifts to step S3. In step S3 the first edge detection unit 33 a is determined whether the edge is detected, further second edge detecting unit 33 b In step S12, it is determined whether the detected edges.

【0019】ステップS3でエッジを検出した場合には
ステップS4に移行する。ステップS4では、チャンネ
ルを1にセットする。これにより、シフトレジスタ34
が第1チャンネル側に切り換えられ、シフトレジスタ3
4と第1送信回路22T とが接続される。ステップS5
ではカウンタA35をスタートさせる。ここでカウンタ
A35をスタートさせるのは、通信データの先頭に付加
されたヘッダ部を検出するためである。ステップS6で
は、カウンタA35がオーバーフローしたか否かを判断
する。ここでは、カウンタA35がオーバーフローした
か否かにより受信データがノイズか否かを判断する。つ
まり、瞬間的なノイズの場合には、一度エッジが入力さ
れても次のエッジは入力されないので、カウンタA35
がオーバーフローする。従って、ステップS6でカウン
タA35がオーバーフローしたと判断すると、入力信号
はノイズであると判断してステップS3に戻る。
If an edge is detected in step S3, the process proceeds to step S4. In step S4, the channel is set to 1. Thereby, the shift register 34
Is switched to the first channel side, and the shift register 3
4 and the first transmission circuit 22T are connected. Step S5
Then, the counter A35 is started. Here, the counter A35 is started to detect the header portion added to the head of the communication data. In the step S6, it is determined whether or not the counter A35 overflows. Here, it is determined whether or not the received data is noise based on whether or not the counter A35 overflows. That is, in the case of instantaneous noise, even if an edge is input once, the next edge is not input, so that the counter A35
Overflows. Therefore, if it is determined in step S6 that the counter A35 has overflowed, the input signal is determined to be noise and the process returns to step S3.

【0020】カウンタA35がオーバーフローするまで
はステップS6からステップS7に移行する。ステップ
S7では、第1エッジ検出部33a が再度エッジを検出
したか否かを判断する。エッジを検出していない間はス
テップS6に戻る。カウンタA35がオーバーフローす
るまでにステップS7で第1エッジ検出部33a により
エッジを検出するとステップS8に移行する。ステップ
S8では、エッジを検出したときのカウンタAの計数値
から、通信データのヘッダ部を検出したか否かを判断す
る。これにより通信データであるか否か判断する。な
お、このときの計数値(つまりヘッダ部を検出するまで
の時間)に、シフトレジスタ34の遅延時間が設定され
ている。
Until the counter A35 overflows, the process proceeds from step S6 to step S7. In step S7, the first edge detection unit 33 a determines whether or not it is detected again edge. When no edge is detected, the process returns to step S6. Counter A35 moves to step S8 when detecting the edge by the first edge detection unit 33 a in step S7 before overflowing. In step S8, it is determined whether or not the header portion of the communication data has been detected from the count value of the counter A when the edge was detected. Thus, it is determined whether the data is communication data. Note that the delay time of the shift register 34 is set to the count value (that is, the time until the header portion is detected) at this time.

【0021】ステップS8において通信データのヘッダ
部を検出できなかったときは、通信データではなくノイ
ズであると判断しステップS1に戻る。また、ヘッダ部
を検出し、通信データであると判断した場合にはステッ
プS9に移行する。ステップS9では、カウンタB36
をスタートさせ、送信許可信号ENT1をオンする。こ
れにより、シフトレジスタ34で遅延された通信データ
を第1送信回路22Tが増幅して出力する。また、表示
器24a のLEDが点灯する。ステップS10では、カ
ウンタB36の終了を待つ。前述したようにカウンタB
36は、データ通信速度に応じた1データ長の通信時間
を計測するためのものである。カウンタB36の計数が
終了するとステップS11に移行する。ステップS11
では送信許可信号ENT1をオフし、ステップS1に戻
る。これにより、第1送信回路22T の通信データ出力
が終了し、表示器24aのLEDが消灯する。
If the header part of the communication data cannot be detected in step S8, it is determined that the communication data is not noise but noise, and the process returns to step S1. If the header is detected and the data is determined to be communication data, the process proceeds to step S9. In step S9, the counter B36
Is started, and the transmission permission signal ENT1 is turned on. Thus, the communication data delayed by the shift register 34 is first transmitting circuit 22 T amplifies. Also, LED indicator 24 a is turned on. In step S10, the process waits for the end of the counter B36. Counter B as described above
36 is for measuring the communication time of one data length according to the data communication speed. Upon completion of the count by the counter B36, the flow shifts to step S11. Step S11
Then, the transmission permission signal ENT1 is turned off, and the process returns to step S1. Thus, the communication data output of the first transmission circuit 22 T is completed, LED indicator 24a is turned off.

【0022】一方、ステップS12で、第2エッジ検出
部33b がエッジを検出したと判断するとステップS1
2からステップS13に移行する。ステップS13〜ス
テップS18での動作は、ステップS4〜ステップS9
での動作とほぼ同様であり、説明を省略する。なお、ス
テップS13ではチャンネルを2にセットする。これに
より、シフトレジスタ34と第2送信回路23T とが接
続される。
On the other hand, in step S12, the second edge detection section 33 b determines that it has detected an edge step S1
The process proceeds from Step 2 to Step S13. The operations in steps S13 to S18 are performed in steps S4 to S9.
The operation is substantially the same as that described above, and the description is omitted. In step S13, the channel is set to 2. Thereby, the shift register 34 and the second transmission circuit 23T are connected.

【0023】ここでは第2エッジ検出部33b 側で検出
したエッジによりヘッダ部を検出し、通信データである
か否かを判断する。そしてノイズではなく通信データで
あると判断するとステップS18でカウンタB36をス
タートさせ、送信許可信号ENT2をオンする。これに
より、シフトレジスタ34で遅延された通信データを第
2送信回路23T が増幅して出力する。また、表示器2
b のLEDが点灯する。
[0023] Here, by detecting the header part by the edge detected by the second edge detecting unit 33 b side, it is determined whether or not communication data. When it is determined that the data is not noise but communication data, the counter B36 is started in step S18, and the transmission permission signal ENT2 is turned on. Thus, the communication data delayed by the shift register 34 is the second transmitting circuit 23 T amplifies. Display 2
4b LED turns on.

【0024】ステップS18での処理が終了するとステ
ップS10を経てステップS11に移行する。ステップ
S11では送信許可信号ENT2をオフし、ステップS
1に戻る。これにより、第2送信回路23T の通信デー
タ出力が終了し、表示器24b のLEDが消灯する。こ
こでは受信の有無に基づいて表示器24a ,24b を点
灯するのではなく、送信許可信号ENT1,ENT2に
より表示器24a , 24b を点灯しているので、実際の
通信データの通信方向に正確に対応して表示器24a
24b を点灯できる。このため、同時に通信データが受
信された場合であっても、実際の通信方向を作業者が正
確に認識できる。したがって、システムの不備の調査や
メンテナンス作業時等における作業性が向上する。
When the process in step S18 is completed, the process proceeds to step S11 via step S10. In step S11, the transmission permission signal ENT2 is turned off, and
Return to 1. Thus, the communication data output of the second transmission circuit 23 T is completed, LED indicator 24 b is turned off. Here instead of lighting the indicator 24 a, 24 b based on the presence or absence of reception, since the light the indicator 24 a, 24 b by the transmission permission signal ENT1, ENT2, the actual direction of communication of the communication data Display devices 24 a ,
You can turn on the 24 b. Therefore, even when the communication data is received at the same time, the operator can accurately recognize the actual communication direction. Therefore, the workability at the time of investigating system deficiencies and performing maintenance work is improved.

【0025】また、受信信号により表示器を直接駆動す
ると信号のデューティ比により表示器の明るさが変化す
るが、本実施例によれば表示の明るさが一定になる。さ
らに、図4のステップS6,ステップS8及びステップ
S15,ステップS17で、受信したデータが通信デー
タかノイズかを判断しているので、ノイズ等による表示
器の誤点灯が少ない。
When the display is directly driven by the received signal, the brightness of the display changes according to the duty ratio of the signal. According to the present embodiment, the brightness of the display is constant. Further, since it is determined in step S6, step S8, step S15, and step S17 in FIG. 4 whether the received data is communication data or noise, erroneous lighting of the display due to noise or the like is small.

【0026】〔他の実施例〕 (a) 図5に示すように、表示器24a ,24b の点
灯制御を送信許可信号ENT1,ENT2ではなく、制
御部21からの別の点灯制御信号DP1,DP2により
行ってもよい。この場合には、図4のステップS9及び
ステップS18で、点灯制御信号DP1,DP2を合わ
せてオンオフすればよい。
As shown in Other Embodiments (a) 5, display 24 a, 24 b rather than the transmission permission signal ENT1, ENT2 lighting control of a separate lighting control signal from the control unit 21 DP1 , DP2. In this case, the lighting control signals DP1 and DP2 may be turned on and off together in steps S9 and S18 in FIG.

【0027】この場合においても、前述した実施例と同
様の効果を得ることができる。 (b) 表示器を2つ設ける代わりに、1つの表示器に
おいて点灯する明るさや色を変えることにより方向を表
示するようにしてもよい。
In this case, the same effect as in the above-described embodiment can be obtained. (B) Instead of providing two displays, the direction may be displayed by changing the brightness or color of lighting in one display.

【0028】[0028]

【考案の効果】本考案に係る中継装置では、検出手段が
通信データの途中から検出していない場合に、通信デー
タの通信方向が決定され、その決定結果に従い通信方向
を示す表示を行うので、同時に通信データを受信した場
合を含めて、通信データの通信方向を正確に把握できる
ようになる。
In the relay device according to the present invention, the communication direction of the communication data is determined when the detection means does not detect the communication data in the middle, and a display indicating the communication direction is performed according to the determination result. At the same time, the communication direction of the communication data can be accurately grasped, including the case where the communication data is received.

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

【図1】本考案の一実施例を採用した生産管理システム
の構成ブロック図。
FIG. 1 is a configuration block diagram of a production management system employing an embodiment of the present invention.

【図2】中継器の構成ブロック図。FIG. 2 is a configuration block diagram of a repeater.

【図3】制御部の構成ブロック図。FIG. 3 is a configuration block diagram of a control unit.

【図4】論理制御部の制御フローチャート。FIG. 4 is a control flowchart of a logic control unit.

【図5】他の実施例の図2に相当する図。FIG. 5 is a diagram corresponding to FIG. 2 of another embodiment.

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

3 シリアル通信回線 20 中継器 21 制御部 22 第1受信回路 22 第1送信回路 23 第2受信回路 23 第2送信回路 24、24 表示器 31 論理制御部 33 第1エッジ検出部 33 第2エッジ検出部 35 カウンタA ENT1、ENT2 送信許可信号Reference Signs List 3 serial communication line 20 repeater 21 control unit 22 R first receiving circuit 22 T first transmitting circuit 23 R second receiving circuit 23 T second transmitting circuit 24 a , 24 b display unit 31 logical control unit 33 a first edge detector 33 b second edge detector 35 the counter A ENT1, ENT2 transmission permission signal

フロントページの続き (56)参考文献 特開 昭62−78924(JP,A) 特開 昭63−90921(JP,A) 特開 昭63−304726(JP,A) 特開 平1−173998(JP,A) 特開 昭50−87704(JP,A) 実開 昭63−68247(JP,U) (58)調査した分野(Int.Cl.7,DB名) H04B 3/00 - 3/60 Continuation of the front page (56) References JP-A-62-78924 (JP, A) JP-A-63-90921 (JP, A) JP-A-63-304726 (JP, A) JP-A-1-173998 (JP) , A) JP-A-50-87704 (JP, A) JP-A-63-68247 (JP, U) (58) Fields investigated (Int. Cl. 7 , DB name) H04B 3/00-3/60

Claims (1)

(57)【実用新案登録請求の範囲】(57) [Scope of request for utility model registration] 【請求項1】 双方向の通信を行う通信回線の途中に配
置され、双方向の通信データを増幅する通信回線用中継
装置であって、第1方向からの通信データを受信する第1受信手段と、 前記第1方向と逆方向となる第2方向からの通信データ
を受信する第2受信手段と、 前記第1方向からの通信データを受け、増幅して出力す
る第1増幅手段と、 前記第2方向からの通信データを受け、増幅して出力す
る第2増幅手段と、 前記第1受信手段が受信した前記通信データのエッジを
検出する第1検出手段と、 前記第2受信手段が受信した前記通信データのエッジを
検出する第2検出手段と、 前記第1検出手段の検出出力及び前記第2検出手段のエ
ッジ検出出力に基づいて計数を開始する計数手段と、 前記計数手段の計数結果により前記第1検出手段及び第
2検出手段が前記通信データの途中から検出したか否か
を判断するとともに、前記第1検出手段及び前記第2検
出手段が前記通信データの途中から検出していないと判
断された後、先に上記通信データの受信を検出した上記
第1又は第2検出手段の何れか一方に係る通信方向に上
記通信データを出力することを決定し、上記通信デ−タ
を、決定された通信方向に対応する上記第1または第2
増幅手段に出力する通信方向決定手段と、 前記通信方向決定手段の決定に従い前記通信方向を表示
する表示手段と、 を備えたことを特徴とする 通信回線用中継装置。
1. A communication line relay device that is arranged in a communication line for performing bidirectional communication and amplifies bidirectional communication data, wherein the first receiving means receives communication data from a first direction. And communication data from a second direction opposite to the first direction.
Receiving the communication data from the first direction, amplifying and outputting the communication data.
A first amplifying means that receives the communication data from the second direction, to output the amplified
Second amplifying means, and an edge of the communication data received by the first receiving means.
First detecting means for detecting, and an edge of the communication data received by the second receiving means.
A second detecting means for detecting, a detection output of the first detecting means and an error of the second detecting means.
Counting means for starting counting based on the edge detection output, and the first detecting means and the second detecting means based on the counting result of the counting means.
(2) Whether the detection means has detected the communication data in the middle of the communication data
And the first detection means and the second detection
It is determined that the output means has not detected from the middle of the communication data.
After being cut off, the communication
Upward in the communication direction according to one of the first and second detecting means.
The communication data is determined to be output, and the communication data is output.
With the first or the second corresponding to the determined communication direction.
Communication direction determining means for outputting to the amplifying means, and displaying the communication direction according to the determination of the communication direction determining means
A relay device for a communication line.
JP1993015684U 1993-03-31 1993-03-31 Relay equipment for communication lines Expired - Fee Related JP2606710Y2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1993015684U JP2606710Y2 (en) 1993-03-31 1993-03-31 Relay equipment for communication lines

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1993015684U JP2606710Y2 (en) 1993-03-31 1993-03-31 Relay equipment for communication lines

Publications (2)

Publication Number Publication Date
JPH0677348U JPH0677348U (en) 1994-10-28
JP2606710Y2 true JP2606710Y2 (en) 2001-01-09

Family

ID=11895587

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1993015684U Expired - Fee Related JP2606710Y2 (en) 1993-03-31 1993-03-31 Relay equipment for communication lines

Country Status (1)

Country Link
JP (1) JP2606710Y2 (en)

Also Published As

Publication number Publication date
JPH0677348U (en) 1994-10-28

Similar Documents

Publication Publication Date Title
US6973029B1 (en) Redundant serial bus and method for the operation thereof
JP2606710Y2 (en) Relay equipment for communication lines
JP3115940B2 (en) Communication line status display circuit
JPH06311569A (en) Repeater for communications line and communication system
JPH0588996A (en) Fault detection system for serial loop connection
JPH09233152A (en) Serial communication method for data processing system
JP3516152B2 (en) Synchronization establishing device
JPH06311149A (en) Repeater for communication line
JP2002359659A (en) Data processing unit and system
JPS6175651A (en) Modulator-demodulator
JP3049955B2 (en) Switching control method
JPS63117530A (en) Transmission equipment
JPH0352354A (en) Packet exchange transmission delay measurement system
JPH0344232A (en) Monitor circuit for hdlc line
JP2531107B2 (en) PCM line signal monitoring method
JP2555232B2 (en) Elevator signal transmission device
JPH03258059A (en) Speed setting system
KR20010018999A (en) Circuit and method for performing dual board
JPH04304737A (en) Fail safe method for multiplex transmission method
JPH02295273A (en) Facsimile equipment
JPH10207745A (en) Method for confirming inter-processor existence
JPH0595410A (en) On-line diagnostic system for digital in-band signal transmitter/receiver
JPS5962247A (en) Method for detecting failed part of loop transmission system
JPH0536946U (en) Line termination board for multimedia multiplexer
JPH02224438A (en) Signal repeating device

Legal Events

Date Code Title Description
R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees