JP2000250624A - Monitoring system for intra-device state - Google Patents

Monitoring system for intra-device state

Info

Publication number
JP2000250624A
JP2000250624A JP4993199A JP4993199A JP2000250624A JP 2000250624 A JP2000250624 A JP 2000250624A JP 4993199 A JP4993199 A JP 4993199A JP 4993199 A JP4993199 A JP 4993199A JP 2000250624 A JP2000250624 A JP 2000250624A
Authority
JP
Japan
Prior art keywords
state
status
signal
control
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.)
Granted
Application number
JP4993199A
Other languages
Japanese (ja)
Other versions
JP3652910B2 (en
Inventor
Atsuyuki Mori
敬幸 毛利
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.)
NEC Engineering Ltd
Original Assignee
NEC Engineering 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 NEC Engineering Ltd filed Critical NEC Engineering Ltd
Priority to JP4993199A priority Critical patent/JP3652910B2/en
Publication of JP2000250624A publication Critical patent/JP2000250624A/en
Application granted granted Critical
Publication of JP3652910B2 publication Critical patent/JP3652910B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To minimize the load that is applied on a control processor contained in a data communication controller when the control processor monitors periodically the state of every unit. SOLUTION: The state signals of the units 80-8K whose states are monitored are fetched into a control unit 5 after a control processor 6 contained in a data communication controller 170 starts a state monitoring operation. Thus, the change of the state signal of every unit is detected together with the inactive state of every unit. The change of the state signal of every unit fetched into the unit 5 is notified to the processor 6 by an interrupt. If a signal whose state change has not to be detected is included in the state signals of the units, the state change of the relevant signal is not detected and the occurrence of interrupts are evaded as much as possible when the state changes of signals are detected. Then the state monitoring operation is stopped according to the state (such as the occurrence of a fault) of the unit 5 where the processor 6 is mounted.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、制御ユニットとそ
の他複数の各ユニットで構成されるデータ通信制御装置
において、制御ユニットから各ユニット(含む制御ユニ
ット)の状態を監視する装置内状態監視方式に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an internal state monitoring system for monitoring the state of each unit (including a control unit) from a control unit in a data communication control apparatus including a control unit and a plurality of other units. .

【0002】[0002]

【従来の技術】従来のこの種の技術は、端末集中制御装
置と複数の端末装置で構成される情報処理システムにお
いて、端末集中制御装置が端末装置に対して効率的なポ
ーリングを行う。すなわち、端末装置側が必要のある時
ポーリング要求を行い、端末集中制御装置がこれに応じ
てポーリングを行うようにすることにより無効なポーリ
ングによる損失の発生を防止するものである。
2. Description of the Related Art In this kind of conventional technology, in an information processing system including a terminal central control device and a plurality of terminal devices, the terminal central control device efficiently polls the terminal devices. That is, the terminal device issues a polling request when necessary, and the terminal central control device performs polling in response to the request, thereby preventing loss due to invalid polling.

【0003】[0003]

【発明が解決しようとする課題】しかしながら、上述従
来の装置内状態監視方式は、次のような問題点を有す
る。第1の問題点は、状態監視の必要な全端末装置と同
数の同軸ケープルやポーリング要求信号検出回路が必要
となり、機構的に小型化が困難であることである。その
理由は、端末集中制御装置内のポーリング要求信号検出
回路と端末装置内のポーリング要求信号送出回路が1対
1でしか対応できないからである。
However, the above-described conventional state monitoring system in a device has the following problems. The first problem is that the same number of coaxial cables and polling request signal detection circuits as the number of terminal devices that need to be monitored are required, and it is difficult to reduce the size mechanically. The reason is that the polling request signal detection circuit in the terminal centralized control device and the polling request signal sending circuit in the terminal device can correspond only one-to-one.

【0004】第2の問題点は、端末装置内状態変化にて
ポーリング要求信号を送出する複数の端末装置が端末集
中制御装置に接続されており、そのうち何台かの端末装
置はポーリングを不要とする場合、ポーリングを不要と
する端末装置がポーリング要求信号を送出したときでも
端未集中制御装置の制御プロセッサに対する割込が発生
し、制御プロセッサは無駄な割込処理を行ってしまう。
つまり、端末集中制御装置に対して様々な構成で端末装
置が接続されるシステムにおいて任意のポーリング不要
な端末装置を設定することが出来ずシステムの流用性に
久ける。その理由は、端末集中制御装置内でポーリング
不要な端未装置からのポーリング要求信号をマスクする
ことができないからである。
[0004] A second problem is that a plurality of terminal devices that transmit a polling request signal due to a state change in the terminal device are connected to the terminal central control device, and some of the terminal devices do not need polling. In such a case, even when a terminal device that does not require polling sends out a polling request signal, an interrupt to the control processor of the non-centralized control device occurs, and the control processor performs useless interrupt processing.
That is, in a system in which terminal devices are connected to the terminal centralized control device in various configurations, it is not possible to set any terminal device that does not require polling, and the system has a long applicability. The reason is that a polling request signal from a terminal that does not need polling cannot be masked in the terminal central control device.

【0005】第3の間題点は、従来の技術において端末
集中制御装置内の制御プロセッサが起動未完了中、ある
いは端末集中制御装置が起動未完了中に端末装置からポ
ーリング要求信号が送出された場合、制御プロセッサに
対する割込が発生するため端末集中制御装置が正常に起
動しない可能性がある。その理由は、端末集中制御装置
の制御プロセッサから任意のタイミングてポーリング要
求信号の送出許可/禁止制御ができないからである。ま
た、端末起動未完了中はハードウエアにてポーリング要
求信号送出禁止状態にならないからである。
A third problem is that, in the prior art, a polling request signal is sent from a terminal device while a control processor in a terminal central control device is not yet started or a terminal central control device is not started yet. In this case, there is a possibility that the terminal centralized control device does not start normally because an interrupt to the control processor occurs. This is because the polling request signal transmission permission / prohibition control cannot be performed at an arbitrary timing from the control processor of the terminal central control device. Also, while the terminal activation is not completed, the hardware does not enter the polling request signal transmission prohibition state.

【0006】第4の問題点は、従来の技術において端末
集中制御装置自体の状態を常に認識する必要がある場
合、端末集中制御装置自体を周期的にポーリングする以
外に状態認識する手段がなく、制御プロセッサの負荷軽
減にならない。その理由は、端末集中制御装置には端末
装置のように自装置の状態変化でポーリング要求信号を
発生させる手段がないからである。
A fourth problem is that, in the prior art, when it is necessary to always recognize the state of the terminal central control unit itself, there is no means for recognizing the state other than periodically polling the terminal central control unit itself. It does not reduce the load on the control processor. The reason is that the terminal centralized control device does not have a means for generating a polling request signal in response to a change in the status of its own device unlike the terminal device.

【0007】第5の問題点は、従来の技術において端末
装置からのポーリング要求信号送出条件が端未装置の状
態変化によるため、各端末装置の状態変化が激しい場
合、端末集中制御装置の制御プロセッサに対する割込が
大量に発生してしまい、制御プロセッサがこの割込処理
以外の処理を行えなくなる可能性がある。その理由は、
端末集中制御装置の制御プロセッサが対応できる最短の
時間間隔を確保して割込を発生させないからである。
A fifth problem is that the polling request signal transmission condition from the terminal device in the prior art is based on a change in the status of the terminal device. May be generated in a large amount, and the control processor may not be able to perform processing other than the interrupt processing. The reason is,
This is because the shortest time interval that can be handled by the control processor of the terminal centralized control device is secured and no interrupt is generated.

【0008】第6の問題点は、従来の技術において端未
装置の電源がOFFになったり、ポーリング要求信号伝
達用の同軸ケープルが切断した場合の状態変化は、ポー
リング要求信号が端末集中制御装置に入力されないた
め、制御プロセッサが状態変化を認識することができな
い。その理由は、端末装置内のポーリング要求信号送出
回路のように端末装置の状態変化を検出しポーリング要
求信号を発生または非発生させる回路が端末集中制御装
置側に存在しないからである。
[0008] A sixth problem is that in the prior art, the state change when the power supply of the terminal is turned off or the coaxial cable for transmitting the polling request signal is cut off depends on whether the polling request signal is transmitted to the terminal centralized control device. , The control processor cannot recognize the state change. The reason is that there is no circuit in the terminal centralized control device that detects a change in the state of the terminal device and generates or does not generate a polling request signal, such as a polling request signal transmission circuit in the terminal device.

