JPH05189001A - Controller - Google Patents

Controller

Info

Publication number
JPH05189001A
JPH05189001A JP4002807A JP280792A JPH05189001A JP H05189001 A JPH05189001 A JP H05189001A JP 4002807 A JP4002807 A JP 4002807A JP 280792 A JP280792 A JP 280792A JP H05189001 A JPH05189001 A JP H05189001A
Authority
JP
Japan
Prior art keywords
control information
memory circuit
operation memory
controller
microprocessor
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
Application number
JP4002807A
Other languages
Japanese (ja)
Inventor
Mitsugi Ueno
貢 上野
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 JP4002807A priority Critical patent/JPH05189001A/en
Publication of JPH05189001A publication Critical patent/JPH05189001A/en
Pending legal-status Critical Current

Links

Landscapes

  • Techniques For Improving Reliability Of Storages (AREA)
  • Retry When Errors Occur (AREA)
  • Safety Devices In Control Systems (AREA)

Abstract

PURPOSE:To exert no adverse influence upon a process by preventing a microprocessor from running away even if some abnormality occurs to new control information which is received through a transmission line. CONSTITUTION:When control information stored in an operation memory circuit 8 is rewritten, the control information stored in the operation memory circuit 8 is saved in a buffer memory circuit 9 and new control information is written in the operation memory circuit 8. If this control information becomes abnormal, the microprocessor 1 puts the last control information saved in the buffer memory 9 back to the operation memory circuit 8 and the control process is restarted according to the control information.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明はプロセス制御等に用いら
れる調節計に関し、特に制御情報を格納するメモリを2
つ以上持ち、新たに供給された制御情報に異常があって
も暴走しないようにした調節計に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a controller used for process control or the like, and more particularly to a controller for storing control information.
The present invention relates to a controller having one or more and preventing a runaway even if the newly supplied control information is abnormal.

【0002】[0002]

【従来の技術】一般に、マイクロプロセッサを内蔵した
調節計では、制御機能がプログラマブル形になっている
ため、システムに合わせて制御機能を構築し、これによ
って各種のシステムに最適な調節計を作ることができる
ようになっている。
2. Description of the Related Art Generally, in a controller with a built-in microprocessor, the control function is programmable. Therefore, the controller function should be constructed according to the system, and the controller suitable for various systems should be made by this. You can do it.

【0003】図3はこのようなマイクロプロセッサを内
蔵した調節計の一例を示すブロック図である。
FIG. 3 is a block diagram showing an example of a controller incorporating such a microprocessor.

【0004】この図に示す調節計は各種の処理を行なう
マイクロプロセッサ101と、このマイクロプロセッサ
101の動作を規定する基本プログラムや各種の定数デ
ータが格納されているROM102と、伝送ライン10
3を介してプログラム作成装置104から出力される制
御情報(調節動作プログラム)を受信する伝送インタフ
ェース回路106と、バス107を介して前記伝送イン
タフェース回路106から制御情報を取り込んで記憶す
るRAM108とを備えており、プログラム作成装置1
04から新たな制御情報が出力される毎に、伝送ライン
103を介して伝送インタフェース回路106によって
これを受信してRAM108に格納し、この格納動作が
終了した時点で、マイクロプロセッサ101によって前
記RAM108に格納されてる新たな制御情報に基づい
て制御対象となる機器(図示は省略する)の制御を開始
する。
The controller shown in this figure has a microprocessor 101 for performing various processes, a ROM 102 for storing a basic program defining the operation of the microprocessor 101 and various constant data, and a transmission line 10.
3, a transmission interface circuit 106 for receiving control information (adjustment operation program) output from the program creation device 104 via a memory 3, and a RAM 108 for storing and storing control information from the transmission interface circuit 106 via a bus 107. And program creation device 1
Each time new control information is output from 04, it is received by the transmission interface circuit 106 via the transmission line 103 and stored in the RAM 108, and when the storing operation is completed, the microprocessor 101 stores it in the RAM 108. Based on the new control information stored, control of the device (not shown) to be controlled is started.

【0005】[0005]

