JPH10228395A - Abnormality diagnostic device for controller - Google Patents

Abnormality diagnostic device for controller

Info

Publication number
JPH10228395A
JPH10228395A JP9031781A JP3178197A JPH10228395A JP H10228395 A JPH10228395 A JP H10228395A JP 9031781 A JP9031781 A JP 9031781A JP 3178197 A JP3178197 A JP 3178197A JP H10228395 A JPH10228395 A JP H10228395A
Authority
JP
Japan
Prior art keywords
trace
abnormality
memory
microcomputer
controller
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP9031781A
Other languages
Japanese (ja)
Inventor
Satoshi Sato
聡 佐藤
Ryosuke Ashizuka
良介 芦塚
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.)
Sekisui Chemical Co Ltd
Original Assignee
Sekisui Chemical Co 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 Sekisui Chemical Co Ltd filed Critical Sekisui Chemical Co Ltd
Priority to JP9031781A priority Critical patent/JPH10228395A/en
Publication of JPH10228395A publication Critical patent/JPH10228395A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To provide a controller abnormality diagnostic device capable of surely analyzing the cause of hard or soft abnormality generated once several months. SOLUTION: The controller utilizing a microcomputer is provided with respective trace memories 10 to 12 for always storing program execution states such as an operation mode, addresses and data for fixed steps from an execution step back to a step corresponding to memory capacity and with a trace control circuit 14 for controlling the writing of the program execution states in the memories 10 to 12 and the reading of the execution state from the memories 10 to 12, and when program abnormality is detected by the self-detection function of the microcomputer, the circuit 14 stores the current contents of respective trace memories 10 to 12 based on its abnormality detection signal.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、マイクロコンピュ
ータを利用した制御用コントローラの異常診断装置に関
する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an abnormality diagnosis apparatus for a control controller using a microcomputer.

【0002】[0002]

【従来の技術】工場の生産ラインには、マイクロコンピ
ュータを利用した制御用コントローラが広く使用されて
いるが、この制御用コントローラは、現場の電磁ノイズ
による暴走や、制御プログラミングのバグなどによっ
て、異常な動作を生じることがある。
2. Description of the Related Art On a production line of a factory, a controller using a microcomputer is widely used. However, this controller is abnormal due to runaway due to electromagnetic noise at the site or a bug in control programming. Operation may occur.

【0003】この異常動作は、その現象に再現性がある
場合には、その原因を特定できる場合が多い。しかしな
がら、その現象に再現性がなく、数時間から数ヶ月に1
度起きるような現象である場合には、その原因の特定が
難しいばかりでなく、原因がハードにあるのかソフトに
あるのかといった判別すら困難である。そのため、現象
に再現性のない異常動作の場合には、有効な対策を講じ
ることができないのが実情である。
[0003] If the phenomenon is reproducible, the cause of the abnormal operation can often be specified. However, the phenomenon is not reproducible and can occur once every few hours to several months.
If the phenomenon occurs frequently, it is difficult not only to identify the cause, but also to determine whether the cause is due to hardware or software. Therefore, in the case of an abnormal operation in which the phenomenon is not reproducible, it is a fact that effective measures cannot be taken.

【0004】そこで、プログラムの実行状態を監視し
て、異常が発生したときの状態を後から解析できる装置
が必要となる。このようなマイクロコンピュータのプロ
グラム実行状態を監視する装置として、例えば特開平1
−217526号公報に記載されたマイクロコンピュー
タシステムがある(これを従来技術1という)。
Therefore, a device that monitors the execution state of a program and can analyze the state when an abnormality occurs later can be analyzed. As an apparatus for monitoring the program execution state of such a microcomputer, for example, Japanese Patent Laid-Open No.
There is a microcomputer system described in Japanese Patent Application Laid-Open No. 217526 (hereinafter referred to as prior art 1).

【0005】この従来技術1のシステムは、インサーキ
ット・エミュレータを用いているが、これはプログラム
開発時に制御用コントローラのCPUやメモリの機能の
一部を、ケーブル等を通じてインサーキット・エミュレ
ータの内部に取り込み、解析を行うものである。
[0005] The system of the prior art 1 uses an in-circuit emulator, which is used to transfer a part of the functions of the CPU and the memory of the control controller to the inside of the in-circuit emulator through a cable or the like during program development. It takes in and analyzes.