【0009】本発明は、上述の如き従来技術の問題点に
鑑みて、端末集中制御装置の小型化を計ることと、端末
集中制御装置内の制御プロセッサの処理能力にあった最
小限のポーリングで、より正確な各端末装置の状態監視
を可能にする状態監視方式を提供することを目的とす
る。
SUMMARY OF THE INVENTION In view of the above-mentioned problems of the prior art, the present invention reduces the size of a terminal centralized control device and minimizes polling in accordance with the processing capability of a control processor in the terminal centralized control device. It is another object of the present invention to provide a status monitoring method that enables more accurate status monitoring of each terminal device.

【0010】[0010]

【課題を解決するための手段】本発明の装置内状態監視
方式は、端末集中制御装置内の状態入力回路1つに対し
各端末装置内の状態送信回路n個を状態送信用の専用線
で接続し、各端末装置から端末集中制御装置に対して定
期的に各端末装置の状態を送信させ、端末集中制御装置
内で各端末装置の状態変化を検出し、端末集中制御装置
内で割込にて端未集中制御装置の制御プロセッサに通知
し、その割込処理で制御プロセッサに各端末装置の状態
を読み込ませる。より具体的には、各端末装置に状態を
送信させるための制御信号を端未集中制御装置から端末
装置に送信する手段と、端末集中制御装置内で各端末装
置から受信した状態を前回受信した扶態と比較し状態変
化を検出する手段と、検出した各端末装置の状態変化を
割込にて端末集中制御装置内の制御プロセッサに通知す
る手段とを有する。
According to the present invention, the state monitoring system in the apparatus comprises a state input circuit in the terminal centralized control unit, and n state transmitting circuits in each terminal apparatus are connected by a dedicated line for state transmission. Connect, make each terminal device periodically transmit the status of each terminal device to the centralized control device, detect the status change of each terminal device in the centralized control device, and interrupt in the centralized control device. And notifies the control processor of the terminal unconcentrated control device, and in the interrupt processing, causes the control processor to read the state of each terminal device. More specifically, means for transmitting a control signal for causing each terminal device to transmit a state from the terminal non-centralized control device to the terminal device, and the state received from each terminal device in the terminal centralized control device received last time It has a means for detecting a state change by comparing with the dependent state, and a means for notifying the control processor in the terminal central control apparatus of the detected state change of each terminal device by interruption.

【0011】任意のタイミングで状態送信を開始させ
る。具体的には、端末集中制御装置内の制御プロセッサ
から状態送信開始制御を行う手段を含む。
The status transmission is started at an arbitrary timing. Specifically, it includes means for performing state transmission start control from a control processor in the terminal centralized control device.

【0012】端末集中制御装置の状態により状態送信制
御信号を停止する。具体的には、端末集中制御装置の状
態が障害発生中やリセット中に状態送信制御信号を停止
し、再度端末集中制御装置内の制御プロセッサによる状
態送信開始制御が行われるまで状態送信制御信号を停止
する手段を含む。
The state transmission control signal is stopped according to the state of the terminal central control unit. Specifically, the state transmission control signal is stopped while the state of the terminal centralized control device is faulty or reset, and the state transmission control signal is transmitted again until the state transmission start control is performed by the control processor in the terminal centralized control device again. Including means for stopping.

【0013】各端末装置に任意の周期で状態送信させ
る。具体的には、端末集中制御装置内の制御プロセッサ
から状態送信用信号を出力する周期を設定する手段を含
む。
Each terminal device is caused to transmit a state at an arbitrary cycle. Specifically, it includes a unit for setting a cycle for outputting a state transmission signal from a control processor in the terminal central control device.

【0014】端未装置がリセット中や電源OFFあるい
は状態信号送信用の専用線が切断されるといった状態送
信不可能な場合にその端末装置がリセット中または電源
OFFあるいは未接続であるという状態を検出する。具
体的には、端末装置の状態信号に、端末装置が状態送信
不可能な場合はインアクティブになる信号を設け、端末
集中制御装置でその端末装置の状態を検出する手段を含
む。
When the terminal device is not reset or when the power is turned off or the dedicated line for transmitting the status signal is cut off and the status cannot be transmitted, the status that the terminal device is being reset or the power is turned off or not connected is detected. I do. Specifically, the status signal of the terminal device includes a signal that becomes inactive when the terminal device cannot transmit the status, and includes means for detecting the status of the terminal device by the terminal centralized control device.

【0015】端末集中制御装置内で各端末装置の複数の
状態のうち特定の状態を監視する必要がない場合、監視
不要な特定の状態変化による制御プロセッサに対する割
込を発生させない。具体的には、端末装置から受信した
状態のうち特定の状態を比較しないように制御プロセッ
サから設定する手段を含む。
When it is not necessary to monitor a specific state among a plurality of states of each terminal device in the terminal centralized control device, an interruption to the control processor due to a specific state change that does not need to be monitored is not generated. Specifically, it includes means for setting from the control processor so as not to compare a specific state among the states received from the terminal device.

【0016】上述のように、本発明では、端末集中制御
装置(1装置)と全端末装置(n装置)間の状態送信用
の専用線インターフェースを1対nで接続している。こ
のため、端末集中制御装置側では全端末装置(n装置)
分の状態送信専用インターフェースを必要としない。
As described above, in the present invention, a dedicated line interface for status transmission between the terminal central control device (1 device) and all terminal devices (n devices) is connected in one-to-n relation. Therefore, on the terminal central control device side, all terminal devices (n devices)
There is no need for a dedicated interface to send minute status.

【0017】端未集中制御装置に対して各端末装置から
定期的に状態を送信し、端末集中制御装置内で状態変化
を検出しているため、端末装置が状態送信を行えない状
態になったときも端末装置故障状態を検出することが出
来る。
Since the status is periodically transmitted from each terminal device to the terminal non-centralized control device and the status change is detected in the terminal centralized control device, the terminal device cannot transmit the status. At that time, the terminal device failure state can be detected.

【0018】端末集中制御装置内で端末装置の状態変化
検出時、端末集中制御装置内部で割込を発生させ端末集
中制御装置内の制御プロセッサに端末装置の状態変化を
通知し、この割込発生時のみ制御プロセッサは端末装置
の状態を読み込むため、端末集中制御装置内の制御プロ
セッサは端末装置の状態変化時のみ効率よく端末装置の
状態を読み込むことが出来る。
When the state change of the terminal device is detected in the terminal centralized control device, an interrupt is generated in the terminal centralized control device, and the control processor in the terminal centralized control device is notified of the state change of the terminal device. Only when the control processor reads the state of the terminal device, the control processor in the terminal centralized control device can efficiently read the state of the terminal device only when the state of the terminal device changes.

【0019】端末制御装置内の制御プロセッサにて端末
装置の状態送信開始制御が出来るため、制御プロセッサ
が各端末装置の状態変化検出時の割込を受け付ける準備
が出来る前に割込が発生することを防止できる。
Since the control processor in the terminal control device can control the start of status transmission of the terminal device, an interrupt occurs before the control processor is ready to accept an interrupt when a status change of each terminal device is detected. Can be prevented.

【0020】端末集中制御装置が故障または制御プロセ
ッサがリセット時、端末集中制御装置内で状態送信用信
号をマスクし、再び制御プロセッサが状態送信開始制御
を行うまで端末装置から状態送信を不可能にしているた
め、端末集中制御装置が故障からの復旧または制御プロ
セッサがリセット解除した直後の制御プロセッサの割込
受付準備完了前に割込が発生することを防止できる。
When the terminal central control unit fails or the control processor resets, the state transmission signal is masked in the terminal central control unit, and the state transmission is disabled from the terminal unit until the control processor performs the state transmission start control again. Therefore, it is possible to prevent the occurrence of an interrupt before the terminal centralized control device recovers from a failure or the control processor immediately after the reset release of the control processor and before the control processor is ready to receive an interrupt.

【0021】端末集中制御装置内の制御プロセッサにて
端末装置からの状態送信の周期を任意に設定出来るた
め、端末装置の状態変化が激しい場合でも状態変化検出
時の割込が大量に発生することがなく制御プロセッサの
処理能力を考慮したタイミングで割込を発生させること
が出来る。
Since the cycle of the status transmission from the terminal device can be arbitrarily set by the control processor in the terminal centralized control device, a large amount of interrupts are generated when the status change of the terminal device is detected even when the status change is severe. Therefore, an interrupt can be generated at a timing considering the processing capability of the control processor.

