JP3938377B2 - Supervisory control device - Google Patents

Supervisory control device Download PDF

Info

Publication number
JP3938377B2
JP3938377B2 JP2004127972A JP2004127972A JP3938377B2 JP 3938377 B2 JP3938377 B2 JP 3938377B2 JP 2004127972 A JP2004127972 A JP 2004127972A JP 2004127972 A JP2004127972 A JP 2004127972A JP 3938377 B2 JP3938377 B2 JP 3938377B2
Authority
JP
Japan
Prior art keywords
transmission
package
signal
completion signal
communication
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2004127972A
Other languages
Japanese (ja)
Other versions
JP2004304820A (en
Inventor
宏之 大橋
直宏 嘉藤
真人 宮田
純一 田村
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fujitsu Ltd
Original Assignee
Fujitsu Ltd
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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP2004127972A priority Critical patent/JP3938377B2/en
Publication of JP2004304820A publication Critical patent/JP2004304820A/en
Application granted granted Critical
Publication of JP3938377B2 publication Critical patent/JP3938377B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Maintenance And Management Of Digital Transmission (AREA)
  • Monitoring And Testing Of Transmission In General (AREA)

Description

本発明は、監視制御装置に関し、特に、監視対象パッケージとの間で通信を行い、監視対象パッケージの監視制御を行う監視制御装置に関する。
本発明は、パッケージ単位の複数の機能ブロックから構成される、例えば伝送装置のような装置において、それらの複数の機能ブロックが監視制御する側(以下「上位パッケージ」と呼ぶ)と監視制御される側(以下「下位パッケージ」と呼ぶ)とに分けられる装置に関するものである。
The present invention relates to a monitoring control apparatus, and more particularly to a monitoring control apparatus that performs monitoring control of a monitoring target package by communicating with the monitoring target package.
According to the present invention, in a device such as a transmission device, which is composed of a plurality of functional blocks in units of packages, the plurality of functional blocks are supervised and controlled by a side (hereinafter referred to as “upper package”) that performs supervision and control. It relates to a device divided into a side (hereinafter referred to as “lower package”).

図11は、監視制御機能を有する従来の伝送装置の基本的な構成およびその伝送装置の周辺の構成を示すブロック図である。
伝送装置101は伝送装置102〜105と接続されて主信号の通信を行うと共に、上位監視制御装置106と接続されて上位監視制御装置106の監視制御下に位置する。伝送装置101内には主信号パッケージ111〜114が設けられ、主信号パッケージ111〜114が伝送装置102〜105とそれぞれ接続されて主信号の通信を行う。伝送装置101内には主信号パッケージ111〜114の他、主信号パッケージ111〜114とは異なる種類の主信号パッケージ115,116が設けられる。主信号パッケージ111,112,115には監視制御パッケージ117が接続され、主信号パッケージ113,114,116には監視制御パッケージ118が接続される。主信号パッケージ111,112は各々、MPU(Micro Processing Unit) を備え、監視制御パッケージ117との間で全二重通信方式により監視制御信号の送受信を行う。主信号パッケージ113,114も各々、MPUを備え、監視制御パッケージ118との間で全二重通信方式により監視制御信号の送受信を行う。主信号パッケージ115,116は各々、MPUを備えず、半二重通信方式により監視制御パッケージ117,118との間でそれぞれ、監視制御信号の送受信を行う。監視制御パッケージ117,118には監視制御パッケージ119が接続され、監視制御パッケージ119に上位監視制御装置106が接続される。即ち、伝送装置101には、図11に示すように階層1〜3の監視制御構造が構築され、階層1,2が、監視制御を行う階層、階層3が、監視制御の対象となる階層である。
FIG. 11 is a block diagram showing a basic configuration of a conventional transmission apparatus having a monitoring control function and a peripheral configuration of the transmission apparatus.
The transmission apparatus 101 is connected to the transmission apparatuses 102 to 105 to communicate main signals, and is connected to the upper supervisory control apparatus 106 and is under the monitoring control of the upper supervisory control apparatus 106. In the transmission apparatus 101, main signal packages 111 to 114 are provided, and the main signal packages 111 to 114 are respectively connected to the transmission apparatuses 102 to 105 to perform communication of main signals. In the transmission apparatus 101, in addition to the main signal packages 111 to 114, main signal packages 115 and 116 of a type different from the main signal packages 111 to 114 are provided. A monitoring control package 117 is connected to the main signal packages 111, 112, and 115, and a monitoring control package 118 is connected to the main signal packages 113, 114, and 116. Each of the main signal packages 111 and 112 includes an MPU (Micro Processing Unit), and transmits and receives monitoring control signals to and from the monitoring control package 117 by a full-duplex communication method. Each of the main signal packages 113 and 114 also includes an MPU, and transmits and receives monitoring control signals to and from the monitoring control package 118 by a full-duplex communication method. Each of the main signal packages 115 and 116 does not include an MPU, and transmits and receives monitoring control signals to and from the monitoring control packages 117 and 118 by a half-duplex communication method. The supervisory control package 119 is connected to the supervisory control packages 117 and 118, and the host supervisory control device 106 is connected to the supervisory control package 119. That is, in the transmission apparatus 101, a monitoring control structure of hierarchies 1 to 3 is constructed as shown in FIG. is there.

監視制御パッケージ117、118は各々、全二重通信方式の通信機能と半二重通信方式の通信機能とを備え、通信相手となる主信号パッケージの通信方式に応じて両方式の一方を選び、監視制御信号の送受信を行っている。   Each of the monitoring control packages 117 and 118 has a communication function of a full-duplex communication method and a communication function of a half-duplex communication method, and selects one of the two types according to the communication method of the main signal package as a communication partner, The monitor control signal is transmitted and received.

また、監視制御パッケージ117、118の各々と、主信号パッケージ111〜116の各々との間の通信では、例えば監視制御パッケージ117が主信号パッケージ111へ所定信号を送り、主信号パッケージ111が監視制御パッケージ117へ応答信号を返信するというシーケンス処理が行われる。その際、監視制御パッケージ117においては、所定信号の送信完了時に送信完了信号を発生し、また応答信号の受信完了時には受信完了信号を発生し、受信エラーがあったときには受信エラー信号を発生する。監視制御パッケージ117は、これらの送信完了信号、受信完了信号、及び受信エラー信号が発生する度に通信制御プログラムを実行して、監視制御を行うようにしている。   In communication between each of the monitoring control packages 117 and 118 and each of the main signal packages 111 to 116, for example, the monitoring control package 117 sends a predetermined signal to the main signal package 111, and the main signal package 111 performs monitoring control. A sequence process of returning a response signal to the package 117 is performed. At that time, the monitoring control package 117 generates a transmission completion signal when transmission of the predetermined signal is completed, generates a reception completion signal when reception of the response signal is completed, and generates a reception error signal when there is a reception error. The monitoring control package 117 executes the communication control program and performs monitoring control whenever the transmission completion signal, reception completion signal, and reception error signal are generated.

ところで、監視制御パッケージ117と主信号パッケージ111との間の通信が正常に行われている場合には、所定信号の送信後に受信完了信号が必ず発生するので、送信完了信号の発生に従った通信制御プログラムの実行は、通信制御プログラムの実行処理の輻輳を招くだけで無駄である。そのため、従来、送信完了信号が発生したときには通信制御プログラムを実行しないようにしている。   By the way, when the communication between the monitoring control package 117 and the main signal package 111 is normally performed, the reception completion signal is always generated after the transmission of the predetermined signal, so the communication according to the generation of the transmission completion signal. The execution of the control program is wasteful because it only causes congestion in the execution process of the communication control program. Therefore, conventionally, the communication control program is not executed when a transmission completion signal is generated.

ところで、監視制御パッケージ117、118が各々、通信相手となる主信号パッケージの通信方式に応じて、全二重通信方式と半二重通信方式とのうちの一方を選び、監視制御信号の送受信を行う従来の装置では、監視制御パッケージ117、118が各々、全二重通信方式の通信機能と半二重通信方式の通信機能とを備えている必要がある。こうした通信機能は、ハードウェアで構成されるため、監視制御パッケージ117、118の各回路構成が大規模化してしまうという問題点があった。   By the way, each of the monitoring control packages 117 and 118 selects one of the full-duplex communication method and the half-duplex communication method according to the communication method of the main signal package as the communication partner, and transmits and receives the monitoring control signal. In the conventional apparatus to be performed, each of the monitoring control packages 117 and 118 needs to have a full-duplex communication function and a half-duplex communication function. Since such a communication function is configured by hardware, there is a problem in that each circuit configuration of the monitoring control packages 117 and 118 becomes large-scale.

また、送信完了信号が発生したときには通信制御プログラムを実行しないようにする従来の監視制御パッケージ117では、監視制御パッケージ117と主信号パッケージ111との間の通信が正常に行われていない場合に、受信完了信号が発生しない。この受信完了信号が発生しない原因には、監視制御パッケージ117内に障害があったために、元々、所定信号が主信号パッケージ111へ送信されなかったケースや、主信号パッケージ111内に障害があったために、応答信号が主信号パッケージ111から監視制御パッケージ117へ送信されていないケース等が考えられる。こうした障害箇所を特定するためには送信完了信号が必要となるが、前述のように、正常時には送信完了信号が通信制御プログラムの無駄な実行処理を招くだけである。そこで、通信制御プログラムの処理を無駄に行うことなく、かつ障害箇所を特定できる監視制御パッケージの開発が要請されている。   Further, in the conventional monitoring control package 117 that does not execute the communication control program when the transmission completion signal is generated, when the communication between the monitoring control package 117 and the main signal package 111 is not normally performed, No reception completion signal is generated. The reason why the reception completion signal is not generated is that there is a failure in the monitoring control package 117, and a case where a predetermined signal was not transmitted to the main signal package 111 originally, or because there was a failure in the main signal package 111. In addition, there may be a case where a response signal is not transmitted from the main signal package 111 to the monitoring control package 117. Although a transmission completion signal is required to identify such a failure location, as described above, the transmission completion signal only causes useless execution processing of the communication control program as described above. Therefore, there is a demand for the development of a monitoring control package that can identify the fault location without wastefully processing the communication control program.

本発明はこのような点に鑑みてなされたものであり、通信制御プログラムの処理を無駄に行うことなく、かつ障害箇所の特定を確実にできる監視制御装置を提供することを他の目的とする。   The present invention has been made in view of these points, and it is another object of the present invention to provide a monitoring and control apparatus that can reliably identify a failure location without wastefully performing processing of a communication control program. .

本発明では上記目的を達成するために、図2に示すように、監視対象パッケージ31に対して所定信号を送信して送信完了したときに送信完了信号を発生する送信完了信号発生手段21と、所定信号に対する応答信号を受信して受信完了したときに受信完了信号を発生する受信完了信号発生手段22と、応答信号が受信されているときには送信完了信号を破棄し、応答信号が受信されないときには、送信完了信号を障害位置を特定する処理部へ転送する転送手段23と、応答信号が受信されないときに、所定信号を監視対象パッケージ31に再送する再送手段24と、再送手段24による再送の後、受信完了信号発生手段22から発生される受信完了信号及び転送手段23から転送される送信完了信号を基に障害位置を特定する障害位置特定手段25とを有することを特徴とする監視制御装置20が提供される。
In order to achieve the above object in the present invention, as shown in FIG. 2, a transmission completion signal generating means 21 for generating a transmission completion signal when a predetermined signal is transmitted to the monitoring target package 31 and transmission is completed, A reception completion signal generating means 22 for generating a reception completion signal when a response signal for a predetermined signal is received and the reception is completed; a transmission completion signal is discarded when the response signal is received; and a response signal is not received, A transfer unit 23 that transfers a transmission completion signal to a processing unit that identifies a failure position; a retransmission unit 24 that retransmits a predetermined signal to the monitoring target package 31 when a response signal is not received; reception completion signal generating means 22 specific to fault location identifying failure location based on a transmission completion signal transferred from the reception completion signal and transfer means 23 is generated from Monitoring controller 20, characterized in that it comprises a stage 25 is provided.

以上のような構成において、転送手段23には常時、送信完了信号発生手段21で発生された送信完了信号が送られている。
監視制御装置20及び監視対象パッケージ31に障害の発生がなく、それらが正常な状態においては、監視制御装置20が監視対象パッケージ31に対して所定信号を送信したときに、監視対象パッケージ31が監視制御装置20に対して応答信号を返信してくる。その応答信号が監視制御装置20において正常に受信されたときには、送信完了信号発生手段21から転送手段23に送信完了信号が送られる。この場合、転送手段23は、送信完了信号発生手段21から送られた送信完了信号を破棄し、送信完了信号を、障害位置特定手段25に送らないようにする。これにより、障害位置特定手段25の起動を防ぎ、通常は処理実行が無駄となる障害位置特定手段25の起動を未然に防止している。
In the configuration as described above, the transmission completion signal generated by the transmission completion signal generation means 21 is always sent to the transfer means 23.
When there is no failure in the monitoring control device 20 and the monitoring target package 31 and they are normal, the monitoring target package 31 monitors when the monitoring control device 20 transmits a predetermined signal to the monitoring target package 31. A response signal is returned to the control device 20. When the response signal is normally received by the monitoring control device 20, a transmission completion signal is sent from the transmission completion signal generation means 21 to the transfer means 23. In this case, the transfer unit 23 discards the transmission completion signal sent from the transmission completion signal generation unit 21 so that the transmission completion signal is not sent to the failure position specifying unit 25. As a result, the failure position specifying unit 25 is prevented from being activated, and the failure position specifying unit 25 that normally wastes processing execution is prevented from being activated.

一方、監視制御装置20または監視対象パッケージ31のいずれかに障害があるときには、監視制御装置20において応答信号が受信されないが、そうしたときには、転送手段23で切り替えが行われ、次回に発生する筈の送信完了信号が障害位置特定手段25へ転送されるようになる。障害位置特定手段25は、通信制御プログラムによって実現される機能の一部であり、受信完了信号発生手段22及び転送手段23から後刻送られる信号を基に障害位置を特定する。   On the other hand, when there is a failure in either the monitoring control device 20 or the monitoring target package 31, no response signal is received in the monitoring control device 20, but in such a case, switching is performed by the transfer means 23, and the next generation should be generated. The transmission completion signal is transferred to the failure position specifying means 25. The fault position specifying means 25 is a part of the function realized by the communication control program, and specifies the fault position based on signals sent later from the reception completion signal generating means 22 and the transfer means 23.

応答信号が受信されないときには転送手段23での切り替えと同時に、再送手段24が、所定信号を監視対象パッケージ31に再送する。この再送により、監視制御装置20及び監視対象パッケージ31のうちで障害の発生している方に応じて送信完了信号または受信完了信号が発生される。再送の後、それらの信号を受けたとき、または所定時間の経過後に、障害位置特定手段25は起動し、障害位置を特定する。つまり、障害位置特定手段25は、送信完了信号を受信しないときには、監視制御装置20側に障害が発生していると判定する。また、送信完了信号を受信し、受信完了信号を受信していないときは、監視対象パッケージ31側に障害が発生していると判定する。   When the response signal is not received, the retransmission unit 24 retransmits the predetermined signal to the monitoring target package 31 simultaneously with the switching by the transfer unit 23. By this retransmission, a transmission completion signal or a reception completion signal is generated according to the failure of the monitoring control device 20 and the monitoring target package 31. When the signals are received after the retransmission, or after a predetermined time has elapsed, the failure position specifying means 25 is activated to specify the failure position. That is, the failure position specifying unit 25 determines that a failure has occurred on the monitoring control device 20 side when the transmission completion signal is not received. When the transmission completion signal is received and the reception completion signal is not received, it is determined that a failure has occurred on the monitoring target package 31 side.

かくして、正常時には通信制御プログラムの処理を無駄に行うことなく、また、障害時には障害箇所の特定を確実に行うことができるようになる。   Thus, the communication control program process is not wasted when normal, and the fault location can be reliably identified when a fault occurs.

本発明では、監視制御装置及び監視対象パッケージに障害の発生がなく、それらが正常な状態においては、転送手段が、送信完了信号発生手段から送られた送信完了信号を破棄し、送信完了信号を障害位置特定手段へ送らないようにする。これにより、障害位置特定手段の起動を防ぎ、通常は無駄となる障害位置特定手段の処理実行を未然に防止している。一方、監視制御装置または監視対象パッケージのいずれかに障害があるときには、転送手段で切り替えが行われ、次回に発生する筈の送信完了信号が障害位置特定手段へ転送されるようにする。その切り替えと同時に、再送手段が、所定信号を監視対象パッケージに再送する。その後に受信された送信完了信号または受信完了信号に応じて、障害位置特定手段が起動し、監視制御装置側及び監視対象パッケージ側のうちのいずれの側に障害が発生しているかを判定する。   In the present invention, when there is no failure in the monitoring control device and the monitoring target package and they are in a normal state, the transfer unit discards the transmission completion signal sent from the transmission completion signal generation unit and sends the transmission completion signal. Do not send to fault location identification means. This prevents activation of the fault location specifying means and prevents the processing of the fault location specifying means that would normally be wasted. On the other hand, when there is a failure in either the monitoring control device or the monitoring target package, switching is performed by the transfer means so that the next transmission completion signal that is generated next time is transferred to the failure position specifying means. Simultaneously with the switching, the retransmission unit retransmits the predetermined signal to the monitoring target package. In response to the transmission completion signal or the reception completion signal received thereafter, the failure location specifying means is activated to determine which side of the monitoring control device side or the monitoring target package side has a failure.

かくして、正常時には障害位置特定手段の処理を無駄に行うことなく、また、障害時には障害箇所の特定を確実に行うことができるようになる。   In this way, it is possible to reliably identify the location of the failure without wasting the processing of the failure location specifying means when normal, and at the time of failure.

以下、本発明の実施の形態を、図面を参照して説明する。
まず第1の実施の形態の概要を、図1を参照して説明する。第1の実施の形態は、通信相手となる監視対象パッケージの通信方式を示す通信方式識別符号を、送信フレーム14に記載する識別符号記載手段11と、送信フレーム14を、指定の監視対象パッケージへ送信する送信手段12と、送信フレーム14を送信すべき監視対象パッケージを送信手段12に対して指定すると共に、送信フレーム14に識別符号記載手段11によって搭載された通信方式識別符号を参照して、送信手段12の送信動作を制御する送信制御手段13とから構成される。
Hereinafter, embodiments of the present invention will be described with reference to the drawings.
First, an outline of the first embodiment will be described with reference to FIG. In the first embodiment, a communication method identification code indicating a communication method of a monitoring target package to be a communication partner, an identification code description means 11 that describes a transmission frame 14, and a transmission frame 14 to a designated monitoring target package. The transmission means 12 to be transmitted and the monitoring target package to which the transmission frame 14 is to be transmitted are designated to the transmission means 12, and the communication method identification code mounted on the transmission frame 14 by the identification code description means 11 is referred to. The transmission control unit 13 controls the transmission operation of the transmission unit 12.

以上のような構成において、監視制御装置10が、複数の監視対象パッケージ30a〜30nの各々との間で監視制御信号の送受信を行うが、監視制御装置10が監視対象パッケージ30a〜30nと行う各通信の通信方式が単一ではないとする。ここで監視制御装置10が、複数の監視対象パッケージ30a〜30nのうちの例えば監視対象パッケージ30aと通信を行おうとしたと仮定する。   In the configuration as described above, the monitoring control device 10 transmits and receives monitoring control signals to and from each of the plurality of monitoring target packages 30a to 30n, but each of the monitoring control device 10 performs with the monitoring target packages 30a to 30n. Suppose that the communication method of communication is not single. Here, it is assumed that the monitoring control device 10 tries to communicate with, for example, the monitoring target package 30a among the plurality of monitoring target packages 30a to 30n.

この場合、先ず、識別符号記載手段11が送信フレーム14のヘッダの所定位置に、監視対象パッケージ30aの通信方式を示す通信方式識別符号を記載する。そして、送信制御手段13が、この送信フレーム14を送信すべき監視対象パッケージ30aを、送信手段12に対して指定すると共に、識別符号記載手段11によって送信フレーム14に搭載された通信方式識別符号を参照して、送信手段12の送信動作を制御する。例えば、通信方式が全二重通信方式及び半二重通信方式であった場合、送信制御手段13は、半二重通信方式の監視対象パッケージとの通信では、この監視対象パッケージへ以前に送信された送信フレームに対して応答が返信され、その応答の受信が済んでいるときだけ、送信手段12に送信を行わせるようにする。   In this case, first, the identification code description unit 11 describes a communication system identification code indicating the communication system of the monitoring target package 30a at a predetermined position of the header of the transmission frame 14. Then, the transmission control means 13 designates the monitoring target package 30a to which the transmission frame 14 is to be transmitted to the transmission means 12, and the communication system identification code mounted on the transmission frame 14 by the identification code description means 11 Referring to, the transmission operation of the transmission unit 12 is controlled. For example, when the communication method is a full-duplex communication method and a half-duplex communication method, the transmission control means 13 is previously transmitted to the monitoring target package in communication with the monitoring target package of the half-duplex communication method. Only when a response is returned to the transmitted frame and the response has been received, the transmission means 12 is made to transmit.

このように、送信手段12では、監視対象パッケージ30a〜30nにおける通信方式の種別に関係なく、送信制御手段13の指示に従うだけで、送信フレーム14の送信を行うことができる。従って、送信手段12は、従来であれば、通信方式毎に別々の回路構成を備える必要があったのに対し、簡単な回路構成で送信手段12を構成することが可能となる。即ち、監視制御装置では、回路規模を増大させることなく、通信方式が異なる複数の監視対象パッケージとの間で監視制御信号の送受信を行うことができる。   As described above, the transmission unit 12 can transmit the transmission frame 14 only by following the instruction of the transmission control unit 13 regardless of the type of communication method in the monitoring target packages 30a to 30n. Accordingly, the transmission unit 12 conventionally needs to have a separate circuit configuration for each communication method, whereas the transmission unit 12 can be configured with a simple circuit configuration. In other words, the monitoring control apparatus can transmit and receive monitoring control signals to and from a plurality of monitoring target packages with different communication methods without increasing the circuit scale.

次に、第1の実施の形態を詳しく説明する。なお、以下に説明する第1の実施の形態では、図1に示す監視制御装置10は監視制御装置40に対応し、同様に、識別符号記載手段11は監視制御部42aに、送信手段12はデータ送信処理部63に、送信制御手段13はプロトコル処理部62に、監視対象パッケージ30a〜30nは対向パッケージ55,56に対応する。   Next, the first embodiment will be described in detail. In the first embodiment described below, the monitoring control device 10 shown in FIG. 1 corresponds to the monitoring control device 40. Similarly, the identification code description unit 11 is the monitoring control unit 42a, and the transmission unit 12 is the In the data transmission processing unit 63, the transmission control unit 13 corresponds to the protocol processing unit 62, and the monitoring target packages 30a to 30n correspond to the opposing packages 55 and 56.

図3は、伝送装置を構成する監視制御装置40の内部構成を示すブロック図である。伝送装置は、架に多数のプリント配線板パッケージを挿抜自在に装着する構造となっており、監視制御の面から見れば、監視制御する側のパッケージと、監視制御される側のパッケージとからなる。監視制御装置40は、監視制御する側のパッケージに搭載される。以下では、監視制御される側のパッケージを「下位パッケージ」と呼ぶことにする。   FIG. 3 is a block diagram showing an internal configuration of the monitoring control device 40 constituting the transmission device. The transmission device has a structure in which a large number of printed wiring board packages are detachably mounted on a rack. From the viewpoint of monitoring control, the transmission device includes a monitoring control side package and a monitoring controlled side package. . The supervisory control device 40 is mounted on a package on the supervisory control side. Hereinafter, the package to be monitored and controlled is referred to as a “lower package”.

監視制御装置40には、下位パッケージ(1)51〜下位パッケージ(n)54が接続される。下位パッケージ51〜54には、MPUを備え、全二重通信方式により監視制御装置40と監視制御信号の通信を行うものと、MPUを備えず、半二重通信方式により監視制御装置40と監視制御信号の通信を行うものとがある。MPUを備える下位パッケージは、自パッケージ内の監視情報や配下の下位パッケージ(図示しないが、MPUを備える下位パッケージに更に下位パッケージが接続される場合もある)の監視情報を自ら収集している。こうした監視情報に変化が発生した場合は即時に、その変化情報を監視制御装置40に転送する機能が、MPUを備える下位パッケージには備えられ、その転送のためには全二重通信方式が欠かせない。また、MPUを搭載していない下位パッケージは、自パッケージ内の監視情報を監視制御装置40へ自律的に転送する機能を持たない。よって、こうした下位パッケージでは、監視制御装置40から周期的に、監視情報を通知するように要求するコマンドを受信し、その受信タイミングに同期して、監視情報を監視制御装置40へ応答送信する。つまり、MPUを搭載していない下位パッケージには半二重通信方式が適用される。半二重通信方式を実行する場合、監視制御装置40は、下位パッケージにデータ送信後、その応答を下位パッケージから受信するまで次のデータを下位パッケージへ送信してはならない。   The monitoring control device 40 is connected to the lower package (1) 51 to the lower package (n) 54. The lower packages 51 to 54 are provided with an MPU and communicate with the supervisory control device 40 with a full-duplex communication method, and do not have an MPU and monitor with the supervisory control device 40 with a half-duplex communication method. Some perform communication of control signals. The subordinate package including the MPU collects monitoring information of the self-package and subordinate subordinate packages (not shown, but a subordinate package may be further connected to the subordinate package including the MPU). When such a change occurs in the monitoring information, a function for transferring the change information to the monitoring control device 40 is provided in the lower package including the MPU, and the full duplex communication method is lacking for the transfer. I wo n’t. In addition, the lower package not equipped with the MPU does not have a function of autonomously transferring the monitoring information in the own package to the monitoring control device 40. Therefore, in such a lower package, a command requesting notification of monitoring information is periodically received from the monitoring control device 40, and the monitoring information is transmitted in response to the monitoring control device 40 in synchronization with the reception timing. In other words, the half-duplex communication method is applied to the lower package not equipped with the MPU. When the half-duplex communication method is executed, the monitoring control device 40 must not transmit the next data to the lower package until the response is received from the lower package after transmitting the data to the lower package.

図3中、監視制御装置40は、データ処理装置42、通信用データバッファ43、割り込みコントローラ44、通信制御モジュール45から構成される。データ処理装置42は、CPU (Central Processing Unit),ROM (Read Only Memory) ,RAM (Random Access Memory) ,入出力装置等から構成され、ROMに記憶された監視制御プログラム及び通信制御プログラムをCPUで実行することにより、監視制御機能及び通信制御機能を実現する。監視制御部42a及び通信制御部42bは、そうした監視制御機能及び通信制御機能にそれぞれ対応する。図4は、通信用データバッファの内部の格納領域を示す図である。通信用データバッファ43は、通信制御モジュール45内の物理ポート(1)45d〜物理ポート(n)45gを介して各下位パッケージから受信された受信データを格納する領域(受信用エリア43b)と、物理ポート(1)45d〜物理ポート(n)45gを介して各下位パッケージへ送信すべき送信データを格納する領域(送信用エリア43a)とからなる。受信用エリア43b及び送信用エリア43aは各々、図4に示すように、物理ポート毎に領域が構成される。通信制御モジュール45は、ソフトウェアを含まないLSIで構成される。データ処理装置42と割り込みコントローラ44とは割込信号線(A〜C)41で接続される。   In FIG. 3, the monitoring control device 40 includes a data processing device 42, a communication data buffer 43, an interrupt controller 44, and a communication control module 45. The data processing device 42 includes a CPU (Central Processing Unit), a ROM (Read Only Memory), a RAM (Random Access Memory), an input / output device, and the like. The CPU executes a monitoring control program and a communication control program stored in the ROM. By executing this, a monitoring control function and a communication control function are realized. The monitoring control unit 42a and the communication control unit 42b correspond to such a monitoring control function and a communication control function, respectively. FIG. 4 is a diagram showing a storage area inside the communication data buffer. The communication data buffer 43 includes an area (reception area 43b) for storing reception data received from each lower package via the physical port (1) 45d to physical port (n) 45g in the communication control module 45. An area (transmission area 43a) for storing transmission data to be transmitted to each lower package via the physical port (1) 45d to the physical port (n) 45g. Each of the reception area 43b and the transmission area 43a is configured for each physical port as shown in FIG. The communication control module 45 is configured by an LSI that does not include software. The data processing device 42 and the interrupt controller 44 are connected by an interrupt signal line (A to C) 41.

データ処理装置42内の監視制御部42aは、下位パッケージ51〜54へ送信する各コマンドを編集するとともに、下位パッケージ51〜54から送られた応答通知の解析を行う。通信制御部42bは、監視制御部42aから渡された各コマンドデータを下位パッケージ51〜54へ送信するために通信制御モジュール45を制御する。通信制御モジュール45は、下位パッケージ51〜54から受信した応答データに関する制御情報を監視制御部42aに渡す。この制御情報とは、受信状態(正常終了または通信エラー発生)、受信した物理ポート、受信データを格納した通信用データバッファ43内のアドレス、受信データの長さである。   The monitoring control unit 42a in the data processing device 42 edits each command transmitted to the lower packages 51 to 54, and analyzes the response notification sent from the lower packages 51 to 54. The communication control unit 42b controls the communication control module 45 to transmit each command data passed from the monitoring control unit 42a to the lower packages 51 to 54. The communication control module 45 passes control information related to the response data received from the lower packages 51 to 54 to the monitoring control unit 42a. The control information includes a reception state (normal end or communication error has occurred), a received physical port, an address in the communication data buffer 43 storing received data, and a length of received data.

通信制御モジュール45は、バッファインタフェース回路45a、対MPUレジスタ群45b、PORT間調停・制御回路45c、物理ポート(1)45d〜物理ポート(n)45gから構成される。バッファインタフェース回路45aは、データ送信時、通信用データバッファ43内の指定送信用エリアから送信データを読み出す。また、データ受信時、通信用データバッファ43内の指定受信用エリアに受信データを格納する。対MPUレジスタ群45bには、通信制御部42bがデータ送信時に制御情報を書き込み、通信制御モジュール45はこの制御情報を読みだして送信処理を実行する。送信時の制御情報とは、送信すべき物理ポート、送信データが格納された通信用データバッファ43内の送信用エリアのアドレス、送信データの長さである。   The communication control module 45 includes a buffer interface circuit 45a, an MPU register group 45b, an interport arbitration / control circuit 45c, and physical ports (1) 45d to (n) 45g. The buffer interface circuit 45a reads transmission data from the designated transmission area in the communication data buffer 43 during data transmission. When receiving data, the received data is stored in the designated reception area in the communication data buffer 43. In the MPU register group 45b, the communication control unit 42b writes control information at the time of data transmission, and the communication control module 45 reads this control information and executes transmission processing. The control information at the time of transmission includes the physical port to be transmitted, the address of the transmission area in the communication data buffer 43 in which the transmission data is stored, and the length of the transmission data.

また、対MPUレジスタ群45bには、データ受信時に通信制御モジュール45によって制御情報が書き込まれ、通信制御部42bがこの制御情報を読みだして受信処理を実行する。PORT間調停・制御回路45cは、データ送信時に対MPUレジスタ群45bから制御情報を読み出して、指定の物理ポートから送信を実行する。また、データ受信時に対MPUレジスタ群45bに制御情報を書き込む。   Control information is written to the MPU register group 45b by the communication control module 45 when data is received, and the communication control unit 42b reads out the control information and executes a reception process. The inter-PORT arbitration / control circuit 45c reads control information from the MPU register group 45b during data transmission and executes transmission from a designated physical port. Also, control information is written to the MPU register group 45b when data is received.

割り込みコントローラ44は、異なる割込要因を優先制御して、割込信号線41によって通信制御部42bを起動する。即ち、割り込みコントローラ44は、下位パッケージ25〜54との間のデータ転送時に次の3つの状態変化を割込要因として通信制御部42bを起動する。第1は、下位パッケージへのデータ送信が完了した状態が発生した時点、第2は、下位パッケージからのデータ受信が完了した状態が発生した時点、第3は、下位パッケージからのデータ受信時にエラーが検出された状態が発生した時点である。これらの要因は割り込みコントローラ44を経由して指定の割込信号線により通信制御部42bに通知されるが、どの要因を割込発生の対象とするかどうかについては、システム設計時に決定するまた、要因毎に割込信号線41のうちのどの割込信号線(A〜C)を使用するのかという決定もシステム設計時に行われる。例えば、割込信号線Aに送信完了を、割込信号線Bに受信完了を、割込信号線Cに受信エラーを割り当て、優先順位を高い方から低い方へ順に、割込信号線A、割込信号線B、割込信号線Cと設定する。この場合、装置運用中は常に送信完了、受信完了、受信エラーといった割込要因が発生すれば即時に通信制御モジュール45から通信制御部42bに対して通知される。第1の実施の形態では、割り込み制御に関する設定に特別なものはなく、通常の設定とする。   The interrupt controller 44 preferentially controls different interrupt factors and activates the communication control unit 42b by the interrupt signal line 41. That is, the interrupt controller 44 activates the communication control unit 42b using the following three state changes as interrupt factors when transferring data to and from the lower packages 25-54. The first is the time when data transmission to the lower package is completed, the second is the time when data reception from the lower package is completed, and the third is the error when receiving data from the lower package This is the point in time when a state in which an error is detected occurs. These factors are notified to the communication control unit 42b by a designated interrupt signal line via the interrupt controller 44. Which factor is to be an interrupt generation target is determined at the time of system design. The determination of which interrupt signal line (A to C) of the interrupt signal lines 41 to use for each factor is also made during system design. For example, a transmission completion is assigned to the interrupt signal line A, a reception completion is assigned to the interrupt signal line B, a reception error is assigned to the interrupt signal line C, and the interrupt signal line A, Set as interrupt signal line B and interrupt signal line C. In this case, if an interrupt factor such as transmission completion, reception completion, or reception error always occurs during operation of the apparatus, the communication control module 45 immediately notifies the communication control unit 42b. In the first embodiment, there is no special setting for interrupt control, and a normal setting is used.

図5は、監視制御装置40内の通信制御部42bを更に詳しく示す図である。図5では通信制御部42bが有する多数の機能を分けて図示している。通信制御部42bが有する機能として、通信モード制御部61、プロトコル処理部62、データ送信処理部63、データ受信処理部64、割込処理部65がある。プロトコル処理部62には半二重通信処理部62aが含まれる。なお図5では、下位パッケージ51〜54のうち、MPUを備えるものを対向パッケージ(A)55とし、MPUを備えないものを対向パッケージ(B)56としている。   FIG. 5 is a diagram illustrating the communication control unit 42b in the monitoring control device 40 in more detail. In FIG. 5, many functions of the communication control unit 42b are illustrated separately. The communication control unit 42b has a communication mode control unit 61, a protocol processing unit 62, a data transmission processing unit 63, a data reception processing unit 64, and an interrupt processing unit 65. The protocol processing unit 62 includes a half-duplex communication processing unit 62a. In FIG. 5, among the lower packages 51 to 54, the package that includes the MPU is referred to as a facing package (A) 55, and the package that does not include the MPU is referred to as a facing package (B) 56.

対向パッケージ(A)55は、自律的にデータを送信する機能を有するので、監視制御装置40と対向パッケージ(A)55との間の通信は、同時に双方から他方に向かってデータを伝送することが可能な全二重通信方式を適用してリアルタイムに通信を行うのが適当である。一方、対向パッケージ(B)56は、自律的にデータを送信する機能がないので、監視制御装置40と対向パッケージ(B)56との間の通信は、監視制御装置40が対向パッケージ(B)56へ送信を行ったときだけ、その応答を対向パッケージ(B)56が監視制御装置40に対して送信できる半二重通信方式が適用される。   Since the opposing package (A) 55 has a function of autonomously transmitting data, the communication between the monitoring control device 40 and the opposing package (A) 55 transmits data from both to the other at the same time. It is appropriate to perform communication in real time by applying a full-duplex communication method capable of performing the above. On the other hand, since the opposing package (B) 56 does not have a function of transmitting data autonomously, communication between the monitoring control device 40 and the opposing package (B) 56 is performed by the monitoring control device 40 in the opposing package (B). Only when transmission to 56 is performed, a half-duplex communication method is applied in which the opposite package (B) 56 can transmit the response to the monitoring control device 40.

以下に、通信制御部42bが監視制御部42aから制御されて、対向パッケージ(A)55及び対向パッケージ(B)56とデータ転送を行う場合の処理を説明する。
先ず、図6を参照して、第1の実施の形態で使用されるデータ伝送フレームの構成を説明する。
Hereinafter, processing when the communication control unit 42b is controlled by the monitoring control unit 42a and performs data transfer with the opposing package (A) 55 and the opposing package (B) 56 will be described.
First, the configuration of a data transmission frame used in the first embodiment will be described with reference to FIG.

図6は、監視制御装置40と、対向パッケージ(A)55及び対向パッケージ(B)56との間で伝送されるフレームの構成を示す図である。データ転送に使用するフレームのヘッダの所定位置に、通信モード識別ビットを設ける。この通信モード識別ビットに、監視制御装置40とデータ転送を行う下位パッケージがMPUを搭載しているか否かを表示するようにする。送信時には監視制御部42aがこの通信モード識別ビットに表示を行い、受信時には、下位パッケージが予め表示を行う。   FIG. 6 is a diagram illustrating a configuration of a frame transmitted between the monitoring control device 40 and the opposing package (A) 55 and the opposing package (B) 56. A communication mode identification bit is provided at a predetermined position of a header of a frame used for data transfer. This communication mode identification bit displays whether or not the lower-level package that performs data transfer with the monitoring control device 40 is equipped with an MPU. At the time of transmission, the monitor control unit 42a displays the communication mode identification bit, and at the time of reception, the lower package displays in advance.

図5に戻って、監視制御装置40から対向パッケージ(A)55へのコマンドの送信(全二重通信)処理においては、先ず、監視制御部42aが、送信データを搭載したフレームの通信モード識別ビットに「MPU搭載」を表示し、このフレームを、通信用データバッファ43の中の、対向パッケージ(A)55に対応する物理ポート用の送信用エリアに格納する。その上で、監視制御部42aが通信制御部42bの通信モード制御部61に送信データに関する制御情報を与える。通信モード制御部61は、制御情報に含まれるアドレスによって通信用データバッファ43内の指定送信用エリアを参照し、送信データを搭載したフレームの通信モード識別ビットを見る。そしてそこに表示されている「MPU搭載」を認識する。通信モード制御部61はこの認識をプロトコル処理部62に伝え、この場合、プロトコル処理部62は、特に処理をせず、データ送信処理部63を呼び出す。データ送信処理部63は通信制御モジュール45の対MPUレジスタ群45bに、送信データに関する制御情報(送信エリアのアドレス、送信データの長さ)をセットして、送信要求を出す。通信制御モジュール45内のバッファインタフェース回路45a及びPORT間調停・制御回路45cは、送信データを通信用データバッファ43から読み出して、対向パッケージ(A)55へ送信する。   Returning to FIG. 5, in the command transmission (full-duplex communication) process from the monitoring control device 40 to the opposite package (A) 55, the monitoring control unit 42a first identifies the communication mode of the frame on which the transmission data is mounted. “MPU mounted” is displayed in the bit, and this frame is stored in the transmission area for the physical port corresponding to the opposite package (A) 55 in the communication data buffer 43. Then, the monitoring control unit 42a gives control information related to transmission data to the communication mode control unit 61 of the communication control unit 42b. The communication mode control unit 61 refers to the designated transmission area in the communication data buffer 43 by the address included in the control information, and looks at the communication mode identification bit of the frame carrying the transmission data. Then, “MPU mounted” displayed there is recognized. The communication mode control unit 61 transmits this recognition to the protocol processing unit 62. In this case, the protocol processing unit 62 calls the data transmission processing unit 63 without performing any particular processing. The data transmission processing unit 63 sets control information (transmission area address, transmission data length) related to transmission data in the MPU register group 45b of the communication control module 45, and issues a transmission request. The buffer interface circuit 45a and the inter-PORT arbitration / control circuit 45c in the communication control module 45 read the transmission data from the communication data buffer 43 and transmit it to the opposite package (A) 55.

監視制御装置40が対向パッケージ(A)55から応答信号を受信(全二重通信)する処理においては、先ず、通信制御モジュール45が対向パッケージ(A)55からデータを受信する。そして、バッファインタフェース回路45a及びPORT間調停・制御回路45cが、通信用データバッファ43の中の、対向パッケージ(A)55に対応する物理ポート用の受信用エリアに受信データを格納する。この受信データを搭載したフレームの通信モード識別ビットには、予め対向パッケージ(A)55において「MPU搭載」が表示されている。受信データを受信用エリアに格納した上で、受信データに関する制御情報(受信エリアのアドレス、受信データの長さ)が対MPUレジスタ群45bに格納される。受信完了に伴い、通信制御部42bの割込処理部65は、割り込みコントローラ44から割込処理を起動すべく通知される。割込処理部65は、受信完了割込処理を起動し、データ受信処理部64へ通知する。この通知によりデータ受信処理部64は、対MPUレジスタ群45bから受信データに関する制御情報を読み出して、通信用データバッファ43を参照する。この参照により、通信モード識別ビットに表示されている「MPU搭載」を認識する。データ受信処理部64はこの認識をプロトコル処理部62に伝え、この場合、プロトコル処理部62は、特に処理をせず、通信モード制御部61を呼び出す。通信モード制御部61は、受信データに関する制御情報を監視制御部42aへ通知する。監視制御部42aは制御情報を基に通信用データバッファ43から受信データを読み出して、データの解析処理を行う。   In the process in which the monitoring control device 40 receives a response signal from the opposing package (A) 55 (full duplex communication), first, the communication control module 45 receives data from the opposing package (A) 55. Then, the buffer interface circuit 45 a and the PORT arbitration / control circuit 45 c store the reception data in the reception area for the physical port corresponding to the opposing package (A) 55 in the communication data buffer 43. In the communication mode identification bit of the frame in which the received data is mounted, “MPU mounted” is displayed in advance in the opposing package (A) 55. After receiving the received data in the receiving area, control information (receiving area address, received data length) regarding the received data is stored in the MPU register group 45b. Upon completion of reception, the interrupt processing unit 65 of the communication control unit 42b is notified from the interrupt controller 44 to start the interrupt processing. The interrupt processing unit 65 activates reception completion interrupt processing and notifies the data reception processing unit 64 of the reception completion interrupt processing. In response to this notification, the data reception processing unit 64 reads the control information related to the received data from the MPU register group 45 b and refers to the communication data buffer 43. By this reference, “MPU mounted” displayed in the communication mode identification bit is recognized. The data reception processing unit 64 transmits this recognition to the protocol processing unit 62. In this case, the protocol processing unit 62 calls the communication mode control unit 61 without performing any particular processing. The communication mode control unit 61 notifies the monitoring control unit 42a of control information regarding received data. The monitoring controller 42a reads the received data from the communication data buffer 43 based on the control information, and performs data analysis processing.

監視制御装置40が対向パッケージ(B)56へコマンドを送信(半二重通信)する処理においては、先ず、監視制御部42aが、送信データを搭載したフレームの通信モード識別ビットに「MPU搭載なし」を表示し、このフレームを、通信用データバッファ43の中の、対向パッケージ(B)56に対応する物理ポート用の送信用エリアに格納する。その上で、監視制御部42aが通信制御部42bの通信モード制御部61に送信データに関する制御情報を与える。通信モード制御部61は、制御情報のアドレスを基にして通信用データバッファ43を参照し、送信データを搭載したフレームの通信モード識別ビットに表示されている「MPU搭載なし」を認識する。通信モード制御部61はこの認識をプロトコル処理部62に伝え、この場合、プロトコル処理部62は、半二重通信処理部62aを起動する。半二重通信処理部62aは、後述の送信状態テーブルを参照し、送信状態テーブル内の対向パッケージ(B)56に対応する部分に、第1の状態符号が記載されているならば、データ送信処理部63に送信データの送信を行わせず、第2の状態符号が記載されているならば、データ送信処理部63に送信データの送信を行わせる。送信状態テーブルは、データ処理装置42内に設けられ、MPUの搭載がない下位パッケージ毎に、第1の状態符号または第2の状態符号が設定される。第1の状態符号は、対応下位パッケージに送信データが送信されたときに設定され、第2の状態符号は、対応下位パッケージから送信データに対する応答の受信があったときに設定される。従って、送信状態テーブルの対向パッケージ(B)56に対応する部分に、第1の状態符号が記載されている状態とは、送信データに対して対向パッケージ(B)56から未だ応答が戻っていない状態であり、この状態の半二重通信方式では、送信データを送ってはならない。なお、第2の状態符号が記載されているならば、データ送信処理部63に送信データの送信を行わせ、その後、送信状態テーブルの対向パッケージ(B)56に対応する部分に、第1の状態符号を設定する。   In the process in which the monitoring control device 40 transmits a command to the opposing package (B) 56 (half-duplex communication), the monitoring control unit 42a first sets “MPU not installed” in the communication mode identification bit of the frame in which the transmission data is mounted. Is displayed, and this frame is stored in the transmission area for the physical port corresponding to the opposite package (B) 56 in the communication data buffer 43. Then, the monitoring control unit 42a gives control information related to transmission data to the communication mode control unit 61 of the communication control unit 42b. The communication mode control unit 61 refers to the communication data buffer 43 based on the address of the control information, and recognizes “no MPU mounted” displayed in the communication mode identification bit of the frame in which the transmission data is mounted. The communication mode control unit 61 transmits this recognition to the protocol processing unit 62. In this case, the protocol processing unit 62 activates the half-duplex communication processing unit 62a. The half-duplex communication processing unit 62a refers to a transmission state table to be described later, and if the first state code is described in the portion corresponding to the opposing package (B) 56 in the transmission state table, data transmission is performed. If the second status code is described without transmitting the transmission data to the processing unit 63, the data transmission processing unit 63 is caused to transmit the transmission data. The transmission state table is provided in the data processing device 42, and a first state code or a second state code is set for each lower package without an MPU. The first status code is set when transmission data is transmitted to the corresponding lower package, and the second status code is set when a response to the transmission data is received from the corresponding lower package. Therefore, the state where the first status code is described in the portion corresponding to the opposing package (B) 56 in the transmission state table is that the response has not yet returned from the opposing package (B) 56 to the transmission data. In the half-duplex communication system in this state, transmission data must not be sent. If the second status code is described, the transmission data is transmitted to the data transmission processing unit 63, and then the portion corresponding to the opposing package (B) 56 in the transmission status table is set to the first status code. Set the status code.

半二重通信処理部62aから送信処理実行を指示されたデータ送信処理部63は、通信制御モジュール45の対MPUレジスタ群45bに、送信データに関する制御情報(送信エリアのアドレス、送信データの長さ)をセットして、送信要求を出す。通信制御モジュール45のバッファインタフェース回路45a及びPORT間調停・制御回路45cは、送信データを通信用データバッファ43から読み出して、対向パッケージ(B)56へ送信する。   The data transmission processing unit 63 instructed to execute the transmission processing from the half-duplex communication processing unit 62 a sends control information (transmission area address, transmission data length) to the MPU register group 45 b of the communication control module 45. ) Is set and a transmission request is issued. The buffer interface circuit 45a and the inter-PORT arbitration / control circuit 45c of the communication control module 45 read the transmission data from the communication data buffer 43 and transmit it to the opposing package (B) 56.

