JPH04245309A - Digital controller for control - Google Patents

Digital controller for control

Info

Publication number
JPH04245309A
JPH04245309A JP3078666A JP7866691A JPH04245309A JP H04245309 A JPH04245309 A JP H04245309A JP 3078666 A JP3078666 A JP 3078666A JP 7866691 A JP7866691 A JP 7866691A JP H04245309 A JPH04245309 A JP H04245309A
Authority
JP
Japan
Prior art keywords
error
controller
detected
retries
diagnosis
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
JP3078666A
Other languages
Japanese (ja)
Other versions
JP3040186B2 (en
Inventor
Tadasaki Komiyama
小宮山 正前
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.)
Toshiba Corp
Original Assignee
Toshiba Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Toshiba Corp filed Critical Toshiba Corp
Priority to JP3078666A priority Critical patent/JP3040186B2/en
Publication of JPH04245309A publication Critical patent/JPH04245309A/en
Application granted granted Critical
Publication of JP3040186B2 publication Critical patent/JP3040186B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Testing And Monitoring For Control Systems (AREA)

Abstract

PURPOSE:To decide the seriousness of an error from the frequency of retrial and to improve the maintainability by detecting errors by self-diagnosis, and a serious error and retrying the process as to an unserious error. CONSTITUTION:A controller 1 takes diagnoses such as an initialization check at the time of power-on operation, and a response check, a communication check, etc., on a CPU unit 2, a PIO unit 3, etc., at specific timing. If a serious error is detected as a result of the diagnoses, a processing for stopping the controller 1 is performed and the error is stored. For the error which is decided as an unserious error, the processing is retried plural times and even if the error still occurs, the error is stored as a serious error and a countermeasure is taken.

Description

【発明の詳細な説明】[Detailed description of the invention]

【0001】[発明の目的][Object of the invention]

