JPH11175104A - Decentralized controller - Google Patents

Decentralized controller

Info

Publication number
JPH11175104A
JPH11175104A JP34094497A JP34094497A JPH11175104A JP H11175104 A JPH11175104 A JP H11175104A JP 34094497 A JP34094497 A JP 34094497A JP 34094497 A JP34094497 A JP 34094497A JP H11175104 A JPH11175104 A JP H11175104A
Authority
JP
Japan
Prior art keywords
signal
module
control
control output
registration error
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
JP34094497A
Other languages
Japanese (ja)
Inventor
Toshiaki Baba
俊彰 馬場
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.)
Shimadzu Corp
Original Assignee
Shimadzu 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 Shimadzu Corp filed Critical Shimadzu Corp
Priority to JP34094497A priority Critical patent/JPH11175104A/en
Publication of JPH11175104A publication Critical patent/JPH11175104A/en
Pending legal-status Critical Current

Links

Landscapes

  • Feedback Control In General (AREA)
  • Safety Devices In Control Systems (AREA)
  • Control By Computers (AREA)

Abstract

PROBLEM TO BE SOLVED: To avoid adverse influence on a plant even when a fault occurs in a CPU module for commanding or when an application program has a registration error. SOLUTION: The decentralized controller is provided with plural CPU modules 1-1 ,... and 1-n for control operation, input modules 2-1 ,... and 2-n for fetching an external signal, control output modules 3-1 ,... and 3-n for outputting the signal to an external part and a bus line 4. Then, the control output modules 3-1 ,... and 3-i detect fault in a control arithmetic part to give instruction to the control output modules 3- ,... and 3-i and a registration error in the application program, respond to the detection of the fault or the registration error, to turn a signal output part into a manual mode.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】この発明は、生産プラントや
ボイラを制御するプラント等に使用される分散型制御装
置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a distributed control device used in a production plant, a plant for controlling a boiler, and the like.

【0002】[0002]

【従来の技術】一般に、プラントを制御する分散型制御
装置は、ディジタル演算を行う複数の制御演算部(CP
Uモジュール)と、プラントからの信号を取込む信号入
力部(入力モジュール)と、プラントに信号を出力する
信号出力部(制御出力モジュール)と、これら制御演算
部、信号入力部、信号出力部を接続するバスラインとを
備え、プラントよりの信号を信号入力部からバスライン
を通して、制御演算部に取込み、制御演算部で所定の演
算を行い、その演算結果をバスライン、信号出力部より
プラントに出力する。
2. Description of the Related Art Generally, a distributed control device for controlling a plant includes a plurality of control operation units (CPs) for performing digital operations.
U module), a signal input unit (input module) for receiving a signal from the plant, a signal output unit (control output module) for outputting a signal to the plant, and a control operation unit, a signal input unit, and a signal output unit. A bus line to be connected, a signal from the plant is taken in from the signal input unit through the bus line to the control operation unit, a predetermined operation is performed by the control operation unit, and the operation result is transmitted to the plant from the bus line and the signal output unit. Output.

【0003】[0003]

【発明が解決しようとする課題】上記従来の分散型制御
装置において、制御出力モジュールに指令するCPUモ
ジュールに故障が生じた場合、また指令するCPUモジ
ュールが複数あるようなアプリケーションプログラムの
登録ミスがあった場合、そのまま、その制御出力を出力
し続けると、いずれもプラントへの影響が大となる。
In the above-mentioned conventional distributed control apparatus, when a failure occurs in a CPU module instructing a control output module, or when there is a registration error of an application program in which there are a plurality of CPU modules instructing. In such a case, if the control output is continuously output as it is, the effect on the plant becomes large.

【0004】この発明は上記問題点に着目してなされた
ものであって、指令するCPUモジュールに故障が生じ
た場合、あるいはアプリケーションプログラムに登録ミ
スがあっても、それによるプラントへの影響を回避し得
る分散型制御装置を提供することを目的としている。
[0004] The present invention has been made in view of the above problems, and avoids the influence on the plant caused by a failure of a commanding CPU module or a registration error in an application program. It is an object of the present invention to provide a decentralized control device which can be used.

【0005】[0005]

【課題を解決するための手段】この発明の分散型制御装
置は、制御演算を行う複数の制御演算部と、外部の信号
を取込む信号入力部と、外部に信号を出力する信号出力
部と、これら制御演算部、信号入力部、信号出力部を接
続するバスラインとを備えるものにおいて、前記信号出
力部に、信号出力部に指令する制御演算部の故障、アプ
リケーションプログラムの登録ミスを検知する手段と、
前記故障あるいは登録ミスの検知に応答して手動に切替
える手段と、を備えている。
According to the present invention, there is provided a distributed control apparatus comprising: a plurality of control operation units for performing a control operation; a signal input unit for receiving an external signal; and a signal output unit for outputting a signal to the outside. And a bus line for connecting the control operation unit, the signal input unit, and the signal output unit, wherein the signal output unit detects a failure of the control operation unit instructing the signal output unit and a registration error of the application program. Means,
Means for manually switching in response to the detection of the failure or registration error.