【0006】また、組込機器のプログラム異常診断装置
として、特開平4−294432号公報に記載のものが
ある(これを従来技術2という)。この従来技術2の装
置は、モジュール化した各プログラムを所定の手続きに
より実行開始する前に、そのモジュールの開始アドレス
を所定のメモリ領域に順次記憶し、所定コードのリモコ
ン信号またはキー入力によりメモリ領域に記憶したデー
タを、最後に記憶したアドレスの次から順に読み出すよ
うになっている。
Further, as a program abnormality diagnosis apparatus for embedded equipment, there is one described in Japanese Patent Application Laid-Open No. 4-294432 (this is referred to as prior art 2). Prior to starting the execution of each of the modularized programs according to a predetermined procedure, the device of the prior art 2 sequentially stores the start addresses of the modules in a predetermined memory area, and stores the start addresses of the modules in a memory area by a remote control signal or key input of a predetermined code. Are sequentially read from the address following the last stored address.

【0007】[0007]

【発明が解決しようとする課題】しかしながら、従来技
術1のシステムは、CPUやメモリの機能の一部を、ケ
ーブル等を通じてインサーキット・エミュレータの内部
に取り込むものであるため、電磁ノイズのある場所や温
度環境の劣悪な現場では用いることができないといった
問題があった。
However, the system of the prior art 1 incorporates a part of the functions of the CPU and the memory into the inside of the in-circuit emulator through a cable or the like. There was a problem that it could not be used in a field where the temperature environment was poor.

【0008】また、従来技術2の装置は、プログラムの
モジュール単位の実行履歴しかトレースできないため、
具体的な異常内容の解析が行えず、またノイズ等でハー
ドウエアが暴走した際の異常究明も行えないといった問
題があった。
The device of the prior art 2 can trace only the execution history of a program in module units.
There has been a problem that it is not possible to analyze specific abnormal contents, and it is also not possible to investigate abnormalities when hardware runs away due to noise or the like.

【0009】本発明はこのような問題点を解決すべく創
案されたものであって、その目的は、現場で制御を行っ
ている状態で、数ヶ月に1度程度発生するハード又はソ
フトの異常原因を確実に解析できる制御用コントローラ
の異常診断装置を提供することにある。
The present invention has been made in order to solve such a problem, and an object of the present invention is to provide a hardware or software abnormality which occurs about once every several months while control is being performed on site. An object of the present invention is to provide an abnormality diagnosis device for a control controller capable of reliably analyzing the cause.

【0010】[0010]

【課題を解決するための手段】上記課題を解決するた
め、本発明の請求項1記載の制御用コントローラの異常
診断装置は、マイクロコンピュータを利用した制御用コ
ントローラにおいて、プログラムの動作モード、アドレ
ス、データ等の実行状態を、実行ステップからメモリ容
量分さかのぼった時点までの一定ステップ分について常
時保持するトレースメモリと、このトレースメモリへの
プログラム実行状態の書き込み及びトレースメモリから
の実行状態の読み取りを制御するトレース制御回路とを
備え、前記トレース制御回路は、前記マイクロコンピュ
ータの自己検出機能によってプログラムの異常が検出さ
れたとき、その異常検出信号に基づいてその時点での前
記トレースメモリの内容を保持し、前記マイクロコンピ
ュータからの読み取り要求信号に基づいて前記トレース
メモリの内容を外部に転送するものである。
According to a first aspect of the present invention, there is provided an abnormality diagnosis apparatus for a control controller, comprising: Trace memory that always keeps the execution state of data etc. for a certain number of steps from the execution step to the point of the memory capacity, and controls the writing of the program execution state to this trace memory and the reading of the execution state from the trace memory A trace control circuit that, when a program abnormality is detected by the self-detection function of the microcomputer, retains the contents of the trace memory at that time based on the abnormality detection signal. Read from the microcomputer It is to transfer the contents of the trace memory to the outside based on the request signal.