【産業上の利用分野】本発明は、RAS(Reliab
ility  Availability  Serv
iceability)機能を有する制御用ディジタル
コントローラに関する。
[Industrial Application Field] The present invention relates to RAS (Reliab
Availability Serv
The present invention relates to a digital controller for control having an iceability function.

【0002】0002

【従来の技術】一般にマイクロプロセッサを用いて各種
プラントの制御を行う制御用ディジタルコントローラ(
以下省略してコントローラという)において、RAS機
能は重大な機能の一つである。コントローラはこのRA
S機能のうち、Reliability(信頼性)を確
保するためにコントローラ自身が自己診断を行い、コン
トローラ自身の異常を検出している。これにより、プラ
ントに対し間違った制御指令を発することを防ぎ、重大
なエラーの発生を知ったならば、プラントの運転状態を
安全側への遷移させるようしている。また、Avail
ability(使用可能性)を確保するために、検出
したエラーの重大性を判定し、軽微なエラーでは作動は
停止しないという耐故障性の向上を図っている。さらに
、Ser−viceability(保守可能性)を確
保するためには、コントローラ内のメモリに自己診断に
より検出したエラーのうちコントローラの動作に重大な
影響を与えるものをメモリに記憶するという方法をとっ
ている。
[Prior Art] Control digital controllers (generally used to control various plants using microprocessors)
(hereinafter abbreviated as controller), the RAS function is one of the important functions. The controller is this RA
Among the S functions, in order to ensure reliability, the controller itself performs self-diagnosis and detects abnormalities in the controller itself. This prevents issuing incorrect control commands to the plant, and if the occurrence of a serious error is known, the operating state of the plant is shifted to a safe side. Also, Avail
In order to ensure availability, the severity of detected errors is determined, and fault tolerance is improved so that even minor errors will not cause operation to stop. Furthermore, in order to ensure serviceability, we have adopted a method in which errors detected through self-diagnosis that have a significant impact on the operation of the controller are stored in the memory within the controller. There is.

【0003】この方法によれば、オペレータ、保守員は
警報又はコントローラの停止等によりコントローラに異
常が発生したことを知ったならば、このメモリ内に記憶
されたエラーデータ(以下ロギングデータという)を見
ることにより、故障内容、故障発生箇所等を知ることが
できる。そして、このロギングデータに基づき、部品の
交換等必要な処置を速やかに行うことにより、保守性の
向上を図っている。なお、このような重大なエラーが検
出されるとコントローラは上記のようにメモリに記憶す
ると共に、警報ランプの点灯及びモニタ装置への通知を
行いオペレータ、操作員に対し異常の発生を通知する。 また、コントローラ外部の同じ制御系の他の機器や上位
のシステムに対しても異常の発生を通知する。さらに、
このエラーがプラント運転上支障のあるエラーであると
判断した場合は、コントローラ自身の動作停止等により
システム制御動作を安全方向に移行する。
[0003] According to this method, when an operator or maintenance staff learns that an abnormality has occurred in the controller due to an alarm or controller stoppage, etc., the operator or maintenance staff can retrieve the error data (hereinafter referred to as logging data) stored in this memory. By looking at it, you can know the details of the failure, the location of the failure, etc. Based on this logging data, necessary measures such as replacing parts are promptly taken to improve maintainability. Note that when such a serious error is detected, the controller stores it in the memory as described above, lights up a warning lamp, and notifies the monitor device to notify the operator of the occurrence of an abnormality. It also notifies other devices in the same control system and higher-level systems outside the controller of the occurrence of an abnormality. moreover,
If this error is determined to be an error that poses a problem to plant operation, the system control operation is shifted to a safe direction by, for example, stopping the operation of the controller itself.

【0004】一方、上記の自己診断において、短絡、落
雷等のノイズのコントローラ内への侵入や電源の瞬時的
な変動等による一過性のエラーを検出し、このエラーを
重大なエラーと判断する場合がある。この場合、この一
過性のエラーにも直ちに反応しコントローラを停止した
り、オペレータやコントローラ外部の機器等へ異常の発
生を通知したりすると、プラントにいたずらな外乱を起
こしたり、オペレータに不安を与えることがある。その
ため、まずエラーを検出した後に、直ちに反応するので
はなく耐故障性を向上するため、再度、要すれば複数回
自己診断を行い、この検出したエラーが実際のエラーな
のか、再試行(リトライ)により正常に戻りうる一過性
のエラーなのかを判断する。そして、再試行の結果実際
に重大なエラーが発生していると判断した場合に警報を
発する等の処理をすると共に、メモリに記憶するという
方法が用いられている。
On the other hand, in the above-mentioned self-diagnosis, temporary errors caused by short circuits, noises such as lightning strikes entering the controller, instantaneous fluctuations in power supply, etc. are detected, and these errors are determined to be serious errors. There are cases. In this case, if you immediately react to this temporary error and stop the controller or notify the operator or equipment external to the controller of the occurrence of an abnormality, it may cause unnecessary disturbance to the plant or cause anxiety to the operator. I have something to give. Therefore, after first detecting an error, in order to improve fault tolerance, rather than reacting immediately, self-diagnosis is performed again and multiple times if necessary, and retry is performed to check whether the detected error is an actual error. Determine whether it is a temporary error that can be returned to normal. Then, if it is determined that a serious error has actually occurred as a result of retrying, a method is used in which a warning is issued and the error is stored in memory.

【0005】[0005]

【発明が解決しようとする課題】しかし、上記の方法の
ように自己診断の再試行を行うことにより耐故障性を向
上を図ろうとすると、逆に自己診断により本当に設計上
の不具合や部品の異常を検出しても再試行で正常と判断
される場合がある。例えば、回路を構成するICの一つ
が完全に壊れてしまい何も出力がされないという状態で
はなく、正常ではないが何らかの出力はしているという
所謂半壊れの状態では、一回目の自己診断においてこの
ICの異常を検出しても、再試行すると、この時のIC
の出力の状態によっては異常を検出できないことがある
。このため、新製品開発時の検証や製造過程での初期不
良品の検出を逆に困難とする場合がある。
[Problem to be Solved by the Invention] However, when trying to improve fault tolerance by retrying self-diagnosis as in the above method, on the other hand, self-diagnosis actually detects design defects or component abnormalities. Even if it is detected, it may be determined to be normal after retrying. For example, if one of the ICs that makes up the circuit is completely broken and no output is produced, but if it is in a so-called semi-broken state where it is not normal but is producing some output, this is the case during the first self-diagnosis. Even if an abnormality is detected in the IC, if you try again, the current IC
Depending on the state of the output, it may not be possible to detect an abnormality. This may actually make it difficult to verify during the development of new products or to detect initial defective products during the manufacturing process.

【0006】本発明はこのような不具合を解決し、保守
可能性を向上させると共に、使用可能性を向上させるこ
とができる制御用ディジタルコントローラを提供するこ
とを目的とする。
SUMMARY OF THE INVENTION An object of the present invention is to provide a digital controller that can solve these problems and improve maintainability and usability.

【0007】[発明の構成][Configuration of the invention]

【課題を解決するための手段】本発明は、マイクロプロ
セッサを用いて制御処理を行う制御用ディジタルコント
ローラにおいて、自己診断を行う手段と、この自己診断
により検出された重大なエラーをエラーログファイルに
記憶する手段と、検出された軽微なエラーに対して再試
行を行う手段と、この再試行回数をリトライカウンタ・
ログファイルに記憶する手段と、上記再試行回数からエ
ラーの重大性を判断する手段を備えたものである。
[Means for Solving the Problems] The present invention provides means for performing self-diagnosis in a control digital controller that performs control processing using a microprocessor, and a means for storing serious errors detected by this self-diagnosis in an error log file. A means for storing information, a means for retrying for detected minor errors, and a means for recording the number of retries by a retry counter.
This system includes means for storing in a log file, and means for determining the severity of an error based on the number of retries.

【0008】[0008]

【作用】保守可能性向上のために自己診断により検出し
た重大なエラーを記憶すると共に、使用可能性向上のた
めに軽微なエラーについては再試行を行い、再試行回数
によりエラーの重大性を判断できる。
[Operation] Memorizes serious errors detected by self-diagnosis to improve maintainability, and retries minor errors to improve usability, and determines the severity of errors based on the number of retries. can.

【0009】[0009]

【実施例】以下、添付図面を参照しながら本発明の実施
例を詳細に説明する。
DESCRIPTION OF THE PREFERRED EMBODIMENTS Hereinafter, embodiments of the present invention will be described in detail with reference to the accompanying drawings.

【0010】第1図は本発明の一実施例を示す電力制御
用ディジタルコントローラ(以下省略してコントローラ
という)を示すブロック構成図である。同図において、
コントローラ1はCPUユニット2と複数のPIOユニ
ット3,3…とから成っている。
FIG. 1 is a block diagram showing a digital controller for power control (hereinafter simply referred to as a controller) showing an embodiment of the present invention. In the same figure,
The controller 1 includes a CPU unit 2 and a plurality of PIO units 3, 3, . . . .

【0011】CPUユニット2はマイクロコンピュータ
により演算及び各種制御を行うCPUモジュール4と、
データ、プログラム及び後述するエラーログファイル、
リトライカウンタ・ログファイルを格納するメモリモジ
ュール5と、CPUユニット2と複数のPIOユニット
3,3…との間を結ぶインターナルバスaを制御するイ
ンターナルバス・コントロールモジュール6と、電力制
御用システムの他の機器や、上位のシステムとの間で各
種データのやり取りを行うと共に、コントローラ1に異
常が発生したならばそれを通知する通信制御モジュール
7と、この各モジュール間をリンクし、データ伝送を行
うCPUバスbとを備えている。
The CPU unit 2 includes a CPU module 4 that performs calculations and various controls using a microcomputer;
data, programs and error log files (described later),
A memory module 5 that stores a retry counter/log file, an internal bus control module 6 that controls an internal bus a that connects the CPU unit 2 and a plurality of PIO units 3, 3..., and a power control system. The communication control module 7, which exchanges various data with other devices and higher-level systems, and notifies the controller 1 of any abnormality, links these modules and transmits data. It is equipped with a CPU bus b that performs the following operations.

【0012】また、PIOユニット3,3…はCPUユ
ニット2からのデータ伝送及び指令に基づきプラントと
入出力信号のやり取りを行うPIOモジュール8,8…
と、このPIOモジュール8,8…の制御を行うインタ
ーナルバス・バッファモジュール9と、この各モジュー
ル間をリンクし、データ伝送を行うPIOバスcとを備
えている。
Furthermore, the PIO units 3, 3... are connected to PIO modules 8, 8... which exchange input/output signals with the plant based on data transmission and commands from the CPU unit 2.
, an internal bus/buffer module 9 that controls the PIO modules 8, 8, . . . , and a PIO bus c that links the modules and transmits data.

【0013】このような構成のコントローラ1では、自
己の状態を診断するため、電源投入時のイニシャライズ
チェックを始めとして、インターナルバスaを介しての
データ伝送時のCPUユニット2とPIOユニット3,
3…間の応答チェック、CPUバスbやPIOバスcを
介してのデータ伝送時のモジュール間の応答チェック、
通信制御モジュール6の通信データチェック等の各種の
診断項目が所定のタイミングでまたはリアルタイムで常
に実行されている。そして、これらの診断の結果、エラ
ー内容、エラー発生時期等から予め重大なエラ−として
設定されたエラーが検出された場合は、要すればコント
ローラ1の作動を停止する等の処理をすると共に、第2
図に示すエラーログファイル10の各ブロック11にロ
ギングデータとして、検出されたエラー内容(エラーコ
ード)11a、発生箇所11b、関連情報(例えばメモ
リエラーであればそのアドレス)11c及び発生時刻1
1dが逐次記憶される。なお、このエラーログファイル
10は、例えばn個のブロック11を有しており、検出
されたエラーがn個を超えた場合には、最古のデータの
上に最新のデータを記憶する循環リスト形のファイルと
する。
In the controller 1 having such a configuration, in order to diagnose its own state, starting with the initialization check when the power is turned on, the CPU unit 2, the PIO unit 3, and the
3...Response check between modules, response check between modules when transmitting data via CPU bus b and PIO bus c,
Various diagnostic items such as checking communication data of the communication control module 6 are always executed at predetermined timing or in real time. As a result of these diagnoses, if an error that has been previously set as a serious error is detected based on the error content, error occurrence time, etc., processing such as stopping the operation of the controller 1 is carried out, if necessary. Second
Logging data in each block 11 of the error log file 10 shown in the figure includes detected error details (error code) 11a, occurrence location 11b, related information (for example, the address in the case of a memory error) 11c, and occurrence time 1
1d are stored sequentially. Note that this error log file 10 has, for example, n blocks 11, and when the number of detected errors exceeds n, a circular list is created in which the latest data is stored on top of the oldest data. file.

【0014】一方、自己診断により検出されたエラ−の
うち軽微なものと判断されたエラーについては、直ちに
エラーログファイル10に記憶はせず、再度、要すれば
複数回再試行を行う。それでもエラーが検出されるなら
ば、このエラーは重大なエラーであると判断し、エラー
内容11a、発生箇所11b、関連情報11c及び発生
時刻11dをエラーログファイル10に記憶する。また
、再試行の結果、エラーが検出されなかった場合は、一
過性のエラーとみなし、エラーログファイル10に記憶
することなく、次の制御処理に移行する。
On the other hand, errors that are determined to be minor among the errors detected by the self-diagnosis are not immediately stored in the error log file 10, but are retried multiple times if necessary. If an error is still detected, this error is determined to be a serious error, and the error content 11a, occurrence location 11b, related information 11c, and occurrence time 11d are stored in the error log file 10. Furthermore, if no error is detected as a result of the retry, it is regarded as a temporary error, and the process proceeds to the next control process without storing it in the error log file 10.

【0015】なお、エラーが検出され最初の再試行が行
われる前に再試行回数“1”が、第3図に示すリトライ
カウンタ・ログファイル12の所定のカウンタレジスタ
13に記憶される。ここで、このリトライカウンタ・ロ
グファイル12は第3図に示すようにCPUユニット2
及びPIOユニット3を構成する全てのモジュールの数
のブロック14を有している。そして、その各ブロック
14毎、それぞれのモジュールの診断に使用する診断項
目数に対応した数だけ、例えばCPUモジュール3の診
断に8つ診断項目を用いるとすると8つ、それぞれの診
断項目毎に再試行した回数を記憶できるよう設けられる
ものである。
Note that before an error is detected and the first retry is performed, the number of retries "1" is stored in a predetermined counter register 13 of the retry counter log file 12 shown in FIG. Here, this retry counter log file 12 is stored in the CPU unit 2 as shown in FIG.
and blocks 14 as many as all the modules constituting the PIO unit 3. Then, for each block 14, a number corresponding to the number of diagnostic items used for diagnosing each module, for example, if 8 diagnostic items are used for diagnosing the CPU module 3, 8 diagnostic items are repeated for each diagnostic item. It is provided so that the number of trials can be memorized.

【0016】このエラー検出後の処理を第4図に示すフ
ローチャートを用いて説明する。自己診断によりエラー
を検出したときに、その検出したエラーの有する重大性
により再試行を行うかどうかを判断する(判断20)。 その結果、再試行すべきエラーであると判断したならば
(判断20のY)、予め発生が予想されるエラーについ
て、その重大性に応じて定められている再試行回数をエ
ラー毎に記憶しているテーブルの中から当該エラーの再
試行回数を抽出し、カウントダウンレジスタにこの再試
行回数をセットする(処理21)。一方、このエラーを
検出した診断項目のカウンタレジスタ12については、
そのカウント値を1つカウントアップし(処理22)、
その後再試行を開始する(処理23)。
The processing after this error detection will be explained using the flowchart shown in FIG. When an error is detected through self-diagnosis, it is determined whether to perform a retry based on the severity of the detected error (decision 20). As a result, if it is determined that the error should be retried (Y in Judgment 20), the number of retries determined according to the severity of the error that is expected to occur is memorized for each error. The number of retries for the error is extracted from the table, and the number of retries is set in a countdown register (process 21). On the other hand, regarding the counter register 12 of the diagnostic item where this error was detected,
The count value is counted up by one (processing 22),
Thereafter, a retry is started (process 23).

【0017】ここで、再試行を行ってもエラーが検出さ
れた場合は(判断24のY)、上記カウントダウンレジ
スタの再試行回数から1を減じ(処理25)、エラーが
検出されなくなるか(判断24のN)、カウントダウン
レジスタの再試行回数が0になるまで(判断26のY)
、再試行を行う(処理22,23)。カウントダウンレ
ジスタの再試行回数が0になっても(判断26のY)、
即ち設定された再試行回数だけ再試行を行なってもエラ
ーが回復しなければ(判断24のY)、重大なエラーと
みなしエラーログファイルにロギングデータを記憶し(
処理27)、所要の箇所への通知を行うと共に、次のエ
ラー処理、例えばリイニシャリゼーションを行う(処理
28)。
Here, if an error is detected even after retrying (Y in judgment 24), 1 is subtracted from the number of retries in the countdown register (processing 25), and the error is no longer detected (determination 24). 24, N), until the number of retries in the countdown register reaches 0 (Judgment 26, Y)
, performs a retry (processes 22 and 23). Even if the number of retries in the countdown register reaches 0 (Y in decision 26),
In other words, if the error is not recovered even after retrying the set number of times (decision 24: Y), it is considered a serious error and the logging data is stored in the error log file (
Process 27), a notification is sent to a required location, and the next error process, for example, re-initialization is performed (process 28).