監視制御装置40が対向パッケージ(B)56から応答信号を受信(半二重通信)する処理においては、先ず、通信制御モジュール45が対向パッケージ(B)56からデータを受信して、バッファインタフェース回路45a及びPORT間調停・制御回路45cが、通信用データバッファ43の中の、対向パッケージ(B)56に対応する物理ポート用の受信用エリアに受信データを格納する。この受信データを搭載したフレームの通信モード識別ビットには、予め対向パッケージ(B)56において「MPU搭載なし」が表示されている。受信データを受信用エリアに格納した上で、受信データに関する制御情報(受信エリアのアドレス、受信データの長さ)が対MPUレジスタ群45bに格納される。受信完了に伴い、通信制御部42bの割込処理部65は、割り込みコントローラ44から割込処理を起動すべく通知される。割込処理部65は、受信完了割込処理を起動し、データ受信処理部64へ通知する。この通知によりデータ受信処理部64は、対MPUレジスタ群45bから受信データに関する制御情報を読み出して、通信用データバッファ43を参照する。この参照により、通信モード識別ビットに表示されている「MPU搭載なし」を認識する。データ受信処理部64はこの認識をプロトコル処理部62に伝え、この場合、プロトコル処理部62は、特に処理をせず、通信モード制御部61を呼び出す。通信モード制御部61は、受信データに関する制御情報を監視制御部42aへ通知する。監視制御部42aは制御情報を基に通信用データバッファ43から受信データを読み出して、データの解析処理を行う。なお、データ受信処理部64は、送信状態テーブルに第2の状態符号を設定する。   In the process in which the monitoring control device 40 receives a response signal from the opposing package (B) 56 (half-duplex communication), first, the communication control module 45 receives data from the opposing package (B) 56 and receives the buffer interface circuit. The arbitration / control circuit 45c between 45a and PORT stores the received data in the physical port reception area corresponding to the opposing package (B) 56 in the communication data buffer 43. In the communication mode identification bit of the frame in which the received data is mounted, “no MPU mounted” is displayed in advance in the opposing package (B) 56. After receiving the received data in the receiving area, control information (receiving area address, received data length) regarding the received data is stored in the MPU register group 45b. Upon completion of reception, the interrupt processing unit 65 of the communication control unit 42b is notified from the interrupt controller 44 to start the interrupt processing. The interrupt processing unit 65 activates reception completion interrupt processing and notifies the data reception processing unit 64 of the reception completion interrupt processing. In response to this notification, the data reception processing unit 64 reads the control information related to the received data from the MPU register group 45 b and refers to the communication data buffer 43. By this reference, “no MPU mounted” displayed in the communication mode identification bit is recognized. The data reception processing unit 64 transmits this recognition to the protocol processing unit 62. In this case, the protocol processing unit 62 calls the communication mode control unit 61 without performing any particular processing. The communication mode control unit 61 notifies the monitoring control unit 42a of control information regarding received data. The monitoring controller 42a reads the received data from the communication data buffer 43 based on the control information, and performs data analysis processing. The data reception processing unit 64 sets the second status code in the transmission status table.