【0006】この分散型制御装置では、信号出力部に指
令する制御演算部に故障が生じた場合、あるいは指令す
るCPUモジュールが複数あるようなアプリケーション
プログラムの登録ミスがあると、信号出力部でこの旨を
診断し、出力を手動にする。手動にすることにより、制
御演算部の故障やアプリケーションプログラムの登録ミ
スのプラントへの影響を回避できる。
In this decentralized control device, when a failure occurs in the control operation unit that instructs the signal output unit, or when there is a registration error of an application program in which there are a plurality of CPU modules that instruct the signal output unit, the signal output unit transmits the information. And output manually. By using manual operation, it is possible to prevent the failure of the control operation unit and the registration error of the application program from affecting the plant.

【0007】[0007]

【発明の実施の形態】以下、実施の形態により、この発
明をさらに詳細に説明する。図1は、この発明の一実施
形態分散型制御装置の構成を示すブロック図である。こ
の分散型制御装置は、複数のCPUモジュール(制御演
算部)1-1、……、1-nと、入力モジュール(信号入力
部)2-1、……、2-mと、制御出力モジュール(信号出
力部)3-1、……、3-iと、これらCPUモジュール1
-1、……、1 -n、入力モジュール2-1、……、2-m、制
御出力モジュール3-1、……、3-iを接続するバスライ
ン4とを備えている。この分散型制御装置では、通常、
プラントからの信号を入力モジュール2-1、……、2-m
よりバスライン4を通してCPUモジュール1-1、…
…、1-nに取込み、制御演算を実行する。その演算結果
をバスライン4、制御出力モジュール3-1、……、3-i
よりプラントに出力する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
The light will be described in more detail. FIG. 1 shows one embodiment of the present invention.
FIG. 2 is a block diagram illustrating a configuration of a configuration distributed control device. This
Distributed control device has a plurality of CPU modules (control functions).
Calculation part) 1-1, ..., 1-nAnd the input module (signal input
Part) 2-1, ..., 2-mAnd the control output module (signal output
Force part) 3-1, ..., 3-iAnd these CPU modules 1
-1, ..., 1 -n, Input module 2-1, ..., 2-m, System
Output module 3-1, ..., 3-iConnect the bus line
4. In this distributed control device, usually,
Input module 2 from the signal from the plant-1, ..., 2-m
CPU module 1 through the bus line 4-1
... 1-nAnd execute the control calculation. The operation result
The bus line 4, the control output module 3-1, ..., 3-i
Output to plant.

【0008】この分散型制御装置は、CPUモジュール
で実行する制御演算が入っているアプリケーションプロ
グラムの中に、そのCPUモジュールで指令する制御出
力モジュールを指定するものを追加する。その例を図2
に示す。図2の例では、制御出力モジュールテーブルを
呼ぶ、使用できる最大の制御出力モジュールの数だけの
テーブルを持ち、そのCPUモジュールが指令する制御
出力モジュールの場所にフラグ(FF)をセットする。
フラグがセットされない0のときは、使用しないことを
示している。図2は、制御出力モジュール2、制御出力
モジュールn−1の対応するフラグがセットされている
例である。
[0008] This distributed control device adds, to an application program containing a control operation to be executed by a CPU module, one that specifies a control output module instructed by the CPU module. Figure 2 shows an example
Shown in In the example of FIG. 2, the control output module table is called, and the number of tables is the same as the maximum number of control output modules that can be used.
When the flag is not set to 0, it indicates that it is not used. FIG. 2 is an example in which the corresponding flags of the control output module 2 and the control output module n-1 are set.