【0011】また、本発明の請求項2記載の制御用コン
トローラの異常診断装置は、請求項1記載のものにおい
て、前記マイクロコンピュータと前記トレースメモリと
の間にバッファを介挿したものである。
According to a second aspect of the present invention, there is provided an abnormality diagnosis apparatus for a controller according to the first aspect, wherein a buffer is interposed between the microcomputer and the trace memory.

【0012】[0012]

【発明の実施の形態】以下、本発明の実施の形態につい
て、図面を参照して説明する。図1は、本発明の異常診
断装置を搭載した通常のリアルタイム制御用コントロー
ラの電気的構成を示すブロック図である。
Embodiments of the present invention will be described below with reference to the drawings. FIG. 1 is a block diagram showing an electrical configuration of a normal real-time control controller equipped with the abnormality diagnosis device of the present invention.

【0013】このリアルタイム制御用コントローラは、
CPU1、割り込みコントローラ2、ROMやRAM等
のメモリ3、タイマー4、I/Oインターフェイス5、
これらの間で信号のやりとりを行うための制御バス6、
アドレスバス7及びデータバス8を備えるとともに、バ
ッファ9、制御バス6上の信号を書き込む制御モードト
レースメモリ10、アドレスバス7上の信号を書き込む
アドレストレースメモリ11、データバス8上の信号を
書き込むデータトレースメモリ12、各トレースメモリ
10,11,12のアドレスを制御するリングカウンタ
13、及びこれらバッファ9、制御モードトレースメモ
リ10、アドレストレースメモリ11、データトレース
メモリ12、リングカウンタ13を制御するトレース制
御回路14を備えている。
This real-time control controller comprises:
CPU 1, interrupt controller 2, memory 3 such as ROM or RAM, timer 4, I / O interface 5,
A control bus 6 for exchanging signals between them;
A control mode trace memory 10 for writing signals on the control bus 6, an address trace memory 11 for writing signals on the address bus 7, and data for writing signals on the data bus 8, comprising an address bus 7 and a data bus 8. A trace memory 12, a ring counter 13 for controlling the addresses of the trace memories 10, 11, 12, and a buffer control for controlling the buffer 9, the control mode trace memory 10, the address trace memory 11, the data trace memory 12, and the ring counter 13; The circuit 14 is provided.

【0014】リアルタイム制御用コントローラは、通
常、定期的なタイマー割り込みや、I/Oインターフェ
イス5に接続された図示しない各種I/O機器からの割
り込み信号に基づいて、必要な処理プログラムを実行す
る。この際、CPU1からは、動作状態(リード/ライ
ト、割り込み等)を示す信号が制御バス6に出力され、
メモリ3やI/Oインターフェイス5の該当するアドレ
スやデータが、アドレスバス7やデータバス8にそれぞ
れ出力される。各トレースメモリ10,11,12に
は、これらのバス6,7,8上の信号が、トレース制御
回路14の指示に従って書き込まれる。
The real-time control controller normally executes a necessary processing program based on a periodic timer interrupt or an interrupt signal from various I / O devices (not shown) connected to the I / O interface 5. At this time, a signal indicating an operation state (read / write, interrupt, etc.) is output from the CPU 1 to the control bus 6, and
The corresponding addresses and data of the memory 3 and the I / O interface 5 are output to the address bus 7 and the data bus 8, respectively. The signals on these buses 6, 7, 8 are written into the trace memories 10, 11, 12 in accordance with the instruction of the trace control circuit 14.

【0015】なお、CPU1が例えば16ビットのCP
Uである場合には、制御バス6に10本、アドレスバス
7に20本、データバス8に16本程度の信号線がある
ので、各トレースメモリ10,11,12には、これら
の信号を全て記録できるだけのデータ幅が必要である。
The CPU 1 has a 16-bit CP.
In the case of U, there are about 10 signal lines on the control bus 6, about 20 signal lines on the address bus 7, and about 16 signal lines on the data bus 8, so that these signals are stored in each of the trace memories 10, 11, and 12. The data width must be large enough to record all.

