JPS62174862A - Control device by multiprocessor - Google Patents

Control device by multiprocessor

Info

Publication number
JPS62174862A
JPS62174862A JP1486086A JP1486086A JPS62174862A JP S62174862 A JPS62174862 A JP S62174862A JP 1486086 A JP1486086 A JP 1486086A JP 1486086 A JP1486086 A JP 1486086A JP S62174862 A JPS62174862 A JP S62174862A
Authority
JP
Japan
Prior art keywords
control
information
processor
plant
man
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
JP1486086A
Other languages
Japanese (ja)
Inventor
Kazuko Takahara
高原 和子
Atomi Noguchi
野口 跡見
Shoji Kumagami
熊耳 昭二
Takemitsu Yashiro
矢代 武光
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.)
Hitachi Engineering Co Ltd
Hitachi Ltd
Original Assignee
Hitachi Engineering Co Ltd
Hitachi Ltd
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 Hitachi Engineering Co Ltd, Hitachi Ltd filed Critical Hitachi Engineering Co Ltd
Priority to JP1486086A priority Critical patent/JPS62174862A/en
Publication of JPS62174862A publication Critical patent/JPS62174862A/en
Pending legal-status Critical Current

Links

Landscapes

  • Multi Processors (AREA)
  • Programmable Controllers (AREA)

Abstract

PURPOSE:To prevent the erroneous intervention in a control side and to improve the reliability of a plant control by preventing writing by a processor side for man machine to a memory device shared by two processors to separate completely the function for control and for man machine. CONSTITUTION:Two processors completely separate the function as for a processor 1B for plant control and a processor 2B for man machine communication. The processor 1B for the control fetches the plant information through a process input output device 8 and outputs the control information. Simultaneously, the processor simultaneously has the function to write the plant information and the control information into a sharing memory device 3. On the other hand, the processor 2B for the man machine reads and edits the plant information and the control information from the sharing memory device 3 and outputs them through respective interfaces to a CRT 10 and a printer 14. In order to prevent the man machine side complicate and redundant in processing destructs or rewrites the information of the control side by mistake, the man machine side only reads the information of the sharing memory device 3 and will not write it into the sharing memory device 3.

Description

【発明の詳細な説明】 〔発明の利用分野〕 本発明はマルチプロセッサによる制御装置に係り、特に
共有記憶装置を備えたものに好適なマルチプロセッサに
よる制御装置に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Application of the Invention] The present invention relates to a control device using a multiprocessor, and particularly to a control device using a multiprocessor suitable for a device equipped with a shared storage device.

〔発明の背景〕[Background of the invention]

第6図は従来のマルチプロセッサによる制御装置を示す
ブロック図である。ここに示す例は、プラント内の成る
制御対象(A)21及び制御対象(B)の制御を行うも
のである。第6図において、1はプロセッサ(A)、2
はプロセッサ(B)、3はプロセッサ1及び2のいずれ
からもアクセス可能な共有記憶装置、4はプロセッサ1
が専有する個有記憶装置、5はプロセッサ2が専有する
個有記憶装置、6はプロセッサ1に接続されるインター
フェースバス、7はプロセッサ2に接続されるインター
フェイスバス、8は制御対象(A) 21とバス6を結
合するプロセス入出力装置、9はキーボード18とバス
6を結合するキーボードインターフェイス、10はCR
T、11はCRTIOとバス7を結合するCRTインタ
ーフェイス、12はキーボード、13はキーボード12
とバス7を結合するキーボードインターフェイス、14
はプリンタ、15はプリンタ14とバス7を結合するプ
リンタインターフェイス、16はCRT、17はCRT
16とバス6を結合するCRTインターフェイス、18
はキーボード、19はプリンタ、20はプリンタ19と
バス6を結合するプリンタインターフェイス、21は制
御対象(A)、22は制御対象(B)、23は制御対象
22とバス7を結合するプロセス入出力装置である。
FIG. 6 is a block diagram showing a conventional multiprocessor control device. The example shown here is for controlling a controlled object (A) 21 and a controlled object (B) that are inside a plant. In FIG. 6, 1 is a processor (A), 2 is a processor (A),
is a processor (B), 3 is a shared storage device that can be accessed by both processors 1 and 2, and 4 is a processor 1
5 is a private storage device exclusively used by processor 2; 6 is an interface bus connected to processor 1; 7 is an interface bus connected to processor 2; 8 is a controlled object (A) 21 9 is a keyboard interface that connects the keyboard 18 and the bus 6; 10 is a CR
T, 11 is a CRT interface that connects CRTIO and bus 7, 12 is a keyboard, 13 is a keyboard 12
and a keyboard interface connecting bus 7, 14
1 is a printer, 15 is a printer interface that connects the printer 14 and bus 7, 16 is a CRT, and 17 is a CRT.
16 and a CRT interface connecting bus 6, 18
is a keyboard, 19 is a printer, 20 is a printer interface that connects the printer 19 and the bus 6, 21 is a controlled object (A), 22 is a controlled object (B), and 23 is a process input/output that connects the controlled object 22 and the bus 7. It is a device.