【0009】ここで、CPUモジュール1での処理動作
を図4のフロー図を参照して説明する。CPUモジュー
ル1では定期的(例:100ms毎)な処理タイミング
が到来すると(ステップST1)、変数Iを1とし(ス
テップST2)、制御出力モジュールテーブルを参照
し、I=1番目の制御出力モジュールのフラグがセット
されているか否かをチェックする(ステップST3)。
フラグがセットされていれば、制御出力モジュールIに
対し、制御出力モジュールI上のCPUモジュール診断
テーブルの自CPUモジュールの場所のカウンタにプリ
セット値(例えば10)を書込む(ステップST4)。
CPUモジュール診断テーブルの例を図3に示す。図3
ではNo2のCPUモジュールが、その制御出力モジュ
ールを使用していることを示している。
Here, the processing operation of the CPU module 1 will be described with reference to the flowchart of FIG. When a regular (eg, every 100 ms) processing timing arrives (step ST1), the CPU module 1 sets the variable I to 1 (step ST2), refers to the control output module table, and obtains the I = first control output module. It is checked whether the flag has been set (step ST3).
If the flag is set, the control output module I writes a preset value (for example, 10) to the counter of the location of the own CPU module in the CPU module diagnosis table on the control output module I (step ST4).
FIG. 3 shows an example of the CPU module diagnosis table. FIG.
Indicates that the No. 2 CPU module uses the control output module.

【0010】ステップST4のプリセット処理の後、変
数Iを1インクリメントし(ステップST5)、変数I
がnを超えるまで(ステップST6)、ステップST3
に戻り、ステップST3〜ST6を繰返し、フラグがセ
ットされている各制御出力モジュール上のCPUモジュ
ール診断テーブルの自CPUモジュールの場所のカウン
タにプリセット値を書込む。
After the preset processing in step ST4, the variable I is incremented by one (step ST5).
Is greater than n (step ST6), step ST3
And repeat the steps ST3 to ST6 to write the preset value to the counter of the location of the own CPU module in the CPU module diagnosis table on each control output module for which the flag is set.

【0011】各制御出力モジュール3では、図5に示す
ように、定期的(例:100ms毎)な処理タイミング
が到来すると(ステップST11)、CPUモジュール
診断テーブルのカウント値を減算する(ステップST1
2)。ここで、その制御出力モジュールへ指令するCP
Uモジュールの診断テーブルカウンタは、そのCPUモ
ジュールでのステップST4の処理で、定期的にプリセ
ットされるので0とはならない。したがって、カウント
アップした、つまり0となったカウンタのCPUモジュ
ールは、その制御出力モジュールへの指令がないと判断
する。それゆえ、CPU診断モジュール診断テーブルを
チェックし、カウンタ値がすべて0となっていた場合
は、CPUモジュールの故障と診断し、手動モードに切
替える。
As shown in FIG. 5, in each control output module 3, when a regular (eg, every 100 ms) processing timing comes (step ST11), the count value of the CPU module diagnosis table is subtracted (step ST1).
2). Here, the CP instructing the control output module
The diagnostic table counter of the U module does not become 0 because it is periodically preset in the processing of step ST4 in the CPU module. Therefore, the CPU module of the counter that has counted up, that is, has become 0, determines that there is no command to the control output module. Therefore, the CPU diagnosis module diagnosis table is checked, and if all the counter values are 0, it is diagnosed that the CPU module has failed and the mode is switched to the manual mode.

【0012】また、全てカウントアップしていず、ステ
ップST13の判定NOでも、カウントアップしていな
いカウンタが2以上か否か判定し(ステップST1
4)、判定YESの場合、つまりカウント値が0になっ
ていないカウンタが2個以上あった場合は、その制御出
力モジュールに指令するCPUモジュールが2枚以上あ
ると判断し、この場合も手動モードに切替える(ステッ
プST15)。
Further, even if all the counters have not been counted up and the determination in step ST13 is NO, it is determined whether or not the number of counters which have not been counted up is 2 or more (step ST1).
4) If the determination is YES, that is, if there are two or more counters whose count value is not 0, it is determined that there are two or more CPU modules for instructing the control output module. (Step ST15).

【0013】ステップST14でカウントアップしてい
るカウンタが2以上でない場合は、つまり、その制御出
力モジュールに指令するCPUモジュールが1台の場合
は、そのまま、処理を終了し、リターンして、次の処理
タイミングの到来に備える。
If the number of counters counted up in step ST14 is not 2 or more, that is, if there is only one CPU module instructing the control output module, the process is terminated as it is, and the program returns to the next step. Prepare for the arrival of processing timing.

【0014】[0014]

【発明の効果】この発明によれば、信号出力部(制御出
力モジュール)に、信号出力部に指令する制御演算部の
故障、アプリケーションプログラムの登録ミスを検知す
る手段と、前記故障あるいは登録ミスの検知に応答して
手動に切替える手段とを備えているので、従来装置では
信号出力部単体の異常のみしか手動に切替えることがで
きなかったのに対し、演算制御部の異常やアプリケーシ
ョンプログラムの異常に対しても、これを検知し、これ
らについても信号出力部で手動で切替えでき、プラント
への悪影響を防止することができる。
According to the present invention, the signal output unit (control output module) has means for detecting a failure of the control operation unit for instructing the signal output unit and a registration error of the application program. A means for switching to manual operation in response to the detection is provided.In the conventional device, only the abnormality of the signal output unit alone could be switched to manual operation. On the other hand, this can be detected, and these can also be manually switched at the signal output unit, thereby preventing an adverse effect on the plant.

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

