JPH04178742A - Device diagnosis control system - Google Patents
Device diagnosis control systemInfo
- Publication number
- JPH04178742A JPH04178742A JP2308176A JP30817690A JPH04178742A JP H04178742 A JPH04178742 A JP H04178742A JP 2308176 A JP2308176 A JP 2308176A JP 30817690 A JP30817690 A JP 30817690A JP H04178742 A JPH04178742 A JP H04178742A
- Authority
- JP
- Japan
- Prior art keywords
- diagnosis
- general
- results
- purpose computer
- general computer
- 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
Links
- 238000003745 diagnosis Methods 0.000 title abstract description 21
- 238000000034 method Methods 0.000 claims abstract description 15
- 230000000007 visual effect Effects 0.000 claims abstract description 3
- 230000005856 abnormality Effects 0.000 description 9
- 238000010586 diagram Methods 0.000 description 3
- 230000000694 effects Effects 0.000 description 3
- 230000002159 abnormal effect Effects 0.000 description 2
- 230000005540 biological transmission Effects 0.000 description 2
- 238000001514 detection method Methods 0.000 description 2
- 239000003795 chemical substances by application Substances 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 238000002405 diagnostic procedure Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000002452 interceptive effect Effects 0.000 description 1
- 238000011017 operating method Methods 0.000 description 1
- 238000007639 printing Methods 0.000 description 1
- 230000002747 voluntary effect Effects 0.000 description 1
- 239000002699 waste material Substances 0.000 description 1
Abstract
Description
【発明の詳細な説明】
〔産業上の利用分野〕
本発明はマイクロプロセッサ等のプロセッサによって動
作制御される装置、所謂マイクロプロセンサシステムの
診断の制御方式に関するものである。DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a diagnostic control method for a device whose operation is controlled by a processor such as a microprocessor, a so-called microprocessor sensor system.
マイクロプロセッサシステムの診断は、当該システムに
備えであるテストプログラムを実行させ、その結果を、
当該システム中の又は当該システムに専用に設けた表示
装置に表示させるようにしていた。例えば特開昭62−
52639号公報の方式はこのような方式である。Diagnosis of a microprocessor system involves running a test program on the system and reporting the results.
The information was displayed on a display device within the system or provided exclusively for the system. For example, JP-A-62-
The method disclosed in Publication No. 52639 is such a method.
〔発明が解決しようとする課題]
ところがこのような方式による場合は、マイクロプロセ
ッサシステムに診断のためだけの特別の表示装置、出力
装置を設ける必要があり、これらは診断時以外に使用さ
れないという無駄があった。[Problem to be Solved by the Invention] However, when using such a method, it is necessary to provide the microprocessor system with a special display device and output device just for diagnosis, which is wasteful as they are not used for any purpose other than diagnosis. was there.
本発明は斯かる問題点を解決するためになされたもので
あり、特別な装置をマイクロプロセッサシステムに専用
に設ける必要がない診断制御方式を提供することを目的
とする。The present invention has been made to solve such problems, and it is an object of the present invention to provide a diagnostic control method that does not require a special device to be dedicated to a microprocessor system.
本発明の装置診断制御方式では、汎用コンビ二一夕を診
断対象装置と接続し、診断対象装置に備えであるテスト
プログラムを汎用コンピュータに搭載しであるプログラ
ムによって起動させ、その実行結果を汎用コンピュータ
の表示装置、出力装置で視覚情報化する。In the device diagnosis control method of the present invention, a general-purpose computer is connected to the device to be diagnosed, a test program prepared for the device to be diagnosed is started by a program installed in a general-purpose computer, and the execution results are transferred to the general-purpose computer. Convert to visual information using display and output devices.
本発明の方式では汎用コンピュータ側からの操作でテス
トプログラムの起動が可能であり、またこによる診断結
果を汎用コンピュータで表示、出力できる。In the method of the present invention, a test program can be started by an operation from a general-purpose computer, and the diagnostic results can be displayed and output on the general-purpose computer.
従って診断時の操作性が優れていることは勿論、診断時
以外は汎用コンピュータを切離すことができるから、無
駄な専用の装置を設ける必要がない。Therefore, the operability during diagnosis is excellent, and since the general-purpose computer can be disconnected except during diagnosis, there is no need to provide any unnecessary dedicated equipment.
以下本発明をその実施例を示す図面に基づいて詳述する
。DESCRIPTION OF THE PREFERRED EMBODIMENTS The present invention will be described in detail below based on drawings showing embodiments thereof.
第1図は本発明の診断制御方式の実施に使用する装置の
要部を診断対象装置要部と共に示す模式図である。図に
おいて1は診断対象のマイクロプロセッサシステムを示
し、その全体制御を司るCPU11、診断のためのテス
トプログラム14を格納している主記憶装置13を備え
ている。このテストプログラム14はその実行によって
主記憶装置14、CPLlll及びこのシステムlを構
成する各種のLSI 12.12・・・の機能をテスト
するものである。機能乙こ異常が存在する場合は異常検
出部15がこれを検出し、この異常に係る情報を異常情
報記憶部16に記憶するようにしである。システムlを
構成するハードウェアは入出力用のインターフェース1
7を介して汎用コンピュータ2に接続されている。FIG. 1 is a schematic diagram showing the main parts of the apparatus used to implement the diagnostic control method of the present invention, together with the main parts of the apparatus to be diagnosed. In the figure, reference numeral 1 indicates a microprocessor system to be diagnosed, which includes a CPU 11 that controls the entire system, and a main memory 13 that stores a test program 14 for diagnosis. This test program 14 is executed to test the functions of the main storage device 14, CPLll, and various LSIs 12, 12, etc. that constitute this system l. If an abnormality exists in the function, the abnormality detection section 15 detects this and stores information regarding this abnormality in the abnormality information storage section 16. The hardware that makes up the system is input/output interface 1.
7 to the general-purpose computer 2.
この汎用コンピュータ2は演算制御の中枢であるCPU
2L そのシステムプログラムを格納しであるROM
23、適宜の方法で後述するサブプログラムを格納す
るRAM 24、操作手順を表示し、また診断の結果を
表示する表示部28、診断の結果を印字するプリンタ等
の出力装置29及び前記システム1側のインターフェー
ス17と接続されるインターフェース27を備えている
。This general-purpose computer 2 is a CPU that is the center of arithmetic control.
2L ROM that stores the system program
23, a RAM 24 for storing subprograms to be described later in an appropriate manner, a display unit 28 for displaying operating procedures and diagnosis results, an output device 29 such as a printer for printing the diagnosis results, and the system 1 side The interface 27 is connected to the interface 17 of the computer.
第2図は汎用コンピュータのRAM 24 (ROM
23でもよい)に格納されているサブプログラムの概要
を示すフローチャートである。汎用コンピュータ2にお
いてサブプログラムを立上げるとまず、メインメニュー
画面を表示するルーチンに入る(Sl)。Figure 2 shows the RAM 24 (ROM) of a general-purpose computer.
23) is a flowchart showing an overview of subprograms stored in the computer. When the subprogram is started on the general-purpose computer 2, a routine is first entered to display the main menu screen (Sl).
第3図はメインメニュー画面の1例を示し、マイクロプ
ロセッサシステムに応じた診断項目(テスト項目)のメ
ニューが用意されており、実行させるべき診断項目をメ
ニューの番号に従って選択入力させる。この入力により
表示部28の画面は第4図に示すデータ設定画面になる
(S2)。この例はマイクロプロセッサシステム1のプ
ロテクトモードのうちの高速SRAMチエツクのテスト
項目を選んだ場合のものである。FIG. 3 shows an example of the main menu screen, in which a menu of diagnostic items (test items) corresponding to the microprocessor system is prepared, and the diagnostic item to be executed is selected and input according to the menu number. With this input, the screen of the display section 28 becomes a data setting screen shown in FIG. 4 (S2). This example shows a case where the high-speed SRAM check test item in the protected mode of the microprocessor system 1 is selected.
この表示に従ってテストデータを入力し終えると、サブ
プログラム起動画面を表示するルーチンに入る(S3)
。第5図はこの画面の例を示し、”Y”キーの入力等適
宜の操作により選択した項目による診断が開始される。When you finish inputting the test data according to this display, the routine starts to display the subprogram startup screen (S3).
. FIG. 5 shows an example of this screen, and diagnosis based on the selected item is started by an appropriate operation such as inputting the "Y" key.
即ち汎用コンピュータ2はマイクロプロセッサシステム
1に対し割込信号を与える。マイクロプロセッサシステ
ム1側ではこれをインターフェース17内の受信データ
バッファに格納する。そしてこの受信によりシステム1
側ではテストプログラム14のうちの選択された診断項
目に係る部分を起動してこれが実行される。複数の診断
項目が選択された場合はこれが受信データバッファに格
納され、関連するテストプログラム14を順次的に実行
させる。That is, the general-purpose computer 2 provides an interrupt signal to the microprocessor system 1. On the microprocessor system 1 side, this is stored in the reception data buffer within the interface 17. As a result of this reception, system 1
On the side, a portion of the test program 14 related to the selected diagnostic item is activated and executed. If a plurality of diagnostic items are selected, they are stored in the reception data buffer and the related test programs 14 are executed sequentially.
そしてテストプログラムによるシステム1の診断が終了
すると正常動作状態の情報は必要に応して図示しない低
速のSRAMに記憶させる。異常状態は異常情報検出部
15で検出され、異常情報記憶部16に記憶される。更
にこれらの情報は図示しない送信データバッファに格納
される。When the diagnosis of the system 1 by the test program is completed, information on the normal operating state is stored in a low-speed SRAM (not shown) as necessary. The abnormal state is detected by the abnormality information detection section 15 and stored in the abnormality information storage section 16. Further, this information is stored in a transmission data buffer (not shown).
更にシステム1側から汎用コンピュータ2側へ割込信号
を発せしめる。汎用コンピュータ2はこの割込信号を受
けると前記送信データバッファの内容を読込み、診断結
果の異常/正常を調べ(S4)、診断の結果、異常が無
かった場合は第6図に例示する如く、診断結果が合格で
あることを示す画面を表示して(S5)メインメニュー
画面へ戻る(Sり。Furthermore, an interrupt signal is issued from the system 1 side to the general-purpose computer 2 side. When the general-purpose computer 2 receives this interrupt signal, it reads the contents of the transmission data buffer, checks whether the diagnosis result is abnormal or normal (S4), and if there is no abnormality as a result of the diagnosis, as illustrated in FIG. Display a screen indicating that the diagnosis result is passed (S5) and return to the main menu screen (S).
これに対して異常が存在した場合は例えば第7図に示す
如き画面を表示する(S6)。また異常情報を出力装置
29によって出力させる(S7)。On the other hand, if an abnormality exists, a screen as shown in FIG. 7, for example, is displayed (S6). Further, the abnormality information is outputted by the output device 29 (S7).
なお本発明の適用対象はマイクロプロセッサシステムに
限らず、通信システム等より大規模なプロセノサを用い
たシステム、装置等にも適用できる。Note that the present invention is applicable not only to microprocessor systems but also to systems and devices using larger scale processors such as communication systems.
また汎用コンピュータはパーソナルコンピュータ、ワー
クステーション、ミニコンピユータ等適宜のものを用い
得る。Further, the general-purpose computer may be a personal computer, a workstation, a minicomputer, etc. as appropriate.
〔発明の効果]
以上の如き本発明方式による場合は診断対象に専用の装
置を設ける必要がなく、汎用コンピュータを接続するだ
けで足りる。汎用コンピュータは診断時以外は取外して
他用途に供することができ設備上の無駄がない。そして
前述のように対話方式で必要な診断項目を選択入力でき
るので操作性が高いなど、本発明方式は優れた効果を奏
する。[Effects of the Invention] According to the method of the present invention as described above, there is no need to provide a dedicated device for the diagnosis target, and it is sufficient to connect a general-purpose computer. The general-purpose computer can be removed and used for other purposes except during diagnosis, so there is no waste in terms of equipment. Furthermore, as described above, the method of the present invention has excellent effects, such as high operability since necessary diagnostic items can be selected and input in an interactive manner.
第1図は本発明の診断方式の実施に使用する装置の要部
の模式図、第2図は本発明のサブプログラムのフローチ
ャート、第3図〜第7図は表示装置の例を示す図である
。
1・・・マイクロプロセッサシステム
2・・・汎用コンピュータ 14・・・テストプログラ
ム21・・・Crtl 23・・・ROM 21I
・・・RAM 28・・・表示部29・・・出力装置
なお、図中、同一符号は同一、又は相当部分を示す。
代理人 大 岩 増 雄2・・・汎用コ
ンピュータ
第 1 図
第 2 図
手続補正書(自発)FIG. 1 is a schematic diagram of the main parts of a device used to carry out the diagnostic method of the present invention, FIG. 2 is a flowchart of a subprogram of the present invention, and FIGS. 3 to 7 are diagrams showing examples of display devices. be. 1... Microprocessor system 2... General purpose computer 14... Test program 21... Crtl 23... ROM 21I
...RAM 28...Display unit 29...Output device In the drawings, the same reference numerals indicate the same or corresponding parts. Agent Masuo Oiwa 2 General-purpose computer Figure 1 Figure 2 Procedure amendment (voluntary)
Claims (1)
の機能を診断するテストプログラムを備えている装置の
診断制御方式において、 前記装置に汎用コンピュータを接続し、該汎用コンピュ
ータに搭載したプログラムによって、一部又は全部の診
断項目に係る前記テストプログラムを起動させ、その実
行の結果を前記汎用コンピュータによって視覚情報化す
ることを特徴とする装置診断制御方式。(1) In a diagnostic control method for a device whose operation is controlled by a processor and is equipped with a test program for diagnosing its own functions, a general-purpose computer is connected to the device, and a part of the device is controlled by a program installed in the general-purpose computer. Alternatively, an apparatus diagnostic control method characterized in that the test programs relating to all diagnostic items are started and the results of the execution are converted into visual information by the general-purpose computer.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2308176A JPH04178742A (en) | 1990-11-13 | 1990-11-13 | Device diagnosis control system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2308176A JPH04178742A (en) | 1990-11-13 | 1990-11-13 | Device diagnosis control system |
Publications (1)
Publication Number | Publication Date |
---|---|
JPH04178742A true JPH04178742A (en) | 1992-06-25 |
Family
ID=17977824
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2308176A Pending JPH04178742A (en) | 1990-11-13 | 1990-11-13 | Device diagnosis control system |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH04178742A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6125456A (en) * | 1996-08-28 | 2000-09-26 | Nec Corporation | Microcomputer with self-diagnostic unit |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS63300327A (en) * | 1987-05-30 | 1988-12-07 | Fanuc Ltd | Self-diagnostic system for robot controller |
-
1990
- 1990-11-13 JP JP2308176A patent/JPH04178742A/en active Pending
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS63300327A (en) * | 1987-05-30 | 1988-12-07 | Fanuc Ltd | Self-diagnostic system for robot controller |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6125456A (en) * | 1996-08-28 | 2000-09-26 | Nec Corporation | Microcomputer with self-diagnostic unit |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP3532289B2 (en) | Computer system analyzer | |
EP0721158B1 (en) | Bidirectional printer interface | |
JP2003503782A (en) | Vehicle communication system with display operator control device | |
EP0282039A3 (en) | Apparatus and method for diagnosing functions of a data processor | |
EP0199273A2 (en) | Document processing apparatus | |
JPH04178742A (en) | Device diagnosis control system | |
JPH05274282A (en) | Method for information processing and device therefor | |
JPH04288630A (en) | Device diagnostic control system | |
JPS62245341A (en) | Engine control device | |
JP3001205B2 (en) | Information processing device | |
KR0174866B1 (en) | Performance Management Method of T-X Performance Management System | |
JPH07319514A (en) | Numerical value setting method for operation display panel | |
JPH1078376A (en) | Failure diagnostic device of vehicular electronic system | |
JP2685289B2 (en) | Write enable signal check method | |
JP2504575Y2 (en) | Gauge cluster | |
JPH0293898A (en) | Monitoring device | |
JPS641007A (en) | Numerical controller | |
JPH07225604A (en) | Programmable controller and its fault informing method | |
JPH11113844A (en) | Ophthalmologic measuring system | |
JPS6174030A (en) | Console device | |
JPH0520117A (en) | Data processor | |
JPS6359647A (en) | Display system for exceptional event information | |
JPH04273327A (en) | Back-up device for generation of static parallel processing program | |
JPS63292241A (en) | System for diagnosing plural processor constituting device | |
JPH04167145A (en) | Computer system |