【0022】端末集中制御装置が端末装置の状態を受信
中にその端末装置がリセット中や電源OFFあるいは状
態送信用の専用線が未接続の状態になった場合に、端末
集中制御装置側でそのとき途中まで受信していた端末装
置の状態を全てインアクティブにするため、受信した端
末装置の状態が途中まで正常で途中から不正になった端
末装置の状態をそのまま制御プロセッサが読み込んでし
まうことを防止出来る。
When the terminal central control device is receiving the state of the terminal device, the terminal device is reset, the power is turned off, or the dedicated line for transmitting the status is not connected. In order to make the state of the terminal device that has been received halfway inactive, the state of the received terminal device is normal halfway and the state of the terminal device that became incorrect halfway is read by the control processor as it is. Can be prevented.

【0023】端末装置から受信した状態のうち特定の状
態を比較しないように端末集中制御装置内の制御プロセ
ッサから設定をすることが出来るため、状態監視不要な
端末装置の特定の状態変化時に割込が発生せず、制御プ
ロセッサは無効な状態の読み込みを行わなくて良くな
る。
Since it is possible to set from the control processor in the terminal centralized control device so as not to compare a specific state among the states received from the terminal device, an interrupt can be made when a specific state change of the terminal device that does not require state monitoring. Does not occur, and the control processor does not need to read the invalid state.

【0024】端末集中制御装置が現用/予備構成で2つ
存在し、運用状態の端未集中制御装置が状態監視を行う
場合、端末集中制御装置が待機状態になった瞬間にハー
ドウェア制御で状態監視を停止出来る。また、端末集中
装置が運用状態になった時ソフトウェア制御で状態監視
を開始することが出来る。従って、端末集中制御装置の
状態により状態監視起動/停止の制御が可能となり、現
用/予備構成の端末集中制御装置の運用/待機状態の切
替が容易となる。
When there are two terminal centralized control devices in the working / standby configuration and the terminal non-centralized control device monitors the state, the state is controlled by hardware control at the moment when the terminal centralized control device enters the standby state. Monitoring can be stopped. Also, when the terminal centralized device is in the operating state, the state monitoring can be started by software control. Accordingly, the state monitoring start / stop can be controlled depending on the state of the terminal centralized control device, and the operation / standby state of the active / standby configured terminal centralized control device can be easily switched.

【0025】上述説明では、端末集中制御装置と端末装
置という単語を用いて装置間の状態監視について記した
が、装置内のユニット間における状態監視に関しても同
様のことが言える。
In the above description, the status monitoring between the devices is described using the words centralized control device and terminal device, but the same can be said for the status monitoring between the units in the device.

【0026】[0026]

【発明の実施の形態】以下、本発明による装置内状態監
視方式の好適実施形態例について添付図を参照して詳細
に説明する。図1を参照すると、本発明の実施の形態
は、制御ユニット5と各ユニット80〜8kで構成され
る。
BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 is a block diagram showing a preferred embodiment of an apparatus state monitoring system according to the present invention. Referring to FIG. 1, the embodiment of the present invention includes a control unit 5 and units 80 to 8k.

【0027】制御ユニット5は、制御プロセッサ6、割
込発生回路7、状態比較部8、状態入力部11、状態出
力部60を有する。状態比較部8は、状態変化フラグレ
ジスタ9、状態比較回路10、TS0〜TSn状態比較
マスクレジスタ30〜3nで構成される。
The control unit 5 has a control processor 6, an interrupt generation circuit 7, a state comparison section 8, a state input section 11, and a state output section 60. The state comparison unit 8 includes a state change flag register 9, a state comparison circuit 10, and TS0 to TSn state comparison mask registers 30 to 3n.

【0028】状態入力部11は、状態送信周期設定レジ
スタ12、起動制御レジスタ13、状態送信制御信号生
成回路14、状態入力回路15、TS0〜TSn状態レ
ジスタ20〜2nで構成される。各ユニット80〜8k
は、それぞれ状態出力部61〜6nを有する。状態出力
部61〜6nは、それぞれ状態送信回路71〜7n、出
力TS設定部51〜5nで構成される。
The status input unit 11 includes a status transmission cycle setting register 12, a start control register 13, a status transmission control signal generation circuit 14, a status input circuit 15, and TS0 to TSn status registers 20 to 2n. Each unit 80-8k
Have state output units 61 to 6n, respectively. The status output units 61 to 6n are respectively composed of status transmission circuits 71 to 7n and output TS setting units 51 to 5n.

【0029】状態送信制御信号生成回路14は、フレー
ム信号線18及びクロック信号線16により状態入力回
路15及び状態送信回路70〜7nと接続され、状態入
力回路15は、状態信号線17で状態送信回路70〜7
nと接続され、状態送信回路70〜7nは、ぞれぞれ出
力TS設定部50〜5nと接続される。状態送信制御信
号生成回路14は、状態送信周期設定レジスタ12と接
続されるとともに、起動制御レジスタ13と接続され
る。状態入力回路15はTS0〜TSn状態レジスタ2
0〜2nと接続され、TS0〜TSn状態レジスタ20
〜2nは状態比較回路10と接続される。状態比較回路
10は、TS0〜TSn状態比較マスクレジスタ30〜
3nと接続され、また状態変化フラグレジスタ9と接続
される。状態変化フラグレジスタ9は、割込発生回路7
と接続される。割込発生回路7は制御プロセッサ6と接
続される。
The state transmission control signal generation circuit 14 is connected to the state input circuit 15 and the state transmission circuits 70 to 7n by the frame signal line 18 and the clock signal line 16, and the state input circuit 15 transmits the state by the state signal line 17. Circuit 70-7
n, and the status transmission circuits 70 to 7n are connected to the output TS setting units 50 to 5n, respectively. The state transmission control signal generation circuit 14 is connected to the state transmission cycle setting register 12 and to the activation control register 13. The status input circuit 15 is a TS0 to TSn status register 2
0-2n, and the TS0-TSn status register 20
2n are connected to the state comparison circuit 10. The state comparison circuit 10 includes TS0 to TSn state comparison mask registers 30 to
3n and to the state change flag register 9. The state change flag register 9 includes the interrupt generation circuit 7
Connected to Interrupt generation circuit 7 is connected to control processor 6.

【0030】次に、本発明による装置内状態監視方式の
実施形態の動作について、図1を参照して詳細に説明す
る。状態送信制御信号生成回路14は、フレーム信号及
びクロック信号を出力する。フレーム信号及びクロック
信号は、それぞれフレーム信号線18及びクロック信号
線16を通して、状態送信制御信号生成回路14から状
態送信回路70〜7nに入力される。フレーム信号をア
クティブにする周期は、状態送信周期設定レジスタ12
により設定される。
Next, the operation of the embodiment of the in-device state monitoring system according to the present invention will be described in detail with reference to FIG. The state transmission control signal generation circuit 14 outputs a frame signal and a clock signal. The frame signal and the clock signal are input from the state transmission control signal generation circuit 14 to the state transmission circuits 70 to 7n through the frame signal line 18 and the clock signal line 16, respectively. The cycle for activating the frame signal is determined by the state transmission cycle setting register 12.
Is set by

【0031】フレーム信号及びクロック信号の出力及び
停止の制御は、起動制御レジスタ13により行われる。
起動制御レジスタ13の初期状態は、フレーム信号及び
クロック信号停止制御に設定されている。起動制御レジ
スタ13により出力制御されてからフレーム信号及びク
ロック信号が出力されるまでの時間は常に一定とする。
起動制御レジスタ13は、フレーム信号及びグロック信
号出力制御の状態でも信号Aにより停止制御の状態に遷
移する。信号Aは、制御ユニット5の状態を表す信号
で、運用と待機の2つの状憲を示す。
The output and stop of the frame signal and the clock signal are controlled by the start control register 13.
The initial state of the activation control register 13 is set to the frame signal and clock signal stop control. The time from output control by the activation control register 13 to output of the frame signal and the clock signal is always constant.
The start control register 13 transits to the stop control state by the signal A even in the state of the frame signal and the block signal output control. The signal A is a signal indicating the state of the control unit 5 and indicates two states of operation and standby.

【0032】起動制御レジスタ13は、信号Aが待機状
態のときフレーム信号及びクロック信号停止制御の状態
となる。状態送信周期設定レジスタ12及び起動制御レ
ジスタ13は、制御プロセッサ6により設定される。状
態送信回路70〜7nは、各ユニット毎に決められたタ
イミングで自ユニットの状態信号を出力する。状態信号
は、状態信号線17を通して状態送信回路70〜7nか
ら状態入力回路15にシリアル信号で入力される。
When the signal A is in a standby state, the start control register 13 is in a state of stopping the frame signal and the clock signal. The state transmission cycle setting register 12 and the activation control register 13 are set by the control processor 6. Each of the state transmission circuits 70 to 7n outputs a state signal of its own unit at a timing determined for each unit. The status signal is input as a serial signal from the status transmission circuits 70 to 7n to the status input circuit 15 through the status signal line 17.

