JP5395593B2 - RS-232C signal remote transmission system - Google Patents
RS-232C signal remote transmission system Download PDFInfo
- Publication number
- JP5395593B2 JP5395593B2 JP2009219464A JP2009219464A JP5395593B2 JP 5395593 B2 JP5395593 B2 JP 5395593B2 JP 2009219464 A JP2009219464 A JP 2009219464A JP 2009219464 A JP2009219464 A JP 2009219464A JP 5395593 B2 JP5395593 B2 JP 5395593B2
- Authority
- JP
- Japan
- Prior art keywords
- signal
- monitoring
- transmission
- relay device
- state
- 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.)
- Active
Links
Images
Landscapes
- Dc Digital Transmission (AREA)
- Small-Scale Networks (AREA)
- Maintenance And Management Of Digital Transmission (AREA)
Description
本発明は、RS-232C信号遠隔伝送システム及びそれに使用する伝送中継装置に関するものである。更に詳しくは、一方側の回線セグメントに何らかの通信障害が生じて、両RS-232C機器間で通信ができなくなった場合、他方側の回線セグメントから遠隔位置にある側の回線セグメントの信号状態の情報を取得することができるようにした、RS-232C信号遠隔伝送システム及び伝送中継装置に関する。 The present invention relates to an RS-232C signal remote transmission system and a transmission relay device used therefor. In more detail, when communication failure occurs in one line segment and communication between both RS-232C devices becomes impossible, information on the signal status of the line segment on the remote side from the other line segment The present invention relates to an RS-232C signal remote transmission system and a transmission relay device.
シングルエンド信号(Single-ended signal)であるRS-232C信号は、伝送距離が一般的に15mまでしかサポートされていないため、RS-232C信号で通信をするRS-232C機器(端末仕様機器またはモデム仕様機器)は、そのままでは、15mを越える距離を隔てて通信をすることができない。 RS-232C signal, which is a single-ended signal, is only supported up to 15m in transmission distance, so RS-232C equipment that communicates with RS-232C signal (terminal specification equipment or modem) The specification device cannot communicate with a distance exceeding 15 m as it is.
遠隔位置にあるRS-232C機器間でRS-232C信号を伝送する遠隔伝送システムとしては、RS-232C信号とRS-422信号を相互に変換する中継機器を使用し、伝送距離を長く設定することができる差動信号(Differential Signal)であるRS-422信号を使用して中継するシステムが既に知られている。 As a remote transmission system that transmits RS-232C signals between RS-232C devices at remote locations, use a relay device that mutually converts RS-232C signals and RS-422 signals, and set a long transmission distance. There is already known a system for relaying using an RS-422 signal which is a differential signal.
このシステムは、例えば遠隔位置にある二台のRS-232C機器の間に、RS-232C信号をRS-422信号に変換する第1の中継機器とRS-422信号をRS-232C信号に変換する第2の中継機器を配し、一方のRS-232C機器から遠隔位置にある他方のRS-232C機器へRS-232C信号の伝送を行うというものである。
なお、RS-232C信号とRS-422信号を相互に変換する中継機器(特許文献1では、「入出力インタフェース」と表記)については、特許文献1においてすでに開示されている。
This system, for example, between two RS-232C devices at remote locations, a first relay device that converts RS-232C signals into RS-422 signals and RS-422 signals into RS-232C signals. A second relay device is arranged to transmit an RS-232C signal from one RS-232C device to the other RS-232C device at a remote location.
Note that a relay device (represented as “input / output interface” in Patent Document 1) that mutually converts an RS-232C signal and an RS-422 signal has already been disclosed in
しかしながら、特許文献1に記載の中継機器と同等の機器を使用した前記のような遠隔伝送システムには次のような課題があった。
従来のシステムにおいては、第1、第2の中継機器は、RS-232C信号とRS-422信号の相互の変換を行うだけであるので、一方のRS-232C機器(上位側機器)と他方のRS-232C機器(下位側機器)では、伝送経路の回線セグメント(データが到達するネットワーク)が分かれてしまう。
However, the above-described remote transmission system using a device equivalent to the relay device described in
In the conventional system, the first and second relay devices only perform mutual conversion between the RS-232C signal and the RS-422 signal, so one RS-232C device (upper side device) and the other In RS-232C equipment (lower-order equipment), the line segment of the transmission path (the network through which data arrives) is divided.
このため、例えば、一方側の回線セグメントに何らかの通信障害が生じて、両RS-232C機器間で通信ができなくなった場合、他方側の回線セグメントからは遠隔位置にある側の回線セグメントの信号状態の情報を取得できないため、通信障害の箇所が分からない。つまり、信号状態の情報が両回線セグメント間で共有できないので、場合によってはこの特定に時間がかかり、復旧が遅れてしまうことがあった。 For this reason, for example, if some communication failure occurs in one line segment and communication between both RS-232C devices becomes impossible, the signal status of the line segment on the remote side from the other line segment The information of the communication failure is not known because the information cannot be acquired. In other words, since the signal state information cannot be shared between the two line segments, in some cases, this identification takes time, and recovery may be delayed.
なお、前記両回線セグメントの片方を管理側とし、この管理側に、遠隔側の他の回線セグメントの信号状態の情報を得ることができる、いわゆる監視機能を持たせるには、例えばCPU(Central Processing Unit)を用いれば実現できる。しかし、この方法では、CPUで伝送信号を一旦バッファリングするために、処理に遅延時間が発生してしまい、正常な制御が実現できないおそれがあった。 In order to provide a so-called monitoring function in which one of the two line segments is a management side and the management side can obtain signal state information of other line segments on the remote side, for example, a CPU (Central Processing It can be realized by using (Unit). However, in this method, since the transmission signal is once buffered by the CPU, a delay time occurs in the processing, and there is a possibility that normal control cannot be realized.
また、信号の状態を監視する一般的な方法としては、LED(Light Emitting Diode)を点灯、点滅又は消灯させて行う方法があるが、通常のRS-232C機器では、データマーク「1」状態時の信号の検出を行うだけであったために、データ通信状態以外(アイドル状態)の接続状態の確認(検出)は困難であった。 In addition, as a general method for monitoring the signal state, there is a method in which an LED (Light Emitting Diode) is turned on, blinking, or turned off, but in a normal RS-232C device, when the data mark is “1” state. Therefore, it is difficult to confirm (detect) the connection state other than the data communication state (idle state).
また、RS-232Cでは、ハードウエアフロー制御のために、データ信号線の他に「CTS」(Clear to Send)と「RTS」(Request to Send)という2本の制御信号線を使用するようになっており、さらに差動信号を伝送する中継機器を使用してハードウエアフロー制御を実現しようとすると、使用する制御信号線が増大してしまうため、中継機器間のケーブルとしては、一般的なLANケーブル(UTPケーブル:Unshielded Twisted Pair Cable:4対)は使用できなかった。 RS-232C uses two control signal lines “CTS” (Clear to Send) and “RTS” (Request to Send) in addition to the data signal lines for hardware flow control. Furthermore, if you try to implement hardware flow control using a relay device that transmits differential signals, the number of control signal lines to be used increases. A LAN cable (UTP cable: Unshielded Twisted Pair Cable: 4 pairs) could not be used.
(本発明の目的)
本発明の目的は、遠隔位置にあるRS-232C機器間で中継機器を介在させてRS-232C信号を伝送するシステムであって、一方側の回線セグメントに何らかの通信障害が生じて、両RS-232C機器間で通信ができなくなった場合、他方側の回線セグメントから遠隔位置にある側の回線セグメントの信号状態の情報を取得することができるようにした、RS-232C信号遠隔伝送システム及びそれに使用する伝送中継装置を提供することである。
(Object of the present invention)
An object of the present invention is a system for transmitting an RS-232C signal between relayed RS-232C devices between remote RS-232C devices, where some communication failure occurs in one line segment, and both RS- RS-232C signal remote transmission system that can acquire information on the signal status of the remote line segment from the other line segment when communication between 232C devices becomes impossible, and its use It is to provide a transmission relay device.
上記課題を解決するために本発明が講じた手段は次のとおりである。
本発明は、
遠隔位置にあるRS-232C機器である上位側機器と下位側機器間でRS-232C信号を伝送するシステムであって、
監視側の伝送中継装置と、被監視側の伝送中継装置と、前記上位側機器と前記監視側の伝送中継装置のRS-232Cポート同士をつなぐケーブルと、前記監視側の伝送中継装置と前記被監視側の伝送中継装置の延長側ポート同士をつなぐケーブルと、前記下位側機器と前記被監視側の伝送中継装置のRS-232Cポート同士をつなぐケーブルとで構成されており、
前記監視側の伝送中継装置は、
RS-232C信号とRS-422信号を相互に変換する信号変換部と、
データ信号である監視モード信号を伝送する監視状態通知部と、
前記下位側機器側のセグメントの信号状態を表示する信号状態表示部と、
を備えており、
前記被監視側の伝送中継装置は、
RS-232C信号とRS-422信号を相互に変換する信号変換部と、
前記監視側の伝送中継装置から送られた前記監視モード信号を検知した時に、前記下位側機器側のセグメントの信号状態を示すデータ信号を前記監視側の伝送中継装置へ送る信号状態通知部と、
を備えており、
前記被監視側の伝送中継装置の信号状態通知部から前記監視側の伝送中継装置へ送られる前記下位側機器側のセグメントの信号状態を示すデータ信号のデータレートの最低速度をあらかじめ規定し、その時間分のRS232Cケーブル又はRS422ケーブルのRXD信号線のデータ信号の状態であるデータマーク状態が連続した場合に接続状態であると判断することにより、接続状態を検出するようにした、
RS-232C信号遠隔伝送システムである。
Means taken by the present invention to solve the above problems are as follows.
The present invention
A system that transmits RS-232C signals between a higher-level device and a lower-level device that are remote RS-232C devices,
Wherein the transmission relay device of the monitoring side, a transmission relay device of the monitored side, a cable connecting the RS-232C port to each other with the upper side equipment the monitoring side of the transmission relay apparatus, and the monitoring side transmission repeater under a cable for connecting the extension side port between the transmission relay device of the monitoring side, a cable connecting the RS-232C port to each other of the transmission relay device the monitored side and the lower side device,
The transmission relay device on the monitoring side is
A signal converter that converts RS-232C signals and RS-422 signals to each other;
A monitoring state notification unit for transmitting a monitoring mode signal which is a data signal ;
A signal state display unit for displaying the signal state of the segments of the lower device side,
With
The monitored transmission relay device is:
A signal converter that converts RS-232C signals and RS-422 signals to each other;
Upon detecting said monitor mode signal sent from the transmission relay device of the monitoring side, a signal state notifying unit for sending a data signal indicating a signal state of the segments of the lower device side to the monitor side transmission repeater,
With
Preliminarily defining a minimum data rate of a data signal indicating a signal state of a segment on the lower device side sent from the signal state notification unit of the monitored transmission relay device to the monitoring transmission relay device; When the data mark state, which is the state of the data signal of the RXD signal line of the RS232C cable or RS422 cable for the time, continues, the connection state is detected, and the connection state is detected.
RS-232C signal remote transmission system.
本発明は、
監視側の伝送中継装置と被監視側の伝送中継装置間で伝送される制御信号であるRTS/CTS信号をシングルエンド信号で伝送すると共に、下位側機器がアクティブになったことを送受信する制御信号であるDTR/DSR信号の伝送を行わないようにした、
請求項1記載のRS-232C信号遠隔伝送システムである。
The present invention
A control signal that transmits the RTS / CTS signal, which is a control signal transmitted between the monitoring transmission relay device and the monitored transmission relay device, as a single-ended signal, and transmits and receives that the lower-level device is active DTR / DSR signal transmission that is
The RS-232C signal remote transmission system according to
(削除)(Delete)
(削除)(Delete)
(削除)(Delete)
(作用)
本発明に係るRS-232C信号遠隔伝送システムの作用を説明する。なお、ここでは、説明で使用する各構成要件に、後述する実施の形態において各部に付与した符号を対応させて付与するが、この符号は、あくまで内容の理解を容易にするためであって、各構成要件の意味を上記各部に限定するものではない。
(Function)
The operation of the RS-232C signal remote transmission system according to the present invention will be described. In addition, here, each constituent element used in the description is assigned in correspondence with a reference numeral given to each part in the embodiment to be described later, but this reference sign is only for easy understanding of the contents, The meaning of each constituent element is not limited to each of the above parts.
RS-232C信号遠隔伝送システムによれば、延長側の信号としてデータ信号と制御信号を個別に設け、監視状態時には制御信号に例えば通信状態では使用しない高速のクロック情報を送信することにより、被監視側伝送中継装置(2)が遠隔監視状態に入ったと確認し、その状態を通知するために、通信状態と異なる複数の周波数のデータを返すことにより、被監視側伝送中継装置(2)を含む回線セグメントの状態(RS-232C状態)及び延長側の信号状態が監視側伝送中継装置(1)で識別できるようになる。 According to the RS-232C signal remote transmission system, a data signal and a control signal are separately provided as signals on the extension side, and in the monitoring state, for example, high-speed clock information that is not used in the communication state is transmitted to the control signal. Including the monitored transmission relay device (2) by confirming that the remote transmission relay device (2) has entered the remote monitoring state and returning data of multiple frequencies different from the communication state in order to notify the state The status of the line segment (RS-232C status) and the signal status on the extension side can be identified by the monitoring transmission relay device (1).
また、その信号状態の確認方法としては、監視側伝送中継装置(1)の表示LEDの点灯時間を変化させることにより識別する方法、又はIPを用いた監視装置との接続を可能にするインターフェイスを持たせることにより、遠隔地の監視装置からも監視できるようにする方法等がある。 In addition, as a method for confirming the signal state, a method of identifying by changing the lighting time of the display LED of the monitoring transmission relay device (1), or an interface that enables connection with a monitoring device using IP. There is a method of making it possible to monitor from a remote monitoring device.
FA等の用途では、制御時間が短いデータを頻繁にやり取りすることによりきめ細かな制御を実現しているが、監視機能を実現するためにCPUを介して実現しようとすると、変換のための時間が掛ることにより正常な制御が実現できないが、本発明のシステムによれば、前記のような伝送データに影響を与えずかつ簡易な方法によって高いレスポンスで遠隔監視を行うことができる。 In applications such as FA, fine control is realized by frequently exchanging data with a short control time, but if you try to implement it via the CPU to realize the monitoring function, the time for conversion will be However, according to the system of the present invention, remote monitoring can be performed with high response by a simple method without affecting the transmission data as described above.
RS-232C信号や延長側のRS-422信号の接続状態を監視するために、アイドル時はデータスペース「0」が連続しているが、通信時は調歩同期式ではデータスペース「0」状態とデータマーク「1」状態が繰り返されることから、データレートの最低速度をあらかじめ規定し、その時間分のデータマーク「1」状態が連続しても接続状態であると判断することにより、それぞれのインターフェイス機器の接続状態をモニターすることができる。 In order to monitor the connection status of the RS-232C signal and the RS-422 signal on the extension side, the data space “0” is continuous during idle, but the data space “0” state is assumed during asynchronous communication. Since the data mark “1” state is repeated, the minimum speed of the data rate is specified in advance, and even if the data mark “1” state for that time continues, it is determined that the connection state is established. The connection status of devices can be monitored.
RS-232C信号でハードウェアフロー制御を実現するために様々な制御信号(CTS/RTS/DSR/DTR)が設定されているが、RS-232C信号を延長するために、制御信号を全て差動化すると必要な制御信号線が増えてしまうので、制御信号であるRTS/CTS信号をシングルエンド信号で伝送すると共に、下位側機器がアクティブになったことを送受信する制御信号であるDTR/DSR信号はRS-232C側及びRS-422側の信号受信状態にアクティブになるような変換を行い、信号の伝送を行わないようにした。
これにより、各伝送中継装置(1,2)間での信号の伝送を比較的少ない信号線で行うことができ、一般的に普及しているLANケーブル(UTPケーブル)を用いて、伝送中継装置(1,2)を使用した伝送距離の延長が可能になる。
Various control signals (CTS / RTS / DSR / DTR) are set to realize hardware flow control with RS-232C signals, but all control signals are differential to extend RS-232C signals. As the number of control signal lines required increases, the RTS / CTS signal, which is the control signal, is transmitted as a single-ended signal, and the DTR / DSR signal, which is the control signal that transmits / receives that the lower-level device is active Changed the signal reception status on the RS-232C side and RS-422 side to become active and did not transmit the signal.
As a result, transmission of signals between each transmission relay device (1, 2) can be performed with a relatively small number of signal lines, and the transmission relay device can be used with a widely used LAN cable (UTP cable). The transmission distance using (1,2) can be extended.
本発明は、遠隔位置にあるRS-232C機器間で中継機器を介在させてRS-232C信号を伝送するシステムであって、一方側の回線セグメントに何らかの通信障害が生じて、両RS-232C機器間で通信ができなくなった場合、他方側の回線セグメントから遠隔位置にある側の回線セグメントの信号状態の情報を取得することができるようにした、RS-232C信号遠隔伝送システム及びそれに使用する伝送中継装置を提供することができる。 The present invention is a system for transmitting an RS-232C signal between relayed RS-232C devices between remote RS-232C devices, where some communication failure occurs in one line segment, and both RS-232C devices RS-232C signal remote transmission system and transmission used for it, which can acquire the signal status information of the remote line segment from the other line segment when communication between them becomes impossible A relay device can be provided.
本発明を図面に示した実施の形態に基づき詳細に説明する。 The present invention will be described in detail based on the embodiments shown in the drawings.
図1を参照する。
RS-232C信号遠隔伝送システムSは、監視側伝送中継装置1、被監視側伝送中継装置2、監視側伝送中継装置1と上位側のRS-232C機器6を接続するケーブル3、監視側伝送中継装置1と被監視側伝送中継装置2を接続するケーブル4、被監視側伝送中継装置2と下位側のRS-232C機器7を接続するケーブル5で構成されている。
Please refer to FIG.
The RS-232C signal remote transmission system S includes a monitoring
本実施の形態では、上位側のRS-232C機器6がDCE機器で、下位側のRS-232C機器7がDTE機器である場合を例にとり説明するが、双方がDCE機器である場合もあるし、双方がDTE機器である場合もある。 In this embodiment, the case where the upper RS-232C device 6 is a DCE device and the lower RS-232C device 7 is a DTE device will be described as an example. However, both may be DCE devices. In some cases, both are DTE devices.
図2を参照して、監視側伝送中継装置1の外観構造を説明する。
監視側伝送中継装置1は、ケース10の正面にRS-232Cポート11とRS-232Cポート状態表示LED12及び延長ポート13と延長ポート状態表示LED14を備えている。また、RS-232Cポート11の隣には、CTS切替スイッチ15と監視設定スイッチ(Remote State Mode Switch)16を備えている(図2(a)参照)。
With reference to FIG. 2, the external structure of the monitoring
The monitoring-side
ケース10の上面には、RS-232Cポート状態表示LED12a及び延長ポート状態表示LED14aを備えている。RS-232Cポート状態表示LED12aはRS-232Cポート状態表示LED12と同じ表示をし、延長ポート状態表示LED14aは延長ポート状態表示LED14と同じ表示をする。なお、符号17は電源表示灯である(図2(b)参照)。
On the upper surface of the
ケース10の背面には、ラックマウント用コネクタ18とDCジャック19を備えている(図2(c)参照)。ラックマウント用コネクタ18には、IP(インターネットプロトコル)を用いたインターフェイスを持つ監視装置(図示省略)を接続することができる。これにより、監視装置からIPネットワーク経由で通信障害の監視及び検出が可能となる。
A
被監視側伝送中継装置2は、監視側伝送中継装置1と同じ外観構造を有しているが、入出力インターフェイスの極性が異なっている。監視側伝送中継装置1と被監視側伝送中継装置2の各伝送中継装置は、接続するRS-232C機器がDTE機器であるかDCE機器であるかによって使い分けられる。
The monitored
図3のブロック図を参照して、監視側伝送中継装置1の制御部について説明する。
符号101は、監視側伝送中継装置1が監視状態であることを被監視側伝送中継装置2に伝えるための監視モード信号に使用するクロック信号を作成する高速クロック作成部であり、符号102は、信号変換部を構成する信号切替部であり、これらによって監視状態通知部が構成される。
符号103は、被監視側伝送中継装置2から送信される複数の回答信号の分析を行い、信号の変化部を検出するためのDPLL(Digital Phase Lock Loop)である。また、符号104は、周波数を測定するためのカウンターである。
With reference to the block diagram of FIG. 3, the control part of the monitoring
高速クロック作成部101は、内部の伝送信号よりもクロック周波数が高速の信号を作成することにより、監視される被監視側伝送中継装置2側で実データと識別できるようにし、遠隔監視設定になったことを検出した時にRTS信号を送信する。
また、監視側伝送中継装置1は、監視状態に入った時にCTS信号のクロック周波数を監視し、遠隔側機器である下位側のRS-232C機器7の信号状態を検出する。この検出結果は、前記各表示LED12、12a、14、14aや、ラックマウント用コネクタ18に接続される監視装置に状態を通知することで表すようにする。表示LED12、12a、14、14aによる表示方法は、状態により点灯時間を変化させることにより行われる。
The high-speed
Further, the monitoring-side
図4のブロック図を参照して、被監視側伝送中継装置2の監視状態検出部及び信号情報通知部について説明する。
符号203は、監視モード信号がRTS信号からきたことを検出するためのDPLLであり、符号204は、周波数を測定するためのカウンターであり、これらが監視状態検出部を構成する。また、符号205は、被監視側伝送中継装置2側の状態を通知するための複数の異なるクロック信号を作成する分周器であり、符号202は、信号切替部であり、これらが信号情報通知部を構成する。
With reference to the block diagram of FIG. 4, the monitoring state detection unit and the signal information notification unit of the monitored
被監視側伝送中継装置2は、RTS信号に実データよりも高周波数のクロック信号を検出した場合に、監視側伝送中継装置1が監視状態に入ったことを検出し、RS-232Cの結線状態やRS-232Cの制御信号状態を伝えるための複数の異なるクロック信号を分周器205によって作成し、監視側伝送中継装置1へ送信する。
The monitored
図5を参照して、伝送中継装置1、2のRS-232C側の信号検出部を説明する。
RS-232C側の信号検出部は、RS-232C信号のデータマーク「1」状態である-15V〜-3Vを検出するためのコンパレータ105と、データスペース「0」状態である+3V〜+15Vを検出するためのRS-232Cレシーバー106からなる。
With reference to FIG. 5, the signal detection unit on the RS-232C side of the
The signal detector on the RS-232C side includes a
RS-232C側の信号検出部は、前記のようにデータマーク「1」状態はコンパレータ105で検出し、データスペース「0」状態はRS-232Cレシーバー106で検出する。RS-232Cレシーバー106で検出したデータマーク「1」信号は、信号受信状態を解除しないようにするため、通信状態で一定時間継続させてカウンター107の信号(時定数は最低ボーレートを参考に算出できる)を用い、この信号とコンパレータ105で検出したデータマーク「1」信号の2種類の信号のORを取ることによりRS-232Cの信号を検出できる。
As described above, the signal detection unit on the RS-232C side detects the data mark “1” state by the
図6を参照して、伝送中継装置1、2のRS-422側の信号検出部を説明する。
延長側のRS-422の信号検出部は、差動信号のデータマーク「1」状態及びデータスペース「0」状態を検出するために、RS-422レシーバーからの入力信号であるRXD+/RXD-信号が通常の状態と+/-を入れ替えた状態の2種類の信号のORを取ることによりRS-422の信号を検出できる。
The signal detection unit on the RS-422 side of the
The RS-422 signal detector on the extension side receives the RXD + / RXD- signals that are input signals from the RS-422 receiver in order to detect the data mark “1” state and data space “0” state of the differential signal. The RS-422 signal can be detected by ORing the two types of signals in the normal state and +/- state.
なお、データマーク「1」状態とデータスペース「0」状態の変動時間がかかる場合には、グリッチ(電子回路中に現れる接触不良などに伴うノイズ)が発生するために、RS-232C側と同様にカウンター108にて信号状態を持続(時定数は最低ボーレートの立ち上がり/下がりから算出できる)させてからORを取るようにする。
Note that if the data mark “1” state and the data space “0” state take a long time to fluctuate, a glitch (noise due to contact failure appearing in the electronic circuit) is generated, which is the same as the RS-232C side. The
図7を参照して、伝送中継装置1、2のRS-232C側と延長側の回路構成を説明する。
RS-232C信号は制御信号としてCTS/RTS信号がある。これらの信号は、延長側で差動化せずに、RS-232C信号のまま伝送しても信号の変動が少ないため、問題なく遠隔伝送(長距離間での伝送)が可能である。したがって、CTS/RTS信号をRS-232Cレベル変換ICを使用してシングルエンド信号であるTTL(LVTTL)レベルに一旦変換した後に、再度RS-232C信号に変換することによって伝送が可能である。
With reference to FIG. 7, the circuit configurations of the RS-232C side and the extension side of the
RS-232C signals include CTS / RTS signals as control signals. These signals are not differentiated on the extension side, and even if they are transmitted as RS-232C signals, signal fluctuations are small, so remote transmission (transmission over long distances) is possible without problems. Therefore, transmission is possible by once converting the CTS / RTS signal to a TTL (LVTTL) level which is a single-ended signal using an RS-232C level conversion IC and then converting it again to an RS-232C signal.
また、DTR/DSR信号は、RS-232C信号が送信状態になった時点でアクティブになるため、RS-232C信号の受信状態を検出し、かつRS-422信号を検出した時点でアクティブとすることにより、伝送するための信号線を削減できる。
詳しくは、まずシングルエンド信号の伝送では、使用する信号線はn本+Gnd線でよいが、差動信号の伝送では2n+Gnd線が必要になり、単純に差動信号化を行った場合には必要な信号線が増大する。
In addition, the DTR / DSR signal becomes active when the RS-232C signal enters the transmission state, so it must be activated when the RS-232C signal reception state is detected and the RS-422 signal is detected. Thus, signal lines for transmission can be reduced.
Specifically, for single-ended signal transmission, the number of signal lines to be used may be n + Gnd lines, but for differential signal transmission, 2n + Gnd lines are required, and simple differential signals are used. The number of necessary signal lines increases.
そこで、本実施の形態では、高速伝送が必要なデータ信号は差動化してRS-422信号とし、低速(データ信号の1/10倍以下)な制御信号であるCTS/RTS信号については、RS-232C信号をそのまま伝送しても遠隔伝送可能なため、差動化しないようにした。
さらに、下位側のRS-232C機器7がアクティブになったことを送受信するDTR/DSR信号については、RS-232C信号検出回路及びRS-422信号検出回路にて端末/モデムそれぞれより信号が来ていることを検出できるようにして、その信号を代用するようにし、DTR/DSR信号の伝送を行わないようにした。
Therefore, in the present embodiment, the data signal that requires high-speed transmission is differentiated into an RS-422 signal, and the CTS / RTS signal that is a low-speed (1/10 times the data signal) control signal is RS Even if the -232C signal is transmitted as it is, it can be transmitted remotely, so it is not differentiated.
Furthermore, for the DTR / DSR signal that transmits / receives that the RS-232C device 7 on the lower side is activated, the signal comes from each terminal / modem in the RS-232C signal detection circuit and RS-422 signal detection circuit. The DTR / DSR signal is not transmitted, so that it can be detected.
これによって、データ信号用として4本+制御信号用として2本+Gnd1本の合計7本の信号線によるRS-232C信号の遠隔伝送が可能になり、したがって、通常のLANケーブル(UTPケーブル)を使用した接続が可能になった。 This enables remote transmission of RS-232C signals via a total of 7 signal lines: 4 for data signals + 2 for control signals + 1 for Gnd. Therefore, a normal LAN cable (UTP cable) can be used. The connection you used is now possible.
次に、図8を参照して、RS-232C信号遠隔伝送システムSの信号の流れを説明する。
通常のデータ伝送時には、RTS信号は一旦RS-232C信号よりTTL(Logic)信号に変換した後に再度232C信号に変換することにより遠隔伝送を行っている。
また、高速なデータ信号であるTXD信号は、RS-232C信号からTTL信号に変換した後に差動信号であるRS-422信号に変換して遠隔伝送を行う。
Next, the signal flow of the RS-232C signal remote transmission system S will be described with reference to FIG.
During normal data transmission, the RTS signal is converted from a RS-232C signal to a TTL (Logic) signal and then converted back to a 232C signal for remote transmission.
The TXD signal, which is a high-speed data signal, is converted from an RS-232C signal to a TTL signal and then converted to an RS-422 signal, which is a differential signal, for remote transmission.
RTS信号は、受信側の被監視側伝送中継装置2ではCTS信号として受信し、RS-232C信号からTTL信号に変換した後に再度RS-232C機器側で認識できるようにRS-232C信号に変換する。
また、TXD信号は、被監視側伝送中継装置2ではRXD信号として受信し、RS-422信号からTTL信号に変換した後にRS-232C機器側で認識できるようにRS-232C信号に変換する。これによりデータ信号及び制御信号(CTS/RTS信号)の遠隔伝送を行うことができる。
The RTS signal is received as a CTS signal in the monitored
The TXD signal is received as an RXD signal in the monitored
次に、監視側伝送中継装置1側で遠隔側の信号状態を監視する機能について説明する。
まず、監視側伝送中継装置1の監視設定スイッチ16のON操作により、監視を行う監視側伝送中継装置1側から、図3の上部に詳細を表した遠隔監視状態通知回路(監視状態通知部を構成)により、遠隔監視状態であることを通知する監視モード信号を被監視側伝送中継装置2側にRTS信号を用いて伝送する。なお、制御信号線を使用する監視中もデータ信号は問題なく伝送することができる。
Next, the function of monitoring the signal state on the remote side on the monitoring
First, when the
監視モード信号をCTS信号として受け取った被監視側伝送中継装置2は、それを図8の上部に詳細を表した遠隔監視状態通知信号検出回路(監視状態検出部を構成)によって検出すると、通常のCTS/RTS信号の伝送を停止する。そして、図8の下部に詳細を表した遠隔状態回答信号作成回路によって作成した下位側のRS-232C機器7を含む回線セグメントの信号状態の情報である回答信号を監視側伝送中継装置1側にRTS信号を用いて送信する。
When the monitored
それをCTS信号として受け取った監視側伝送中継装置1は、図3の下部に詳細を表した遠隔状態信号検出回路によって遠隔側である被監視側伝送中継装置2側の信号状態の検出を行い、表示LED12、12a、14、14aや監視装置への信号伝送を行う。
The monitoring
本実施の形態では、監視側伝送中継装置1のRS-232Cポート状態表示LED12は、通常時において、監視側伝送中継装置1、被監視側伝送中継装置2、上位側のRS-232C機器6及び下位側のRS-232C機器7のリンクアップ時に点灯し、通信時に点滅する。また、監視時には対向側(被監視側伝送中継装置2側)のRS-232Cポート状態表示LED12とのリンクアップ時に点灯し、対向側からのRTS信号がOFFの時に低速点滅し、対向側のRS-232Cポート状態表示LED12とのリンクダウン時に高速点滅する。なお、対向側のRS-232Cポート状態表示LED12はデータ送受信時に点灯する。
In the present embodiment, the RS-232C port
また、監視側伝送中継装置1の延長ポート状態表示LED14は、通常時において各機器1、2、6、7のリンクアップ時に点灯し、通信時に高速点滅する。監視時には対向側の延長ポート状態表示LED14とのリンクアップ時に点灯する。対向側の延長ポート状態表示LED14は被監視時に低速点滅する。なお、前記点滅の態様は、これに限定されるものではなく、適宜設定が可能である。
Further, the extended port
遠隔監視状態の解除については、監視側伝送中継装置1側の監視設定スイッチ16のOFF操作により解除される。なお、信号状態の検出は、RS232C側の信号については図5に記した回路を、RS422側の信号については図6に記した回路を用いて行っている。
The remote monitoring state is released by turning off the
本明細書で使用している用語と表現は、あくまでも説明上のものであって、なんら限定的なものではなく、本明細書に記述された特徴およびその一部と等価の用語や表現を除外する意図はない。また、本発明の技術思想の範囲内で、種々の変形態様が可能であるということは言うまでもない。 The terms and expressions used in this specification are merely explanatory and are not limiting at all, and exclude terms and expressions equivalent to the features described in this specification and parts thereof. There is no intention to do. It goes without saying that various modifications are possible within the scope of the technical idea of the present invention.
S RS-232C信号遠隔伝送システム
1 監視側伝送中継装置
10 ケース
11 RS-232Cポート
12 RS-232Cポート状態表示LED
12a RS-232Cポート状態表示LED
13 延長ポート
14 延長ポート状態表示LED
14a 延長ポート状態表示LED
15 CTS切替スイッチ
16 監視設定スイッチ
17 電源表示灯
18 ラックマウント用コネクタ
19 DCジャック
101 高速クロック作成部
102 信号切替部
103 DPLL
104 カウンター
105 コンパレータ
106 RS-232Cレシーバー
107 カウンター
108 カウンター
2 被監視側伝送中継装置
202 信号切替部
203 DPLL
204 カウンター
205 分周器
3 ケーブル
4 ケーブル
5 ケーブル
6 上位側RS-232C機器
7 下位側RS-232C機器
S RS-232C signal
12a RS-232C port status LED
13
14a Extension port status indicator LED
15
104
204
Claims (2)
監視側の伝送中継装置と、被監視側の伝送中継装置と、前記上位側機器と前記監視側の伝送中継装置のRS-232Cポート同士をつなぐケーブルと、前記監視側の伝送中継装置と前記被監視側の伝送中継装置の延長側ポート同士をつなぐケーブルと、前記下位側機器と前記被監視側の伝送中継装置のRS-232Cポート同士をつなぐケーブルとで構成されており、
前記監視側の伝送中継装置は、
RS-232C信号とRS-422信号を相互に変換する信号変換部と、
データ信号である監視モード信号を伝送する監視状態通知部と、
前記下位側機器側のセグメントの信号状態を表示する信号状態表示部と、
を備えており、
前記被監視側の伝送中継装置は、
RS-232C信号とRS-422信号を相互に変換する信号変換部と、
前記監視側の伝送中継装置から送られた前記監視モード信号を検知した時に、前記下位側機器側のセグメントの信号状態を示すデータ信号を前記監視側の伝送中継装置へ送る信号状態通知部と、
を備えており、
前記被監視側の伝送中継装置の信号状態通知部から前記監視側の伝送中継装置へ送られる前記下位側機器側のセグメントの信号状態を示すデータ信号のデータレートの最低速度をあらかじめ規定し、その時間分のRS232Cケーブル又はRS422ケーブルのRXD信号線のデータ信号の状態であるデータマーク状態が連続した場合に接続状態であると判断することにより、接続状態を検出するようにした、
RS-232C信号遠隔伝送システム。 A system that transmits RS-232C signals between a higher-level device and a lower-level device that are remote RS-232C devices,
Wherein the transmission relay device of the monitoring side, a transmission relay device of the monitored side, a cable connecting the RS-232C port to each other with the upper side equipment the monitoring side of the transmission relay apparatus, and the monitoring side transmission repeater under a cable for connecting the extension side port between the transmission relay device of the monitoring side, a cable connecting the RS-232C port to each other of the transmission relay device the monitored side and the lower side device,
The transmission relay device on the monitoring side is
A signal converter that converts RS-232C signals and RS-422 signals to each other;
A monitoring state notification unit for transmitting a monitoring mode signal which is a data signal ;
A signal state display unit for displaying the signal state of the segments of the lower device side,
With
The monitored transmission relay device is:
A signal converter that converts RS-232C signals and RS-422 signals to each other;
Upon detecting said monitor mode signal sent from the transmission relay device of the monitoring side, a signal state notifying unit for sending a data signal indicating a signal state of the segments of the lower device side to the monitor side transmission repeater,
With
Preliminarily defining a minimum data rate of a data signal indicating a signal state of a segment on the lower device side sent from the signal state notification unit of the monitored transmission relay device to the monitoring transmission relay device; When the data mark state, which is the state of the data signal of the RXD signal line of the RS232C cable or RS422 cable for the time, continues, the connection state is detected, and the connection state is detected.
RS-232C signal remote transmission system.
請求項1記載のRS-232C信号遠隔伝送システム。 A control signal that transmits the RTS / CTS signal, which is a control signal transmitted between the monitoring transmission relay device and the monitored transmission relay device, as a single-ended signal, and transmits and receives that the lower-level device is active DTR / DSR signal transmission that is
The RS-232C signal remote transmission system according to claim 1.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2009219464A JP5395593B2 (en) | 2009-09-24 | 2009-09-24 | RS-232C signal remote transmission system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2009219464A JP5395593B2 (en) | 2009-09-24 | 2009-09-24 | RS-232C signal remote transmission system |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2011071641A JP2011071641A (en) | 2011-04-07 |
JP5395593B2 true JP5395593B2 (en) | 2014-01-22 |
Family
ID=44016502
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2009219464A Active JP5395593B2 (en) | 2009-09-24 | 2009-09-24 | RS-232C signal remote transmission system |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP5395593B2 (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR200466600Y1 (en) | 2011-06-17 | 2013-05-10 | 현대인프라코어 주식회사 | Optical signal repeater capable of indicating status of communication with slaves |
KR101459573B1 (en) | 2013-05-09 | 2014-11-07 | 주식회사 삼진엘앤디 | Luminaire with Data Transmission Packet |
CN108732462B (en) * | 2018-04-12 | 2020-02-21 | 华为技术有限公司 | Detection device and method |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS59187253U (en) * | 1983-05-28 | 1984-12-12 | コアデジタル株式会社 | Data transfer adapter |
JPH06290071A (en) * | 1993-03-31 | 1994-10-18 | Fanuc Ltd | Remote diagnostic device for computer control equipment |
JP2001007889A (en) * | 1999-06-22 | 2001-01-12 | Mitsubishi Rayon Co Ltd | Data transmission system and data transmitter |
-
2009
- 2009-09-24 JP JP2009219464A patent/JP5395593B2/en active Active
Also Published As
Publication number | Publication date |
---|---|
JP2011071641A (en) | 2011-04-07 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US5414708A (en) | Method and apparatus for connecting nodes for a computer network | |
US8255582B2 (en) | Optical communication module, universal serial bus cable with the same and processing method of data transfer thereof | |
EP1202492A2 (en) | Network device and method for detecting a link failure in a network | |
US20020046355A1 (en) | Electronic device and its power control method | |
JP2836592B2 (en) | Optical transceiver and network using the optical transceiver | |
US7847561B2 (en) | Network device, network connection detector and detection method thereof | |
JP5395593B2 (en) | RS-232C signal remote transmission system | |
US20140003283A1 (en) | Network lane reconfiguration | |
CN208227042U (en) | A kind of real-time automatic fault warning device of server | |
CN107193697A (en) | A kind of method for realizing the nonpolarity connections of RS485 | |
CN108920401A (en) | It is more main mostly from I2C communication means, system and node device | |
JP4902500B2 (en) | Power control system | |
US9231755B2 (en) | Circuit arrangement and method for transmitting signals | |
CA2904763A1 (en) | Devices and methods for enabling usb communication over extension media | |
JP2012022463A (en) | Communication unit, information equipment, and information system | |
JP5800371B2 (en) | Connection diagnosis device, determination circuit, and connection diagnosis method | |
JP3623396B2 (en) | Converter for LAN | |
JP2011114526A (en) | Optical network communication system | |
US7206874B2 (en) | Status display-enabled connector for a universal asynchronous receiver/transmitter | |
KR20000039388A (en) | Matching adapter for constructing ethernet lan on existing telephone line | |
JP2011119788A (en) | Serial signal remote transmission system and transmission repeater | |
CN112449148A (en) | Camera, camera system and data transmission system | |
CN113939467B (en) | Device for connecting control device of personnel conveying equipment | |
WO2023150298A2 (en) | Monitoring technology for active optical components | |
CN113329546B (en) | Landscape lighting control system with loop type data transmission function and working method thereof |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20120820 |
|
RD02 | Notification of acceptance of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7422 Effective date: 20130401 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A821 Effective date: 20130401 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20130710 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20130723 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20130917 |
|
TRDD | Decision of grant or rejection written | ||
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20131008 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20131018 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 5395593 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |