JP2006174422A - Communication apparatus and fault notification method - Google Patents

Communication apparatus and fault notification method Download PDF

Info

Publication number
JP2006174422A
JP2006174422A JP2005314392A JP2005314392A JP2006174422A JP 2006174422 A JP2006174422 A JP 2006174422A JP 2005314392 A JP2005314392 A JP 2005314392A JP 2005314392 A JP2005314392 A JP 2005314392A JP 2006174422 A JP2006174422 A JP 2006174422A
Authority
JP
Japan
Prior art keywords
communication
failure
communication device
switch
processing unit
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2005314392A
Other languages
Japanese (ja)
Inventor
Isamu Sho
偉 蒋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Azbil Corp
Original Assignee
Azbil Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Azbil Corp filed Critical Azbil Corp
Priority to JP2005314392A priority Critical patent/JP2006174422A/en
Publication of JP2006174422A publication Critical patent/JP2006174422A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Small-Scale Networks (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To construct a ring wiring scheme using Ethernet(R) while suppressing increase of costs of an entire communication network. <P>SOLUTION: A switch unit 10 including an STP function is formed on the same semiconductor chip 100 together with a function processing unit 20 including an existent information collection function or control function and connected with the function processing unit 20 and according to the STP, data communication between the function processing unit 20 and another apparatus is controlled via a field bus 5. <P>COPYRIGHT: (C)2006,JPO&NCIPI

Description

本発明は、通信装置に関し、特にイーサネット(Ethernet:登録商標)を介して他の通信装置と接続される通信装置に関する。   The present invention relates to a communication device, and more particularly to a communication device connected to another communication device via Ethernet (registered trademark).

ビル設備やプラント設備を監視制御する監視制御システムでは、情報収集機能や制御機能などの各種機能を有する機器を通信装置として通信ネットワークを介して接続し、これら通信装置からの情報に基づき中央監視装置で個々の設備を監視制御するものとなっている。このような監視制御システムでは、通信ネットワークとしてイーサネットが用いられている。   In a supervisory control system that monitors and controls building equipment and plant equipment, devices having various functions such as an information collection function and a control function are connected as communication devices via a communication network, and a central monitoring device is based on information from these communication devices. The individual equipment is monitored and controlled. In such a monitoring control system, Ethernet is used as a communication network.

イーサネットでは、複数の通信装置を接続する際、ハブやスイッチに各通信装置をそれぞれ接続するスター配線方式が基本である。このようなスター配線方式は、比較的規模の小さいオフィス環境には適合するものの、ビル設備やプラント設備などの大規模な設備には必ずしも適合しない。その理由としては、スター配線方式では、ハブやスイッチと各通信装置とをそれぞれ個別の配線を介して接続する必要があり、これに伴って配線が複雑化し、配線工事やメンテナンスの作業負担が増大するからである。   In the Ethernet, when connecting a plurality of communication devices, a star wiring system is basically used in which each communication device is connected to a hub or a switch. Such a star wiring system is suitable for a relatively small office environment, but is not necessarily suitable for a large-scale facility such as a building facility or a plant facility. The reason is that in the star wiring method, it is necessary to connect each hub and switch to each communication device via individual wiring, which complicates the wiring and increases the burden of wiring work and maintenance. Because it does.

従来、このようなイーサネットにおいて、各通信装置をリング配線方式で接続するイーサネットスイッチが提案されている(例えば、非特許文献1など参照)。
このイーサネットスイッチは、通信経路の冗長化を実現するSTP(スパニング・ツリー・プロトコル:Spanning Tree Protocol)機能を用いて、渡り配線を介してリング型に複数の通信装置を接続する中継装置である。これらイーサネットスイッチをリング配線方式で接続し、それぞれのイーサネットスイッチに通信装置を接続することにより、スター配線方式を採用することなく複数の通信装置をイーサネットで接続することができる。
Conventionally, in such Ethernet, an Ethernet switch that connects each communication device by a ring wiring method has been proposed (for example, see Non-patent Document 1).
This Ethernet switch is a relay device that connects a plurality of communication devices in a ring shape via a jumper wiring using an STP (Spanning Tree Protocol) function that realizes redundancy of communication paths. By connecting these Ethernet switches by the ring wiring method and connecting the communication devices to the respective Ethernet switches, a plurality of communication devices can be connected by Ethernet without adopting the star wiring method.

なお、出願人は、本明細書に記載した先行技術文献情報で特定される先行技術文献以外には、本発明に関連する先行技術文献を出願時までに発見するには至らなかった。
http://japan.moxa.com、2003、Moxa Technologies
The applicant has not yet found prior art documents related to the present invention by the time of filing other than the prior art documents specified by the prior art document information described in this specification.
http://japan.moxa.com, 2003, Moxa Technologies

しかしながら、このような従来技術では、通信装置ごとにイーサネットスイッチを設ける必要があり、通信ネットワーク全体の大幅なコストアップの要因となるという問題点があった。また、コストダウンのため機能を削減した場合、障害発生およびその障害場所の特定を正確に行うことができないという問題点があった。
本発明はこのような課題を解決するためのものであり、通信ネットワーク全体のコストアップを抑制しつつ、イーサネットを用いてリング配線方式を構築できる通信装置および障害通知方法を提供することを目的としている。
However, such a conventional technique has a problem that it is necessary to provide an Ethernet switch for each communication device, which causes a significant cost increase of the entire communication network. In addition, when functions are reduced for cost reduction, there is a problem in that failure occurrence and failure location cannot be accurately identified.
An object of the present invention is to provide a communication device and a failure notification method capable of constructing a ring wiring method using Ethernet while suppressing an increase in the cost of the entire communication network. Yes.

このような目的を達成するために、本発明にかかる通信装置は、他の装置と各種データをやり取りすることにより所定の機能を実現する機能処理部を有し、イーサネット準拠のフィールドバスを用いて他の装置とリング配線方式で接続される通信装置であって、スパニング・ツリー・プロトコル(STP)に基づき、フィールドバスを介した機能処理部と他の装置との間のデータ通信を制御するスイッチ部と、機能処理部およびスイッチ部を構成する信号処理回路が集積回路として形成された半導体チップとを備えている。   In order to achieve such an object, a communication device according to the present invention has a function processing unit that realizes a predetermined function by exchanging various data with other devices, and uses an Ethernet-compliant field bus. A switch that is connected to another device by a ring wiring method and controls data communication between the function processing unit and the other device via the field bus based on the spanning tree protocol (STP) And a semiconductor chip on which signal processing circuits constituting the function processing unit and the switch unit are formed as an integrated circuit.

この際、スイッチ部の具体例として、それぞれに接続されたフィールドバスの端点を物理レイヤで終端制御する2つの通信ポートと、通信ポートごとに設けられ当該通信ポートを介して他の装置からのフレームを受信する2つの受信処理部と、通信ポートごとに設けられ当該受信処理部で受信したフレームを一時的に格納する2つのキューバッファと、通信ポートごとに設けられ他方のキューバッファに格納されているフレームを当該通信ポートを介して他の装置へ送信する送信処理部と、キューバッファに格納されている当該装置宛てのフレームを機能処理部へ出力するとともに、機能処理部から受け取った他の装置宛てのフレームをキューバッファに格納する通信制御部とを備えてもよい。   At this time, as a specific example of the switch unit, two communication ports for controlling termination of fieldbus endpoints connected to each other in the physical layer, and a frame from another device provided for each communication port via the communication port Received by the communication processing port, two queue buffers provided for each communication port for temporarily storing frames received by the reception processing unit, and stored in the other queue buffer for each communication port. A transmission processing unit that transmits a frame to another device via the communication port, and another device that receives the frame addressed to the device stored in the queue buffer to the function processing unit and receives from the function processing unit And a communication control unit that stores the addressed frame in a queue buffer.

また、スイッチ部に、フィールドバスを介して当該通信装置に隣接されている2つの隣接装置との間で定期的にやり取りされる物理レイヤ上のリンク信号をそれぞれ監視するリンク信号監視手段を設け、機能処理部に、リンク信号監視手段により一方の隣接装置側からのリンク信号の異常に応じて障害が検出された場合、当該通信装置に固有のネットワークアドレスを含む障害検出通知メールを生成し、障害が検出されていない他方の隣接装置側のフィールドバスを用いてスイッチ部から任意のメールサーバへ障害検出通知メールを送信するメール送信手段を設けてもよい。   Further, the switch unit is provided with link signal monitoring means for monitoring each link signal on the physical layer periodically exchanged between two adjacent devices adjacent to the communication device via the field bus, When a failure is detected by the link signal monitoring means in the function processing unit according to the abnormality of the link signal from one adjacent device side, a failure detection notification mail including a network address unique to the communication device is generated, There may be provided a mail transmission means for transmitting a failure detection notification mail from the switch unit to an arbitrary mail server by using the field bus on the other adjacent device side where no error is detected.

あるいは、スイッチ部に、スパニング・ツリー・プロトコル(STP)に基づき各通信装置を制御するスイッチ装置からフィールドバス上を巡回するよう定期的に送信されるデータリンクレイヤ上のチェックメッセージを監視するチェックメッセージ監視手段を設け、機能処理部に、チェックメッセージ監視手段により一方の隣接装置側からのチェックメッセージの異常に応じて障害が検出された場合、当該通信装置に固有のネットワークアドレスを含む障害検出通知メールを生成し、障害が検出されていない他方の隣接装置側のフィールドバスを用いてスイッチ部から任意のメールサーバへ障害検出通知メールを送信するメール送信手段を設けてもよい。   Alternatively, a check message for monitoring a check message on the data link layer periodically transmitted to the switch unit so as to circulate on the field bus from the switch device that controls each communication device based on the spanning tree protocol (STP). A monitoring unit is provided, and when a failure is detected in the function processing unit by the check message monitoring unit according to an abnormality of the check message from one adjacent device, a failure detection notification mail including a network address unique to the communication device And a mail transmission means for transmitting a failure detection notification mail from the switch unit to an arbitrary mail server using the field bus on the other adjacent device side on which no failure is detected.

また、本発明にかかる障害通知方法は、イーサネット準拠のフィールドバスを用いて他の装置とリング配線方式で接続される通信装置で用いられる障害通知方法であって、半導体チップに集積回路として形成された信号処理回路からなるスイッチ部により、スパニング・ツリー・プロトコル(STP)に基づき、フィールドバスを介した機能処理部と他の装置との間のデータ通信を制御するスイッチステップと、半導体チップに集積回路として形成された信号処理回路からなる機能処理部により、スイッチ部を介して他の装置と各種データをやり取りすることにより所定の機能を実現する機能処理ステップとを備え、スイッチステップに、フィールドバスを介して当該通信装置に隣接されている2つの隣接装置との間で定期的にやり取りされる物理レイヤ上のリンク信号をそれぞれ監視するリンク信号監視ステップを設け、機能処理ステップに、リンク信号監視ステップにより一方の隣接装置側からのリンク信号の異常に応じて障害が検出された場合、当該通信装置に固有のネットワークアドレスを含む障害検出通知メールを生成し、障害が検出されていない他方の隣接装置側のフィールドバスを用いてスイッチ部から任意のメールサーバへ障害検出通知メールを送信するメール送信ステップを設けてもよい。   The failure notification method according to the present invention is a failure notification method used in a communication device connected to another device by a ring wiring method using an Ethernet-compliant field bus, and is formed as an integrated circuit on a semiconductor chip. Integrated into a semiconductor chip and a switch step for controlling data communication between a function processing unit and another device via a fieldbus based on a spanning tree protocol (STP) by a switch unit including a signal processing circuit. And a function processing step for realizing a predetermined function by exchanging various data with other devices via the switch unit by a function processing unit formed of a signal processing circuit formed as a circuit. Is periodically exchanged between two adjacent devices adjacent to the communication device via A link signal monitoring step for monitoring each link signal on the physical layer is provided, and if a failure is detected in the function processing step according to an abnormality of the link signal from one adjacent device side by the link signal monitoring step, the communication Sending a failure detection notification mail including the network address unique to the device, and sending a failure detection notification email from the switch unit to any mail server using the fieldbus on the other neighboring device side where no failure is detected Steps may be provided.

また、本発明にかかる他の障害通知方法は、イーサネット準拠のフィールドバスを用いて他の装置とリング配線方式で接続される通信装置で用いられる障害通知方法であって、半導体チップに集積回路として形成された信号処理回路からなるスイッチ部により、スパニング・ツリー・プロトコル(STP)に基づき、フィールドバスを介した機能処理部と他の装置との間のデータ通信を制御するスイッチステップと、半導体チップに集積回路として形成された信号処理回路からなる機能処理部により、スイッチ部を介して他の装置と各種データをやり取りすることにより所定の機能を実現する機能処理ステップとを備え、スイッチステップに、スパニング・ツリー・プロトコル(STP)に基づき各通信装置を制御するスイッチ装置からフィールドバス上を巡回するよう定期的に送信されるデータリンクレイヤ上のチェックメッセージを監視するチェックメッセージ監視ステップを設け、機能処理ステップに、チェックメッセージ監視ステップにより一方の隣接装置側からのチェックメッセージの異常に応じて障害が検出された場合、当該通信装置に固有のネットワークアドレスを含む障害検出通知メールを生成し、障害が検出されていない他方の隣接装置側のフィールドバスを用いてスイッチ部から任意のメールサーバへ障害検出通知メールを送信するメール送信ステップを設けてもよい。   Further, another failure notification method according to the present invention is a failure notification method used in a communication device connected to another device by a ring wiring method using an Ethernet-compliant field bus, and is provided as an integrated circuit on a semiconductor chip. A switch step for controlling data communication between a function processing unit and another device via a fieldbus based on a spanning tree protocol (STP) by a switch unit including a formed signal processing circuit; and a semiconductor chip A functional processing step that realizes a predetermined function by exchanging various data with other devices via the switch unit by a functional processing unit formed of a signal processing circuit formed as an integrated circuit in the switch step. The switch device that controls each communication device based on the Spanning Tree Protocol (STP) A check message monitoring step for monitoring a check message on the data link layer that is periodically transmitted so as to circulate on the route bus is provided, and a check message from one neighboring device side is abnormal in the function processing step by the check message monitoring step. If a failure is detected according to the communication device, a failure detection notification mail including a network address unique to the communication device is generated, and an arbitrary address is detected from the switch unit using the field bus on the other adjacent device side where the failure is not detected. You may provide the mail transmission step which transmits a failure detection notification mail to a mail server.

本発明によれば、STP機能を有するスイッチ部と既存の情報収集機能や制御機能などの各種機能を実現する機能処理部とが同一半導体チップ上に形成されているため、通信装置ごとにSTPスイッチを外付けする場合と比較して、装置構成やコネクタなどの部材コスト、さらには製造コストが不要となる。
したがって、ビル設備やプラント設備を監視制御する規模の大きい監視制御システムであっても、通信ネットワーク全体のコストアップを抑制しつつ、イーサネットを用いてリング配線方式を構築できる。
According to the present invention, since the switch unit having the STP function and the function processing unit for realizing various functions such as the existing information collecting function and control function are formed on the same semiconductor chip, the STP switch is provided for each communication device. Compared with the case of attaching externally, the cost of members such as the device configuration and connector, and further, the manufacturing cost becomes unnecessary.
Therefore, even in a large-scale monitoring control system that monitors and controls building facilities and plant facilities, it is possible to construct a ring wiring system using Ethernet while suppressing an increase in the cost of the entire communication network.

次に、本発明の実施の形態について図面を参照して説明する。
[第1の実施の形態]
まず、図1を参照して、本発明の第1の実施の形態にかかる通信装置について説明する。図1は、本発明の第1の実施の形態にかかる通信装置が適用される監視制御システムの構成を示すブロック図である。
監視制御システムは、情報収集機能や制御機能などの各種機能を有する通信装置1と通信ネットワークを介して接続し、これら通信装置1からの情報に基づき中央監視装置4で個々の設備を監視制御するシステムである。
Next, embodiments of the present invention will be described with reference to the drawings.
[First Embodiment]
First, a communication apparatus according to a first embodiment of the present invention will be described with reference to FIG. FIG. 1 is a block diagram showing a configuration of a monitoring control system to which a communication apparatus according to a first embodiment of the present invention is applied.
The monitoring control system is connected to a communication device 1 having various functions such as an information collecting function and a control function via a communication network, and monitors and controls individual facilities by the central monitoring device 4 based on information from these communication devices 1. System.

この監視制御システムは、通信装置1、STPスイッチ2、コントローラ3、および中央監視装置4から構成されている。
各通信装置1は、それぞれSTP機能を有するスイッチ部を備え、このスイッチ部を介してフィールドバス5にリング配線方式で接続されている。フィールドバス5は、イーサネット規格に準拠したリング型の通信回線であり、STP機能を有するSTPスイッチ2に接続されている。
STPスイッチ2は、1つ以上のフィールドバス5を終端制御する機能と、通信回線6を介してコントローラ3と接続する機能と、フィールドバス5に接続された各通信装置1とコントローラ3との間でデータを中継転送する機能とを有している。
This monitoring control system is composed of a communication device 1, an STP switch 2, a controller 3, and a central monitoring device 4.
Each communication device 1 includes a switch unit having an STP function, and is connected to the field bus 5 via the switch unit in a ring wiring manner. The field bus 5 is a ring-type communication line compliant with the Ethernet standard, and is connected to the STP switch 2 having the STP function.
The STP switch 2 has a function of terminating one or more field buses 5, a function of connecting to the controller 3 via the communication line 6, and between each communication device 1 and the controller 3 connected to the field bus 5. And has a function of relaying and transferring data.

コントローラ3は、上位ネットワーク7を介して中央監視装置4と接続する機能と、通信回線6を介して1つ以上のSTPスイッチ2と接続する機能と、STPスイッチ2を介して任意の通信装置1とデータ通信を行うことにより、通信装置1で収集された各種情報を取得して中央監視装置4へ通知する機能と、中央監視装置4からの指示、あるいは予め設定された制御プログラムに基づいて、STPスイッチ2を介して任意の通信装置1とデータ通信を行うことにより、当該通信装置1の動作を制御する機能とを有している。   The controller 3 has a function of connecting to the central monitoring device 4 via the host network 7, a function of connecting to one or more STP switches 2 via the communication line 6, and an arbitrary communication device 1 via the STP switch 2. Based on the function of acquiring various information collected by the communication device 1 and notifying the central monitoring device 4 by performing data communication, and the instruction from the central monitoring device 4, or a preset control program, It has a function of controlling the operation of the communication apparatus 1 by performing data communication with an arbitrary communication apparatus 1 via the STP switch 2.

本実施の形態では、各通信装置1のスイッチ部の信号処理回路を、情報収集機能や制御機能などの各種機能を構成する機能処理部の信号処理回路とともに、同一半導体チップ上に形成し、このスイッチ部を介してフィールドバス5へリング配線方式で接続するようにしたものである。   In the present embodiment, the signal processing circuit of the switch unit of each communication device 1 is formed on the same semiconductor chip together with the signal processing circuit of the function processing unit constituting various functions such as an information collecting function and a control function. It is configured to be connected to the field bus 5 via a switch unit by a ring wiring method.

[通信装置]
次に、図2を参照して、本発明の第1の実施の形態にかかる通信装置について詳細に説明する。図2は、本発明の第1の実施の形態にかかる通信装置のスイッチ部の構成を示すブロック図である。
[Communication device]
Next, the communication apparatus according to the first embodiment of the present invention will be described in detail with reference to FIG. FIG. 2 is a block diagram illustrating a configuration of the switch unit of the communication device according to the first embodiment of the present invention.

通信装置1は、主な回路構成として、スイッチ部10と機能処理部20と有しており、これら信号処理回路は、集積回路としてFPGA(Field Programmable Gate Array)などの同一半導体チップ100上に形成されている。FPGAとは、ハードウェアを設計データによって、動的に(使用時に)作り変えることができるゲートアレイである。小さなロジック・モジュールを組み合わせて設計できるため、自由度が高く、ゲートの使用効率が高いという長所がある。   The communication device 1 has a switch unit 10 and a function processing unit 20 as main circuit configurations, and these signal processing circuits are formed on the same semiconductor chip 100 such as an FPGA (Field Programmable Gate Array) as an integrated circuit. Has been. The FPGA is a gate array whose hardware can be dynamically reconfigured (in use) by design data. Since it can be designed by combining small logic modules, it has the advantages of high flexibility and high gate usage efficiency.

機能処理部20は、CPUや専用の演算処理回路などからなり、他の装置と各種データをやり取りすることにより、情報収集機能や制御機能などの各種機能を実現する。
スイッチ部10は、機能処理部と接続するとともに、フィールドバス5を介して他の装置と接続し、スパニング・ツリー・プロトコル(STP)に基づき、フィールドバス5を介した機能処理部20と他の装置との間のデータ通信を制御するSTP機能を有し、フィールドバス5にリング配線方式で接続されている。STPは、イーサネットなどのネットワーク上でループを防止しながら、パスの冗長性を実現するレイヤ2リンク管理プロトコルであり、IEEE802.1d に準拠したブリッジおよびスイッチ上で動作する。
The function processing unit 20 includes a CPU, a dedicated arithmetic processing circuit, and the like, and realizes various functions such as an information collecting function and a control function by exchanging various data with other devices.
The switch unit 10 is connected to the function processing unit and is connected to another device via the field bus 5, and the function processing unit 20 via the field bus 5 and other devices are connected based on the Spanning Tree Protocol (STP). It has an STP function for controlling data communication with the apparatus, and is connected to the field bus 5 by a ring wiring system. STP is a layer 2 link management protocol that realizes path redundancy while preventing loops on a network such as Ethernet, and operates on bridges and switches compliant with IEEE802.1d.

このスイッチ部10には、リング配線方式を実現するフィールドバス5に接続するため2つの通信系統A,Bが設けられている。このうち、一方の通信系統Aは、通信ポートA(11A)、受信処理部A(12A)、キューバッファA(13A)、および送信処理部A(14A)から構成され、他方の通信系統Bは、通信ポートB(11B)、受信処理部B(12B)、キューバッファB(13B)、および送信処理部B(14B)から構成されている。また、スイッチ部10には、これら通信系統A,Bを一括制御する通信制御部15が設けられている。   The switch unit 10 is provided with two communication systems A and B for connection to the field bus 5 realizing the ring wiring system. Among these, one communication system A is composed of a communication port A (11A), a reception processing unit A (12A), a queue buffer A (13A), and a transmission processing unit A (14A), and the other communication system B is Communication port B (11B), reception processing unit B (12B), queue buffer B (13B), and transmission processing unit B (14B). The switch unit 10 is provided with a communication control unit 15 that collectively controls the communication systems A and B.

通信ポートA,Bは、それぞれに接続されたフィールドバス5の端点を物理レイヤで終端制御する機能を有している。
受信処理部A,Bは、通信ポートA,Bごとに設けられ、従来の通信装置が持つ物理レイヤインターフェースと同様の、メディアに依存しないMII(Media Independent Interface)インターフェースで接続した通信ポートA,Bからデータを受信する機能と、その受信データについてプリアンブル廃棄、CRCチェック、宛先MACアドレス確認などの受信処理を行う機能とを有している。
The communication ports A and B have a function of controlling termination of the end points of the field bus 5 connected to each of them in the physical layer.
The reception processing units A and B are provided for each of the communication ports A and B. The communication ports A and B are connected with a media independent MII (Media Independent Interface) interface similar to the physical layer interface of the conventional communication apparatus. And a function of performing reception processing such as preamble discard, CRC check, destination MAC address confirmation on the received data.

キューバッファA,Bは、通信ポートA,Bごとに設けられ、受信処理部A,Bで受信処理されたフレームや通信制御部15から出力されたフレームを一時的に格納するバッファである。
送信処理部A,Bは、通信ポートA,Bごとに設けられ、対向する通信系統のキューバッファB,Aから順次フレームを読み出す機能と、読み出したフレームを送信フレームとしてMIIインターフェースでIP接続した通信ポートA,Bへ出力する機能と、その際、当該送信フレームについてCSMA/CD、プリアンブル再生、フロー制御などの送信処理を行う機能とを有している。
The queue buffers A and B are provided for each of the communication ports A and B, and temporarily store frames received by the reception processing units A and B and frames output from the communication control unit 15.
The transmission processing units A and B are provided for each of the communication ports A and B, and have a function of sequentially reading frames from the queue buffers B and A of the opposing communication system, and a communication in which the read frames are IP-connected through the MII interface as transmission frames. It has a function of outputting to ports A and B, and a function of performing transmission processing such as CSMA / CD, preamble reproduction, flow control, etc. for the transmission frame.

通信制御部15は、STPに基づいて、自ノードフレーム送受信、MACアドレス・テーブル管理、障害処理などの通信制御を行う回路部であり、具体的には、MIIインターフェースを介して接続した機能処理部20とフレームをやり取りする機能と、キューバッファA,Bに格納されている当該装置宛てのフレームを機能処理部20へ出力するとともに、機能処理部20から受け取った他の装置宛てのフレームをキューバッファA,Bに格納する機能と、必要に応じて中央監視装置4に電子メールを送信する要求を割込信号線16を介して機能処理部20へ通知する機能とを有している。   The communication control unit 15 is a circuit unit that performs communication control such as self-node frame transmission / reception, MAC address / table management, failure processing based on STP, and specifically, a function processing unit connected via an MII interface. A function for exchanging frames with the CPU 20 and a frame addressed to the device stored in the queue buffers A and B are output to the function processing unit 20 and a frame addressed to another device received from the function processing unit 20 is output to the queue buffer. A function of storing in A and B and a function of notifying the function processing unit 20 of a request for transmitting an e-mail to the central monitoring device 4 via the interrupt signal line 16 as necessary.

[通信装置の動作]
次に、図2を参照して、本発明の第1の実施の形態にかかる通信装置の動作について詳細に説明する。
このスイッチ部10には、監視制御システム上、あるいはフィールドバス5上で固有のアドレスが割り当てられており、上記のような2系統の構成により、ストア&フォワード方式、半二重/全二重自動認識などによりレイヤ2スイッチを構成する。また、STP(スパニング・ツリー・プロトコル:Spanning Tree Protocol)の通信機能を用いて冗長化を実現する。
[Communication device operation]
Next, the operation of the communication apparatus according to the first embodiment of the present invention will be described in detail with reference to FIG.
A unique address is assigned to the switch unit 10 on the supervisory control system or the field bus 5, and the store and forward method, half-duplex / full-duplex automatic, by the two-system configuration as described above. A layer 2 switch is configured by recognition or the like. Further, redundancy is realized by using a communication function of STP (Spanning Tree Protocol).

スイッチ部10の通信制御部15は、通信ポートA,Bを介して受信されキューバッファA,Bに格納されているフレームのMACアドレスをチェックしており、自ノードMACアドレスを宛先アドレスに持つフレームをキューバッファA,Bから取得して機能処理部20へ出力する。自ノードMACアドレスを宛先アドレスに持たないフレームについては、キューバッファA,Bから読み出し、送信処理部B,Aから他方の通信ポートを介してフィールドバス5へ転送する。   The communication control unit 15 of the switch unit 10 checks the MAC address of a frame received via the communication ports A and B and stored in the queue buffers A and B, and has a frame having its own node MAC address as a destination address. Are obtained from the queue buffers A and B and output to the function processing unit 20. Frames that do not have their own node MAC address as the destination address are read from the queue buffers A and B, and transferred from the transmission processing units B and A to the fieldbus 5 via the other communication port.

また、通信制御部15は、機能処理部20から送信フレームを受け取ってキューバッファA,Bへ格納することにより、フィールドバス5へ送信する。
また、通信制御部15は、障害処理により他の通信装置との間で回線チェックを行い、障害が発生していないか常時チェックしている。
Further, the communication control unit 15 receives the transmission frame from the function processing unit 20 and stores it in the queue buffers A and B, thereby transmitting it to the fieldbus 5.
In addition, the communication control unit 15 performs a line check with another communication device by failure processing, and always checks whether a failure has occurred.

このように、本実施の形態によれば、STP機能を有するスイッチ部10を、既存の情報収集機能や制御機能を有する機能処理部20と同一半導体チップ100上に形成して機能処理部20と接続するようにしたので、通信装置ごとにSTPスイッチを外付けする場合と比較して、装置構成やコネクタなどの部材コスト、さらには製造コストが不要となる。
したがって、ビル設備やプラント設備を監視制御する規模の大きい監視制御システムであっても、通信ネットワーク全体のコストアップを抑制しつつ、イーサネットを用いて冗長性を持つリング配線方式を構築できる。
Thus, according to the present embodiment, the switch unit 10 having the STP function is formed on the same semiconductor chip 100 as the function processing unit 20 having the existing information collecting function and control function, and the function processing unit 20 Since the connection is made, compared with the case where an STP switch is externally attached to each communication device, the device cost, the member cost such as the connector, and the manufacturing cost become unnecessary.
Therefore, even for a large-scale monitoring control system that monitors and controls building facilities and plant facilities, it is possible to construct a ring wiring system having redundancy using Ethernet while suppressing an increase in the cost of the entire communication network.

また、機能処理部20については、既存の通信装置が有する従来の物理レイヤインターフェースと同様のMIIインターフェースでスイッチ部10と接続するようにしたので、機能処理部20側についてこれまでのソフトウェアを利用でき、ソフトウェア改造に要するコストアップを抑制できる。   Further, since the function processing unit 20 is connected to the switch unit 10 through the same MII interface as the conventional physical layer interface of the existing communication device, the existing software can be used on the function processing unit 20 side. The cost increase required for software modification can be suppressed.

[第2の実施の形態]
次に、図1および図2を参照して、本発明の第2の実施の形態にかかる通信装置について説明する。なお、本発明の第2の実施の形態にかかる通信装置の構成については、前述した第1の実施の形態と同様であり、ここでの詳細な説明は省略する。
STPプロトコルでは、フィールドバス5で接続される各通信装置のうちのいずれかがルート(ROOT)となって、プロトコルを制御するものと規定されている。この際、各通信装置のうち、それぞれの通信装置に設定されているプロトコル優先順位(プライオリティ)が最も高い装置がルートとなる。また、後からフィールドバス5接続された通信装置のプロトコル優先順位がそれまでのルートより高い場合、ルートの変更処理が発生し、データ通信が一時中断する。
[Second Embodiment]
Next, a communication apparatus according to the second embodiment of the present invention will be described with reference to FIG. 1 and FIG. Note that the configuration of the communication apparatus according to the second embodiment of the present invention is the same as that of the first embodiment described above, and a detailed description thereof is omitted here.
In the STP protocol, it is stipulated that one of the communication devices connected by the fieldbus 5 becomes a route (ROOT) to control the protocol. At this time, among the communication devices, the device having the highest protocol priority (priority) set for each communication device becomes the route. If the protocol priority of the communication device connected to the fieldbus 5 later is higher than that of the route up to that point, route change processing occurs and data communication is temporarily suspended.

本実施の形態では、通常、市販されているSTPスイッチ2のプロトコル優先順位は、中レベルに設定されていることに着目し、スイッチ部10の通信制御部15に設定するプロトコル優先順位を最低レベルに設定するようにしたので、通信装置1が後からフィールドバス5に接続された場合でも、例えば通信装置1で電源オン/オフが行われた場合でも、リング配線方式で接続される各通信装置間で、ルート決定のためのプロトコル優先順位に変更が生じず、不用なルート変更処理の発生を回避でき、これに起因するデータ通信の中断を抑止できる。   In this embodiment, paying attention to the fact that the protocol priority of the commercially available STP switch 2 is set to the medium level, the protocol priority set to the communication control unit 15 of the switch unit 10 is set to the lowest level. Even if the communication device 1 is connected to the fieldbus 5 later, for example, when the communication device 1 is turned on / off, for example, each communication device connected by the ring wiring method is used. In the meantime, the protocol priority for route determination does not change, so that unnecessary route change processing can be avoided, and interruption of data communication due to this can be suppressed.

なお、図1では、STPスイッチ2で複数のリング配線方式を構築する場合について説明したが、各STPスイッチ2で1つのリング配線方式のみを構築してもよい。また、図3に示すように、コントローラ3に通信装置1と同様のスイッチ部を設けて、リング配線方式を構築し、さらには上位ネットワークを構築するようにしてもよい。
また、図3に示すように、フィールドバス5で接続される各通信装置のうちの1つとして、複数のリング配線方式を構築できるSTPスイッチ2を用いることにより、複数のリング配線方式を多段接続するようにしてもよく、ビル設備やプラント設備を監視制御する大規模な監視制御システムであっても、各通信装置を効率よく接続することができる。
In FIG. 1, the case where a plurality of ring wiring systems are constructed with the STP switch 2 has been described. However, only one ring wiring system may be constructed with each STP switch 2. Further, as shown in FIG. 3, the controller 3 may be provided with a switch unit similar to that of the communication device 1 to construct a ring wiring system and further to construct an upper network.
In addition, as shown in FIG. 3, a plurality of ring wiring systems can be connected in multiple stages by using the STP switch 2 that can construct a plurality of ring wiring systems as one of the communication devices connected by the fieldbus 5. Even in a large-scale monitoring control system that monitors and controls building facilities and plant facilities, communication devices can be connected efficiently.

[第3の実施の形態]
次に、図4を参照して、本発明の第3の実施の形態にかかる通信装置について説明する。図4は、本発明の第3の実施の形態にかかる通信装置が適用される監視制御システムの構成を示すブロック図である。
本実施の形態では、前述した第1の実施の形態にかかる通信装置および監視制御システムにおいて、各通信装置1をリング配線方式で接続するフィールドバス5の異常を各通信装置1で検出し、その障害位置を通知する場合について説明する。
[Third Embodiment]
Next, a communication device according to the third embodiment of the present invention will be described with reference to FIG. FIG. 4 is a block diagram showing a configuration of a monitoring control system to which the communication apparatus according to the third embodiment of the present invention is applied.
In the present embodiment, in the communication device and the monitoring control system according to the first embodiment described above, each communication device 1 detects an abnormality in the fieldbus 5 that connects each communication device 1 by the ring wiring method. A case where the failure position is notified will be described.

第1の実施の形態の監視制御システム(図1参照)と比較して、本実施の形態にかかる各通信装置1(1A〜1N)には、隣接する通信装置1やSTPスイッチ2との間を結ぶフィールドバス5のリンク5A〜5N,50,51での障害や、各通信装置1での障害を検出する機能を有している。   Compared to the monitoring control system of the first embodiment (see FIG. 1), each communication device 1 (1A to 1N) according to the present embodiment is connected to an adjacent communication device 1 or STP switch 2. Has a function of detecting a failure in the links 5A to 5N, 50, and 51 of the field bus 5 that connects to each other and a failure in each communication device 1.

また、図4に示すように、本実施の形態第1の実施の形態の監視制御システム(図1参照)と比較して、本実施の形態にかかる監視制御システムにはメールサーバ8が新たに設けられており、スイッチ7Aを介して上位ネットワーク7に接続されている。メールサーバ8は、各種電子メールを送受信する一般的なメールサーバからなり、通信装置1で検出された通信障害を示す障害検出通知メールを、通信装置1からSTPスイッチ2、通信回線6、コントローラ3、上位ネットワーク7、およびスイッチ7Aを介して受信し、中央監視装置4からのアクセスに応じて障害検出通知メールの内容を中央監視装置4へ通知する。   Further, as shown in FIG. 4, compared to the monitoring control system of the first embodiment (see FIG. 1), a mail server 8 is newly added to the monitoring control system according to the present embodiment. And is connected to the upper network 7 via the switch 7A. The mail server 8 includes a general mail server that transmits and receives various electronic mails, and sends a failure detection notification mail indicating a communication failure detected by the communication device 1 from the communication device 1 to the STP switch 2, the communication line 6, and the controller 3. The contents of the failure detection notification mail are notified to the central monitoring device 4 according to the access from the central monitoring device 4 and received through the upper network 7 and the switch 7A.

[通信装置]
次に、図5および図6を参照して、本発明の第3の実施の形態にかかる通信装置について詳細に説明する。図5は、本発明の第3の実施の形態にかかる通信装置のスイッチ部の構成を示すブロック図である。図6は、本発明の第3の実施の形態にかかる通信装置の通信制御部と機能処理部の詳細構成を示すブロック図である。
[Communication device]
Next, a communication device according to the third embodiment of the present invention will be described in detail with reference to FIGS. FIG. 5 is a block diagram illustrating a configuration of a switch unit of a communication device according to the third embodiment of the present invention. FIG. 6 is a block diagram showing a detailed configuration of the communication control unit and the function processing unit of the communication apparatus according to the third embodiment of the present invention.

前述した第1の実施の形態にかかる通信装置と比較して、本実施の形態にかかる通信装置1(1A〜1N)には、フィールドバス5を介したデータ通信に対する障害を検出するための機能手段が設けられている。
図6に示すように、スイッチ部10の通信制御部15には、STP制御手段15A、リンク信号制御手段15B、リンク信号監視手段15C、チェックメッセージ検出手段15D、およびチェックメッセージ監視手段15Eが設けられている。また、機能処理部20には、メール送信手段22が設けられている。
Compared with the communication apparatus according to the first embodiment described above, the communication apparatus 1 (1A to 1N) according to the present embodiment has a function for detecting a failure in data communication via the fieldbus 5. Means are provided.
As shown in FIG. 6, the communication control unit 15 of the switch unit 10 is provided with STP control means 15A, link signal control means 15B, link signal monitoring means 15C, check message detection means 15D, and check message monitoring means 15E. ing. In addition, the function processing unit 20 is provided with mail transmission means 22.

STP制御手段15Aは、キューバッファA,Bと各種データをやり取りする機能と、データバス18を介して機能処理部20と各種データをやり取りする機能と、スパニング・ツリー・プロトコル(STP)に基づき、フィールドバス5を介した機能処理部20と他の装置との間のデータ通信を制御する機能を有している。   The STP control means 15A is based on the function of exchanging various data with the queue buffers A and B, the function of exchanging various data with the function processing unit 20 via the data bus 18, and the Spanning Tree Protocol (STP). It has a function of controlling data communication between the function processing unit 20 and other devices via the field bus 5.

リンク信号制御手段15Bは、通信ポートAを介して隣接通信装置との間でリンク信号A(17A)をやり取りする機能と、通信ポートBを介して隣接通信装置との間でリンク信号B(17B)をやり取りする機能とを有している。リンク信号(Link Signaling)A,Bは、例えばイーサネットでデータ通信を行う際に用いる物理レイヤ上のフレームの隙間などのタイミングに、隣接する通信装置間で周期的にやり取りされる。   The link signal control means 15B exchanges the link signal A (17A) with the adjacent communication device via the communication port A and the link signal B (17B) with the adjacent communication device via the communication port B. ). Link signals (Link Signaling) A and B are periodically exchanged between adjacent communication devices, for example, at a timing such as a gap between frames on a physical layer used when data communication is performed by Ethernet.

リンク信号監視手段15Cは、リンク信号制御手段15Bで受信された隣接通信装置からのリンク信号A,Bの周期や内容に基づきその正常性を監視する機能と、リンク信号A,Bの異常に応じて隣接通信装置とのデータ通信について障害を検出した場合は、その障害を検出したリンクを割込信号16Aにより機能処理部20のメール送信手段22へ通知する機能とを有している。   The link signal monitoring means 15C responds to the function of monitoring the normality based on the period and content of the link signals A and B from the adjacent communication device received by the link signal control means 15B and the abnormality of the link signals A and B. When a failure is detected in data communication with an adjacent communication device, the function has a function of notifying the mail transmission means 22 of the function processing unit 20 of the link where the failure is detected by an interrupt signal 16A.

チェックメッセージ検出手段15Dは、通信ポートAおよび受信処理部Aを介してキューバッファAに格納された、STPスイッチ2からのチェックメッセージや、通信ポートBおよび受信処理部Bを介してキューバッファBに格納された、STPスイッチ2からのチェックメッセージを検出する機能を有している。チェックメッセージは、STPスイッチ2からフィールドバス5上の各通信装置1を巡回するよう定期的に送信されるデータリンクレイヤ上のメッセージである。   The check message detection unit 15D sends the check message from the STP switch 2 stored in the queue buffer A via the communication port A and the reception processing unit A, and the queue buffer B via the communication port B and the reception processing unit B. It has a function of detecting the stored check message from the STP switch 2. The check message is a message on the data link layer that is periodically transmitted from the STP switch 2 to circulate through each communication device 1 on the field bus 5.

チェックメッセージ監視手段15Eは、チェックメッセージ検出手段15Dで検出されたチェックメッセージの周期や内容に基づきその正常性を監視する機能と、チェックメッセージの異常に応じて隣接通信装置とのデータ通信について障害を検出した場合は、その障害を検出したリンクを割込信号16Bにより機能処理部20のメール送信手段22へ通知する機能とを有している。   The check message monitoring unit 15E has a function for monitoring the normality based on the period and content of the check message detected by the check message detection unit 15D and a failure in data communication with the adjacent communication device according to the abnormality of the check message. When detected, it has a function of notifying the mail transmission means 22 of the function processing unit 20 of the link where the failure is detected by the interrupt signal 16B.

メール送信手段22は、データバス18および内部バス21を介して通信制御部15のSTP制御手段15Aと各種データをやり取りする機能と、リンク信号監視手段15Cからの割込信号16Aやチェックメッセージ監視手段15Eからの割込信号16Bに応じて、当該通信装置に固有のネットワークアドレスを含むメールサーバ8宛の障害検出通知メールを生成する機能と、割込信号16A,16Bで通知された障害発生リンクとは反対側のリンク、すなわち障害が検出されていない隣接装置側のフィールドバス5を用いた障害検出通知メールの送信をSTP制御手段15Aへ指示する機能とを有している。   The mail transmission means 22 has a function of exchanging various data with the STP control means 15A of the communication control unit 15 via the data bus 18 and the internal bus 21, and an interrupt signal 16A and check message monitoring means from the link signal monitoring means 15C. In response to the interrupt signal 16B from 15E, a function for generating a failure detection notification mail addressed to the mail server 8 including a network address unique to the communication device, and a failure occurrence link notified by the interrupt signals 16A and 16B Has a function of instructing the STP control means 15A to transmit a failure detection notification mail using the opposite side link, that is, the field bus 5 on the adjacent device side where no failure is detected.

STPスイッチ2は、スパニング・ツリー・プロトコル(STP)に基づきフィールドバス5を介して各通信装置1とデータ通信を行うとともに、これら通信装置1を制御するため、通信装置1と同様のSTP制御手段15A、リンク信号制御手段15B、リンク信号監視手段15C、チェックメッセージ検出手段15D、チェックメッセージ監視手段15Eに加えて、チェックメッセージを周期的に送信するチェックメッセージ送信手段を備えている。   The STP switch 2 performs data communication with each communication device 1 via the field bus 5 based on the Spanning Tree Protocol (STP), and controls these communication devices 1, so that STP control means similar to the communication device 1 is used. In addition to 15A, link signal control means 15B, link signal monitoring means 15C, check message detection means 15D, and check message monitoring means 15E, check message transmission means for periodically transmitting a check message is provided.

[第3の実施の形態の動作]
次に、図7および図8を参照して、本発明の第3の実施の形態にかかる通信装置のリンク信号監視動作について説明する。図7は、本発明の第3の実施の形態にかかる通信装置のリンク信号監視処理を示すフローチャートである。図8は、本発明の第3の実施の形態にかかる通信装置のリンク信号監視動作を示すシーケンス図である。
[Operation of Third Embodiment]
Next, a link signal monitoring operation of the communication apparatus according to the third embodiment of the present invention will be described with reference to FIGS. FIG. 7 is a flowchart showing link signal monitoring processing of the communication apparatus according to the third embodiment of the present invention. FIG. 8 is a sequence diagram illustrating the link signal monitoring operation of the communication device according to the third embodiment of the present invention.

通信装置1は、通信制御部15および機能処理部20により、図7のリンク信号監視処理を行っている。
まず、通信制御部15は、リンク信号制御手段15Bにより、常時、隣接通信装置1との間でリンク信号A,Bを相互にやり取りし、リンク信号監視手段15Cにより、隣接通信装置1からのリンク信号A,Bについて検出周期や内容に基づき正常性をチェックする(ステップ100)。ここで、リンク信号A,Bに異常がなかった場合(ステップ101:YES)、ステップ100へ戻る。
The communication device 1 performs the link signal monitoring process of FIG. 7 by the communication control unit 15 and the function processing unit 20.
First, the communication control unit 15 always exchanges link signals A and B with the adjacent communication device 1 by the link signal control unit 15B, and links from the adjacent communication device 1 by the link signal monitoring unit 15C. The signals A and B are checked for normality based on the detection period and contents (step 100). If there is no abnormality in the link signals A and B (step 101: YES), the process returns to step 100.

一方、例えばリンク断線により所定周期でリンク信号A,Bのいずれかが検出されず、リンク信号A,Bのいずれかに異常が認められた場合(ステップ101:YES)、リンク信号監視手段15Cは、その障害を検出したリンクを割込信号16Aによりメール送信手段22へ通知する。
メール送信手段22は、リンク信号監視手段15Cからの割込信号16Aに基づき障害発生を確認し、当該通信装置に固有のネットワークアドレスを含むメールサーバ8宛の障害検出通知メールを生成する(ステップ102)。そして、割込信号16Aで通知された障害発生リンクとは反対側のリンク、すなわち障害が検出されていない隣接装置側のフィールドバス5を用いて障害検出通知メールをメールサーバ8へ送信し(ステップ103)、ステップ100へ戻る。
On the other hand, for example, when either link signal A or B is not detected in a predetermined cycle due to link disconnection and any of the link signals A and B is abnormal (step 101: YES), the link signal monitoring means 15C The link that detected the failure is notified to the mail transmission means 22 by the interrupt signal 16A.
The mail transmission means 22 confirms the occurrence of a failure based on the interrupt signal 16A from the link signal monitoring means 15C, and generates a failure detection notification mail addressed to the mail server 8 including the network address unique to the communication device (step 102). ). Then, a failure detection notification mail is transmitted to the mail server 8 using the link on the side opposite to the failure occurrence link notified by the interrupt signal 16A, that is, the field bus 5 on the adjacent device side where no failure is detected (step S1). 103) and return to Step 100.

したがって、図8に示すように、リンク5Aを介して通信装置1A,1B間でリンク信号が相互にやり取りされている際に(ステップ110)、リンク5Aが断線した場合、通信装置1A,1Bは、それぞれのリンク信号監視手段15Cにより、リンク信号の異常を検出し(ステップ111,112)、それぞれ障害検出通知メールを生成してメールサーバ8へ送信する(ステップ113,114)。
これら障害検出通知メールには、例えばIPアドレスなど、それぞれの通信装置1A,1Bの固有のネットワークアドレスが含まれている。したがって、中央監視装置4でメールサーバ8に格納されている障害検出通知メールを参照して、メール送信元の通信装置のネットワークアドレスを確認することにより、障害発生箇所を特定できる。
Therefore, as shown in FIG. 8, when link signals are exchanged between the communication devices 1A and 1B via the link 5A (step 110), if the link 5A is disconnected, the communication devices 1A and 1B The link signal monitoring means 15C detects an abnormality in the link signal (steps 111 and 112), generates a failure detection notification mail, and transmits it to the mail server 8 (steps 113 and 114).
These failure detection notification mails include the unique network addresses of the respective communication devices 1A and 1B such as IP addresses. Therefore, by referring to the failure detection notification mail stored in the mail server 8 in the central monitoring device 4 and confirming the network address of the communication device that is the mail transmission source, the location of the failure can be specified.

このように、本実施の形態は、スイッチ部10に、フィールドバス5を介して当該通信装置1に隣接されている2つの隣接装置との間で定期的にやり取りされる物理レイヤ上のリンク信号をそれぞれ監視するリンク信号監視手段15Cを設け、機能処理部20のメール送信手段22で、リンク信号監視手段15Cにより一方の隣接装置側からのリンク信号の異常に応じて障害が検出された場合、当該通信装置に固有のネットワークアドレスを含む障害検出通知メールを生成し、障害が検出されていない他方の隣接装置側のフィールドバス5を用いてスイッチ部10からメールサーバ8へ障害検出通知メールを送信するようにしたので、これら障害検出通知メールのネットワークアドレスを確認することにより、障害発生箇所を特定できる。   As described above, in this embodiment, the link signal on the physical layer that is periodically exchanged between the two adjacent devices adjacent to the communication device 1 via the field bus 5 to the switch unit 10. Link signal monitoring means 15C for monitoring each of them, and in the mail transmission means 22 of the function processing unit 20, when a failure is detected by the link signal monitoring means 15C according to the abnormality of the link signal from one adjacent device side, A failure detection notification mail including a network address unique to the communication device is generated, and a failure detection notification mail is transmitted from the switch unit 10 to the mail server 8 using the field bus 5 on the other adjacent device side where no failure is detected. Therefore, the location of the failure can be specified by checking the network address of the failure detection notification mail.

したがって、STP機能を有するスイッチ部10を、既存の情報収集機能や制御機能を有する機能処理部20と同一半導体チップ100上に形成して機能処理部20と接続するようにした場合でも、各通信装置をリング接続方式で接続するフィールドバス5の各リンクや各通信装置での障害発生を容易に検出できるとともに、その障害発生場所を容易に特定できる。   Therefore, even when the switch unit 10 having the STP function is formed on the same semiconductor chip 100 as the function processing unit 20 having the existing information collecting function and control function and connected to the function processing unit 20, each communication It is possible to easily detect the occurrence of a failure in each link or each communication device of the fieldbus 5 that connects the devices in a ring connection method, and to easily identify the location of the failure.

なお、通信装置1のリンク信号監視手段15Cにおいて、リンク信号の異常を検出した場合、その障害発生リンクを介して対向する隣接通信装置1に対してリンク信号制御手段15Bから、例えばリンク信号の送信停止などの方法を用いてリンク信号異常を通知するようにしてもよい。これにより、対向する隣接通信装置1で、このリンク信号異常が検出されて、障害検出通知メールがメールサーバ8へ送信されるため、リンクの上りあるいは下りのいずれか一方に障害が発生した場合でも、そのリンクに接続された両通信装置1から障害検出通知メールを送信でき、障害発生箇所を特定できる。   When the link signal monitoring unit 15C of the communication device 1 detects an abnormality in the link signal, the link signal control unit 15B transmits, for example, a link signal to the adjacent communication device 1 facing through the failure link. You may make it notify link signal abnormality using methods, such as a stop. As a result, the link signal abnormality is detected in the adjacent adjacent communication device 1 and the failure detection notification mail is transmitted to the mail server 8, so even if a failure occurs in either the uplink or downlink of the link The failure detection notification mail can be transmitted from both communication devices 1 connected to the link, and the location where the failure has occurred can be specified.

次に、図9,図10を参照して、本発明の第3の実施の形態にかかる通信装置のチェックメッセージ監視動作について説明する。図9は、本発明の第3の実施の形態にかかる通信装置のチェックメッセージ監視処理を示すフローチャートである。図10は、本発明の第3の実施の形態にかかる通信装置のチェックメッセージ監視動作を示すシーケンス図である。
Next, a check message monitoring operation of the communication apparatus according to the third embodiment of the present invention will be described with reference to FIGS. FIG. 9 is a flowchart showing the check message monitoring process of the communication device according to the third embodiment of the present invention. FIG. 10 is a sequence diagram illustrating a check message monitoring operation of the communication device according to the third embodiment of the present invention.

通信装置1は、通信制御部15および機能処理部20により、図10のチェックメッセージ監視処理を行っている。
まず、通信制御部15は、起動時、チェックメッセージ検出手段15Dにより、STP制御手段15AでSTPスイッチ2からの最初のチェックメッセージが受信されたか検出し(ステップ130)、最初のチェックメッセージが受信された場合は(ステップ131:YES)、チェックメッセージ監視手段15Eにより、次のチェックメッセージを受信するのに十分な期間の受信タイマーを起動する(ステップ132)。
The communication device 1 performs the check message monitoring process of FIG. 10 by the communication control unit 15 and the function processing unit 20.
First, the communication control unit 15 detects whether or not the first check message from the STP switch 2 is received by the STP control unit 15A by the check message detection unit 15D at the time of activation (step 130), and the first check message is received. If this happens (step 131: YES), the check message monitoring means 15E starts a reception timer for a period sufficient to receive the next check message (step 132).

なお、チェックメッセージは、通信ポートAを介して受信処理部Aで受信され、キューバッファAに格納される。この後、キューバッファAに格納されているチェックメッセージは、送信処理部Bにより読み出されて通信ポートBから後続の通信装置1へ転送される。
一方、キューバッファAに格納されているチェックメッセージは、通信制御部15のSTP制御手段15Aにより読み出されて受信され、これがチェックメッセージ検出手段15Dにより検出される。
The check message is received by the reception processing unit A via the communication port A and stored in the queue buffer A. Thereafter, the check message stored in the queue buffer A is read by the transmission processing unit B and transferred from the communication port B to the subsequent communication device 1.
On the other hand, the check message stored in the queue buffer A is read and received by the STP control unit 15A of the communication control unit 15, and this is detected by the check message detection unit 15D.

ステップ132の後、チェックメッセージ監視手段15Eは、STP制御手段15AでSTPスイッチ2からの最初のチェックメッセージが受信されたか検出し(ステップ133)、チェックメッセージが受信されていない場合は(ステップ134:NO)、受信タイマーがタイムアウトしたか判断し(ステップ135)、タイムアウトしていない場合は(ステップ133)へ戻る。
ここで、受信タイマーがタイムアウトする前に次のチェックメッセージを受信した場合(ステップ134:YES)、STPスイッチ2から当該通信装置1までの区間の各装置およびリンクが正常であると判断できることから、受信タイマーを停止した後(ステップ136)、再び受信タイマーを起動して(ステップ137)、ステップ133へ戻る。
After step 132, the check message monitoring unit 15E detects whether or not the first check message from the STP switch 2 is received by the STP control unit 15A (step 133), and if the check message is not received (step 134: NO), it is determined whether the reception timer has timed out (step 135), and if it has not timed out, the process returns to (step 133).
Here, when the next check message is received before the reception timer times out (step 134: YES), it can be determined that each device and link in the section from the STP switch 2 to the communication device 1 are normal. After stopping the reception timer (step 136), the reception timer is started again (step 137), and the process returns to step 133.

一方、次のチェックメッセージを受信する前に受信タイマーがタイムアウトした場合(ステップ135:YES)、STPスイッチ2から当該通信装置1までの区間の各装置およびリンクで障害が発生していると判断できることから、チェックメッセージ監視手段15Eは、その障害を検出したリンクを割込信号16Bによりメール送信手段22へ通知する。   On the other hand, if the reception timer times out before receiving the next check message (step 135: YES), it can be determined that a failure has occurred in each device and link in the section from the STP switch 2 to the communication device 1. Then, the check message monitoring unit 15E notifies the mail transmission unit 22 of the link where the failure is detected by the interrupt signal 16B.

メール送信手段22は、チェックメッセージ監視手段15Eからの割込信号16Bに基づき障害発生を確認し、当該通信装置に固有のネットワークアドレスを含むメールサーバ8宛の障害検出通知メールを生成する(ステップ138)。そして、割込信号16Bで通知された障害発生リンクとは反対側のリンク、すなわち障害が検出されていない隣接装置側のフィールドバス5を用いて障害検出通知メールをメールサーバ8へ送信し(ステップ139)、ステップ130へ戻る。   The mail transmission means 22 confirms the occurrence of the failure based on the interrupt signal 16B from the check message monitoring means 15E, and generates a failure detection notification mail addressed to the mail server 8 including the network address unique to the communication device (step 138). ). Then, a failure detection notification mail is transmitted to the mail server 8 using the link on the side opposite to the failure occurrence link notified by the interrupt signal 16B, that is, the field bus 5 on the adjacent device side where no failure is detected (step S1). 139), the process returns to step 130.

したがって、図10に示すように、STPスイッチ2から送信されたチェックメッセージ60は、フィールドバス5の各リンクおよび通信装置1を介して順に転送され、いずれかの通信装置1に設定されているブロッキングポート(Blocking Port)まで到達して破棄される。   Therefore, as shown in FIG. 10, the check message 60 transmitted from the STP switch 2 is sequentially transferred via each link of the fieldbus 5 and the communication device 1, and the blocking set in any of the communication devices 1. It reaches the port (Blocking Port) and is discarded.

また、各通信装置1は、チェックメッセージ60の受信検出に応じてそれぞれ受信タイマーを起動し、次のチェックメッセージの受信を監視する。例えば、通信装置1Aで時刻T1Aにチェックメッセージ60が受信検出された場合、その時刻T1Aに受信タイマーTM1Aを起動する。また、通信装置1B,1C…でも同様にして、チェックメッセージ60が受信検出された時刻T1B,T1C…に受信タイマーTM1B,TM1C…をそれぞれ起動する。   Each communication device 1 starts a reception timer in response to detection of reception of the check message 60 and monitors reception of the next check message. For example, when the check message 60 is received and detected at the time T1A by the communication device 1A, the reception timer TM1A is started at the time T1A. Similarly, the communication devices 1B, 1C,... Start reception timers TM1B, TM1C,... At times T1B, T1C,.

時刻T1から所定時間経過後の時刻T2に、STPスイッチ2は、同様のチェックメッセージ61を送信する。
ここで、通信装置1A,1B間のリンク5Aが切断された場合、チェックメッセージ61は通信装置1Aまで正常に到達するため、通信装置1Aでは受信タイマーTM1Aがタイムアウトする前の時刻T2Aに次のチェックメッセージ61が正常に受信検出され、再び受信タイマーTM1Aが起動される。
The STP switch 2 transmits a similar check message 61 at time T2 after a predetermined time has elapsed from time T1.
Here, when the link 5A between the communication devices 1A and 1B is disconnected, the check message 61 normally reaches the communication device 1A. Therefore, the communication device 1A performs the next check at time T2A before the reception timer TM1A times out. The message 61 is normally received and detected, and the reception timer TM1A is started again.

一方、通信装置1Bは、チェックメッセージ61が受信検出される前の時刻T2Bに受信タイマーTM1Bがタイムアウトするため、障害検出通知メール70がメールサーバ8へ送信される。以降、通信装置1C…からも同様にして障害検出通知メール70がメールサーバ8へ送信される。
これら障害検出通知メールには、例えばIPアドレスなど、それぞれの通信装置1に固有のネットワークアドレスが含まれている。したがって、中央監視装置4でメールサーバ8に格納されている障害検出通知メールを参照して、メール送信元の通信装置のネットワークアドレスを確認し、チェックメッセージの転送順序のうち各障害検出通知メールを送信した最も上流側の通信装置の直前で障害が発生したことがわかる。
On the other hand, since the reception timer TM1B times out at the time T2B before the check message 61 is received and detected, the communication device 1B transmits the failure detection notification mail 70 to the mail server 8. Thereafter, the failure detection notification mail 70 is similarly transmitted from the communication devices 1C to the mail server 8.
These failure detection notification mails include a network address unique to each communication device 1 such as an IP address. Therefore, the central monitoring device 4 refers to the failure detection notification mail stored in the mail server 8 to confirm the network address of the communication device that is the mail transmission source, and sends each failure detection notification email in the transfer order of the check messages. It can be seen that a failure has occurred immediately before the most upstream communication device that has transmitted.

このように、本実施の形態は、スイッチ部10に、スパニング・ツリー・プロトコル(STP)に基づき各通信装置1を制御するSTPスイッチ(スイッチ装置)2からフィールドバス5上を巡回するよう定期的に送信されるデータリンクレイヤ上のチェックメッセージを監視するチェックメッセージ監視手段15Eを設け、機能処理部20のメール送信手段22で、チェックメッセージ監視手段15Eにより一方の隣接装置側からのチェックメッセージの異常に応じて障害が検出された場合、当該通信装置に固有のネットワークアドレスを含む障害検出通知メールを生成し、障害が検出されていない他方の隣接装置側のフィールドバスを用いてスイッチ部10からメールサーバ8へ障害検出通知メールを送信するようにしたので、これら障害検出通知メールのネットワークアドレスを確認することにより、障害発生箇所を特定できる。   As described above, in the present embodiment, the switch unit 10 is periodically circulated on the field bus 5 from the STP switch (switch device) 2 that controls each communication device 1 based on the spanning tree protocol (STP). The check message monitoring means 15E for monitoring the check message on the data link layer transmitted to the network is provided, and the mail transmission means 22 of the function processing unit 20 uses the check message monitoring means 15E to check the abnormality of the check message from one adjacent device side. If a failure is detected according to the communication device, a failure detection notification mail including a network address unique to the communication device is generated, and mail is sent from the switch unit 10 using the field bus on the other adjacent device side where no failure is detected. Since the failure detection notification mail is sent to the server 8, these failure By confirming the network address of the detection notification mail can identify the failure occurrence location.

したがって、STP機能を有するスイッチ部10を、既存の情報収集機能や制御機能を有する機能処理部20と同一半導体チップ100上に形成して機能処理部20と接続するようにした場合でも、各通信装置をリング接続方式で接続するフィールドバス5の各リンクや各通信装置での障害発生を容易に検出できるとともに、その障害発生場所を容易に特定できる。また、一般的な電子メールプロトコルを利用して障害を通知するようにしたので、STPなどの既存の通信管理プロトコルを改変・拡張することなく、障害検出機能を実現でき、既存のシステムにも容易かつ安価に導入できる。   Therefore, even when the switch unit 10 having the STP function is formed on the same semiconductor chip 100 as the function processing unit 20 having the existing information collecting function and control function and connected to the function processing unit 20, each communication It is possible to easily detect the occurrence of a failure in each link or each communication device of the fieldbus 5 that connects the devices in a ring connection method, and to easily identify the location of the failure. In addition, since a failure is notified using a general e-mail protocol, a failure detection function can be realized without modifying or expanding an existing communication management protocol such as STP, and it is easy for an existing system. And can be introduced at low cost.

従来より、STP(スパニング・ツリー・プロトコル:Spanning Tree Protocol)機能を有するイーサネットスイッチを用いて、渡り配線により各通信装置をリング配線方式で接続して、ネットワークを冗長化する場合、通信正常時には、任意のイーサネットスイッチの一方の通信ポートをブロッキングポート(Blocking Port)とすることにより、無限ループを防止し、いずれかのリンクや通信装置で障害が発生した場合、STPによりブロッキングポートを解除して、障害箇所とブロッキングポートとの間の区間について通信を維持するという対応方法がとられる。   Conventionally, when an Ethernet switch having an STP (Spanning Tree Protocol) function is used to connect each communication device in a ring wiring system by a crossover wiring to make a network redundant, when communication is normal, By making one communication port of any Ethernet switch a blocking port (Blocking Port), an infinite loop is prevented, and when a failure occurs in any link or communication device, the blocking port is canceled by STP, A countermeasure method is adopted in which communication is maintained for a section between the failure location and the blocking port.