【0016】図2は、トレース制御回路14によるトレ
ース時の動作フローチャートを示している。すなわち、
電源投入後、リセット状態が解除されると、トレース制
御回路14は、まずバッファ9の方向を、各バス6,
7,8の信号を各トレースメモリ10,11,12に読
み込む方向に設定し、トレース制御回路14による制御
動作がCPU1や割り込みコントローラ2等に影響を及
ぼさないようにする。また同時に、各トレースメモリ1
0,11,12のアドレスを制御するリングカウンタ1
3の値を「0」にリセットする(ステップS1)。
FIG. 2 is a flowchart showing the operation of the trace control circuit 14 at the time of tracing. That is,
When the reset state is released after the power is turned on, the trace control circuit 14 first sets the direction of the buffer 9 to each of the buses 6 and 6.
Signals 7 and 8 are set in a direction to be read into each of the trace memories 10, 11 and 12 so that the control operation by the trace control circuit 14 does not affect the CPU 1, the interrupt controller 2 and the like. At the same time, each trace memory 1
Ring counter 1 for controlling addresses 0, 11, and 12
The value of 3 is reset to "0" (step S1).

【0017】この状態においてCPU1の動作が始まる
と、トレース制御回路14は制御バス6を監視して、命
令コードのフェッチ、メモリ3やI/Oインターフェイ
ス5のリード、ライト、割り込み等の状態を示す各バス
6,7,8上の信号が有効であるかどうかを確認する
(ステップS2)。そして、各バス6,7,8上の信号
が有効であることを確認するたびに、それぞれのバス
6,7,8上の信号(データ)を、バッファ9を介して
各トレースメモリ10,11,12に書き込む(ステッ
プS3)。
In this state, when the operation of the CPU 1 starts, the trace control circuit 14 monitors the control bus 6 to indicate the state of instruction code fetch, reading, writing, interruption, etc. of the memory 3 and the I / O interface 5. It is checked whether the signals on the buses 6, 7, 8 are valid (step S2). Each time it is confirmed that the signals on the buses 6, 7, 8 are valid, the signals (data) on the respective buses 6, 7, 8 are transferred via the buffer 9 to the respective trace memories 10, 11 , 12 (step S3).

【0018】各トレースメモリ10,11,12への書
き込みを終了すると、トレース制御回路14はリングカ
ウンタ13の値を1インクリメントしてアドレスを更新
する(ステップS4)。
When the writing to the trace memories 10, 11, and 12 is completed, the trace control circuit 14 updates the address by incrementing the value of the ring counter 13 by 1 (step S4).

【0019】トレース制御回路14では、このようなス
テップS2〜ステップS4の処理を繰り返す。その結
果、リングカウンタ13の値が各トレースメモリ10,
11,12の容量の上限(例えば、1Kバイトであれば
1024ステップ)を超えた場合には、ステップS5か
らステップS6へと動作を進めて、リングカウンタ13
を「0」にリセットし、再びステップS2へ戻って動作
を繰り返す。
The trace control circuit 14 repeats the processing of steps S2 to S4. As a result, the value of the ring counter 13 is
If the capacity exceeds the upper limit of the capacity of 11 or 12 (for example, 1024 steps for 1 Kbyte), the operation proceeds from step S5 to step S6, and the ring counter 13
Is reset to "0", and the process returns to step S2 to repeat the operation.

【0020】このような処理動作によって、各トレース
メモリ10,11,12には、プログラムの実行ステッ
プからメモリ容量分さかのぼった時点までの命令やデー
タの履歴が、常時保存されることになる。
By such a processing operation, the history of instructions and data from the execution step of the program to the time point up to the memory capacity is always stored in each of the trace memories 10, 11, and 12.

【0021】ところで、一般的なリアルタイム制御用コ
ントローラの場合、外部の電磁ノイズによってバス6,
7,8上の信号が異常になると、CPU1の自己検出機
能によって自己の命令セットにない無効命令を検出し、
例えばホールト信号や外部バスリセット信号を発行す
る。また、プログラムのバグによって不正確な命令(例
えば、0除算等)が実行された場合にも、同様に自己検
出機能が働く。また、プログラムが暴走した場合は、ウ
ォッチドッグ回路等からCPU1に割り込みを入れて、
強制的にイニシャル状態に戻すことができる。
Incidentally, in the case of a general real-time control controller, the bus 6, bus 6
When the signals on 7 and 8 become abnormal, the CPU 1 detects an invalid instruction not in its own instruction set by the self-detection function,
For example, a halt signal or an external bus reset signal is issued. Also, when an incorrect instruction (for example, division by zero) is executed due to a bug in the program, the self-detection function operates similarly. If the program goes out of control, an interrupt is sent to the CPU 1 from the watchdog circuit, etc.
It can be forcibly returned to the initial state.