以上のように、通信制御部42bは全二重通信方式用及び半二重通信方式用の2系統のプログラムを持ち、特に通信モード制御部61において、接続先の下位パッケージの通信方式に合わせて一方の通信方式を選択するようにしている。この下位パッケージの通信方式の認識は、フレーム内の通信モード識別ビットを利用するために、通信制御部42bが、配下の各下位パッケージの通信方式に関する情報を保持する必要がない。よって、同一の通信制御プログラムを、下位パッケージの接続形態が異なる他の監視制御パッケージに搭載することも可能である。   As described above, the communication control unit 42b has two systems for the full-duplex communication method and the half-duplex communication method. In particular, the communication mode control unit 61 matches the communication method of the lower package of the connection destination. One communication method is selected. This recognition of the communication method of the lower package uses the communication mode identification bit in the frame, so that it is not necessary for the communication control unit 42b to hold information relating to the communication method of each subordinate package under control. Therefore, the same communication control program can be installed in another monitoring control package having a different connection form of the lower package.

またこのように、通信制御部42bが、下位パッケージの2つの通信方式の差異を吸収するので、通信制御モジュール45は、下位パッケージの2つの通信方式の差異に対応する回路構成を備える必要がない。即ち、通信制御モジュール45は、通信制御部42bから送信指示されたデータを指定の物理ポートから下位パッケージに送信するだけでよい。また、下位パッケージからのデータ受信時も全ての受信データを受信対象としてよい。かくして、通信制御モジュール45は、単に通信方式の差異に無関係な送信機能及び受信機能のみを備えるだけでよく、通信制御モジュール45の回路規模を、従来に比べ縮小することができる。言い換えれば、通信制御モジュール45の各物理ポートに、全二重通信方式が適したMPU搭載下位パッケージと、半二重通信方式が適したMPU非搭載下位パッケージとを任意に接続することが可能であり、かつ接続形態の変更も自由にできる。   Further, as described above, since the communication control unit 42b absorbs the difference between the two communication methods of the lower package, the communication control module 45 does not need to have a circuit configuration corresponding to the difference between the two communication methods of the lower package. . That is, the communication control module 45 only needs to transmit the data instructed to be transmitted from the communication control unit 42b from the designated physical port to the lower package. In addition, all received data may be targeted for reception even when data is received from a lower package. Thus, the communication control module 45 only needs to have only a transmission function and a reception function irrelevant to a difference in communication method, and the circuit scale of the communication control module 45 can be reduced as compared with the conventional one. In other words, it is possible to arbitrarily connect an MPU-equipped lower package suitable for the full-duplex communication method and an MPU non-equipped lower package suitable for the half-duplex communication method to each physical port of the communication control module 45. Yes, and the connection form can be changed freely.

