JPH0587850B2 - - Google Patents

Info

Publication number
JPH0587850B2
JPH0587850B2 JP58229580A JP22958083A JPH0587850B2 JP H0587850 B2 JPH0587850 B2 JP H0587850B2 JP 58229580 A JP58229580 A JP 58229580A JP 22958083 A JP22958083 A JP 22958083A JP H0587850 B2 JPH0587850 B2 JP H0587850B2
Authority
JP
Japan
Prior art keywords
interrupt
computer
command
channel
data way
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 - Lifetime
Application number
JP58229580A
Other languages
Japanese (ja)
Other versions
JPS60122432A (en
Inventor
Tatsu Takahata
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.)
Fuji Electric Co Ltd
Fuji Facom Corp
Original Assignee
Fuji Electric Co Ltd
Fuji Facom 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 Fuji Electric Co Ltd, Fuji Facom Corp filed Critical Fuji Electric Co Ltd
Priority to JP58229580A priority Critical patent/JPS60122432A/en
Publication of JPS60122432A publication Critical patent/JPS60122432A/en
Publication of JPH0587850B2 publication Critical patent/JPH0587850B2/ja
Granted legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing

Description

【発明の詳細な説明】 〔発明の属する技術分野〕 この発明は、データウエイを使用した計算機シ
ステムにおける割込機能診断方式に関し、特に、
データウエイを利用したプロセス制御システム等
のシミユレーシヨンを行う場合に好適なものであ
る。
[Detailed description of the invention] [Technical field to which the invention pertains] The present invention relates to an interrupt function diagnosis method in a computer system using a data way, and in particular,
This is suitable for simulating a process control system using a data way.

〔従来技術とその問題点〕[Prior art and its problems]

従来、割込機能診断方式として、第1図に示す
計算機システムにおける割込機能診断方式が提案
されている。
Conventionally, as an interrupt function diagnosis method, an interrupt function diagnosis method for a computer system shown in FIG. 1 has been proposed.

すなわち、ループ状のデータウエイ1に計算機
2,3、チヤネル4,5が接続されている。各チ
ヤネル4,5には、割込試験用スイツチAが接続
されている。
That is, computers 2 and 3 and channels 4 and 5 are connected to a loop-shaped data way 1. An interrupt test switch A is connected to each channel 4, 5.

而して、各チヤネル4,5の割込試験用スイツ
チAで計算機2,3に対する割込コマンドWCを
発生させることにより、計算機2,3に割込コマ
ンドWCが正常に伝達されるか否かを確認するこ
とにより、割込機能診断を行うようにしている。
Therefore, by generating the interrupt command WC for the computers 2 and 3 with the interrupt test switch A of each channel 4 and 5, whether or not the interrupt command WC is normally transmitted to the computers 2 and 3. The interrupt function is diagnosed by checking this.

しかしながら、このような従来の割込機能診断
方式においては、割込機能診断を行うに際し、割
込試験用スイツチAが必要となり、割込をかける
計算機2,3の指定をスイツチを操作することに
より行うので、これが面倒であり、診断に手間が
掛かると共に、診断を行うためには、データウエ
イ1で接続された遠隔地のチヤネル位置まで試験
者が出向かなければならず、しかも、試験者が割
込試験用スイツチAを誤操作するおそれがあり、
診断を行う計算機との間における連絡に余計な時
間がかかる等の問題点があつた。
However, in such a conventional interrupt function diagnosis method, when performing an interrupt function diagnosis, an interrupt test switch A is required, and the designation of computers 2 and 3 to which an interrupt is to be made can be made by operating the switch. This is troublesome and time consuming, and requires the tester to go to the remote channel location connected by data way 1 in order to perform the diagnosis. There is a risk of erroneously operating interrupt test switch A.
There were problems such as extra time required for communication with the computer that performs the diagnosis.