【0022】そこで、これらの異常を検出した時点で、
CPU1から出力される異常検出信号をトレース制御回
路14にトリガ信号として与え、異常発生時の各トレー
スメモリ10,11,12の動作を制御する。
Therefore, when these abnormalities are detected,
An abnormality detection signal output from the CPU 1 is supplied to the trace control circuit 14 as a trigger signal to control the operation of each of the trace memories 10, 11, and 12 when an abnormality occurs.

【0023】図3は、トレース制御回路14による異常
発生時の動作フローチャートを示している。すなわち、
トレース制御回路14は、異常検出信号を認識すると、
まず各トレースメモリ10,11,12を書き込み禁止
にしてメモリ内容を保護し(ステップS11)、同時に
リングカウンタ13を停止させる(ステップS12)。
FIG. 3 is a flowchart showing the operation of the trace control circuit 14 when an error occurs. That is,
When the trace control circuit 14 recognizes the abnormality detection signal,
First, the trace memories 10, 11, and 12 are write-protected to protect the memory contents (step S11), and at the same time, the ring counter 13 is stopped (step S12).

【0024】一方、CPU1は、異常が発生すると正常
復帰するための処理を実行し、正常復帰後、各トレース
メモリ10,11,12の内容の読み取り処理を起動す
る。この処理が起動されると、トレース制御回路14
は、CPU1が各トレースメモリ10,11,12の内
容を読み取れるようバッファ9の向きを設定し(ステッ
プS13,S14)、各トレースメモリ10,11,1
2の内容をメモリ3に転送する(ステップS15,S1
6)。転送されたデータは、例えば制御用コントローラ
の画面やプリンタへ出力される。又は、制御用コントロ
ーラからさらに上位の図示しないホストコンピュータに
通信で再転送する。
On the other hand, the CPU 1 executes a process for returning to the normal state when an abnormality occurs, and starts the reading process of the contents of the trace memories 10, 11, and 12 after the normal recovery. When this processing is started, the trace control circuit 14
Sets the orientation of the buffer 9 so that the CPU 1 can read the contents of each of the trace memories 10, 11, and 12 (steps S13 and S14).
2 is transferred to the memory 3 (steps S15 and S1).
6). The transferred data is output to, for example, a screen of a control controller or a printer. Alternatively, the data is re-transferred from the control controller to a higher-level host computer (not shown) by communication.

【0025】これにより、異常発生時点から数Kステッ
プさかのぼった時点までの実行履歴を解析でき、異常の
原因を特定しやすくなる。なお、リアルタイムオペレー
ティングシステムを搭載していれば、制御動作を継続し
たままこれらの解析処理を行うことができる。
This makes it possible to analyze the execution history from the point of occurrence of the abnormality up to a point several K steps back, making it easier to identify the cause of the abnormality. If a real-time operating system is installed, these analysis processes can be performed while the control operation is continued.

【0026】[0026]