【図1】この発明の一実施形態分散型制御装置の構成を
示すブロック図である。
FIG. 1 is a block diagram illustrating a configuration of a distributed control device according to an embodiment of the present invention.

【図2】図1の実施形態分散型制御装置のCPUモジュ
ール上に設けられる制御出力モジュールテーブルを説明
する図である。
FIG. 2 is a diagram illustrating a control output module table provided on a CPU module of the distributed control device of the embodiment in FIG. 1;

【図3】図1の実施形態分散型制御装置の制御出力モジ
ュール上に設けられるCPUモジュール診断テーブルを
説明する図である。
FIG. 3 is a diagram illustrating a CPU module diagnostic table provided on a control output module of the distributed control device of the embodiment in FIG. 1;

【図4】図1の実施形態分散型制御装置のCPUモジュ
ールの処理動作を説明するためのフロー図である。
FIG. 4 is a flowchart for explaining a processing operation of a CPU module of the distributed control apparatus of the embodiment in FIG. 1;

【図5】図1の実施形態分散型制御装置の制御出力モジ
ュールの処理動作を説明するためのフロー図である。
FIG. 5 is a flowchart for explaining a processing operation of a control output module of the distributed control device of the embodiment in FIG. 1;

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

-1、……、1-n CPUモジュール 2-1、……、2-m 入力モジュール 3-1、……、3-i 制御出力モジュール 4 バスライン1 -1 ,..., 1- n CPU module 2 -1 ,..., 2- m input module 3 -1 ,..., 3- i control output module 4 bus line

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】制御演算を行う複数の制御演算部と、外部
の信号を取込む信号入力部と、外部に信号を出力する信
号出力部と、これら制御演算部、信号入力部、信号出力
部を接続するバスラインとを備える分散型制御装置にお
いて、 前記信号出力部に、信号出力部に指令する制御演算部の
故障、アプリケーションプログラムの登録ミスを検知す
る手段と、前記故障あるいは登録ミスの検知に応答して
手動に切替える手段と、を備えたことを特徴とする分散
型制御装置。
1. A plurality of control operation units for performing a control operation, a signal input unit for receiving an external signal, a signal output unit for outputting a signal to the outside, a control operation unit, a signal input unit, and a signal output unit And a bus line for connecting to the signal output unit, wherein the signal output unit detects a failure of the control operation unit instructing the signal output unit, a registration error of the application program, and a detection of the failure or the registration error. And a means for manually switching in response to the command.
JP34094497A 1997-12-11 1997-12-11 Decentralized controller Pending JPH11175104A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP34094497A JPH11175104A (en) 1997-12-11 1997-12-11 Decentralized controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP34094497A JPH11175104A (en) 1997-12-11 1997-12-11 Decentralized controller

Publications (1)

Publication Number Publication Date
JPH11175104A true JPH11175104A (en) 1999-07-02

Family

ID=18341746

Family Applications (1)

Application Number Title Priority Date Filing Date
JP34094497A Pending JPH11175104A (en) 1997-12-11 1997-12-11 Decentralized controller

Country Status (1)

Country Link
JP (1) JPH11175104A (en)

Similar Documents

Publication Publication Date Title
JPH11175104A (en) Decentralized controller
JPH06214601A (en) Back-up device for equipment controller
JP2518517B2 (en) Communication bus monitoring device
JP2687776B2 (en) Package identification number setting method
JP2818002B2 (en) Channel switch control method
JPH02301855A (en) System for operating central processing unit in parallel
JP2591472B2 (en) Protection control circuit
JPS61290565A (en) Multiprocessor coupling circuit
JPH03211995A (en) Monitor and control system
JP2768722B2 (en) Multiplex controller
JPH04142648A (en) Data transfer processing system
JPH0588926A (en) Automatic switching circuit for monitor and control system
JPH11175103A (en) Control arithmetic device
JP2751941B2 (en) Information processing device
JPH07234802A (en) Module switching control system
JPH04211840A (en) Hot standby system
JPS63314939A (en) Line abnormality detecting system
JPS61194939A (en) Communication controller
JPH0488737A (en) Self-address setting system
JPS5953583B2 (en) switching device
JPS6275704A (en) Process controller
JPH06284470A (en) Time division multiplex transmission system
JPS62138942A (en) Information processor
JPH04205162A (en) Multiprocessor system
JPH02149148A (en) Simultaneous transmission response system