【0018】また、設定された再試行回数の間にエラー
が回復すれば(判断24のN)、検出されたエラーは一
過性のエラーと判断して次の制御処理へ移行する(処理
29)。なお、当該エラーの再試行回数を記憶するカウ
ンタレジスタ12には、それまで行われた再試行回数が
記憶されており、後に検査等を行う際にこの内容を通信
制御モジュール7を介して外部装置に出力させ、このエ
ラーの発生の状況見ることにより、コントローラ1の持
つ不具合の洗い出しができる。さらに、検出されたエラ
ーが重大エラーであり再試行すべきでないと判断した下
ならば(判断20のN)、直ちにエラーログファイルに
ロギングデータを記憶し(処理27)、所要の箇所への
通知を行うと共に、次のエラー処理を行う(処理28)
Furthermore, if the error is recovered within the set number of retries (N in judgment 24), the detected error is judged to be a temporary error and the process moves to the next control process (process 29). ). Note that the counter register 12 that stores the number of retries for the error stores the number of retries that have been made up to that point, and this content is transmitted to an external device via the communication control module 7 when performing an inspection later. By outputting the error information and observing the circumstances under which this error occurs, it is possible to identify any defects in the controller 1. Furthermore, if it is determined that the detected error is a serious error and should not be retried (decision 20: N), the logging data is immediately stored in the error log file (process 27), and notification is sent to the required location. At the same time, perform the following error handling (process 28)
.

【0019】一方、検出されたエラーの種類によっては
所定時間内のエラーの発生頻度が問題となるものがある
。この場合におけるエラー検出後の処理を第5図に示す
フローチャートを用いて説明する。まず、所定の期間内
に集中して発生することが予想されるエラーに対してそ
の重大性に応じて所定時間内に行う再試行回数を設定し
、この回数をエラーの重大性を判断する判定データのテ
ーブル値とする。
On the other hand, depending on the type of error detected, the frequency of error occurrence within a predetermined time may be a problem. The processing after error detection in this case will be explained using the flowchart shown in FIG. First, the number of retries to be performed within a predetermined time is set according to the severity of errors that are expected to occur in a concentrated manner within a predetermined period, and this number is used as a judgment to determine the severity of the error. Let it be the table value of the data.

【0020】次に、コントローラ1の作動時間を計時カ
ウントにより計時し(処理30)、計時カウンタのカウ
ント値が所定時間、例えば1時間を示すとして設定され
た値になると(判断31のY)、リトライカウンタ・ロ
グファイル11のカウンタレジスタ13の全てに記憶さ
れているその時間内に行われた再試行回数を他に設けら
れたレジスタに記憶保存する(処理32)。この今回計
時した時間内に行われた再試行回数と、他のレジスタに
既に別に保存されている前回計時した時間内に行われた
再試行回数との差を全てのカウンタレジスタ13につい
て演算する(処理33)。
Next, the operating time of the controller 1 is measured by a time counter (process 30), and when the count value of the time counter reaches a value set to indicate a predetermined time, for example, one hour (Y in judgment 31), The number of retries performed within that time period, which is stored in all the counter registers 13 of the retry counter log file 11, is stored in another register (process 32). The difference between the number of retries performed within the time measured this time and the number of retries performed within the time measured last time, which is already stored separately in other registers, is calculated for all counter registers 13 ( Processing 33).