【0033】状態送信回路70〜7nが状態信号を送信
するタイミングは、フレーム信号とクロック信号及び出
力TS(タイムスロット)設定部50〜5nによって決
定する。状態入力回路15に入力されたシリアルの状態
信号は、各ユニット毎の状態毎にパラレルに変換され、
TS0〜TSn状態レジスタ20〜2nにセットされ
る。TS0〜TSn状態レジスタ20〜2nにセットさ
れた各ユニットの状態は、制御プロセッサ6からリード
することが出来る。状態入力回路15から周期毎に出力
されるパラレルに変換された各ユニットの状態は、状態
比較回路10に入力される。
The timing at which the state transmitting circuits 70 to 7n transmit the state signals is determined by the frame signal, the clock signal, and the output TS (time slot) setting units 50 to 5n. The serial state signal input to the state input circuit 15 is converted into parallel for each state of each unit,
It is set in the TS0-TSn status registers 20-2n. The status of each unit set in the TS0 to TSn status registers 20 to 2n can be read from the control processor 6. The state of each unit, which is output from the state input circuit 15 in each cycle and converted into parallel, is input to the state comparison circuit 10.

【0034】状態比較回路10は、入力された状態信号
を周期毎に比較し、各ユニット毎の状態変化を検出す
る。状態比較回路10で状態変化を検出した場合は、状
態変化を検出したユニットに割り当てられた状態変化フ
ラグを状態比較回路10から出力し、状態変化フラグレ
ジスタ9にセットする。状態変化フラグレジスタ9にセ
ットされた状態変化フラグは、次の周期で入力された状
態信号に変化がなければ、クリアされる。状態変化フラ
グレジスタ9にセットされた状態変化フラグは、制御プ
ロセッサ6からリードすることが出来る。
The state comparison circuit 10 compares the input state signals for each cycle and detects a state change for each unit. When a state change is detected by the state comparison circuit 10, a state change flag assigned to the unit that has detected the state change is output from the state comparison circuit 10 and set in the state change flag register 9. The state change flag set in the state change flag register 9 is cleared if there is no change in the state signal input in the next cycle. The state change flag set in the state change flag register 9 can be read from the control processor 6.

【0035】状態比較回路10より出力された状態変化
フラグは、全てのフラグのORをとって割込発生回路7
に入力される。割込発生回路7は、入力された状態変化
フラグのORをトリガに割込信号を発生し、この割込信
号は制御プロセッサ6に入力され、制御プロセッサ6は
制御ユニット5または各ユニット80〜8kのいずれか
に状態変化が発生したことを認識できる。状態比較回路
10には、各状態信号毎に状態変化を検出しない設走を
行うためのTS0〜TSn状態比較マスクレジスタ30
〜3nが接続されている。TS0〜TSn状態比較マス
クレジスタ30〜3nの設定は、制御プロセッサ6から
行うことが出来る。
The state change flag output from the state comparison circuit 10 is obtained by ORing all the flags, and
Is input to The interrupt generation circuit 7 generates an interrupt signal triggered by the OR of the input state change flag. The interrupt signal is input to the control processor 6, and the control processor 6 transmits the interrupt signal to the control unit 5 or each of the units 80 to 8k. Can be recognized as having a state change. The state comparison circuit 10 includes a TS0-TSn state comparison mask register 30 for performing a run without detecting a state change for each state signal.
To 3n are connected. The setting of the TS0 to TSn state comparison mask registers 30 to 3n can be performed from the control processor 6.

【0036】次に、前記で記載したフレーム信号、クロ
ック信号、状態信号の関係について図2(A)、図2
(B)を参照にして詳細に説明する。
Next, the relationship among the frame signal, clock signal, and state signal described above will be described with reference to FIGS.
This will be described in detail with reference to FIG.

【0037】図2(A)を参照すると、フレーム信号線
18上のフレーム信号は周期的に出力されている。この
周期は前記の状態送信周期設定レジスタ12により設定
される。フレーム信号線18上のフレーム信号及びクロ
ック信号線16上のクロック信号は、前記の信号Aが待
機状態になると停止する。
Referring to FIG. 2A, the frame signal on the frame signal line 18 is output periodically. This cycle is set by the status transmission cycle setting register 12 described above. The frame signal on the frame signal line 18 and the clock signal on the clock signal line 16 stop when the signal A enters a standby state.

【0038】図2(B)を参照すると、フレーム信号ア
クティブ時のクロック信号に同期して状態信号が状態送
信回路70〜7nより出力されている。TS0〜TSn
のいずれのタイムスロットに各状態送信回路70〜7n
から状態信号を送信するのか決定するのが前記の出力T
S設定部50〜5nである。
Referring to FIG. 2B, state signals are output from the state transmission circuits 70 to 7n in synchronization with the clock signal when the frame signal is active. TS0-TSn
State transmission circuits 70 to 7n
Determines whether to transmit a status signal from the output T.
S setting units 50 to 5n.

【0039】次に、本発明の実施例について図面を参照
して詳細に説明する。図3を参照すると、データ通信制
御装置140は、制御ユニット1〜2、ユニット3〜4
て構成される。制御ユニット1は、状態出力部40、状
態入力部90、状態比較部100、割込発生回路11
0、制御プロセッサ120、運用状態監視回路130を
有する。制御ユニット2は、状態出力部41、状態入力
部91、状態比較部101、割込発生回路111、制御
プロセッサ121、運用状態監視回路131を有する。
Next, embodiments of the present invention will be described in detail with reference to the drawings. Referring to FIG. 3, data communication control device 140 includes control units 1-2 and units 3-4
It is composed. The control unit 1 includes a state output unit 40, a state input unit 90, a state comparison unit 100, an interrupt generation circuit 11,
0, a control processor 120, and an operation state monitoring circuit 130. The control unit 2 includes a status output unit 41, a status input unit 91, a status comparison unit 101, an interrupt generation circuit 111, a control processor 121, and an operation status monitoring circuit 131.

【0040】制御ユニット1〜2は、現用/予備構成で
どちらか一方が運用状態、残りが待機状態になるものと
する。信号A1、信号A2は、それぞれ制御ユニット1
〜2の運用/待機状態を表す。信号A1、信号A2の状
態は、運用状態監視回路130、131によって常に他
系の制御ユニットの運用状態を監視しており、他系制御
ユニットが運用状態のときは自系制御ユニットは待機状
態となり、他系が待機状態のとき自系が運用状態になろ
うとする。また、信号A1、信号A2は、自系の状態が
障害発生中またはリセツト中などは運用状態になること
はできない。
It is assumed that one of the control units 1 and 2 is in the active / standby configuration, and one of them is in the operating state, and the other is in the standby state. The signal A1 and the signal A2 are respectively transmitted to the control unit 1
2 indicates the operation / standby state. The states of the signals A1 and A2 are always monitored by the operation state monitoring circuits 130 and 131, and the operation state of the other system control unit is monitored. When the other system control unit is in the operation state, the own system control unit enters the standby state. When the other system is in the standby state, the own system attempts to enter the operating state. The signal A1 and the signal A2 cannot be in the operation state when the state of the own system is in the occurrence of a fault or during reset.

【0041】状態入力部90、91は、それぞれ信号A
1、信号A2の状態が運用状態のときに状態送信制御信
号132を送信し制御ユニツト1〜2及びユニット3〜
4からの状態信号133を受信する。割込発生回路11
0は、状態信号133の状態変化検出時以外にも、信号
A1の状態変化を検出し、割込(状態信号の状態変化検
出時の割込とはベクタが異なる)を発生させ、制御プロ
セッサ120に自ユニットの運用から待機状態、または
待機から運用状態を認識させている。
The state input sections 90 and 91 respectively receive the signal A
1. When the state of the signal A2 is the operation state, the state transmission control signal 132 is transmitted, and the control units 1 and 2 and the units 3 to
4 is received. Interrupt generation circuit 11
0 detects a state change of the signal A1 other than when the state change of the state signal 133 is detected, generates an interrupt (a vector different from the interrupt when the state change of the state signal is detected), and To recognize the standby state from the operation of the own unit or the operation state from the standby.