次に、第2の実施の形態を説明する。
第2の実施の形態は、図2に示すように、監視対象パッケージ31に対して所定信号を送信して送信完了したときに送信完了信号を発生する送信完了信号発生手段21と、所定信号に対する応答信号を受信して受信完了したときに受信完了信号を発生する受信完了信号発生手段22と、応答信号が受信されているときには送信完了信号を破棄し、応答信号が受信されないときには、送信完了信号を転送する転送手段23と、応答信号が受信されないときに、所定信号を監視対象パッケージ31に再送する再送手段24と、再送手段24による再送の後、受信完了信号発生手段22及び転送手段23から得られる信号を基に障害位置を特定する障害位置特定手段25とから構成される。
Next, a second embodiment will be described.
In the second embodiment, as shown in FIG. 2, a transmission completion signal generating means 21 that generates a transmission completion signal when a transmission is completed by transmitting a predetermined signal to the monitoring target package 31, and a predetermined signal. A reception completion signal generating means 22 for generating a reception completion signal when the response signal is received and the reception is completed; a transmission completion signal is discarded when the response signal is received; and a transmission completion signal when the response signal is not received From the transfer means 23 for transferring the signal, the retransmission means 24 for resending the predetermined signal to the monitoring target package 31 when the response signal is not received, and after the retransmission by the retransmission means 24, the reception completion signal generating means 22 and the transfer means 23 It is comprised from the fault location specific | specification means 25 which specifies a fault location based on the signal obtained.

以上のような構成において、転送手段23には常時、送信完了信号発生手段21で発生された送信完了信号が送られている。
監視制御装置20及び監視対象パッケージ31に障害の発生がなく、それらが正常な状態においては、監視制御装置20が監視対象パッケージ31に対して所定信号を送信したときに、監視対象パッケージ31が監視制御装置20に対して応答信号を返信してくる。その応答信号が監視制御装置20において正常に受信されたときには、送信完了信号発生手段21から転送手段23に送信完了信号が送られる。この場合、転送手段23は、送信完了信号発生手段21から送られた送信完了信号を破棄し、送信完了信号を、障害位置特定手段25に送らないようにする。これにより、障害位置特定手段25の起動を防ぎ、通常は処理実行が無駄となる障害位置特定手段25の起動を未然に防止している。
In the configuration as described above, the transmission completion signal generated by the transmission completion signal generation means 21 is always sent to the transfer means 23.
When there is no failure in the monitoring control device 20 and the monitoring target package 31 and they are normal, the monitoring target package 31 monitors when the monitoring control device 20 transmits a predetermined signal to the monitoring target package 31. A response signal is returned to the control device 20. When the response signal is normally received by the monitoring control device 20, a transmission completion signal is sent from the transmission completion signal generation means 21 to the transfer means 23. In this case, the transfer unit 23 discards the transmission completion signal sent from the transmission completion signal generation unit 21 so that the transmission completion signal is not sent to the failure position specifying unit 25. As a result, the failure position specifying unit 25 is prevented from being activated, and the failure position specifying unit 25 that normally wastes processing execution is prevented from being activated.