【発明の効果】本発明の請求項1記載の制御用コントロ
ーラの異常診断装置は、マイクロコンピュータを利用し
た制御用コントローラにおいて、プログラムの動作モー
ド、アドレス、データ等の実行状態を、実行ステップか
らメモリ容量分さかのぼった時点までの一定ステップ分
について常時保持するトレースメモリと、このトレース
メモリへのプログラム実行状態の書き込み及びトレース
メモリからの実行状態の読み取りを制御するトレース制
御回路とを備え、トレース制御回路は、マイクロコンピ
ュータの自己検出機能によってプログラムの異常が検出
されたとき、その異常検出信号に基づいてその時点での
トレースメモリの内容を保持するとともに、マイクロコ
ンピュータからの読み取り要求信号に基づいてトレース
メモリの内容を外部に転送する構成としている。つま
り、異常発生直前の状態をトレースメモリに保存し、そ
の内容を解析することで、現場で数ヶ月に1度起こるよ
うな発生頻度の低い異常でも、発生した瞬間の状態を記
録できる。また、制御バス、アドレスバス、データバス
の内容を解析することにより、異常の原因がハードによ
るものであるのか、ソフトによるものであるのかの判断
が行え、またソフトによるものであればどのようなバグ
であるのかの推定も行える。
According to a first aspect of the present invention, there is provided an abnormality diagnosis apparatus for a control controller, comprising: a control controller using a microcomputer; A trace memory that always holds a fixed step up to a point in time traced back by a capacity; and a trace control circuit that controls writing of a program execution state to the trace memory and reading of an execution state from the trace memory. When a program abnormality is detected by the microcomputer's self-detection function, the contents of the trace memory at that time are held based on the abnormality detection signal, and the trace memory is stored based on a read request signal from the microcomputer. Out of the contents It is configured to transfer to. That is, by storing the state immediately before the occurrence of the abnormality in the trace memory and analyzing the contents thereof, the state at the moment when the abnormality occurs can be recorded even if the abnormality has a low occurrence frequency, such as occurs once every few months at the site. In addition, by analyzing the contents of the control bus, address bus, and data bus, it is possible to determine whether the cause of the abnormality is caused by hardware or by software. You can also estimate if it is a bug.

【0027】また、本発明の請求項2記載の制御用コン
トローラの異常診断装置は、請求項1記載のものにおい
て、マイクロコンピュータとトレースメモリとの間にバ
ッファを介挿した構成としたので、マイクロコンピュー
タの動作に全く影響を及ぼさないで、トレース制御回路
14によるトレース制御が行える。
According to a second aspect of the present invention, there is provided an abnormality diagnosis apparatus for a control controller, wherein a buffer is interposed between a microcomputer and a trace memory. The trace control by the trace control circuit 14 can be performed without affecting the operation of the computer at all.

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

【図1】本発明の異常診断装置を搭載した通常のリアル
タイム制御用コントローラの電気的構成を示すブロック
図である。
FIG. 1 is a block diagram showing an electrical configuration of a normal real-time control controller equipped with an abnormality diagnosis device of the present invention.

【図2】トレース制御回路によるトレース時の動作フロ
ーチャートである。
FIG. 2 is an operation flowchart at the time of tracing by a trace control circuit.

【図3】トレース制御回路による異常発生時の動作フロ
ーチャートである。
FIG. 3 is an operation flowchart of the trace control circuit when an abnormality occurs.

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

1 CPU 2 割り込みコントローラ 3 メモリ 4 タイマー 5 I/Oインターフェイス 6 制御バス 7 アドレスバス 8 データバス 9 バッファ 10 制御モードトレースメモリ 11 アドレストレースメモリ 12 データトレースメモリ 13 リングカウンタ 14 トレース制御回路 DESCRIPTION OF SYMBOLS 1 CPU 2 Interrupt controller 3 Memory 4 Timer 5 I / O interface 6 Control bus 7 Address bus 8 Data bus 9 Buffer 10 Control mode trace memory 11 Address trace memory 12 Data trace memory 13 Ring counter 14 Trace control circuit

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 マイクロコンピュータを利用した制御用
コントローラにおいて、 プログラムの動作モード、アドレス、データ等の実行状
態を、実行ステップからメモリ容量分さかのぼった時点
までの一定ステップ分について常時保持するトレースメ
モリと、 このトレースメモリへのプログラム実行状態の書き込み
及びトレースメモリからの実行状態の読み取りを制御す
るトレース制御回路とを備え、 前記トレース制御回路は、前記マイクロコンピュータの
自己検出機能によってプログラムの異常が検出されたと
き、その異常検出信号に基づいてその時点での前記トレ
ースメモリの内容を保持し、前記マイクロコンピュータ
からの読み取り要求信号に基づいて前記トレースメモリ
の内容を外部に転送することを特徴とする制御用コント
ローラの異常診断装置。
1. A control controller using a microcomputer, comprising: a trace memory for constantly retaining an operation state of a program, such as an operation mode, an address, and data, for a certain number of steps from an execution step to a time point up to a memory capacity; A trace control circuit that controls writing of a program execution state to the trace memory and reading of an execution state from the trace memory, wherein the trace control circuit detects a program abnormality by a self-detection function of the microcomputer. The content of the trace memory at that time is held based on the abnormality detection signal, and the content of the trace memory is transferred to the outside based on a read request signal from the microcomputer. Controller Abnormal diagnostic device.
【請求項2】 前記マイクロコンピュータと前記トレー
スメモリとの間にバッファが介挿されていることを特徴
とする請求項1記載の制御用コントローラの異常診断装
置。
2. The abnormality diagnosis device for a control controller according to claim 1, wherein a buffer is interposed between said microcomputer and said trace memory.
JP9031781A 1997-02-17 1997-02-17 Abnormality diagnostic device for controller Pending JPH10228395A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP9031781A JPH10228395A (en) 1997-02-17 1997-02-17 Abnormality diagnostic device for controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP9031781A JPH10228395A (en) 1997-02-17 1997-02-17 Abnormality diagnostic device for controller

