JPS61224047A - Overflow warning interruption system - Google Patents
Overflow warning interruption systemInfo
- Publication number
- JPS61224047A JPS61224047A JP60065607A JP6560785A JPS61224047A JP S61224047 A JPS61224047 A JP S61224047A JP 60065607 A JP60065607 A JP 60065607A JP 6560785 A JP6560785 A JP 6560785A JP S61224047 A JPS61224047 A JP S61224047A
- Authority
- JP
- Japan
- Prior art keywords
- signal
- warning interruption
- overflow
- warning
- interrupt
- 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
- Debugging And Monitoring (AREA)
Abstract
Description
【発明の詳細な説明】
〔産業上の利用分野〕
本発明はプログラム動作の正常性を監視するための、プ
ログラム暴走監視タイマーTFのオーバーフロー予告割
込方式改良に関する。DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to an improved overflow notice interrupt method for a program runaway monitoring timer TF for monitoring the normality of program operation.
一般に電子・通信機器の一重化システムに於いて、TF
オーバーフローになるとシステムリセットにより、オー
バーフローの原因情報も消えてしまう。この事はプログ
ラムのバグ探索上支障を来すので、これを防止する為シ
ステムリセット直前の予告割込方式によりオーバーフロ
ー原因の情報を外部記憶装置にロギング処理することと
しているが、その直後に続いて発生した同一事象による
予告割り込みで、ロギング中の先の情報が上塗りされて
しまう事の対策が強く要望されている。Generally, in a unified system of electronic/communication equipment, TF
When an overflow occurs, the system resets and the information about the cause of the overflow is also erased. This poses a problem when searching for bugs in the program, so in order to prevent this, information on the cause of the overflow is logged to an external storage device using a warning interrupt method immediately before system reset. There is a strong demand for a countermeasure to prevent the previous information being logged from being overwritten due to a warning interrupt caused by the same event occurring.
第2図は従来例のオーバーフロー予告割込方式を示すブ
ロック図である。FIG. 2 is a block diagram showing a conventional overflow notice interrupt system.
図中1はTF、2は時間計数器、3は時間指定器、4は
アンド素子、5は予告割込用フリップフロップを示す。In the figure, 1 is a TF, 2 is a time counter, 3 is a time designator, 4 is an AND element, and 5 is a flip-flop for advance notice interrupt.
通常TFIにクロック信号CPが入力されると時間計数
器2は信号をカウントし、プログラム動作正常ならば一
定間隔のクリア信号CRP入力でプログラムがクリアす
ると共に、時間計数器2も解除され併せてプログラム動
作の正常性監視も行える。もしプログラム動作に異常が
あった場合はクリア信号CRPが入力されないので、時
間計数器2は継続登算しオーバーフローになるが、その
時の値より僅かに小さく時間指定器3の予告割込時間値
を設定すると、アンド素子4は両値を比較し同一と判断
した場合、予告割込信号PRIを予告割込用フリップフ
ロップ5へ出し、オーバーフローの原因情報を外部記憶
装置にロギングする予告割込処理がなされる。Normally, when the clock signal CP is input to the TFI, the time counter 2 counts the signal, and if the program operation is normal, the program is cleared by inputting the clear signal CRP at regular intervals, and the time counter 2 is also canceled and the program is programmed. You can also monitor the normality of the operation. If there is an abnormality in the program operation, the clear signal CRP will not be input, so the time counter 2 will continue to register and overflow, but the advance interrupt time value of the time designator 3 will be set slightly smaller than the value at that time. When set, the AND element 4 compares the two values, and when it is determined that they are the same, sends the advance notice interrupt signal PRI to the advance notice interrupt flip-flop 5, and performs advance notice interrupt processing that logs the cause information of the overflow in the external storage device. It will be done.
しかしながら、予告割込処理中に引き続きオーバーフロ
ーが起こった場合、上記と同様な動作が再度行われるの
で、先にロギングした情報が上塗りされてしまい、最初
のオーバーフロー原因の解析が不可能となってしまう問
題点がある。However, if an overflow continues to occur during the warning interrupt processing, the same operation as above is performed again, and the previously logged information is overwritten, making it impossible to analyze the cause of the initial overflow. There is a problem.
上記問題点は、予告割込信号PRIをアンド素子により
監視し、その出力側に接続した割込サプレス用フリップ
フロップからの出力信号によって、前記素子のゲートを
開閉する事により再予告割込を防止するようにした、本
発明により解決される。The above problem is solved by monitoring the advance notice interrupt signal PRI by an AND element, and opening and closing the gate of the element in response to the output signal from the interrupt suppressing flip-flop connected to the output side of the AND element, thereby preventing further advance notice interrupts. This problem is solved by the present invention.
本発明によれば、最初の予告割込があった場合直ちに割
込サプレス用フリップフロフプをセットすると、予告割
込信号PRIを監視しているアンド素子のゲートは閉ら
れる為、以後続いて予告割込信号PRIの入力があって
も割込動作には到らないので、再予告割込を防止する事
が出来る。According to the present invention, if the flip-flop for interrupt suppression is set immediately when the first advance notice interrupt occurs, the gate of the AND element that monitors the notice interrupt signal PRI is closed, so that no advance notice interrupts occur successively. Even if the signal PRI is input, the interrupt operation does not occur, so it is possible to prevent further advance notice interrupts.
以下図面に示す実施例に依り、本発明の内容を具体的に
説明する。The contents of the present invention will be specifically explained below with reference to embodiments shown in the drawings.
第1図は本発明になる予告割り込み方式のブロック図で
あり、図中6はアンド素子、7は予告割込サプレス用フ
リップフロップ、8は遅延線を示す。尚、企図を通じて
同一符号は同一対象物を示す。FIG. 1 is a block diagram of the advance notice interrupt system according to the present invention, in which 6 indicates an AND element, 7 a flip-flop for suppressing advance notice interrupts, and 8 a delay line. Note that the same reference numerals refer to the same objects throughout the plan.
図中TFIにクロック信号CPがあると、時間計数器2
は信号をカウントし、プログラム正常ならば一定間隔の
入力クリア信号CRPで、・プログラムはクリアされる
と共に時間計数器2も解除されるが、もしプログラム動
作に異常があった場合はクリア信号CRPが入力されな
いので時間計数器2は継続登算し、時間指定器3の予告
割込時間値との一致をアンド素子4で確認し予告割込信
号PRIをアンド素子6へ入力する。この時アンド素子
6はシステム初期設定によるリセット信号SRPで、ゲ
ートは開いているため予告割込用フリップフロップ5は
動作し、オーバーフローの原因情報を外部記憶装置へロ
ギング出来ると共に、予告割込サプレス用フリップフロ
ップ7もセントされる。上記の予告割込処理中に、継続
して次の予告割込信号PRIがアンド素子6に入力され
ても、予告割込サプレス用フリップフロップ7からのセ
ット信号5ETPによって、アンド素子6のゲートは入
力を異レベル判断し閉じているので、予告割込用フリッ
プフロップ5は動作せず先の予告割込処理は確実に行わ
れる。In the figure, when the clock signal CP is present at TFI, the time counter 2
counts the signals, and if the program is normal, the input clear signal CRP is sent at fixed intervals.The program is cleared and the time counter 2 is also canceled, but if there is an abnormality in the program operation, the clear signal CRP is sent. Since no input is made, the time counter 2 continues to register, and the AND element 4 confirms that it matches the advance notice interrupt time value of the time designator 3, and inputs the advance notice interrupt signal PRI to the AND element 6. At this time, the AND element 6 receives the reset signal SRP according to the system initial setting, and the gate is open, so the flip-flop 5 for advance notice interrupt operates, and the cause information of the overflow can be logged to the external storage device, and the cause information for advance notice interrupt can be logged to the external storage device. Flip-flop 7 is also cented. Even if the next advance notice interrupt signal PRI is continuously input to the AND element 6 during the above advance notice interrupt processing, the gate of the AND element 6 is Since the input is determined to be at a different level and closed, the flip-flop 5 for advance notice interrupt does not operate and the previous advance notice interrupt processing is reliably performed.
更に、予告割込用フリップフロップ5が不動作の後に続
いて起こるオーバーフローのシステム初期設定により、
予告割込サプレス用フリップフロップ7の端子Rヘリセ
ット信号SRPが入力され、アンド素子6のゲートは元
どおりとなっている。Furthermore, due to the system initialization of the overflow that occurs after the advance notice interrupt flip-flop 5 becomes inoperable,
The terminal R reset signal SRP of the advance interrupt suppressing flip-flop 7 is input, and the gate of the AND element 6 is restored to its original state.
尚、遅延線8は予告割込用フリップフロップ5の動作を
確実にする為、予告割込サプレス用フリップフロップ7
からアンド素子6への信号に適性な遅延を与える為のも
のである。Note that the delay line 8 is connected to a flip-flop 7 for suppressing advance notice interrupts in order to ensure the operation of the flip-flop 5 for advance notice interrupts.
This is to give an appropriate delay to the signal from the gate to the AND element 6.
以上詳細に説明したとおり本発明によれば、プログラム
の異常動作による予告割込時のロギングが確実に出来る
。As described in detail above, according to the present invention, logging can be reliably performed at the time of a notice interruption due to an abnormal operation of a program.
第1図は本発明の実施例の
オーバーフロー予告割込方式、
第2図は従来例のオーバーフロー予告割込方式のブロッ
ク図である。
図において、
1はTF(プログラム暴走監視タイマー)2は時間計数
器、
3は時間指定器、
4.6はアンド素子、
5は予告割込用フリップフロップ、
7は予告割込サプレス用フリップフロップ、8は遅延線
を示す。FIG. 1 is a block diagram of an overflow notice interrupt method according to an embodiment of the present invention, and FIG. 2 is a block diagram of a conventional overflow notice interrupt method. In the figure, 1 is a TF (program runaway monitoring timer), 2 is a time counter, 3 is a time designator, 4.6 is an AND element, 5 is a flip-flop for advance notice interrupt, 7 is a flip-flop for advance notice interrupt suppression, 8 indicates a delay line.
Claims (1)
グラム暴走監視方式に於いて、プログラム動作の異常で
時間計数器のオーバーフローを予告する予告割込信号を
アンド素子の一方の端子に入力し、該アンド素子の出力
側に予告割込抑制用フリップフロップを設け、該フリッ
プフロップの出力を該アンド素子のもう一方に入力させ
るフィードバック回路を設けた事を特徴とする、オーバ
ーフロー予告割込方式。In a program runaway monitoring method that monitors the normality of program operation by time counting, a warning interrupt signal that foretells an overflow of the time counter due to an abnormality in program operation is input to one terminal of an AND element. An overflow notice interrupt system, characterized in that a flip-flop for suppressing notice interrupts is provided on the output side of the device, and a feedback circuit is provided for inputting the output of the flip-flop to the other side of the AND element.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP60065607A JPS61224047A (en) | 1985-03-29 | 1985-03-29 | Overflow warning interruption system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP60065607A JPS61224047A (en) | 1985-03-29 | 1985-03-29 | Overflow warning interruption system |
Publications (1)
Publication Number | Publication Date |
---|---|
JPS61224047A true JPS61224047A (en) | 1986-10-04 |
Family
ID=13291867
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP60065607A Pending JPS61224047A (en) | 1985-03-29 | 1985-03-29 | Overflow warning interruption system |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPS61224047A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20110287193A1 (en) * | 2008-10-23 | 2011-11-24 | Nederlandse Organisatie Voor Toegepast- Natuurwetenschappelijk Onderzoek Tno | Apparatus and method for treating an object |
-
1985
- 1985-03-29 JP JP60065607A patent/JPS61224047A/en active Pending
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20110287193A1 (en) * | 2008-10-23 | 2011-11-24 | Nederlandse Organisatie Voor Toegepast- Natuurwetenschappelijk Onderzoek Tno | Apparatus and method for treating an object |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US5638510A (en) | Multiplexed system with watch dog timers | |
JPS6152496B2 (en) | ||
JP2593915B2 (en) | Double microcomputer system runaway prevention circuit | |
JPS61224047A (en) | Overflow warning interruption system | |
JPS60192447A (en) | Faulty data reception preventing circuit | |
JPS5878239A (en) | Operation controlling circuit | |
JPH04148246A (en) | Watchdog timer | |
JPS61249152A (en) | Program run-away processing system | |
JP2516711B2 (en) | Watchdog timer device | |
JPH04283841A (en) | Microcomputer external output circuit | |
JP3087678B2 (en) | Fault handling system | |
JP2699761B2 (en) | Microcomputer external output circuit | |
JP2752814B2 (en) | Watchdog disconnection alarm processing device | |
JPS6389901A (en) | Control circuit for programmable controller | |
JPS61255445A (en) | Cpu supervisory circuit | |
JPH0457125A (en) | Computer system | |
JPS59148961A (en) | Monitoring system of operation of processor | |
JPH04236637A (en) | Microprocessor fault detecting circuit | |
JPS5833967B2 (en) | Microprocessor operation monitoring method | |
JPH0277854A (en) | Resetting system for microprocessor | |
JPH0293738A (en) | Interruption processing system | |
JPS60243751A (en) | Supervisory circuit of incorrect interruption in computer | |
JPH08235074A (en) | Signal processor | |
JPS6252647A (en) | Monitoring system for run away of microprocessor | |
JPS6052110A (en) | Circuit for preventing malfunction due to noise |