また、チヤネル側で割込試験用スイツチ等の試
験用ハードウエアの準備が整わないと、計算機側
から一方的にプログラムの割込機能診断を行うこ
とができない問題点があつた。
In addition, unless test hardware such as an interrupt test switch is prepared on the channel side, there is a problem in that the computer cannot unilaterally diagnose the interrupt function of the program.

また、リアルタイム処理を必要とする計算機シ
ステムでは、プログラムによる割込発生機構が既
に使用されているが、これは、計算機において現
在実行中のプログラムよりも優先レベルの高いプ
ログラムを起動する目的で行われており、割込機
能を診断するためには使用することが出来ないも
のであつた。
In addition, computer systems that require real-time processing already use a program-based interrupt generation mechanism, but this is done for the purpose of starting a program with a higher priority level than the program currently being executed in the computer. Therefore, it could not be used to diagnose the interrupt function.

〔発明の目的〕[Purpose of the invention]

この発明は、前記従来方式の問題点に着目して
なされたものであり、その目的は、計算機側から
の割込要求コマンドにより、データウエイに接続
された全ての割込制御チヤネルから計算機に対す
る割込を発生させることにより、試験用ハードウ
エアの準備ができない時期から計算機へのプログ
ラムの割込機能診断を行うことを可能とすると共
に、実際のシステムを想定したシミユレーシヨン
を行う際には、擬似的に割込コマンドを発生し
て、これを極めて簡単に実現することができる計
算機システムにおける割込機能診断方式を提供す
ることにある。
This invention was made by focusing on the problems of the conventional method, and its purpose is to interrupt the computer from all interrupt control channels connected to the data way by an interrupt request command from the computer side. By generating interrupts, it is possible to diagnose the interrupt function of a computer program at a time when the test hardware is not ready, and when performing simulations assuming an actual system, it is possible to An object of the present invention is to provide an interrupt function diagnosis method in a computer system that can generate interrupt commands and realize this extremely easily.

〔発明の要点〕[Key points of the invention]

この発明は、計算機及びチヤネルがデータウエ
イを介して接続された計算機システムにおいて、
前記チヤネルに、前記計算機から前記データウエ
イを介して送信される割込要求コマンドに応じて
割込コマンドを発生させる割込制御手段を設け、
該割込制御手段から前記割込要求コマンド受信時
に前記計算機に前記割込コマンドを送出すること
によつて、当該チヤネルの前記計算機に対する割
込機能を前記計算機において診断することを特徴
とする計算機システムにおける割込機能診断方式
に係る。
This invention provides a computer system in which computers and channels are connected via a dataway.
providing the channel with an interrupt control means for generating an interrupt command in response to an interrupt request command transmitted from the computer via the data way;
A computer system characterized in that the interrupt function of the channel for the computer is diagnosed in the computer by sending the interrupt command to the computer when the interrupt request command is received from the interrupt control means. This relates to an interrupt function diagnosis method.

〔発明の実施例〕[Embodiments of the invention]

以下、図面に基づいてこの発明の実施例を説明
する。
Embodiments of the present invention will be described below based on the drawings.

第2図は、この発明の一実施例を示すブロツク
図、第3図はその割込制御チヤネルの一例を示す
ブロツク図である。
FIG. 2 is a block diagram showing one embodiment of the present invention, and FIG. 3 is a block diagram showing an example of the interrupt control channel.

この発明においては、データウエイ1に接続さ
れたチヤネル4,5が夫々第3図に示すように構
成されている。
In this invention, channels 4 and 5 connected to data way 1 are each configured as shown in FIG.

