JPS6331810B2 - - Google Patents
Info
- Publication number
- JPS6331810B2 JPS6331810B2 JP57050729A JP5072982A JPS6331810B2 JP S6331810 B2 JPS6331810 B2 JP S6331810B2 JP 57050729 A JP57050729 A JP 57050729A JP 5072982 A JP5072982 A JP 5072982A JP S6331810 B2 JPS6331810 B2 JP S6331810B2
- Authority
- JP
- Japan
- Prior art keywords
- cpu
- input
- slave
- test
- processing 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.)
- Expired
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Quality & Reliability (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Hardware Redundancy (AREA)
- Multi Processors (AREA)
Description
【発明の詳細な説明】
(1) 発明の技術分野
本発明は、マスタ(主)CPU(Central
Processing Uuit=中央処理装置、以下単に
「CPU」と称する。)とマスタCPUによつて起動
されるスレーブ(副)CPUを有するマルチCPU
装置におけるテスト制御方法に関する。[Detailed Description of the Invention] (1) Technical Field of the Invention The present invention relates to a master (main) CPU (Central
Processing unit = central processing unit, hereinafter simply referred to as "CPU". ) and a slave CPU started by the master CPU
This invention relates to a test control method for an apparatus.
(2) 技術の背景
通常、この種の装置においては、電源投入のイ
ニシヤル時等に、CPUに接続された入出力装置
やメモリ等が正常に動作し得る状態にあるか否か
をテストプログラムを用いてチエツクする必要が
ある。(2) Background of the technology Normally, in this type of device, when the power is initially turned on, a test program is run to check whether the input/output devices, memory, etc. connected to the CPU are in a state where they can operate normally. It is necessary to check using
(3) 従来技術と問題点
従来、スレーブCPUに接続され、スレーブ
CPUの制御下にある各入出力装置等のチエツク
は、マスクCPUからスレーブCPUにテスト指令
を与えることにより開始していたが、この方法で
は、マスタCPU側(スレーブCPUとの間の接続
線路を含めて)に障害が発生し、それによつてス
レーブCPU制御下の入出力装置が正常に動作し
なかつた場合には、その障害箇所がマスタ側にあ
るのかスレーブ側にあるのか判断できない欠点が
あつた。(3) Conventional technology and problems Conventionally, the slave CPU is
Checking each input/output device under the control of the CPU was started by giving a test command from the mask CPU to the slave CPU, but with this method, the connection line between the master CPU side (slave CPU) If a failure occurs in the I/O device under the control of the slave CPU and the input/output device under control of the slave CPU does not operate normally, there is a drawback that it is not possible to determine whether the failure is on the master side or the slave side. Ta.
(4) 発明の目的
本発明は、前述の欠点を解消すべく、テストプ
ログラムによつて認められた異常が、スレーブ
CPU側に生じた障害に起因するものか、接続線
路を含むマスタCPU側に生じた障害に起因する
ものかを正確に判断し得るマルチCPU装置にお
けるテスト制御方法を提供することを目的とする
ものである。(4) Purpose of the Invention In order to eliminate the above-mentioned drawbacks, the present invention aims to solve
The purpose of this invention is to provide a test control method for a multi-CPU device that can accurately determine whether a fault is caused by a fault occurring on the CPU side or a fault occurring on the master CPU side including the connection line. It is.
(5) 発明の構成
即ち、本発明は、スレーブCPUにテスト指令
を直接与える入力手段を設け、スレーブCPUの
制御下にあるハードウエアのテストプログラムに
基いたチツクを、まずマスタCPUからスレーブ
CPUに前記接続線路を介してテスト指令を出力
することにより開始し、そこで異常が認められた
場合には、前記入力手段を操作することにより、
スレーブCPUに前記テストプログラムに基いた
ハードウエアのチエツクをスレーブCPU独自で
再度行なわせるようにして構成される。(5) Structure of the Invention That is, the present invention provides an input means for directly giving a test command to a slave CPU, and first sends a check based on a test program for hardware under control of the slave CPU from the master CPU to the slave CPU.
The test starts by outputting a test command to the CPU via the connection line, and if an abnormality is detected, the test is started by operating the input means.
The configuration is such that the slave CPU independently performs a hardware check again based on the test program.
(6) 発明の実施例
以下、図面に示す実施例に基き、本発明を具体
的に説明する。(6) Embodiments of the Invention The present invention will be specifically described below based on embodiments shown in the drawings.
第1図は本発明が適用されたマルチCPU装置
の一例をを示すブロツク図である。 FIG. 1 is a block diagram showing an example of a multi-CPU device to which the present invention is applied.
マルチCPU装置1は、第1図に示すように、
マスタCPU2を有しており、マスタCPUには接
続線路3を介してマスタCPU2によつて起動さ
れるスレーブCPU5が接続している。スレーブ
CPU5にはテストプログラムTPRが格納された
メモリ6、入出力ポート7が接続しており、入出
力ポート7にはプリンタ等の入出力装置9A,9
B及びスイツチ10が接続している。 The multi-CPU device 1, as shown in FIG.
It has a master CPU 2, and a slave CPU 5 activated by the master CPU 2 is connected to the master CPU via a connection line 3. slave
A memory 6 storing a test program TPR and an input/output port 7 are connected to the CPU 5, and input/output devices 9A and 9 such as printers are connected to the input/output port 7.
B and switch 10 are connected.
マルチCPU装置1は、以上のような構成を有
するので、スレーブCPU5に接続されスレーブ
CPU5の制御下にあるハードウエア、即ちメモ
リ6及び入出力装置9A,9B等のチエツクを行
なう場合には、マスタCPU2が一定時間毎、又
は電源投入のイニシヤル時等に、テスト指令TC
をスレーブCPU5に接続線路3を介して出力す
る。スレーブCPU5は、指令TCを受けるとメモ
リ6中に格納されたテストプログラムTPRを読
み出して、該プログラムTPRに基いて、メモリ
6、入出力装置9A,9B等のチエツクを行な
う。チエツクの結果、何らかの異常が入出力装置
9A,9B等に認められた場合には、オペレータ
はスイツチ10を押下する。すると、スレーブ
CPU5はスイツチ10の押下を検出して、再度
メモリ6からテストプログラムTPRを読み出し
て前述と同様のチエツクを、マスタCPU2に対
して独立した形でスレーブCPU5制御下の入出
力装置9A,9B等に対して行なう。この際、前
回のチエツク時と同じ個所に異常が認められた場
合には、障害個所は当該入出力装置9A,9B等
と認定することができ、反対に何らの異常も発見
できなかつた場合には、接続線路3を含めたマス
タCPU2側に障害個所が存在しているものと判
断する。 Since the multi-CPU device 1 has the above configuration, it is connected to the slave CPU 5 and
When checking the hardware under the control of the CPU 5, that is, the memory 6 and the input/output devices 9A, 9B, etc., the master CPU 2 issues a test command TC at regular intervals or at the initial power-on.
is output to the slave CPU 5 via the connection line 3. Upon receiving the command TC, the slave CPU 5 reads the test program TPR stored in the memory 6, and checks the memory 6, input/output devices 9A, 9B, etc. based on the program TPR. As a result of the check, if any abnormality is found in the input/output devices 9A, 9B, etc., the operator presses the switch 10. Then the slave
The CPU 5 detects the press of the switch 10, reads the test program TPR from the memory 6 again, and performs the same check as described above on the input/output devices 9A, 9B, etc. under the control of the slave CPU 5, independently of the master CPU 2. Do it against At this time, if an abnormality is found in the same location as the previous check, the fault can be determined to be the relevant input/output device 9A, 9B, etc.; conversely, if no abnormality is found, It is determined that the fault exists on the master CPU 2 side including the connection line 3.
なお、スレーブCPU5に再チエツクを指示す
るスイツチ10はチエツク指示用として単独に設
ける必要はなく、通常の動作時に他の用途に使用
されるスイツチを、チエツク時にのみチエツク指
示用として使用するようにしてもよいことは勿論
である。 It should be noted that the switch 10 for instructing the slave CPU 5 to re-check does not need to be provided separately for instructing a check; instead, a switch that is used for other purposes during normal operation may be used for instructing a check only at the time of a check. Of course, this is a good thing.
(7) 発明の効果
以上説明したように、本発明によれば、スレー
ブCPU5の制御下にあるメモリ6及び入出力装
置9A,9B等のハードウエアのチエツクを、ま
ずマスタCPU2からスレーブCPU5に接続線路
3を介してテスト指令TCを出力することにより
開始し、そこで異常が認められた場合には、スレ
ーブCPU5に接続されたスイツチ10を操作す
ることにより、スレーブCPU独自でスレーブ
CPU5に接続されたハードウエアのチエツクを
再度行なうようにしたので、テストプログラム
TPRに基いてスレーブCPU5制御下のハードウ
エアに何らかの異常を認めた場合に、それが当該
ハードウエア、即ちスレーブCPU5側に生じた
障害に起因するものか、マスタCPU2側に生じ
た障害に起因するものかを正確に判断することが
でき、テストプログラムTPRに基いたスレーブ
CPU5制御下のハードウエアに対するチエツク
作業の信頼性の向上に寄与し得る。(7) Effects of the Invention As explained above, according to the present invention, the hardware such as the memory 6 and input/output devices 9A, 9B under the control of the slave CPU 5 can be checked by first connecting the master CPU 2 to the slave CPU 5. The test starts by outputting the test command TC via the line 3, and if an abnormality is detected, the slave CPU independently controls the slave CPU by operating the switch 10 connected to the slave CPU 5.
Since the hardware connected to CPU5 is checked again, the test program
If any abnormality is detected in the hardware under the control of the slave CPU 5 based on TPR, whether it is caused by a failure in the hardware, that is, the slave CPU 5, or a failure in the master CPU 2. Slave based on the test program TPR, which can accurately determine whether
This can contribute to improving the reliability of checking the hardware under the control of the CPU 5.
第1図は本発明が適用されたマルチCPU装置
の一例を示すブロツク図である。
1……マルチCPU装置、2……マスタCPU、
3……接続線路、5……スレーブCPU、6……
ハードウエア(メモリ)、9A,9B……ハード
ウエア(入出力装置)、10……スイツチ、TPR
……テストプログラム、TC……テスト指令。
FIG. 1 is a block diagram showing an example of a multi-CPU device to which the present invention is applied. 1...Multi-CPU device, 2...Master CPU,
3... Connection line, 5... Slave CPU, 6...
Hardware (memory), 9A, 9B...Hardware (input/output device), 10...Switch, TPR
...Test program, TC...Test command.
Claims (1)
自己の制御下にある入出力装置を起動する副処理
装置とを有し、該主処理装置のテスト指令によつ
て該副処理装置の制御下にある入出力装置の動作
テストが行なわれる多重処理装置システムにおい
て、前記テスト指令を該主処理装置を介さずに副
処理装置に入力する入力手段を設け、主処理装置
からのテスト指令による動作テストに異常が発生
した場合に該入力手段により再度動作テストを行
なわせるよう構成したことを特徴とする多重処理
装置システムにおけるテスト制御方法。1 It has a main processing unit and a sub-processing unit that starts input/output devices under its own control based on the commands of the main processing unit, and the sub-processing unit starts up the input/output devices under its control based on the commands of the main processing unit. In a multiprocessing device system in which an operation test of input/output devices under control is performed, an input means for inputting the test command to the sub-processing device without going through the main processing device is provided, and the test command from the main processing device is 1. A test control method in a multi-processing device system, characterized in that the input means causes the operation test to be performed again if an abnormality occurs in the operation test.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP57050729A JPS58168171A (en) | 1982-03-29 | 1982-03-29 | Test controlling method in multiplex processing device system |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP57050729A JPS58168171A (en) | 1982-03-29 | 1982-03-29 | Test controlling method in multiplex processing device system |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS58168171A JPS58168171A (en) | 1983-10-04 |
| JPS6331810B2 true JPS6331810B2 (en) | 1988-06-27 |
Family
ID=12866939
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP57050729A Granted JPS58168171A (en) | 1982-03-29 | 1982-03-29 | Test controlling method in multiplex processing device system |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS58168171A (en) |
-
1982
- 1982-03-29 JP JP57050729A patent/JPS58168171A/en active Granted
Also Published As
| Publication number | Publication date |
|---|---|
| JPS58168171A (en) | 1983-10-04 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JPH0814797B2 (en) | Checking method in redundant processing equipment | |
| JPS6331810B2 (en) | ||
| JP2985188B2 (en) | Redundant computer system | |
| JPS60247750A (en) | Control system for initial system constitution | |
| JP2965255B2 (en) | Redundant control arithmetic system | |
| JPH0581065A (en) | Self diagnostic method for programmable controller system | |
| JPH0344730A (en) | Trouble diagnostic controller for printer | |
| JPS61128302A (en) | Programmable controller | |
| JPH0517743U (en) | Redundant computer system | |
| JPS6229822B2 (en) | ||
| JPS6113627B2 (en) | ||
| JPH1020968A (en) | Selective hardware reset circuit | |
| JPH03288205A (en) | Programmable controller system | |
| JPS58114145A (en) | Monitoring system for fault of master microprocessor | |
| JPS5916302B2 (en) | Check device | |
| JPS60251443A (en) | Backup device of programmable controller | |
| JPH04305758A (en) | Information processor | |
| JPS5897765A (en) | Common bus system for multi-processor system | |
| JPS60105356A (en) | Diagnostic system of stand-by device | |
| JPS63131234A (en) | Diagnosis control system | |
| JPH02287836A (en) | Duplex alarm control system | |
| JPH04138750A (en) | Communication controller diagnostic system | |
| JPS62194547A (en) | Emergency working device | |
| JPH0561784A (en) | Bus controller | |
| JPS5947605A (en) | Back-up controller |