JPH0433105A - Program supervisory device for programmable controller - Google Patents

Program supervisory device for programmable controller

Info

Publication number
JPH0433105A
JPH0433105A JP2140200A JP14020090A JPH0433105A JP H0433105 A JPH0433105 A JP H0433105A JP 2140200 A JP2140200 A JP 2140200A JP 14020090 A JP14020090 A JP 14020090A JP H0433105 A JPH0433105 A JP H0433105A
Authority
JP
Japan
Prior art keywords
error
program
execution
processing
application program
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.)
Granted
Application number
JP2140200A
Other languages
Japanese (ja)
Other versions
JP2693019B2 (en
Inventor
Makoto Takahashi
誠 高橋
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.)
Toshiba Corp
Original Assignee
Toshiba 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 Toshiba Corp filed Critical Toshiba Corp
Priority to JP2140200A priority Critical patent/JP2693019B2/en
Publication of JPH0433105A publication Critical patent/JPH0433105A/en
Application granted granted Critical
Publication of JP2693019B2 publication Critical patent/JP2693019B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Retry When Errors Occur (AREA)
  • Safety Devices In Control Systems (AREA)
  • Programmable Controllers (AREA)

Abstract

PURPOSE:To continuously execute a program without the down or stop of a controller by starting an error processing program part execute din the highest priority level and giving the notice of error information to an application-side when the error occurs. CONSTITUTION:When he error occurs while a program execution processing part 1 executes the program, the error processing program part 2 is started and the execution of the program where the error occurs is interrupted. when the program cannot continuously be executed, execution is shifted to an error stop processing part 3. When the program can continuously be executed, subsequent execution is prohibited. An error degeneration processing part 4 fives the instruction of continuous execution from the subsequent program in accordance with the designation of the program part 2 and outputs degeneration information to an error degeneration information display part 5. A start request is given to an error restoration program part 7 by a signal from an error restoration timing circuit 6 and an error degeneration restoration processing part 8 outputs it to the display part 5. The program execution processing part 1 resumes execution from subsequent timing.

Description

【発明の詳細な説明】 [発明の目的] (産業上の利用分野) 本発明は複数のアプリケーションプログラムをいくつか
のプログラム実行優先度レベルに分割し、各レベルの優
先度にしたがって実行処理するプログラマブル争コント
ローラのプログラム監視装置に関する。
[Detailed Description of the Invention] [Objective of the Invention] (Industrial Application Field) The present invention is a programmable program that divides a plurality of application programs into several program execution priority levels and executes them according to the priority of each level. The present invention relates to a program monitoring device for a conflict controller.

(従来の技術) 従来のプログラマブル−コントローラにおいては、複数
のアプリケーションプログラムの実行処理を行なうこと
が可能である。この場合、アプリケーションプログラム
はいくつかのプログラム実行優先度レベルに分割され、
各レベルの優先度に従って実行処理されている。
(Prior Art) A conventional programmable controller is capable of executing a plurality of application programs. In this case, the application program is divided into several program execution priority levels,
Execution processing is performed according to each level of priority.

このアプリケーションプログラムでは、各種演算、シー
ケンス処理等を実行し、第3図にプログラマブル・コン
トローラ10のシステム構成例を示すように、伝送装置
ll、12や入出力(110)装置13を経由して制御
機器14を制御したり、またCR7表示装置15との入
出力処理を行ない、プロセス状態を監視することができ
る。そして、一般的に外部機器との入出力処理は、アプ
リケーションプログラムの実行と同期をとるために、ア
プリケーションプログラムの実行前に入力を行ない、実
行後に出力を行なうといった一括入出力処理がとられて
いる。また、応答性が要求される信号については、アプ
リケーションプログラムの中で直接入出力処理が行なわ
れている。
This application program executes various calculations, sequence processing, etc., and controls the programmable controller 10 via transmission devices 11 and 12 and input/output (110) device 13, as shown in FIG. It can control the equipment 14, perform input/output processing with the CR7 display device 15, and monitor process status. In general, input/output processing with external devices is performed in a batch manner, in which input is performed before the application program is executed, and output is performed after execution, in order to synchronize with the execution of the application program. . Furthermore, for signals that require responsiveness, direct input/output processing is performed within the application program.