【発明が解決しようとする課題】しかしながら、上述し
た従来の調節計においては、伝送ライン103を介して
受信した新たな制御情報になんらかの異常があるとき、
これを受信した時点で調節計のマイクロプロセッサ10
1が暴走してプロセスに多大な悪影響を与えてしまうと
いう問題があった。
However, in the above-described conventional controller, when there is some abnormality in the new control information received via the transmission line 103,
Upon receiving this, the microprocessor 10 of the controller
There is a problem that 1 runs away and has a great adverse effect on the process.

【0006】本発明は上記の事情に鑑み、伝送ラインを
介して受信した新たな制御情報になんらかの異常があっ
ても、マイクロプロセッサが暴走しないようにすること
ができ、これによって新たな制御情報が異常であっても
プロセスに対し悪影響を与えないようにすることができ
る調節計を提供することを目的としている。
In view of the above situation, the present invention can prevent the microprocessor from running out of control even if there is any abnormality in the new control information received via the transmission line. It is an object of the present invention to provide a controller that can prevent a process from being adversely affected even if it is abnormal.

【0007】[0007]

【課題を解決するための手段】上記の目的を達成するた
めに本発明による調節計は、動作メモリ回路に格納され
ている制御情報に基づいて制御対象となっている機器を
制御する調節計において、前記動作メモリ回路に格納さ
れている制御情報を書き換えるとき、前記動作メモリ回
路に格納されている前の制御情報が退避されるバッファ
メモリ回路と、前記動作メモリ回路に格納した新たな制
御情報に異常があったとき、前記バッファメモリ回路に
退避させていた前の制御情報を前記動作メモリ回路に戻
す情報復元部とを備えたことを特徴としている。
In order to achieve the above object, a controller according to the present invention is a controller for controlling a device to be controlled based on control information stored in an operation memory circuit. , When rewriting the control information stored in the operation memory circuit, a buffer memory circuit in which the previous control information stored in the operation memory circuit is saved and a new control information stored in the operation memory circuit. When there is an abnormality, there is provided an information restoring unit for returning the control information saved in the buffer memory circuit to the operation memory circuit.

【0008】[0008]

【作用】上記の構成において、動作メモリ回路に格納さ
れている制御情報を書き換えるとき、前記動作メモリ回
路に格納されている前の制御情報がバッファメモリ回路
に退避されるとともに、前記動作メモリ回路に新たな制
御情報が書き込まれ、この制御情報に異常があったと
き、情報復元部によって前記バッファメモリ回路に退避
させていた前の制御情報が前記動作メモリ回路に復元さ
れて、この制御情報に基づいて制御処理が再開される。
In the above structure, when the control information stored in the operation memory circuit is rewritten, the previous control information stored in the operation memory circuit is saved in the buffer memory circuit, When new control information is written and there is an abnormality in this control information, the information restoring unit restores the previous control information saved in the buffer memory circuit to the operation memory circuit, and based on this control information. Control processing is restarted.

【0009】[0009]

【実施例】図1は本発明による調節計の一実施例を示す
ブロック図である。
1 is a block diagram showing an embodiment of a controller according to the present invention.

【0010】この図に示す調節計は各種の処理を行なう
マイクロプロセッサ1と、このマイクロプロセッサ1の
動作を規定する基本プログラムや各種の定数データが格
納されているROM2と、伝送ライン3を介してプログ
ラム作成装置4から出力される制御情報(調節動作プロ
グラム)を受信する伝送インタフェース回路5と、バス
6を介して前記伝送インタフェース回路5から制御情報
を取り込んで記憶するバッファメモリ回路7と、現在、
実行中の制御情報が格納される動作メモリ回路8と、こ
の動作メモリ回路8に格納されている制御情報が書き換
えられるとき、この制御情報の退避エリアとして使用さ
れるバッファメモリ回路9とを備えている。
The controller shown in this figure is provided with a microprocessor 1 for performing various processes, a ROM 2 in which a basic program for defining the operation of the microprocessor 1 and various constant data are stored, and a transmission line 3. A transmission interface circuit 5 for receiving control information (adjustment operation program) output from the program creation device 4, a buffer memory circuit 7 for fetching and storing control information from the transmission interface circuit 5 via a bus 6, and
An operation memory circuit 8 for storing control information being executed and a buffer memory circuit 9 used as a save area for this control information when the control information stored in this operation memory circuit 8 is rewritten are provided. There is.