一方、監視制御装置20または監視対象パッケージ31のいずれかに障害があるときには、監視制御装置20において応答信号が受信されないが、そうしたときには、転送手段23で切り替えが行われ、次回に発生する筈の送信完了信号が障害位置特定手段25へ転送されるようになる。障害位置特定手段25は、通信制御プログラムによって実現される機能の一部であり、受信完了信号発生手段22及び転送手段23から後刻送られる信号を基に障害位置を特定する。   On the other hand, when there is a failure in either the monitoring control device 20 or the monitoring target package 31, no response signal is received in the monitoring control device 20, but in such a case, switching is performed by the transfer means 23, and the next generation should be generated. The transmission completion signal is transferred to the failure position specifying means 25. The fault position specifying means 25 is a part of the function realized by the communication control program, and specifies the fault position based on signals sent later from the reception completion signal generating means 22 and the transfer means 23.

応答信号が受信されないときには転送手段23での切り替えと同時に、再送手段24が、所定信号を監視対象パッケージ31に再送する。この再送により、監視制御装置20及び監視対象パッケージ31のうちで障害の発生している方に応じて送信完了信号または受信完了信号が発生される。再送の後、それらの信号を受けたとき、または所定時間の経過後に、障害位置特定手段25は起動し、障害位置を特定する。つまり、障害位置特定手段25は、送信完了信号を受信しないときには、監視制御装置20側に障害が発生していると判定する。また、送信完了信号を受信し、受信完了信号を受信していないときは、監視対象パッケージ31側に障害が発生していると判定する。   When the response signal is not received, the retransmission unit 24 retransmits the predetermined signal to the monitoring target package 31 simultaneously with the switching by the transfer unit 23. By this retransmission, a transmission completion signal or a reception completion signal is generated according to the failure of the monitoring control device 20 and the monitoring target package 31. When the signals are received after the retransmission, or after a predetermined time has elapsed, the failure position specifying means 25 is activated to specify the failure position. That is, the failure position specifying unit 25 determines that a failure has occurred on the monitoring control device 20 side when the transmission completion signal is not received. When the transmission completion signal is received and the reception completion signal is not received, it is determined that a failure has occurred on the monitoring target package 31 side.

かくして、正常時には通信制御プログラムの処理を無駄に行うことなく、また、障害時には障害箇所の特定を確実に行うことができるようになる。
次に、第2の実施の形態を詳しく説明する。
Thus, the communication control program process is not wasted when normal, and the fault location can be reliably identified when a fault occurs.
Next, the second embodiment will be described in detail.

第2の実施の形態の具体的な構成は、基本的に第1の実施の形態の具体的な構成と同じである。従って、第2の実施の形態の説明では、第1の実施の形態の構成を流用する。
なお、以下に説明する第2の実施の形態では、図2に示す監視制御装置20は監視制御装置40に対応し、同様に、送信完了信号発生手段21は通信制御モジュール45に、受信完了信号発生手段22は通信制御モジュール45に、転送手段23は通信制御部42bに、再送手段24は通信制御部42bに、障害位置特定手段25は監視制御部42aに、監視対象パッケージ31は下位パッケージ51〜54に対応する。
The specific configuration of the second embodiment is basically the same as the specific configuration of the first embodiment. Therefore, in the description of the second embodiment, the configuration of the first embodiment is used.
In the second embodiment described below, the monitoring control device 20 shown in FIG. 2 corresponds to the monitoring control device 40, and similarly, the transmission completion signal generating means 21 sends a reception completion signal to the communication control module 45. The generation unit 22 is in the communication control module 45, the transfer unit 23 is in the communication control unit 42b, the retransmission unit 24 is in the communication control unit 42b, the fault location specifying unit 25 is in the monitoring control unit 42a, and the monitoring target package 31 is the lower package 51. Corresponds to ~ 54.

第2の実施の形態では、通信制御モジュール45の対MPUレジスタ群45bに更に、割込信号線要因割当部が設けられる。
図7は、割込信号線要因割当部の構成を示す図である。割込信号線要因割当部には、割り込みコントローラ44が送信完了時に参照すべき割当部71[図7(A)]、割り込みコントローラ44が受信完了時に参照すべき割当部72[図7(B)]、及び割り込みコントローラ44が受信エラー発生時に参照すべき割当部73[図7(C)]の3つの割当部があり、各割当部とも、物理ポート及び割り込み信号線毎に1ビット分の記憶部分が設定される。
In the second embodiment, an interrupt signal line factor assigning unit is further provided in the MPU register group 45b of the communication control module 45.
FIG. 7 is a diagram illustrating a configuration of the interrupt signal line factor assignment unit. The interrupt signal line factor allocation unit includes an allocation unit 71 [FIG. 7A] to be referred to when the interrupt controller 44 completes transmission, and an allocation unit 72 [FIG. 7B] to be referred to when the interrupt controller 44 completes reception. And the allocation unit 73 [FIG. 7C] to be referred to by the interrupt controller 44 when a reception error occurs. Each allocation unit stores one bit for each physical port and interrupt signal line. The part is set.

図8は、システム初期化時に割込信号線要因割当部に対して設定された割り込み指示を示す図である。即ち、システム初期化時の設定では、どの物理ポートからデータを受信した場合も、その受信が完了した場合には、データ受信完了の割り込み信号を割り込み信号線Aから通信制御部42bへ送るようにする。こうした制御を実現するために、受信完了時に参照すべき割込信号線要因割当部72[図8(B)]においては、割り込み信号線Aの各物理ポートに対応する記憶部分72aに値1を設定し、他の割り込み信号線B,Cの各物理ポートに対応する記憶部分72b,72cには値0を設定する。   FIG. 8 is a diagram illustrating an interrupt instruction set for the interrupt signal line factor assignment unit at the time of system initialization. That is, in the setting at the time of system initialization, even when data is received from any physical port, when the reception is completed, an interrupt signal indicating completion of data reception is sent from the interrupt signal line A to the communication control unit 42b. To do. In order to realize such control, in the interrupt signal line factor assigning unit 72 [FIG. 8B] to be referred to when reception is completed, the value 1 is stored in the storage portion 72a corresponding to each physical port of the interrupt signal line A. The value 0 is set in the storage portions 72b and 72c corresponding to the physical ports of the other interrupt signal lines B and C.