Publications (1)

Publication Number Publication Date
JPH10228395A true JPH10228395A (en) 1998-08-25

Family

ID=12340611

Family Applications (1)

Application Number Title Priority Date Filing Date
JP9031781A Pending JPH10228395A (en) 1997-02-17 1997-02-17 Abnormality diagnostic device for controller

Country Status (1)

Country Link
JP (1) JPH10228395A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004524596A (en) * 2000-09-08 2004-08-12 ネットワーク・アプライアンス・インコーポレイテッド Panic message analyzer
WO2005062182A1 (en) * 2003-12-19 2005-07-07 Renesas Technology Corp. Semiconductor integrated circuit device
WO2009031210A1 (en) * 2007-09-05 2009-03-12 Fujitsu Limited Information processor, method and program for controlling information processor
WO2022185535A1 (en) * 2021-03-05 2022-09-09 日本電信電話株式会社 Causal step identification device, causal step identification method, and program

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004524596A (en) * 2000-09-08 2004-08-12 ネットワーク・アプライアンス・インコーポレイテッド Panic message analyzer
WO2005062182A1 (en) * 2003-12-19 2005-07-07 Renesas Technology Corp. Semiconductor integrated circuit device
WO2009031210A1 (en) * 2007-09-05 2009-03-12 Fujitsu Limited Information processor, method and program for controlling information processor
WO2022185535A1 (en) * 2021-03-05 2022-09-09 日本電信電話株式会社 Causal step identification device, causal step identification method, and program

Similar Documents

Publication Publication Date Title
JP3481737B2 (en) Dump collection device and dump collection method
JPH10228395A (en) Abnormality diagnostic device for controller
JP2002543521A (en) Method and apparatus for automatically reintegrating modules into a computer system
JPH02294739A (en) Fault detecting system
JPS60159951A (en) Tracing system in information processing device
CN100369009C (en) Monitor system and method capable of using interrupt signal of system management
JPH09160840A (en) Bus communication device
JPS62245341A (en) Engine control device
JP2679575B2 (en) I / O channel fault handling system
JP2870202B2 (en) Method and apparatus for mutual monitoring between processors
JP3080150B2 (en) General-purpose interface control device and general-purpose interface control method
JPH10133958A (en) Communication device control circuit
JPH11119992A (en) Trace controller for firmware
JPH04338842A (en) Information processor with error detecting function
JP2000353109A (en) Emulator and emulation system
JP2684966B2 (en) I / O processor debug device
JPH0962534A (en) Self-diagnostic method for electronic computer
JP2000330878A (en) Communication controller
JP3340284B2 (en) Redundant system
JPS6034132B2 (en) programmable controller
JPH08171519A (en) Cpu device
JPH11203174A (en) State supervisory information processor
JPH0395634A (en) Restart control system for computer system
JPH02139650A (en) Partial dump system
JPH03292540A (en) Diagnostic device for abnormality of computer