プロセッサ1は制御対象21、プロセッサ2は制御対象
22の制御を行う。プロセッサ1.2はそれぞれのプロ
セス入出力装@B、23を介し。
Processor 1 controls a controlled object 21, and processor 2 controls a controlled object 22. Processors 1.2 via their respective process input/output devices @B, 23.

制御対象21.22のプラント情報を取込み、演算処理
等により制御情報を作成し、制御対象21゜22に制御
情報を出力する。また各プロセス1゜2は、プラント情
報及び制御情報を表示装置であるCRTIO,16,出
力装置であるプリンター14.19に出力し、或いはオ
ペレーション・ガイダンスを表示する等の、マンマシン
・コミュニケーションを実行する。
The plant information of the controlled objects 21 and 22 is taken in, control information is created by arithmetic processing, etc., and the control information is output to the controlled objects 21 and 22. In addition, each process 1-2 performs man-machine communication such as outputting plant information and control information to the CRTIO, 16, which is a display device, and the printer 14, 19, which is an output device, or displaying operation guidance. do.

さらに、プロセッサ1、プロセッサ2は1個々の個有記
憶装置4,5の他に相方からアクセスできる共有記憶装
置3を持ち、必要なプラント情報及び制御情報を互いに
読み書きすることができる。
Furthermore, in addition to their individual storage devices 4 and 5, the processors 1 and 2 have a shared storage device 3 that can be accessed by each other, and can read and write necessary plant information and control information to each other.

このような共有記憶装置3を持つシステムは従来より一
般的に用いられているものであり、例えば特開昭56−
14364号公報に示されているように、2台のオンラ
インプロセッサが共有記憶装置と同時に交信を行うもの
がある。
A system having such a shared storage device 3 has been commonly used in the past, and is disclosed in, for example, Japanese Patent Application Laid-Open No.
As shown in Japanese Patent No. 14364, there is a system in which two online processors communicate with a shared storage device simultaneously.

しかしながら、第6図に示されるような制御装置によれ
ば、共有記憶iff!3上で2台のプロセッサによって
互いに情報の言送を行うため1重要な制御情報が誤って
書換えられるという危険性がある。また、一般にマンマ
シン・コミュニケーション用のソフトウェアは繁雑にな
らざるを得ないため、プロセッサがプラント制御とマン
マシン(プラントデータからユーザが要求する情報を編
集してユーザに提供する処理)を共に処理する場合には
、制御用ソフトウェアの信調性を高めることは固層であ
る。
However, according to the control device as shown in FIG. 6, the shared memory iff! Since information is exchanged between the two processors on 3, there is a risk that important control information may be erroneously rewritten. In addition, because software for man-machine communication generally has to be complicated, the processor handles both plant control and man-machine (processing that edits information requested by the user from plant data and provides it to the user). In some cases, it is essential to increase the reliability of control software.

〔発明の目的〕[Purpose of the invention]

本発明の目的は、共有記憶装置に対して制御情報が誤っ
て書き換えられるのを防止し、制御用ソフトウェアの信
頼性向上を可能にするマルチプロセッサによる制御装置
を提供することにある。
An object of the present invention is to provide a multiprocessor control device that prevents control information from being erroneously rewritten in a shared storage device and improves the reliability of control software.

〔発明の概要〕[Summary of the invention]

本発明は上記目的を達成すべく、プラント制御用、マン
マシン・コミュニケーション用に機能を完全分離したマ
ルチプロセッサシステムの共有記憶装置に対し1通常は
マンマシン用プロセッサ側からの書込みを行わず、読出
しのみを行うようにしたものである。
In order to achieve the above-mentioned object, the present invention has a shared storage device of a multiprocessor system in which functions are completely separated for plant control and man-machine communication. It is designed to perform only the following.

〔発明の実施例〕[Embodiments of the invention]

以下、本発明の実施例を詳細に説明する。 Examples of the present invention will be described in detail below.

第1図は本発明の一実施例を示すブロック図である。尚
、第1図においては、第6図と同一物であるものには同
一引用数字を用いたので重複する説明は省略する。
FIG. 1 is a block diagram showing one embodiment of the present invention. In FIG. 1, the same reference numerals are used for the same parts as in FIG. 6, so redundant explanations will be omitted.

2台のプロセッサは、プラント制御用のプロセッサIB
とマンマシン・コミュニケーション用のプロセッサ2B
として機能を完全に分前する。制御用プロセッサIBは
、プロセス入出力装置i!8を介してプラント情報を取
込み、制御情報を出力する。同時にプラント情報、制御
情報を共有記憶装置3に書込む機能を持っている。
The two processors are processor IB for plant control.
and processor 2B for man-machine communication.
It functions as a complete portion. The control processor IB is a process input/output device i! 8, and outputs control information. At the same time, it has a function of writing plant information and control information into the shared storage device 3.

一方、マンマシン用プロセッサ2Bは、共有記憶装置3
よりプラント情報、制御情報を読出し、編集して、各イ
ンターフェイスを介しCRTIO及びプリンター14に
出力する。ここで、処理の複雑冗長なマンマシン側が制
御側の情報を誤って破壊あるいは書換えるのを防ぐため
に、マンマシン側は共有記憶装置3の情報を読出すのみ
で、共有記憶装置l!3への杏込みは行わないこととす
る。
On the other hand, the man-machine processor 2B has a shared storage device 3.
The plant information and control information are read out, edited, and output to the CRTIO and printer 14 via each interface. Here, in order to prevent the man-machine side, which has complicated and redundant processing, from accidentally destroying or rewriting the information on the control side, the man-machine side only reads the information from the shared storage device 3, and the shared storage device l! 3 will not be included.

以上の制御側、マンマシン側それぞれの処理フローの概
要を第2図に示す。
FIG. 2 shows an outline of the processing flow on the control side and the man-machine side, respectively.

制御用プロセッサIBは、プラント情報取込から制御情
報出力までの一連の処理を、マンマシン処理の繋雑さに
わずられされることなしに、短周期で繰返すことができ
る。
The control processor IB can repeat a series of processes from taking in plant information to outputting control information in short cycles without being bothered by the complexity of man-machine processing.

マンマシン側゛よ、共有記憶装置3より情報を読出し編
集して出力する処理の他、オペレーション・ガイダンス
・キーボード12からのオペレータの指示入力等のコミ
ュニケーション処理を行う。
The man-machine side performs communication processing such as inputting operator instructions from the operation guidance keyboard 12 in addition to the processing of reading, editing, and outputting information from the shared storage device 3.

制御用プロセッサIBは共有記憶袋!!!3へ情報の書
込みのみ、あるいは書込みと読出しを行い、マンマシン
用プロセッサ2Bは読出しのみを行い。
The control processor IB is a shared memory bag! ! ! The man-machine processor 2B performs only reading.

書込みは行わない。これにより、マンマシン側からの情
報の誤記入を防ぐことができ、制御の信頼性を大幅に向
上させることができる。
No writing is performed. This makes it possible to prevent erroneous input of information from the man-machine side, and to greatly improve the reliability of control.

しかしながら、プラント制御システムにおいては、制御
中にオペレータが制御定数など、制御にかかわる設定値
を変更する必要を生じることがある。このような要求が
ある場合には、マンマシン用プロセッサ2B側からの共
有記憶袋!!!3への書込を許可することとする。
However, in a plant control system, an operator may need to change control-related set values such as control constants during control. If there is such a request, a shared memory bag from the man-machine processor 2B side! ! ! We will allow writing to 3.

そのために、第1図に示すように、制御用プロセッサI
B側に制御定数変更要求用のキースイッチ割込入力装!
!25を設ける。
For this purpose, as shown in FIG.
Key switch interrupt input device for control constant change request on B side!
! 25 will be provided.

設定値を変更したい場合、オペレータはまず、マンマシ
ン用プロセッサ2B側でCRTIOに設定値を表示し、
キーボード12の入力操作等により設定値の変更を行う
、この時点では、設定値の変更はマンマシン用プロセッ
サ2Bの個有記憶袋ff!5上のみで行われる。
When the operator wants to change the set value, first display the set value on the CRTIO on the man-machine processor 2B side,
Setting values are changed by input operations on the keyboard 12, etc. At this point, the setting values can be changed using the individual memory bag ff! of the man-machine processor 2B. 5 only.

次に、オペレーターは制御用プロセッサIB側で設定値
変更要求用のキースイッチ割込入力装置25をONする
。これにより、制御用プロセッサ側では設定値変更処理
が起動され、マンマシン用プロセッサ2B側から共有記
憶袋!!3を介し、変更された設定値が読出される。
Next, the operator turns on the key switch interrupt input device 25 for requesting a setting value change on the control processor IB side. As a result, the setting value change process is started on the control processor side, and the shared memory bag is sent from the man-machine processor 2B side! ! 3, the changed setting value is read out.

第3図は設定値変更処理を示すフローチャートである。FIG. 3 is a flowchart showing the setting value changing process.