【0021】これにより求められた所定時間当りの再試
行回数と、判定データのテーブル値とを比較し(判断3
4)、そのテーブル値よりも所定時間当りの再試行回数
を示す演算値の方が小さければ(判断35のN)、軽微
なエラーと判断して制御処理を継続して行う(処理36
)。また、テーブル値よりも演算値の方が大きければ(
判断35のY)、重大エラーと判断してエラーログファ
イルにロギングデータを記憶し(処理37)、外部通報
等の処理を行う(処理38)。
The number of retries per predetermined time thus obtained is compared with the table value of the judgment data (Judgment 3
4) If the calculated value indicating the number of retries per predetermined time is smaller than the table value (N in judgment 35), it is judged as a minor error and the control process is continued (process 36).
). Also, if the calculated value is larger than the table value (
Judgment 35: Y), it is judged as a serious error, the logging data is stored in the error log file (processing 37), and processing such as external notification is performed (processing 38).

【0022】以上のように、重大なエラーを検出した場
合は、コントローラの停止や警報の発生を行うと共に、
このエラーの内容等をロギングデータとしてエラーログ
ファイルに記憶することができる。また、軽微なエラー
を検出した場合には、再試行をすることにより使用可能
性を向上することができると共に、再試行回数によりエ
ラーの重大性を判断することができる。
As described above, when a serious error is detected, the controller is stopped, an alarm is generated, and
The contents of this error can be stored as logging data in an error log file. Further, when a minor error is detected, usability can be improved by retrying, and the severity of the error can be determined based on the number of retries.

【0023】[0023]

【発明の効果】以上説明したように本発明によれば、自
己診断により検出した重大なエラーを記憶することによ
り保守可能性を向上することができると共に、軽微なエ
ラーについては再試行を行うことにより使用可能性を向
上することができる。また、再試行回数によりエラーの
重大性を判断することにより、コントローラの保守可能
性を向上を図ることができる。さらに、新製品開発時の
検証や、製造過程での初期不良品の検出も容易となりコ
ントローラの品質及び信頼性も向上できる。
[Effects of the Invention] As explained above, according to the present invention, it is possible to improve maintainability by storing serious errors detected through self-diagnosis, and it is also possible to retry minor errors. Usability can be improved by this. Furthermore, by determining the severity of an error based on the number of retries, maintainability of the controller can be improved. Furthermore, verification during new product development and detection of initial defective products during the manufacturing process are facilitated, and the quality and reliability of the controller can be improved.

【図面の簡単な説明】[Brief explanation of the drawing]

【図1】本発明の一実施例を示す電力制御用ディジタル
コントローラのブロック構成図。
FIG. 1 is a block configuration diagram of a digital controller for power control showing an embodiment of the present invention.

【図2】エラーログファイルの一例を示す概略図。FIG. 2 is a schematic diagram showing an example of an error log file.

【図3】リトライカウンタ・ログファイルの一例を示す
概略図。
FIG. 3 is a schematic diagram showing an example of a retry counter log file.

【図4】エラー検出後の処理を示すフローチャート。FIG. 4 is a flowchart showing processing after error detection.

【図5】エラーの発生頻度が問題となるエラー検出後の
処理を示すフローチャート。
FIG. 5 is a flowchart illustrating processing after error detection, in which the frequency of error occurrence is a problem.

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

1    電力制御用ディジタルコントローラ2   
 CPUユニット 3    PIOユニット 4    CPUモジュール 5    メモリモジュール 6    インターナルバス・コントロールモジュール
7    通信制御モジュール 8    PIOモジュール 9    インターナルバス・バッファモジュール10
    エラーログファイル
1 Digital controller for power control 2
CPU unit 3 PIO unit 4 CPU module 5 Memory module 6 Internal bus control module 7 Communication control module 8 PIO module 9 Internal bus buffer module 10
error log file

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】  マイクロプロセッサを用いて制御処理
を行う制御用ディジタルコントローラにおいて、自己診
断を行う手段と、この自己診断により検出された重大な
エラーをエラーログファイルに記憶する手段と、検出さ
れた軽微なエラーに対して再試行を行う手段と、この再
試行回数をリトライカウンタ・ログファイルに記憶する
手段と、上記再試行回数からエラーの重大性を判断する
手段と、を備えたことを特徴とする制御用ディジタルコ
ントローラ。
Claim 1: A control digital controller that performs control processing using a microprocessor, comprising means for performing self-diagnosis, means for storing serious errors detected by the self-diagnosis in an error log file, and means for storing serious errors detected by the self-diagnosis in an error log file. It is characterized by comprising means for retrying a minor error, means for storing the number of retries in a retry counter/log file, and means for determining the severity of the error from the number of retries. Digital controller for control.
JP3078666A 1991-01-30 1991-01-30 Digital controller for control Expired - Fee Related JP3040186B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3078666A JP3040186B2 (en) 1991-01-30 1991-01-30 Digital controller for control

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3078666A JP3040186B2 (en) 1991-01-30 1991-01-30 Digital controller for control