【0042】割込発生回路111も割込発生回路110
と同様に、信号A2の状態変化を検出して割込を発生さ
せ、制御プロセッサ121に自ユニットの運用/待機の
状態変化を認識させている。ユニット3は状態出力部4
2を有する。ユニット4は状態出力部43を有する。状
態出力部40〜43の状態信号出力タイミングは、それ
ぞれ状態信号出力タイムスロットをTS0〜TS3に割
り当てられている。(TS0〜TS3の出力タイミング
は図2(B)参照)
The interrupt generation circuit 111 is also used as the interrupt generation circuit 110.
Similarly to the above, the state change of the signal A2 is detected to generate an interrupt, and the control processor 121 is made to recognize the operation / standby state change of the own unit. The unit 3 is a status output unit 4
2 The unit 4 has a status output unit 43. As for the status signal output timings of the status output units 40 to 43, status signal output time slots are assigned to TS0 to TS3, respectively. (See FIG. 2B for the output timing of TS0 to TS3.)

【0043】次に、本発明の実施例の動作について、図
3を参照して詳細に説明する。図3を参照すると、デー
タ通信制御装置140の電源をONにし制御ユニット1
が先に運用状態になるとすると、信号A1は運用状態、
信号A2は待機状態を示す。その結果、制御ユニツトl
の状態入力部90から全ユニット1〜4に状態送信制御
信号132を送信する。
Next, the operation of the embodiment of the present invention will be described in detail with reference to FIG. Referring to FIG. 3, the power supply of the data communication control device 140 is turned on and the control unit 1 is turned on.
Is the operating state first, the signal A1 is the operating state,
Signal A2 indicates a standby state. As a result, the control unit
A state transmission control signal 132 is transmitted from the state input unit 90 to all the units 1 to 4.

【0044】状態送信制御信号132を受信した各ユニ
ットl〜4の状態出力部40〜43は、図2(B)に示
すように設定されたタイムスロットTS0〜TSnに状
態信号133を送信する。各ユニットから送信された状
態信号133は、運用状態(信号A1=運用状態)の制
御ユニット1内の状態入力部90が受信する。各ユニッ
ト1〜4から送信される状態信号133は、図2(A)
に示すように状態送信周期T毎に送信される。運用状態
の制御ユニットlの状態入力部90は、状態送信周期T
毎に各ユニット1〜4の状態信号133を受信し、状態
比較部100にセットする。
The status output units 40 to 43 of the units 1 to 4 that have received the status transmission control signal 132 transmit the status signal 133 to the set time slots TS0 to TSn as shown in FIG. The state signal 133 transmitted from each unit is received by the state input unit 90 in the control unit 1 in the operation state (signal A1 = operation state). The state signal 133 transmitted from each of the units 1 to 4 is as shown in FIG.
Are transmitted every state transmission period T as shown in FIG. The state input unit 90 of the control unit 1 in the operation state has a state transmission cycle T
Each time the status signal 133 of each of the units 1 to 4 is received, the status signal 133 is set in the status comparison unit 100.

【0045】状態比較部100は、入力される各ユニッ
ト1〜4の状態信号133を状態送信周期T毎に比較し
状態変化を検出した場合は、状態変化フラグをセットす
る。状態変化フラグがセットされると、割込発生回路1
10が割込を発生させる。制御プロセッサ120は、状
態変化フラグ発生時の割込処理で各ユニットの状態を読
み込むことにより効率的に状態監視対象ユニット1〜4
の状態監視を行うことが出来る。
The state comparing section 100 compares the input state signals 133 of the units 1 to 4 for each state transmission cycle T, and sets a state change flag when a state change is detected. When the state change flag is set, the interrupt generation circuit 1
10 generates an interrupt. The control processor 120 efficiently reads the status of each unit in the interrupt processing when the status change flag is generated, thereby efficiently monitoring the status monitoring target units 1 to 4
Can be monitored.

【0046】ここで、制御ユニット1に障害が発生し、
信号A1が待機状態になったとする。信号A1が遅用状
態から待機状態に変化したため割込発生回路110は運
用/待機状態変化割込を発生させ、制御プロセッサ12
0に自ユニットが待機状態に変化したことを通知する。
制御プロセッサ120は、この運用/待機状態変化割込
処理により待機系の処理を開始する。信号A1が待機状
態になったため、状態入力部90は状態送信制御信号1
32の送信を停止する。運用状態監視回路131は、信
号A1が待機状態になったことを検出し信号A2を運用
状態に変化させる。信号A2が待機状態から運用状態に
変化したため、割込発生回路111は、運用/待機状態
変化割込を発生させ、制御プロセッサ121に自ユニッ
トが運用状態に変化したことを通知する。制御プロセッ
サ121は、この運用/待機状態変化割込の処理により
運用系の動作を開始する。
Here, if a failure occurs in the control unit 1,
It is assumed that the signal A1 enters a standby state. Since the signal A1 has changed from the delayed state to the standby state, the interrupt generation circuit 110 generates an operation / standby state change interrupt, and the control processor 12
0 is notified that the unit has changed to the standby state.
The control processor 120 starts the processing of the standby system by the operation / standby state change interrupt processing. Since the signal A1 is in the standby state, the state input unit 90 outputs the state transmission control signal 1
32 transmission is stopped. The operation state monitoring circuit 131 detects that the signal A1 has entered the standby state, and changes the signal A2 to the operation state. Since the signal A2 has changed from the standby state to the operation state, the interrupt generation circuit 111 generates an operation / standby state change interrupt, and notifies the control processor 121 that the unit has changed to the operation state. The control processor 121 starts the operation of the active system by the processing of the operation / standby state change interrupt.

【0047】信号A2が運用状態になった状態入力部9
1は、状態送信制御信号132を各ユニット1〜4に送
信する。運用状態の制御ユニット2の制御プロセッサ1
21は、制御信号A1が運用状態のときに制御プロセッ
サ120が各ユニットの状態変化を割込発生回路110
からの割込により認識したのと同様に、割込発生回路1
11からの割込によって各ユニット1〜4の状態を認識
することが出来る。
The state input unit 9 in which the signal A2 is in the operating state
1 transmits a state transmission control signal 132 to each of the units 1 to 4. The control processor 1 of the control unit 2 in the operating state
Reference numeral 21 denotes a state in which the control processor 120 detects a state change of each unit when the control signal A1 is in the operating state.
Interrupt generation circuit 1 in the same manner as
The state of each of the units 1 to 4 can be recognized by the interruption from 11.

【0048】次に、本発明による装置内状態監視方式の
第2の実施の形態について図4を参照して詳細に説明す
る。
Next, a second embodiment of the in-device state monitoring system according to the present invention will be described in detail with reference to FIG.

【0049】図4を参照すると、データ通信制御装置1
61は、制御ユニット150、ユニット151〜153
で構成される。制御ユニット150は、状態入力部15
7、状態比較回路158、割込発生回路159、制御プ
ロセッサ160、状態レジスタ162を有する。ユニッ
ト151〜153は、それぞれ状態出力部154〜15
6を有する。
Referring to FIG. 4, data communication control device 1
61 is a control unit 150, units 151 to 153
It consists of. The control unit 150 includes the state input unit 15
7, a state comparison circuit 158, an interrupt generation circuit 159, a control processor 160, and a state register 162. The units 151 to 153 include state output units 154 to 15 respectively.
6.

【0050】状態出力部154〜156は、状態信号送
信タイムスロットをそれぞれTS0〜TS2に設定され
ている。状態入力部157は、状態送信制御信号を送信
すると共に各ユニット151〜153から状態信号を受
信する。状態入力部157は、受信した状態信号を状態
送信周期毎に状態比較回路158及び状態レジスタ16
2にセットする。状態比較回部158は、セットされた
状態信号を状態送信周期毎に比較し状態変化を検出する
と、割込発生回路159に状態変化フラグをセットす
る。状態変化フラグをセットされた割込発生回路159
は、制御プロセッサ160に対して割込を発生する。割
込を受けた制御プロセッサ160は、状態変化フラグを
読み込み状態変化したユニットを確認し、状態変化した
ユニットの状態を状態レジスタ162から読み込む。
The status output units 154 to 156 have status signal transmission time slots set to TS0 to TS2, respectively. The state input unit 157 transmits a state transmission control signal and receives a state signal from each of the units 151 to 153. The state input unit 157 outputs the received state signal to the state comparison circuit 158 and the state register 16 every state transmission cycle.
Set to 2. The state comparison circuit 158 compares the set state signals for each state transmission cycle and detects a state change, and sets a state change flag in the interrupt generation circuit 159. Interrupt generation circuit 159 with state change flag set
Generates an interrupt to the control processor 160. Upon receiving the interrupt, the control processor 160 reads the status change flag, checks the unit whose status has changed, and reads the status of the unit whose status has changed from the status register 162.

