JP2005070975A - Repeater system and control system - Google Patents
Repeater system and control system Download PDFInfo
- Publication number
- JP2005070975A JP2005070975A JP2003297764A JP2003297764A JP2005070975A JP 2005070975 A JP2005070975 A JP 2005070975A JP 2003297764 A JP2003297764 A JP 2003297764A JP 2003297764 A JP2003297764 A JP 2003297764A JP 2005070975 A JP2005070975 A JP 2005070975A
- Authority
- JP
- Japan
- Prior art keywords
- communication
- communication port
- control
- relay
- signal
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Abstract
Description
本発明は、パーソナルコンピュータ等の制御装置及び該制御装置により遠隔制御される映像装置等の被制御装置間の通信を中継する中継装置、並びにその装置を用いた制御システムに関し、特に制御装置及び被制御装置間で送受信される信号の通信規約を変換する中継装置及び制御システムに関する。 The present invention relates to a control device such as a personal computer, a relay device that relays communication between controlled devices such as video devices remotely controlled by the control device, and a control system using the device, and more particularly to the control device and the controlled device. The present invention relates to a relay device and a control system that convert communication protocols for signals transmitted and received between control devices.
例えば学校の視聴覚教室及びシアタールームに備え付けられるプロジェクション装置等の映像装置はRS−232C及びRS−422等の規格に基づくシリアル伝送用の通信ポートを備えており、シリアル伝送用の通信ポートを介してパーソナルコンピュータ及び専用の集中操作端末装置等の制御装置と接続することにより、映像装置は制御装置により遠隔制御される被制御装置として動作する。 For example, video devices such as projection devices installed in audiovisual classrooms and theater rooms of schools have communication ports for serial transmission based on standards such as RS-232C and RS-422, and the communication ports for serial transmission are used. By connecting with a control device such as a personal computer and a dedicated centralized operation terminal device, the video device operates as a controlled device that is remotely controlled by the control device.
このように映像装置を被制御装置とし制御装置にて遠隔操作することにより、被制御装置である映像装置は、シアタールームにある他の機器と共通のパーソナルコンピュータ用アプリケーションソフト及び専用の集中操作端末装置による操作を受け付け、また制御装置では、被制御装置を制御するための様々な管理情報を被制御装置から取得することが可能になる。 In this way, the video device as a controlled device is remotely controlled by the control device, so that the video device that is the controlled device is a personal computer application software that is common with other devices in the theater room and a dedicated central operation terminal An operation by the apparatus is accepted, and the control apparatus can acquire various management information for controlling the controlled apparatus from the controlled apparatus.
また近年では、プロジェクション装置等の映像装置の制御に建造物中の既存のLAN(Local Area Network)を使用するという要求が増加しており、これらの要求に対して、シリアル伝送用ポートと、LAN用の通信ポートとを備え、TCP/IP等のLANの通信を規定する通信規約及びシリアル伝送を規定する通信規約を相互に変換する機能を有する中継装置が、シリアル−TCP/IPプロトコル変換機として普及し始めている。 In recent years, there has been an increasing demand to use an existing LAN (Local Area Network) in a building for controlling a video device such as a projection device. In response to these requests, a serial transmission port and a LAN Is a serial-TCP / IP protocol converter that includes a communication port for communication, and has a function of mutually converting a communication protocol that defines LAN communication such as TCP / IP and a communication protocol that defines serial transmission. It has begun to spread.
このようなシリアル−TCP/IPプロトコル変換機と呼ばれる中継装置は、シリアル伝送用の一の通信ポートと、LAN用の一の通信ポートとを備え、夫々の通信ポートは、全二重又は半二重により、接続する他の装置と相互に通信を行い、送信及び受信のいずれにも使用することが可能である。 Such a relay device called a serial-TCP / IP protocol converter includes one communication port for serial transmission and one communication port for LAN. Each communication port is full-duplex or half-duplex. It is possible to communicate with other devices to be connected to each other and use it for both transmission and reception.
図14は、従来の中継装置を用いた制御システムの構成を示すブロック図である。図14中10a及び10bは中継装置であり、中継装置10a及び中継装置10bの間は、LAN用の通信ポートを介して、TCP/IP等のプロトコルにて規定されたイーサネット(登録商標)等のLANにて接続されている。 FIG. 14 is a block diagram showing a configuration of a control system using a conventional relay device. In FIG. 14, reference numerals 10a and 10b denote relay apparatuses. Between the relay apparatus 10a and the relay apparatus 10b, Ethernet (registered trademark) or the like defined by a protocol such as TCP / IP is provided via a LAN communication port. Connected via LAN.
さらに中継装置10aは、集中操作用パネル等の制御装置30にシリアル伝送用の通信ポートを介して接続し、中継装置10bは、プロジェクション装置等の被制御装置20にシリアル伝送用の通信ポートを介して接続している。
Further, the relay device 10a is connected to a
図14に示した様に2台の中継装置10a,10bを用いて中継装置10a及び中継装置10b間をLANにて接続することにより、中継装置10a,10b及びLANを仮想的なシリアルケーブルとして用いることができるので、制御装置30により被制御装置20を、LANを介して制御することが可能になる。
As shown in FIG. 14, the relay devices 10a and 10b and the LAN are used as virtual serial cables by connecting the relay devices 10a and 10b with a LAN using two relay devices 10a and 10b. Therefore, the controlled
図15は、従来の中継装置を用いた制御システムの構成を示すブロック図である。図15に示す制御システムは、中継装置10により、パーソナルコンピュータ等の制御装置30及びプロジェクション装置等の被制御装置20を接続した構成であり、シリアル伝送用の通信ポートを有する被制御装置20を、LAN用の通信ポートを有する制御装置30により制御することができる。
FIG. 15 is a block diagram showing a configuration of a control system using a conventional relay device. The control system shown in FIG. 15 has a configuration in which a
そして図14及び図15等の制御システムにて用いられる中継装置は、例えばシリアル伝送用の通信ポートから受信したシリアル伝送のプロトコル(通信規約)に基づくキャラクタデータをTCP/IP等のプロトコルに基づくパケットに変換し、またLAN用の通信ポートからTCP/IP等のプロトコルに基づきパケット化されたデータを抽出してシリアル伝送のプロトコルに基づくキャラクタデータに変換するプロトコル変換機能を有している。 The relay device used in the control system shown in FIGS. 14 and 15, for example, transmits character data based on a serial transmission protocol (communication protocol) received from a serial transmission communication port to a packet based on a protocol such as TCP / IP. And a protocol conversion function for extracting data packetized from a LAN communication port based on a protocol such as TCP / IP and converting it into character data based on a serial transmission protocol.
制御装置であるパーソナルコンピュータと、シリアル通信機能を有する被制御装置である各種情報機器とを接続する装置とは、例えば特許文献1にも示されている。
しかしながら従来の中継装置は、被制御装置が備えるシリアル伝送用の通信ポートをLAN用の通信ポートに置き換えるだけのものであるため、一のシリアル伝送用の通信ポートを備える被制御装置に従来の制御装置を接続した場合、被制御装置は見かけ上、一のLAN用の通信ポートを備える被制御装置となるため、LANを介しての制御を行うことが可能になる反面、従来からのハードウェア資源を活かしたシリアル伝送用の通信ポートを介しての制御を行うことができなくなるという問題がある。 However, since the conventional relay device simply replaces the serial transmission communication port provided in the controlled device with the LAN communication port, the conventional relay device has the conventional control over the controlled device provided with one serial transmission communication port. When a device is connected, the controlled device appears to be a controlled device having a single LAN communication port, so control can be performed via the LAN, but conventional hardware resources There is a problem that control cannot be performed via a communication port for serial transmission utilizing the above.
この問題は、図14を用いて説明した様に二の中継装置を用いることにより、シリアル伝送用の通信ポートを介しての制御が可能になるが、この場合、LANを単なる伝送路として使用するだけであり、マルチ接続及びブロードキャスト通信等のLANの特徴的な機能を使うことができないという問題がある。 As described with reference to FIG. 14, this problem can be controlled through the serial transmission communication port by using two relay devices. In this case, the LAN is used as a simple transmission path. However, there is a problem that the characteristic functions of the LAN such as multi-connection and broadcast communication cannot be used.
本発明は斯かる事情に鑑みてなされたものであり、被制御装置を接続するシリアル伝送用の第1通信ポートと、被制御装置を接続するシリアル伝送用及びLAN用の複数の第2通信ポートとを備えることにより、被制御装置をシリアル伝送用の通信ポート及びLAN用の通信ポートを備える装置として見なすことができるので、従来のハードウェア資源を活かした制御システム及びLANの特徴的な機能を使うことが可能な制御システムを実現することが可能な中継装置、及びその中継装置を備える制御システムの提供を目的とする。 The present invention has been made in view of such circumstances, and includes a first communication port for serial transmission for connecting a controlled device, and a plurality of second communication ports for serial transmission and LAN for connecting a controlled device. Since the controlled device can be regarded as a device having a communication port for serial transmission and a communication port for LAN, the characteristic functions of the control system and LAN utilizing the conventional hardware resources can be obtained. It is an object of the present invention to provide a relay device capable of realizing a control system that can be used, and a control system including the relay device.
本発明は、第1通信ポート及び複数の第2通信ポートを備え、第1通信ポートを介して接続する装置及び第2通信ポートを介して接続する装置間の通信を中継する中継装置において、前記第1通信ポートは、シリアル伝送用ポートであり、前記第2通信ポートは、シリアル伝送用ポート及びシリアル伝送と異なる通信規約に基づいて通信処理を行う異規約ポートを含み、シリアル伝送用の通信規約に基づき送受信される信号及びシリアル伝送と異なる通信規約に基づき送受信される信号の通信規約を相互に変換する手段を備えることを特徴とする。 The present invention includes a first communication port and a plurality of second communication ports, and a relay device that relays communication between a device connected via the first communication port and a device connected via the second communication port. The first communication port is a serial transmission port, and the second communication port includes a serial transmission port and a different protocol port for performing communication processing based on a communication protocol different from that of serial transmission. And a means for mutually converting a communication protocol of a signal transmitted and received based on the communication protocol of a signal transmitted and received based on a communication protocol different from that of serial transmission.
本発明では、プロジェクション装置等の被制御装置に接続する第1通信ポートと、被制御装置を制御する制御装置を接続することが可能な複数種類の第2通信ポートとを備えることにより、従来から普及しているハードウェア資源を活かしたシリアル伝送用の通信規約に基づき制御を行う制御装置と、シリアル伝送と異なる通信規約に基づき制御を行う制御装置とを接続し、夫々の制御装置により被制御装置を制御することが可能である。 In the present invention, by providing a first communication port connected to a controlled device such as a projection device and a plurality of types of second communication ports capable of connecting a control device that controls the controlled device, A control device that performs control based on a communication protocol for serial transmission utilizing popular hardware resources and a control device that performs control based on a communication protocol different from serial transmission are connected to each other and controlled by each control device. It is possible to control the device.
本発明は、前記シリアル伝送用ポート及び/又は異規約ポートは複数であることを特徴とする。 The present invention is characterized in that there are a plurality of serial transmission ports and / or different protocol ports.
本発明では、第2通信ポートであるシリアル伝送用ポート及び/又は異規約ポートを複数備えることにより、被制御装置を複数の通信ポートを備える装置として用いることができるので、複数の制御装置を接続し、より複雑な管理及び操作等の制御を行うことが可能である。 In the present invention, by providing a plurality of serial transmission ports and / or different protocol ports as the second communication port, the controlled device can be used as a device having a plurality of communication ports, so that a plurality of control devices are connected. In addition, it is possible to control more complicated management and operation.
本発明は、第1通信ポートとの間の通信を中継する一の第2通信ポートを選択する手段を更に備えることを特徴とする。 The present invention further includes means for selecting one second communication port for relaying communication with the first communication port.
本発明では、第1通信ポートとの通信の中継を複数の第2通信ポートの中の選択された一の通信ポートに占有させることにより、被制御装置が複数の制御装置から同時に制御信号を受信したことを原因として、動作が異常になることを防止することが可能である。 In the present invention, a controlled device receives control signals from a plurality of control devices at the same time by occupying one selected communication port among a plurality of second communication ports for relaying communication with the first communication port. It is possible to prevent the operation from becoming abnormal due to the above.
本発明は、第1通信ポートとの間の通信を中継する一の第2通信ポートとして選択されていない他の第2通信ポートが、外部の装置から信号を受信した場合に、信号の送信元へ通信が不可であることを示す信号を送信する手段を更に備えることを特徴とする。 The present invention provides a signal transmission source when another second communication port not selected as one second communication port that relays communication with the first communication port receives a signal from an external device. The apparatus further comprises means for transmitting a signal indicating that communication is impossible.
本発明では、選択された一の第2通信ポートが通信の中継を占有するため中継不可能となる他の第2通信ポートが、制御装置から制御信号等の信号を受信した場合に、受信した信号を無効にして、信号の送信元の制御装置へ通信が不可であることを示すERR信号等の信号を送信することにより、制御装置側では被制御装置がビジー状態であることを認識し、所定時間待機後信号再送信等の処理を行うことが可能である。 In the present invention, when the selected second communication port occupies the relay of the communication and the other second communication port that cannot be relayed receives a signal such as a control signal from the control device, it is received. By invalidating the signal and transmitting a signal such as an ERR signal indicating that communication is not possible to the control device that transmitted the signal, the control device recognizes that the controlled device is busy, It is possible to perform processing such as signal retransmission after waiting for a predetermined time.
本発明は、第1通信ポートとの間の通信を中継する一の第2通信ポートとして選択されていない他の第2通信ポートが、外部の装置から信号を受信した場合に、受信した信号を記憶する手段と、記憶した信号に対応する第2通信ポートが、通信を中継する一の第2通信ポートとして選択されたときに、記憶している信号を、第1通信ポートを介して接続する装置へ送信する手段とを更に備えることを特徴とする。 In the present invention, when another second communication port that is not selected as one second communication port that relays communication with the first communication port receives a signal from an external device, the received signal is When the second communication port corresponding to the stored signal and the stored signal is selected as one second communication port for relaying communication, the stored signal is connected via the first communication port. And a means for transmitting to the apparatus.
本発明では、選択された一の第2通信ポートが通信の中継を占有するため中継不可能となる他の第2通信ポートが、接続している制御装置から制御信号等の信号を受信した場合に、内蔵しているメモリに記憶(バッファリング)し、一の第2通信ポートによる占有が解除され、記憶した信号に対応する第2通信ポートが選択された段階で、記憶している信号を第1通信ポートに接続している被制御装置へ送信することにより、第2通信ポートが受信した信号の中継の確実性を高めることが可能であり、また信号の再送信による制御装置側の処理不可及び通信負荷の増大を防止することが可能である。 In the present invention, when the selected second communication port occupies communication relay and another second communication port that cannot be relayed receives a signal such as a control signal from the connected control device The stored signal is stored (buffered) in the built-in memory, and when the second communication port corresponding to the stored signal is selected after the occupation by the second communication port is released, the stored signal is stored. By transmitting to the controlled device connected to the first communication port, it is possible to improve the certainty of relaying the signal received by the second communication port, and processing on the control device side by signal retransmission Impossibility and an increase in communication load can be prevented.
本発明は、前記異規約ポートは、TCP/IPとして規定された通信規約に基づいて通信処理を行うことを特徴とする。 The present invention is characterized in that the different protocol port performs communication processing based on a communication protocol defined as TCP / IP.
本発明では、広く普及しているTCP/IPとして規定された通信規約に対応させることにより、様々な通信網及び様々な制御機械に接続することが可能である。 In the present invention, it is possible to connect to various communication networks and various control machines by corresponding to the communication protocol defined as TCP / IP which is widely spread.
本発明は、上述した中継装置と、該中継装置に第1通信ポートを介して接続してある制御装置と、該制御装置に制御され、前記中継装置に第2通信ポートを介して接続してある被制御装置とを備えることを特徴とする。 The present invention includes the above-described relay device, a control device connected to the relay device via a first communication port, and a control device controlled by the control device and connected to the relay device via a second communication port. And a controlled device.
本発明では、プロジェクション装置等の被制御装置を、中継装置が備える第1通信ポートに接続し、パーソナルコンピュータ等の複数の制御装置を、中継装置が備える第2通信ポートに接続することにより、従来から普及しているハードウェア資源を活かしたシリアル伝送用の通信規約に基づき制御を行う制御装置と、シリアル伝送と異なる通信規約に基づき制御を行う制御装置とを接続し、夫々の制御装置により被制御装置を制御することが可能である。 In the present invention, a controlled device such as a projection device is connected to a first communication port included in a relay device, and a plurality of control devices such as a personal computer are connected to a second communication port included in the relay device. A control device that performs control based on a communication protocol for serial transmission that utilizes hardware resources that is widely used in Japan and a control device that performs control based on a communication protocol different from serial transmission are connected to each other and are controlled by each control device. It is possible to control the control device.
本発明の中継装置及び制御システムでは、プロジェクション装置等の被制御装置及びパーソナルコンピュータ等の制御装置間の通信を中継する中継装置に、RS−232C等のシリアル伝送用の通信規約に基づき被制御装置と接続するシリアル伝送用ポートである一の第1通信ポート、並びにシリアル伝送用ポート及びシリアル伝送と異なるTCP/IP等の通信規約に基づく異規約ポートを含む複数の第2通信ポートを備えさせる。 In the relay apparatus and control system of the present invention, the controlled apparatus based on the serial transmission communication protocol such as RS-232C is used as the relay apparatus that relays communication between the controlled apparatus such as the projection apparatus and the control apparatus such as the personal computer. A plurality of second communication ports including a first communication port that is a serial transmission port connected to the communication port and a different protocol port based on a communication protocol such as TCP / IP different from the serial transmission port and serial transmission.
この構成により、一のシリアル伝送用ポートのみを備える被制御装置をシリアル伝送用ポート及び異規約ポートを備える被制御用装置として用いることが可能となり、このため従来から普及しているハードウェア資源を活かしたシリアル伝送用の通信規約に基づき制御を行う制御装置と、インターネット及びLAN等の通信網で広く用いられるTCP/IP等の通信規約に基づき制御を行う制御装置とを夫々接続することが可能となるので、従来資産の有効活用並びにマルチ接続及びブロードキャスト通信等のLANの特徴的な機能の活用を行うことが可能である等、優れた効果を奏する。 With this configuration, it becomes possible to use a controlled device having only one serial transmission port as a controlled device having a serial transmission port and a different protocol port. It is possible to connect a control device that performs control based on the communication protocol for serial transmission utilized to a control device that performs control based on a communication protocol such as TCP / IP widely used in communication networks such as the Internet and LAN. As a result, it is possible to effectively use the conventional assets and to use the characteristic functions of the LAN such as multi-connection and broadcast communication.
また本発明では、第1通信ポートとの間の通信を中継する一の第2通信ポートを選択し、選択した一の第2通信ポートに第1通信ポートとの間の通信の中継を占有させ、選択された一の第2通信ポート以外の中継不可能となる他の第2通信ポートが、制御信号等の信号を受信した場合に、受信した信号を無効にして、信号の送信元の制御装置へ中継が不可能であることを示すERR信号等の信号を送信する。 In the present invention, one second communication port that relays communication with the first communication port is selected, and the selected second communication port is made to occupy the relay of communication with the first communication port. When the other second communication port other than the selected second communication port receives a signal such as a control signal, the received signal is invalidated to control the signal transmission source. A signal such as an ERR signal indicating that relaying is impossible is transmitted to the apparatus.
この構成により、制御装置側では被制御装置がビジー状態であると認識し、所定時間待機後信号再送信等の処理を行うことが可能になり、また被制御装置側にとっては複数の制御装置から同時に制御信号を受信することがなくなるので、複数の制御信号を同時に受信したことを原因として動作が異常になることを防止することが可能である等、優れた効果を奏する。 With this configuration, the control device recognizes that the controlled device is busy, and can perform processing such as signal retransmission after waiting for a predetermined time. Since the control signals are not received at the same time, it is possible to prevent the operation from becoming abnormal due to the simultaneous reception of a plurality of control signals.
さらに本発明では、選択した第2通信ポート以外の中継不可能となる、選択されていない他の第2通信ポートが、制御装置から制御信号等の信号を受信した場合に、受信した信号を内蔵しているメモリ等の記憶手段に一時的に記録して、記憶した信号に対応する第2通信ポートが、通信を中継する第2通信ポートとして選択されたときに、記憶した信号を被制御装置へ送信するバッファリングを行う。 Further, according to the present invention, when a second communication port other than the selected second communication port that cannot be relayed receives a signal such as a control signal from the control device, the received signal is incorporated. When the second communication port corresponding to the stored signal temporarily recorded in the storage means such as a memory is selected as the second communication port for relaying communication, the stored signal is controlled. Buffering to send to.
この構成により、制御装置から受信した信号を被制御装置に確実に伝えることが可能となり、しかも受信した信号を無効化する必要がないため中継装置の処理不可を軽減し、信号の再送信を行う必要がないため、信号の再送信処理が不要となるので制御装置側の処理負荷を軽減し、更に再送信が行われないため通信負荷の増大を防止することが可能である等、優れた効果を奏する。 With this configuration, the signal received from the control device can be reliably transmitted to the controlled device, and the received signal does not need to be invalidated, thereby reducing the inability to process the relay device and retransmitting the signal. This eliminates the need for signal re-transmission processing, thus reducing the processing load on the control device side, and further preventing the increase in communication load because re-transmission is not performed. Play.
以下、本発明をその実施の形態を示す図面に基づいて詳述する。
実施の形態1.
図1は本発明の実施の形態1における制御システムの構成を示すブロック図である。図1中10は、本発明の中継装置であり、中継装置10は、プロジェクション装置等の被制御装置20と、パーソナルコンピュータ及び集中操作用パネル等の複数の制御装置31,32とに接続しており、被制御装置20及び制御装置31,32間の通信を中継する処理を行う。
Hereinafter, the present invention will be described in detail with reference to the drawings illustrating embodiments thereof.
FIG. 1 is a block diagram showing a configuration of a control system according to
中継装置10及び被制御装置20間は、RS−232C及びRS−422等のシリアル伝送用の通信規約(プロトコル)に基づき通信処理を行うシリアルケーブルにて接続されている。
The
中継装置10及び制御装置31,32間は、シリアル伝送用の通信処理を行うシリアルケーブル、又はシリアル伝送と異なる通信規約、具体的にはイーサネット(登録商標)等のLAN及びインターネット等の通信網にて用いられるTCP/IP等のLAN用の通信規約に基づき通信処理を行う10BASE−T等の規格のLANケーブルにて接続されている。
Between the
なお以降の説明では、シリアルケーブルにて中継装置10に接続する制御装置を第1制御装置31、LANケーブルにて中継装置10に接続する制御装置を第2制御装置32とする。
In the following description, a control device connected to the
図2は本発明の実施の形態1における中継装置10の内部構成を示すブロック図である。中継装置10は、装置全体を制御するプロセッサ11、プロセッサ11の制御に基づきシリアルケーブルを介して被制御装置20との通信を制御する被制御側シリアルドライバレシーバ12、及びシリアルケーブルを接続する端子を含み被制御側シリアルドライバレシーバ12に制御されて被制御装置20との通信を行う第1通信ポート13を備えている。
FIG. 2 is a block diagram showing an internal configuration of
第1通信ポート13は、信号をキャラクタデータとしてシリアルに伝送するRS−232C及びRS−422等の規格に基づくシリアル伝送用ポートである。
The
また中継装置10は、プロセッサ11の制御に基づきシリアルケーブルを介して第1制御装置31との通信を制御する制御側シリアルドライバレシーバ14、及びシリアルケーブルを接続する端子を含み制御側シリアルドライバレシーバ14に制御されて第1制御装置31との通信を行うシリアル用第2通信ポート15を備えている。
The
シリアル用第2通信ポート15は、RS−232C及びRS−422等の規格に基づくシリアル伝送用ポートである。
The serial
さらに中継装置10は、プロセッサ11の制御に基づきLANケーブルを介して第2制御装置32との通信を制御する制御側ネットワークインターフェースコントローラ16、及びLANケーブルを接続する端子を含み制御側ネットワークインターフェースコントローラ16に制御されて第2制御装置32との通信を行うLAN用第2通信ポート17を備えている。
Furthermore, the
LAN用第2通信ポート17は、シリアル伝送と異なる通信規約に基づいて通信処理を行う異規約ポート、ここではTCP/IP等のLAN用の通信規約に基づき、信号をパケット化して伝送するLANポートである。
The second
そして中継装置10は、第1通信ポート13を介して接続する被制御装置20と、シリアル用第2通信ポート15を介して接続する第1制御装置31又はLAN用第2通信ポート17を介して接続する第2制御装置32との間の通信の中継を行う。
The
プロセッサ11は、制御側シリアルドライバレシーバ14を介して第1制御装置31と信号を送受信する場合に、送受信する信号を一時的に記憶するメモリ等の手段である制御側シリアルバッファ101、制御側ネットワークインターフェースコントローラ16を介して第2制御装置32と信号を送受信する場合に、送受信する信号を一時的に記憶するメモリ等の手段である制御側LANバッファ102、及び被制御側シリアルドライバレシーバ12を介して被制御装置20と信号を送受信する場合に、送受信する信号を一時的に記憶するメモリ等の手段である被制御側シリアルバッファ103を有している。
When the
さらにプロセッサ11は、被制御装置20へ送信すべき信号を、制御側シリアルバッファ101に記憶されている信号及び制御側LANバッファ102にて記憶されている信号の中から選択する手段として第1セレクタ104を備えている。
Further, the
そして第1セレクタ104が切り替わることにより、制御側シリアルバッファ101及び制御側LANバッファ102の中のいずれか一つと、被制御側シリアルバッファ103との間に経路が設定され、選択された第1制御装置31又は第2制御装置32から受信した信号を被制御装置20へ送信することが可能となる。
When the
なおLAN用第2通信ポート17を介して受信した信号は、LAN用の通信規約に基づくパケット化された信号であるので、キャラクタデータ化処理(又はキャラクタデータ化回路)105にてキャラクタ化された上で、キャラクタバッファ106に一時的に記憶された後、第1セレクタ104へ送られる。
Since the signal received via the second
またプロセッサ11は、被制御装置20から受信して被制御側シリアルバッファ103に記憶されている信号の送信先となる装置を、第1制御装置31及び第2制御装置32の中から選択する手段として第2セレクタ107を備えている。
Further, the
そして第2セレクタ107が切り替わることにより、被制御側シリアルバッファ103と、制御側シリアルバッファ101及び制御側LANバッファ102の中のいずれか一つとの間に経路が設定され、被制御装置20から受信した信号を、選択された第1制御装置31又は第2制御装置32へ送信することが可能となる。
When the
なお被制御用シリアルバッファ103を介して受信した信号は、キャラクタデータであるため、第2セレクタ107から制御側LANバッファ102へ送る時に、パケット化処理(又はパケット化回路)108によりパケット化した上で、制御側LANバッファ102へ送られる。
Since the signal received via the controlled
さらにプロセッサ11は、第1セレクタ104及び第2セレクタ107の切替処理の同期を取り、経路を設定する時間を管理するホールドタイマ109を備えている。
Furthermore, the
このように中継装置10は、プロセッサ11の制御により、第1通信ポート13との間に経路を設定して通信を中継する一の第2通信ポートを、シリアル用第2通信ポート15及びLAN用第2通信ポート17の中から選択する第1セレクタ104及び第2セレクタ107並びにホールドタイマ109を備えている。
In this way, the
また中継装置10は、プロセッサ11の制御により、シリアル伝送用の通信規約に基づき送受信されるキャラクタデータ及びLAN用の通信規約に基づき送受信されるパケット化されたデータの通信規約を相互に変換すべく、キャラクタデータ化処理105、キャラクタバッファ106及びパケット化処理108等の各種処理プログラムを備えている。
Further, the
次に本発明の中継装置10における被制御装置20と、第1制御装置31又は第2制御装置32との間の信号の送受信及び経路の切替について説明する。
Next, signal transmission / reception and path switching between the controlled
シリアル伝送用の通信規約に基づく通信では、LAN用の通信規約に基づく通信の様に複数の装置へ同時にパケットを送信することができない。そのため中継装置10では、被制御装置20と通信する装置を、第1制御装置31及び第2制御装置32の中の一の制御装置を選択し、選択した制御装置に通信を占有させて、他の制御装置から割込が起こらない様に制御しなければならず、選択した制御装置に通信を占有させるべく第1セレクタ104及び第2セレクタ107が機能する。
In communication based on the communication protocol for serial transmission, packets cannot be transmitted simultaneously to a plurality of devices as in communication based on the communication protocol for LAN. Therefore, the
また第1制御装置31又は第2制御装置32から中継装置10を介して被制御装置20へ送信される信号は、操作及び管理情報要求等の制御信号であり、被制御装置20から第1制御装置31又は第2制御装置32へ送信される信号は、制御信号に対する操作完了、操作不可能及び管理情報等の応答信号である。
The signal transmitted from the
即ち被制御装置20から第1制御装置31又は第2制御装置32へ送信される応答信号とは、制御信号に対する応答であるため、制御信号及び応答信号の通信を確実に行うためにも、選択した一の制御装置に被制御装置20との通信を占有させなければならず、また通信終了後は占有状態を解除し、他の制御装置が通信できるようにしなければならない。
That is, since the response signal transmitted from the controlled
図3は本発明の実施の形態1における中継装置10の中継処理を示すタイムチャートである。図3に示すタイムチャートでは、上からシリアル用第2通信ポート15、LAN用第2通信ポート17、そして第1通信ポート13による通信状況を示し、横方向に時間を取って、通信状況の経時的な変化を示している。
FIG. 3 is a time chart showing relay processing of the
図3中時刻T0 〜T1 が、被制御装置20と通信する一の制御装置として、第1制御装置31が選択され、被制御装置20との通信を第1制御装置31が占有し、第1通信ポート13及びシリアル用第2通信ポート15間に経路が設定された時間帯であり、時刻T2 〜T3 が、被制御装置20と通信する一の制御装置として、第2制御装置32が選択され、被制御装置20との通信を第2制御装置32が占有し、第1通信ポート13及びLAN用第2通信ポート17間に経路が設定された時間帯である。
The
図3に示す様に、時刻T0 に到達後、中継装置10は、第1制御装置31から被制御装置20へ送信される制御信号を中継し、また制御信号に対して被制御装置20から第1制御装置31へ送信される応答信号を中継する。
As shown in FIG. 3, after reaching time T0, the
そして中継装置10では、応答信号の中継が終了した後の時刻T1 において、第1制御装置31による占有状態を解除し、時刻T2 において第2制御装置32及び被制御装置20間に経路を設定する。
The
さらに時刻T2 以降、中継装置10は、第2制御装置32から被制御装置20へ送信される制御信号を中継し、また制御信号に対して被制御装置20から第2制御装置32へ送信される応答信号を中継する。
Further, after time T2, the
そして中継装置10では、応答信号の中継が終了した後、時刻T3 において第2制御装置32による占有状態を解除する。
Then, the
ただし図3のタイムチャートを用いて説明した通信方法は、本来一の制御装置と一の被制御装置20との間での通信を前提にした通信方法であるので、各通信の終了を示す終了コードが存在しない場合又は応答信号が存在しない場合が考えられる。その様な場合には経路の切替に関する問題が生じる可能性がある。
However, since the communication method described with reference to the time chart of FIG. 3 is originally a communication method premised on communication between one control device and one controlled
そこで中継装置10が、被制御装置20へ送信される信号を中継した段階で、経路の占有とプロセッサ11のホールドタイマ109による占有時間の計測とを開始し、計測している占有時間が予め設定している所定時間に到達した段階で経路の占有を解除するという通信方法が考えられる。
Therefore, when the
なおその場合、予め設定される占有時間とは、最低限必要な時間に若干の余裕時間を見越して設定される。また占有時間はユーザの操作により任意の値に設定することが可能である。そして占有時間がカウントされていない場合にのみ制御信号の中継の開始を行うことができる。 In that case, the preset occupation time is set in anticipation of some margin time in the minimum necessary time. The occupation time can be set to an arbitrary value by the user's operation. The relay of the control signal can be started only when the occupation time is not counted.
図4は本発明の実施の形態1における中継装置10の中継処理を示すタイムチャートである。図4に示すタイムチャートでは、上からシリアル用第2通信ポート15、LAN用第2通信ポート17、そして第1通信ポート13による通信状況を示し、横方向に時間を取って、通信状況の経時的な変化を示している。
FIG. 4 is a time chart showing relay processing of the
図4中時刻T0 において、中継装置10では、第1制御装置31から被制御装置20へ送信される信号の中継が開始され、同時に経路の占有及び占有時間の計測が開始され、時刻T1 において、計測している占有時間が予め設定している所定時間に到達して経路の占有が解除される。
At time T0 in FIG. 4, the
占有時間として規定されている時刻T0 〜時刻T1 の間隔は、図4に示す様に、第1制御装置31から被制御装置20へ送信される制御信号を中継し、被制御装置20から第1制御装置31へ送信される応答信号を中継する時間と比べて若干の余裕時間を見越している。
As shown in FIG. 4, the interval between time T0 and time T1 defined as the occupation time relays a control signal transmitted from the
そして時刻T1 到達後は、占有が解除されるため第1制御装置31及び第2制御装置32の双方が被制御装置20へ制御信号を送信することが可能な状態となり、図4では、時刻T2 の時点で第2制御装置32から被制御装置20へ制御信号が送信されているため、時刻T2 〜時刻T3 の間は第2制御装置32及び被制御装置20間の通信のために経路が占有されることとなる。
Then, after reaching time T1, since the occupation is released, both the
次に占有時間の計測方法の詳細について説明する。図5は本発明の実施の形態1における中継装置10の中継処理を示すタイムチャートである。図5に示すタイムチャートでは、上側がシリアル用第2通信ポート15、そして下側が第1通信ポート13による通信状況を示し、横方向に時間を取って通信状況の経時的な変化を示している。
Next, the details of the occupation time measurement method will be described. FIG. 5 is a time chart showing relay processing of the
図5に示す様に占有時間は、第1制御装置31から被制御装置20へ制御信号の中継が開始された時点から計測される。ただし図5に示す様に制御信号は、伝送する情報の単位となる、複数のキャラクタデータとして送信され、図5に示す例では、五のキャラクタデータにて構成されている。
As shown in FIG. 5, the occupation time is measured from the time when the relay of the control signal is started from the
占有時間は、各キャラクタデータを中継した時点から計測を開始するため、図5に示す例では、T11,T12,T13,T14,T15として示される夫々の時点から占有時間の計測を開始し、占有時間の終了は、最後のキャラクタデータを送信した時点であるT15から所定時間経過後のT20の時点となる。 Since the occupation time starts from the time when each character data is relayed, in the example shown in FIG. 5, the measurement of the occupation time is started from each time indicated as T11, T12, T13, T14, and T15. The end of the time is a time point T20 after a predetermined time has elapsed from the time point T15 when the last character data is transmitted.
なお図5にて示される様に、応答信号も複数のキャラクタデータからなり、また占有時間は制御信号の送信開始から応答信号の送信完了までの最低限必要な時間に余裕時間を見越した時間が設定される。 As shown in FIG. 5, the response signal is also composed of a plurality of character data, and the occupation time is the time required for the marginal time from the minimum required time from the start of transmission of the control signal to the completion of transmission of the response signal. Is set.
次に被制御装置20との通信が一方の制御装置により占有されている場合に、中継不可能となる他方の通信について説明する。
Next, the other communication that cannot be relayed when the communication with the controlled
本発明の中継装置10では、一方の被制御装置20との通信が一方の制御装置により占有されている場合に、中継不可能となる他方の制御装置から被制御装置20へ送信すべき制御信号を受信した場合、受信した制御信号を被制御装置20へ送信せずに、制御信号に対して通信が不可であることを示すERR信号を送信する。
In the
ERR信号は、本来、通信内容の間違い及び通信を受け入れることができない場合に被制御装置20から制御装置へ送信する信号であり、本発明の中継装置10では、中継することができない場合にERR信号を送信することにより、制御装置側に被制御装置20が通信不可能なビジー状態であると認識させる。
The ERR signal is a signal that is originally transmitted from the controlled
制御装置側では、ERR信号を受信して被制御装置20が通信不可能なビジー状態であると認識した場合、所定時間待機後、再度制御信号を送信する処理を行う。
On the control device side, when receiving the ERR signal and recognizing that the controlled
図6は本発明の実施の形態1における中継装置10の中継処理を示すタイムチャートである。図6に示すタイムチャートでは、上からシリアル用第2通信ポート15、LAN用第2通信ポート17、そして第1通信ポート13による通信状況を示し、横方向に時間を取って、通信状況の経時的な変化を示している。
FIG. 6 is a time chart showing relay processing of the
図6は、図4において、第1制御装置31及び被制御装置20間の通信の中継により経路が占有される時刻T0 〜時刻T1 の間に第2制御装置32から制御信号を受信した状況を示しており、図6に示すように本発明の中継装置10では、受信した制御信号に対して通信が不可であることを示すERR信号を送信している。
FIG. 6 shows a situation in which a control signal is received from the
そして第2制御装置32では、ERR信号を受信することにより被制御装置20が通信することができない状態であると認識し、所定時間待機後、再度制御信号を送信し、中継装置10では、再度送信された制御信号を占有時間が終了した後で受信しているので、被制御装置20へ受信した制御信号を送信する中継処理を開始する。
Then, the
次に本発明の中継装置10の処理をフローチャートを用いて説明する。図7は本発明の実施の形態1における中継装置10による第1制御装置31及び被制御装置20間の通信の中継処理を示すフローチャートである。
Next, processing of the
中継装置10では、プロセッサ11の制御により、シリアル用第2通信ポート15に接続する第1制御装置31から制御信号を受信し(S101)、中継の可否を判定し(S102)、中継可能であると判定した場合(S102:YES)、第1セレクタ104及び第2セレクタ107により、一のシリアル用第2通信ポート15及び第1通信ポート13間の通信のみを中継可能とする占有を開始し(S103)、ホールドタイマ109にて占有時間の計測を開始して(S104)、一のシリアル用第2通信ポート15に接続する第1制御装置31及び第1通信ポート13に接続する被制御装置20間の通信の中継を開始する(S105)。
The
ステップS102における中継の可否の判定は、他の通信の中継をしているか否か、即ちLAN用第2通信ポート17及び第1通信ポート13間の通信の中継のための占有時間の計測中であるか否かを判定することにより行われる。
Whether or not relaying is possible is determined in step S102 as to whether or not other communication is being relayed, that is, the occupation time for relaying communication between the
そして中継装置10では、プロセッサ11の制御により、計測している占有時間が所定時間に到達したことを検出した時点で(S106)、一のシリアル用第2通信ポート15による占有を解除し(S107)、処理を終了する。
When the
ステップS102において、中継可能ではないと判定した場合(S102:NO)、中継装置10では、プロセッサ11の制御により、制御信号の送信元である第1制御装置31へ、通信が不可であることを示すERR信号を送信し(S108)、処理を終了する。
If it is determined in step S102 that relaying is not possible (S102: NO), the
図8は本発明の実施の形態1における中継装置10による第2制御装置31及び被制御装置20間の通信の中継処理を示すフローチャートである。
FIG. 8 is a flowchart showing a relay process of communication between the
中継装置10では、プロセッサ11の制御により、LAN用第2通信ポート17に接続する第2制御装置32から制御信号を受信し(S201)、中継の可否を判定し(S202)、中継可能であると判定した場合(S202:YES)、一のLAN用第2通信ポート17及び第1通信ポート13間の通信のみを中継可能とする占有を開始し(S203)、占有時間の計測を開始して(S204)、一のLAN用第2通信ポート17に接続する第2制御装置32及び第1通信ポート13に接続する被制御装置20間の通信の中継を開始する(S205)。
The
なお通信の中継に際し、中継装置10では、プロセッサ11の制御により、中継する信号の通信規約を相互に変換する(S206)。
When relaying communication, the
即ち第2制御装置31からLAN用第2通信ポート17を介して受信した制御信号は、LAN用の通信規約に基づくパケット化された信号であるので、キャラクタデータ化処理105によりキャラクタデータに変換する。
That is, since the control signal received from the
また被制御装置20から第1通信ポート13を介して受信した応答信号は、キャラクタデータであるため、パケット化処理108によりパケット化する。
Further, since the response signal received from the controlled
このようにキャラクタデータ化処理105及びパケット化処理108等のプログラムの処理により、通信規約を相互に変換する機能を実現する。
In this way, a function for mutually converting the communication protocol is realized by processing of the program such as the character
そして中継装置10では、プロセッサ11の制御により、計測している占有時間が所定時間に到達したことを検出した時点で(S207)、一のLAN用第2通信ポート17による占有を解除し(S208)、処理を終了する。
When the
ステップS202において、中継可能ではないと判定した場合(S202:NO)、中継装置10では、プロセッサ11の制御により、制御信号の送信元である第2制御装置32へ、通信が不可であることを示すERR信号を送信し(S209)、処理を終了する。
If it is determined in step S202 that relaying is not possible (S202: NO), the
なお被制御装置20との通信が一方の制御装置により占有されている場合、上述した様に中継不可能となる他方の制御装置に対してERR信号を送信するのではなく、他方の制御装置から受信した制御信号をバッファリングして、占有が解除された段階でバッファリングした制御信号を被制御装置20へ送信するようにしても良い。
If communication with the controlled
次にバッファリングにより通信の中継を制御する処理についてフローチャートを用いて説明する。図9は本発明の実施の形態1における中継装置10による第1制御装置31及び被制御装置20間の通信の中継処理を示すフローチャートである。
Next, processing for controlling communication relay by buffering will be described with reference to a flowchart. FIG. 9 is a flowchart showing a relay process of communication between the
中継装置10では、プロセッサ11の制御により、シリアル用第2通信ポート15に接続する第1制御装置31から制御信号を受信し(S301)、中継の可否を判定し(S302)、中継可能であると判定した場合(S302:YES)、一のシリアル用第2通信ポート15及び第1通信ポート13間の通信のみを中継可能とする占有を開始し(S303)、ホールドタイマ109にて占有時間の計測を開始して(S304)、一のシリアル用第2通信ポート15に接続する第1制御装置31及び第1通信ポート13に接続する被制御装置20間の通信の中継を開始する(S305)。
The
そして中継装置10では、プロセッサ11の制御により、計測している占有時間が所定時間に到達したことを検出した時点で(S306)、一のシリアル用第2通信ポート15による占有を解除し(S307)、処理を終了する。
Then, in the
ステップS302において、中継可能ではないと判定した場合(S302:NO)、中継装置10では、プロセッサ11の制御により、バッファリング処理として、受信した制御信号を制御側シリアルバッファ101に一時的に記憶する(S308)。
If it is determined in step S302 that relaying is not possible (S302: NO), the
そして中継装置10では、プロセッサ11の制御により、他の通信の中継による占有の解除を検出した時点で(S309)、ステップS303へ進み、制御用シリアルバッファ101に一時的に記憶した制御信号を被制御装置20へ送信する。
When the
図10は本発明の実施の形態1における中継装置10による第2制御装置31及び被制御装置20間の通信の中継処理を示すフローチャートである。
FIG. 10 is a flowchart showing a relay process of communication between the
中継装置10では、プロセッサ11の制御により、LAN用第2通信ポート17に接続する第2制御装置32から制御信号を受信し(S401)、中継の可否を判定し(S402)、中継可能であると判定した場合(S402:YES)、一のLAN用第2通信ポート17及び第1通信ポート13間の通信のみを中継可能とする占有を開始し(S403)、占有時間の計測を開始して(S404)、一のLAN用第2通信ポート17に接続する第2制御装置32及び第1通信ポート13に接続する被制御装置20間の通信の中継を開始する(S405)。
The
なお通信の中継に際し、中継装置10では、プロセッサ11の制御により、中継する信号の通信規約を相互に変換する(S406)。
When relaying communication, the
そして中継装置10では、プロセッサ11の制御により、計測している占有時間が所定時間に到達したことを検出した時点で(S407)、一のLAN用第2通信ポート17による占有を解除し(S408)、処理を終了する。
When the
ステップS402において、中継可能ではないと判定した場合(S402:NO)、中継装置10では、プロセッサ11の制御により、バッファリング処理として、受信した制御信号を制御側LANバッファ102に一時的に記憶する(S409)。
If it is determined in step S402 that relaying is not possible (S402: NO), the
そして中継装置10では、プロセッサ11の制御により、他の通信の中継による占有の解除を検出した時点で(S410)、ステップS303へ進み、制御側LANバッファ102に一時的に記憶した制御信号を被制御装置20へ送信する。
When the
このようにバッファリングを行うことにより、制御装置から受信した信号を被制御装置20に確実に伝えることが可能となり、しかも受信した信号を無効化する必要がないため中継装置10の処理不可を軽減し、信号の再送信を行う必要がないため、信号の再送信処理が不要となるので制御装置側の処理負荷を軽減し、更に再送信が行われないため通信負荷の増大を防止することが可能である。
By performing buffering in this way, it becomes possible to reliably transmit the signal received from the control device to the controlled
ただし受信した信号を無効化してERR信号を送信する処理を適用する場合には、制御用シリアルバッファ101及び制御側LANバッファ102を小容量化することができるので、中継装置10の製造コストを抑制することが可能である。
However, when applying the processing of invalidating the received signal and transmitting the ERR signal, the capacity of the control
上述した様に本発明の実施の形態1では、一のシリアル伝送用ポートのみを備える被制御装置20をシリアル伝送用ポート及び異規約ポートを備える被制御用装置20として用いることが可能となり、このため従来から普及しているハードウェア資源を活かしたシリアル伝送用の通信規約に基づき制御を行う第1制御装置31と、インターネット及びLAN等の通信網で広く用いられるTCP/IP等の通信規約に基づき制御を行う第2制御装置32とを夫々接続することが可能となるので、従来資産の有効活用並びにマルチ接続及びブロードキャスト通信等のLANの特徴的な機能の活用を行うことが可能となる。
As described above, in the first embodiment of the present invention, the controlled
実施の形態2.
実施の形態2における中継装置10は、実施の形態1において、シリアル伝送用の第2通信ポートを複数備える形態である。図11は本発明の実施の形態2における中継装置10の内部構成を示すブロック図である。
The
中継装置10は、複数の制御側シリアルドライバレシーバ14及びシリアル用第2通信ポート15を備え、またプロセッサ11内に複数の制御側シリアルバッファ101を有することにより、複数の第1制御装置31を接続することを可能とした構成である。なお実施の形態1と同様の構成要素については、その同一符号を付し、その説明を省略する。
The
実施の形態2において、第1通信ポート13との経路が設定されるのは、複数のシリアル用第2通信ポート15及びLAN用第2通信ポート17の中の選択された一の第2通信ポートのみである。
In the second embodiment, the route to the
なお実施の形態2における中継処理については実施の形態1と同様であるので、実施の形態1を参照するものとし、その説明を省略する。 Note that the relay process in the second embodiment is the same as that in the first embodiment, so the first embodiment will be referred to and the description thereof will be omitted.
実施の形態3.
実施の形態3における中継装置10は、実施の形態1において、LAN用の第2通信ポートを複数備える形態である。図12は本発明の実施の形態3における中継装置10の内部構成を示すブロック図である。
The
中継装置10は、複数の制御側ネットワークインターフェースコントローラ16及びLAN用第2通信ポート17を備え、またプロセッサ11内に複数の制御側LANバッファ102を有することにより、複数の第2制御装置32を接続することを可能とした構成である。なお実施の形態1と同様の構成要素については、同一符号を付し、その説明を省略する。
The
実施の形態3において、第1通信ポート13との経路が設定されるのは、シリアル用第2通信ポート15及び複数のLAN用第2通信ポート17の中の選択された一の第2通信ポートのみである。
In the third embodiment, the route to the
なお実施の形態3における中継処理については実施の形態1と同様であるので、実施の形態1を参照するものとし、その説明を省略する。 Note that the relay processing in the third embodiment is the same as that in the first embodiment, so that the first embodiment is referred to and the description thereof is omitted.
前記実施の形態3では、複数のLAN用第2通信ポート17を用いた信号の送受信のいずれに対しても、一組のキャラクタデータ化処理105及びキャラクタバッファ106並びにパケット化処理108を共用する形態を示しているが、LAN用第2通信ポート17の数と同数のキャラクタデータ化処理105及びキャラクタバッファ106並びにパケット化処理108を用意し、各LAN用第2通信ポート17に対して夫々異なるこれらの処理プログラムを用いる形態であっても良い。
In the third embodiment, a set of character
実施の形態4.
実施の形態4における中継装置10は、実施の形態3において、集線機能を有するイーサネットハブコントローラを設けた構成である。図13は本発明の実施の形態4における中継装置10の内部構成を示すブロック図である。
Embodiment 4 FIG.
The
中継装置10は、複数のLAN用第2通信ポート17に接続して集線機能を有するイーサネットハブコントローラ18を備えており、イーサネットハブコントローラ18により、複数のLAN用第2通信ポート17と、一の制御側ネットワークインターフェースコントローラ16との間が接続される。なお実施の形態1と同様の構成要素については、同一符号を付し、その説明を省略する。
The
実施の形態4において、第1通信ポート13との経路が設定されるのは、シリアル用第2通信ポート15及び複数のLAN用第2通信ポート17の中の選択された一の第2通信ポートのみである。
In the fourth embodiment, the route to the
なお実施の形態4における中継処理については実施の形態1と同様であるので、実施の形態1を参照するものとし、その説明を省略する。 Note that the relay process in the fourth embodiment is the same as that in the first embodiment, so the first embodiment will be referred to and the description thereof will be omitted.
実施の形態4における中継装置10では、イーサネットハブコントローラ18を設けることにより、夫々一のネットワークインターフェースコントローラ16及び制御側LANバッファ102にて対応することが可能となるので、実施の形態3における中継装置10と比較して、接続する第2制御装置32の数が大きい場合、構成を簡略化し、また製造コストを抑制することが可能となる。
In the
なお実施の形態3においては、夫々のネットワークインターフェースコントローラ16にて異なるIPアドレスが割り当てられるが、実施の形態4においては、ネットワークインターフェースコントローラ16が一であるため、一のIPアドレスを時分割で共用することとなる。
In the third embodiment, each
前記実施の形態2乃至実施の形態4において、シリアル用第2通信ポート15及びLAN用第2通信ポート17のいずれかを複数備える形態を示したが、シリアル用第2通信ポート15及びLAN用第2通信ポート17の双方が複数であっても良い。
In the second to fourth embodiments, the embodiment has been described in which a plurality of the second
また前記実施の形態1乃至実施の形態4では、プロジェクション装置等の被制御装置20とパーソナルコンピュータ等の制御装置31,32との通信を中継する中継装置10を示したが、本発明はこれに限らず、シリアル伝送用のポートを備える装置と、シリアル伝送用のポートを備える装置及びシリアル伝送と異なる通信規約に基づき通信処理を行う異規約ポートを備える装置とを接続する様々な用途に展開することが可能である。
In the first to fourth embodiments, the
10 中継装置
11 プロセッサ
12 被制御用シリアルドライバレシーバ
13 第1通信ポート
14 制御側シリアルドライバレシーバ
15 シリアル用第2通信ポート
16 制御側ネットワークインターフェースコントローラ
17 LAN用第2通信ポート
18 イーサネットハブコントローラ
101 制御側シリアルバッファ
102 制御側LANバッファ
103 被制御側シリアルバッファ
104 第1セレクタ
105 キャラクタデータ化処理
106 キャラクタバッファ
107 第2セレクタ
108 パケット化処理
109 ホールドタイマ
20 被制御装置
31 第1制御装置
32 第2制御装置
DESCRIPTION OF
Claims (7)
前記第1通信ポートは、シリアル伝送用ポートであり、
前記第2通信ポートは、シリアル伝送用ポート及びシリアル伝送と異なる通信規約に基づいて通信処理を行う異規約ポートを含み、
シリアル伝送用の通信規約に基づき送受信される信号及びシリアル伝送と異なる通信規約に基づき送受信される信号の通信規約を相互に変換する手段を備える
ことを特徴とする中継装置。 In a relay device comprising a first communication port and a plurality of second communication ports, relaying communication between a device connected via the first communication port and a device connected via the second communication port,
The first communication port is a serial transmission port;
The second communication port includes a serial transmission port and a different protocol port for performing communication processing based on a communication protocol different from serial transmission,
A relay apparatus comprising: means for mutually converting a communication protocol of a signal transmitted / received based on a communication protocol for serial transmission and a signal transmitted / received based on a communication protocol different from serial transmission.
受信した信号を記憶する手段と、
記憶した信号に対応する第2通信ポートが、通信を中継する一の第2通信ポートとして選択されたときに、記憶している信号を、第1通信ポートを介して接続する装置へ送信する手段と
を更に備えることを特徴とする請求項3に記載の中継装置。 When another second communication port not selected as one second communication port that relays communication with the first communication port receives a signal from an external device,
Means for storing the received signal;
Means for transmitting a stored signal to a device connected via the first communication port when the second communication port corresponding to the stored signal is selected as one second communication port for relaying communication. The relay apparatus according to claim 3, further comprising:
該中継装置に第1通信ポートを介して接続してある制御装置と、
該制御装置に制御され、前記中継装置に第2通信ポートを介して接続してある被制御装置と
を備えることを特徴とする制御システム。 A relay device according to any one of claims 1 to 6;
A control device connected to the relay device via a first communication port;
A controlled apparatus controlled by the control apparatus and connected to the relay apparatus via a second communication port.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2003297764A JP2005070975A (en) | 2003-08-21 | 2003-08-21 | Repeater system and control system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2003297764A JP2005070975A (en) | 2003-08-21 | 2003-08-21 | Repeater system and control system |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2005070975A true JP2005070975A (en) | 2005-03-17 |
Family
ID=34403499
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2003297764A Pending JP2005070975A (en) | 2003-08-21 | 2003-08-21 | Repeater system and control system |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2005070975A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2009516432A (en) * | 2005-11-14 | 2009-04-16 | ラントロニクス・インコーポレイテツド | Device server for daisy chain connection via Ethernet (registered trademark) |
JP2018019283A (en) * | 2016-07-28 | 2018-02-01 | サイレックス・テクノロジー株式会社 | Communication equipment, serial communication equipment, communication method, and control program |
-
2003
- 2003-08-21 JP JP2003297764A patent/JP2005070975A/en active Pending
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2009516432A (en) * | 2005-11-14 | 2009-04-16 | ラントロニクス・インコーポレイテツド | Device server for daisy chain connection via Ethernet (registered trademark) |
JP2018019283A (en) * | 2016-07-28 | 2018-02-01 | サイレックス・テクノロジー株式会社 | Communication equipment, serial communication equipment, communication method, and control program |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JPH0832644A (en) | Signal receiving device | |
JPH11331218A (en) | Information processing unit, information processing method and served medium | |
JPH07235947A (en) | Electronic equipment | |
JP2008162737A (en) | Radio transmission data controller | |
US6272114B1 (en) | Data processing apparatus/method and electronic apparatus with such apparatus/method | |
JPH11215135A (en) | Method and equipment for radio communication and radio communication controller | |
JP2005167780A (en) | Streaming data transmission device and transmission method | |
JP2012015778A (en) | Communication processing device and communication processing method | |
JP2008028430A (en) | Transmitter apparatus | |
US20060174027A1 (en) | Method and apparatus for transmission queue in communication system | |
JP2005070975A (en) | Repeater system and control system | |
JP2002261866A (en) | Radio transmission device and method therefor | |
JP4690857B2 (en) | Bulk transmission system | |
EP3266506B1 (en) | Information processing apparatus, information processing method, information processing system, and control program | |
KR100568232B1 (en) | Network device and method for efficient data transmission/reception using transport layer in mobile ad-hoc network | |
JP2006050244A (en) | Radio communication equipment | |
KR101475179B1 (en) | The converter of wireless network switch based on ICMP and the method for conversion | |
JP3148733B2 (en) | Signal processing device and signal processing system | |
JP3629119B2 (en) | Network system | |
JP4573459B2 (en) | Wireless terminal device, transmission control device, wireless transmission control method, and program | |
JPH0697983A (en) | Network system | |
JP2752742B2 (en) | Packet transmission device | |
US20050262252A1 (en) | Method and device for performing communication on a bus structured network | |
KR20060096623A (en) | Method for guarantee reliability of datagram protocol under real-time environment | |
EP3422195A1 (en) | Device and method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20050810 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20080605 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20080610 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20080804 |
|
A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 20080826 |