この方法によれば、障害箇所が1カ所の場合には対応できるものの、次に異なる位置で障害が発生した場合には2つの障害箇所の間の区間については通信を維持できなくなり、最初の障害が修復されるまで、ネットワーク全体の稼働性(アベイラビリティ)が低下する。このため、障害発生を直ちに検出して迅速に修復することが、ネットワーク全体の稼働性(アベイラビリティ)を高く維持するために必要となる。
本実施の形態によれば、障害発生に応じて直ちに障害検出通知メールが通信装置からメールサーバへ送信されるとともに、その障害検出通知メールに含まれるネットワークアドレスに基づき障害箇所を特定することができるため、ネットワーク全体の稼働性(アベイラビリティ)を高く維持することができる。
According to this method, it is possible to cope with the case where there is only one failure location, but if a failure occurs at a different location next time, communication cannot be maintained for the section between the two failure locations. Until the network is repaired, the operability of the entire network is reduced. For this reason, it is necessary to immediately detect the occurrence of a failure and quickly repair it in order to maintain high operability (availability) of the entire network.
According to the present embodiment, a failure detection notification mail is immediately transmitted from the communication device to the mail server in response to the occurrence of a failure, and the failure location can be specified based on the network address included in the failure detection notification mail. Therefore, the operability (availability) of the entire network can be maintained high.

なお、図10では、STPスイッチ2から送信されるチェックメッセージの転送順序のうち、最も上流側の通信装置1からの障害検出メールに基づき障害箇所を判断しているが、障害検出通知メールで障害検出時刻を通知することにより、最初に障害が検出された通信装置を特定してもよい。
また、図10では、STPスイッチ2から通信装置1A側へ巡回するようチェックメッセージを送信した場合について説明したが、ブロッキングポートが設けられている位置によっては逆方向にチェックメッセージを送信してもよい。また、両方向で並行してチェックメッセージを送信するようにしてもよく、より正確に障害位置を特定できる。
In FIG. 10, the failure location is determined based on the failure detection mail from the most upstream communication device 1 in the transfer order of the check messages transmitted from the STP switch 2. By notifying the detection time, the communication device in which the failure is first detected may be specified.
In FIG. 10, the case where the check message is transmitted from the STP switch 2 to the communication apparatus 1A side has been described. However, the check message may be transmitted in the reverse direction depending on the position where the blocking port is provided. . Further, the check message may be transmitted in parallel in both directions, and the fault location can be specified more accurately.

本発明の第1の実施の形態にかかる通信装置が適用される監視制御システムの構成を示すブロック図である。It is a block diagram which shows the structure of the monitoring control system with which the communication apparatus concerning the 1st Embodiment of this invention is applied. 本発明の第1の実施の形態にかかる通信装置のスイッチ部の構成を示すブロック図である。It is a block diagram which shows the structure of the switch part of the communication apparatus concerning the 1st Embodiment of this invention. 本発明の第1の実施の形態にかかる通信装置が適用される監視制御システムの他の構成を示すブロック図である。It is a block diagram which shows the other structure of the monitoring control system with which the communication apparatus concerning the 1st Embodiment of this invention is applied. 本発明の第3の実施の形態にかかる通信装置が適用される監視制御システムの構成を示すブロック図である。It is a block diagram which shows the structure of the monitoring control system with which the communication apparatus concerning the 3rd Embodiment of this invention is applied. 本発明の第3の実施の形態にかかる通信装置のスイッチ部の構成を示すブロック図である。It is a block diagram which shows the structure of the switch part of the communication apparatus concerning the 3rd Embodiment of this invention. 本発明の第3の実施の形態にかかる通信装置の通信制御部と機能処理部の詳細構成を示すブロック図である。It is a block diagram which shows the detailed structure of the communication control part and function processing part of the communication apparatus concerning the 3rd Embodiment of this invention. 本発明の第3の実施の形態にかかる通信装置のリンク信号監視処理を示すフローチャートである。It is a flowchart which shows the link signal monitoring process of the communication apparatus concerning the 3rd Embodiment of this invention. 本発明の第3の実施の形態にかかる通信装置のリンク信号監視動作を示すシーケンス図である。It is a sequence diagram which shows the link signal monitoring operation | movement of the communication apparatus concerning the 3rd Embodiment of this invention. 本発明の第3の実施の形態にかかる通信装置のチェックメッセージ監視処理を示すフローチャートである。It is a flowchart which shows the check message monitoring process of the communication apparatus concerning the 3rd Embodiment of this invention. 本発明の第3の実施の形態にかかる通信装置のチェックメッセージ監視動作を示すシーケンス図である。It is a sequence diagram which shows the check message monitoring operation | movement of the communication apparatus concerning the 3rd Embodiment of this invention.

符号の説明Explanation of symbols

1…通信装置、2…STPスイッチ、3…コントローラ、4…中央監視装置、5…フィールドバス、6…通信回線、7…上位ネットワーク、7A…スイッチ、10…スイッチ部、11A…通信ポートA、11B…通信ポートB、12A…受信処理部A、12B…受信処理部B、13A…キューバッファA、13B…キューバッファB、14A…送信処理部A、14B…送信処理部B、15…通信制御部、15A…STP制御手段、15B…リンク信号制御手段、15C…リンク信号監視手段、15D…チェックメッセージ検出手段、15E…チェックメッセージ監視手段、16…割込信号線、16A,16B…割込信号、17A…リンク信号A、17B…リンク信号B、18…データバス、20…機能処理部、21…内部バス、22…メール送信手段。   DESCRIPTION OF SYMBOLS 1 ... Communication apparatus, 2 ... STP switch, 3 ... Controller, 4 ... Central monitoring apparatus, 5 ... Field bus, 6 ... Communication line, 7 ... Upper network, 7A ... Switch, 10 ... Switch part, 11A ... Communication port A, 11B ... Communication port B, 12A ... Reception processing unit A, 12B ... Reception processing unit B, 13A ... Queue buffer A, 13B ... Queue buffer B, 14A ... Transmission processing unit A, 14B ... Transmission processing unit B, 15 ... Communication control 15A ... STP control means, 15B ... Link signal control means, 15C ... Link signal monitoring means, 15D ... Check message detection means, 15E ... Check message monitoring means, 16 ... Interrupt signal line, 16A, 16B ... Interrupt signal , 17A ... Link signal A, 17B ... Link signal B, 18 ... Data bus, 20 ... Function processor, 21 ... Internal bus, 22 ... Mail Shin means.

Claims (6)