すなわち、チヤネル4,5は、データウエイ1
に接続された計算機2,3から送信される割込要
求コマンドQCが受信すると共に、割込コマンド
WCをデータウエイ1に送信するコマンド処理装
置6と、このコマンド処理装置6によつてアクセ
スされる割込起動用レジスタ7と、この割込起動
用レジスタ7からの割込コマンド及び外部割込線
8からの外部割込制御信号が供給されたオアゲー
ト9と、このオアゲート9の出力信号が割込コマ
ンドWCとして書き込まれる割込原因レジスタ1
0とを備えている。ここに、前記コマンド処理装
置6、割込起動用レジスタ7及びオアゲート9で
割込制御手段11が構成される。
That is, channels 4 and 5 are connected to data way 1.
When the interrupt request command QC sent from computers 2 and 3 connected to is received, the interrupt command
A command processing device 6 that sends WC to the data way 1, an interrupt activation register 7 accessed by this command processing device 6, and an interrupt command and an external interrupt line from this interrupt activation register 7. OR gate 9 to which an external interrupt control signal from 8 is supplied, and interrupt cause register 1 to which the output signal of this OR gate 9 is written as an interrupt command WC.
0. Here, the command processing device 6, the interrupt activation register 7, and the OR gate 9 constitute an interrupt control means 11.

ここで、コマンド処理装置6は、内部に計算機
番号格納テーブル6aを有していて、データウエ
イ1を介して計算機2から割込要求コマンドQC
が送出されると、そのコマンドを解析することに
より、割込起動用レジスタ7をアクセスして、割
込要求コマンドQCに対応する割込制御信号を発
生させると共に、割込原因レジスタ10に書き込
まれた割込制御信号を読み込み、予め計算機2か
ら送出されて記憶済みの第4図に示す計算機番号
格納テーブル6aを診断して割込をかける1又は
2以上の計算機を特定してその計算機に対して割
込コマンドWCをデータウエイ1を介して送出す
る。このコマンド処理装置の処理手順を第5図及
び第6図を用いて説明する。データウエイ1を介
して割込要求コマンドQCを受信すると、第5図
に示す処理を実行する。即ち、ステツプで受信
した割込要求コマンドQCを解決する。次いで、
ステツプに移行して、割込要求コマンドQCに
対応する割込起動用レジスタ7のビツト位置にフ
ラグをたて、これを割込制御信号として送出す
る。また、オアゲート9を介して割込原因レジス
タ10に割込制御信号が書き込まれると、第6図
に示す処理を実行する。即ち、ステツプで割込
原因レジスタ10の内容を読み込み、次いでステ
ツプに移行する。このステツプでは、割込原
因レジスタ10のビツトに応じて計算機番号格納
テーブルを参照して、そのビツトに対応する計算
機番号を選定する。次いで、ステツプに移行し
て、計算機の識別コードを含む割込コマンドWC
を作成してデータウエイ1に送出する。
Here, the command processing device 6 has an internal computer number storage table 6a, and receives an interrupt request command QC from the computer 2 via the data way 1.
When QC is sent, by analyzing the command, the interrupt activation register 7 is accessed to generate an interrupt control signal corresponding to the interrupt request command QC, and the signal is written to the interrupt cause register 10. reads the interrupt control signal sent from the computer 2 and is stored in advance, and diagnoses the computer number storage table 6a shown in FIG. and sends an interrupt command WC via data way 1. The processing procedure of this command processing device will be explained using FIGS. 5 and 6. When the interrupt request command QC is received via the data way 1, the processing shown in FIG. 5 is executed. That is, the interrupt request command QC received at step is resolved. Then,
Proceeding to step, a flag is set at the bit position of the interrupt activation register 7 corresponding to the interrupt request command QC, and this flag is sent as an interrupt control signal. Further, when an interrupt control signal is written to the interrupt cause register 10 via the OR gate 9, the processing shown in FIG. 6 is executed. That is, the contents of the interrupt cause register 10 are read in step, and then the process moves to step. In this step, the computer number storage table is referred to in accordance with the bit in the interrupt cause register 10, and the computer number corresponding to that bit is selected. Next, the process moves to step 1 and an interrupt command WC containing the computer identification code is sent.
is created and sent to data way 1.

