JP2973586B2 - Distributed control device - Google Patents

Distributed control device

Info

Publication number
JP2973586B2
JP2973586B2 JP3134338A JP13433891A JP2973586B2 JP 2973586 B2 JP2973586 B2 JP 2973586B2 JP 3134338 A JP3134338 A JP 3134338A JP 13433891 A JP13433891 A JP 13433891A JP 2973586 B2 JP2973586 B2 JP 2973586B2
Authority
JP
Japan
Prior art keywords
control device
data
communication
control
output
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.)
Expired - Fee Related
Application number
JP3134338A
Other languages
Japanese (ja)
Other versions
JPH04359301A (en
Inventor
信二 小田
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.)
YOKOKAWA DENKI KK
Original Assignee
YOKOKAWA DENKI KK
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 YOKOKAWA DENKI KK filed Critical YOKOKAWA DENKI KK
Priority to JP3134338A priority Critical patent/JP2973586B2/en
Publication of JPH04359301A publication Critical patent/JPH04359301A/en
Application granted granted Critical
Publication of JP2973586B2 publication Critical patent/JP2973586B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Programmable Controllers (AREA)

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、プロセスを制御する制
御装置に、各種機械の自動化を行う場合に用いられるプ
ログラマブル・コントローラ(PC)を接続できるよう
にした分散形制御装置に関し、さらに詳しくは、制御装
置にPCを接続した場合における制御性の向上に関す
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a distributed control device in which a programmable controller (PC) used for automating various machines can be connected to a control device for controlling a process. And controllability when a PC is connected to the control device.

【0002】[0002]

【従来の技術】分散形制御装置は、プロセス制御の分野
において広く利用されている。一方、プログラマブル・
コントローラ(PC)は、装置や機械の自動化機器とし
て工場内のあらゆる場面に使用されてきている。最近、
プロセスオートメーションの分野においても、計装と自
動化機器との制御を統合管理したいという要求が高まっ
てきている。この様な要求に応えるために、従来装置で
は、制御装置ではPCとの関係を次のように扱うように
していた 。(1) PCが扱っている入力リレーなどを、制御装置の
接点入力等に割付け、PCのデータを制御装置側に読込
むようにする。 (2) PCが扱っている出力リレーなどを、制御装置の接
点出力等に割付け、制御装置のデータをPC側に書込む
ようにする。
2. Description of the Related Art Distributed control devices are widely used in the field of process control. On the other hand, programmable
A controller (PC) has been used as an automatic device of a device or a machine in every scene in a factory. Recently,
In the field of process automation, there is an increasing demand for integrated control of control between instrumentation and automation equipment. In order to respond to such a demand, in the conventional device, the control device handles the relationship with the PC as follows. (1) An input relay or the like handled by the PC is assigned to a contact input or the like of the control device, and data of the PC is read into the control device. (2) An output relay or the like handled by the PC is assigned to a contact output or the like of the control device, and data of the control device is written on the PC side.

【0003】[0003]

【発明が解決しようとする課題】しかしながら、このよ
うに扱う従来装置においては、制御装置の停電時や制御
装置とPC間の通信が途絶えた時、制御装置側からのデ
ータの読込み/書込みは中断するが、PC側では引き続
き制御を続けるために、制御装置とPCとの間でデータ
の食違いが生ずるという不具合があった。図4は、従来
装置において、制御装置のデータをPC側に書込む場合
の動作を示す概念図である。時刻T1で制御装置がPC
側にデータの書込みを行った後、制御装置に停電が発生
したとする。PC側では、時刻T1に書込まれたデータ
に基づいて制御を継続し、PC側のデータはその制御に
従って更新されている。制御装置側の停電が復電する
と、制御装置は、再び時刻T2の時点で停電前(または
通信が途絶え前)のデータをPC側に書込むこととな
る。この書込み動作によって、PC側の更新されていた
データは、制御装置側から送られたデータに変更される
(上書きされる)。このために、PC側ではその出力が
急変し、制御の継続性が損なわれるという問題が発生す
る。本発明は、この様な問題点に鑑みてなされたもの
で、制御装置とPCとを接続し、計装と電機制御とを統
合して分散形制御装置で統一管理する場合において、P
Cと制御装置との間での通信開始時に、PCの出力が急
変することのない、従って制御の継続性を維持できる分
散形制御装置を提供することを目的とする。
However, in the conventional device handled in this way, when the power of the control device is interrupted or when the communication between the control device and the PC is interrupted, the reading / writing of data from the control device is interrupted. However, the PC side has a problem that data discrepancy occurs between the control device and the PC because the control is continued. FIG. 4 is a conceptual diagram showing an operation in a case where data of a control device is written to a PC in a conventional device. At time T1, the control device is PC
It is assumed that a power failure has occurred in the control device after data has been written to the controller. The PC continues the control based on the data written at time T1, and the data on the PC is updated according to the control. When the power failure of the control device is restored, the control device writes the data before the power failure (or before the interruption of communication) to the PC again at time T2. By this write operation, the updated data on the PC side is changed (overwritten) to the data sent from the control device side. For this reason, the output of the PC suddenly changes, and the continuity of control is impaired. SUMMARY OF THE INVENTION The present invention has been made in view of such a problem, and when connecting a control device to a PC, integrating instrumentation and electric control, and performing unified management by a distributed control device,
An object of the present invention is to provide a distributed control device in which the output of a PC does not change suddenly at the start of communication between C and a control device, and thus can maintain control continuity.

【0004】[0004]

【課題を解決するための手段】この様な目的を達成する
本発明は、制御装置とプログラマブル・コントローラ
(PC)とを接続し、計装と電機制御とを統合してこれ
らを統一管理する分散形制御装置であって、前記制御装
置に、制御機能を持つ内部計器と、前記PCとの間で通
信を行う通信手段と、PCと制御装置との間の通信状況
を監視する通信状況監視手段と、この通信状況監視手段
がPCと制御装置との間の通信再開を検出した場合、前
記通信手段を介してPC側のデータを読出しそのデータ
を格納するPCデータ格納手段と、前記内部計器の出力
値を前記PCデータ格納手段に格納されているPCデー
タと一致させるPC内データ反映手段とを設けたことを
特徴とする分散形制御装置である。
SUMMARY OF THE INVENTION In order to achieve the above object, the present invention connects a control device to a programmable controller (PC), integrates instrumentation and electric machine control, and unifies and manages them. A control device, comprising: an internal instrument having a control function; a communication means for communicating with the PC; and a communication status monitoring means for monitoring a communication status between the PC and the control device. When the communication status monitoring means detects resumption of communication between the PC and the control device, a PC data storage means for reading data on the PC side via the communication means and storing the data, A distributed control apparatus, further comprising an in-PC data reflecting unit that matches an output value with PC data stored in the PC data storage unit.

【0005】[0005]

【作用】PCと制御装置との間の通信が、制御装置の停
電あるいは通信不具合により途絶えた後、通信が再開さ
れると、通信状況監視手段がそれを検出する。PCデー
タ格納手段は、通信再開を受けてPC側から最新のデー
タを読出してそれを格納する。PC内データ反映手段
は、内部計器が出力しようとしている出力値をPCデー
タ格納手段に格納されたデータと一致するように修正す
る。これにより、通信再開後においても、制御の継続性
を維持させることができる。
When communication is resumed after communication between the PC and the control device has been interrupted due to a power outage or a communication failure of the control device, the communication status monitoring means detects this. The PC data storage means reads the latest data from the PC and stores it in response to the restart of communication. The data reflection means in the PC corrects the output value which the internal meter is going to output so as to match the data stored in the PC data storage means. Thereby, the continuity of the control can be maintained even after the communication is restarted.

【0006】[0006]

【実施例】以下図面を用いて本発明の実施例を詳細に説
明する。図1は、本発明の一実施例を示す構成ブロック
図である。図において、OPはマンマシン・インターフ
ェイスとして機能するオペレータステーションで、各種
の情報を表示するCRTのような表示手段と、データを
入力したりプロセスを運転,操作したりするキーボード
やポインティング・ディバイスを備えている。CSはオ
ペレータステーションOPに通信回線を介して接続され
る制御装置で、プロセスの規模に応じて複数個設けられ
る。11,12,13…は制御装置CSに接続される複
数のプログラマブル・コントローラ(PC)で、それぞ
れコモンレジスタ10を有しており、制御装置CSは、
このコモンレジスタの内容を書替えたり、読み出したり
できるように構成されている。
Embodiments of the present invention will be described below in detail with reference to the drawings. FIG. 1 is a configuration block diagram showing one embodiment of the present invention. In the figure, OP is an operator station that functions as a man-machine interface, and is provided with display means such as a CRT for displaying various information, and a keyboard and a pointing device for inputting data and operating and operating processes. ing. CS is a control device connected to the operator station OP via a communication line, and a plurality of CSs are provided according to the scale of the process. Are a plurality of programmable controllers (PCs) connected to the control device CS, each having a common register 10, and the control device CS
The contents of the common register can be rewritten or read.

【0007】制御装置CSにおいて、21は制御機能を
持つ複数の内部計器で、プロセスを制御するフィードバ
ック制御機能を持つ計器や、各種の電機機器を制御する
のに適するシーケンス制御機能を持つ計器、スイッチ機
能を持つ計器等があり、これらの内部計器を適宜接続す
ることで各種のプロセスに適合するシステムを構成でき
るようになっている。22は上位側にあるオペレータス
テーションOPとの通信を行う通信手段、23は各PC
11,12…との間で通信を行う通信手段で、例えばR
S232Cのような規格化された通信形式でデータの授
受ができるようになっている。24は各PC11,12
…と制御装置CSとの間の通信状況を監視する通信状況
監視手段で、通信が正常に行われているか否か、正常な
通信が再開されたか等を監視している。25は通信状況
監視手段24が各PC11,12…と制御装置CSとの
間の通信再開を検出した場合、通信手段23を介してP
C側のデータを読出し、そのデータを格納するPC内デ
ータ格納手段、26はPC側から読み込んだデータを、
PC内データ格納手段25のどこに格納するかを定義し
た定義情報格納部である。27は内部計器21の出力値
を、PC内データ格納手段25に格納されているPC側
データと一致するように内部計器側のデータを修正する
PC内データ反映手段、28は内部計器21が扱う各種
の信号(データ)によって構築されるデータベースで、
オペレータステーションOPからアクセス可能である外
に、PC内データ反映手段27によって各内部計器が出
力するデータについて修正可能になっている。
In the control unit CS, reference numeral 21 denotes a plurality of internal instruments having a control function, such as an instrument having a feedback control function for controlling a process, an instrument having a sequence control function suitable for controlling various electric appliances, and a switch. There are instruments and the like having functions, and a system suitable for various processes can be configured by appropriately connecting these internal instruments. 22, communication means for communicating with the operator station OP on the upper side;
Communication means for communicating with the communication terminals 11, 12,.
Data can be transmitted and received in a standardized communication format such as S232C. 24 is each PC11,12
And a communication status monitoring means for monitoring a communication status between the control device CS and the communication device. The communication status monitoring means monitors whether communication is normally performed, whether normal communication is resumed, and the like. 25, the communication status monitoring means 24 detects the restart of communication between each of the PCs 11, 12,.
A data storage means in the PC for reading the data on the C side and storing the data, and 26 stores the data read from the PC side.
This is a definition information storage unit that defines where to store the data in the PC data storage unit 25. 27 is a PC data reflection means for correcting the internal instrument data so that the output value of the internal instrument 21 matches the PC data stored in the PC data storage means 25, and 28 is handled by the internal instrument 21 A database built from various signals (data)
In addition to being accessible from the operator station OP, the data output from each internal instrument can be modified by the data reflection means 27 in the PC.

【0008】このように構成した装置の動作を次に説明
する。制御装置CS内の各内部計器21は、その入力
に、自分が担当するPCが扱っている例えば入力リレー
などの特定な接点信号あるいはアナログ信号が割り付け
られ、出力にも自分が担当するPCの出力コイルなど特
定な出力信号がそれぞれ割り付けてある。各PCには入
出力リレーなどの電機機器が接続され、それらの制御状
態(リレー状態など)がコモンレジスタ10に書込まれ
ている。制御装置CSと各PCとの間の通信が正常であ
る場合、制御装置CSは、PCが扱っているリレー状態
などをこのコモンレジスタ10を経て読出したり、また
出力を書込んだりする。これにより、制御装置CSはP
Cが扱っている各種電気機器の入出力状態をあたかも自
分への入出力信号であるかのように扱い、これらを制御
できる。
[0008] The operation of the apparatus thus constructed will be described below. Each internal instrument 21 in the control device CS has its input assigned to a specific contact signal or analog signal such as an input relay handled by the PC in charge of itself, and also outputs the output of the PC in charge of itself. Specific output signals such as coils are assigned respectively. Electrical equipment such as input / output relays are connected to each PC, and their control states (relay states and the like) are written in the common register 10. When the communication between the control device CS and each PC is normal, the control device CS reads the relay state and the like handled by the PC via the common register 10 and writes the output. As a result, the control device CS
The input / output states of various electric devices handled by C can be handled as if they were input / output signals to the user, and these can be controlled.

【0009】制御装置CS内の内部計器21が扱う各種
のデータは、データベースとして構築されるので、PC
が扱うデータについてもオペレータステーションOPに
おいて、統一的に管理することができる。図2は、制御
装置CSの電源が停電したような場合あるいはPCとの
通信が途絶えたような場合における動作を示すフローチ
ャートである。通信状態監視手段24は、制御装置CS
の電源が復電し、制御装置CSと全てのPCとの間の通
信が再開されたかどうかを監視している(ステップ1,
ステップ2)。通信状態が再開されると、各PCが持つ
最新のデータ(これらのデータはそれぞれのコモンレジ
スタに書込まれている)を、通信手段23を経てPC内
データ格納手段25が収集し、それらのデータを定義情
報格納部26に格納してあるPC内データ定義に従って
格納する。次に、PC内データ反映手段27は、それぞ
れの内部計器の出力値を、その内部計器が担当している
PC内の出力(データ)の値に一致するよう修正する
(ステップ3,4)。
The various data handled by the internal instrument 21 in the control device CS is constructed as a database, so that the PC
Can be uniformly managed in the operator station OP. FIG. 2 is a flowchart illustrating an operation in a case where the power supply of the control device CS is interrupted or a case where communication with the PC is interrupted. The communication state monitoring means 24 includes the control device CS
Of the control device CS and all the PCs are resumed (steps 1 and 2).
Step 2). When the communication state is resumed, the latest data of each PC (these data is written in the respective common registers) is collected by the data storage means 25 in the PC via the communication means 23, and the data is stored in the data storage means 25. The data is stored in accordance with the data definition in the PC stored in the definition information storage unit 26. Next, the data reflection means 27 in the PC corrects the output value of each internal instrument so as to match the value of the output (data) in the PC in charge of the internal instrument (steps 3 and 4).

【0010】図3は、本発明の装置において、制御装置
CSのデータをPC側に書込む場合の動作を示す概念図
である。時刻T1で制御装置がPC側にデータの書込み
を行った後、制御装置に停電が発生したとする。PC側
では、時刻T1に書込まれたデータに基づいて制御を継
続し、PC側のデータはその制御に従って更新されてい
る。制御装置CS側の停電が復電すると、制御装置は、
はじめに、時刻T2の時点で通信が再開されると、PC
内データの読込みを通信手段23を介して行い、PC内
データを制御装置内の内部計器の出力値に反映させ、制
御装置側とPC側のデータを一致させた後、制御装置C
Sで得られた制御結果をPC側に書込むようになってい
る。この様にして、PCに対して出力を送出している全
ての内部計器の出力値について、PC内データを反映さ
せた後、通常の制御状態に戻る。この時は制御装置CS
内の各内部計器の出力値は、既に自分が担当しているP
C内のデータと一致するように修正されているので、各
PCの出力は、急変することなく制御の連続性を維持す
ることができる。なお、上記の実施例において、データ
ベース、PC内データ格納手段、PC内のデータ定義情
報格納部をそれぞれ別々のブロックで示したが、一つの
メモリにこれらの機能領域を割り付けるようにしてもよ
い。
FIG. 3 is a conceptual diagram showing the operation of the apparatus of the present invention when data of the control device CS is written to the PC. Assume that a power failure occurs in the control device after the control device writes data to the PC at time T1. The PC continues the control based on the data written at time T1, and the data on the PC is updated according to the control. When the power failure of the control device CS is restored, the control device:
First, when communication is resumed at time T2, the PC
After reading the internal data through the communication means 23 and reflecting the data in the PC on the output value of the internal meter in the control device, and matching the data on the control device side with the data on the PC side, the control device C
The control result obtained in S is written on the PC side. In this way, after the data in the PC is reflected on the output values of all the internal instruments that are sending output to the PC, the control returns to the normal control state. At this time, the control device CS
The output value of each internal instrument in P
Since the data is corrected to match the data in C, the output of each PC can maintain control continuity without abrupt changes. In the above embodiment, the database, the data storage unit in the PC, and the data definition information storage unit in the PC are shown in separate blocks. However, these functional areas may be allocated to one memory.

【0011】[0011]

【発明の効果】以上詳細に説明したように、本発明によ
れば、制御装置とPCとを接続し、計装と電機制御とを
統合して分散形制御装置側で統一管理する場合におい
て、PCと制御装置との間での通信再開時に、PCの出
力が急変することのない、従って制御の継続性を維持で
きる分散形制御装置を実現できる。
As described above in detail, according to the present invention, when the control device and the PC are connected, the instrumentation and the electric machine control are integrated, and the decentralized control device performs unified management. When the communication between the PC and the control device is restarted, a distributed control device can be realized in which the output of the PC does not change abruptly, and thus can maintain the continuity of control.

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

【図1】本発明の一実施例を示す構成ブロック図であ
る。
FIG. 1 is a configuration block diagram showing one embodiment of the present invention.

【図2】制御装置CSの電源が停電したような場合ある
いはPCとの通信が途絶えたような場合における動作を
示すフローチャートである。
FIG. 2 is a flowchart illustrating an operation in a case where a power supply of a control device CS is interrupted or a case where communication with a PC is interrupted.

【図3】本発明の装置において制御装置CSのデータを
PC側に書込む場合の動作を示す概念図である。
FIG. 3 is a conceptual diagram showing an operation when data of a control device CS is written to a PC side in the device of the present invention.

【図4】従来装置において、制御装置のデータをPC側
に書込む場合の動作を示す概念図である。
FIG. 4 is a conceptual diagram showing an operation when writing data of a control device to a PC in a conventional device.

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

OP オペレータステーション CS 制御装置 11,12,13… プログラマブル・コントローラ
(PC) 10 コモンレジスタ 21 複数の内部計器 22 通信手段 23 通信手段 24 通信状況監視手段 25 PC内データ格納手段 26 定義情報格納部 27 PC内データ反映手段 28 データベース
OP Operator station CS control device 11, 12, 13 ... Programmable controller (PC) 10 Common register 21 Plurality of internal instruments 22 Communication means 23 Communication means 24 Communication status monitoring means 25 PC data storage means 26 Definition information storage 27 PC Internal data reflection means 28 database

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】制御装置とプログラマブル・コントローラ
(PC)とを接続し、計装と電機制御とを統合してこれ
らを統一管理する分散形制御装置であって、前記制御装
置に、制御機能を持つ内部計器と、前記PCとの間で通
信を行う通信手段と、PCと制御装置との間の通信状況
を監視する通信状況監視手段と、この通信状況監視手段
がPCと制御装置との間の通信再開を検出した場合、前
記通信手段を介してPC側のデータを読出しそのデータ
を格納するPCデータ格納手段と、前記内部計器の出力
値を前記PCデータ格納手段に格納されているPCデー
タと一致させるPC内データ反映手段とを設けたことを
特徴とする分散形制御装置。
1. A distributed control device for connecting a control device and a programmable controller (PC), integrating instrumentation and electric machine control and integrally managing them, wherein the control device has a control function. A communication device for communicating between the PC and the control device; a communication status monitoring device for monitoring a communication status between the PC and the control device; and a communication status monitoring device for controlling communication between the PC and the control device. When the communication restart is detected, PC data storage means for reading the data on the PC side via the communication means and storing the data, and PC data stored in the PC data storage means for the output value of the internal meter. And a data reflecting means in the PC for matching the data.
JP3134338A 1991-06-05 1991-06-05 Distributed control device Expired - Fee Related JP2973586B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3134338A JP2973586B2 (en) 1991-06-05 1991-06-05 Distributed control device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3134338A JP2973586B2 (en) 1991-06-05 1991-06-05 Distributed control device

Publications (2)

Publication Number Publication Date
JPH04359301A JPH04359301A (en) 1992-12-11
JP2973586B2 true JP2973586B2 (en) 1999-11-08

Family

ID=15126018

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3134338A Expired - Fee Related JP2973586B2 (en) 1991-06-05 1991-06-05 Distributed control device

Country Status (1)

Country Link
JP (1) JP2973586B2 (en)

Also Published As

Publication number Publication date
JPH04359301A (en) 1992-12-11

Similar Documents

Publication Publication Date Title
US7275236B1 (en) Method for programming a multiple device control system using object sharing
JPH04152403A (en) Starting of assembly to be connected to electronic control unit
JP4011846B2 (en) Method for reconfiguring a programmable field mounted device and method for programming a field mounted device to perform a calculation process and programmable field mounted device
US7168075B1 (en) Automation device and updating method
CN101163039A (en) Apparatus for restoring network information for home network system and method thereof
WO1990002366A1 (en) System for diagnosing cnc
JP2973586B2 (en) Distributed control device
JPH09330106A (en) Control system with backup function
US5615104A (en) Monitoring method and apparatus using a programmable logic controller
JP2973587B2 (en) Distributed control device
JP2625565B2 (en) Communication network programmer
RU2362199C2 (en) Redundant automation system for technical device management, and also operating procedure of similar type of automation system
JP3613933B2 (en) Programmable controller
JPS62187901A (en) Method for controlling duplex controller
JP2800333B2 (en) Module controller
JPH077770A (en) Remote supervisory equipment
JPS5941214B2 (en) Condition monitoring method
JP2519298B2 (en) Data transmission equipment
JPH06339182A (en) Distributed controller
JPH07113845B2 (en) System construction method for programmable controller
JPH05307512A (en) Communication terminal equipment
JP2699826B2 (en) Automatic update of terminal time by download
JPH0832078B2 (en) Station data automatic conversion processing method
JPH05204737A (en) Maintenance system for database
KR0167223B1 (en) Method and device of plc monitoring

Legal Events

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

Free format text: PAYMENT UNTIL: 20080903

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20080903

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20090903

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20100903

Year of fee payment: 11

LAPS Cancellation because of no payment of annual fees