【0011】そして、プログラム作成装置4から新たな
制御情報が出力される毎に、図2に示す如く伝送ライン
3を介して伝送インタフェース回路5によりこれを受信
してバッファメモリ回路7に格納し、この格納動作が終
了した時点で、マイクロプロセッサ1によって前記バッ
ファメモリ回路7に格納されている新たな制御情報に異
常がないかどうか確認される。
Each time new control information is output from the program creating device 4, the transmission interface circuit 5 receives the control information via the transmission line 3 and stores it in the buffer memory circuit 7, as shown in FIG. When this storing operation is completed, the microprocessor 1 confirms whether the new control information stored in the buffer memory circuit 7 is normal.

【0012】この後、マイクロプロセッサ1によって動
作メモリ回路8に格納されているそれまでの制御情報が
退避エリアとなっているバッファメモリ回路9に転送さ
れて保存されるとともに、バッファメモリ回路7に格納
されている新たな制御情報が読み出されて動作メモリ回
路8に転送される。
Thereafter, the control information stored in the operation memory circuit 8 by the microprocessor 1 is transferred to and saved in the buffer memory circuit 9 serving as a save area, and also stored in the buffer memory circuit 7. The new control information is read out and transferred to the operation memory circuit 8.

【0013】そして、この転送処理が終了すれば、マイ
クロプロセッサ1によって前記動作メモリ回路8に格納
された制御情報に基づいて制御対象となっている機器
(図示は省略する)の制御が開始される。
When the transfer process is completed, the microprocessor 1 starts controlling the device (not shown) to be controlled based on the control information stored in the operation memory circuit 8. ..

【0014】このとき、動作メモリ回路8に格納されて
いる新たな制御情報に異常があり、この異常によって制
御の停止や暴走が発生したときには、動作メモリ回路8
に格納されている制御情報に基づく制御動作が中止され
て、退避エリアとなっているバッファメモリ回路9に格
納されている前の制御情報が動作メモリ回路8に転送さ
れてこの制御情報に基づいて制御対象となっている機器
の制御が開始される。
At this time, there is an abnormality in the new control information stored in the operation memory circuit 8. If the abnormality causes control stoppage or runaway, the operation memory circuit 8 will occur.
The control operation based on the control information stored in is canceled and the previous control information stored in the buffer memory circuit 9 serving as the save area is transferred to the operation memory circuit 8 and based on this control information. The control of the device to be controlled is started.

【0015】このようにこの実施例においては、動作メ
モリ回路8に格納されている制御情報を書き換えると
き、前の制御情報をバッファメモリ回路9に退避させ
て、新たな制御情報に不備があったとき、前記バッファ
メモリ回路9に退避させている前の制御情報を前記動作
メモリ回路8に戻してこの制御情報に基づいて制御対象
となっている機器の制御を再開させるようにしているの
で、伝送ライン3を介して受信した新たな制御情報にな
んらかの異常があっても、マイクロプロセッサ1が暴走
しないようにすることができ、これによって新たな制御
情報が異常であってもプロセスに対し悪影響を与えない
ようにすることができる。
As described above, in this embodiment, when the control information stored in the operation memory circuit 8 is rewritten, the previous control information is saved in the buffer memory circuit 9, and the new control information is defective. At this time, the control information before being saved in the buffer memory circuit 9 is returned to the operation memory circuit 8 and the control of the device to be controlled is restarted based on this control information. Even if there is some abnormality in the new control information received via the line 3, it is possible to prevent the microprocessor 1 from running out of control, thereby adversely affecting the process even if the new control information is abnormal. You can avoid it.

【0016】[0016]

【発明の効果】以上説明したように本発明によれば、伝
送ラインを介して受信した新たな制御情報になんらかの
異常があっても、マイクロプロセッサが暴走しないよう
にすることができ、これによって新たな制御情報が異常
であってもプロセスに対し悪影響を与えないようにする
ことができる。
As described above, according to the present invention, it is possible to prevent the microprocessor from running out of control even if there is some abnormality in the new control information received via the transmission line. Even if the control information is abnormal, the process can be prevented from being adversely affected.

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