また、システム初期化時の設定では、どの物理ポートからデータを受信した場合も、その受信データに誤りがあった場合には、受信エラーの割り込み信号を割り込み信号線Bから通信制御部42bへ送るようにする。こうした制御を実現するために、受信エラー発生時に参照すべき割込信号線要因割当部73[図8(C)]においては、割り込み信号線Bの各物理ポートに対応する記憶部分73bに値1を設定し、他の割り込み信号線A,Cの各物理ポートに対応する記憶部分73a,73cには値0を設定する。   Also, in the settings at the time of system initialization, even if data is received from any physical port, if there is an error in the received data, a reception error interrupt signal is sent from the interrupt signal line B to the communication control unit 42b. Like that. In order to realize such control, in the interrupt signal line factor assignment unit 73 [FIG. 8C] to be referred to when a reception error occurs, a value 1 is stored in the storage portion 73b corresponding to each physical port of the interrupt signal line B. And the value 0 is set in the storage portions 73a and 73c corresponding to the physical ports of the other interrupt signal lines A and C.

ただし、システム初期化時の設定では、どの物理ポートからデータを送信した場合も、その送信が完了した場合に、データ送信完了の割り込み信号を通信制御部42bへ送らないようにする。こうした制御を実現するために、送信完了時に参照すべき割込信号線要因割当部71[図8(A)]においては、割り込み信号線A,B,Cの各物理ポートに対応する記憶部分71a〜71cには値0を設定する。なお、各割り込み信号が同時に発生した場合には、各割り込み信号を割り込み信号線A,B,Cから通信制御部42bに対して、そのまま通知することをせず、優先順位を割り込み信号線A、割り込み信号線B、割り込み信号線Cの順につけて通知するようにする。   However, in the setting at the time of system initialization, even if data is transmitted from any physical port, the data transmission completion interrupt signal is not sent to the communication control unit 42b when the transmission is completed. In order to realize such control, in the interrupt signal line factor assignment unit 71 [FIG. 8A] to be referred to when transmission is completed, the storage portion 71a corresponding to each physical port of the interrupt signal lines A, B, and C A value of 0 is set to ~ 71c. When interrupt signals are generated at the same time, the interrupt signals are not notified as they are from the interrupt signal lines A, B, C to the communication control unit 42b. The interrupt signal line B and the interrupt signal line C are attached in order and notified.

かくして、割り込みコントローラ44は、割り込み要因発生時に、その割り込み要因に応じて割込信号線要因割当部の3つの割当部71,72,73のいずれかを参照し、対応の物理ポートにおいて値1が設定されている割り込み信号線から割り込み信号を通信制御部42bへ送るようにする。   Thus, when an interrupt factor occurs, the interrupt controller 44 refers to one of the three allocation units 71, 72, 73 of the interrupt signal line factor allocation unit according to the interrupt factor, and the value 1 is set in the corresponding physical port. An interrupt signal is sent from the set interrupt signal line to the communication control unit 42b.

特に、送信完了時に参照すべき割込信号線要因割当部71においては、割り込み信号線A,B,Cの各物理ポートに対応する記憶部分71a〜71cに全て値0が設定されている。これにより、通信制御部42bにおける送信完了時の割り込み処理が割愛され、正常運用中に無駄な処理が実施されることを防止するようにしている。   In particular, in the interrupt signal line factor assignment unit 71 to be referred to when transmission is completed, all of the storage portions 71a to 71c corresponding to the physical ports of the interrupt signal lines A, B, and C are set to 0. As a result, interrupt processing at the time of completion of transmission in the communication control unit 42b is omitted, and unnecessary processing is prevented from being performed during normal operation.

ここで、図3において監視制御装置40が物理ポート(1)45dから下位パッケージ(1)51に対してデータ送信を実行したが、応答が戻って来なかったとする。
監視制御装置40の監視制御部42aにおいては、データ送信後、その送信に対する応答が届くか否かを所定時間に亘って監視する。所定時間の間に応答がなければ、監視制御部42aは通信制御部42b経由で、対MPUレジスタ群45bの割込信号線要因割当部の物理ポート(1)対応部分に対してだけ設定変更を行う。この設定変更を、図9を参照して説明する。
Here, in FIG. 3, it is assumed that the supervisory control device 40 transmits data from the physical port (1) 45d to the lower package (1) 51, but no response is returned.
In the monitoring control unit 42a of the monitoring control device 40, after data transmission, it is monitored over a predetermined time whether or not a response to the transmission arrives. If there is no response within a predetermined time, the monitoring control unit 42a changes the setting only for the physical port (1) corresponding part of the interrupt signal line factor allocation unit of the MPU register group 45b via the communication control unit 42b. Do. This setting change will be described with reference to FIG.

図9は、物理ポート(1)45dからデータを送信し、応答がなかったときに対MPUレジスタ群45bの割込信号線要因割当部において行われる設定変更を示す図である。即ち、送信完了時に参照すべき割込信号線要因割当部71[図9(A)]においては、割り込み信号線Aの記憶部分71aのうちの物理ポート(1)に対応する記憶部分の値0を値1に変更する。そして、受信完了時に参照すべき割込信号線要因割当部72[図9(B)]においては、割り込み信号線Aの記憶部分72aのうちの物理ポート(1)に対応する記憶部分の値1を値0に変更し、割り込み信号線Bの記憶部分72bのうちの物理ポート(1)に対応する記憶部分の値0を値1に変更する。受信エラー発生時に参照すべき割込信号線要因割当部73[図9(C)]においては、割り込み信号線Bの記憶部分73bのうちの物理ポート(1)に対応する記憶部分の値1を値0に変更し、割り込み信号線Cの記憶部分73cのうちの物理ポート(1)に対応する記憶部分の値0を値1に変更する。   FIG. 9 is a diagram showing a setting change performed in the interrupt signal line factor assignment unit of the MPU register group 45b when data is transmitted from the physical port (1) 45d and there is no response. That is, in the interrupt signal line factor assignment unit 71 [FIG. 9A] to be referred to when transmission is completed, the value 0 of the storage portion corresponding to the physical port (1) in the storage portion 71a of the interrupt signal line A Is changed to a value of 1. Then, in the interrupt signal line factor assignment unit 72 [FIG. 9B] to be referred to when reception is completed, the value 1 of the storage portion corresponding to the physical port (1) in the storage portion 72a of the interrupt signal line A Is changed to the value 0, and the value 0 of the storage part corresponding to the physical port (1) in the storage part 72b of the interrupt signal line B is changed to the value 1. In the interrupt signal line factor assignment unit 73 [FIG. 9C] to be referred to when a reception error occurs, the value 1 of the storage part corresponding to the physical port (1) in the storage part 73b of the interrupt signal line B is set. The value is changed to 0, and the value 0 of the storage part corresponding to the physical port (1) in the storage part 73c of the interrupt signal line C is changed to the value 1.

こうした設定変更後に、監視制御装置40の通信制御部42bが、応答のなかった送信データについて再度の送信を行う。この再送の結果、監視制御装置40に障害がなく、再送が確かに実行されていれば、送信完了時に、今度は、割り込み信号が通信制御部42bに送られる。つまり、割込信号線要因割当部の送信完了時に参照すべき割当部71[図9(A)]において、割り込み信号線Aの物理ポート(1)に対応する記憶部分に値1が設定されているので、送信完了時に、割り込み信号が通信制御部42bに送られる。   After such a setting change, the communication control unit 42b of the monitoring control device 40 performs transmission again for transmission data that has not been responded to. As a result of this retransmission, if there is no failure in the monitoring control device 40 and the retransmission is surely executed, an interrupt signal is now sent to the communication control unit 42b upon completion of transmission. That is, the value 1 is set in the storage portion corresponding to the physical port (1) of the interrupt signal line A in the assignment unit 71 [FIG. 9A] to be referred to when transmission of the interrupt signal line factor assignment unit is completed. Therefore, when transmission is completed, an interrupt signal is sent to the communication control unit 42b.

こうした再送の結果得られた送信完了信号や受信完了信号を基に、監視制御部42aによって障害位置を特定する処理が行われる。
図10は、監視制御部42aにおいて実行される障害位置の特定処理の手順を示すフローチャートである。この処理では、送信完了信号及び受信完了信号の各検出に基づき、障害位置の特定が行われる。
Based on the transmission completion signal and the reception completion signal obtained as a result of such retransmission, processing for specifying the fault location is performed by the monitoring control unit 42a.
FIG. 10 is a flowchart illustrating a procedure of fault location specifying processing executed in the monitoring control unit 42a. In this process, the fault location is specified based on the detection of the transmission completion signal and the reception completion signal.

即ち、下位パッケージ51に対してデータを再度送信した場合に(S1)、送信完了信号や受信完了信号が検出され得る(S2,S3)。
送信完了信号及び受信完了信号が検出されているときには、監視制御装置40及び下位パッケージ51が両方とも正常である。それにも拘わらず、データ送信に対して応答がなかったのは、下位パッケージ51において、例えば、データ送信に対する応答を行う前に、次に到達した送信データが前の送信データの上に上書きされてしまい、前の送信データが破棄されてしまったものと見なす(S4)。この場合には、監視制御装置40から下位パッケージ51に対して再度データ送信を行うようにする(S5)。
That is, when data is transmitted again to the lower package 51 (S1), a transmission completion signal or a reception completion signal can be detected (S2, S3).
When the transmission completion signal and the reception completion signal are detected, both the monitoring control device 40 and the lower package 51 are normal. Nevertheless, there is no response to the data transmission. For example, in the lower package 51, before the response to the data transmission is performed, the next transmitted data is overwritten on the previous transmission data. Therefore, it is considered that the previous transmission data has been discarded (S4). In this case, the monitoring control device 40 transmits data again to the lower package 51 (S5).

送信完了信号だけが検出され、受信完了信号が検出されていないときには、下位パッケージ51において故障が発生していると判定し(S6)、上位の監視制御装置に故障情報を通知する(S7)。   When only the transmission completion signal is detected and the reception completion signal is not detected, it is determined that a failure has occurred in the lower package 51 (S6), and the failure information is notified to the upper supervisory control device (S7).

送信完了信号も、受信完了信号も検出されていないときには、監視制御装置40において故障が発生していると判定し(S8)、上位の監視制御装置に故障情報を通知する(S9)。   When neither a transmission completion signal nor a reception completion signal is detected, it is determined that a failure has occurred in the monitoring control device 40 (S8), and the failure information is notified to the higher-level monitoring control device (S9).

以上のように、第2の実施の形態では、送信完了割込を必要なときのみ発生させ、これにより、正常運用中の通信制御部42bの処理負担を軽減する一方、障害時には、障害箇所の特定が可能となる。   As described above, in the second embodiment, a transmission completion interrupt is generated only when necessary, thereby reducing the processing load on the communication control unit 42b during normal operation. Identification becomes possible.