次に、作用について説明する。今、例えば、計
算機2に、計算機3のプログラムをデバツグする
ためのプログラムが記憶されているものとして、
この状態で計算機2からオペレータの指示によ
り、例えば割込制御チヤネル5に対して割込要求
コマンドQCを発信すると、これがコマンド処理
装置6で受けられる。
Next, the effect will be explained. For example, suppose that computer 2 stores a program for debugging the program of computer 3.
In this state, when the computer 2 sends an interrupt request command QC to the interrupt control channel 5 according to an operator's instruction, the command processing device 6 receives the interrupt request command QC.

したがつて、コマンド処理装置6では、割込要
求コマンドQCを解析して、割込起動用レジスタ
7をアクセスし、この割込起動用レジスタ7から
割込要求コマンドQCに対応する割込制御信号を
発生させる。
Therefore, the command processing device 6 analyzes the interrupt request command QC, accesses the interrupt activation register 7, and outputs the interrupt control signal corresponding to the interrupt request command QC from the interrupt activation register 7. to occur.

この割込制御信号は、オアゲート9を介して割
込原因レジスタ10に供給されてこれに書き込ま
れる。このため、コマンド処理装置6は、割込原
因レジスタ10の内容を読み込み、計算機番号格
納テーブル6aを参照して割込をかける計算機番
号(計算機2,3)を選定し、且つそれに応じた
割込コマンドWCを作成してこれをデータウエイ
1に送出する。
This interrupt control signal is supplied to the interrupt cause register 10 via the OR gate 9 and written therein. Therefore, the command processing device 6 reads the contents of the interrupt cause register 10, refers to the computer number storage table 6a, selects the computer number (computer 2, 3) to which the interrupt is to be applied, and executes the interrupt accordingly. Create a command WC and send it to data way 1.

このように、データウエイ1に割込コマンド
WCが送出されると、この場合の割込が計算機2
による計算機3のプログラムのデバツグ処理であ
るので、計算機2のプログラムに割込がかけら
れ、したがつて、この計算機2でチヤネル5から
割込コマンドWCが発信されたことを確認するこ
とができる。これと同時に計算機3に対してデバ
ツグ割込を生じさせるようにすると、このデバツ
グ割込により、計算機3がそのデバツグ対象プロ
グラムをスタートさせる。このため、計算機2
は、特別なハードウエアを用意することなく、計
算機3のデバツグ対象プログラムが正常に作動す
るか否かを確認することができ、デバツグ処理を
極めて容易に行うことができる。
In this way, interrupt command is sent to data way 1.
When WC is sent, the interrupt in this case is sent to computer 2.
Since this is a debugging process for the program of computer 3, it can be confirmed that the program of computer 2 was interrupted and that the interrupt command WC was sent from channel 5 in computer 2. At the same time, if a debugging interrupt is caused to the computer 3, the computer 3 starts the program to be debugged by this debugging interrupt. For this reason, calculator 2
It is possible to check whether the program to be debugged on the computer 3 operates normally without preparing any special hardware, and the debugging process can be performed extremely easily.

また、各チヤネル4,5に外部割込線8から外
部割込信号が供給されたときには、これがオアゲ
ート9を介して割込原因レジスタ10に書き込ま
れるので、コマンド処理装置6によつて外部割込
信号に応じた割込コマンドWCをデータウエイ1
に送信し、所定の計算機2,3に割込をかけるこ
とができる。
Furthermore, when an external interrupt signal is supplied from the external interrupt line 8 to each channel 4, 5, it is written to the interrupt cause register 10 via the OR gate 9, so that the command processing device 6 handles the external interrupt signal. Interrupt command WC according to the signal is sent to data way 1
It is possible to send an interrupt to predetermined computers 2 and 3.

