JPH09160610A - Data collection method for abnormality analysis - Google Patents

Data collection method for abnormality analysis

Info

Publication number
JPH09160610A
JPH09160610A JP31987295A JP31987295A JPH09160610A JP H09160610 A JPH09160610 A JP H09160610A JP 31987295 A JP31987295 A JP 31987295A JP 31987295 A JP31987295 A JP 31987295A JP H09160610 A JPH09160610 A JP H09160610A
Authority
JP
Japan
Prior art keywords
data
ras
abnormality analysis
definition table
program
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
JP31987295A
Other languages
Japanese (ja)
Inventor
Hiroyuki Wada
宏行 和田
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 JP31987295A priority Critical patent/JPH09160610A/en
Publication of JPH09160610A publication Critical patent/JPH09160610A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

PROBLEM TO BE SOLVED: To provide a method which collects only necessary and sufficient data for abnormality analysis and transfers them to a support tool as to a system which is controlled by a programmable controller or controller similar to it. SOLUTION: The support tool 1A is equipped with a RAS definition table generation program P12 which generates a RAS definition table TB, and the programmable controller C1A is equipped with a RAS data collecting program CP2A which collects the data for abnormality analysis according to the instruction of the RAM definition table. Then a collecting source D1i for data needed as the data for abnormality analysis and the collecting frequency d2i of the data for abnormality analysis are specified with the RAS definition table TB. A control arithmetic means 21 executes the RAS data collecting program CP2A by referring to the RAS definition table TB, collects the data for abnormality analysis at a specific frequency from the specified collecting source D1i and transfers them to the support tool.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、プログラマブルコ
ントローラまたは、プログラマブルコントローラと類似
の装置である制御装置を制御手段とするシステムにおけ
る、異常原因を解析するための異常解析用データ収集方
法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an anomaly analysis data collection method for analyzing the cause of an anomaly in a system having a programmable controller or a controller similar to the programmable controller as a control means.

【0002】[0002]

【従来の技術】図7にプログラマブルコントローラ(Pr
ogrammable Controller:以下の説明ではPCと略記す
る)または、PCに類似の機能を有する制御装置を制御
手段とするシステムの一例として、PCC1によって制御
対象CO1 を制御するシステムCSを示す。図において、1
はPCC1に特定の動作をさせる指令信号であるコマンド
やPCC1が動作する上で必要なデータを送信したり、P
CC1が保有するデータを送信させてPCC1の状態を含む
システムSの状態を表示するなど、PCC1の動作を支援
する装置であるサポートツールである。PCC1は、第1
の信号母線LN1 を経由してサポートツール1と交信、第
2の信号母線LN2 を経由して制御対象CO1 とと交信す
る。
2. Description of the Related Art FIG. 7 shows a programmable controller (Pr
As an example of a system that uses a controller having a function similar to that of a PC as a control means, a system CS that controls the controlled object CO1 by the PCC1 is shown. In the figure, 1
Sends a command which is a command signal for causing the PCC1 to perform a specific operation, data necessary for the PCC1 to operate, or P
It is a support tool that is an apparatus that supports the operation of PCC1, such as transmitting the data held by CC1 to display the status of system S including the status of PCC1. PCC1 is the first
It communicates with the support tool 1 via the signal bus LN1 of and the communication with the control target CO1 via the second signal bus LN2.

【0003】図8は、図7に示した制御対象CO1 のブロ
ック図である。図によって制御対象C01 の機能を説明す
る。制御対象CO1 は、バルブV1を経てタンクTKに注入さ
れる液LQ1 を所定の温度に加熱し、加熱した液LQ1 を所
定流量で送出する装置である。液LQ1 は、蒸気を熱源と
するヒータHTによって加熱され、ポンプPMによって送出
される。送出流量は、流量計FLによって計測される流量
が所定の範囲内になるようにバルブV3によって制御され
る。液LQ1 の流入量は、液面計QLで検出される液LQ1 の
液位が所定の範囲内になるように、バルブV1が開閉され
ることによって制御され、液LQ1 の温度は、温度センサ
THで検出される温度が所定の範囲内になるように、ヒー
タHTの熱源の蒸気の流れがバルブV2の開閉で流通遮断さ
れることによって制御される。
FIG. 8 is a block diagram of the controlled object CO1 shown in FIG. The function of the controlled object C01 will be described with reference to the drawings. The controlled object CO1 is a device that heats the liquid LQ1 injected into the tank TK through the valve V1 to a predetermined temperature and sends the heated liquid LQ1 at a predetermined flow rate. The liquid LQ1 is heated by the heater HT using steam as a heat source and is delivered by the pump PM. The delivery flow rate is controlled by the valve V3 so that the flow rate measured by the flow meter FL falls within a predetermined range. The inflow amount of the liquid LQ1 is controlled by opening and closing the valve V1 so that the liquid level of the liquid LQ1 detected by the liquid level gauge QL is within a predetermined range, and the temperature of the liquid LQ1 is measured by a temperature sensor.
The flow of steam from the heat source of the heater HT is controlled by opening and closing the valve V2 so that the temperature detected by TH falls within a predetermined range.

【0004】図9は、図10に示したPCC1の構成を、周
辺の機器を含めて示したブロック図である。図におい
て、THは温度センサ、FLは流量計、PMはポンプであっ
て、図8に示した制御対象CO1 を構成する要素の同符号
のものと同一のものであり、PCC1は図7に示したPC
C1と同一のものである。信号変換器31と信号変換器32と
はそれぞれ、温度センサTHからの液温TH(温度センサと
温度センサで検出される温度とは同符号を付して説明す
る)、および流量計FL(流量計と流量計で検出される流
量とは同符号を付して説明する)からの流量FLにそれぞ
れ対応したアナログ量の電気信号をデジタルの信号に変
換してPCC1に送信する信号変換器であり、信号変換器
45はPCC1から送信された制御信号に基づいて、ポンプ
PMを制御する信号変換器である。PCC1と、信号変換器
31などとの間で交信される信号は、第2信号母線LN2 を
経由して伝送される。
FIG. 9 is a block diagram showing the configuration of the PCC 1 shown in FIG. 10 including peripheral devices. In the figure, TH is a temperature sensor, FL is a flow meter, and PM is a pump, which are the same as those of the elements constituting the controlled object CO1 shown in FIG. 8, and PCC1 is shown in FIG. PC
It is the same as C1. The signal converter 31 and the signal converter 32 respectively include a liquid temperature TH from the temperature sensor TH (the temperature sensor and the temperature detected by the temperature sensor will be described with the same reference numerals), and a flow meter FL (flow rate). The flowmeter detected by the flowmeter and the flowmeter will be described with the same reference numerals)) and is a signal converter for converting an electric signal of an analog amount corresponding to the flowrate FL from , Signal converter
45 is a pump based on the control signal transmitted from PCC1
It is a signal converter that controls PM. PCC1 and signal converter
A signal communicated with the communication terminal 31, etc. is transmitted via the second signal bus LN2.

【0005】PCC1は、制御演算手段21、プログラム記
憶手段22、データ記憶手段23、入力装置24、表示装置2
5、第1入出力部26、第2入出力部27からなる。なお、
以下の説明においては、PCC1の機能は、制御演算手段
21がプログラム記憶手段22に格納されているプログラム
を実行することによって実現するのであるが、PCC1の
機能はプログラムが実現するものとして説明する。
The PCC 1 includes a control calculation means 21, a program storage means 22, a data storage means 23, an input device 24 and a display device 2.
5, a first input / output unit 26 and a second input / output unit 27. In addition,
In the following description, the function of PCC1 is the control calculation means.
21 is realized by executing the program stored in the program storage means 22, and the function of the PCC 1 will be described as being realized by the program.

【0006】プログラム記憶手段22には、基本プログラ
ムP21 と制御プログラムP22 とからなるシステムプログ
ラムSP2 と、異常解析用データを収集する機能のプログ
ラムであるRASデータ収集プログラムCP2 (収集プロ
グラムCP2 と略記する)が格納されている。基本プログ
ラムP21 は、第1入出力部26を介して行われるサポート
ツール1(図7を参照)との交信の制御、第2入出力部
27を介して行われる信号変換器31,32,45等との交信の制
御など、PCC1の基本的な機能を実現するプログラムで
あり、制御プログラムP22 は、サポートツール1からの
コマンドに従い、制御対象CO1 に関する制御をするプロ
グラムである。例えば、サポートツール1からコマンド
として目標の温度を与えられて、温度センサTH、流量計
FL、からの信号を参照して蒸気の流量を加減するバルブ
V2の開度を制御し、コマンドとして目標の流量を与えら
れ、流量計FLからの信号を参照して、液LQ1 を送出する
バルブV3をを制御し、液面計QLからの信号を参照して液
LQ1 を流入するバルブV1を制御する。収集プログラムCP
2 は、異常が検出された場合の異常原因解析の用に供す
るために定められた箇所のデータを収集し、この収集し
た収集データRDをデータを記憶手段23に設定された、収
集データ領域RDA に格納するプログラムである。データ
記憶手段23には、前述の収集データ領域RDA の他に、プ
ログラムの実行のために参照されるデータや、プログラ
ムの実行によって生成されたデータを格納する領域が設
けられている。
The program storage means 22 has a system program SP2 consisting of a basic program P21 and a control program P22, and a RAS data collection program CP2 (abbreviated as collection program CP2) which is a program having a function of collecting data for abnormality analysis. Is stored. The basic program P21 controls the communication with the support tool 1 (see FIG. 7) performed via the first input / output unit 26, and the second input / output unit.
It is a program that realizes the basic functions of PCC1 such as the control of communication with signal converters 31, 32, 45, etc. via 27, and the control program P22 is a control target according to the command from the support tool 1. This is a program that controls CO1. For example, when the target temperature is given as a command from the support tool 1, the temperature sensor TH, the flow meter
Valve that adjusts the flow rate of steam by referring to the signal from FL
It controls the opening of V2, receives the target flow rate as a command, refers to the signal from the flow meter FL, controls the valve V3 that sends out the liquid LQ1, and refers to the signal from the level gauge QL. Liquid
Control the valve V1 flowing into LQ1. Collection program CP
2 is a collection data area RDA in which the data of the location determined to be used for the analysis of the cause of the abnormality when the abnormality is detected is collected and the collected data RD is set in the storage means 23. Is a program to be stored in. In addition to the above-mentioned collected data area RDA, the data storage means 23 is provided with an area for storing data referred to for executing the program and data generated by executing the program.

【0007】図10に図7に示したサポートツール1の内
部を表したブロック図を示す。サポートツール1は、制
御演算手段11、プログラム記憶手段12、データ記憶手段
13、入力装置14、表示装置15、入出力部16からなる。制
御演算手段11は、プログラム記憶手段12に格納されてい
るプログラムを実行し、サポートツール1の機能を実現
する。なお、以下の説明では、制御演算手段11がプログ
ラム記憶手段12に格納されたプログラムを実行して実現
する機能を、プログラムが実現するものとして説明す
る。プログラム記憶手段12には、基本プログラムP11 、
制御プログラムP12 、異常解析プログラムP13 (以下の
説明では、解析プログラムP13 と略記する)からなるシ
ステムプログラムSP1 が格納されている。基本プログラ
ム P11は、入力装置14から入力される信号を受信した
り、入出力部16を介し行われる信号の入出力を制御した
り、データ記憶部13の内容を表示装置15に表示するなど
のサポートツール1の基本的な機能を実現するプログラ
ムであり、制御プログラムP12は、コマンドを生成した
り、PCC1に送信すべきデータを編集し、このコマンド
やデータを基本プログラムP11 の機能によってPCC1に
送信するプログラムであり、解析プログラムP13 は、基
本プログラムP11 の機能によって、PCC1の収集データ
領域RDA (図9を参照)に格納されている収集データRD
を入力し、この入力した収集データRDを解析用データと
して、データ記憶部13に設定された解析用データ領域DR
ATに格納し、格納した内容を検査し、異常が検出された
場合の処理を決めるプログラムである。データ記憶手段
13には、上述の解析用データ領域RDATが設けられている
他、制御演算手段11の実行時に参照されるデータや、制
御演算手段11がプログラムを実行した結果生成されたデ
ータを格納する領域が設定される。
FIG. 10 is a block diagram showing the inside of the support tool 1 shown in FIG. The support tool 1 includes a control calculation unit 11, a program storage unit 12, and a data storage unit.
13, an input device 14, a display device 15, and an input / output unit 16. The control calculation means 11 executes the program stored in the program storage means 12 to realize the function of the support tool 1. In the following description, the function realized by the control calculation means 11 by executing the program stored in the program storage means 12 will be described as being realized by the program. In the program storage means 12, the basic program P11,
A system program SP1 including a control program P12 and an abnormality analysis program P13 (abbreviated as analysis program P13 in the following description) is stored. The basic program P11 receives a signal input from the input device 14, controls input / output of a signal performed via the input / output unit 16, displays the contents of the data storage unit 13 on the display device 15, and the like. The control program P12 is a program that realizes the basic functions of the support tool 1. The control program P12 edits the data that should be sent to the PCC1 and sends the commands and data to the PCC1 by the functions of the basic program P11. The analysis program P13 is a program that executes the collected data RD stored in the collected data area RDA (see FIG. 9) of PCC1 by the function of the basic program P11.
Is input, and the input collected data RD is used as analysis data, and the analysis data area DR set in the data storage unit 13 is input.
It is a program that is stored in the AT, inspects the stored contents, and determines the processing when an abnormality is detected. Data storage means
In 13 is provided the above-mentioned analysis data area RDAT, and also has an area for storing the data referred to when the control operation means 11 is executed and the data generated as a result of the control operation means 11 executing the program. Is set.

【0008】図11に、図7に示したPCC1によって収集
される収集データの例を示す。図は横軸を時間軸とし、
縦軸に収集データの値を表したグラフであり、T0,T1,T2
等の符号は、この符号が付記されたグラフ上の時点を表
す符号である。図において、THは、図7に示したPCC1
の制御対象CO1 を構成する温度センサTH(図8を参照)
が示す液LQ1 の温度のグラフであり、PMは、ポンプPMが
休止状態にあるか運転状態にあるかを2値の "0" と "
1" とに対応させて表したグラフである。PCPC1 のR
ASデータ収集プログラムCP2 は、時刻Ti(iは時刻の順
位を表す番号、例えば時刻T0、時刻T1)に於ける温度T
H、ポンプPMの運転を表すデータ等を、第2入出力部27
(図9を参照)から収集データRDとして入力し、収集デ
ータ領域RDA (図9を参照)に格納する。図11では収集
データRDとして、温度TH、ポンプPMの運転状態のみが示
されているが、制御対象CO1 の他の部分における計測値
や状態を表すデータも、時刻Tiにおいて入力され、収集
データ領域RDA に格納される。収集データ領域RDA に格
納された収集データRDは、所定時間を経過したデータか
ら順次消去される。
FIG. 11 shows an example of collected data collected by the PCC1 shown in FIG. In the figure, the horizontal axis is the time axis,
It is a graph showing the value of collected data on the vertical axis, T0, T1, T2
Symbols such as “A” are symbols that represent the time points on the graph to which the symbol is added. In the figure, TH is PCC1 shown in FIG.
Temperature sensor TH that constitutes the control target CO1 (see Fig. 8)
Is a graph of the temperature of the liquid LQ1 shown by, and PM indicates whether the pump PM is in a resting state or in an operating state by a binary "0" and "
It is a graph corresponding to "1". R of PCPC1
The AS data collection program CP2 uses the temperature T at time Ti (i is a number indicating the order of time, for example, time T0, time T1).
The data indicating the operation of H and pump PM, etc.
(See FIG. 9) and input as collected data RD and store it in the collected data area RDA (see FIG. 9). In FIG. 11, only the temperature TH and the operating state of the pump PM are shown as the collected data RD, but the data indicating the measured values and states in other parts of the controlled CO1 are also input at the time Ti and the collected data area is displayed. Stored in RDA. The collected data RD stored in the collected data area RDA is sequentially erased from the data after a predetermined time has passed.

【0009】図12に、図11によって説明のとおりにして
PCC1に入力され、PCC1の収集データ領域RDA に格納
された収集データRDの例を示す。図に示すとおりに、時
刻T0において入力された温度THのデータは、収集データ
領域RDA の先頭番地RDA0の領域に格納され、ポンプPMの
状態を表すデータは、番地RDA0に続く番地の番地RDA1の
領域に格納される。時刻T1のデータは、時刻T0での最後
のデータが格納される番地RDA(m-1)に続く番地RDA(m)か
ら時刻T0の場合と同一の測定値または状態を表すデータ
の順序で格納される。収集データ領域RDA に格納された
収集データRDは、サポートツール1の解析用データ領域
RDAT(図10を参照)に転送される。
FIG. 12 shows an example of the collected data RD input to the PCC1 and stored in the collected data area RDA of the PCC1 as described with reference to FIG. As shown in the figure, the data of the temperature TH input at the time T0 is stored in the area of the first address RDA0 of the collected data area RDA, and the data showing the state of the pump PM is of the address RDA1 of the addresses following the address RDA0. It is stored in the area. The data at time T1 is stored in the order of data representing the same measured value or state as at time T0 from address RDA (m) following the address RDA (m-1) where the last data at time T0 is stored. To be done. The collected data RD stored in the collected data area RDA is the analysis data area of Support Tool 1.
Transferred to RDAT (see Figure 10).

【0010】以上の説明において、収集データ領域RDA
に格納する収集データRDの例としては、PCC2の制御対
象CO1 についてのデータのみを上げたが、PCC1自体の
状態、例えば、第1入出力部21(図9を参照)や第2入
出力部27の状態を表すデータ等、PCC2自体の状態を表
すデータも収集データRDとして格納される。
In the above description, the collected data area RDA
As an example of the collected data RD stored in the table, only the data about the control target CO1 of the PCC2 is shown, but the state of the PCC1 itself, for example, the first input / output unit 21 (see FIG. 9) and the second input / output unit Data representing the status of the PCC2 itself, such as data representing the status of 27, is also stored as the collected data RD.

【0011】[0011]

【発明が解決しようとする課題】前述のとおりに、PC
などの制御装置と、制御対象からなるシステムにおい
て、異常が発生した場合に、異常原因を明らかにし、シ
ステムの速やかな運転再開を可能とするために、異常解
析用データの収集を常時行っておくことは有効な方法で
ある。従来の異常解析用データ収集方法によれば、制御
対象や制御装置の状態を表すデータの全ての発生源のデ
ータを収集データとして所定時間ごとに入力し、収集デ
ータ領域に蓄積しておき、この収集データ領域の内容を
参照して異常解析を行う方法が行われていた。しかし、
この方法による場合は、収集されるデータの量が膨大と
なるために、大きい記憶容量を必要とする上に、制御装
置とサポートツール間の交信の遅延が許容しうる限界を
超える場合もあった。
As described above, the PC
When an abnormality occurs in the system consisting of the control device such as the above and the control target, the cause of the abnormality is clarified, and the abnormality analysis data is constantly collected in order to enable the system to restart quickly. That is an effective method. According to the conventional data collection method for abnormality analysis, the data of all the generation sources of the data representing the state of the controlled object or the control device is input as the collected data at predetermined time intervals and accumulated in the collected data area. A method of performing abnormality analysis by referring to the contents of the collected data area was used. But,
According to this method, the amount of collected data becomes enormous, which requires a large storage capacity, and the communication delay between the control device and the support tool may exceed an allowable limit. .

【0012】以上に述べた事情があることに鑑み、本発
明は、異常解析用データを必要且つ十分な範囲に低減す
ることにより、データの記憶容量を節約するとともに、
サポートツールと制御装置間の速やかな交信を確保する
ことを可能とした異常解析用データ収集方法を提供する
ことを目的とする。
In view of the above-mentioned circumstances, the present invention saves data storage capacity by reducing the abnormality analysis data to a necessary and sufficient range.
It is an object of the present invention to provide a data collection method for abnormality analysis that enables quick communication between a support tool and a control device.

【0013】[0013]

【課題を解決するための手段】前述の目的を達成するた
め、本発明によれば、プログラマブルコントローラであ
るか、またはプログラマブルコントローラと同類の装置
である制御装置と、この制御装置によって制御される制
御対象とからなるシステムにおいて、制御装置が所定の
箇所から所定の時刻に収集した異常解析用データを、制
御演算手段を有するサポートツールに転送させる異常解
析用データ収集方法において、サポートツールにRAS
定義テーブル作成プログラムを備え、制御装置には異常
解析用のデータを収集するプログラムであるRASデー
タ収集プログラムを備え、サポートツールの制御演算手
段にRAS定義テーブル作成プログラムを実行させてサ
ポートツールのデータ記憶手段中に異常解析用データの
収集条件を表したRAS定義テーブルを生成し、このR
AS定義テーブルを制御装置に転送し、制御装置の制御
演算手段に、この転送されたRAS定義テーブルに従っ
てRASデータ収集プログラムを実行させて、異常解析
用データを収集させることを特徴とする。
In order to achieve the above-mentioned object, according to the present invention, a control device, which is a programmable controller or a device similar to the programmable controller, and a control controlled by the control device. In the system including the target, in the abnormality analysis data collection method of transferring the abnormality analysis data collected by the control device from a predetermined location at a predetermined time to a support tool having a control calculation unit, the support tool uses RAS.
The control device is provided with a definition table creation program, and the control device is provided with a RAS data collection program that is a program for collecting data for abnormality analysis. The control calculation means of the support tool is caused to execute the RAS definition table creation program to store data of the support tool. An RAS definition table showing the collection condition of the abnormality analysis data is generated in the means, and the R
The AS definition table is transferred to the control device, and the control calculation means of the control device is caused to execute the RAS data collection program according to the transferred RAS definition table to collect the abnormality analysis data.

【0014】従って、制御装置は、サポートツールが作
成したRAS定義テーブルに従って異常解析用データを
収集する。また、プログラマブルコントローラである
か、またはプログラマブルコントローラと同類の装置で
ある制御装置と、この制御装置によって制御される制御
対象とからなる、複数個のシステムのそれぞれのシステ
ムにおいて、それぞれの制御装置が所定の箇所から所定
の時刻に収集した異常解析用データを、制御演算手段を
有するサポートツールに転送させる異常解析用データ収
集方法において、サポートツールにRAS定義テーブル
作成プログラムを備え、制御装置には異常解析用のデー
タを収集するプログラムであるRASデータ収集プログ
ラムを備え、サポートツールの制御演算手段にRAS定
義テーブル作成プログラムを実行させてサポートツール
のデータ記憶手段中にそれぞれの制御装置に対応した異
常解析用データの収集条件を表したRAS定義テーブル
を生成し、このRAS定義テーブルを、このRAS定義
テーブルに対応するそれぞれの制御装置に転送し、それ
ぞれの制御装置の制御演算手段に、この転送されたRA
S定義テーブルに従ってRASデータ収集プログラムを
実行させて、異常解析用データを収集させることを特徴
とする。
Therefore, the control device collects the abnormality analysis data in accordance with the RAS definition table created by the support tool. In addition, in each system of a plurality of systems, which is a programmable controller or a control device that is a device similar to the programmable controller and a control target controlled by this control device, each control device has a predetermined function. In the abnormality analysis data collection method of transferring the abnormality analysis data collected from the location at a predetermined time to a support tool having a control calculation means, the support tool includes a RAS definition table creating program, and the control device includes the abnormality analysis. RAS data collection program that is a program for collecting data for use in the support tool, and causes the control calculation means of the support tool to execute the RAS definition table creation program to analyze the abnormality corresponding to each control device in the data storage means of the support tool. Show data collection conditions RAS generates definition tables, the RAS definition table, and forwards the respective control device corresponding to the RAS definition table, the control operation unit of each controller, the transferred RA
The RAS data collection program is executed according to the S definition table to collect the abnormality analysis data.

【0015】従って、複数個ある全ての制御装置が、そ
れぞれの制御装置用に作成されたRAS定義テーブルに
従って異常解析用データを収集する。また、請求項1ま
たは請求項2のいずれかの発明において、RAS定義テ
ーブルは、異常解析用データを収集する箇所である収集
源を指定するデータを含むものとすると好適である。即
ち、制御装置はRAS定義テーブルで指定された収集源
の異常解析用データのみを収集する。
Therefore, all of the plurality of control devices collect the data for abnormality analysis according to the RAS definition table created for each control device. Further, in the invention of either claim 1 or claim 2, it is preferable that the RAS definition table includes data designating a collection source which is a place where the data for abnormality analysis is collected. That is, the control device collects only the abnormality analysis data of the collection source specified in the RAS definition table.

【0016】また、請求項1ないし請求項3のいずれか
の発明において、RAS定義テーブルは、異常解析用デ
ータを収集する頻度を収集源ごとに指定するデータを含
むものとすると好適である。即ち、制御演算手段は、R
AS定義テーブルで指定された頻度に従って、RASデ
ータを収集プログラムを実行し異常解析用データを収集
する。
Further, in the invention according to any one of claims 1 to 3, it is preferable that the RAS definition table includes data for designating a collection frequency of abnormality analysis data for each collection source. That is, the control calculation means is R
According to the frequency specified in the AS definition table, the RAS data collection program is executed to collect the abnormality analysis data.

【0017】また、RASデータ収集プログラムは、収
集した異常解析用データをデータ記憶手段に先入れ先出
しの形式で格納するプログラムを含み、RAS定義テー
ブルは、データ記憶手段に格納される異常解析用データ
の蓄積量を指定するデータを含み、このデータが指定す
る蓄積量を越える異常解析用データを消去するものとす
ると好適である。即ち、制御演算手段は、RASデータ
収集プログラムを実行し、収集したデータを蓄積すると
同時に、RAS定義テーブルで指定された蓄積量を超え
る異常解析用データを消去する。
Further, the RAS data collection program includes a program for storing the collected abnormality analysis data in the data storage means in a first-in first-out format, and the RAS definition table stores the abnormality analysis data stored in the data storage means. It is preferable that the abnormality analysis data including the data specifying the amount and the data exceeding the storage amount specified by the data be deleted. That is, the control calculation means executes the RAS data collection program, accumulates the collected data, and at the same time erases the abnormality analysis data that exceeds the accumulation amount designated in the RAS definition table.

【0018】さらに、RAS定義テーブルは、制御装置
のデータ記憶手段の異常解析用データを一時的に格納す
る領域である収集データ領域の先頭番地と、収集データ
領域の記憶容量とをそれぞれ表したデータを含み、収集
データ領域の先頭番地と収集データ領域の記憶容量とに
よって、収集データ領域の適否を判断するものとすると
好適である。即ち、RAS定義テーブルが示す収集デー
タ領域の先頭番地と収集データ領域の大きさとをそれぞ
れ、予め制御装置において予定されている収集データ領
域の先頭番地と、収集データ領域の大きさと比較し、R
AS定義テーブルが指定する収集データ領域が受け入れ
可能か否かを検査する。
Further, the RAS definition table is data representing the start address of the collected data area, which is an area for temporarily storing the abnormality analysis data in the data storage means of the control device, and the storage capacity of the collected data area. It is preferable that the suitability of the collected data area is determined based on the start address of the collected data area and the storage capacity of the collected data area. That is, the head address of the collected data area and the size of the collected data area indicated by the RAS definition table are respectively compared with the head address of the collected data area and the size of the collected data area that are scheduled in advance in the control device, and R
It is checked whether the collected data area specified by the AS definition table is acceptable.

【0019】[0019]

【発明の実施の形態】本発明の異常解析用データ収集方
法によれば、サポートツールにおいて異常解析用データ
を収集するための条件を指定するRAS定義テーブルを
作成して制御装置に転送し、このRAS定義テーブルを
転送された制御装置が、RAS定義テーブルに示された
条件に従って異常解析用データを収集し、収集した異常
解析用データをサポートツールに転送する。以下、発明
の実施の形態の例を挙げて詳細に説明する。
BEST MODE FOR CARRYING OUT THE INVENTION According to the abnormality analysis data collection method of the present invention, a RAS definition table that specifies conditions for collecting abnormality analysis data in a support tool is created and transferred to a control device. The control device to which the RAS definition table has been transferred collects the abnormality analysis data according to the conditions shown in the RAS definition table, and transfers the collected abnormality analysis data to the support tool. Hereinafter, examples of embodiments of the invention will be described in detail.

【0020】図1に、本発明の実施の形態を示す一例と
して、サポートツール1Aと、制御対象CO1 の制御を行う
制御装置であるPCC1A からなるシステムCSA のブロッ
ク図を示す。制御対象CO1 は図7に示した制御対象CO1
と同一の制御対象であり、システムCSA は制御装置とし
てPCC1A が設備されている以外は、図7に示したシス
テムCSと同一内容のシステムである。
FIG. 1 is a block diagram of a system CSA including a support tool 1A and a PCC1A which is a control device for controlling a controlled object CO1, as an example showing an embodiment of the present invention. The control target CO1 is the control target CO1 shown in FIG.
The system CSA has the same contents as the system CS shown in FIG. 7, except that the system CSA is equipped with the PCC1A as a control device.

【0021】図示のとおり、サポートツール1Aは、制御
演算手段11、プログラム記憶手段12A 、データ記憶手段
13A 、入力装置14、表示装置15、入出力部16からなり、
サポートツール1Aを構成する要素のうち、図10に示した
サポートツール1を構成する要素と同一の符号を付して
示したものは、サポートツール1を構成する要素と同一
の機能を有するものであるので説明を省略する。
As shown in the figure, the support tool 1A includes a control calculation means 11, a program storage means 12A, and a data storage means.
13A, input device 14, display device 15, input / output unit 16,
Of the elements that make up the support tool 1A, those designated by the same reference numerals as the elements that make up the support tool 1 shown in FIG. 10 have the same functions as the elements that make up the support tool 1. Since it exists, the description is omitted.

【0022】プログラム記憶手段12A には、システムプ
ログラムSP1 とRAS定義テーブル作成プログラムP12
が格納されている。システムプログラムSP1 は図10に示
したサポートツール1のシステムプログラムSP1 と同一
機能のプログラムであり、プログラム記憶手段12A は、
RAS定義テーブル作成プログラムP12 が格納されてい
る点を除いては、サポートツール1のプログラム記憶手
段12と同一機能のプログラム記憶手段である。
The program storage means 12A has a system program SP1 and a RAS definition table creation program P12.
Is stored. The system program SP1 is a program having the same function as the system program SP1 of the support tool 1 shown in FIG.
It is a program storage means having the same function as the program storage means 12 of the support tool 1 except that the RAS definition table creating program P12 is stored.