なお、以上説明した第1の実施の形態及び第2の実施の形態では、監視制御装置を備えた伝送装置を例として説明したが、特に伝送装置に限定されるものではない。即ち、監視制御装置を搭載した上位パッケージに対して、配下に監視対象の複数の下位パッケージを有し、それらの間でデータ転送が行われる装置またはシステムであるならば、適用可能である。   In the first and second embodiments described above, the transmission apparatus provided with the monitoring control apparatus has been described as an example. However, the present invention is not particularly limited to the transmission apparatus. In other words, the present invention can be applied to an upper package having a monitoring control device mounted thereon, if the device or system has a plurality of lower-order packages to be monitored and data is transferred between them.

第1の実施の形態の概要を示す図である。It is a figure which shows the outline | summary of 1st Embodiment. 第2の実施の形態の概要を示す図である。It is a figure which shows the outline | summary of 2nd Embodiment. 監視制御装置の内部構成を示すブロック図である。It is a block diagram which shows the internal structure of a monitoring control apparatus. 通信用データバッファの内部の格納領域を示す図である。It is a figure which shows the storage area inside the data buffer for communication. 監視制御装置内の通信制御部を更に詳しく示す図である。It is a figure which shows the communication control part in a monitoring control apparatus in more detail. 監視制御装置と対向パッケージとの間で伝送されるフレームの構成を示す図である。It is a figure which shows the structure of the flame | frame transmitted between a monitoring control apparatus and an opposing package. (A)は割込信号線要因割当部のうちの送信完了時に参照すべき割当部を示す図であり、(B)は割込信号線要因割当部のうちの受信完了時に参照すべき割当部を示す図であり、(C)は割込信号線要因割当部のうちの受信エラー発生時に参照すべき割当部を示す図である。(A) is a figure which shows the allocation part which should be referred when transmission is completed among the interruption signal line factor allocation parts, (B) is the allocation part which should be referred when reception is completed among interrupt signal line factor allocation parts. (C) is a diagram showing an allocation unit to be referred to when a reception error occurs in the interrupt signal line factor allocation unit. (A)はシステム初期化時に、割込信号線要因割当部のうちの送信完了時に参照すべき割当部に対して設定された割り込み指示を示す図であり、(B)はシステム初期化時に、割込信号線要因割当部のうちの受信完了時に参照すべき割当部に対して設定された割り込み指示を示す図であり、(C)はシステム初期化時に、割込信号線要因割当部のうちの受信エラー発生時に参照すべき割当部に対して設定された割り込み指示を示す図である。(A) is a figure which shows the interruption instruction | indication set with respect to the allocation part which should be referred at the time of the completion of transmission of the interruption signal line factor allocation part at the time of system initialization, (B) is a system initialization, It is a figure which shows the interruption instruction | indication set with respect to the allocation part which should be referred at the time of completion of reception among the interruption signal line factor allocation parts, (C) is among the interruption signal line factor allocation parts at the time of system initialization It is a figure which shows the interruption instruction | indication set with respect to the allocation part which should be referred when the receiving error of FIG. (A)は物理ポート(1)から応答がないときに、割込信号線要因割当部のうちの送信完了時に参照すべき割当部に対して設定された割り込み指示を示す図であり、(B)は物理ポート(1)から応答がないときに、割込信号線要因割当部のうちの受信完了時に参照すべき割当部に対して設定された割り込み指示を示す図であり、(C)は物理ポート(1)から応答がないときに、割込信号線要因割当部のうちの受信エラー発生時に参照すべき割当部に対して設定された割り込み指示を示す図である。(A) is a diagram showing an interrupt instruction set for an allocation unit to be referred to when transmission is completed among the interrupt signal line factor allocation units when there is no response from the physical port (1). ) Is a diagram showing an interrupt instruction set for an allocating unit to be referred to upon completion of reception among the interrupt signal line factor allocating units when there is no response from the physical port (1). It is a figure which shows the interruption instruction | indication set with respect to the allocation part which should be referred when a reception error generate | occur | produces among the interruption signal line factor allocation parts when there is no response from a physical port (1). 監視制御部において実行される、送信完了信号及び受信完了信号の各検出に基づく障害位置の特定処理の手順を示すフローチャートである。It is a flowchart which shows the procedure of the identification process of the fault location based on each detection of a transmission completion signal and a reception completion signal performed in a monitoring control part. 監視制御機能を有する従来の伝送装置の基本的な構成およびその伝送装置の周辺の構成を示すブロック図である。It is a block diagram which shows the basic composition of the conventional transmission apparatus which has a monitoring control function, and the structure of the periphery of the transmission apparatus.

符号の説明Explanation of symbols

10 監視制御装置
11 識別符号記載手段
12 送信手段
13 送信制御手段
14 送信フレーム
30a〜30n 監視対象パッケージ
DESCRIPTION OF SYMBOLS 10 Monitoring control apparatus 11 Identification code description means 12 Transmission means 13 Transmission control means 14 Transmission frame 30a-30n Monitoring object package

Claims (4)

監視対象パッケージとの間で通信を行い、当該監視対象パッケージの監視制御を行う監視制御装置において、
前記監視対象パッケージに対して所定信号を送信して送信完了したときに送信完了信号を発生する送信完了信号発生手段と、
前記所定信号に対する応答信号を受信して受信完了したときに受信完了信号を発生する受信完了信号発生手段と、
前記応答信号が受信されているときには前記送信完了信号を破棄し、前記応答信号が受信されないときには、前記送信完了信号を障害位置を特定する処理部へ転送する転送手段と、
前記応答信号が受信されないときに、前記所定信号を前記監視対象パッケージに再送する再送手段と、
前記再送手段による再送の後、前記受信完了信号発生手段から発生される前記受信完了信号及び前記転送手段から転送される前記送信完了信号を基に前記障害位置を特定する障害位置特定手段と、
を有することを特徴とする監視制御装置。
In the monitoring control device that performs communication with the monitoring target package and performs monitoring control of the monitoring target package,
A transmission completion signal generating means for generating a transmission completion signal when transmission is completed by transmitting a predetermined signal to the monitoring target package;
A reception completion signal generating means for generating a reception completion signal when receiving a response signal to the predetermined signal and completing reception;
A transfer unit that discards the transmission completion signal when the response signal is received, and transfers the transmission completion signal to a processing unit that identifies a fault location when the response signal is not received;
Resending means for resending the predetermined signal to the monitoring target package when the response signal is not received;
After the retransmission by the retransmission means, and the fault position specifying means for specifying the fault location based on the transmission completion signal transferred from the reception completion signal and said transfer means are generated from the received complete signal generating means,
A monitoring control apparatus comprising:
前記障害位置特定手段は、前記転送手段から送信完了信号を得られないときには、自監視制御装置側に障害が発生していると判定することを特徴とする請求項1記載の監視制御装置。   2. The monitoring control device according to claim 1, wherein the failure position specifying unit determines that a failure has occurred on the own monitoring control device side when a transmission completion signal cannot be obtained from the transfer unit. 前記障害位置特定手段は、前記転送手段から送信完了信号を得られ、前記受信完了信号発生手段から受信完了信号を得られないときは、対応の監視対象パッケージ側に障害が発生していると判定することを特徴とする請求項1記載の監視制御装置。   When the failure location specifying unit obtains a transmission completion signal from the transfer unit and cannot obtain a reception completion signal from the reception completion signal generation unit, it determines that a failure has occurred on the corresponding monitored package side. The monitoring control apparatus according to claim 1, wherein: 前記障害位置特定手段は、前記転送手段から送信完了信号を得られ、前記受信完了信号発生手段からも受信完了信号を得られたときは、対応の監視対象パッケージ側において前記所定信号が破棄されたと判定し、前記再送手段に対して前記所定信号を前記監視対象パッケージに再送するように指示することを特徴とする請求項1記載の監視制御装置。
When the failure location specifying unit obtains a transmission completion signal from the transfer unit and also obtains a reception completion signal from the reception completion signal generation unit, the predetermined signal is discarded on the corresponding monitoring target package side. The monitoring control apparatus according to claim 1, wherein the monitoring control apparatus determines and instructs the retransmission unit to retransmit the predetermined signal to the monitoring target package.
JP2004127972A 2004-04-23 2004-04-23 Supervisory control device Expired - Fee Related JP3938377B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2004127972A JP3938377B2 (en) 2004-04-23 2004-04-23 Supervisory control device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2004127972A JP3938377B2 (en) 2004-04-23 2004-04-23 Supervisory control device

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP00198398A Division JP3566057B2 (en) 1998-01-08 1998-01-08 Monitoring and control equipment

Publications (2)

Publication Number Publication Date
JP2004304820A JP2004304820A (en) 2004-10-28
JP3938377B2 true JP3938377B2 (en) 2007-06-27

Family

ID=33411222

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2004127972A Expired - Fee Related JP3938377B2 (en) 2004-04-23 2004-04-23 Supervisory control device

Country Status (1)

Country Link
JP (1) JP3938377B2 (en)

Also Published As

Publication number Publication date
JP2004304820A (en) 2004-10-28

Similar Documents

Publication Publication Date Title
US8032793B2 (en) Method of controlling information processing system, information processing system, direct memory access control device and program
JPH1049507A (en) Parallel computer
WO2006114822A1 (en) Dma controller, node, data transfer control method, and program
US11544132B2 (en) Communication apparatus, communication method, program, and communication system
CN115941102B (en) Method for synchronous communication between controllers connected with MCU and FPGA by SPI
JP5477112B2 (en) Network system testing method
JP2008022271A (en) Network apparatus
US11561922B2 (en) Communication apparatus, communication method, program, and communication system
JP2008283608A (en) Computer, program and method for switching redundant communication path
JP3938377B2 (en) Supervisory control device
JP3566057B2 (en) Monitoring and control equipment
JP5890521B2 (en) Motion controller device and communication method in the same device
JP4098910B2 (en) Packet transfer control device and packet transfer method
CN110687854B (en) PA bus controller and PA bus control system
JPH10232704A (en) Duplex programmable controller
JP3380957B2 (en) Redundant communication controller
JP3294256B2 (en) Data communication method and device
JPS63128837A (en) Line controller
JP3217086B2 (en) Message Communication Method between Standby Controller and Message Device in Redundant System
JP2000347712A (en) Programmable controller
JPH09261235A (en) Communication processor
KR100724881B1 (en) Switching system for implementing line access unit switching and control method thereof
WO2004079573A1 (en) Multi-processor system
JP2002353881A (en) Packet base station and processing method at switching to duplexing
JPS61108239A (en) Method for transferring right of communication master station

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20060919

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20061003

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20061128

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: 20070320

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20070320

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110406

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110406

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120406

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130406

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20140406

Year of fee payment: 7

LAPS Cancellation because of no payment of annual fees