なお、上記実施例においては、計算機2で計算
機3のプログラムのデバツグ処理を実行する場合
について説明したが、これに限定されるものでは
なく、実際のシステムに組み込んだ際に、計算機
2,3側からデータウエイ1を介して割込要求コ
マンドをチヤネル4,5に送信することにより、
各チヤネル4,5から計算機2,3に対して割込
をかけることが可能となり、実際の計算機システ
ムの作動を想定して擬似的にシミユレートするこ
とができる外、例えば何らかの原因で計算機2,
3からオペレータによつて、オンラインシステム
に割込をかける如き必要が生じたときにも、ハー
ドウエアを全く変更することなく計算機側(例え
ば、計算機に備えられたオペレータコンソール)
から割込要求コマンドQCを送信することにより、
あたかも割込起動用スイツチを操作したと同じ動
作を実現することができる。
In the above embodiment, the case where the computer 2 executes the debugging process of the program of the computer 3 has been explained, but the invention is not limited to this. By sending an interrupt request command to channels 4 and 5 via data way 1,
It becomes possible to interrupt the computers 2 and 3 from each channel 4 and 5, and it is possible to simulate the operation of an actual computer system.
From 3 onwards, even when it is necessary for an operator to interrupt the online system, the computer side (for example, the operator console installed in the computer) can be used without changing the hardware at all.
By sending an interrupt request command QC from
It is possible to realize the same operation as if operating an interrupt activation switch.

また、データウエイ1に接続する計算機2,3
及びチヤネル4,5の数は、上記実施例に限定さ
れるものではなく、計算機及びチヤネル共に1以
上の任意数とすることができる。
Also, computers 2 and 3 connected to data way 1
The numbers of channels 4 and 5 are not limited to those in the above embodiments, and can be any number greater than or equal to 1 for both the computer and the channels.

〔発明の効果〕〔Effect of the invention〕

以上説明したように、この発明によれば、デー
タウエイに接続されたチヤネルに、データウエイ
を介して送信される割込要求コマンドを解析して
これに対応する割込コマンドをデータウエイに送
出する割込処理手段を設けることにより、割込機
能診断を行う計算機側から割込要求コマンドを送
信するだけで、チヤネル及び計算機間の割込機能
を診断することができ、従来方式のように、割込
試験用スイツチを設ける必要がないので、割込機
能診断を極めて容易に行うことができ、しかも、
そのための操作を簡易化することができる効果を
得ることができる。
As explained above, according to the present invention, an interrupt request command sent via a data way is analyzed to a channel connected to the data way, and a corresponding interrupt command is sent to the data way. By providing an interrupt processing means, the interrupt function between channels and computers can be diagnosed simply by sending an interrupt request command from the computer side that performs the interrupt function diagnosis. Since there is no need to provide a switch for interrupt testing, interrupt function diagnosis can be performed extremely easily.
The effect of simplifying the operation for that purpose can be obtained.

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

第1図は、従来例を示すブロツク図、第2図
は、この発明を適用し得る計算機システムの一例
を示すブロツク図、第3図は、割込制御手段を示
すブロツク図、第4図は、割込原因に対する割込
先の計算機番号の対応例を示す図、第5図及び第
6図は、コマンド処理装置の処理手順を示す流れ
図である。 1……データウエイ、2,3……計算機、4,
5……チヤネル、6……コマンド処理装置、6a
……計算機番号格納テーブル、7……割込起動用
レジスタ、8……外部割込線、9……オアゲー
ト、10……割込原因レジスタ、11……割込制
御手段。
Fig. 1 is a block diagram showing a conventional example, Fig. 2 is a block diagram showing an example of a computer system to which the present invention can be applied, Fig. 3 is a block diagram showing an interrupt control means, and Fig. 4 is a block diagram showing an example of a computer system to which the present invention can be applied. , 5 and 6 are flowcharts illustrating the processing procedure of the command processing device. 1... Data way, 2, 3... Calculator, 4,
5... Channel, 6... Command processing device, 6a
... Computer number storage table, 7 ... Interrupt activation register, 8 ... External interrupt line, 9 ... OR gate, 10 ... Interrupt cause register, 11 ... Interrupt control means.