しかしながら、このような従来のプログラマブル・コン
トローラにおけるアプリケーションプログラムの実行で
は、前述したように外部機器との間で一括または直接入
出力処理が行なわれており、この場合パリティエラーや
無応答エラー等が発生すると、コントローラはエラーダ
ウンまたは停止していた。また、メモリをアクセスをし
た時に、インデックス修飾によりメモリの境界を越えて
しまった場合や、演算処理時無効演算等のエラーか発生
した場合にも、コントローラはエラーダウンまたは停止
していた。
However, when an application program is executed in such a conventional programmable controller, input/output processing is performed collectively or directly with external devices as described above, and in this case, parity errors, non-response errors, etc. occur. Then the controller was down or stopped with an error. Furthermore, when accessing memory, if the memory boundary is exceeded due to index modification, or if an error such as an invalid operation occurs during arithmetic processing, the controller fails or stops due to an error.

一方、コントローラによっては、外部との入出力処理を
行なった時に、パリティエラーや無応答エラー等のエラ
ーが発生しても、これを無視してプログラムの実行を継
続するといった機能を有したものもあるが、それはコン
トローラ全体に対する設定(例えば、CPUの動作に対
してパリティチエツク等の機能を禁止するハードウェア
的な禁止)であった。
On the other hand, some controllers have a function that allows them to ignore errors such as parity errors or non-response errors and continue program execution when performing input/output processing with external devices. However, this is a setting for the entire controller (for example, a hardware prohibition that prohibits functions such as parity check for CPU operations).

(発明が解決しようとする課題) 以上のように従来では、外部機器との入出力によるエラ
ーが発生した場合、あるいはアプリケーションプログラ
ムの実行処理にエラーが発生したような場合に、コント
ローラがダウンまたは停止してしまうという問題があっ
た。
(Problem to be Solved by the Invention) As described above, in the past, when an error occurs due to input/output with an external device, or when an error occurs in the execution process of an application program, the controller goes down or stops. There was a problem with this.

本発明の目的は、外部機器との入出力によるエラーが発
生しても、またアプリケーションプログラムの実行処理
にエラーが発生したような場合でも、コントローラがダ
ウンまたは停止することなく継続実行させることが可能
なプログラマブル・コントローラのプログラム監視装置
を提供することにある。
An object of the present invention is to enable continuous execution without the controller going down or stopping even if an error occurs due to input/output with an external device or an error occurs in the execution process of an application program. An object of the present invention is to provide a program monitoring device for a programmable controller.