Publications (2)

Publication Number Publication Date
JPH04245309A true JPH04245309A (en) 1992-09-01
JP3040186B2 JP3040186B2 (en) 2000-05-08

Family

ID=13668190

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3078666A Expired - Fee Related JP3040186B2 (en) 1991-01-30 1991-01-30 Digital controller for control

Country Status (1)

Country Link
JP (1) JP3040186B2 (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1998027475A1 (en) * 1996-12-19 1998-06-25 Fanuc Ltd Control method for communication between robot controller and peripheral equipment
US7904771B2 (en) 2007-11-27 2011-03-08 Renesas Electronics Corporation Self-diagnostic circuit and self-diagnostic method for detecting errors
JP2012123553A (en) * 2010-12-07 2012-06-28 Howa Mach Ltd Monitoring device of machine tool in processing line
JP2013089184A (en) * 2011-10-21 2013-05-13 Toshiba Corp Programmable controller system
WO2022044320A1 (en) * 2020-08-31 2022-03-03 株式会社Fuji Substrate work machine

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1998027475A1 (en) * 1996-12-19 1998-06-25 Fanuc Ltd Control method for communication between robot controller and peripheral equipment
US7904771B2 (en) 2007-11-27 2011-03-08 Renesas Electronics Corporation Self-diagnostic circuit and self-diagnostic method for detecting errors
JP2012123553A (en) * 2010-12-07 2012-06-28 Howa Mach Ltd Monitoring device of machine tool in processing line
JP2013089184A (en) * 2011-10-21 2013-05-13 Toshiba Corp Programmable controller system
WO2022044320A1 (en) * 2020-08-31 2022-03-03 株式会社Fuji Substrate work machine

Also Published As

Publication number Publication date
JP3040186B2 (en) 2000-05-08

Similar Documents

Publication Publication Date Title
EP1703401B1 (en) Information processing apparatus and control method therefor
US8255769B2 (en) Control apparatus and control method
JPH04245309A (en) Digital controller for control
JP2006285734A (en) Method for diagnosing controller
KR100402757B1 (en) Signal Processing Method and Module for Reliable System Considering Safety
CN114168396B (en) Fault positioning method and related assembly
JPH06214895A (en) Bus monitoring method
JPS5916302B2 (en) Check device
JP3326546B2 (en) Computer system failure detection method
JPH0264745A (en) Interface controller
JP6716429B2 (en) Electronic control device and diagnostic method thereof
JPS5858662A (en) Device testing system
JP3080150B2 (en) General-purpose interface control device and general-purpose interface control method
JPH01276301A (en) Maintenance back-up device for multiplex system
JPH04102929A (en) Information processor
JPH1160102A (en) Elevator controller
CA2313646A1 (en) Monitoring system
JPH08305673A (en) Multi-cpu monitor system
JPS59225420A (en) Fault detecting mechanism of data channel apparatus
JPS6373341A (en) Self-diagnosing method for computer
JPS62182846A (en) Self-diagnosis method for electronic computer
JPS6288047A (en) Interface controller
JPS6277655A (en) Substrate trouble diagnosing circuit for programmable controller
JP2018163539A (en) Self-diagnosis method and self-diagnosis program
JPH0883106A (en) Abnormality diagnostic device for programmable controller

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080303

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20090303

Year of fee payment: 9

LAPS Cancellation because of no payment of annual fees