Claims (1)

【特許請求の範囲】[Claims] 1 計算機及びチヤネルがデータウエイを介して
接続された計算機システムにおいて、前記チヤネ
ルに、前記計算機から前記データウエイを介して
送信される割込要求コマンドに応じて割込コマン
ドを発生させる割込制御手段を設け、該割込制御
手段から前記割込要求コマンド受信時に前記計算
機に前記割込コマンドを送出することによつて、
当該チヤネルの前記計算機に対する割込機能を前
記計算機において診断することを特徴とする計算
機システムにおける割込機能診断方式。
1. In a computer system in which a computer and a channel are connected via a dataway, an interrupt control means for generating an interrupt command to the channel in response to an interrupt request command transmitted from the computer via the dataway. and sending the interrupt command to the computer when receiving the interrupt request command from the interrupt control means,
An interrupt function diagnosis method in a computer system, characterized in that an interrupt function of the channel for the computer is diagnosed in the computer.
JP58229580A 1983-12-05 1983-12-05 Interruption function diagnostic system in computer system Granted JPS60122432A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP58229580A JPS60122432A (en) 1983-12-05 1983-12-05 Interruption function diagnostic system in computer system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP58229580A JPS60122432A (en) 1983-12-05 1983-12-05 Interruption function diagnostic system in computer system

Publications (2)

Publication Number Publication Date
JPS60122432A JPS60122432A (en) 1985-06-29
JPH0587850B2 true JPH0587850B2 (en) 1993-12-20

Family

ID=16894404

Family Applications (1)

Application Number Title Priority Date Filing Date
JP58229580A Granted JPS60122432A (en) 1983-12-05 1983-12-05 Interruption function diagnostic system in computer system

Country Status (1)

Country Link
JP (1) JPS60122432A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0945145A (en) * 1995-08-01 1997-02-14 Nec Corp Electromagnetic radiation countermeasure cable, connector, and cable connecting structure

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04211834A (en) * 1990-02-06 1992-08-03 Nec Corp External interruption simulating system by operating system

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5455335A (en) * 1977-10-13 1979-05-02 Fujitsu Ltd Channel unit with several diagnostic modes

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5455335A (en) * 1977-10-13 1979-05-02 Fujitsu Ltd Channel unit with several diagnostic modes

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0945145A (en) * 1995-08-01 1997-02-14 Nec Corp Electromagnetic radiation countermeasure cable, connector, and cable connecting structure

Also Published As

Publication number Publication date
JPS60122432A (en) 1985-06-29

Similar Documents

Publication Publication Date Title
US5022028A (en) Software verification apparatus
US4454577A (en) Linked data systems
US6279104B1 (en) Debugging system for parallel processed program and debugging method thereof
JPS6226734B2 (en)
JPH0587850B2 (en)
JPH10133914A (en) Computer system and device input/output simulator
JP2710777B2 (en) Test circuit for intermediate control unit
JP3348251B2 (en) I / O device
JPH0581087A (en) Processor monitoring system
JPS644211B2 (en)
JPS6095648A (en) Virtual fba pseudo processing device
JPH1040133A (en) Software simulator
JPS59202547A (en) Debugging device
JPH03144705A (en) Operation state monitor for programmable controller
JPS6146536A (en) Test and diagnose system of information processor
JPS63118964A (en) Information processor
JP2635637B2 (en) In-system memory test equipment
JPH04307637A (en) Pseudo channel device
JPS6248872B2 (en)
JPH01198148A (en) Emulator for testing bidirectional communication
JPS63276137A (en) Remote maintenance diagnosis system
JPH07191871A (en) System diagnostic system
JPH02176905A (en) Programmable controller
JPH0328936A (en) Diagnostic test system for information processor
JPH05143386A (en) Program debugging system