【0051】制御ユニット150が状態監視するユニッ
ト151〜153は、データ通信制御装置161単体に
おいて着脱可能な構造とする。例えば、制御ユニット1
50が状態送信制御信号を送信し、ユニット152が状
態信号を送信している状態で、ユニット152と制御ユ
ニット150との接続が断になった場合、ユニット15
2の状態信号は図5(A)のTS1のように不正な状態
となる。この不正な状態変化においても状態比較部15
8は、状態変化フラグをセットする。また、このときの
状態をそのまま状態レジスタ162にセットした場合、
制御プロセッサ160は、この不正な状態を読み込むた
め、ユニット152が不正状態変化有りと認識してしま
う。そこで、各ユニット151〜153の状態信号D0
〜D7のうちシリアル伝送で最後に送信されるD7を状
態送信正常を表すデータとし、D7=0(状態信号D7
のハードウェア上の電気レベルが”0”であることを示
す)のとき、状態送信正常であるものとする。
The units 151 to 153 whose status is monitored by the control unit 150 have a detachable structure in the data communication control device 161 alone. For example, control unit 1
When the connection between the unit 152 and the control unit 150 is disconnected while the unit 50 is transmitting the state transmission control signal and the unit 152 is transmitting the state signal, the unit 15
The status signal No. 2 is in an incorrect state like TS1 in FIG. Even in the case of this illegal state change, the state comparison unit 15
8 sets a state change flag. When the state at this time is set in the state register 162 as it is,
Since the control processor 160 reads the invalid state, the unit 152 recognizes that the invalid state has changed. Therefore, the state signal D0 of each of the units 151 to 153 is
D7 transmitted last in the serial transmission among D7 to D7 is data indicating normal state transmission, and D7 = 0 (the state signal D7
When the electrical level on the hardware is “0”, the status transmission is assumed to be normal.

【0052】以上の方法で、図5(A)のユニット15
2のように状態信号送信がD7まで送信完了しない内に
状態送信停止した場合D7=1(状態信号D7のハード
ウェア上の電気レペルが”1”であることを示す)とな
り、ユニット152が状態送信不可に状態変化したこと
を検出することが出来る。更に、D7=1の場合は、D
0〜D6の状態は不正なデータとなるため、状態入力部
157が状態レジスタ162にD0〜D7=ffh(全
データがインアクティブ状態)をセットすることによ
り、制御プロセッサ160が不正な状態を取得すること
を防止することを特徴とする。
By the above method, the unit 15 shown in FIG.
When the status signal transmission is stopped before the transmission of the status signal is completed until D7 as shown in 2, D7 = 1 (indicating that the electrical signal on the hardware of the status signal D7 is "1"), and the unit 152 is in the status. It is possible to detect that the status has been changed to transmission disabled. Further, when D7 = 1, D
Since the statuses 0 to D6 are invalid data, the status input unit 157 sets D0 to D7 = ffh (all data is inactive) in the status register 162, and the control processor 160 acquires the invalid status. It is characterized in that it is prevented from doing so.

【0053】各ユニット151〜153の状態出力部1
54〜156は、制御ユニット150の状態入力部15
7から出力される状態送信制御信号によって状態信号を
送信する。状態送信制御信号は、フレーム信号とクロッ
ク信号からなる。各状態出力部154〜156は、フレ
ーム信号がアサートしてからクロック信号の立ち上がり
をカウントして設定されたタイムスロットに状態信号を
出力する。ただし、フレーム信号アクティブ中にデータ
通信制御装置161に接続された場合、接続された瞬間
からクロック信号をカウントして不正なタイミシグで状
態信号を出力してしまう(図5(B)参照)。
State output unit 1 of each of units 151 to 153
54 to 156 are the state input units 15 of the control unit 150;
The status signal is transmitted by the status transmission control signal output from the control signal 7. The state transmission control signal includes a frame signal and a clock signal. Each of the state output units 154 to 156 counts the rise of the clock signal after the frame signal is asserted, and outputs the state signal to a set time slot. However, if the connection is made to the data communication control device 161 while the frame signal is active, the clock signal is counted from the moment of connection and a status signal is output with an incorrect timing (see FIG. 5B).

【0054】そこで図5(B)に示すような不正タイミ
ングで状態信号を送信しないように、各ユニット151
〜153がデータ通信制御装置161に接続されてから
第1回目のフレーム信号アクティブ状態を無視する手段
を含む(図5(C)参照)。
In order to prevent the transmission of the status signal at an improper timing as shown in FIG.
153 includes means for ignoring the first frame signal active state after connection to the data communication control device 161 (see FIG. 5C).

【0055】以上、本発明による装置内状態監視方式の
好適実施形態例の構成及び動作を詳述した。しかし、本
発明は斯る実施形態例のみに限定されるべきではなく、
特定用途に応じて種々の変形変更が可能であること、当
業者は容易に理解できよう。
The configuration and operation of the preferred embodiment of the in-device state monitoring system according to the present invention have been described in detail. However, the invention should not be limited to only such example embodiments,
Those skilled in the art can easily understand that various modifications can be made according to the specific application.

【0056】[0056]

【発明の効果】上述した本発明の装置内状態監視方式に
よれば、次のような顕著な効果が得られる。
According to the in-device state monitoring system of the present invention described above, the following remarkable effects can be obtained.

【0057】本発明の第1の効果は、図1に示すように
状態監視する制御ユニット5と状態監視されるユニット
80〜8kを1対nで接続出来るため、データ通信制御
装置の小型化が容易であるということである。(ただ
し、n=k+1とする)。この理由は、状態監視される
ユニット80〜8kが状態信号線17(シリアルバス)
の決められたタイムスロットに各ユニットの状態信号を
出力するため、その状態信号を受信する状態入力回路1
5は状態監視する制御ユニット5に1回路存在すれば良
いからである。
The first effect of the present invention is that, as shown in FIG. 1, the control unit 5 for monitoring the status and the units 80 to 8k for monitoring the status can be connected in one-to-n relation, so that the size of the data communication control device can be reduced. It is easy. (However, n = k + 1). The reason is that the units 80 to 8k whose status is to be monitored are connected to the status signal line 17 (serial bus).
The state input circuit 1 receives the state signal in order to output the state signal of each unit in the determined time slot.
This is because there is only one circuit 5 in the control unit 5 for monitoring the state.

【0058】本発明の第2の効果は、任意の状態信号の
状態変化を検出しないように出来るため装置構成の変更
に対応しやすいということである。その理由は、図1に
示すように状態監視を行う制御ユニット5内の制御プロ
セッサ6から状態比較マスクレジスタ30〜3nによっ
て状態変化非検出の設定が可能であるからである。
A second effect of the present invention is that it is possible to prevent a state change of an arbitrary state signal from being detected, and it is easy to cope with a change in the device configuration. The reason is that the state change non-detection can be set by the state comparison mask registers 30 to 3n from the control processor 6 in the control unit 5 that performs state monitoring as shown in FIG.

【0059】本発明の第3の効果は、図3に示す様な状
態監視を行うことが可能な制御ユニットが現用/予備構
成で2つ存在し、運用状態の制御ユニットのみが状態監
視を行う場合、制御ユニットの状態(信号Aの状態)に
より状態監視を行う制御ユニットを容易に切り替えるこ
とが出来るということである。その理由は、図lに示す
ように状態監視を行う制御ユニット5に、状態監視の起
動制御レジスタ13を設け、信号Aが運用状態の時のみ
制御プロセッサからの起動制御を可能にしたためであ
る。また、起動制御レジスタ13の状態は信号Aが待機
状態の時にハードウェア制御で停止するための手段が含
まれているからである。
The third effect of the present invention is that there are two control units capable of performing state monitoring as shown in FIG. 3 in the working / standby configuration, and only the control unit in the operating state monitors the state. In this case, the control unit for monitoring the state can be easily switched according to the state of the control unit (state of the signal A). The reason is that, as shown in FIG. 1, the control unit 5 for monitoring the state is provided with the start control register 13 for monitoring the state, and the start control from the control processor is enabled only when the signal A is in the operating state. This is also because the state of the activation control register 13 includes means for stopping by hardware control when the signal A is in the standby state.

【0060】本発明の第4の効果は、図1に示すように
状態監視されるユニット80〜8kがデータ通信制御装
置170において未接続やリセット中の状態変化を検出
することが可能であるということである。その理由は、
図1に示すように状態監視を行う制御ユニット5が被状
態監視ユニット80〜8kの被状態変化を比較してお
り、被状態監視ユニットの未接続及びリセットの状態変
化を状態比較部8が検出し制御プロセッサ6に割込で通
知することが出来るからである。
A fourth effect of the present invention is that, as shown in FIG. 1, the units 80 to 8k whose status is monitored can detect a disconnection or a status change during reset in the data communication control device 170. That is. The reason is,
As shown in FIG. 1, the control unit 5 that performs state monitoring compares the state changes of the state monitored units 80 to 8k, and the state comparison unit 8 detects the disconnection and reset state changes of the state monitored units 80 to 8k. This is because the control processor 6 can be notified by interruption.

【0061】本発明の第5の効果は、図1に示すように
状態監視を行う制御プロセッサ6の性能にあわせて状態
監視の周期を設定することが出来るということである。
その理由は、図1に示すように制御プロセッサ6から状
態送信周期設定レジスタ12に対し状態送f措周期設定
が可能なためである。
The fifth effect of the present invention is that the period of the state monitoring can be set in accordance with the performance of the control processor 6 for performing the state monitoring as shown in FIG.
The reason is that, as shown in FIG. 1, the status transmission cycle can be set from the control processor 6 to the status transmission cycle setting register 12.

【図面の簡単な説明】[Brief description of the drawings]

【図1】本発明による装置内状態監視方式の実施の形態
を示すブロック図である。
FIG. 1 is a block diagram showing an embodiment of an in-device state monitoring method according to the present invention.

【図2】状態送信制御信号が状態監視するユニットの状
態により停止することを示すタイミング図及び状態送信
制御信号と状態信号の閲係を示すタイミング図である。
FIG. 2 is a timing chart showing that the status transmission control signal stops due to the status of the unit for monitoring the status, and a timing diagram showing the relation between the status transmission control signal and the status signal.

【図3】本発明による装置内状態監視方式の実施例の形
態を示すブロック図である。
FIG. 3 is a block diagram showing an embodiment of an in-device state monitoring method according to the present invention.

【図4】本発明による装置内状態監視方式の第2の実施
例の形態を示すブロック図である。
FIG. 4 is a block diagram showing a second embodiment of the in-device state monitoring method according to the present invention.

【図5】本発明による装置内状態監視方式の動作を説明
するためのタイミング図で、不正な状態信号が発生する
例を示すタイミング図、不正なタイミングで状態信号が
出力される例を示すタイミング図及び不正なタイミング
で状態信号を出力することを防ぐためのタイミング図で
ある。
FIG. 5 is a timing chart for explaining the operation of the in-device state monitoring method according to the present invention, showing a timing chart showing an example in which an incorrect status signal is generated, and a timing chart showing an example in which a status signal is output at an incorrect timing; FIG. 3 is a diagram and a timing chart for preventing output of a status signal at an incorrect timing.

【符号の説明】[Explanation of symbols]

l、2、5、150 制御ユニット 3、4、80〜8k、151〜153 ユニッ
ト 6、120、160 制御プロセッサ 7、110、159 割込発生回路 8、100、158 状態比較部 9 状態変化フラグ
レジスタ 10 状態比較回路 11、90、91、157 状態入力部 12 状態送信周期設
定レジスタ 13 起動制御レジス
タ 14 状態送信制御信
号生成回路 15 状態入力回路 16 クロック信号線 17 状態信号線 18 フレーム信号線 20〜2n TS0〜TSn
状態レジスタ 30〜3n TS0〜TSn
状態比較マスクレジスタ 40〜43、60〜6n、154〜156 状態出力部 50〜5n 出力TS設定部 70〜7n 状態送信回路 133 状態信号 132 状態送信制御信
号 130、131 運用状態監視回
路 140、161、170 データ通信制御
装置 162 状態レジスタ
1, 2, 5, 150 Control unit 3, 4, 80 to 8k, 151 to 153 Unit 6, 120, 160 Control processor 7, 110, 159 Interrupt generation circuit 8, 100, 158 State comparison unit 9 State change flag register DESCRIPTION OF SYMBOLS 10 State comparison circuit 11, 90, 91, 157 State input part 12 State transmission cycle setting register 13 Start control register 14 State transmission control signal generation circuit 15 State input circuit 16 Clock signal line 17 State signal line 18 Frame signal line 20-2n TS0-TSn
Status register 30-3n TS0-TSn
Status comparison mask registers 40 to 43, 60 to 6n, 154 to 156 status output unit 50 to 5n output TS setting unit 70 to 7n status transmission circuit 133 status signal 132 status transmission control signal 130, 131 operation status monitoring circuit 140, 161 170 data communication controller 162 status register

Claims (14)

【特許請求の範囲】[Claims] 【請求項1】制御ユニットと制御ユニットとは異なる他
の複数のユニットから構成されるデータ通信制御装置で
ある装置において前記制御ユニットから各ユニット(前
記制御ユニットを含む)の状態を監視する装置内状態監
視方式であって、前記制御ユニットから各ユニットに対
して状態送信制御信号を送出/停止する送出/停止手段
と、前記状態送信制御信号を受信した各ユニットから制
御ユニットに対して自ユニットの状態信号をシリアル通
信で送信するシリアル通信送信手段と、受信した各ユニ
ツトの状態信号を制御ユニット内に取り込む取込手段
と、前記制御ユニット内で各状態変化を検出する検出手
段と、前記制御ユニット内で状態変化を検出した時に内
部の制御プロセッサに対して割込処理を実行させる割込
手段と、前記割込処理で各ユニツトの状態を読み込む読
込手段と、を備えて成ることを特徴とする装置内状態監
視方式。
In a device which is a data communication control device comprising a control unit and a plurality of other units different from the control unit, the control unit monitors the status of each unit (including the control unit). A status monitoring system, wherein a transmission / stop means for transmitting / stopping a status transmission control signal from the control unit to each unit; and Serial communication transmitting means for transmitting a status signal by serial communication, capturing means for taking the received status signal of each unit into the control unit, detecting means for detecting each status change in the control unit, and the control unit Interrupt means for causing an internal control processor to execute an interrupt process when a state change is detected within the interrupt process; In device status monitoring method which is characterized in that it comprises an, a reading means for reading the state of each Yunitsuto.
【請求項2】前記送出/停止手段は、前記制御ユニット
内の制御プロセッサから送出開始制御する手段を含むこ
とを特徴とする請求項lに記載の装置内状態監視方式。
2. An apparatus state monitoring system according to claim 1, wherein said transmission / stop means includes means for controlling transmission start from a control processor in said control unit.
【請求項3】前記送出/停止手段は、前記制御ユニット
にて発生した故障またはリセットをトリガにして前記状
態送信制御信号を停止し、前記送出関始制御する手段に
て送信開始するまで送信停止させるための送信停止制御
する手段を含むことを特徴とする請求項2に記載の装置
内状態監視方式。
3. The transmission / stop unit stops the state transmission control signal triggered by a failure or reset occurring in the control unit, and stops transmission until the transmission start control unit starts transmission. 3. The apparatus state monitoring method according to claim 2, further comprising a transmission stop control unit for causing the transmission to stop.
【請求項4】前記送出/停止手段は、前記制御ユニット
内の制御プロセッサから状態送信制御信号を送出する周
期を任意に設定する手段を含むことを特徴とする請求項
1に記載の装置内状態監視方式。
4. The internal state according to claim 1, wherein said transmitting / stopping means includes means for arbitrarily setting a period for transmitting a state transmission control signal from a control processor in said control unit. Monitoring method.
【請求項5】前記シリアル通信送信手段は、各ユニット
に設けられた出力タイムスロット設定回路によって指定
されたタイムスロットに出力する手段を含むことを特徴
とする請求項1に記載の装置内状態監視方式。
5. The apparatus according to claim 1, wherein said serial communication transmitting means includes means for outputting to a time slot designated by an output time slot setting circuit provided in each unit. method.
【請求項6】前記検出手段は、検出不要な状態変化を制
御ユニット内の制御プロセッサにて設定する手段を含む
ことを特徴とする請求項lに記載の装置内状態監視方
式。
6. An apparatus state monitoring system according to claim 1, wherein said detection means includes means for setting a state change that does not need to be detected by a control processor in a control unit.
【請求項7】前記検出手段は、前記タイムスロツトのう
ち状態変化を検出したタイムスロットに該当する状態変
化フラグを制御ユニット内の状態変化フラグレジスタに
セットする手段を含むことを特徴とする請求項5に記載
の装置内状態監視方式。
7. The apparatus according to claim 1, wherein said detecting means includes means for setting a state change flag corresponding to a time slot in which a state change is detected among said time slots in a state change flag register in a control unit. 6. The in-device state monitoring method according to 5.
【請求項8】前記状態変化フラグレジスタは、制御ユニ
ット内の制御プロセッサから状態変化フラグレジスタを
リードされることにより状態変化フラグをクリアする手
段を含むことを特徴とする請求項1に記載の装置内状態
監視方式。
8. The apparatus according to claim 1, wherein said state change flag register includes means for clearing a state change flag by reading the state change flag register from a control processor in a control unit. Internal status monitoring method.
【請求項9】前記状態変化検出時発生させる割込処理
は、前記状態変化フラグがセットされることにより発生
し、状憲変化フラグがクリアされることにより停止する
手段を含むことを特徴とする請求項8に記載の装置内状
態監視方式。
9. An interrupt process which is generated when the state change is detected includes means for generating when the state change flag is set and stopping when the state change flag is cleared. An apparatus status monitoring method according to claim 8.
【請求項10】前記取込手段は、受信したあるタイムス
ロットの状態信号が、D7=1(状態受信中にユニット
が装置から切断された場合等)の時、そのタイムスロッ
トの状態をD0〜D7=FFhとして取り込む手段を含
むことを特徴とする請求項1に記載の装置内状態監視方
式。
10. When the status signal of a given time slot received is D7 = 1 (for example, when a unit is disconnected from the apparatus during status reception), the capturing means changes the status of the time slot to D0. 2. An apparatus state monitoring system according to claim 1, further comprising means for taking in as D7 = FFh.
【請求項11】前記シリアル通信送信手段は、フレーム
信号がアクティブ中に装置にユニットが接続された場合
に状態信号送信タイミング不正となるのを防ぐためにユ
ニットが装置に接続されてから第1番目のフレーム信号
アクティブ状態を無視する手段を含むことを特徴とする
請求項1の装置内状態監視方式。
11. The serial communication transmitting means, when a unit is connected to the device while the frame signal is active, prevents the status signal transmission timing from becoming incorrect when the unit is connected to the device. 2. The method according to claim 1, further comprising means for ignoring the frame signal active state.
【請求項12】前記割込手段は、状態送信制御信号を送
出してから1回目の状態信号取り込み完了時に初期状態
取得タイミングを割込にて制御プロセッサに知らせる手
段を含むことを特徴とする請求項lの装置内状態監視方
式。
12. The apparatus according to claim 11, wherein said interrupt means includes means for notifying the control processor of the initial state acquisition timing by interrupting the first state signal acquisition after transmitting the state transmission control signal. Item 1 in-device state monitoring method.
【請求項13】状態監視を行うことが可能な制御ユニッ
トが現用/予備の構成で2つ設けられ、運用系のみ装置
内状態監視を行う場合、制御ユニットの状態が互いに運
用状態←→待機状態に切り替わった時、待機状態に変化
した制御ユニットから送信される状態送信制御信号を停
止する手段と、運用状態に変化した制御プロセッサから
の制御により状態送信制御信号を出力する手段により円
滑に制御ユニットの運用/待機状態の切替を行った時の
状態監視起動/停止の切替を行うことを特徴とする請求
項1の装置内状態監視方式。
13. When two control units capable of monitoring the status are provided in a working / standby configuration and only the active system monitors the status in the device, the statuses of the control units are mutually changed from the operating status to the standby status. The control unit is smoothly controlled by means for stopping the state transmission control signal transmitted from the control unit which has changed to the standby state when switching to the standby state, and means for outputting the state transmission control signal under the control of the control processor which has changed to the operation state. 2. An apparatus state monitoring method according to claim 1, wherein the state monitoring is started / stopped when the operation / standby state is switched.
【請求項14】前記ユニット間の装置内状態監視方式
は、装置間の状態監視に適用されることを特徴とする請
求項1に記載の装置内状態監視方式。
14. An apparatus status monitoring method according to claim 1, wherein said apparatus status monitoring method between units is applied to status monitoring between devices.
JP4993199A 1999-02-26 1999-02-26 Device status monitoring method Expired - Fee Related JP3652910B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4993199A JP3652910B2 (en) 1999-02-26 1999-02-26 Device status monitoring method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4993199A JP3652910B2 (en) 1999-02-26 1999-02-26 Device status monitoring method

Publications (2)

Publication Number Publication Date
JP2000250624A true JP2000250624A (en) 2000-09-14
JP3652910B2 JP3652910B2 (en) 2005-05-25

Family

ID=12844773

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4993199A Expired - Fee Related JP3652910B2 (en) 1999-02-26 1999-02-26 Device status monitoring method

Country Status (1)

Country Link
JP (1) JP3652910B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9927790B2 (en) 2013-11-29 2018-03-27 Fujitsu Limited Transmission device, transmission system, and monitoring control method
CN108351639A (en) * 2015-11-19 2018-07-31 开利公司 The method of diagnostic system and assessment cooler performance for cooler

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH03135604A (en) * 1989-10-20 1991-06-10 Kao Corp Annunciator for state change of control signal and controller with the annunciator
JPH0764472A (en) * 1993-08-23 1995-03-10 Omron Corp Remote i/o system of programmable controller
JPH07282090A (en) * 1994-04-14 1995-10-27 Toshiba Corp Data collecting system
JPH09238153A (en) * 1996-02-28 1997-09-09 Nec Corp Poling control system
JP2845049B2 (en) * 1992-09-16 1999-01-13 富士通株式会社 Status change monitoring method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH03135604A (en) * 1989-10-20 1991-06-10 Kao Corp Annunciator for state change of control signal and controller with the annunciator
JP2845049B2 (en) * 1992-09-16 1999-01-13 富士通株式会社 Status change monitoring method
JPH0764472A (en) * 1993-08-23 1995-03-10 Omron Corp Remote i/o system of programmable controller
JPH07282090A (en) * 1994-04-14 1995-10-27 Toshiba Corp Data collecting system
JPH09238153A (en) * 1996-02-28 1997-09-09 Nec Corp Poling control system

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9927790B2 (en) 2013-11-29 2018-03-27 Fujitsu Limited Transmission device, transmission system, and monitoring control method
CN108351639A (en) * 2015-11-19 2018-07-31 开利公司 The method of diagnostic system and assessment cooler performance for cooler
US11062062B2 (en) 2015-11-19 2021-07-13 Carrier Corporation Diagnostics system for a chiller and method of evaluating performance of a chiller
CN108351639B (en) * 2015-11-19 2021-08-31 开利公司 Diagnostic system for a chiller and method of evaluating chiller performance

Also Published As

Publication number Publication date
JP3652910B2 (en) 2005-05-25

Similar Documents

Publication Publication Date Title
EP0254472A2 (en) Data flow control arrangement for local area network
JP2007067586A (en) Band control method and transmission apparatus
US8018867B2 (en) Network system for monitoring operation of monitored node
US5086384A (en) Master-slave-type control system with stand-by suspending control station
JP2000250624A (en) Monitoring system for intra-device state
US10891242B2 (en) Embedded USB2 (eUSB2) repeater operation
JP3266841B2 (en) Communication control device
JP2000049841A (en) Communication system
JPH1051515A (en) Communication abnormality detector
JPH1174948A (en) Communication equipment
JP2834062B2 (en) Information processing system
JP2800767B2 (en) Interrupt control method
JPS62171349A (en) Communication control equipment
JP2002026951A (en) Optical network system
JP2004134969A (en) Method and apparatus for receiving control packet
JPH10207745A (en) Method for confirming inter-processor existence
JPH02181547A (en) Loop-like transmission line control device
JP2000183927A (en) Bus switching device and its method
JPH05204785A (en) System, method, and device for protecting monitor bus
JPH04133539A (en) Token reception controlling system
JPH10322461A (en) Communication equipment and its control method
JPH0522375A (en) Communication controller
JPH10327151A (en) Information processing equipment, network system and network error processing method therefor
JPH03250938A (en) Polling control system
JP2002314625A (en) Hdlc communication controller

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20040908

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20041029

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20041227

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20050224

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

S533 Written request for registration of change of name

Free format text: JAPANESE INTERMEDIATE CODE: R313533

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

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

Free format text: PAYMENT UNTIL: 20080304

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20090304

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20090304

Year of fee payment: 4

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

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

Free format text: PAYMENT UNTIL: 20090304

Year of fee payment: 4

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

LAPS Cancellation because of no payment of annual fees