JP2011239065A - Repeating device - Google Patents
Repeating device Download PDFInfo
- Publication number
- JP2011239065A JP2011239065A JP2010107131A JP2010107131A JP2011239065A JP 2011239065 A JP2011239065 A JP 2011239065A JP 2010107131 A JP2010107131 A JP 2010107131A JP 2010107131 A JP2010107131 A JP 2010107131A JP 2011239065 A JP2011239065 A JP 2011239065A
- Authority
- JP
- Japan
- Prior art keywords
- network
- transmission
- scan transmission
- scan
- data
- 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.)
- Granted
Links
Images
Landscapes
- Small-Scale Networks (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
Description
本発明は、プロセス制御用のネットワークを構成する機器間でスキャン伝送方式を用いて送信されるスキャン伝送データを、互いに通信規格が異なる複数のネットワーク間で中継する中継装置に関し、特に通信効率よく確実にスキャン伝送データを中継する中継装置に関する。 The present invention relates to a relay device that relays scan transmission data transmitted using a scan transmission method between devices constituting a process control network between a plurality of networks having different communication standards, and in particular, reliable and efficient in communication. The present invention relates to a relay device that relays scan transmission data.
具体的には、石油化学、鉄鋼、紙パルプ、食品、薬品、電力等の幅広い分野のプラント運転制御および安全確保に用いられている分散制御システムおよび安全計装システムにおけるネットワーク間のスキャン伝送を中継する中継装置に関する。 Specifically, it relays scan transmission between networks in distributed control systems and safety instrumentation systems used for plant operation control and safety assurance in a wide range of fields such as petrochemical, steel, pulp and paper, food, medicine, and electric power. The present invention relates to a relay device.
従来、分散制御システムおよび安全計装システムでは、複数のフィールド機器、これらフィールド機器を制御する複数の制御装置が、接続線、電気通信回線を介して接続され、LAN(Local Area Network)等のネットワークを構成し、測定データやプロセス制御用の制御データ等の送受信を行っている。 Conventionally, in a distributed control system and a safety instrumented system, a plurality of field devices and a plurality of control devices that control these field devices are connected via connection lines and telecommunication lines, and a network such as a LAN (Local Area Network) It transmits and receives measurement data, control data for process control, and the like.
ここで、制御装置間では、バルブの操作値や流量計の流量値などのデータ通信が行われている。このようなシステムは例えば特開2005−176161号公報等に記されている。 Here, data communication such as valve operation values and flow meter flow values is performed between the control devices. Such a system is described in, for example, Japanese Patent Application Laid-Open No. 2005-176161.
なお、フィールド機器には、たとえば、差圧計、流量計、温度計、監視カメラ、アクチュエータ、コントローラなどの各種フィールド機器がある。 Note that field devices include various field devices such as a differential pressure gauge, a flow meter, a thermometer, a monitoring camera, an actuator, and a controller.
プラント制御に使用するデータ共有では、一般的に、制御装置、ネットワークスイッチなどの中継器、フィールド機器(以下これらを総じて、通信局という)が自機の接続するネットワーク内、外の複数の制御機器、ネットワークスイッチ、フィールド機器などの通信局へサイクリックに同報通知する「スキャン伝送」を利用している場合が多い。 In data sharing used for plant control, in general, control devices, repeaters such as network switches, and field devices (hereinafter collectively referred to as communication stations) are connected to a plurality of control devices inside and outside the network to which the device is connected. In many cases, “scan transmission” is used to send a broadcast notification to a communication station such as a network switch or field device in a cyclic manner.
ここで、スキャン伝送とは、制御装置が自機の情報を、ブロードキャスト伝送を応用してネットワーク内または外の複数の制御装置や通信局等に、自機の情報を同時に送信するものである。 Here, the scan transmission is a method in which the control device transmits the information of the own device to a plurality of control devices or communication stations in the network or outside by applying broadcast transmission.
ネットワークを構成する複数の制御装置は、それぞれがスキャン伝送により伝送されるスキャン伝送データを記憶するためのメモリを備え、各制御装置から送出されるデータを高速で、サイクリック伝送して全制御装置のメモリのデータが同一の内容に更新される。 A plurality of control devices constituting the network each include a memory for storing scan transmission data transmitted by scan transmission, and all control devices perform cyclic transmission of data transmitted from each control device at high speed. The data in the memory is updated to the same content.
ここで、スキャン伝送は、1対多の同報通知であり、1対多のユニキャスト通信に比べて送信回数が少なくて済むため、帯域を節約することができ、リアルタイム性が求められる制御ネットワークにとって有効な通信方法である。 Here, the scan transmission is a one-to-many broadcast notification, and the number of transmissions can be reduced compared with the one-to-many unicast communication, so that the bandwidth can be saved and a control network that requires real-time performance Is an effective communication method.
たとえば、下記特許文献1(特開2005−094289号公報)にあるような、スキャン伝送を異なるネットワーク間で中継する中継装置が発明されている。 For example, a relay apparatus that relays scan transmission between different networks has been invented as disclosed in Patent Document 1 (Japanese Patent Laid-Open No. 2005-094289).
図3は、従来の中継装置の一例を示した構成図である。
図3において、中継装置1は、ネットワークN1とネットワークN2と相互に接続され、ネットワークN1からのスキャン伝送データをネットワークN2に転送し、ネットワークN2からのスキャン伝送データをネットワークN1に転送する。
FIG. 3 is a configuration diagram illustrating an example of a conventional relay device.
In FIG. 3, the relay device 1 is connected to the network N1 and the network N2, transfers the scan transmission data from the network N1 to the network N2, and transfers the scan transmission data from the network N2 to the network N1.
具体的には、中継装置1は、ネットワークN1からのスキャン伝送データを受信し、ネットワークN2からのスキャン伝送データを送信するN1用通信手段11と、ネットワークN2からのスキャン伝送データを記憶するN1用送信バッファ12と、ネットワークN2からのスキャン伝送データを受信し、ネットワークN1からのスキャン伝送データを送信するN2用通信手段13と、ネットワークN1からのスキャン伝送データを記憶するN2用送信バッファ14と、ネットワークN1(またはN2)のデータをネットワークN2(またはN1)用のプロトコルに変換する中継制御手段15、を備える。
また中継装置1は、CPU(Central Processing Unit)などの中継装置の機能を制御する演算制御部16を備え、主に中継制御手段15の機能ブロックを有する。
Specifically, the relay apparatus 1 receives the scan transmission data from the network N1 and transmits the scan transmission data from the network N2, and the N1 communication unit 11 stores the scan transmission data from the network N2. A
The relay device 1 includes an
以下、ネットワークN1、N2は、互いに通信規格(プロトコル)が異なり、設計思想や利用可能な資源の違いから、それぞれのネットワークにおいて、スキャン伝送の送信周期が異なる、N1の方がN2よりも送信周期が短いものとして説明する。 Hereinafter, the networks N1 and N2 have different communication standards (protocols), and due to the difference in design concept and available resources, the transmission cycle of scan transmission is different in each network. The transmission cycle of N1 is higher than that of N2. Is described as short.
このような構成で、中継装置1は以下の動作(1−1)〜(1−4)、(2−1)〜(2−4)を行なう。 With such a configuration, the relay device 1 performs the following operations (1-1) to (1-4) and (2-1) to (2-4).
中継装置1がネットワークN1からネットワークN2へスキャン伝送データを中継する場合は以下の動作を行なう。
(1−1)N1用通信手段11は、ネットワークN1内のいずれかの制御装置からスキャン伝送データを受信する。
(1−2)演算制御部16は、N1用通信手段11からのスキャン伝送データをN2用バッファ14に格納する。
(1−3)中継制御手段15は、N2用バッファ14からスキャン伝送データを読み出し、ネットワークN2のプロトコルに変換(加工)して、N2用通信手段13に出力する。
(1−4)N2用通信手段13は、ネットワークN2のプロトコル用に変換されたスキャン伝送データをネットワークN2へと送信する。
このとき中継装置1がネットワークN2へ送信するスキャン伝送の送信周期は、ネットワークN1でのスキャン伝送送信周期と等しい。
When the relay device 1 relays scan transmission data from the network N1 to the network N2, the following operation is performed.
(1-1) The N1 communication unit 11 receives scan transmission data from any of the control devices in the network N1.
(1-2) The
(1-3) The relay control means 15 reads the scan transmission data from the
(1-4) The N2 communication means 13 transmits the scan transmission data converted for the protocol of the network N2 to the network N2.
At this time, the transmission cycle of the scan transmission that the relay apparatus 1 transmits to the network N2 is equal to the scan transmission transmission cycle in the network N1.
中継装置1がネットワークN2からネットワークN1へスキャン伝送データを中継する場合は以下の動作を行なう。
(2−1)N2用通信手段13は、ネットワークN2内のいずれかの制御装置からスキャン伝送データを受信する。
(2−2)演算制御部16は、N2用通信手段13からのスキャン伝送データをN1用バッファ12に格納する。
(2−3)中継制御手段15は、N1用バッファ12からスキャン伝送データを読み出し、ネットワークN1のプロトコルに変換(加工)して、N1用通信手段11に出力する。
(2−4)N1用通信手段11は、ネットワークN2のプロトコル用に変換されたスキャン伝送データをネットワークN1へと送信する。
このとき中継装置1がネットワークN1へ送信するスキャン伝送の送信周期は、ネットワークN2でのスキャン伝送送信周期と等しい。
When the relay device 1 relays scan transmission data from the network N2 to the network N1, the following operation is performed.
(2-1) The N2 communication means 13 receives scan transmission data from any control device in the network N2.
(2-2) The
(2-3) The relay control means 15 reads the scan transmission data from the
(2-4) The communication means 11 for N1 transmits the scan transmission data converted for the protocol of the network N2 to the network N1.
At this time, the transmission cycle of the scan transmission that the relay apparatus 1 transmits to the network N1 is equal to the scan transmission transmission cycle in the network N2.
この結果、従来の中継装置は、プロトコルの異なる2つのネットワーク間のスキャン伝送を中継することができる。 As a result, the conventional relay device can relay scan transmission between two networks having different protocols.
このような、従来の中継装置を記載した文献としては特許文献1などがある。 As a document describing such a conventional relay device, there is Patent Document 1 or the like.
しかしながら、従来の中継装置は、送信周期が短いネットワークから送信周期が長いネットワークへ中継する際に、中継先ネットワークにとっては不必要なスキャン伝送データを中継することになるので、通信帯域を余分に使用してしまうという問題点があった。このため、不要なスキャン伝送データにより中継先ネットワークの通信局(制御装置、ネットワークスイッチなど)の受信負荷が上がり、通信の実時間性が低下してしまうという問題点があった。 However, when relaying from a network with a short transmission cycle to a network with a long transmission cycle, the conventional relay device relays scan transmission data that is unnecessary for the relay destination network. There was a problem of doing. For this reason, there has been a problem that unnecessary scan transmission data increases the reception load of a communication station (control device, network switch, etc.) in the relay destination network, thereby reducing the real-time performance of communication.
また、従来の中継装置は、中継装置がスキャン伝送を送信周期が長いネットワークから送信周期が短いネットワークへ中継する際、トランジェントエラーによりスキャン伝送データが失われると、次の中継のタイミングまでデータ更新が行われないので、中継先ネットワークの制御装置または通信局(制御装置、ネットワークスイッチなど)が想定している遅延時間以内でデータ更新が行われない可能性があるという問題点があった。このため、プロセス制御に最新のデータが用いられず、最適な制御を実行できないという問題点があった。 In addition, when a relay device relays scan transmission from a network with a long transmission cycle to a network with a short transmission cycle, if the scan transmission data is lost due to a transient error, the data is updated until the next relay timing. Since this is not performed, there is a problem in that data may not be updated within the delay time assumed by the control device or communication station (control device, network switch, etc.) of the relay destination network. For this reason, there is a problem that the latest data is not used for process control and optimal control cannot be executed.
本発明は上述の問題点を解決するものであり、その目的は、接続されるネットワーク間でスキャン伝送の送信周期が異なる場合であっても、通信効率よく確実にスキャン伝送データを中継することが可能な中継装置を実現することにある。 The present invention solves the above-described problems, and an object of the present invention is to relay scan transmission data reliably and efficiently even if the transmission cycle of scan transmission differs between connected networks. It is to realize a possible relay device.
このような目的を達成するために、本発明のうち請求項1記載の発明は、
プロセス制御用のネットワークを構成する機器間でスキャン伝送方式を用いて送信されるスキャン伝送データを、互いに通信規格が異なる複数のネットワーク間で中継する中継装置において、
第1のネットワークから受信したスキャン伝送データを第2のネットワークの通信規格に則ったデータに変換する中継制御手段と、
前記第2のネットワークにおける前記スキャン伝送データの送信周期を記憶する記憶手段と、
前記中継制御手段により変換されたスキャン伝送データを、前記第2のネットワークのスキャン伝送における送信周期で前記第2のネットワークへスキャン伝送方式を用いて送信する第1の伝送制御手段を備えたことを特徴とする中継装置。
In order to achieve such an object, the invention described in claim 1 of the present invention is:
In a relay device that relays scan transmission data transmitted using a scan transmission method between devices constituting a process control network between a plurality of networks having different communication standards,
Relay control means for converting scan transmission data received from the first network into data conforming to the communication standard of the second network;
Storage means for storing a transmission period of the scan transmission data in the second network;
First transmission control means for transmitting scan transmission data converted by the relay control means to the second network using a scan transmission method at a transmission period in scan transmission of the second network is provided. Characteristic relay device.
請求項2記載の発明は、請求項1記載の中継装置において、
前記記憶手段が、前記第1のネットワークにおける前記スキャン伝送データの送信周期を記憶し、
前記中継制御手段が、前記第2のネットワークから受信したスキャン伝送データを前記第1のネットワークの通信規格に則ったデータに変換し、
前記第2のネットワークから受信し前記中継制御手段により変換されたスキャン伝送データを、前記第1のネットワークの送信周期で前記第1のネットワークへスキャン伝送方式を用いて送信する第2の伝送制御手段を、備えたことを特徴とする。
The invention according to claim 2 is the relay apparatus according to claim 1,
The storage means stores a transmission cycle of the scan transmission data in the first network;
The relay control means converts the scan transmission data received from the second network into data conforming to the communication standard of the first network;
Second transmission control means for transmitting scan transmission data received from the second network and converted by the relay control means to the first network using a scan transmission method at a transmission cycle of the first network. Is provided.
請求項3記載の発明は、請求項2記載の中継装置において、
前記第1の伝送制御手段に前記スキャン伝送データを前記第2のネットワークの送信周期で前記第2のネットワークへ伝送させ、前記第2の伝送制御手段に前記スキャン伝送データを前記第1のネットワークの送信周期で前記第1のネットワークへ伝送させる周期調節手段を、備えたことを特徴とする。
The invention according to
The first transmission control means transmits the scan transmission data to the second network at a transmission period of the second network, and the second transmission control means transmits the scan transmission data to the first network. Period adjustment means for transmitting to the first network at a transmission period is provided.
請求項4記載の発明は、請求項1〜3のいずれかに記載の中継装置において、
前記第1のネットワークに接続される機器の識別子が格納される第1のデータテーブルと、前記第2のネットワークに接続される機器の識別子が格納される第2のデータテーブルとを予め記憶し、
この識別子と第1のネットワークまたは第2のネットワークから受信したスキャン伝送データの送信元の識別子が第2のデータテーブルまたは第1のデータテーブル中の識別子と一致しないときは、スキャン伝送データを中継する通信局情報管理手段を備えたことを特徴とする。
Invention of Claim 4 is the relay apparatus in any one of Claims 1-3,
Storing in advance a first data table storing identifiers of devices connected to the first network and a second data table storing identifiers of devices connected to the second network;
When this identifier and the identifier of the transmission source of the scan transmission data received from the first network or the second network do not match the identifier in the second data table or the first data table, the scan transmission data is relayed. A communication station information management means is provided.
請求項5記載の発明は、請求項1〜4のいずれかに記載の中継装置において、
前記第1のネットワークまたは前記第2のネットワークに接続される機器のスキャン伝送の各タイミングとは異なるタイミングで第2の伝送制御手段または第1の伝送制御手段にスキャン伝送データを送信させるタイミング調整手段を備えたことを特徴とする。
Invention of Claim 5 is the relay apparatus in any one of Claims 1-4,
Timing adjustment means for causing the second transmission control means or the first transmission control means to transmit the scan transmission data at a timing different from each timing of the scan transmission of the device connected to the first network or the second network. It is provided with.
請求項6記載の発明は、請求項1〜5のいずれかに記載の中継装置において、
前記第1のネットワークまたは前記第2のネットワークに接続される機器から受信する前記スキャン伝送データを2個以上結合させて第2のネットワークまたは第1のネットワークにスキャン伝送方式を用いて送信するスキャン伝送データ結合手段を備えたことを特徴とする。
A sixth aspect of the present invention is the relay device according to any one of the first to fifth aspects,
Scan transmission in which two or more scan transmission data received from a device connected to the first network or the second network are combined and transmitted to the second network or the first network using a scan transmission method A data combination means is provided.
本発明に係る中継装置によれば、第1のネットワークから受信したスキャン伝送データを第2のネットワークの通信規格に則ったデータに変換する中継制御手段と、第2のネットワークにおけるスキャン伝送データの送信周期を記憶する記憶手段と、中継制御手段により変換されたスキャン伝送データを、第2のネットワークの送信周期で第2のネットワークへスキャン伝送方式を用いて送信する第1の伝送制御手段を備えたことにより、接続されるネットワーク間でスキャン伝送の送信周期が異なる場合であっても、中継装置がその差を吸収し、通信効率よく確実にスキャン伝送データを中継できる点で有効である。 According to the relay device of the present invention, the relay control means for converting the scan transmission data received from the first network into the data conforming to the communication standard of the second network, and the transmission of the scan transmission data in the second network A storage unit for storing a cycle; and a first transmission control unit for transmitting the scan transmission data converted by the relay control unit to the second network using the scan transmission method in the transmission cycle of the second network. Thus, even if the transmission cycle of scan transmission differs between connected networks, the relay device is effective in absorbing the difference and relaying scan transmission data with high communication efficiency.
また、本発明に係る中継装置によれば、上述の構成にすることにより、下記の効果A、B、Cが期待できる。
A:中継装置がスキャン伝送を送信周期が短いネットワークから送信周期が長いネットワークへ中継する際、中継先ネットワークにとって不必要なフレーム(スキャン伝送データ)は中継されず、余分な帯域の使用を防ぐことができる。
B:必要なフレーム(スキャン伝送データ)のみが中継されるため、中継先ネットワークの通信局(制御装置、ネットワークスイッチなど)の受信負荷の増加は最小限となり、実時間性の低下を防ぐことができる。
C:中継装置がスキャン伝送を送信周期が長いネットワークから送信周期が短いネットワークへ中継する際、トランジェントエラーによりスキャン伝送データが失われても、中継先ネットワークの通信局(制御装置、ネットワークスイッチなど)が想定している遅延時間以内でデータ更新が行われることになる点で有効である。
Further, according to the relay device according to the present invention, the following effects A, B, and C can be expected by adopting the above-described configuration.
A: When a relay device relays scan transmission from a network with a short transmission cycle to a network with a long transmission cycle, frames unnecessary for the relay destination network (scan transmission data) are not relayed to prevent the use of extra bandwidth. Can do.
B: Since only necessary frames (scan transmission data) are relayed, an increase in reception load of a communication station (control device, network switch, etc.) in the relay destination network is minimized, and deterioration of real-time performance is prevented. it can.
C: When a relay device relays scan transmission from a network with a long transmission cycle to a network with a short transmission cycle, even if the scan transmission data is lost due to a transient error, the communication station (control device, network switch, etc.) of the relay destination network This is effective in that data is updated within the delay time that is assumed by.
また本発明によれば、通信局情報管理手段が受信したスキャン伝送データが正常である場合にのみ中継先のネットワークに送信し、異常データであるときは中継先のネットワークに送信することなく破棄することにより、異常データが中継先ネットワークに送信されて余分な通信帯域の使用や通信局のプロセッサパワーおよびメモリの消費を防ぐことができる。このため、通信効率よく確実にスキャン伝送データを中継できる点で有効である。 Further, according to the present invention, only when the scan transmission data received by the communication station information management means is normal, it is transmitted to the relay destination network, and when it is abnormal data, it is discarded without being transmitted to the relay destination network. As a result, abnormal data is transmitted to the relay destination network, so that it is possible to prevent the use of an extra communication band and the consumption of processor power and memory of the communication station. Therefore, this is effective in that the scan transmission data can be relayed efficiently and reliably.
また、本発明によれば、タイミング調整手段が、自機(中継装置2)を含む全通信局に対して送信できるタイミングをあらかじめ割り当てることにより、一時に通信がラッシュする事態を避けることができ、当該ネットワークのリアルタイム性が向上できる。このため、通信効率よく確実にスキャン伝送データを中継できる点で有効である。 In addition, according to the present invention, the timing adjustment means can preliminarily allocate a timing that can be transmitted to all communication stations including the own device (relay device 2), thereby avoiding a situation where communication rushes at one time, The real-time property of the network can be improved. Therefore, this is effective in that the scan transmission data can be relayed efficiently and reliably.
<第1の実施例>
図1は、本発明に係る中継装置の一実施例の構成図であり、図3と共通する部分には同一の符号を付けている。
図3との相違は、主に、図1ではスキャン伝送データの各ネットワークにおける各送信周期を記憶する記憶手段を有する点、中継制御手段により第2のネットワークの通信規格に則ったデータ形式に変換されたスキャン伝送データを、第2のネットワークの送信周期で第2のネットワークへスキャン伝送方式を用いて送信する第1の伝送制御手段を備えた点が相違する。
<First embodiment>
FIG. 1 is a configuration diagram of an embodiment of a relay device according to the present invention, and parts common to FIG.
The main difference from FIG. 3 is that, in FIG. 1, it has a storage means for storing each transmission cycle of each scan transmission data in each network, and the relay control means converts it into a data format conforming to the communication standard of the second network. The difference is that a first transmission control unit is provided for transmitting the scanned transmission data to the second network using the scan transmission method at the transmission cycle of the second network.
(構成の説明)
図1において、本発明に係る中継装置2は、第1のネットワークの一例であるネットワークN1と第2のネットワークの一例であるネットワークN2と相互に接続され、ネットワークN1からのスキャン伝送データをネットワークN2に転送し、ネットワークN2からのスキャン伝送データをネットワークN1に転送する。
(Description of configuration)
In FIG. 1, a relay apparatus 2 according to the present invention is connected to a network N1 which is an example of a first network and a network N2 which is an example of a second network, and scan transmission data from the network N1 is transmitted to the network N2. The scan transmission data from the network N2 is transferred to the network N1.
ネットワークN1、N2は、複数のフィールド機器、これらフィールド機器を制御する複数の制御装置が、接続線、電気通信回線を介して接続されることにより構成される。 The networks N1 and N2 are configured by connecting a plurality of field devices and a plurality of control devices that control these field devices via connection lines and telecommunication lines.
ネットワークN1、N2では、フィールド機器、制御装置による測定データやプロセス制御用の制御データ等の送受信がネットワークスイッチなどの通信局を介して行われている。
また、ネットワークN1、N2に接続される制御装置、ネットワークスイッチなどの中継器、フィールド機器(以下これらを総じて、通信局という)は、プラント制御に使用するデータ共有として、ネットワーク内外の複数の通信局へサイクリックに同報通知するスキャン伝送を実行する。
In the networks N1 and N2, transmission / reception of measurement data and control data for process control by field devices and control devices is performed via a communication station such as a network switch.
In addition, a controller connected to the networks N1 and N2, a repeater such as a network switch, and a field device (hereinafter collectively referred to as a communication station) include a plurality of communication stations inside and outside the network as data sharing used for plant control. Executes a scan transmission that sends a broadcast notification to the user.
中継装置2は、ネットワークN1からのスキャン伝送データ(以下、第1のスキャン伝送データという)を受信し、ネットワークN2からのスキャン伝送データ(以下、第2のスキャン伝送データという)をネットワークN1のスキャン伝送データの送信周期でネットワークN1の通信規格に則ったデータ形式でスキャン伝送方式に基づき送信する第1の伝送制御手段の一例であるN1用通信手段21と、ネットワークN2からのスキャン伝送データを記憶する第1のバッファの一例であるN1用送信バッファ22と、第2のスキャン伝送データを受信し、第1のスキャン伝送データをネットワークN2のスキャン伝送データの送信周期でネットワークN2の通信規格に則ったデータ形式でスキャン伝送方式に基づき送信する第2の伝送制御手段の一例であるN2用通信手段23と、ネットワークN1からのスキャン伝送データを記憶する第2のバッファの一例であるN2用送信バッファ24を、備える。
The relay apparatus 2 receives scan transmission data (hereinafter referred to as first scan transmission data) from the network N1, and scans the network N1 for scan transmission data (hereinafter referred to as second scan transmission data) from the network N2. Stores N1 communication means 21 which is an example of first transmission control means for transmitting based on the scan transmission method in a data format conforming to the communication standard of network N1 in the transmission data transmission cycle, and scan transmission data from network N2. The
さらに、中継装置2は、ネットワークN1(またはN2)のデータをネットワークN2(またはN1)用のプロトコルに変換する中継制御手段25と、スキャン伝送データのネットワークN1、ネットワークN2における各送信周期(以下、第1の送信周期、第2の送信周期という)を記憶する記憶手段26と、N1用通信手段21に第2のスキャン伝送データを第1の送信周期でネットワークN1へ伝送させ、N2用通信手段23に第1のスキャン伝送データを第2の送信周期でネットワークN2へ伝送させる周期調節手段27も備える。
Further, the relay device 2 includes a
また、中継装置は、CPU(Central Processing Unit)などの演算制御部29を備え、主に中継制御手段25、周期調節手段27の機能ブロックを有する。これらの各手段はバスにより相互に接続されるようなそれぞれ独立した機器から構成されるものであってもよい。
In addition, the relay device includes a
具体的には演算制御部29は、記憶手段26に格納されているOSなどを起動して、このOS上で記憶手段に格納されたプログラムを読み出して実行することにより、主に、中継制御手段25、周期調節手段27などの各機能を統合的に制御し、中継装置全体を制御して、プロトコルの異なる2つのネットワーク間のスキャン伝送を中継する。
Specifically, the
記憶手段26は、ハードディスク、RAM(Random Access Memory)やROM(Read Only Memory)などであり、各送信周期、スキャン伝送データを各ネットワークのプロトコルに適合するように加工するために必要なプロトコル情報およびネットワークN1とN2間でスキャン伝送データを中継する際の送信先への経路が示されているネットワーク経路情報、中継装置として動作するためのOS、プログラムやアプリケーション等を記憶する。 The storage means 26 is a hard disk, a RAM (Random Access Memory), a ROM (Read Only Memory), or the like. Protocol information necessary for processing each transmission cycle and scan transmission data so as to conform to each network protocol, and Stores network path information indicating a path to a transmission destination when relaying scan transmission data between the networks N1 and N2, an OS for operating as a relay apparatus, a program, an application, and the like.
中継制御手段25は、N1用送信バッファ22に格納されているネットワークN2からのスキャン伝送データを、記憶手段26に記憶されるプロトコル情報に基づいて、ネットワークN1用のプロトコルに則ったデータに変換する。
また、中継制御手段25は、N2用送信バッファ24に格納されているネットワークN1からのスキャン伝送データを記憶手段26に記憶されるプロトコル情報に基づき、ネットワークN2用のプロトコルに則ったデータに変換する。
The
Further, the relay control means 25 converts the scan transmission data from the network N1 stored in the
また特に図示しないが、中継装置2は、N1用通信手段21、N2用通信手段23がスキャン伝送データを送信する周期を、記憶手段26に記憶されている各送信周期のうちいずれの周期にするかを設定可能な表示画面をモニタなどの表示手段に表示する表示制御手段も有する。
ここで、ネットワークN1とネットワークN2に対してスキャン伝送データを中継する送信周期は、それぞれユーザーによって図示しない入力手段、表示画面などを介してあらかじめ設定される。
Although not particularly illustrated, the relay device 2 sets the cycle in which the
Here, the transmission cycle for relaying the scan transmission data to the network N1 and the network N2 is set in advance by the user via an input means, a display screen, etc. (not shown).
以下、ネットワークN1、N2は、互いに通信規格(プロトコル)が異なり、設計思想や利用可能な資源等の違いから、それぞれのネットワークにおいて、スキャン伝送の送信周期が異なる、N1の方がN2よりも送信周期が短いものとして説明する。 Hereinafter, the networks N1 and N2 have different communication standards (protocols), and due to differences in design philosophy, available resources, etc., the transmission cycle of scan transmission differs in each network. N1 transmits more than N2 The description will be made assuming that the cycle is short.
(動作説明)
このような構成で、中継装置2は以下の動作(3−1)〜(3−5)、(4−1)〜(4−5)を行なう。
(Description of operation)
With such a configuration, the relay device 2 performs the following operations (3-1) to (3-5) and (4-1) to (4-5).
中継装置1がネットワークN1からネットワークN2へスキャン伝送データを中継する場合は以下の動作を行なう。
(3−1)N1用通信手段21は、ネットワークN1内のいずれかの制御装置からスキャン伝送データを受信する。
(3−2)演算制御部29は、N1用通信手段21からのスキャン伝送データをN2用バッファ24に格納する。
(3−3)周期調節手段27は、ネットワークN2でスキャン伝送データが送信されている第2の送信周期を記憶手段26から読み出し、中継制御手段25に第2の送信周期に合致する送信のタイミングを示すタイミング情報を中継制御手段25、N2用通信手段23に送信する。
(3−4)中継制御手段25は、受信したタイミング情報に基づき、そのタイミングよりも予め定められた時間分だけ前にN2用バッファ24からスキャン伝送データを読み出し、ネットワークN2のプロトコルに変換(加工)して、N2用通信手段23に出力する。
(3−5)N2用通信手段23は、第2の送信周期に合致するタイミングでネットワークN2のプロトコル用に変換されたスキャン伝送データをネットワークN2へと送信する。
When the relay device 1 relays scan transmission data from the network N1 to the network N2, the following operation is performed.
(3-1) The N1 communication means 21 receives scan transmission data from any control device in the network N1.
(3-2) The
(3-3) The
(3-4) Based on the received timing information, the relay control means 25 reads the scan transmission data from the N2 buffer 24 a predetermined time before the timing, and converts (processes) it into the protocol of the network N2. And output to the communication means 23 for N2.
(3-5) The
このため、中継装置2がネットワークN1から受信したスキャン伝送データをネットワークN2へ送信するスキャン伝送の送信周期は、ネットワークN2でのスキャン伝送送信周期と等しくなることになる。 For this reason, the transmission cycle of scan transmission in which the relay device 2 transmits the scan transmission data received from the network N1 to the network N2 is equal to the scan transmission transmission cycle in the network N2.
中継装置1がネットワークN2からネットワークN1へスキャン伝送データを中継する場合は以下の動作を行なう。
(4−1)N2用通信手段23は、ネットワークN2内のいずれかの制御装置からスキャン伝送データを受信する。
(4−2)演算制御部29は、N2用通信手段23からのスキャン伝送データをN1用バッファ22に格納する。
(4−3)周期調節手段27は、ネットワークN1でスキャン伝送データが送信されている第1の送信周期を記憶手段26から読み出し、中継制御手段25に第1の送信周期に合致する送信のタイミングを示すタイミング情報を中継制御手段25、N1用通信手段21に送信する。
(4−4)中継制御手段25は、受信したタイミング情報に基づき、そのタイミングよりも予め定められた時間分だけ前にN1用バッファ22からスキャン伝送データを読み出し、ネットワークN1のプロトコルに変換(加工)して、N1用通信手段21に出力する。
(4−5)N1用通信手段21は、第1の送信周期に合致するタイミングでネットワークN2のプロトコル用に変換されたスキャン伝送データをネットワークN1へと送信する。
When the relay device 1 relays scan transmission data from the network N2 to the network N1, the following operation is performed.
(4-1) The N2 communication means 23 receives scan transmission data from any control device in the network N2.
(4-2) The
(4-3) The
(4-4) Based on the received timing information, the relay control means 25 reads the scan transmission data from the
(4-5) The N1 communication means 21 transmits the scan transmission data converted for the protocol of the network N2 to the network N1 at a timing that matches the first transmission cycle.
このため、中継装置2がネットワークN2から受信したスキャン伝送データをネットワークN1へ送信するスキャン伝送の送信周期は、ネットワークN1でのスキャン伝送送信周期と等しくなることになる。 For this reason, the transmission cycle of the scan transmission in which the relay device 2 transmits the scan transmission data received from the network N2 to the network N1 is equal to the scan transmission transmission cycle in the network N1.
この結果、本発明に係る中継装置は、第1のネットワークから受信したスキャン伝送データを第2のネットワークの通信規格に則ったデータに変換する中継制御手段と、第2のネットワークにおけるスキャン伝送データの送信周期を記憶する記憶手段と、中継制御手段により変換されたスキャン伝送データを、第2のネットワークの送信周期で第2のネットワークへスキャン伝送方式を用いて送信する第1の伝送制御手段を備えたことにより、接続されるネットワーク間でスキャン伝送の送信周期が異なる場合であっても、通信効率よく確実にスキャン伝送データを中継できる点で有効である。 As a result, the relay apparatus according to the present invention includes a relay control unit that converts the scan transmission data received from the first network into data conforming to the communication standard of the second network, and the scan transmission data of the second network. Storage means for storing the transmission cycle, and first transmission control means for transmitting the scan transmission data converted by the relay control means to the second network using the scan transmission method at the transmission cycle of the second network. Therefore, even if the transmission cycle of scan transmission differs between connected networks, it is effective in that the scan transmission data can be relayed efficiently and reliably.
また、本発明に係る中継装置は、上述の構成にすることにより、中継装置が接続されているプロトコルの異なる2つのネットワーク間でスキャン伝送の送信周期が異なる場合に、中継装置がその差を吸収し、それぞれのネットワークにとって適切な周期でスキャン伝送を中継することが可能となる。
この結果、特に、下記の効果A、B、Cが期待できる。
A:中継装置がスキャン伝送を送信周期が短いネットワークから送信周期が長いネットワークへ中継する際、中継先ネットワークにとって不必要なフレーム(スキャン伝送データ)は中継されず、余分な帯域の使用を防ぐことができる。
B:必要なフレーム(スキャン伝送データ)のみが中継されるため、中継先ネットワークの通信局(制御装置、ネットワークスイッチなど)の受信負荷の増加は最小限となり、実時間性の低下を防ぐことができる。
C:中継装置がスキャン伝送を送信周期が長いネットワークから送信周期が短いネットワークへ中継する際、トランジェントエラーによりスキャン伝送データが失われても、中継先ネットワークの通信局(制御装置、ネットワークスイッチなど)が想定している遅延時間以内でデータ更新が行われることになる点で有効である。
Further, the relay device according to the present invention has the above-described configuration, so that when the transmission cycle of scan transmission is different between two networks having different protocols to which the relay device is connected, the relay device absorbs the difference. In addition, it is possible to relay scan transmission at a period appropriate for each network.
As a result, the following effects A, B, and C can be expected.
A: When a relay device relays scan transmission from a network with a short transmission cycle to a network with a long transmission cycle, frames unnecessary for the relay destination network (scan transmission data) are not relayed to prevent the use of extra bandwidth. Can do.
B: Since only necessary frames (scan transmission data) are relayed, an increase in reception load of a communication station (control device, network switch, etc.) in the relay destination network is minimized, and deterioration of real-time performance is prevented. it can.
C: When a relay device relays scan transmission from a network with a long transmission cycle to a network with a short transmission cycle, even if the scan transmission data is lost due to a transient error, the communication station (control device, network switch, etc.) of the relay destination network This is effective in that data is updated within the delay time that is assumed by.
なお、本発明に係る中継装置は、ユーザーにより送信周期が設定されるもの限定するものではなく、接続された2つのネットワークに対して中継するスキャン伝送における送信周期が中継装置2にあらかじめ設定されている(組み込まれている)ものでもよい。
この場合は、ユーザーのエンジニアリングミスによって発生するリスクを軽減することができる点で有効である。
Note that the relay apparatus according to the present invention is not limited to the transmission period set by the user, and the transmission period in the scan transmission for relaying to two connected networks is preset in the relay apparatus 2. It may be (incorporated).
In this case, it is effective in that the risk caused by the user's engineering error can be reduced.
<第2の実施例>
なお、本発明に係る中継装置は、第1の実施例で説明した構成に加えて、接続されたネットワークに存在する通信局のアドレスを管理する通信局情報管理手段も備えるものでもよい。以下図2を用いて構成を具体的に説明する。
<Second embodiment>
In addition to the configuration described in the first embodiment, the relay apparatus according to the present invention may include a communication station information management unit that manages addresses of communication stations existing in a connected network. Hereinafter, the configuration will be specifically described with reference to FIG.
図2は、本発明に係る中継装置の他の実施例の構成図であり第2の実施例〜第5の実施例における構成を説明する。図2では図1と共通する部分には同一の符号を付けている。 FIG. 2 is a configuration diagram of another embodiment of the relay device according to the present invention, and the configuration in the second to fifth embodiments will be described. In FIG. 2, the same reference numerals are given to the parts common to FIG.
図2において、本発明に係る中継装置2は、記憶手段26が、接続されたネットワークN1に接続される通信局(制御装置、ネットワークスイッチ、フィールド機器など)のネットワーク用のアドレスなどの識別子が格納される第1のデータテーブルと、ネットワークN2に接続される通信局のネットワーク用のアドレスなどの識別子が格納される第2のデータテーブルをそれぞれ記憶する。 2, in the relay device 2 according to the present invention, the storage means 26 stores an identifier such as a network address of a communication station (control device, network switch, field device, etc.) connected to the connected network N1. And a second data table in which identifiers such as network addresses of communication stations connected to the network N2 are stored.
また、中継装置2は、演算制御部29が備える機能ブロック等として、記憶手段26に記憶された各データテーブルに基づき、ネットワークN1またはネットワークN2から受信したスキャン伝送データの送信元通信局(制御機器など)の識別子が第2のデータテーブルまたは第1のデータテーブル中の識別子と不一致であるときはスキャン伝送データを中継し、一致するときは異常データとして破棄する通信局情報管理手段30を備える。
Further, the relay device 2 is a function block or the like provided in the
このような構成で、中継装置2はスキャン伝送を中継する際に、以下の動作を行なう。
以下、ネットワークN1からのスキャン伝送データをネットワークN2へ中継する場合を例として説明する。なおネットワークN2からのスキャン伝送データをネットワークN1へ中継する場合もこれとほぼ同じであるから説明を省略する。
With such a configuration, the relay device 2 performs the following operation when relaying scan transmission.
Hereinafter, a case where the scan transmission data from the network N1 is relayed to the network N2 will be described as an example. The case where the scan transmission data from the network N2 is relayed to the network N1 is almost the same as this, and the description thereof is omitted.
通信局情報管理手段30は、N1用通信手段21により受信したネットワークN1内のいずれかの制御装置からスキャン伝送データに基づき、送信元の通信局の識別子(アドレスなど)を抽出する。
また、通信局情報管理手段30は、抽出された識別子(送信元アドレス)と第2のデータテーブル中の識別子と比較する。
そして、中継装置2は、通信局情報管理手段30が比較の結果、不一致と判断する場合(いいかれば、送信元の通信局が中継先であるネットワークN2に重複して存在しない場合)には、当該スキャン伝送データは正常なデータであるとみなして、中継制御手段25、周期調節手段27によりスキャン伝送データを中継先ネットワークN2へ中継する。
一方、中継装置2は、通信局情報管理手段30が比較の結果、一致したと判断する場合(つまり送信元の通信局が中継先ネットワークに重複して存在している場合)には、当該スキャン伝送データを異常データとして破棄する。
The communication station information management means 30 extracts the identifier (address, etc.) of the transmission source communication station based on the scan transmission data from any control device in the network N1 received by the N1 communication means 21.
Further, the communication station information management means 30 compares the extracted identifier (source address) with the identifier in the second data table.
Then, when the communication station information management means 30 determines that there is a mismatch as a result of the comparison (in other words, when the transmission source communication station does not overlap with the network N2 as the relay destination), the relay device 2 Assuming that the scan transmission data is normal data, the relay control means 25 and the cycle adjustment means 27 relay the scan transmission data to the relay destination network N2.
On the other hand, when the communication station
この結果、本発明の中継装置は、通信局情報管理手段が受信したスキャン伝送データが正常である場合にのみ中継先のネットワークに送信し、異常データであるときは中継先のネットワークに送信することなく破棄することにより、異常データが中継先ネットワークに送信されて余分な通信帯域の使用や通信局のプロセッサパワーおよびメモリの消費を防ぐことができる。このため、通信効率よく確実にスキャン伝送データを中継できる点で有効である。 As a result, the relay apparatus of the present invention transmits to the relay destination network only when the scan transmission data received by the communication station information management means is normal, and transmits to the relay destination network when the data is abnormal. By discarding them without error, it is possible to prevent abnormal data from being transmitted to the relay destination network and use of an extra communication band, processor power of the communication station, and memory consumption. Therefore, this is effective in that the scan transmission data can be relayed efficiently and reliably.
<第3の実施例>
なお、本発明に係る中継装置は、第1の実施例または第2の実施例で説明した構成に加えて、ネットワークN1またはネットワークN2に接続される機器、通信局のスキャン伝送の各タイミングとは異なるタイミングでスキャン伝送データを送信させる送信タイミング調節手段と、ネットワークN1またはN2の通信局と時刻同期を行う時刻同期手段、を備えるものでもよい。
<Third embodiment>
In addition to the configuration described in the first embodiment or the second embodiment, the relay device according to the present invention is a device connected to the network N1 or the network N2, and each timing of scan transmission of the communication station. A transmission timing adjustment unit that transmits scan transmission data at different timings and a time synchronization unit that performs time synchronization with a communication station of the network N1 or N2 may be provided.
具体的には、本発明に係る中継装置2は、演算制御部29が備える機能ブロック等として、ネットワークN1またはネットワークN2に接続される通信局のスキャン伝送の各タイミングとは異なるタイミングでN2用通信手段23またはN1用通信手段21にスキャン伝送データを送信させるタイミング調整手段31と、ネットワークN1またはN2の通信局と時刻同期を行う時刻同期手段32を備える。
また、記憶手段26は、ネットワークN1またはネットワークN2に接続される通信局におけるスキャン伝送の各タイミングチャートを記憶する。
Specifically, the relay device 2 according to the present invention is configured such that the functional block and the like included in the
The
このような構成で、中継装置2はスキャン伝送を中継する際に、次の動作を行なう。
以下、ネットワークN1からのスキャン伝送データをネットワークN2へ中継する場合を例として説明する。なおネットワークN2からのスキャン伝送データをネットワークN1へ中継する場合もこれとほぼ同じであるから説明を省略する。
With such a configuration, the relay device 2 performs the following operation when relaying scan transmission.
Hereinafter, a case where the scan transmission data from the network N1 is relayed to the network N2 will be described as an example. The case where the scan transmission data from the network N2 is relayed to the network N1 is almost the same as this, and the description thereof is omitted.
時刻同期手段32は、ネットワークN1またはN2の通信局と時刻同期を行うための制御データを送受信して時刻同期を行う。 The time synchronization means 32 performs time synchronization by transmitting and receiving control data for performing time synchronization with the communication station of the network N1 or N2.
タイミング調整手段31は、記憶手段26のタイミングチャートに基づき、中継装置2がスキャン伝送データを送信するタイミングを割り当てる。たとえばタイミング調整手段31はネットワークN1、またはネットワークN2の通信局がスキャン伝送データを送信するタイミングを避けて、中継装置2がスキャン伝送データを送信できるタイミングを抽出して割り当てる。
The
周期調節手段27は、ネットワークN1でスキャン伝送データが送信されている第1の送信周期を記憶手段26から読み出し、タイミング調整手段31によって割り当てられたタイミングであって中継制御手段25に第1の送信周期に合致する送信のタイミングを示すタイミング情報を中継制御手段25、N1用通信手段21に送信する。
The
中継制御手段25は、受信したタイミング情報に基づき、そのタイミングよりも予め定められた時間分だけ前にN1用バッファ22からスキャン伝送データを読み出し、ネットワークN1のプロトコルに変換(加工)して、N1用通信手段21に出力する。
N1用通信手段21は、タイミング調整手段31によって割り当てられたタイミングであって第1の送信周期に合致するタイミングで、ネットワークN2のプロトコル用に変換されたスキャン伝送データをネットワークN1へと送信する。
Based on the received timing information, the relay control means 25 reads the scan transmission data from the
The
この結果、本発明の中継装置は、タイミング調整手段が、自機(中継装置2)を含む全通信局に対して送信できるタイミングをあらかじめ割り当てることにより、一時に通信がラッシュする事態を避けることができ、当該ネットワークのリアルタイム性が向上できる。このため、通信効率よく確実にスキャン伝送データを中継できる点で有効である。 As a result, the relay apparatus of the present invention avoids a situation in which communication rushes at a time by the timing adjusting means assigning in advance timings that can be transmitted to all communication stations including the own apparatus (relay apparatus 2). And real-time performance of the network can be improved. Therefore, this is effective in that the scan transmission data can be relayed efficiently and reliably.
<第4の実施例>
なお、本発明に係る中継装置は、第1の実施例〜第3の実施例のいずれかで説明した構成に加えて、ネットワークN1またはネットワークN2に接続される通信局から受信するスキャン伝送データを2個以上結合させてスキャン伝送方式を用いて中継するスキャン伝送データ結合手段を備えるものでもよい。
<Fourth embodiment>
In addition to the configuration described in any of the first to third embodiments, the relay device according to the present invention receives scan transmission data received from a communication station connected to the network N1 or the network N2. It may be provided with scan transmission data combining means for combining two or more and relaying them using a scan transmission method.
具体的には、本発明に係る中継装置2は、演算制御部29が備える機能ブロック等として、ネットワークN1またはネットワークN2に接続される制御装置や通信局から受信するスキャン伝送データを2個以上結合させて、ネットワークN1またはネットワークN2にスキャン伝送方式を用いて送信するスキャン伝送データ結合手段33を備える。
Specifically, the relay device 2 according to the present invention combines two or more scan transmission data received from a control device or a communication station connected to the network N1 or the network N2 as a functional block or the like included in the
このような構成で、中継装置2はスキャン伝送を中継する際に、次の動作を行なう。
以下、ネットワークN1からのスキャン伝送データをネットワークN2へ中継する場合を例として説明する。なおネットワークN2からのスキャン伝送データをネットワークN1へ中継する場合もこれとほぼ同じであるから説明を省略する。
With such a configuration, the relay device 2 performs the following operation when relaying scan transmission.
Hereinafter, a case where the scan transmission data from the network N1 is relayed to the network N2 will be described as an example. The case where the scan transmission data from the network N2 is relayed to the network N1 is almost the same as this, and the description thereof is omitted.
中継装置2は、スキャン伝送データ結合手段33が、ネットワークN1に対してスキャン伝送を中継するタイミングで、N1用送信バッファ22に格納してある順に複数のスキャン伝送データを結合して(組み合わせて)、一つのスキャン伝送データ(フレーム)として生成する。
このとき、スキャン伝送データ結合手段33は、この結合されたスキャン伝送データ(フレーム)を、予め定められた最大フレーム長をよりも短いフレーム長であるものを生成する。
The relay device 2 combines (combines) a plurality of scan transmission data in the order stored in the
At this time, the scan transmission data combining unit 33 generates the combined scan transmission data (frame) having a frame length shorter than a predetermined maximum frame length.
中継制御手段25は、スキャン伝送データ結合手段33により結合された複数のスキャン伝送データからなるデータを、ネットワークN2のプロトコルに変換(加工)して、N2用通信手段23に出力する。
The
N2用通信手段23は、スキャン伝送データ結合手段33により結合された複数のスキャン伝送データからなる結合データを、第1の送信周期に合致するタイミングで、ネットワークN1へと送信する。
The
なお、本実施例では、中継先ネットワークに存在するすべての通信局が、中継装置に加工された結合データ(フレーム)を受信すると、これを分割し、元来のスキャン伝送データ(フレーム)の内容を解釈する機能を有する。 In this embodiment, when all communication stations existing in the relay destination network receive the combined data (frame) processed by the relay device, the data is divided and the contents of the original scan transmission data (frame) are divided. Has the function of interpreting
この結果、本発明の中継装置は、スキャン伝送データ結合手段33が、ネットワークN1に対してスキャン伝送を中継する際に、N1用送信バッファ22に格納してある順に複数のスキャン伝送データを結合して(組み合わせて)、一つのスキャン伝送データ(フレーム)として生成することにより、通信フレーム数を削減できる。
As a result, the relay apparatus of the present invention combines a plurality of scan transmission data in the order stored in the
また、本発明のようにスキャン伝送データ結合手段33が、複数のスキャン伝送データを結合して一つのスキャン伝送データとして送信することにより、通信のフレーム長が長いスキャン伝送データ1個とフレーム長が短いスキャン伝送データ複数個(多数)とで、いずれも合計データサイズが同じサイズである場合では、受信側のネットワークシステムにおいて複数個のスキャン伝送データを一つ一つ読み込む時間が軽減され、パフォーマンスを向上できる点で有効である。 Further, as in the present invention, the scan transmission data combining means 33 combines a plurality of scan transmission data and transmits it as one scan transmission data, so that one scan transmission data having a long communication frame length and the frame length are combined. If there are multiple (multiple) short scan transmission data and the total data size is the same, the time required to read multiple scan transmission data one by one in the network system on the receiving side is reduced, and performance is improved. It is effective in that it can be improved.
<第5の実施例>
なお、本発明に係る中継装置は、第1の実施例〜第4の実施例のいずれかで説明した構成に加えて、ネットワークN1、N2のスキャン伝送の送信周期を測定し記憶手段26に記憶する送信周期測定手段を備えるものでもよい。
<Fifth embodiment>
In addition to the configuration described in any of the first to fourth embodiments, the relay apparatus according to the present invention measures the transmission period of the scan transmission of the networks N1 and N2 and stores it in the
具体的には、本発明に係る中継装置2は、演算制御部29が備える機能ブロック等として、予め定められた時間だけ接続されたネットワークN1またはN2からのスキャン伝送データを受信し、当該時間と受信した回数とから(たとえば平均値を計算する等して)受信間隔を算出することにより、各ネットワークN1、N2におけるスキャン伝送の送信周期を測定し、記憶手段26に各送信周期を記憶する送信周期測定手段34を備える。
Specifically, the relay device 2 according to the present invention receives scan transmission data from the network N1 or N2 connected for a predetermined time as a functional block provided in the
この結果、本実施例に係る中継装置であれば、送信周期測定手段34が予め定められた時間だけスキャン伝送データを受信し、当該時間と受信した回数とから各ネットワークにおけるスキャン伝送の送信周期を算出することにより、第1の実施例で示したようにユーザーが送信周期を設定する場合に発生しうるエンジニアリングミスに係るリスクを伴うことなく、接続されたネットワークに対して適切な送信周期でスキャン伝送を中継することができる。
As a result, in the relay device according to the present embodiment, the transmission
2 中継装置
21 N1用通信手段(第1の伝送制御手段)
23 N2用通信手段(第2の伝送制御手段)
25 中継制御手段
26 記憶手段
27 周期調節手段
30 通信局情報管理手段
31 タイミング調整手段
33 スキャン伝送データ結合手段
34 送信周期測定手段
2
23 N2 communication means (second transmission control means)
25 relay control means 26 storage means 27 period adjustment means 30 communication station information management means 31 timing adjustment means 33 scan transmission data combining means 34 transmission period measurement means
Claims (6)
第1のネットワークから受信したスキャン伝送データを第2のネットワークの通信規格に則ったデータに変換する中継制御手段と、
前記第2のネットワークにおける前記スキャン伝送データの送信周期を記憶する記憶手段と、
前記中継制御手段により変換されたスキャン伝送データを、前記第2のネットワークのスキャン伝送における送信周期で前記第2のネットワークへスキャン伝送方式を用いて送信する第1の伝送制御手段を備えたことを特徴とする中継装置。 In a relay device that relays scan transmission data transmitted using a scan transmission method between devices constituting a process control network between a plurality of networks having different communication standards,
Relay control means for converting scan transmission data received from the first network into data conforming to the communication standard of the second network;
Storage means for storing a transmission period of the scan transmission data in the second network;
First transmission control means for transmitting scan transmission data converted by the relay control means to the second network using a scan transmission method at a transmission period in scan transmission of the second network is provided. Characteristic relay device.
前記中継制御手段が、前記第2のネットワークから受信したスキャン伝送データを前記第1のネットワークの通信規格に則ったデータに変換し、
前記第2のネットワークから受信し前記中継制御手段により変換されたスキャン伝送データを、前記第1のネットワークのスキャン伝送における送信周期で前記第1のネットワークへスキャン伝送方式を用いて送信する第2の伝送制御手段を、備えたことを特徴とする請求項1記載の中継装置。 The storage means stores a transmission cycle of the scan transmission data in the first network;
The relay control means converts the scan transmission data received from the second network into data conforming to the communication standard of the first network;
Scan transmission data received from the second network and converted by the relay control means is transmitted to the first network using a scan transmission method at a transmission period in the scan transmission of the first network. The relay apparatus according to claim 1, further comprising a transmission control unit.
この識別子と第1のネットワークまたは第2のネットワークから受信したスキャン伝送データの送信元の識別子が第2のデータテーブルまたは第1のデータテーブル中の識別子と一致しないときは、スキャン伝送データを中継する通信局情報管理手段を備えたことを特徴とする請求項1〜3のいずれかに記載の中継装置。 Storing in advance a first data table storing identifiers of devices connected to the first network and a second data table storing identifiers of devices connected to the second network;
When this identifier and the identifier of the transmission source of the scan transmission data received from the first network or the second network do not match the identifier in the second data table or the first data table, the scan transmission data is relayed. The relay apparatus according to claim 1, further comprising communication station information management means.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2010107131A JP5590383B2 (en) | 2010-05-07 | 2010-05-07 | Relay device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2010107131A JP5590383B2 (en) | 2010-05-07 | 2010-05-07 | Relay device |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2011239065A true JP2011239065A (en) | 2011-11-24 |
JP5590383B2 JP5590383B2 (en) | 2014-09-17 |
Family
ID=45326592
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2010107131A Active JP5590383B2 (en) | 2010-05-07 | 2010-05-07 | Relay device |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP5590383B2 (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2012253532A (en) * | 2011-06-02 | 2012-12-20 | Yokogawa Electric Corp | Repeating device |
JP2014060513A (en) * | 2012-09-14 | 2014-04-03 | Toshiba Corp | Scan transmission gateway apparatus |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2005341492A (en) * | 2004-05-31 | 2005-12-08 | Nissan Motor Co Ltd | Gateway unit and method |
JP2007274553A (en) * | 2006-03-31 | 2007-10-18 | Toshiba Corp | Supervisory control system, transmission relay apparatus for the system, and transmission method |
JP2009100437A (en) * | 2007-09-28 | 2009-05-07 | Oki Electric Ind Co Ltd | Packet transit switching apparatus, method and program |
WO2009081479A1 (en) * | 2007-12-25 | 2009-07-02 | Kabushiki Kaisha Toshiba | Network control apparatus |
-
2010
- 2010-05-07 JP JP2010107131A patent/JP5590383B2/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2005341492A (en) * | 2004-05-31 | 2005-12-08 | Nissan Motor Co Ltd | Gateway unit and method |
JP2007274553A (en) * | 2006-03-31 | 2007-10-18 | Toshiba Corp | Supervisory control system, transmission relay apparatus for the system, and transmission method |
JP2009100437A (en) * | 2007-09-28 | 2009-05-07 | Oki Electric Ind Co Ltd | Packet transit switching apparatus, method and program |
WO2009081479A1 (en) * | 2007-12-25 | 2009-07-02 | Kabushiki Kaisha Toshiba | Network control apparatus |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2012253532A (en) * | 2011-06-02 | 2012-12-20 | Yokogawa Electric Corp | Repeating device |
JP2014060513A (en) * | 2012-09-14 | 2014-04-03 | Toshiba Corp | Scan transmission gateway apparatus |
Also Published As
Publication number | Publication date |
---|---|
JP5590383B2 (en) | 2014-09-17 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11736978B2 (en) | Method and apparatus for receiving CPRI data stream, method and apparatus for receiving ethernet frame, and system | |
JP5480908B2 (en) | Power collection device, power measurement device, and power collection method | |
US10320520B2 (en) | Communication device, system and method | |
US10291519B2 (en) | Communication device and communication method | |
JP5590383B2 (en) | Relay device | |
US11026119B2 (en) | Radio communication system for an industrial automation system and method for operating the radio communication system | |
US10278199B2 (en) | Radio relay station, radio base station, communication system and communication method | |
JP2014207608A (en) | Radio relay system between ieee802.11 standard communication and ieee802.15.4 standard communication | |
JP2011130182A (en) | Wireless base station system, and relay device | |
WO2015170527A1 (en) | Gateway device | |
US11784929B2 (en) | Heterogeneous link data translation and distribution method, system and device, and storage medium | |
US9385961B2 (en) | Parallel computing device, communication control device, and communication control method | |
US10205613B2 (en) | Data relaying apparatus and method of relaying data | |
KR20120012354A (en) | device for reducing load of TCP/IP Offload Engine | |
JP2016225672A (en) | Device and method for packet relay | |
US20230232353A1 (en) | Interface conversion apparatus, control circuit, storage medium, and network configuration method | |
JPWO2018167838A1 (en) | Relay apparatus and data transfer method | |
KR20150015263A (en) | Method and apparatus for packet multiplexing to extend wireless sensor network by using prior transmission network | |
WO2023231264A1 (en) | Ethernet device with high transmission efficiency | |
JP6264737B2 (en) | Load balancing system | |
JP6338152B2 (en) | COMMUNICATION DEVICE, COMMUNICATION METHOD, AND PROGRAM | |
JP5814969B2 (en) | Management system and management method | |
JP2013141130A (en) | Radio equipment, method for controlling radio equipment, and method for controlling radio equipment | |
US10051589B2 (en) | Suspending emission of a signal | |
CN114124753A (en) | Message sending method and equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20130214 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20131128 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20131217 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20140131 |
|
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: 20140703 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20140716 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 5590383 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |