JPH10124116A - Method for collecting trend data in controller - Google Patents

Method for collecting trend data in controller

Info

Publication number
JPH10124116A
JPH10124116A JP27430296A JP27430296A JPH10124116A JP H10124116 A JPH10124116 A JP H10124116A JP 27430296 A JP27430296 A JP 27430296A JP 27430296 A JP27430296 A JP 27430296A JP H10124116 A JPH10124116 A JP H10124116A
Authority
JP
Japan
Prior art keywords
trend
data
transmission
central monitoring
trend data
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
JP27430296A
Other languages
Japanese (ja)
Inventor
Tetsuo Koyama
哲雄 小山
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.)
Fuji Electric Co Ltd
Original Assignee
Fuji Electric Co 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 Fuji Electric Co Ltd filed Critical Fuji Electric Co Ltd
Priority to JP27430296A priority Critical patent/JPH10124116A/en
Publication of JPH10124116A publication Critical patent/JPH10124116A/en
Pending legal-status Critical Current

Links

Landscapes

  • Testing And Monitoring For Control Systems (AREA)
  • Programmable Controllers (AREA)

Abstract

PROBLEM TO BE SOLVED: To prevent the overflow of a buffer memory and also to reduce the load of transmission, by obtaining sufficient memory capacitance necessary for the trend display of a whole system from the total-sum of the number of recording points in the whole system and using it as a transmission buffer. SOLUTION: A controller 2 collects data from a sensor, etc., 5 and transmits to a central monitoring device 1 by way of a communication line 4. When trend data is transmitted, trend definition 31 given from a supporting device 3 at the time of initialization is referred to so as to execute transmission. Trend definition 31 is defined at every recording point. At the time of initial processing, referencing is repeatedly executed for the portion of a number of trend definition storage so that a data collection cycle at every station and the correspondence file of the number of the recording points are generated and, then, the total-sum of the number of the recording points are operated. The size of the buffer memory is decided by the total-sum of the number of the recording points and also the cyclic setting value of trend data transmission is decided.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、支援装置のトレン
ド定義を参照して収集したプラントのデータを要求元の
中央監視装置に送信する制御装置のトレンドデータ収集
方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a method for collecting trend data of a control device, which transmits plant data collected with reference to a trend definition of a support device to a central monitoring device of a request source.

【0002】[0002]

【従来の技術】制御装置は収集したプラントのデータを
送信先の中央監視装置毎に設けられたメモリ容量一定の
送信バッファメモリ(以下送信バッファと称す)にそれ
ぞれ一旦収集する。収集されたプラントのデータは、伝
送用に設けられた伝送用作業領域に転送し、ここからサ
イクリックに中央監視装置に送信される。中央監視装置
側では受信データの中からトレンド表示するデータが保
存される。
2. Description of the Related Art A control device temporarily collects collected plant data in a transmission buffer memory (hereinafter, referred to as a transmission buffer) having a fixed memory capacity provided for each central monitoring device of a transmission destination. The collected plant data is transferred to a transmission work area provided for transmission, from which it is cyclically transmitted to the central monitoring device. On the central monitoring device side, data to be displayed as a trend from the received data is stored.

【0003】[0003]

【発明が解決しようとする課題】一般に制御装置の送信
バッファおよび伝送用作業領域は各々システムの性能と
経済性とから定められるある一定量のメモリ容量を保有
している。データ送信先の中央監視装置が複数の場合に
は、収集されたデータはそれぞれ送信先の中央監視装置
毎に設けられた送信バッファに分けて収納され、これら
がサイクリックに制御装置の伝送用作業領域から送信さ
れ、通信回線を経由して中央監視装置に送信されている
のでデータ収集上の問題は発生しない。
Generally, the transmission buffer and the transmission work area of the control device each have a certain amount of memory capacity determined by the performance and economy of the system. When there are a plurality of central monitoring devices at the data transmission destination, the collected data is stored separately in transmission buffers provided for the respective central monitoring devices at the transmission destination, and these are cyclically transmitted to the transmission device of the control device. Since the data is transmitted from the area and transmitted to the central monitoring device via the communication line, no problem occurs in data collection.

【0004】しかしながらシステムの運用上の条件から
全てのトレンドデータが特定の1台の中央監視装置に集
中して送信されるような偏ったトレンド定義が与えられ
た場合には、送信先毎の送信バッファの容量および収集
周期が固定であるため、送信バッファから伝送用作業領
域へのデータ転送が送信バッファのプラントのデータ収
集周期に追いつかず送信バッファがオーバーフローの状
態となり、データの欠落が発生するなどシステムの仕様
を満足しなくなることがある。
[0004] However, if a biased trend definition is provided such that all trend data is transmitted intensively to one specific central monitoring device due to the operational conditions of the system, transmission is performed for each transmission destination. Since the buffer capacity and the collection period are fixed, the data transfer from the transmission buffer to the transmission work area cannot keep up with the data collection period of the transmission buffer plant, causing the transmission buffer to overflow and causing data loss, etc. The system specifications may not be satisfied.

【0005】[0005]

【課題を解決するための手段】単純に制御装置の送信バ
ッファの容量を増大してもあるいはデータ収集周期を高
速にしても解決できるがそれでは経済性が伴わなくなっ
てしまう。そこで、バッファ用メモリ領域の使い方とし
て、システム全体の記録点数の総和からシステム全体の
トレンド表示に必要十分なメモリ容量を求めてこれを送
信バッファとして使用し、残りは演算処理等他の用途に
用いるようにすればメモリ全体を無駄なく使用すること
が可能となる。
The problem can be solved by simply increasing the capacity of the transmission buffer of the control device or by increasing the data collection period, but this does not involve economics. Therefore, as a method of using the buffer memory area, a sufficient memory capacity necessary for displaying the trend of the entire system is obtained from the total number of recording points of the entire system and is used as a transmission buffer, and the rest is used for other purposes such as arithmetic processing In this way, the entire memory can be used without waste.

【0006】また、データの収集周期を可変とし記録点
数の総和が増えるにつれて送信周期を速くすることによ
り、伝送の負荷を低減し効率よく送信することが出来
る。
Further, by making the data collection cycle variable and increasing the transmission cycle as the total number of recording points increases, transmission load can be reduced and transmission can be performed efficiently.

【0007】[0007]

【発明の実施の形態】本発明のシステム構成を図1に示
す。制御装置2はセンサ等5からデータを収集し通信回
線4を経由して中央監視装置1へデータを送信する。ト
レンドデータを送信する場合は支援装置3からイニシャ
ル時に与えられるトレンド定義31を参照して行ってい
る。
FIG. 1 shows a system configuration of the present invention. The control device 2 collects data from the sensors 5 and transmits the data to the central monitoring device 1 via the communication line 4. When transmitting the trend data, the trend data 31 is given by referring to the trend definition 31 given at the initial time from the support device 3.

【0008】図2(a)は、支援装置3のメモリ領域に
格納されるトレンド定義を示す。また図2(b)は、図
2(a)で示された各トレンド定義の内容を示す。図2
(a)に示されるように、トレンド定義は各記録点毎に
定義されるものであり、ちなみに本願実施においては最
大256個の定義を格納することが可能である。イニシ
ャル処理では、このトレンド定義が格納されている個数
分だけ繰り返し参照することにより、図3に示すように
ステーション毎のデータ収集周期と記録点数の対応ファ
イルが作成され、これにより記録点数の総和が演算され
る。
FIG. 2A shows a trend definition stored in the memory area of the support device 3. FIG. 2B shows the contents of each trend definition shown in FIG. 2A. FIG.
As shown in (a), the trend definition is defined for each recording point, and in the embodiment of the present invention, a maximum of 256 definitions can be stored. In the initial processing, a file corresponding to the data collection cycle and the number of recording points for each station is created as shown in FIG. 3 by repeatedly referring to the number of times where the trend definition is stored. Is calculated.

【0009】図4は、記録点数の総和から記録点数×1
0のバッファメモリのサイズを持つようにして作成され
たステーション毎のバッファ領域サイズの対応ファイル
である。ここでバッファメモリのサイズを記録点数×1
0としたのは、データ送信のタイミングがデータ収集の
タイミングの5倍位あるので余裕をみて×10と設定し
たものである。
FIG. 4 is a graph showing the number of recording points × 1 from the total number of recording points.
This is a file corresponding to the buffer area size for each station created so as to have a buffer memory size of 0. Here, the size of the buffer memory is calculated as the number of recording points × 1.
The value of 0 is set to × 10 in consideration of the margin since the data transmission timing is about five times the data collection timing.

【0010】また、記録点数の総和から表1によりトレ
ンドデータ送信の周期設定値が決められる。この周期設
定値は送信起動処理を起動させるためのものであり、単
位は×200mSECで表される。
Further, the set value of the trend data transmission cycle is determined from Table 1 based on the total number of recording points. This cycle setting value is for activating the transmission activation process, and the unit is represented by 200 mSEC.

【0011】[0011]

【表1】 この周期設定値は送信処理で使用される。送信処理は2
00msecの定周期で起動しているが、この周期設定値に
カウントアップしたら送信処理を行うようにして、各ス
テーションへの送信周期を可変にしている。図5に制御
装置のメッセージ送信起動処理のフローチャートを、ま
た、図6には図5のフローチャート内のメッセージ送信
処理の詳細を示す。
[Table 1] This cycle setting value is used in transmission processing. Transmission processing is 2
It starts up at a fixed cycle of 00 msec, but when counting up to this cycle set value, transmission processing is performed, and the transmission cycle to each station is made variable. FIG. 5 shows a flowchart of the message transmission activation process of the control device, and FIG. 6 shows details of the message transmission process in the flowchart of FIG.

【0012】図5において、中央監視装置1から割り込
み501があった場合には左側の処理フローとなりメッ
セージ送信処理502が完了し、全ての割り込みステー
ションの伝送が完了503すれば割り込みフラグをOF
F504して処理を終了する。割り込みがない場合には
定周期の処理となり右側の処理フローとなる。すなわ
ち、定周期(200msec)毎に本処理フローに入り、入
った回数が送信先ステーション毎に設定された周期設定
値に達する505とメッセージ送信処理506を行う。
In FIG. 5, when an interrupt 501 is received from the central monitoring apparatus 1, the processing flow on the left side is performed, the message transmission processing 502 is completed, and if the transmission of all the interrupt stations is completed 503, the interrupt flag is set to OF.
The process ends after performing F504. If there is no interruption, the processing is performed at a fixed cycle, and the processing flow is on the right side. That is, this processing flow is entered at regular intervals (200 msec), and a message transmission process 506 and 505 where the number of entries reaches the cycle set value set for each destination station are performed.

【0013】図6は、制御装置で収集したデータが送信
バッファ21から伝送用作業領域22を介して送信先の
中央監視装置1へ送信されるまでのフローを示してい
る。本フローに起動がかかると最初に右側の処理フロー
に入り、トレンドデータを作成601して伝送用作業領
域に転送し、転送済フラグをON602して終了する。
FIG. 6 shows a flow until data collected by the control device is transmitted from the transmission buffer 21 to the destination central monitoring device 1 via the transmission work area 22. When this flow is started, the flow first enters the processing flow on the right side, creates 601 trend data, transfers it to the transmission work area, turns on the transfer completed flag 602, and ends.

【0014】2回目の起動がかかると真ん中の処理フロ
ーに入り、メッセージ送信要求を受け付け603て通信
回線4を介して送信先の中央監視装置1へ伝送を開始
し、伝送処理起動済フラグをON604して終了する。
3回目の起動がかかると左側の処理フローに入り、伝送
が正しく終了したか否かをチェック606して前記2つ
のフラグをOFF607、608してメッセージ送信を
完了する。
When the second activation is started, the process enters the middle processing flow, receives a message transmission request 603, starts transmission via the communication line 4 to the central monitoring device 1 of the transmission destination, and sets the transmission processing activated flag to ON 604. And exit.
When the third activation is started, the process flow on the left side is entered, and it is checked whether the transmission has been completed correctly 606, the two flags are turned off 607 and 608, and the message transmission is completed.

【0015】[0015]

【発明の効果】偏ったトレンド定義に対しても収集デー
タバッファメモリおよび送信周期を可変にしたことによ
りバッファメモリのオーバーフローを防ぐとともに、伝
送の負荷を減らすことが可能となる。
By making the collected data buffer memory and the transmission cycle variable even for a biased trend definition, overflow of the buffer memory can be prevented and the transmission load can be reduced.

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

【図1】この発明の実施例を示すシステム構成図。FIG. 1 is a system configuration diagram showing an embodiment of the present invention.

【図2】(a)はトレンド定義を示す図、(b)はトレ
ンド定義の内容を示す図。
2A is a diagram showing a trend definition, and FIG. 2B is a diagram showing the contents of the trend definition.

【図3】ステーション毎のデータ収集周期と記録点数の
対応ファイルを示す図。
FIG. 3 is a diagram showing a file corresponding to a data collection period and the number of recording points for each station.

【図4】ステーション毎のバッファ領域サイズの対応フ
ァイルを示す図。
FIG. 4 is a diagram showing a file corresponding to a buffer area size for each station.

【図5】メッセージ送信起動処理フローチャート。FIG. 5 is a flowchart of a message transmission start process.

【図6】メッセージ送信処理フローチャート。FIG. 6 is a flowchart of a message transmission process.

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

1…中央監視装置、2…制御装置、3…支援装置、4…
通信回線。
DESCRIPTION OF SYMBOLS 1 ... Central monitoring device, 2 ... Control device, 3 ... Support device, 4 ...
Communication line.

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】収集されたプラントのデータを送信先の中
央監視装置毎に収納するバッファメモリと、バッファメ
モリに収納されたプラントのデータを中央監視装置へ送
信する作業領域と、送信されたプラントのデータをトレ
ンドデータとして監視する複数の中央監視装置と、各ト
レンドデータの内容を定義するトレンド定義を有する支
援装置と、これらの装置間のデータの授受をおこなう通
信回線とを有する制御装置のトレンドデータ収集方法に
おいて、前記支援装置より与えられるトレンド定義を参
照してトレンドデータ送信先の中央監視装置の総和と前
記中央監視装置の記録点数の総和を算出し、前記バッフ
ァメモリ容量を前記記録点数の総和から算出し保有する
ことを特徴とする制御装置のトレンドデータ収集方法。
1. A buffer memory for storing collected plant data for each central monitoring device of a transmission destination, a work area for transmitting plant data stored in the buffer memory to the central monitoring device, and a transmitted plant Of a control device that has a plurality of central monitoring devices that monitor the data of the trend data as trend data, a support device that has a trend definition that defines the content of each trend data, and a communication line that exchanges data between these devices. In the data collection method, the total sum of the trend data transmission destination central monitoring device and the total number of recording points of the central monitoring device is calculated by referring to the trend definition given by the support device, and the buffer memory capacity is calculated based on the recording point number. A trend data collection method for a control device, wherein the trend data is collected from a total sum.
【請求項2】請求項1に記載の制御装置のトレンドデー
タ収集方法において、トレンドデータ送信先の中央監視
装置毎のトレンドデータ送信周期を前記記録点数の総和
に応じて設定出来るようにしたことを特徴とする制御装
置のトレンドデータ収集方法。
2. The trend data collection method for a control device according to claim 1, wherein the trend data transmission cycle for each central monitoring device to which the trend data is transmitted can be set according to the total of the recording points. Characteristic method of collecting trend data for control devices.
JP27430296A 1996-10-17 1996-10-17 Method for collecting trend data in controller Pending JPH10124116A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP27430296A JPH10124116A (en) 1996-10-17 1996-10-17 Method for collecting trend data in controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP27430296A JPH10124116A (en) 1996-10-17 1996-10-17 Method for collecting trend data in controller

Publications (1)

Publication Number Publication Date
JPH10124116A true JPH10124116A (en) 1998-05-15

Family

ID=17539757

Family Applications (1)

Application Number Title Priority Date Filing Date
JP27430296A Pending JPH10124116A (en) 1996-10-17 1996-10-17 Method for collecting trend data in controller

Country Status (1)

Country Link
JP (1) JPH10124116A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2016071460A (en) * 2014-09-26 2016-05-09 Jfeエンジニアリング株式会社 Dual monitoring control system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2016071460A (en) * 2014-09-26 2016-05-09 Jfeエンジニアリング株式会社 Dual monitoring control system

Similar Documents

Publication Publication Date Title
JPH10124116A (en) Method for collecting trend data in controller
JP3662084B2 (en) ATM switching equipment
KR960015249A (en) Apparatus and method for controlling automatic frame transmission during I / O channel and peripheral device control period in data processing system
JPS6115260A (en) Data processor
JP3214557B2 (en) I / O control device and DMA transfer control method
JP2917369B2 (en) Line network controller
JPS6198050A (en) Transfer system for received data
JPH02272658A (en) Data processor
JPS59207762A (en) Information transmitting device
JP3332625B2 (en) Recording device
JPH06334705A (en) Communication controller
JP2829120B2 (en) Data transmission circuit
JPH1029477A (en) Electronic control device and electronic controlling method
JPH0469905B2 (en)
JPH0773266B2 (en) Polling control system
JPH06295247A (en) Real time processing realizing method
JPH07210214A (en) Control system and processing method for data
JPH0287248A (en) Data transfer system
JPH05120096A (en) File overflow controlling system
JPS62155638A (en) Retransmission processor
JPH04344552A (en) Multi-input/output control method
JPH03269616A (en) Printer control system
JPH02133849A (en) Transfer process system for received data
KR970061299A (en) Control devices and organic device network systems for organic devices
JPS6228874A (en) Data transfer system