JPS5939054B2 - Diagnostic method - Google Patents
Diagnostic methodInfo
- Publication number
- JPS5939054B2 JPS5939054B2 JP52149580A JP14958077A JPS5939054B2 JP S5939054 B2 JPS5939054 B2 JP S5939054B2 JP 52149580 A JP52149580 A JP 52149580A JP 14958077 A JP14958077 A JP 14958077A JP S5939054 B2 JPS5939054 B2 JP S5939054B2
- Authority
- JP
- Japan
- Prior art keywords
- step number
- test step
- block
- test
- defect
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired
Links
Landscapes
- Test And Diagnosis Of Digital Computers (AREA)
Description
【発明の詳細な説明】
本発明は、マイクロプログラム制御方式の装置における
診断方式に関する。DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a diagnostic method in a microprogram controlled device.
従来、装置各部の論理素子、論理接続等の不良検出は、
マイクロプログラムにしたがつて一連のテストステップ
を一回だけ実行し、不良が検出されたテストステップ番
号を表示レジスタ若しくはそれに相当する手段に表示な
いし記憶させるとい 。Conventionally, defect detection of logic elements, logic connections, etc. in each part of the device was
A series of test steps is executed only once according to the microprogram, and the test step number in which a defect is detected is displayed or stored in a display register or equivalent means.
う診断方式によつて行なわれていた。かかる診断方式で
は、診断中に生じた間欠的な不良を看過してしまつたり
、この間欠的不良の影響を受けた本来正常な個所を不良
と誤つて指摘することがたびたびあつた。本発明の目的
は、叙上の如き問題点を除去し、固定的な不良は勿論の
こと間欠的不良をも正しく指摘できる診断方式を提供す
ることにある。This was done using a diagnostic method. Such diagnostic methods often overlook intermittent failures that occur during diagnosis, or incorrectly identify normally normal areas affected by these intermittent failures as failures. An object of the present invention is to provide a diagnostic method that eliminates the above-mentioned problems and can correctly indicate not only fixed defects but also intermittent defects.
本発明による診断方式の特徴は、一連のテストステップ
を繰り返し実行し、その間に、前に検出された不良に対
応するテストステップ番号とその後に検出された不良に
対応するテストステップ番号を比較して、診断対象の不
良を表示するレジスタ上に、常に若い方のテストステッ
プ番号を表示するようにしたものである。次に、添付図
面にしたがつて本発明の一実施例を説明する。The diagnostic method according to the present invention is characterized by repeatedly performing a series of test steps, during which a test step number corresponding to a previously detected defect is compared with a test step number corresponding to a subsequently detected defect. , the smaller test step number is always displayed on the register that displays the defect to be diagnosed. Next, one embodiment of the present invention will be described with reference to the accompanying drawings.
第1図は本発明による診断方式の一例を示す概略ブロッ
ク図である。FIG. 1 is a schematic block diagram showing an example of a diagnostic method according to the present invention.
メモリ4には診断実行を制御するマイクロプログラムが
格納されており、マイクロプロセッサ5はこのマイクロ
プログラムにしたがつて一連のテストステップから成る
テスト系列を繰返し実行する。マイクロプロセッサ5に
はデータバスTを介して表示レジスタ1、テスト系列の
実行回数(ループ回数)を記憶するレジスタないしカウ
ンタ2、および実行中のテストステップ番号を示すレジ
スタないしカウンタ3が接続されている。マイクロプロ
セッサ5はまた、データバス7および制御バス6を介し
て図示しない制御対象に接続されている。第2図に診断
マイクロプログラムのフローの一例を示し、これに従つ
て第1図の実施例の動作を説明する。A microprogram for controlling diagnostic execution is stored in the memory 4, and the microprocessor 5 repeatedly executes a test sequence consisting of a series of test steps in accordance with this microprogram. Connected to the microprocessor 5 are a display register 1, a register or counter 2 that stores the number of executions of a test series (loop number), and a register or counter 3 that indicates the number of the test step being executed. . The microprocessor 5 is also connected to a control target (not shown) via a data bus 7 and a control bus 6. FIG. 2 shows an example of the flow of the diagnostic microprogram, and the operation of the embodiment shown in FIG. 1 will be explained according to this flow.
プログラムを開始させると、まずループ回数m−1がレ
ジスタ2にセットされ(ブロック101)、表示レジス
タ1をクリヤし(ブロック102)、ついでテストステ
ップ番号n=1をレジスタ3へセットする(ブロック1
03)。When the program is started, the loop count m-1 is first set in register 2 (block 101), display register 1 is cleared (block 102), and then test step number n=1 is set in register 3 (block 1).
03).
n−1番のテストステップを実行し(ブロック104)
、不良が検出されなければテストステツプ番号nをプラ
ス1し(プロツク105)、この更新したテストステツ
プ番号nを最終ステツプ番号Nと一致比較する(プロツ
ク106)。一致がとれないときは、さらに表示レジス
タ1の内容と大小比較され、テストステツプ番号nの方
が小さいときはプロツク104へジヤンプする。プロツ
ク106での一致がとれたときは、ループ回数mをプラ
ス1し(プロツク108)、ついでこの更新後のループ
回数mを設定回数Mと一致比較する(プロツク109)
。このプロツク109で一致がとれたときは診断を停止
する。この一致がとれないならば、プロツク103ヘジ
ヤンプする。またプロツク104で不良が検出されたと
きは、そのときのテストステツプ番号(不良を検出した
テストステツプ番号)nが1か否かを比較し(プロツク
110)、n−1ならばこれ以上診断を続けても無意味
であるのでこのテストステツプ番号n−1を表示レジス
タ1へセツトし(プロツク111)、診断を停止する。Execute test step n-1 (block 104)
If no defect is detected, the test step number n is incremented by 1 (block 105), and the updated test step number n is compared with the final step number N (block 106). If there is no match, the test step number is further compared with the content of display register 1, and if the test step number n is smaller, the process jumps to block 104. When a match is found in block 106, the loop count m is incremented by 1 (block 108), and then this updated loop count m is compared with the set count M (block 109).
. When a match is found in this block 109, the diagnosis is stopped. If this coincidence is not achieved, block 103 jumps. When a defect is detected in block 104, a comparison is made to see if the test step number at that time (the test step number where the defect was detected) is 1 (block 110), and if n-1, no further diagnosis is required. Since it is pointless to continue, this test step number n-1 is set in display register 1 (block 111) and the diagnosis is stopped.
プロツク110でn=1でないと判断されたときは、当
該テストステツプ番号nを表示レジスタ114へセツト
し(プロツク112)、その後にプロツク108へ進む
。以上の説明から明らかなように、テスト系列の実行を
多数回繰返し、その結果、不良を検出した最も若いテス
トステツプ番号が表示レジスタ1に記憶される。したが
つて、テスト系列の1回や2回の実行では看過する虞れ
の大きい間欠的な不良個所を正しく、かつ、高い確率で
指摘できる。すなわち、番号の若いテストステツプほど
診断対象(装置)の基本的機能部を診断対象としている
ため、最も本質的な不良個所を指摘できるものであり、
より基本的な機能部の不良による影響を受けた周辺の機
能部を不良個所として誤指摘することを防止できる。な
おテスト系列の繰返し設定回数Mは、前記の効果を達成
できる限り任意に決めることができる。If it is determined in block 110 that n=1, the test step number n is set in the display register 114 (block 112), and then the process proceeds to block 108. As is clear from the above description, the execution of the test series is repeated many times, and as a result, the lowest test step number in which a defect is detected is stored in the display register 1. Therefore, it is possible to correctly and with a high probability point out intermittent defects that are likely to be overlooked in one or two executions of the test series. In other words, the test step with the lower number targets the basic functional part of the diagnostic target (equipment), so it can point out the most essential defective part.
It is possible to prevent a peripheral functional unit affected by a defect in a more basic functional unit from being incorrectly pointed out as a defective location. Note that the set number of repetitions M of the test sequence can be arbitrarily determined as long as the above effects can be achieved.
第1図および第2図は本発明による診断方式の一実施例
を示す概略プロツク図およびプログラムフロー図である
。
1・・・・・・表示レジスタ、4・・・・・・メモリ、
5・・・・・・マイクロプロセツサ。1 and 2 are a schematic block diagram and a program flow diagram illustrating one embodiment of the diagnostic method according to the present invention. 1...Display register, 4...Memory,
5...Microprocessor.
Claims (1)
いマイクロプロセッサが一連のテストステップを順番に
実行し、診断対象の不良を表示レジスタ上に指摘する診
断方式において、当該一連のテストステップを繰り返し
実行して、前に検出された不良に対応するテストステッ
プ番号とその後に検出された不良に対応するテストステ
ップ番号を比較し、若い方のテストステツプ番号に前記
表示レジスタの表示を変えることを特徴とする診断方式
。1 In a diagnostic method in which a microprocessor sequentially executes a series of test steps according to a microprogram read from memory and indicates the defect to be diagnosed on a display register, the series of test steps is repeatedly executed to The diagnostic method is characterized in that a test step number corresponding to a defect detected in the past is compared with a test step number corresponding to a defect detected subsequently, and the display in the display register is changed to the smaller test step number.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP52149580A JPS5939054B2 (en) | 1977-12-13 | 1977-12-13 | Diagnostic method |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP52149580A JPS5939054B2 (en) | 1977-12-13 | 1977-12-13 | Diagnostic method |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS5481739A JPS5481739A (en) | 1979-06-29 |
| JPS5939054B2 true JPS5939054B2 (en) | 1984-09-20 |
Family
ID=15478295
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP52149580A Expired JPS5939054B2 (en) | 1977-12-13 | 1977-12-13 | Diagnostic method |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS5939054B2 (en) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2563275B2 (en) * | 1986-08-21 | 1996-12-11 | 松下電器産業株式会社 | Management method for electronic component automatic mounting machine |
-
1977
- 1977-12-13 JP JP52149580A patent/JPS5939054B2/en not_active Expired
Also Published As
| Publication number | Publication date |
|---|---|
| JPS5481739A (en) | 1979-06-29 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US5469563A (en) | Method and control apparatus for self diagnosis | |
| JPS5939054B2 (en) | Diagnostic method | |
| US5504862A (en) | Logic verification method | |
| JPH0577143A (en) | Failure diagnosis device for automated line | |
| JPH07281929A (en) | Trace information collecting device | |
| JP3315266B2 (en) | Self-diagnosis status display method | |
| JPH07334385A (en) | How to verify the maintenance diagnostic function | |
| JP2907060B2 (en) | Debug device | |
| JP2549690B2 (en) | Pseudo-fault test method for channel processor | |
| JPS61241672A (en) | IC test equipment | |
| JPH0844583A (en) | Diagnostic system for information processor | |
| CN121412051A (en) | Fault simulation result processing methods, devices and computing equipment | |
| JP3428235B2 (en) | Self-monitoring device and self-monitoring method | |
| JPH01126740A (en) | Pseudo circuit | |
| JPH01134539A (en) | Trace system for microprogram | |
| JPS5849900B2 (en) | Diagnosis method during IPL | |
| JPS6160146A (en) | Check system of microprogram | |
| JPS63300330A (en) | Debugging method for firmware | |
| JPS6029133B2 (en) | Fault diagnosis method | |
| JPH0561935A (en) | Logical simulation system | |
| JPH0259830A (en) | Error trigger generating circuit | |
| JPH0664539B2 (en) | Data processing device testing method | |
| JPH081607B2 (en) | Pseudo-fault occurrence method in information processing system | |
| JPH0635741A (en) | Execution period of time measurement system for diagnostic program | |
| JPH02232740A (en) | Service processor test method |