[発明の構成コ (課題を解決するための手段) 上記の目的を達成するために、本発明によるプログラマ
ブル争コントローラのプログラム監視装置は、アプリケ
ーションプログラムを解読し実行処理を行なうプログラ
ム実行処理手段と、プログラム実行処理手段によりアプ
リケーションプログラムを実行した時にエラーが発生し
た場合に、最優先で起動されるエラー処理プログラム手
段と、エラーが致命的エラーである場合に、アプリケー
ションプログラム全体の動作を停止するエラー停止処理
手段と、エラーの要因に応じて、外部入出力装置とのア
クセスを禁止したり、エラーの発生したアプリケーショ
ンプログラムの実行を切り離して次回の起動からアプリ
ケーションプログラムの実行を禁止するエラー縮退処理
手段と、エラー縮退処理手段におけるエラー縮退情報を
表示するエラー縮退情報表示手段と、エラー縮退情報表
示手段により表示されたエラー縮退状態を元の実行状態
に戻すエラー復帰タイミング信号を与えるエラー復帰タ
イミング手段と、エラー復帰タイミング手段からのエラ
ー復帰タイミング信号により起動されるエラー復帰プロ
グラム手段と、エラー復帰プログラム手段の起動により
プログラム実行処理手段に対して、禁止していた外部入
出力装置とのアクセスを許可したり、禁止していたアプ
リケーションプログラムの実行を許可して次回の起動か
らアプリケーションプログラムの実行を再開させるエラ
ー縮退復帰処理手段とを備えて構成している。
[Configuration of the Invention (Means for Solving the Problem) In order to achieve the above object, a program monitoring device for a programmable controller according to the present invention includes a program execution processing means for decoding and executing an application program; An error processing program means that is started with the highest priority when an error occurs when an application program is executed by the program execution processing means, and an error stop that stops the operation of the entire application program when the error is a fatal error. and an error regression processing means that prohibits access to external input/output devices or disconnects execution of an application program in which an error has occurred and prohibits execution of the application program from the next startup, depending on the cause of the error. , an error degeneracy information display means for displaying error degeneracy information in the error degeneracy processing means; an error restoration timing means for providing an error restoration timing signal for returning the error degeneracy state displayed by the error degeneration information display means to the original execution state; The error recovery program means is activated by the error recovery timing signal from the error recovery timing means, and the activation of the error recovery program means allows the program execution processing means to access the prohibited external input/output device. , and an error regression recovery processing means for permitting execution of the prohibited application program and restarting execution of the application program from the next startup.

(作用) 従って、本発明によるプログラマブル・コントローラの
プログラム監視装置においては、外部機器との入出力処
理によりエラーが発生した場合や、アプリケーションプ
ログラムの実行処理にエラーが発生した場合には、最優
先レベルで実行されるエラー処理プログラム手段が起動
されてエラー情報が通知される。これにより、アプリケ
ーション側ではエラー要因を解析し、エラーのあった入
出カメモリのアクセスまたはエラーのあったアプリケー
ションプログラムの実行を以後禁止する指定ができ、継
続実行させることができる。
(Function) Therefore, in the program monitoring device for a programmable controller according to the present invention, when an error occurs in input/output processing with an external device or an error occurs in execution processing of an application program, the highest priority level is The error processing program means executed in is activated and error information is notified. As a result, the application side can analyze the cause of the error and specify that the access to the input/output memory in which the error occurred or the execution of the application program in which the error occurred is prohibited from now on, and the application program can be continued to be executed.

また、この情報はエラー縮退情報表示手段へ表示され、
オペレータに対して確認・対策が促される。そして、オ
ペレータが対策をとった後に、エラー復帰タイミング信
号を与えることによってエラー復帰プログラム手段が起
動される。これにより、アプリケーション側では禁止し
ていた人出カメモリのアクセス、または禁止していたア
プリケーションプログラムの実行を再び許可にすること
ができ、コントローラがダウンまたは停止することなく
継続実行させることができる。
Additionally, this information is displayed on the error regression information display means,
The operator is prompted to check and take countermeasures. After the operator takes countermeasures, the error recovery program means is activated by providing an error recovery timing signal. As a result, access to the attendance memory that had been prohibited on the application side or execution of the prohibited application program can be permitted again, and the controller can be continuously executed without going down or stopping.

(実施例) 以下、本発明の一実施例について図面を参照して説明す
る。
(Example) Hereinafter, an example of the present invention will be described with reference to the drawings.

第2図は、プログラマブル・コントローラで実行処理す
るアプリケーションプログラムの優先度レベルの一構成
例を示す図である。なお、第2図はアプリケーションプ
ログラムを6つの優先度レベルに分割した例を示してお
り、1つのレベルはさらにN個のアプリケーションプロ
グラムから構成され実行処理される。
FIG. 2 is a diagram showing an example of a configuration of priority levels of application programs executed by a programmable controller. Note that FIG. 2 shows an example in which application programs are divided into six priority levels, and one level is further composed of N application programs to be executed.

第2図において、アプリケーションプログラムの実行優
先度は最優先度レベルにエラー処理1081次いで特別
処理10b1割り込み処理10C1高速スキヤン処理1
0d1低速スキヤン処理10e、バッチ処理10fとな
っている。
In FIG. 2, the execution priority of the application program is set to the highest priority level: error processing 1081, special processing 10b1, interrupt processing 10C1, high-speed scan processing 1
0d1 low-speed scan processing 10e and batch processing 10f.

第1図は、本発明によるプログラマブル・コントローラ
のプログラム監視装置の構成例を示すブロック図である
FIG. 1 is a block diagram showing an example of the configuration of a program monitoring device for a programmable controller according to the present invention.

本実施例のプログラム監視装置は、第1図に示すように
、プログラム実行処理部1と、エラー処理プログラム部
2と、エラー停止処理部3と、エラー縮退処理部4と、
エラー縮退情報表示部5と、エラー復帰タイミング回路
6と、エラー復帰プログラム部7と、エラー縮退復帰処
理部8とから構成している。
As shown in FIG. 1, the program monitoring device of this embodiment includes a program execution processing section 1, an error processing program section 2, an error stop processing section 3, an error regression processing section 4,
It consists of an error regression information display section 5, an error recovery timing circuit 6, an error recovery program section 7, and an error degradation recovery processing section 8.

二こで、プログラム実行処理部1は、一つ一つのアプリ
ケーションプログラムの命令語を解読し実行処理を行な
うものである。また、エラー処理プログラム部2は、プ
ログラム実行処理部1によりアプリケーションプログラ
ムを実行した時にエラーが発生した場合に、最優先で起
動されるものである。さらに、エラー停止処理部3は、
上記エラーが致命的エラーである場合に、アプリケーシ
ョンプログラム全体の動作を停止するものである。
The program execution processing unit 1 decodes the instruction words of each application program and executes them. Further, the error processing program section 2 is activated with the highest priority when an error occurs when the program execution processing section 1 executes an application program. Furthermore, the error stop processing unit 3
If the above error is a fatal error, the operation of the entire application program is stopped.

一方、エラー縮退処理部4は、上記エラーの要因に応じ
て、外部入出力装置とのアクセスを禁止したり、エラー
の発生したアプリケーションプログラムの実行を切り離
して次回の起動からアプリケーションプログラムの実行
を禁止するものである。また、エラー縮退情報表示部5
は、エラー縮退処理部4におけるエラー縮退情報を表示
するものである。さらに、エラー復帰タイミング回路6
は、エラー縮退情報表示部5により表示されたエラー縮
退状態を元の実行状態に戻すためのエラー復帰タイミン
グ信号を与えるものである。
On the other hand, the error regression processing unit 4 prohibits access to external input/output devices, or disconnects the execution of the application program in which the error occurred and prohibits the execution of the application program from the next startup, depending on the cause of the error. It is something to do. In addition, the error degradation information display section 5
Displays error degradation information in the error degradation processing section 4. Furthermore, the error recovery timing circuit 6
provides an error recovery timing signal for returning the error degradation state displayed by the error degradation information display unit 5 to the original execution state.

一方、エラー復帰プログラム部7は、エラー復帰タイミ
ング回路6からのエラー復帰タイミング信号により起動
されるものである。また、エラー縮退復帰処理部8は、
エラー復帰プログラム部7の起動によりプログラム実行
処理部1に対して、禁止していた外部入出力装置とのア
クセスを許可したり、禁止していたアプリケーションプ
ログラムの実行を許可して次回の起動からアプリケーシ
ョンプログラムの実行を再開させるものである。
On the other hand, the error recovery program section 7 is activated by an error recovery timing signal from the error recovery timing circuit 6. Further, the error degeneracy recovery processing unit 8
By starting the error recovery program section 7, the program execution processing section 1 is allowed to access the prohibited external input/output device, and the execution of the prohibited application program is permitted, so that the application program is restarted from the next startup. It restarts program execution.

次に、以上のように構成したプログラマブル・コントロ
ーラのプログラム監視装置における動作について説明す
る。
Next, the operation of the program monitoring device of the programmable controller configured as above will be explained.

まず、エラー処理プログラム部2とエラー復帰プログラ
ム部7は、アプリケーションプログラムの実行処理でエ
ラー処理レベル10aに組み込まれている。また、プロ
グラム実行処理部1でのアプリケーションプログラムの
実行は、各レベルの各プログラム毎にプログラム実行禁
止/許可フラグとプログラム起動要求数により実行処理
されている。さらに、外部機器との入出力は、外部人出
カメモリに対応した入出力禁止/許可テーブルを有し、
これに従って外部入出カメモリのアクセスが行なわれる
First, the error processing program section 2 and the error recovery program section 7 are incorporated into the error processing level 10a in the execution processing of the application program. Furthermore, the execution of application programs in the program execution processing unit 1 is executed based on the program execution prohibition/permission flag and the number of program start requests for each program at each level. Furthermore, for input/output with external devices, there is an input/output prohibition/permission table that corresponds to external person output memory.
Accordingly, the external input/output memory is accessed.

例えば、プログラム実行処理部1であるアプリケーショ
ンプログラムが実行されている時、何らかのエラーが発
生した場合にはエラー情報が生成され、エラー処理プロ
グラム部2に対して起動要求がかけられる。エラー処理
プログラム部2は最優先度レベルであるため、エラーの
発生したアプリケーションプログラムの実行を中断し、
エラー情報によりまずエラーの発生したアプリケーショ
ンプログラムを継続実行するかどうかが判断される。こ
の結果、継続実行できないと判断された場合には、エラ
ー停止処理部3へと実行が移され、コントローラはエラ
ーダウンする。一方、継続実行できると判断された場合
には、エラー情報によりエラーの起きた入出カメモリに
対してアクセスの禁止指定をしたり、またエラーの発生
したアプリケーションプログラムの実行を中止し、以後
の実行が禁止される。
For example, if an error occurs while an application program, which is the program execution processing unit 1, is being executed, error information is generated, and a startup request is issued to the error processing program unit 2. Since the error processing program section 2 has the highest priority level, it interrupts the execution of the application program where the error occurred,
Based on the error information, it is first determined whether to continue executing the application program in which the error occurred. As a result, if it is determined that continued execution is not possible, execution is transferred to the error stop processing unit 3, and the controller goes down due to an error. On the other hand, if it is determined that it is possible to continue execution, the error information specifies that access to the input/output memory where the error occurred is prohibited, or the execution of the application program where the error occurred is stopped, and subsequent execution is It is forbidden.

これにより、エラー縮退処理部4では、エラー処理プロ
グラム部2での指定に従って、実際の人出力アクセス禁
止/許可テーブルおよびプログラム実行管理テーブルに
設定し、プログラム実行処理部1に対してエラーのあっ
た次の命令語、もしくはエラーのあったプログラムが実
行禁止の場合は次のアプリケーションプログラムから、
継続実行するように指示が与えられる。さらに、エラー
による縮退情報がエラー縮退情報表示部5へ出力され、
オペレータに対して確認および対策が促される。このエ
ラー縮退情報表示部5では、コントローラにおけるエラ
ー縮退状態が一目でわかるようになっている。
As a result, the error degradation processing section 4 sets the actual human output access prohibition/permission table and the program execution management table according to the specifications in the error processing program section 2, and sets the information for the program execution processing section 1 where the error occurred. If the next instruction word or the program with the error is prohibited from execution, start from the next application program.
Instructions are given to continue execution. Further, error degradation information is output to the error degradation information display section 5,
The operator is prompted to check and take countermeasures. The error degradation information display section 5 allows the error degradation state in the controller to be seen at a glance.

次に、上述のエラー縮退処理により、オペレータがエラ
ー原因を究明して対策をとった後、エラー復帰タイミン
グ回路6からのエラー復帰タイミング信号により、エラ
ー復帰プログラム部7に対して起動要求がかけられる。
Next, after the operator investigates the cause of the error and takes countermeasures through the error regression process described above, a start request is issued to the error recovery program section 7 by the error recovery timing signal from the error recovery timing circuit 6. .

ここで、エラー復帰タイミング信号は、外部からの信号
(例えば、押ボタン等)または内部的に作られる信号で
ある。
Here, the error recovery timing signal is an external signal (for example, a push button, etc.) or an internally generated signal.

そして、起動要求がかけられたエラー復帰プログラムは
最優先度レベルであるため、その時実行していたアプリ
ケーションプログラムの実行が一時中断され、エラー復
帰プログラムが実行される(なお、エラー復帰プログラ
ムは、必ずしも最優先度レベルにある必要はない)。こ
のエラー復帰プログラム部7では、エラーにより禁止し
ていた人出カメモリのアクセスおよびプログラムの実行
を許可指定することができる。
Since the error recovery program that has been requested to start has the highest priority level, execution of the application program that is being executed at that time is temporarily suspended, and the error recovery program is executed (note that the error recovery program is not necessarily does not need to be at the highest priority level). This error recovery program section 7 can specify permission to access the attendance memory and execute a program that has been prohibited due to an error.

これにより、エラー縮退復帰処理部8では、エラー復帰
プログラム部7での指定にしたかって、実際の入出力ア
クセス禁止/許可テーブルおよびプログラム実行管理テ
ーブルに再設定し、またエラーによる縮退状態が解除さ
れたことがエラー縮退情報表示部5へ出力される。この
結果、プログラム実行処理部1では、次回のタイミング
から禁止していた入出カメモリのアクセスが再開され、
また禁止していたプログラムの起動要求があった時から
実行が再開されることになる。ただし、実行を再開した
ことにより再びエラーが発生した場合には、エラー処理
プログラム部2により再度エラー縮退処理されることに
なる。
As a result, the error degeneracy recovery processing unit 8 resets the actual input/output access prohibition/permission table and program execution management table according to the specifications in the error recovery program unit 7, and also releases the degeneracy state caused by the error. This information is output to the error degeneracy information display section 5. As a result, the program execution processing unit 1 resumes accessing the input/output memory that was prohibited from the next timing.
In addition, execution will be resumed from the moment a request to start the prohibited program is made. However, if an error occurs again as a result of restarting execution, the error processing program section 2 will perform the error degradation process again.

以上のように、アプリケーションプログラムで発生した
エラーは、エラー処理プログラム2により、−時入出力
アクセスを中止したり、プログラムの実行を中止して切
り離すこともでき、またエラー復帰プログラム部7によ
り、入出力アクセスの再開およびプログラムを再結合し
て実行させることができ、結果的にコントローラとして
は機能的な一時停止でエラーを回復することができる。
As described above, when an error occurs in an application program, the error processing program 2 can stop input/output access at - or stop the program execution and disconnect it, and the error recovery program section 7 can handle the input/output access The output access can be resumed and the program can be recombined and executed, and as a result, the controller can recover from the error with a functional pause.

上述したように、本実施例のプログラマブル・コントロ
ーラのプログラム監視装置においては、エラーが発生し
たような場合でも、最優先レベルで実行されるエラー処
理プログラム部2を起動してエラー情報をアプリケーシ
ョン側へ通知するようにしているため、エラーのあった
入出カメモリのアクセスまたはエラーのあったアプリケ
ーションプログラムの実行を以後禁止する指定ができ、
継続実行させることが可能となる。また、オペレータが
エラーを確認してその対策をとった後に、エラー復帰タ
イミング信号を与えてエラー復帰プログラム部7を起動
し、禁止していた入出カメモリのアクセスまたは禁止し
ていたアプリケーションプログラムの実行を再び許可に
するようにしているため、従来のように外部機器との入
出力処理によりエラーが発生したような場合や、アプリ
ケーションプログラムの実行処理にエラーが発生したよ
うな場合においても、コントローラがダウンまたは停止
することなく継続実行することが可能となる。
As described above, in the program monitoring device for the programmable controller of this embodiment, even when an error occurs, the error processing program section 2, which is executed at the highest priority level, is started and the error information is sent to the application side. Since the notification is made, it is possible to specify that access to the input/output memory where the error occurred or execution of the application program where the error occurred is prohibited from now on.
This allows continuous execution. After the operator confirms the error and takes countermeasures, the error recovery program section 7 is activated by giving an error recovery timing signal to access the prohibited input/output memory or execute the prohibited application program. Because it is enabled again, the controller will not go down even if an error occurs during input/output processing with an external device, or an error occurs during application program execution. Alternatively, it is possible to continue execution without stopping.

尚、上記実施例において、プログラム実行処理部1に、
エラー情報を監視する機能を付加することにより、エラ
ー復帰のタイミングを自動的に与えることが可能となる
In the above embodiment, the program execution processing unit 1 includes:
By adding a function to monitor error information, it becomes possible to automatically provide the timing for error recovery.

[発明の効果コ 以上説明したように本発明によれば、外部機器との入出
力によるエラーが発生しても、またアプリケーションプ
ログラムの実行処理にエラーが発生したような場合でも
、コントローラがダウンまたは停止することなく継続実
行させることが可能なプログラマブル・コントローラの
プログラム監視装置が提供できる。
[Effects of the Invention] As explained above, according to the present invention, even if an error occurs due to input/output with an external device or an error occurs in the execution process of an application program, the controller will not go down or A program monitoring device for a programmable controller that can be continuously executed without stopping can be provided.

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

第1図は本発明によるプログラマブル・コントローラの
プログラム監視装置の一実施例を示すブロック図、第2
図は同実施例におけるアプリケーションプログラムの優
先度レベルの構成例を示す図、第3図はプログラマブル
・コントローラのシステム構成例を示すブロック図であ
る。 1・・・プログラム実行処理部、2・・・エラー処理プ
ログラム部、3・・・エラー停止処理部、4・・・エラ
ー縮退処理部、5・・・エラー縮退情報表示部、6・・
・エラー復帰タイミング回路、7・・−エラー復帰プロ
グラム部、8・・・エラー縮退復帰処理部。 実行優先度 第1 図 出願人代理人 弁理士 鈴江武彦 第2図
FIG. 1 is a block diagram showing one embodiment of a program monitoring device for a programmable controller according to the present invention, and FIG.
This figure is a diagram showing an example of the configuration of the priority level of the application program in the same embodiment, and FIG. 3 is a block diagram showing an example of the system configuration of the programmable controller. DESCRIPTION OF SYMBOLS 1...Program execution processing unit, 2...Error processing program unit, 3...Error stop processing unit, 4...Error degradation processing unit, 5...Error degradation information display unit, 6...
- Error recovery timing circuit, 7... - error recovery program section, 8... error degeneracy recovery processing section. Execution priority Figure 1 Applicant's agent Patent attorney Takehiko Suzue Figure 2

Claims (1)

【特許請求の範囲】 複数のアプリケーションプログラムを複数のプログラム
実行優先度レベルに分割し、各レベルの優先度にしたが
って実行処理するプログラマブル・コントローラのプロ
グラムを監視する装置において、 前記アプリケーションプログラムを解読し実行処理を行
なうプログラム実行処理手段と、 前記プログラム実行処理手段によりアプリケーションプ
ログラムを実行した時にエラーが発生した場合に、最優
先で起動されるエラー処理プログラム手段と、 前記エラーが致命的エラーである場合に、前記アプリケ
ーションプログラム全体の動作を停止するエラー停止処
理手段と、 前記エラーの要因に応じて、外部入出力装置とのアクセ
スを禁止したり、エラーの発生したアプリケーションプ
ログラムの実行を切り離して次回の起動からアプリケー
ションプログラムの実行を禁止するエラー縮退処理手段
と、 前記エラー縮退処理手段におけるエラー縮退情報を表示
するエラー縮退情報表示手段と、 前記エラー縮退情報表示手段により表示されたエラー縮
退状態を元の実行状態に戻すエラー復帰タイミング信号
を与えるエラー復帰タイミング手段と、 前記エラー復帰タイミング手段からのエラー復帰タイミ
ング信号により起動されるエラー復帰プログラム手段と
、 前記エラー復帰プログラム手段の起動により前記プログ
ラム実行処理手段に対して、前記禁止していた外部入出
力装置とのアクセスを許可したり、禁止していたアプリ
ケーションプログラムの実行を許可して次回の起動から
アプリケーションプログラムの実行を再開させるエラー
縮退復帰処理手段と、 を備えて成ることを特徴とするプログラマブル・コント
ローラのプログラム監視装置。
[Scope of Claims] A device for monitoring programs of a programmable controller that divides a plurality of application programs into a plurality of program execution priority levels and executes them according to the priority levels of each level, the device decoding and executing the application programs. program execution processing means for performing processing; error processing program means that is activated with top priority when an error occurs when the application program is executed by the program execution processing means; and when the error is a fatal error. , an error stop processing means for stopping the operation of the entire application program, and depending on the cause of the error, prohibiting access to an external input/output device or disconnecting the execution of the application program in which the error has occurred and restarting the application program the next time. an error degradation processing means for prohibiting execution of an application program from the start; an error degradation information display means for displaying error degradation information in the error degradation processing means; error recovery timing means for supplying an error recovery timing signal to restore the state; error recovery program means activated by the error recovery timing signal from the error recovery timing means; and activation of the error recovery program means causing the program execution processing means to Error degradation recovery processing means that permits access to the prohibited external input/output device or permits execution of the prohibited application program and resumes execution of the application program from the next startup; A program monitoring device for a programmable controller, comprising:
JP2140200A 1990-05-30 1990-05-30 Program monitoring device for programmable controller Expired - Lifetime JP2693019B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2140200A JP2693019B2 (en) 1990-05-30 1990-05-30 Program monitoring device for programmable controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2140200A JP2693019B2 (en) 1990-05-30 1990-05-30 Program monitoring device for programmable controller

Publications (2)

Publication Number Publication Date
JPH0433105A true JPH0433105A (en) 1992-02-04
JP2693019B2 JP2693019B2 (en) 1997-12-17

Family

ID=15263246

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2140200A Expired - Lifetime JP2693019B2 (en) 1990-05-30 1990-05-30 Program monitoring device for programmable controller

Country Status (1)

Country Link
JP (1) JP2693019B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7171665B1 (en) 1999-09-02 2007-01-30 Canon Kabushiki Kaisha Display and acquisition of data, exchanged by interprocess, for the physical properties of a solar battery
JP2010515177A (en) * 2006-12-29 2010-05-06 マイクロソフト コーポレーション Automatic vulnerability detection and response

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7171665B1 (en) 1999-09-02 2007-01-30 Canon Kabushiki Kaisha Display and acquisition of data, exchanged by interprocess, for the physical properties of a solar battery
JP2010515177A (en) * 2006-12-29 2010-05-06 マイクロソフト コーポレーション Automatic vulnerability detection and response
US8453245B2 (en) 2006-12-29 2013-05-28 Microsoft Corporation Automatic vulnerability detection and response

Also Published As

Publication number Publication date
JP2693019B2 (en) 1997-12-17

Similar Documents

Publication Publication Date Title
JP2017187992A (en) Control device, control method and program
US7428660B2 (en) Starting control method, duplex platform system, and information processor
JPH0433105A (en) Program supervisory device for programmable controller
JP2965075B2 (en) Program execution status monitoring method
JP2004213122A (en) Stable operation method of control system by client/server and program therefor
JPS6136850A (en) Input and output interruption information system
JPS5920061A (en) Watchdog timer
JPS63255742A (en) Data processor
JP2730209B2 (en) I / O control method
JPH0581065A (en) Self diagnostic method for programmable controller system
JPS6116340A (en) Emergency operation device of processor system
JPH0212531A (en) Interruption control system for virtual computer
JPH03257638A (en) Multiprocessor control system
JPS62113238A (en) Correction system for program of electronic computer system
JPH0370030A (en) Configuration control system
JPH0447336A (en) Task synchronization controlling method for multi-task system
JPH0540666A (en) Interruption monitoring device for integrated circuit microprocessor
JPS62257545A (en) Supervisory timer control system
JPH0355638A (en) Watchdog timer
JPH01102630A (en) Comment display device
JPH01140344A (en) Information processor
JPH0225965A (en) Multi-processor stopping system
JPS6252642A (en) Microprocessor
JPS62106564A (en) Using/spare processor switching control system for information processing system
JPH0844584A (en) Testing system for computer

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20070905

Year of fee payment: 10

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080905

Year of fee payment: 11

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080905

Year of fee payment: 11

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090905

Year of fee payment: 12

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090905

Year of fee payment: 12

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100905

Year of fee payment: 13

EXPY Cancellation because of completion of term
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100905

Year of fee payment: 13