制御用プロセッサIB側では、共有記憶装v13上の変
更要求フラグをONすることにより、マンマシン用プロ
セッサ2側に変更要求があることを通知する。マンマシ
ン側では、オペレーターからの設定値の書換え終了後、
変更要求フラグを常時監視し、フラグONを確認したな
ら、変更のあった設定値の総数、及びそれらの設定値の
固有番号と変更された値とを共有記憶袋[3に書込む。
The control processor IB side notifies the man-machine processor 2 side that there is a change request by turning on the change request flag on the shared storage v13. On the man-machine side, after rewriting the setting values from the operator,
The change request flag is constantly monitored, and when the flag is confirmed to be ON, the total number of changed setting values, the unique numbers of those setting values, and the changed values are written to the shared memory bag [3.

ここで設定値の固有番号と・は、全ての設定値に1対1
で対応付けられた識別番号である。変更値書込後、マン
マシン側は変更要求フラグをOFFすることにより、制
御側に書込完了を通知する。
Here, the unique number of the setting value is one-to-one for all setting values.
This is an identification number associated with . After writing the change value, the man-machine side notifies the control side of the completion of writing by turning off the change request flag.

制御側は、変更要求フラグのOFFを確認し、変更値を
取出し、自己の個有記憶装置上の設定値を書換える。
The control side confirms that the change request flag is OFF, takes out the changed value, and rewrites the set value on its own private storage device.

次に、共有記憶袋M3を介しての情報の書込み及び読出
し処理の具体例を第4図に基づいて説明する。
Next, a specific example of the process of writing and reading information via the shared memory bag M3 will be explained based on FIG. 4.

共有記憶装置1!3上では、各情報がアドレスと1対1
に対応づけられている。制御用プロセッサIBとマンマ
シン用プロセッサ2Bのソフトウェアはそれぞれこの対
応を認識しており、制御側は情報を共有記憶装置3の対
応するアドレスに書込み、マンマシン側は必要な情報を
アドレス対応で読出す。情報の書込み、読出しをそれぞ
れ常に一定周期で行う場合には一般にこのような方法を
用いる。
On shared storage devices 1 and 3, each piece of information has a one-to-one relationship with an address.
is associated with. The software of the control processor IB and the man-machine processor 2B each recognize this correspondence, and the control side writes information to the corresponding address of the shared storage device 3, and the man-machine side reads the necessary information in correspondence with the addresses. put out. Such a method is generally used when writing and reading information is always performed at regular intervals.

プラント情報、制御情報に変化が生じた場合に、その変
化にあった情報のみを送受信する場合には第5図のよう
な方法が有効である。
When a change occurs in plant information or control information, the method shown in FIG. 5 is effective in transmitting and receiving only the information that corresponds to the change.

情報は共有記憶装置3のアドレスと1対1に対応づけら
れるのではなく、情報固有の名称(一般的には情報番号
)と対応づけられる0例えば、水位は番号1、圧力は番
号5.というように識別される。
Information is not associated one-to-one with addresses in the shared storage device 3, but is associated with information-specific names (generally information numbers).For example, water level is number 1, pressure is number 5, etc. It is identified as follows.

制御側は、変化情報書込フラグがOFFであることを確
認し、変化のあった情報の総数、及び、これらの情報と
情報番号とを共有記憶装置3に書込む。その後、変化情
報書込フラグをONすることにより、変化情報を書込ん
だことをマンマシン側に通知する。
The control side confirms that the change information write flag is OFF, and writes the total number of changed information, this information, and the information number to the shared storage device 3. Thereafter, by turning on the change information write flag, the man-machine side is notified that the change information has been written.

マンマシン側は変化情報書込フラグを監視し。The man-machine side monitors the change information write flag.

ONを確認後、変化情報と情報番号を読出す。続出完了
後、変化情報書込フラグを○FFL、、情報を読出した
ことを制御側に通知する。
After confirming ON, read out the change information and information number. After the successive output is completed, the change information write flag is set to ○FFL, and the control side is notified that the information has been read.

〔発明の効果〕〔Effect of the invention〕

以上説明したように本発明によれば、制御用、マンマシ
ン用に完全に機能を分離した2台のプロセッサが共有す
る記憶装置に対し、マンマシン用プロセッサ側か書込を
行わないようにしたため、制御側への誤介入を防止し、
プラント制御の信頼性を高めるという効果がある。
As explained above, according to the present invention, the man-machine processor side is prevented from writing to a storage device shared by two processors whose functions are completely separated for control and man-machine. , prevent erroneous intervention on the control side,
This has the effect of increasing the reliability of plant control.

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

第1図は本発明の一実施例を示すブロック図、第2図は
通常プラント制御時の処理を示すフローチャート、第3
図は設定値に変更要求が有った場合の処理を示すフロー
チャート、第4図は共有記憶袋[3を介しての情報の書
込み及び読出し処理を示す説明図、第5図は制御情報に
変化が生じた場合の処理を示すフローチャート、第6図
は従来のマルチプロセッサによる制御装置を示すブロッ
ク図である。 1B・・・プラント制御用プロセッサ、2・・・マンマ
シン用プロセッサ、3・・・共有記憶装置、4,5・・
・個有記憶装置、6.7・・・インターフェイスバス、
8・・・プロセス入出力装置、10・・・CRT、11
・・・CRTインターフェイス、12・・・キーボード
、13・・・キーボードインターフェイス、14・・・
プリンタ、15・・・プリンタインターフェイス、21
・・・制御対象、25・・・キースイッチ割込入力装置
FIG. 1 is a block diagram showing an embodiment of the present invention, FIG. 2 is a flowchart showing processing during normal plant control, and FIG.
The figure is a flowchart showing the process when there is a request to change the set value, FIG. 4 is an explanatory diagram showing the process of writing and reading information via the shared memory bag [3, and FIG. FIG. 6 is a block diagram showing a conventional multiprocessor-based control device. 1B... Processor for plant control, 2... Processor for man-machine, 3... Shared storage device, 4, 5...
・Private storage device, 6.7...Interface bus,
8... Process input/output device, 10... CRT, 11
... CRT interface, 12... Keyboard, 13... Keyboard interface, 14...
Printer, 15...Printer interface, 21
...Controlled object, 25...Key switch interrupt input device.

Claims (1)

【特許請求の範囲】 1、プラントの制御のみを相当する第1のプロセッサと
、プラント制御以外の処理を担当する第2のプロセッサ
と、これらプロセッサに共有される読み書き可能な共有
記憶装置を備えた制御装置において、前記共有記憶装置
に対する通常時における前記第2のプロセッサによる書
込みを禁止する手段を設けたことを特徴とするマルチプ
ロセッサによる制御装置。 2、前記書込み禁止をスイッチ操作によつて任意に解除
可能な割込み手段を設けたことを特徴とする特許請求の
範囲第1項に記載のマルチプロセッサによる制御装置。
[Claims] 1. A first processor that is responsible only for plant control, a second processor that is responsible for processes other than plant control, and a readable and writable shared storage device that is shared by these processors. A control device using a multiprocessor, characterized in that the control device includes means for inhibiting writing by the second processor to the shared storage device during normal times. 2. The multiprocessor control device according to claim 1, further comprising interrupt means that can arbitrarily cancel the write prohibition by operating a switch.
JP1486086A 1986-01-28 1986-01-28 Control device by multiprocessor Pending JPS62174862A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1486086A JPS62174862A (en) 1986-01-28 1986-01-28 Control device by multiprocessor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1486086A JPS62174862A (en) 1986-01-28 1986-01-28 Control device by multiprocessor

Publications (1)

Publication Number Publication Date
JPS62174862A true JPS62174862A (en) 1987-07-31

Family

ID=11872780

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1486086A Pending JPS62174862A (en) 1986-01-28 1986-01-28 Control device by multiprocessor

Country Status (1)

Country Link
JP (1) JPS62174862A (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5587204A (en) * 1978-12-26 1980-07-01 Komatsu Ltd Sequential controller
JPS58159167A (en) * 1982-03-17 1983-09-21 Toshiba Corp Multi-processor system
JPS59116805A (en) * 1982-12-24 1984-07-05 Hitachi Ltd Sequence controller

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5587204A (en) * 1978-12-26 1980-07-01 Komatsu Ltd Sequential controller
JPS58159167A (en) * 1982-03-17 1983-09-21 Toshiba Corp Multi-processor system
JPS59116805A (en) * 1982-12-24 1984-07-05 Hitachi Ltd Sequence controller

Similar Documents

Publication Publication Date Title
EP0059758A1 (en) Numerical control unit
JPS62174862A (en) Control device by multiprocessor
JPS59142610A (en) Stored program type controller
JP3480957B2 (en) Memory programming equipment
JP2776443B2 (en) Programmable controller
JPH0317760A (en) Data write confirming system
WO2020039810A1 (en) Programming assistance device, programming assistance method, and program
JP2914538B2 (en) Programmable controller
JPH10268923A (en) Numerical controller
JPS60201437A (en) Microprocessor
JPS58172703A (en) Process controller
JP2900073B2 (en) Programmable controller system
JPS6053330B2 (en) Program writing method
JPH02125303A (en) Programmable controller
JPS62131339A (en) Information processor
JPH08179991A (en) Programmable controller
JPS6238746B2 (en)
JPS59144909A (en) Stored program type controller
JPS62162110A (en) Self diagnosing device for controller
JPS62111326A (en) Man-machine interface device in data processor
JPH01111239A (en) Error display system
JPS59188743A (en) System for discriminating and displaying registration/ unregistration of sequence program
JPH0545978B2 (en)
JPS61228532A (en) Double item data memory
JPS6093512A (en) Mdi and crt interface device