イーサネット準拠のフィールドバスを用いて他の装置とリング配線方式で接続される通信装置であって、
スパニング・ツリー・プロトコル(STP)に基づき、前記フィールドバスを介した前記機能処理部と他の装置との間のデータ通信を制御するスイッチ部と、
前記スイッチ部を介して他の装置と各種データをやり取りすることにより所定の機能を実現する機能処理部と、
前記機能処理部およびスイッチ部を構成する信号処理回路が集積回路として形成された半導体チップと
を備えることを特徴とする通信装置。
A communication device that is connected to other devices using a ring wiring system using an Ethernet-compliant fieldbus,
Based on the Spanning Tree Protocol (STP), a switch unit that controls data communication between the function processing unit and another device via the field bus;
A function processing unit that realizes a predetermined function by exchanging various data with another device via the switch unit;
A signal processing circuit constituting the function processing unit and the switch unit includes a semiconductor chip formed as an integrated circuit.
請求項1に記載の通信装置において、
前記スイッチ部は、それぞれに接続された前記フィールドバスの端点を物理レイヤで終端制御する2つの通信ポートと、前記通信ポートごとに設けられ当該通信ポートを介して他の装置からのフレームを受信する2つの受信処理部と、前記通信ポートごとに設けられ当該受信処理部で受信したフレームを一時的に格納する2つのキューバッファと、前記通信ポートごとに設けられ他方のキューバッファに格納されているフレームを当該通信ポートを介して他の装置へ送信する送信処理部と、前記キューバッファに格納されている当該装置宛てのフレームを前記機能処理部へ出力するとともに、前記機能処理部から受け取った他の装置宛てのフレームを前記キューバッファに格納する通信制御部とを備えることを特徴とする通信装置。
The communication device according to claim 1,
The switch unit receives two communication ports for terminating the end points of the fieldbus connected to each other in a physical layer, and a frame provided for each of the communication ports via the communication port. Two reception processing units, two queue buffers provided for each communication port and temporarily storing frames received by the reception processing unit, and provided for each communication port and stored in the other queue buffer A transmission processing unit that transmits a frame to another device via the communication port, and a frame that is stored in the queue buffer and that is addressed to the device is output to the function processing unit, and the other received from the function processing unit. A communication control unit that stores a frame addressed to the device in the queue buffer.
請求項1に記載の通信装置において、
前記スイッチ部は、前記フィールドバスを介して当該通信装置に隣接されている2つの隣接装置との間で定期的にやり取りされる物理レイヤ上のリンク信号をそれぞれ監視するリンク信号監視手段を有し、
前記機能処理部は、前記リンク信号監視手段により一方の隣接装置側からのリンク信号の異常に応じて障害が検出された場合、当該通信装置に固有のネットワークアドレスを含む障害検出通知メールを生成し、前記障害が検出されていない他方の隣接装置側のフィールドバスを用いて前記スイッチ部から任意のメールサーバへ前記障害検出通知メールを送信するメール送信手段を有する
ことを特徴とする通信装置。
The communication device according to claim 1,
The switch unit includes link signal monitoring means for monitoring each link signal on a physical layer periodically exchanged between two adjacent devices adjacent to the communication device via the field bus. ,
The function processing unit generates a failure detection notification mail including a network address unique to the communication device when a failure is detected by the link signal monitoring unit according to an abnormality of the link signal from one adjacent device side. A communication device comprising: a mail transmission means for transmitting the failure detection notification mail from the switch unit to an arbitrary mail server using a field bus on the other adjacent device side where the failure is not detected.
請求項1に記載の通信装置において、
前記スイッチ部は、スパニング・ツリー・プロトコル(STP)に基づき前記各通信装置を制御するスイッチ装置から前記フィールドバス上を巡回するよう定期的に送信されるデータリンクレイヤ上のチェックメッセージを監視するチェックメッセージ監視手段を有し、
前記機能処理部は、前記チェックメッセージ監視手段により一方の隣接装置側からのチェックメッセージの異常に応じて障害が検出された場合、当該通信装置に固有のネットワークアドレスを含む障害検出通知メールを生成し、前記障害が検出されていない他方の隣接装置側のフィールドバスを用いて前記スイッチ部から任意のメールサーバへ前記障害検出通知メールを送信するメール送信手段を有する
ことを特徴とする通信装置。
The communication device according to claim 1,
The switch unit monitors a check message on a data link layer periodically transmitted so as to circulate on the field bus from a switch device that controls each communication device based on a spanning tree protocol (STP). Having message monitoring means;
The function processing unit generates a failure detection notification mail including a network address unique to the communication device when a failure is detected by the check message monitoring unit according to an abnormality of the check message from one adjacent device. A communication device comprising: a mail transmission means for transmitting the failure detection notification mail from the switch unit to an arbitrary mail server using a field bus on the other adjacent device side where the failure is not detected.
イーサネット準拠のフィールドバスを用いて他の装置とリング配線方式で接続される通信装置で用いられる障害通知方法であって、
半導体チップに集積回路として形成された信号処理回路からなるスイッチ部により、スパニング・ツリー・プロトコル(STP)に基づき、前記フィールドバスを介した前記機能処理部と他の装置との間のデータ通信を制御するスイッチステップと、
前記半導体チップに集積回路として形成された信号処理回路からなる機能処理部により、前記スイッチ部を介して他の装置と各種データをやり取りすることにより所定の機能を実現する機能処理ステップと
を備え、
前記スイッチステップは、前記フィールドバスを介して当該通信装置に隣接されている2つの隣接装置との間で定期的にやり取りされる物理レイヤ上のリンク信号をそれぞれ監視するリンク信号監視ステップを有し、
前記機能処理ステップは、前記リンク信号監視ステップにより一方の隣接装置側からのリンク信号の異常に応じて障害が検出された場合、当該通信装置に固有のネットワークアドレスを含む障害検出通知メールを生成し、前記障害が検出されていない他方の隣接装置側のフィールドバスを用いて前記スイッチ部から任意のメールサーバへ前記障害検出通知メールを送信するメール送信ステップを有する
ことを特徴とする障害通知方法。
A failure notification method used in a communication device connected to another device by a ring wiring method using an Ethernet-compliant fieldbus,
Based on a spanning tree protocol (STP), a data communication between the function processing unit and another device via the field bus is performed by a switch unit including a signal processing circuit formed as an integrated circuit on a semiconductor chip. Switch steps to control;
A functional processing step of realizing a predetermined function by exchanging various data with other devices via the switch unit by a functional processing unit formed of a signal processing circuit formed as an integrated circuit on the semiconductor chip; and
The switch step includes a link signal monitoring step of monitoring a link signal on a physical layer periodically exchanged between two adjacent devices adjacent to the communication device via the field bus. ,
The function processing step generates a failure detection notification mail including a network address unique to the communication device when a failure is detected in the link signal monitoring step according to an abnormality of the link signal from one adjacent device side. A failure notification method comprising: a mail transmission step of transmitting the failure detection notification mail from the switch unit to an arbitrary mail server using a field bus on the other adjacent device side where the failure is not detected.
イーサネット準拠のフィールドバスを用いて他の装置とリング配線方式で接続される通信装置で用いられる障害通知方法であって、
半導体チップに集積回路として形成された信号処理回路からなるスイッチ部により、スパニング・ツリー・プロトコル(STP)に基づき、前記フィールドバスを介した前記機能処理部と他の装置との間のデータ通信を制御するスイッチステップと、
前記半導体チップに集積回路として形成された信号処理回路からなる機能処理部により、前記スイッチ部を介して他の装置と各種データをやり取りすることにより所定の機能を実現する機能処理ステップと
を備え、
前記スイッチステップは、スパニング・ツリー・プロトコル(STP)に基づき前記各通信装置を制御するスイッチ装置から前記フィールドバス上を巡回するよう定期的に送信されるデータリンクレイヤ上のチェックメッセージを監視するチェックメッセージ監視ステップを有し、
前記機能処理ステップは、前記チェックメッセージ監視ステップにより一方の隣接装置側からのチェックメッセージの異常に応じて障害が検出された場合、当該通信装置に固有のネットワークアドレスを含む障害検出通知メールを生成し、前記障害が検出されていない他方の隣接装置側のフィールドバスを用いて前記スイッチ部から任意のメールサーバへ前記障害検出通知メールを送信するメール送信ステップを有する
ことを特徴とする障害通知方法。
A failure notification method used in a communication device connected to another device by a ring wiring method using an Ethernet-compliant fieldbus,
Based on a spanning tree protocol (STP), a data communication between the function processing unit and another device via the field bus is performed by a switch unit including a signal processing circuit formed as an integrated circuit on a semiconductor chip. Switch steps to control;
A functional processing step of realizing a predetermined function by exchanging various data with other devices via the switch unit by a functional processing unit formed of a signal processing circuit formed as an integrated circuit on the semiconductor chip; and
The switch step is a check for monitoring a check message on a data link layer periodically transmitted to circulate on the field bus from a switch device that controls each communication device based on a spanning tree protocol (STP). A message monitoring step,
The function processing step generates a failure detection notification mail including a network address unique to the communication device when a failure is detected according to the check message abnormality from one of the neighboring devices in the check message monitoring step. A failure notification method comprising: a mail transmission step of transmitting the failure detection notification mail from the switch unit to an arbitrary mail server using a field bus on the other adjacent device side where the failure is not detected.
JP2005314392A 2004-11-19 2005-10-28 Communication apparatus and fault notification method Pending JP2006174422A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005314392A JP2006174422A (en) 2004-11-19 2005-10-28 Communication apparatus and fault notification method

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2004335558 2004-11-19
JP2005314392A JP2006174422A (en) 2004-11-19 2005-10-28 Communication apparatus and fault notification method

Publications (1)

Publication Number Publication Date
JP2006174422A true JP2006174422A (en) 2006-06-29

Family

ID=36674626

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005314392A Pending JP2006174422A (en) 2004-11-19 2005-10-28 Communication apparatus and fault notification method

Country Status (1)

Country Link
JP (1) JP2006174422A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008092455A (en) * 2006-10-04 2008-04-17 Toshiba Corp Power system control and protection system
JP2008271480A (en) * 2007-04-25 2008-11-06 Yamatake Corp Rstp processing system
EP2182679A1 (en) 2008-10-30 2010-05-05 Yamatake Corporation Ring connection control circuit, ring switching hub, ring ethernet system, and ring connection controlling method
JP2011082974A (en) * 2009-10-02 2011-04-21 General Electric Co <Ge> Control system and method of providing the same
US8320387B2 (en) 2009-02-05 2012-11-27 Azbil Corporation Ring type ethernet system, ring type switch, ring connection control circuit, ring type ethernet system control method, ring type switch control method and ring connection control method
JP2021129278A (en) * 2020-02-17 2021-09-02 矢崎総業株式会社 Communication system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0936899A (en) * 1995-07-14 1997-02-07 Tokyo Univ Access system for ring form lan
JPH10200563A (en) * 1996-10-29 1998-07-31 Ascom Tech Ag Network for packet-oriented data traffic
JPH11243424A (en) * 1998-02-25 1999-09-07 Nec Corp Automatic electronic mail transmission router for fault occurrence
JP2002076242A (en) * 2000-08-28 2002-03-15 Nec Corp Semiconductor device
JP2004147172A (en) * 2002-10-25 2004-05-20 Fujitsu Ltd Ring switching method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0936899A (en) * 1995-07-14 1997-02-07 Tokyo Univ Access system for ring form lan
JPH10200563A (en) * 1996-10-29 1998-07-31 Ascom Tech Ag Network for packet-oriented data traffic
JPH11243424A (en) * 1998-02-25 1999-09-07 Nec Corp Automatic electronic mail transmission router for fault occurrence
JP2002076242A (en) * 2000-08-28 2002-03-15 Nec Corp Semiconductor device
JP2004147172A (en) * 2002-10-25 2004-05-20 Fujitsu Ltd Ring switching method

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008092455A (en) * 2006-10-04 2008-04-17 Toshiba Corp Power system control and protection system
JP2008271480A (en) * 2007-04-25 2008-11-06 Yamatake Corp Rstp processing system
WO2008133250A1 (en) * 2007-04-25 2008-11-06 Yamatake Corporation Rstp processing method
KR101025529B1 (en) 2007-04-25 2011-04-04 가부시키가이샤 야마다케 Rstp processing method
US8213339B2 (en) 2007-04-25 2012-07-03 Yamatake Corporation RSTP processing system
EP2182679A1 (en) 2008-10-30 2010-05-05 Yamatake Corporation Ring connection control circuit, ring switching hub, ring ethernet system, and ring connection controlling method
JP2010109662A (en) * 2008-10-30 2010-05-13 Yamatake Corp Ring connection control circuit, ring switching hub, ring ethernet system, and ring connection control method
US8249084B2 (en) 2008-10-30 2012-08-21 Azbil Corporation Ring connection control circuit, ring switching hub, ring ethernet system, and ring connection controlling method
US8320387B2 (en) 2009-02-05 2012-11-27 Azbil Corporation Ring type ethernet system, ring type switch, ring connection control circuit, ring type ethernet system control method, ring type switch control method and ring connection control method
JP2011082974A (en) * 2009-10-02 2011-04-21 General Electric Co <Ge> Control system and method of providing the same
JP2021129278A (en) * 2020-02-17 2021-09-02 矢崎総業株式会社 Communication system
JP7157090B2 (en) 2020-02-17 2022-10-19 矢崎総業株式会社 Communications system

Similar Documents

Publication Publication Date Title
JP5073812B2 (en) Distributed Ethernet system and method for detecting faults based on the system
JP6076373B2 (en) Technology to cope with changes in the state of interconnection nodes
US7944818B2 (en) High-availability communication system
US9407582B2 (en) Redundantly operable industrial communication system and method for operation thereof
JP5281360B2 (en) Ring type switching hub, ring type Ethernet system, and ring connection control method
JP2006174422A (en) Communication apparatus and fault notification method
CN103107940A (en) Redundant gateway system for device level ring networks
JP2010187244A (en) System for detecting/recovering token abnormality between terminal apparatuses
KR101179431B1 (en) Network Management System based on a EhterCAT And Managing Method thereof
US20130138996A1 (en) Network and expansion unit and method for operating a network
CN102437967A (en) Method and device for forwarding messages
JP5527613B2 (en) Network relay system and failure detection method for network relay system
JP4644233B2 (en) Transmission path system, frame transmission method, and frame transmission apparatus
CN101656664B (en) Ethernet ring network system and border node thereof and Ethernet ring network realization method
JP4287734B2 (en) Network equipment
CN100505670C (en) Communication device and fault notifying method
JP4419617B2 (en) Fault location determination method for multi-loop network
JPH0955761A (en) Multiple-network connection device
KR101248196B1 (en) Remote monitoring and control system using serial extended communication network of ring topology
JP6728981B2 (en) Node device and communication system
JP4692419B2 (en) Network device, redundant switching method used therefor, and program thereof
JP5213805B2 (en) Node and network control method
JP2004007930A (en) System and program for controlling power system monitoring
JP5167183B2 (en) Node and network control method
JP5459117B2 (en) Data transmission apparatus and data transmission method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20080318

A977 Report on retrieval

Effective date: 20100824

Free format text: JAPANESE INTERMEDIATE CODE: A971007

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20100914

A521 Written amendment

Effective date: 20101115

Free format text: JAPANESE INTERMEDIATE CODE: A523

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20110201