【図1】本発明による調節計の一実施例を示すブロック
図である。
FIG. 1 is a block diagram showing an embodiment of a controller according to the present invention.

【図2】図1に示す調節計の動作例を示す模式図であ
る。
FIG. 2 is a schematic diagram showing an operation example of the controller shown in FIG.

【図3】従来から知られている調節計の一例を示すブロ
ック図である。
FIG. 3 is a block diagram showing an example of a conventionally known controller.

【符号の説明】[Explanation of symbols]

1 マイクロプロセッサ(情報復元部) 3 伝送ライン 4 プログラム作成装置 5 伝送インタフェース回路 8 動作メモリ回路 9 バッファメモリ回路 1 Microprocessor (Information Restoration Unit) 3 Transmission Line 4 Program Creation Device 5 Transmission Interface Circuit 8 Operation Memory Circuit 9 Buffer Memory Circuit

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 動作メモリ回路に格納されている制御情
報に基づいて制御対象となっている機器を制御する調節
計において、 前記動作メモリ回路に格納されている制御情報を書き換
えるとき、前記動作メモリ回路に格納されている前の制
御情報が退避されるバッファメモリ回路と、 前記動作メモリ回路に格納した新たな制御情報に異常が
あったとき、前記バッファメモリ回路に退避させていた
前の制御情報を前記動作メモリ回路に戻す情報復元部
と、 を備えたことを特徴とする調節計。
1. A controller for controlling a device to be controlled based on control information stored in an operation memory circuit, wherein the operation memory is stored when the control information stored in the operation memory circuit is rewritten. The buffer memory circuit in which the previous control information stored in the circuit is saved, and the previous control information saved in the buffer memory circuit when the new control information stored in the operation memory circuit is abnormal An information restoration unit for returning the data to the operation memory circuit, and a controller.
JP4002807A 1992-01-10 1992-01-10 Controller Pending JPH05189001A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4002807A JPH05189001A (en) 1992-01-10 1992-01-10 Controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4002807A JPH05189001A (en) 1992-01-10 1992-01-10 Controller

Publications (1)

Publication Number Publication Date
JPH05189001A true JPH05189001A (en) 1993-07-30

Family

ID=11539660

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4002807A Pending JPH05189001A (en) 1992-01-10 1992-01-10 Controller

Country Status (1)

Country Link
JP (1) JPH05189001A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011186866A (en) * 2010-03-10 2011-09-22 Hitachi Ltd Plant monitor and control device, and maintenance support method thereof

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011186866A (en) * 2010-03-10 2011-09-22 Hitachi Ltd Plant monitor and control device, and maintenance support method thereof
US8930000B2 (en) 2010-03-10 2015-01-06 Hitachi, Ltd. Plant monitor and control device and a maintenance support method thereof

Similar Documents

Publication Publication Date Title
US5481756A (en) DMA controller mailing auto-initialize halting unit
JPH05189001A (en) Controller
JPS5878239A (en) Operation controlling circuit
EP0614148A1 (en) Data processing apparatus
JPS62137627A (en) Memory dump system
JPH0198017A (en) Printer controller
JPS58168121A (en) Processing system of power failure restoration
JPH07271553A (en) Memory control method for fifo memory device
JPH02125303A (en) Programmable controller
JPS62125454A (en) Terminal system
JPH01175001A (en) Protection system for storage data
JPS6041133A (en) Correcting method of control program
JPH07287694A (en) Multiplex processing system and memory synchronous control method
JPH04170654A (en) Cache memory control system
JPH01188928A (en) Multi-window display system
JPH0561668B2 (en)
JPS6318593A (en) Data writing system to earom
JPH05204750A (en) Data holding system for program controller
JPH08263387A (en) Memory device
JPS62238757A (en) Printing control system
JPH01193948A (en) System for controlling data transfer
JPH05250153A (en) Program correction system
JPS63205705A (en) Programmable controller
JPH04291646A (en) Write monitoring device
JPH03233723A (en) Firmware loading system