【0023】RAS定義テーブルTBは、データ記憶手段
13A のRAS定義テーブルの先頭番地として予め設定さ
れた番地DTを先頭番地とする領域に格納されるデータ群
であり、RAS定義テーブルTBは、PCC1A が収集した
異常解析用データRD(以下の説明では収集データRDと略
記する)を格納すべきPCC1A のデータ記憶手段23Aの
収集データ領域RDA の先頭番地A0に等しい値の収集デー
タ領域先頭番地D01 、収集データ領域RDA の大きさを表
す領域サイズD02 、継続して蓄積すべき収集データRDの
量を示す蓄積量D03 、収集データRDの対象となるデータ
の収集源を指定する収集源D1i(i は収集源D1の番号、例
えば収集源D11)、収集源D1i における、データの収集頻
度を指定する収集頻度D2i(i は収集頻度D2の番号であ
り、収集源D1の番号に等しい) からなる。
The RAS definition table TB is a data storage means.
13A is a group of data stored in an area whose head address is the preset address DT as the head address of the RAS definition table. The RAS definition table TB is used for the abnormality analysis data RD collected by the PCC1A (in the following description, (Abbreviated as collection data RD) (the collection data RD), the collection data area start address D01 having a value equal to the collection data area RDA start address A0 of the data storage means 23A of the PCC1A Accumulation amount D03 that indicates the amount of collected data RD that should be accumulated continuously, collection source D1i (i is the number of collection source D1, for example, collection source D11) that specifies the collection source of the data to be collected data RD, collection It consists of collection frequency D2i (i is the number of collection frequency D2 and equal to the number of collection source D1) that specifies the collection frequency of data in source D1i.

【0024】PCC1A は、制御演算手段21、プログラム
記憶手段22A 、データ記憶手段23A第1入出力部26、第
2入出力部27からなり、第1入出力部26を介し、第1信
号母線LN1 を経由してサポートツール1Aに接続し、第2
入出力部27を介し第2信号母線を経由して制御対象CO1
に接続する。PCC1A を構成する要素の内、図9に示し
たPCC1の構成要素と同一の符号を付したものは、PC
C1を構成する要素と同一のものであるので説明を省略す
る。プログラム記憶手段22A は、RASデータ収集プロ
グラムCP2 に代わるRASデータ収集プログラムCP2Aを
格納している点を除けば、図9に示したPCC1のプログ
ラム記憶手段22と同一の機能のプログラム記憶手段であ
り、データ記憶手段23A は、RAS定義テーブルTBを格
納するためのRAS定義テーブル領域TBA が設定されて
いる点を除けば図9に示したPCC1のデータ記憶手段23
と同一の機能のデータ記憶手段である。
The PCC1A comprises a control calculation means 21, a program storage means 22A, a data storage means 23A, a first input / output section 26, and a second input / output section 27. The first signal bus LN1 is connected via the first input / output section 26. Connect to Support Tool 1A via
Controlled CO1 via the second signal bus via the input / output unit 27
Connect to Among the constituent elements of PCC1A, the elements having the same reference numerals as the constituent elements of PCC1 shown in FIG.
The description is omitted because it is the same as the element configuring C1. The program storage means 22A is a program storage means having the same function as the program storage means 22 of the PCC1 shown in FIG. 9 except that the RAS data collection program CP2A which replaces the RAS data collection program CP2 is stored. The data storage means 23A is the data storage means 23 of PCC1 shown in FIG. 9 except that the RAS definition table area TBA for storing the RAS definition table TB is set.
It is a data storage means having the same function as.

【0025】サポートツール1Aは、RAS定義テーブル
TBを作成することを指示する信号を入力装置14から入力
れるとRAS定義テーブル作成プログラムP12 を起動す
る。RAS定義テーブル作成プログラムP12 は、入力装
置14から起動信号に続いて入力されるRAS定義テーブ
ル作成用データから、RAS定義テーブルTBを作成し、
作成したRAS定義テーブルTBを入出力部16を介し、第
1信号母線LN1 を経由してPCC1A に転送する。PCC1
A のシステムプログラムSP2 は、この転送されたRAS
定義テーブルTBを、RAS定義テーブル領域TBA に格納
する。この場合、RAS定義テーブルTBが指定する収集
データ領域先頭番地D01 が収集データ領域RDA の先頭番
地A0に一致し、RAS定義テーブルTBの領域サイズD02
が示す領域が収集データ領域RDA に入ることを確認す
る。両方の確認かとれると、サポートツール1Aは、RA
S定義テーブルTBを、PCC1A に転送し、PCC1A は受
信したRAS定義テーブルTBを、RAS定義テーブル領
域TBA に格納する。
Support tool 1A is a RAS definition table
When a signal instructing to create TB is input from the input device 14, the RAS definition table creation program P12 is started. The RAS definition table creation program P12 creates the RAS definition table TB from the RAS definition table creation data input from the input device 14 following the activation signal,
The created RAS definition table TB is transferred to the PCC1A via the input / output unit 16 and the first signal bus LN1. PCC1
A's system program SP2 uses this transferred RAS
The definition table TB is stored in the RAS definition table area TBA. In this case, the head address D01 of the collected data area specified by the RAS definition table TB matches the head address A0 of the collected data area RDA, and the area size D02 of the RAS definition table TB
Confirm that the area indicated by is in the collected data area RDA. If both can be confirmed, Support Tool 1A is RA
The S definition table TB is transferred to PCC1A, and the PCC1A stores the received RAS definition table TB in the RAS definition table area TBA.

【0026】図2は、RAS定義テーブルTBの一例の詳
細を示した説明図である。図示のとおり、RAS定義テ
ーブルTBの先頭番地 (DT+0) には、収集データ領域先頭
番地D01 の"1000"が、続く番地 (DT+1) には、領域サイ
ズDO2 の"25000" が、番地 (DT+2) には、蓄積量D03
の"5" が格納されている。以上3つの領域は、RAS定
義テーブルTB中に唯一存在する。以下の領域は、一つの
収集源ごとに収集源の番地と、この収集源におけるデー
タを収集すべき頻度とが格納される。図示の例では、番
地(DT+3)には、収集源D11 の番地"001" が、番地(DT+4)
には、収集源D11でのデータ収集頻度を表す値の "4"
が格納されている。
FIG. 2 is an explanatory diagram showing details of an example of the RAS definition table TB. As shown in the figure, the head address (DT + 0) of the RAS definition table TB is "1000" of the head address D01 of the collected data area, and the following address (DT + 1) is "25000" of the area size DO2. At the address (DT + 2), the accumulated amount D03
"5" of is stored. The above three areas are unique in the RAS definition table TB. The following area stores the address of the collection source for each collection source and the frequency at which the data at this collection source should be collected. In the example shown in the figure, at the address (DT + 3), the address "001" of the collection source D11 is changed to the address (DT + 4).
Is a value "4" that indicates the frequency of data collection at collection source D11.
Is stored.

【0027】図3に、図2に示した収集源D11,D21,D31
における、データの収集頻度を表した図を示す。図は、
横軸が時間軸であり、全ての収集源でのデータの収集が
一巡する時間を1サクルの時間とし、1サイクルの時間
を等しい時間間隔の4つの時点に分割し、時点を示す符
号"Tij" (i はサイクルの番号、j は同一サイクル内で
のデータを収集する時点を示す番号)で表す。また、時
点Tij を示す縦の線と、収集源を表す符号が付加された
横の線との交点でデータが収集される時点を示す。図で
は、第1サイクルCY1 の時点T10 〜T13 、第2サイクル
CY2 の時点T20〜T13 、第3サイクルCY3 の時点T30 〜T
33 が示されている。
FIG. 3 shows the collection sources D11, D21, D31 shown in FIG.
The figure showing the collection frequency of the data in. The figure shows
The horizontal axis is the time axis, and the time for one cycle of data collection by all the collection sources is defined as one cycle time, and one cycle time is divided into four time points at equal time intervals. "(I is the cycle number, j is the number at the time of collecting data in the same cycle). Further, the time point at which data is collected is shown at the intersection of the vertical line indicating the time point Tij and the horizontal line to which a code indicating the collection source is added. In the figure, the first cycle CY1 time points T10 to T13, the second cycle
CY2 time points T20 to T13, 3rd cycle CY3 time points T30 to T
33 is shown.

【0028】例えば、収集源D11 のデータは、RAS定
義テーブルTB(図2を参照)において、収集頻度が4と
指定されているので、1サイクルを4等分する全ての時
点に入力され、収集源D21 のデータは、RAS定義テー
ブルTBにおいて、収集頻度が2と指定されているので、
1サイクル中の偶数番号の時点に収集され、収集源D31
のデータは、RAS定義テーブルTBにおいて、収集頻度
が1と指定されているので、1サイクル中の最初の番号
の時点のみに収集される。
For example, since the collection frequency is designated as 4 in the RAS definition table TB (see FIG. 2), the data of the collection source D11 is input at all times when one cycle is divided into four equal parts. Since the collection frequency of the data of the source D21 is specified as 2 in the RAS definition table TB,
Source D31, collected at even numbered points in one cycle
Data is collected at the time of the first number in one cycle because the collection frequency is designated as 1 in the RAS definition table TB.

【0029】図4は、図1に示した収集データ領域RDA
の説明図であり、図3に示したとおりにして収集された
データが格納された場合が示されている。収集データ領
域RDA は先頭番地が"A0"であり、この番地に最初のサイ
クルCY1 の最初の時点T10 (図3を参照)での収集デー
タが格納され、以下収集源の番地順に、1つの収集源に
つき1つの番地の領域が割り当てられる。一つのサイク
ルの最初の時点Ti0 (i はサイクルの番号)では、n個
ある全ての収集源のデータの収集が行われるので、番地
A0〜番地A(n-1)が1番地づつ全ての収集源に割り当てら
れ、図3に示した収集源D11,D21,D31 のデータが番地A0
を先頭として順次格納される。番地A(n)〜番地A(p-1)の
領域は、一つのサイクルの2番目の時点Ti1 における収
集源からのデータに割り当てられ、この領域には収集源
D11 の領域はあるが、収集源D21,D31 からのデータは入
力されないので、これらの収集源の領域はない。番地A
(p)〜番地A(q-1)の領域は、一つのサイクルの3番目の
時点Ti2 における収集源からのデータに割り当てられる
領域であり、この領域には収集源D11,D21 の領域があ
り、収集源D31 の領域はない。番地A(q)〜番地A(r-1)の
領域は、一つのサイクルの4番目の時点Ti3 での収集源
からのデータの領域であり、収集源D11 の領域がある。
サイクルCY1 の領域は番地A0〜番地A(r-1)で終わる。サ
イクルCY2 の最初の番地は、番地Arとなり、サイクルCY
2 の各時点での収集データ領域が、サイクルCY1 の場合
における番地A0〜番地A(r-1)と同一の形式で設定され
る。
FIG. 4 shows the collected data area RDA shown in FIG.
FIG. 4 is a diagram illustrating a case where the data collected as shown in FIG. 3 is stored. The first address of the collected data area RDA is "A0", and the collected data at the first time point T10 (see Fig. 3) of the first cycle CY1 is stored at this address. One address area is allocated per source. At the first time point Ti0 (i is the cycle number) of one cycle, the data is collected from all n collection sources, so the address
Addresses A0 to A (n-1) are assigned to all collection sources one by one, and the data of collection sources D11, D21, D31 shown in FIG.
Are sequentially stored starting with. The area of address A (n) to address A (p-1) is assigned to the data from the collection source at the second time point Ti1 of one cycle, and this area is allocated to the collection source.
Although there is an area for D11, there is no area for these collection sources because the data from collection sources D21 and D31 are not input. Address A
The area from (p) to address A (q-1) is the area assigned to the data from the collection source at the third time point Ti2 of one cycle, and this area includes the areas of collection sources D11 and D21. , There is no area for collection source D31. The area from address A (q) to address A (r-1) is an area of data from the collection source at the fourth time point Ti3 of one cycle, and is the area of collection source D11.
The area of cycle CY1 ends at address A0 to address A (r-1). The first address of cycle CY2 becomes address Ar, and cycle CY2
The collected data area at each point of 2 is set in the same format as the addresses A0 to A (r-1) in the case of cycle CY1.

【0030】どれだけのサイクル分に相当する収集デー
タ領域を設けるかは、RAS定義テーブルTB(図1およ
び図2を参照)の蓄積量DO3 として、蓄積すべき収集デ
ータの収集サイクル数として指定される。図に示した例
では、蓄積量として5が指定されているので、図3に示
したサイクルCYi (i はサイクルの番号)の5サイクル
分の領域が設定され、5サイクル分より過去のデータ
は、先入れ先出しの方法で順次消滅させられる。
The number of cycles of the collected data area to be provided is designated as the accumulated amount DO3 of the RAS definition table TB (see FIGS. 1 and 2) as the number of collected data collection cycles. It In the example shown in the figure, since 5 is specified as the accumulated amount, the area for 5 cycles of the cycle CYi (i is the cycle number) shown in FIG. 3 is set, and the data past 5 cycles is set. , It is made to disappear sequentially by the first-in first-out method.

【0031】図5に、1台のサポートツールによって、
複数個のシステムの異常解析用データを収集するシステ
ムのブロック図を示す。図において、1Bはサポートツー
ル、CS1,CS2,CS3 はシステム、C1,C2,C3はそれぞれシス
テムCS1,CS2,CS3 を制御するPC、A1,A2,A3はそれぞれ
PCC1,C2,C3の制御対象である。PCC1,C2,C3はいずれ
も図1に示したPCC1と同一の機能を有するPCであ
る。サポートツール1Bは、図1に示したサポートツール
1Aと同一の機能を有するサポートツールであるが、シス
テムプログラムの中に複数の制御装置と交信するプログ
ラムを備える点がサポートツール1Aと異なる。
In FIG. 5, one support tool
FIG. 3 is a block diagram of a system that collects abnormality analysis data of a plurality of systems. In the figure, 1B is a support tool, CS1, CS2, CS3 are systems, C1, C2, C3 are PCs that control systems CS1, CS2, CS3, A1, A2, A3 are control targets of PCC1, C2, C3, respectively. is there. PCC1, C2 and C3 are all PCs having the same functions as PCC1 shown in FIG. The support tool 1B is the support tool shown in FIG.
Although it is a support tool having the same function as 1A, it differs from support tool 1A in that a system program includes a program for communicating with a plurality of control devices.

【0032】サポートツール1Bは、シテスムCSi (i は
システムCSの番号、例えばシステムCS1 )用のRAS定
義テーブルTBi (i はRAS定義テーブルTBの番号であ
り、システムCSの番号と同一の番号)を個別に作成し、
シテスムCSi を制御するPCCi(i はPCC の番号であ
り、システムCSの番号と同一の番号)に転送する。PC
Ciは、それぞれRAS定義テーブルTBi に従って異常解
析用データ収集し、収集データRDi (i は収集データRD
の番号であり、システムCSの番号と同一の番号)をサポ
ートツール1Bに転送する。図6に示すとおりに、サポー
トツール1Bに転送された収集データRD1,RD2,RD3 は、サ
ポートツール1Bのデータ記憶手段13B に設定された解析
用データ領域RDAT内の第1解析データ領域RDA1、第2解
析データ領域RDA2、第3解析データ領域RDA3にそれぞれ
格納され、異常解析用データとして参照される。
The support tool 1B stores the RAS definition table TBi (i is the number of the RAS definition table TB, which is the same as the number of the system CS) for the system CSi (i is the number of the system CS, for example, the system CS1). Created individually,
It is transferred to PCCi (i is the PCC number, which is the same as the system CS number) that controls the system CSi. PC
Ci collects the data for abnormality analysis according to the RAS definition table TBi, and collects the collected data RDi (i is the collected data RD
Number, which is the same number as the system CS number) is transferred to the support tool 1B. As shown in FIG. 6, the collected data RD1, RD2, and RD3 transferred to the support tool 1B are the first analysis data area RDA1 and the first analysis data area RDA1 in the analysis data area RDAT set in the data storage means 13B of the support tool 1B. The data is stored in the second analysis data area RDA2 and the third analysis data area RDA3, respectively, and is referred to as abnormality analysis data.

【0033】[0033]

【発明の効果】以上に説明したとおり、本発明の方法に
よれば、サポートツールにRAS定義テーブル作成プロ
グラムを備え、制御装置には異常解析用のデータを収集
するプログラムであるRASデータ収集プログラムを備
える。そして、サポートツールの制御演算手段はRAS
定義テーブル作成プログラムを実行しサポートツールの
データ記憶手段中に異常解析用データの収集条件を表し
たRAS定義テーブルを生成し、このRAS定義テーブ
ルを制御装置に転送する。制御装置の制御演算手段は、
この転送されたRAS定義テーブルに従ってRASデー
タ収集プログラムを実行し、異常解析用データを収集す
る。
As described above, according to the method of the present invention, the support tool is provided with the RAS definition table creating program, and the control device is provided with the RAS data collecting program which is a program for collecting data for abnormality analysis. Prepare The control calculation means of the support tool is RAS
The definition table creating program is executed to generate a RAS definition table representing the collection condition of the abnormality analysis data in the data storage means of the support tool, and the RAS definition table is transferred to the control device. The control calculation means of the control device is
The RAS data collection program is executed in accordance with the transferred RAS definition table to collect the abnormality analysis data.

【0034】従って、RAS定義テーブルにおいて、異
常解析用データはこの発生源の特性を表すために必要十
分な範囲のデータに限定し、異常解析用データの発生源
の特性に応じて、異常解析用データを収集する頻度を適
切に選定するならば、異常解析の能力を低下させること
なしに、異常解析用データ量を削減することができ、異
常解析用データ量の削減によって異常解析用データを格
納する領域の記憶容量を低減し、制御装置からサポート
ツールへの異常解析用データを転送するための時間を短
縮することができる。
Therefore, in the RAS definition table, the data for anomaly analysis is limited to a range of data necessary and sufficient for expressing the characteristics of this source, and the data for anomaly analysis is set according to the characteristics of the source of the data for anomaly analysis. If the frequency of data collection is appropriately selected, the amount of data for abnormality analysis can be reduced without reducing the ability of abnormality analysis, and the data for abnormality analysis is stored by reducing the amount of data for abnormality analysis. It is possible to reduce the storage capacity of the area to be processed and shorten the time required to transfer the abnormality analysis data from the control device to the support tool.

【0035】また、請求項2に記載の方法によれば、複
数個のシステムのそれぞれのシステムにおいて、制御装
置が所定の箇所から所定の時刻に収集した異常解析用デ
ータを、サポートツールに転送させる。この場合に、サ
ポートツールにRAS定義テーブル作成プログラムを備
え、制御装置には異常解析用のデータを収集するプログ
ラムであるRASデータ収集プログラムを備える。そし
て、サポートツールの制御演算手段はRAS定義テーブ
ル作成プログラムを実行しサポートツールのデータ記憶
手段中にそれぞれの制御装置に対応した異常解析用デー
タの収集条件を表したRAS定義テーブルを生成し、こ
のRAS定義テーブルを、このRAS定義テーブルに対
応するそれぞれの制御装置に転送する。それぞれの制御
装置の制御演算手段は、この転送されたRAS定義テー
ブルに従ってRASデータ収集プログラムを実行し、異
常解析用データを収集する。
According to the method of claim 2, in each of the plurality of systems, the control device transfers the abnormality analysis data collected from a predetermined location at a predetermined time to the support tool. . In this case, the support tool is provided with a RAS definition table creation program, and the control device is provided with a RAS data collection program that is a program for collecting data for abnormality analysis. Then, the control calculation means of the support tool executes the RAS definition table creating program to generate the RAS definition table showing the collection condition of the abnormality analysis data corresponding to each control device in the data storage means of the support tool. The RAS definition table is transferred to each control device corresponding to this RAS definition table. The control calculation means of each control device executes the RAS data collection program in accordance with the transferred RAS definition table, and collects the abnormality analysis data.

【0036】従って、制御装置が複数個存在する場合に
おいても、AS定義テーブルにおいて、異常解析用デー
タはこの発生源の特性を表すために必要十分な範囲のデ
ータに限定し、異常解析用データの発生源の特性に応じ
て、異常解析用データを収集する頻度を適切に選定する
ならば、異常解析の能力を低下させることなしに、異常
解析用データ量を削減することができ、異常解析用デー
タ量の削減によって異常解析用データを格納する領域の
記憶容量を低減し、制御装置からサポートツールへの異
常解析用データを転送するための時間を短縮することが
できる。
Therefore, even when there are a plurality of control devices, in the AS definition table, the abnormality analysis data is limited to a range of data necessary and sufficient for expressing the characteristics of this source, and the abnormality analysis data If the frequency of collecting the data for abnormality analysis is appropriately selected according to the characteristics of the source, the amount of data for abnormality analysis can be reduced without lowering the ability of abnormality analysis. By reducing the data amount, the storage capacity of the area for storing the abnormality analysis data can be reduced, and the time for transferring the abnormality analysis data from the control device to the support tool can be shortened.

【0037】また、請求項3の方法によれば、RAS定
義テーブルは、異常解析用データを収集する箇所である
収集源を指定するデータを含むので、サポートツールに
おいて異常解析用データの収集源を異常解析に必要十分
な範囲に限定することが可能である。そこで対象とする
システムの特性に合わせて収集源を選定することによ
り、異常解析用データを格納するために要するデータ記
憶手段の記憶容量が節約でき、サポートツールに転送す
る異常解析用データの量が削減される。
Further, according to the method of claim 3, since the RAS definition table includes data designating a collection source which is a portion for collecting the data for abnormality analysis, the collection source of the data for abnormality analysis is set in the support tool. It is possible to limit it to the necessary and sufficient range for abnormality analysis. Therefore, by selecting the collection source according to the characteristics of the target system, the storage capacity of the data storage unit required to store the abnormality analysis data can be saved, and the amount of abnormality analysis data transferred to the support tool can be reduced. Be reduced.

【0038】また、請求項4の方法によれば、RAS定
義テーブルは、異常解析用データを収集する頻度を収集
源ごとに指定するデータを含むので、RAS定義テーブ
ルに収集源ごとに、この収集源に適当した頻度を指定す
ることによって、必要かつ十分な頻度で異常解析用デー
タを収集することができる。また、請求項5の方法によ
れば、RASデータ収集プログラムは、収集した異常解
析用データをデータ記憶手段に先入れ先出しの形式で格
納するプログラムを含み、RAS定義テーブルは、デー
タ記憶手段に格納される異常解析用データの蓄積量を指
定するデータを含み、このデータが指定する蓄積量を越
える異常解析用データを消去するので、異常解析用デー
タが必要以上に蓄積されることなく、しかも異常解析用
データを解析に必要な蓄積量に保つことができる。
Further, according to the method of claim 4, since the RAS definition table includes data designating the collection frequency of the abnormality analysis data for each collection source, the RAS definition table collects this collection source for each collection source. By specifying an appropriate frequency for the source, it is possible to collect data for anomaly analysis at a necessary and sufficient frequency. According to the method of claim 5, the RAS data collection program includes a program for storing the collected abnormality analysis data in the data storage means in a first-in first-out format, and the RAS definition table is stored in the data storage means. It includes data that specifies the amount of accumulated abnormal analysis data, and deletes the data for abnormal analysis that exceeds the amount specified by this data. The data can be kept at the amount of storage required for analysis.

【0039】さらに、請求項6の方法によれば、RAS
定義テーブルは、制御装置のデータ記憶手段の異常解析
用データを一時的に格納する領域である収集データ領域
の先頭番地と、収集データ領域の記憶容量とをそれぞれ
表したデータを含み、収集データ領域の先頭番地と収集
データ領域の記憶容量とによって、収集データ領域の適
否を判断するので、RAS定義テーブルで指定された収
集データ領域の先頭番地と、予め制御装置において予定
されている収集データ領域の先頭番地とを比較し、ま
た、RAS定義テーブルで指定された収集データ領域の
記憶容量と予め制御装置において予定されている収集デ
ータ領域の容量とを比較することによって、不適切なR
AS定義テーブル転送による事故を防止することができ
る。
Further, according to the method of claim 6, RAS
The definition table includes data representing the start address of the collected data area, which is an area for temporarily storing the abnormality analysis data in the data storage means of the control device, and the storage capacity of the collected data area. Since the suitability of the collected data area is determined based on the head address of the collected data area and the storage capacity of the collected data area, the head address of the collected data area specified in the RAS definition table and the collected data area scheduled in the control device in advance. By comparing the start address and the storage capacity of the collection data area specified in the RAS definition table with the capacity of the collection data area that is scheduled in advance in the control device, an inappropriate R
It is possible to prevent an accident due to the transfer of the AS definition table.

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

【図1】請求項1に記載した発明の方法を適用した実施
形態の一例である、サポートツールと制御装置を含むシ
ステムとのブロック図
FIG. 1 is a block diagram of a system including a support tool and a control device, which is an example of an embodiment to which the method of the invention described in claim 1 is applied.

【図2】RAS定義テーブルの一例を示した図FIG. 2 is a diagram showing an example of a RAS definition table.

【図3】異常解析用データの収集頻度の説明図FIG. 3 is an explanatory diagram of collection frequency of abnormality analysis data.

【図4】図3に示した頻度で収集された異常解析用デー
タの蓄積の説明図
FIG. 4 is an explanatory diagram of accumulation of abnormality analysis data collected at the frequency shown in FIG.

【図5】単独のサポートツールにより複数の制御装置の
異常解析用データの収集を支援する場合の接続図
FIG. 5 is a connection diagram when a single support tool assists in collecting data for abnormality analysis of a plurality of control devices.

【図6】図5に示したサポートツールにおける異常解析
用データの領域を示した図
FIG. 6 is a diagram showing an area of abnormality analysis data in the support tool shown in FIG.

【図7】プログラマブルコントローラを制御装置とする
システムと、サポートツールとのブロック図
FIG. 7 is a block diagram of a system using a programmable controller as a control device and a support tool.

【図8】図7に示したシステムの制御対象を示した図8 is a diagram showing a control target of the system shown in FIG.

【図9】図7に示したプログラマブルコントローラの内
部と、周辺の装置とを示したブロック図
9 is a block diagram showing the inside of the programmable controller shown in FIG. 7 and peripheral devices.

【図10】図7に示したサポートツールの内部を示したブ
ロック図
FIG. 10 is a block diagram showing the inside of the support tool shown in FIG. 7.

【図11】異常解析用データの対象となるデータの例を示
した図
FIG. 11 is a diagram showing an example of data that is the target of abnormality analysis data.

【図12】図11に示した異常解析用データがデータ記憶手
段に格納された場合の説明図
12 is an explanatory diagram when the abnormality analysis data shown in FIG. 11 is stored in the data storage means.

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

1A プログラマブルコントローラ 11 制御演算手段 12A プログラム記憶手段 SP1 システムプログラム P12 RAS 定義テーブル作成プログラム 13A データ記憶手段 TB RAS 定義テーブル D01 収集データ領域先頭番地 D02 領域サイズ D03 蓄積量 D1i 収集源 D2i 収集頻度 CSA システム C1A プログラマブルコントローラ 21 制御演算手段 22A プログラム記憶手段 SP2 システムプログラム CP2A RASデータ収集プログラム 23A データ記憶手段 TBA RAS 定義テーブル領域 RDA 収集データ領域 CO1 制御対象 1A Programmable controller 11 Control calculation means 12A Program storage means SP1 System program P12 RAS definition table creation program 13A Data storage means TB RAS definition table D01 Collection data area start address D02 Area size D03 Accumulation amount D1i Collection source D2i Collection frequency CSA system C1A Programmable Controller 21 Control calculation means 22A Program storage means SP2 System program CP2A RAS data collection program 23A Data storage means TBA RAS definition table area RDA Collection data area CO1 Control target

Claims (6)

【特許請求の範囲】[Claims] 【請求項1】プログラマブルコントローラであるか、ま
たはプログラマブルコントローラと同類の装置である制
御装置と、この制御装置によって制御される制御対象と
からなるシステムにおいて、制御装置が所定の箇所から
所定の時刻に収集した異常解析用データを、制御演算手
段を有するサポートツールに転送させる異常解析用デー
タ収集方法において、 サポートツールにRAS定義テーブル作成プログラムを
備え、制御装置には異常解析用のデータを収集するプロ
グラムであるRASデータ収集プログラムを備え、サポ
ートツールの制御演算手段にRAS定義テーブル作成プ
ログラムを実行させてサポートツールのデータ記憶手段
中に異常解析用データの収集条件を表したRAS定義テ
ーブルを生成し、このRAS定義テーブルを制御装置に
転送し、制御装置の制御演算手段に、この転送されたR
AS定義テーブルに従ってRASデータ収集プログラム
を実行させて、異常解析用データを収集させることを特
徴とする異常解析用データ収集方法。
1. A system comprising a control device, which is a programmable controller or a device similar to the programmable controller, and a controlled object controlled by the control device, wherein the control device is operated from a predetermined location at a predetermined time. An abnormality analysis data collection method for transferring the collected abnormality analysis data to a support tool having a control calculation means, the support tool including a RAS definition table creation program, and the control device collecting abnormality analysis data. RAS data collection program, which causes the control calculation means of the support tool to execute the RAS definition table creation program to generate the RAS definition table representing the collection conditions of the abnormality analysis data in the data storage means of the support tool. This RAS definition table To the control calculation means of the control device.
An abnormality analysis data collection method, characterized in that an RAS data collection program is executed in accordance with an AS definition table to collect abnormality analysis data.
【請求項2】プログラマブルコントローラであるか、ま
たはプログラマブルコントローラと同類の装置である制
御装置と、この制御装置によって制御される制御対象と
からなる、複数個のシステムのそれぞれのシステムにお
いて、それぞれの制御装置が所定の箇所から所定の時刻
に収集した異常解析用データを、制御演算手段を有する
サポートツールに転送させる異常解析用データ収集方法
において、 サポートツールにRAS定義テーブル作成プログラムを
備え、制御装置には異常解析用のデータを収集するプロ
グラムであるRASデータ収集プログラムを備え、サポ
ートツールの制御演算手段にRAS定義テーブル作成プ
ログラムを実行させてサポートツールのデータ記憶手段
中にそれぞれの制御装置に対応した異常解析用データの
収集条件を表したRAS定義テーブルを生成し、このR
AS定義テーブルを、このRAS定義テーブルに対応す
るそれぞれの制御装置に転送し、それぞれの制御装置の
制御演算手段に、この転送されたRAS定義テーブルに
従ってRASデータ収集プログラムを実行させて、異常
解析用データを収集させることを特徴とする異常解析用
データ収集方法。
2. In each system of a plurality of systems, which comprises a control device which is a programmable controller or a device similar to the programmable controller, and a control target which is controlled by this control device, each control is performed. An abnormality analysis data collection method of transferring abnormality analysis data collected by a device from a predetermined location at a predetermined time to a support tool having a control calculation means, the support tool including a RAS definition table creating program Is provided with a RAS data collection program that is a program for collecting data for abnormality analysis, and causes the control calculation means of the support tool to execute the RAS definition table creation program to correspond to each control device in the data storage means of the support tool. Data collection rules for anomaly analysis Generate a RAS definition table showing the
The AS definition table is transferred to each control device corresponding to this RAS definition table, and the control calculation means of each control device is caused to execute the RAS data collection program in accordance with this transferred RAS definition table for abnormality analysis. A data collection method for anomaly analysis characterized by collecting data.
【請求項3】請求項1または請求項2のいずれかに記載
の異常解析用データ収集方法において、RAS定義テー
ブルは、異常解析用データを収集する箇所である収集源
を指定するデータを含むことを特徴とする異常解析用デ
ータ収集方法。
3. The abnormality analysis data collection method according to claim 1 or 2, wherein the RAS definition table includes data designating a collection source that is a place where the abnormality analysis data is collected. Data collection method for abnormality analysis characterized by
【請求項4】請求項1ないし請求項3のいずれかに記載
の異常解析用データ収集方法において、RAS定義テー
ブルは、異常解析用データを収集する頻度を収集源ごと
に指定するデータを含むことを特徴とする異常解析用デ
ータ収集方法。
4. The abnormality analysis data collection method according to claim 1, wherein the RAS definition table includes data that specifies a frequency for collecting the abnormality analysis data for each collection source. Data collection method for abnormality analysis characterized by
【請求項5】請求項1ないし請求項4のいずれかに記載
の異常解析用データ収集方法において、RASデータ収
集プログラムは、収集した異常解析用データをデータ記
憶手段に先入れ先出しの形式で格納するプログラムを含
み、RAS定義テーブルは、データ記憶手段に格納され
る異常解析用データの蓄積量を指定するデータを含み、
このデータが指定する蓄積量を越える異常解析用データ
を消去することを特徴とする異常解析用データ収集方
法。
5. The abnormality analysis data collection method according to claim 1, wherein the RAS data collection program stores the collected abnormality analysis data in a data storage means in a first-in first-out format. And the RAS definition table includes data designating an accumulated amount of abnormality analysis data stored in the data storage means,
A method for collecting data for abnormality analysis, characterized in that the data for abnormality analysis exceeding the storage amount specified by this data is deleted.
【請求項6】請求項1ないし請求項5のいずれかに記載
の異常解析用データ収集方法において、RAS定義テー
ブルは、制御装置のデータ記憶手段の異常解析用データ
を一時的に格納する領域である収集データ領域の先頭番
地と、収集データ領域の記憶容量とをそれぞれ表したデ
ータを含み、収集データ領域の先頭番地と収集データ領
域の記憶容量とによって、収集データ領域の適否を判断
することを特徴とする異常解析用データ収集方法。
6. The abnormality analysis data collection method according to claim 1, wherein the RAS definition table is an area for temporarily storing the abnormality analysis data in the data storage means of the control device. It includes data representing the start address of a certain collection data area and the storage capacity of the collection data area, and the suitability of the collection data area can be judged by the start address of the collection data area and the storage capacity of the collection data area. Characteristic data collection method for abnormality analysis.
JP31987295A 1995-12-08 1995-12-08 Data collection method for abnormality analysis Pending JPH09160610A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP31987295A JPH09160610A (en) 1995-12-08 1995-12-08 Data collection method for abnormality analysis

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP31987295A JPH09160610A (en) 1995-12-08 1995-12-08 Data collection method for abnormality analysis

Publications (1)

Publication Number Publication Date
JPH09160610A true JPH09160610A (en) 1997-06-20

Family

ID=18115182

Family Applications (1)

Application Number Title Priority Date Filing Date
JP31987295A Pending JPH09160610A (en) 1995-12-08 1995-12-08 Data collection method for abnormality analysis

Country Status (1)

Country Link
JP (1) JPH09160610A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6867749B1 (en) 1998-04-27 2005-03-15 Digital Electronics Corporation Control system, display device, control-use host computer, and data transmission method

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6867749B1 (en) 1998-04-27 2005-03-15 Digital Electronics Corporation Control system, display device, control-use host computer, and data transmission method
US7103421B2 (en) 1998-04-27 2006-09-05 Digital Electronics Corporation Control system, display device, control-use host computer, and data transmission method
US7716354B2 (en) 1998-04-27 2010-05-11 Digital Electronics Corporation Control system, display device, control-use host computer, and data transmission method

Similar Documents

Publication Publication Date Title
US10018993B2 (en) Transformation of industrial data into useful cloud information
EP1029406B1 (en) Method of reprogramming memories in field devices over a multidrop network
US5933655A (en) System for scheduling periodic events having varying rates by cascading a plurality of overlapping linked list data structure
CN101761468B (en) Novel peristaltic pump and operation, control and correction method thereof
US20030153988A1 (en) Highly versatile process control system controller
EP2172822B1 (en) Complete integration of stand-alone batch operator interface capabilities into generic human machine interface using self-contained software objects
RU2003115880A (en) USER INTERFACE SYSTEM FOR HEAT COMFORT CONTROLLER, METHOD FOR PROGRAMMING THE CONTROLLER AND THERMAL BRIDGE FOR TEMPERATURE CONTROL
JP2004206495A (en) Management system, management computer, management method, and program
CN111694385A (en) Heating control method, heating device and computer storage medium
CN109213096B (en) Control method, device and system of field device, storage medium and processor
GB2345593A (en) Inverter system
JPH09160610A (en) Data collection method for abnormality analysis
CN115657564A (en) Programming-free field control device and method
US20100298955A1 (en) System and method for storing data from an industrial controller
CN206532152U (en) A kind of intelligent multichannel temperature control system
CN105765472B (en) Remote control and control system
AU2002321267B2 (en) Process control system with a charging function
CN101364088A (en) Industrial human-machine interface variable accessing method and system
US10108166B2 (en) PLC functional modules for energy management functionalities
CN107991945A (en) A kind of household appliance control method and device
JP2003036103A (en) Process control system
US4470107A (en) Digital regulating and/or control system
CN111654529A (en) Remote monitoring method and device for vapor phase drying equipment
JP3794210B2 (en) Control information display input device and control method thereof
CN109139201A (en) A kind of method for heating and controlling and device for preventing solution from crystallizing