JPS61136142A - Memory method of input and output data - Google Patents
Memory method of input and output dataInfo
- Publication number
- JPS61136142A JPS61136142A JP59257502A JP25750284A JPS61136142A JP S61136142 A JPS61136142 A JP S61136142A JP 59257502 A JP59257502 A JP 59257502A JP 25750284 A JP25750284 A JP 25750284A JP S61136142 A JPS61136142 A JP S61136142A
- Authority
- JP
- Japan
- Prior art keywords
- input
- data
- output
- memory
- output data
- 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
Landscapes
- Testing And Monitoring For Control Systems (AREA)
- Debugging And Monitoring (AREA)
Abstract
Description
【発明の詳細な説明】
〔発明の利用分野〕
本発明は入出力データの記憶方法に係り、特にプロセス
制御用のコンピュータシステム又ハプロセス自体に異常
が発生し定時にその原因の解析を行うためのプロセスの
入出力データを記憶する方法に関する。[Detailed Description of the Invention] [Field of Application of the Invention] The present invention relates to a method for storing input/output data, and particularly to a method for storing input/output data, and particularly for analyzing the cause of an abnormality occurring in a computer system for process control or the process itself at regular intervals. The present invention relates to a method for storing input/output data of a process.
j%2図社、プロセス入出力信号5o、51と信号授受
を行うことによって、プロセスの状態を判断、制御する
コンピュータシステムの一般的な構成を示すブロック図
である。同図に於て、メインプロセッサ1はメモリ2上
のプログラムに従ってプロセス入出力信号50.51の
状態を入出力インターフェイス5、入出カモジュール6
(システムバスを通じて指定された番号(アドレス)
の入力信号を取り込み又指定された番号の出力信号をオ
ンオフする制御回路】を介してfみ賽きし、処理する。FIG. 2 is a block diagram showing a general configuration of a computer system that determines and controls the state of a process by exchanging signals with process input/output signals 5o and 51. In the figure, the main processor 1 transmits the status of process input/output signals 50 and 51 to the input/output interface 5 and the input/output module 6 according to the program on the memory 2.
(number (address) specified through the system bus)
The input signal is taken in and processed through a control circuit that turns on and off the output signal of the specified number.
70ツビーデイスク4及びそのコントローラ3は大容量
の補助メモリとして用いられる。The 70TB disk 4 and its controller 3 are used as a large capacity auxiliary memory.
このよう々プロセス入出力を取ジ扱うコンピュータシス
テムにおいて、プロセス仙jあるいはコンビユータ側に
異常が発生したときはその原因がプロセス側にあるのが
コンピュータ側のソフトあるいはハードに原因があるの
か迅速に判断する必要がある。In a computer system that handles process input and output, when an abnormality occurs on the process side or the computer side, it is necessary to quickly determine whether the cause is on the process side or on the computer side's software or hardware. There is a need to.
また異常の中には1れにしか起きない現象もあり、それ
をとらえてその時の入出力の変化の状態から原因を追究
する稟態もしばしは生じる。このような目的のために、
多チヤンネル記録計等を外部から接続してコンピュータ
が授受する入出力データのタイムチャートを長時間記録
することが行われているcしかしこのような従来方法で
は、現象がたまにしか起きない場合は記録紙のムダ使い
となることが各(かつ常時人間がついていなければなら
ない。又、記録出来る信号数(チャンネル数) も限ら
れるため、何回も記録する信号の組み合せを変化させな
いと原因が把えられないという不都合もあつ友。更に、
トラブル発生の瞬間のタイミングも別接続であるために
正確にはとらえにくいという欠点があった。Furthermore, some abnormalities occur only once, and it is often necessary to catch them and investigate the cause from the state of input/output changes at that time. For such purposes,
A multi-channel recorder or the like is connected externally to record time charts of input/output data sent and received by a computer over a long period of time. Paper is wasted, and a human must be present at all times.Also, the number of signals that can be recorded (number of channels) is limited, so the cause cannot be identified unless the combination of signals recorded many times is changed. There is also the inconvenience of not being able to receive a gift.Furthermore,
The problem was that it was difficult to accurately determine the timing of the occurrence of a problem because it was connected separately.
本発明の目的は、無人監視が可能で記録紙の無駄使いも
なく、かつ確実に異常発生時の入出力データを記録でき
るようにした入出力データの記憶方法を提供するにある
。SUMMARY OF THE INVENTION An object of the present invention is to provide an input/output data storage method that enables unattended monitoring, does not waste recording paper, and can reliably record input/output data when an abnormality occurs.
本発明は、コンピュータシステムの入出力インターフェ
イスにデータ記録用のサブマイクロプロセッサシステム
を設け、このシステムによってメインプロセッサが入出
力のアクセスをしていない間に入出力信号を一定周期で
サンプリングし、エンドレスでメモリに記憶させるとと
もに、毘常発生の条件をプログラムで指定しておき、こ
の異常条件が成立すると上記サンプリングを止めてその
前後の時点の入出力データの状態をメモリに確実に保持
できるようにし念ことを特徴とするものである。The present invention provides a sub-microprocessor system for data recording in the input/output interface of a computer system, and uses this system to sample input/output signals at a constant cycle while the main processor is not accessing the input/output. In addition to storing the abnormality in the memory, the conditions for the occurrence of the abnormality are specified in the program, and when this abnormal condition is met, the above sampling is stopped to ensure that the state of the input/output data at the time before and after the abnormality is retained in the memory. It is characterized by this.
以下、本発明を第1図の実施例によって説明する。第1
図において、システムバス7は第2図のそれと同じでる
り、またアドレスバス11、データバス12、アドレス
バッファ13、デコーダ14、リードデータバッファ1
5、ライトデータバッファ16、割込制御回路17、ペ
クタ番号発生部18等は第2南の入出力インターフェイ
ス5に相当する。この他の第2図の各部は第1肉では省
略されている力ζ同じように接続されているものとする
〇サブマイクロプロセッサ20、メモリ21、制御回路
22、ローカルアドレスバス23、ローカルデータバス
2A、シリアルインタフェース25、切換回路26デー
タパスバツ7ア27が本発明の方法を輿現するために設
けられた部分である。そしてメモリ21には、サブマイ
クロプロセッサ2゜を制御するプログラムと記録すべき
プロセス入出力番号や異常状態の検知条件等をシリアル
インターフェイス25を介してセットしておく。このよ
うな構成に於て、メインプロセッサがデータ入出力を行
っていない時、サブマイクロプロセッサ2゜はセットさ
れ友入出力番号をローカルアドレスバス23、切換回路
26を通して順次サイクリックに指定し、その時指定さ
れた入出力信号の状態が入出カモジュールからリードデ
ータバッファ15、データバスバッファ27、ローカル
データバス24を通じてメモリ21に記憶される。メイ
ンプロセッサがプロセス入出力信号をリード又はライト
するときは、サブマイクロプログラム20は即座にサン
プリングを中断して待機状態に入り、メインプロセッサ
のリード又はライトが終ると、前回のプロセス入出力番
号の指定に戻って再スタートする。又、メモリ21への
記憶はエンドレス方式とし、記憶エリアの最終番地1で
行ったら、吊初のメモリ番地へ戻るようにしておく。メ
そす容量は、サンプリングする入出力信号の点数、サン
プリング周期(可変)、記録すべき時間等圧より任意に
選べるよう和しておく。The present invention will be explained below with reference to the embodiment shown in FIG. 1st
In the figure, the system bus 7 is the same as that in FIG.
5, the write data buffer 16, the interrupt control circuit 17, the vector number generator 18, etc. correspond to the second south input/output interface 5. It is assumed that the other parts in FIG. 2 are connected in the same way as the power ζ omitted in the first part.〇 Sub-microprocessor 20, memory 21, control circuit 22, local address bus 23, local data bus 2A, a serial interface 25, a switching circuit 26, and a data path 7a 27 are the parts provided to realize the method of the present invention. A program for controlling the sub-microprocessor 2°, process input/output numbers to be recorded, abnormal state detection conditions, etc. are set in the memory 21 via the serial interface 25. In such a configuration, when the main processor is not performing data input/output, the sub microprocessor 2 is set and sequentially and cyclically designates the friend input/output number through the local address bus 23 and the switching circuit 26, and then The state of the specified input/output signal is stored in the memory 21 from the input/output module via the read data buffer 15, data bus buffer 27, and local data bus 24. When the main processor reads or writes a process input/output signal, the sub-microprogram 20 immediately interrupts sampling and enters a standby state. When the main processor finishes reading or writing, the sub-microprogram 20 specifies the previous process input/output number. Go back and restart. Further, storage in the memory 21 is performed in an endless manner, so that when the storage area is stored at the last address 1, it returns to the first memory address. The storage capacity is summed so that it can be arbitrarily selected from the number of input/output signal points to be sampled, the sampling period (variable), and the equal pressure of the time to be recorded.
このような動作を常時行っている時に、プロセス又はコ
ンピュータシステムに異常が発生してセラlれた検知条
件が成立すると、マイクロプロセッサ20は、サンプリ
ングを中止し、その時点でのデータをメモ!721に保
存する。従ってこのメモリ21に保存された入出力デー
タをシリアルインタフェース25を介してモニタすれば
、容易に異常の原因解析のためのデータが得られる。な
おこのモニタは、別のマイクロコンピュータを用いて実
行してもよいし、メインプロセッサのシリアルインター
フェイスと接続してもよい。或いはメインプロセッサへ
直接転送するような回路を付加することもできる。While such operations are being performed all the time, if an abnormality occurs in the process or the computer system and a failure detection condition is established, the microprocessor 20 stops sampling and memorizes the data at that point! 721. Therefore, by monitoring the input/output data stored in the memory 21 via the serial interface 25, data for analyzing the cause of an abnormality can be easily obtained. Note that this monitor may be executed using a separate microcomputer or may be connected to a serial interface of the main processor. Alternatively, it is also possible to add a circuit that directly transfers data to the main processor.
以上の実施例から明らかなように、本発明によれば、不
規則的又は1れに発生するような異常に対しても無人監
視が可能となり、また記録紙をむだに消費しなくても確
実に異常の原因解明のためのデータが得られるという効
果がある。As is clear from the above embodiments, according to the present invention, unmanned monitoring is possible even for abnormalities that occur irregularly or once in a while, and it is possible to perform unmanned monitoring without wasting recording paper. This has the effect of providing data for elucidating the causes of abnormalities.
南面の簡単な説明
第1図は本発明の一実施例を示す図、第2図は従来の制
御用コンピュータシステムのブロック図である。Brief Description of the South Side FIG. 1 is a diagram showing an embodiment of the present invention, and FIG. 2 is a block diagram of a conventional control computer system.
20・・・サブマイクロプロセッサ、21・・・メモリ
、22・・・制御回路、25・・・シリアルインターフ
エイ第 1 目20...Sub microprocessor, 21...Memory, 22...Control circuit, 25...Serial interface 1st
Claims (1)
してプロセスと授受するデータを収集記憶するためのサ
ブシステムを設け、該サブシステムに少なくとも収率す
べき入出力データの番号とコンピュータシステムまたは
プロセスの異常を検知するための検知条件とを予め設定
するとともに、上記サブシステムは、コンピュータシス
テム及びプロセスの正常時でかつコンピュータシステム
がプロセスし出力データの授受を行つていない時には設
定された番号の入出力データを順次サイクリックにとり
込んで自システム内のメモリにエンドレス方式で格納し
、設定された検知条件が成立した時には入出力データの
とり込みを中断してその時点までにとり込んだデータを
保持するようにしたことを特徴とする入出力データの記
憶方法。A subsystem is provided for collecting and storing data exchanged between a control computer system and a process via an interface, and the subsystem detects at least the number of input/output data to be returned and abnormalities in the computer system or process. In addition to setting detection conditions in advance, the above subsystem sequentially sends input/output data of set numbers when the computer system and process are normal and when the computer system is not processing or transmitting or receiving output data. Data is captured cyclically and stored in the memory within the own system in an endless manner, and when the set detection conditions are met, the capture of input/output data is interrupted and the data captured up to that point is retained. An input/output data storage method characterized by:
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP59257502A JPS61136142A (en) | 1984-12-07 | 1984-12-07 | Memory method of input and output data |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP59257502A JPS61136142A (en) | 1984-12-07 | 1984-12-07 | Memory method of input and output data |
Publications (1)
Publication Number | Publication Date |
---|---|
JPS61136142A true JPS61136142A (en) | 1986-06-24 |
Family
ID=17307180
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP59257502A Pending JPS61136142A (en) | 1984-12-07 | 1984-12-07 | Memory method of input and output data |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPS61136142A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS6336446A (en) * | 1986-07-31 | 1988-02-17 | Nec Corp | Data processor |
-
1984
- 1984-12-07 JP JP59257502A patent/JPS61136142A/en active Pending
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS6336446A (en) * | 1986-07-31 | 1988-02-17 | Nec Corp | Data processor |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP2519276B2 (en) | Failure information collection processing method | |
JPS61136142A (en) | Memory method of input and output data | |
JPS6231447A (en) | Bus analyzer | |
JP4484417B2 (en) | Debug system | |
JPS5849899B2 (en) | Test method for data processing equipment | |
JPH11119992A (en) | Trace controller for firmware | |
JPH0553881A (en) | Log-out system | |
JPH11134261A (en) | Input and output controller | |
JPS63118964A (en) | Information processor | |
JPS60142754A (en) | Programming device | |
JPH05298199A (en) | Input/output control device | |
JPH0244436A (en) | Information processing monitoring system | |
JPH04333963A (en) | Fault processing system | |
JPH08179816A (en) | Distributed control system | |
JPH0496832A (en) | Fault information gathering device | |
JPH02173837A (en) | Reserving system for fault information of computer system | |
JPS6269344A (en) | Control system for input and output device | |
JPH05113949A (en) | Bus data collection system | |
JPH05252237A (en) | Collection system for communication trace data | |
WO1989002100A1 (en) | Signal trace control system for pmc | |
JPH0619733B2 (en) | Tracer device | |
JPH02220143A (en) | Personal computer system | |
JPH05114035A (en) | Response information processing system | |
JPS63305437A (en) | System state tracer | |
JPH0637866A (en) | Communication control system between svp and mp |