JPH07152410A - Data recording device - Google Patents

Data recording device

Info

Publication number
JPH07152410A
JPH07152410A JP5299451A JP29945193A JPH07152410A JP H07152410 A JPH07152410 A JP H07152410A JP 5299451 A JP5299451 A JP 5299451A JP 29945193 A JP29945193 A JP 29945193A JP H07152410 A JPH07152410 A JP H07152410A
Authority
JP
Japan
Prior art keywords
data
pattern
sampling period
recording
input
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
JP5299451A
Other languages
Japanese (ja)
Inventor
Tatsuo Echizenya
達夫 越前谷
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.)
Nissan Motor Co Ltd
Original Assignee
Nissan Motor 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 Nissan Motor Co Ltd filed Critical Nissan Motor Co Ltd
Priority to JP5299451A priority Critical patent/JPH07152410A/en
Publication of JPH07152410A publication Critical patent/JPH07152410A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

PURPOSE:To provide a data recording device which can decrease the data fetching mistakes for the production facilities in an abnormal operation state. CONSTITUTION:A facilities abnormal pattern producing part 11 included in a programmable controller 1 decides the normal operations for the patterns of the same data included in a sampling period decided by a sampling period setting part 9 end sent from the production facilities 31. Meanwhile the abnormal operations are presumed for the patterns of data other then the pattern of the data having normal operations. Furthermore the part 11 produces a ladder program based on the presumed patterns of data having the abnormal operations.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、異常動作する生産設備
を推定し、異常動作する生産設備のデータを記録するデ
ータ記録装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a data recording device for estimating production equipment which is operating abnormally and recording data of the production equipment which is operating abnormally.

【0002】[0002]

【従来の技術】従来、工場の生産設備などを制御する制
御手段であるプログラマブルコントローラ(以下、PC
と記述する。)は、一般にラダープログラムでプログラ
ムされている。このラダープログラムは、プログラムの
構造が簡単であり容易にプログラムの変更ができること
から生産設備の変更にも柔軟に対処できるなどのメリッ
トも多い。
2. Description of the Related Art Conventionally, a programmable controller (hereinafter referred to as a PC) which is a control means for controlling production facilities of a factory.
Write. ) Is generally programmed in a ladder program. Since this ladder program has a simple program structure and can be easily changed, there are many advantages such as being able to flexibly deal with changes in production equipment.

【0003】例えば、PCにより複数の生産設備からの
データもしくは生産設備の複数のデータ採取箇所からの
データを記録する記録手段であるデータレコーダを制御
しデータを記録する場合は、生産設備の台数の変更およ
び生産設備のデータ採取箇所の変更に対しても容易に対
処可能であった。また、生産設備の故障時のデータを記
録する場合には、PCのラダープログラムを変更し故障
している生産設備からのデータもしくは生産設備のデー
タ採取箇所からのデータを記録していた。
For example, in the case of controlling a data recorder, which is a recording means for recording data from a plurality of production facilities or data from a plurality of data collection points of the production facility by a PC and recording the data, the number of production facilities is It was possible to easily deal with changes and changes in the data collection points of production equipment. Further, when recording data at the time of failure of the production equipment, the ladder program of the PC is changed to record the data from the production equipment in failure or the data from the data collection point of the production equipment.

【0004】[0004]

【発明が解決しようとする課題】しかしながら、生産設
備の故障などの異常時にデータを記録することは、生産
設備の異常動作時間もほんの僅かな時間に限られること
が多く、この僅かな時間内に異常動作する生産設備を限
定し異常動作時のデータを記録するためにトリガとなる
ラダープログラムを変更していたのでは、そのための作
業時間がかかり異常動作時における生産設備からのデー
タもしくは生産設備の異常箇所からのデータを記録でき
ないこともあった。
However, when data is recorded during an abnormal condition such as a failure of the production facility, the abnormal operation time of the production facility is often limited to a very short period of time. If the ladder program that serves as a trigger to record the data during abnormal operation is changed by limiting the production equipment that operates abnormally, it takes time to operate and the data from the production equipment during abnormal operation or the production equipment In some cases, it was not possible to record data from abnormal points.

【0005】そこで、本発明の目的は、異常動作する生
産設備のデータの取り損ねを低減するデータ記録装置を
提供することにある。
Therefore, it is an object of the present invention to provide a data recording device that reduces data omissions in production equipment that operates abnormally.

【0006】[0006]

【課題を解決するための手段】上記の目的を達成するた
めの本発明のデータ記録装置は、生産設備からのデータ
を記録する記録手段と、当該記録したデータを表示する
データ表示手段と、前記記録手段を制御する制御手段
と、からなるデータ記録装置において、前記生産設備か
らのデータの読み込む入力手段と、当該入力手段に入力
されたデータのパターンを検知するパターン検知手段
と、前記入力手段に入力されたデータのサンプリング期
間を設定するサンプリング期間設定手段と、前記パター
ン検知手段によって検知されたデータのパターンを記憶
するパターン記憶手段と、当該パターン記憶手段により
記憶されたデータのパターンと前記サンプリング期間設
定手段によって設定されたサンプリング期間内のデータ
のパターンを比較することで異常動作時のデータのパタ
ーンを推定し、当該推定されたデータのパターンにした
がって前記生産設備からのデータを記録するためのラダ
ープログラムを作成する設備異常パターン作成手段と、
を有することを特徴とする。
A data recording apparatus of the present invention for achieving the above object comprises a recording means for recording data from a production facility, a data display means for displaying the recorded data, and In a data recording device comprising a control means for controlling the recording means, an input means for reading data from the production facility, a pattern detection means for detecting a pattern of data input to the input means, and the input means Sampling period setting means for setting the sampling period of the input data, pattern storage means for storing the pattern of the data detected by the pattern detection means, pattern of the data stored by the pattern storage means and the sampling period Compare the patterns of data within the sampling period set by the setting means Abnormal pattern data to estimate the time of operation, the facility failure pattern generating means for generating a ladder program for recording data from the production facility according to the pattern of the estimated data and,
It is characterized by having.

【0007】[0007]

【作用】本発明のデータ記録装置は、生産設備からのデ
ータをパターン検知手段によりパターン化して、パター
ン記録手段により記憶する。そして、サンプリング期間
設定手段により生産設備からの正常動作時のデータのパ
ターンを一定期間サンプリングし、設備異常パターン作
成手段により異常動作時のパターンを推定する。さら
に、設備異常パターン作成手段によりこの推定された異
常動作時の生産設備からのデータのパターンにしたがっ
てラダープログラムを作成し動作させることにより異常
動作時のデータを記録する際のトリガとし、データを記
録手段により記録しデータ表示手段により表示する。
In the data recording apparatus of the present invention, the data from the production facility is patterned by the pattern detecting means and stored by the pattern recording means. Then, the sampling period setting means samples the data pattern from the production equipment during normal operation for a certain period, and the equipment abnormality pattern creating means estimates the abnormal operation pattern. Further, the equipment abnormality pattern creating means records a data as a trigger for recording the data during the abnormal operation by creating and operating a ladder program according to the estimated data pattern from the production equipment during the abnormal operation. It is recorded by the means and displayed by the data display means.

【0008】[0008]

【実施例】以下、添付した図面を参照して本発明のデー
タ記録装置の一実施例を説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the data recording apparatus of the present invention will be described below with reference to the accompanying drawings.

【0009】本発明のデータ記録装置には、図1のよう
に生産設備31からのデータもしくは生産設備31から
のデータを記録するための記録手段であるデータレコー
ダ21と、このデータレコーダ21に記録されるデータ
を表示するためのデータ表示手段であるディスプレイ2
2と、生産設備31からのデータをパターン化したりデ
ータレコーダ21を制御する制御手段であるPC1とで
ある。また、このPC1には、生産設備31からのデー
タを読み込む入力手段である入力部3と、これらのデー
タをパターン化するパターン検知手段であるパターン検
知部5と、このパターン検知部5からのデータのパター
ンを記憶するパターン記憶手段であるパターン記憶部7
と、オペレータ41から入力される信号にしたがってサ
ンプリング期間を設定するサンプリング期間設定手段で
あるサンプリング期間設定部9と、サンプリング期間外
のデータのパターンを異常動作する生産設備31からの
データのパターンと推定し、このデータのパターンにし
たがってラダープログラムを作成する設備異常パターン
作成手段である設備異常パターン作成部11とからな
る。
In the data recording apparatus of the present invention, as shown in FIG. 1, a data recorder 21 which is a recording means for recording data from the production facility 31 or data from the production facility 31, and the data recorder 21 records the data. 2 which is a data display means for displaying the data to be stored
2 and a PC 1 which is a control means for patterning data from the production facility 31 and controlling the data recorder 21. Further, the PC 1 includes an input unit 3 which is an input unit for reading data from the production facility 31, a pattern detection unit 5 which is a pattern detection unit for patterning these data, and data from the pattern detection unit 5. Pattern storage unit 7 that is a pattern storage unit that stores the pattern
And a sampling period setting unit 9 which is a sampling period setting unit that sets a sampling period according to a signal input from the operator 41, and a pattern of data outside the sampling period is estimated to be a pattern of data from the abnormally operating production facility 31. The equipment abnormality pattern creating unit 11 is equipment abnormality pattern creating means for creating a ladder program according to the pattern of this data.

【0010】このように構成される本発明のデータ記録
装置は、生産設備31からデータA,データB,データ
C,データDの4種類のデータが入力部3に入力され、
さらにパターン検知部5によって図2のようなパターン
として検知される。この検知されたデータA,データ
B,データC,データDのパターンは、パターン記憶部
7に送られそれぞれのデータのパターンが記憶される。
一方、外部からの入力であるオペレータ41によって設
定されたサンプリング期間は、サンプリング期間設定部
9で処理され、さらにパターン記憶部7に送信された後
に、データA,データB,データC,データDのサンプ
リング期間の範囲を決定する。このサンプリング期間内
の記憶されたデータA,データB,データC,データD
のパターンは、生産設備31が正常動作時のデータのパ
ターンであるので、これ以外のデータA,データB,デ
ータC,データDのパターンは生産設備31の異常動作
時のデータのパターンであると推定される。これらの推
定されたデータパターンは、さらに設備異常パターン作
成部11により図3のように”0”と”1”のパターン
に再処理される。そして、このときサンプリング期間中
に該当するパターンつまり正常動作時のデータのパター
ンには”有”と、サンプリングに期間中に該当しないパ
ターンつまり異常動作時のデータと推定されるパターン
には”無”とそれぞれラベル付けを行う。即ち、この図
3ではデータA〜Dのパターン16種類の内14種類は
サンプリング期間内に現れ、2種類が現れなかった例で
ある。最後に設備異常パターン作成部11は、図3中
の”無”のラベルが付いた”0”と”1”のパターンか
ら図4のようなラダープログラムを作成する。この作成
したラダープログラムは正常動作している生産設備31
からのデータのパターン以外のものなのでこのラダープ
ログラムが動作するデータが入力されるならば設備が異
常動作していることが十分考えられる。ゆえに、本発明
のデータ記録装置は、速やかにデータレコーダ21に対
して異常な動作をしている生産設備31からのデータま
たは生産設備31の故障箇所からのデータを記録できる
ことになる。また、このデータレコーダ21により記録
されたデータはディスプレイ22で表示される。
In the data recording apparatus of the present invention configured as described above, four kinds of data of data A, data B, data C, and data D are input from the production equipment 31 to the input section 3,
Further, the pattern detection unit 5 detects the pattern as shown in FIG. The detected patterns of the data A, the data B, the data C, and the data D are sent to the pattern storage unit 7 and the patterns of the respective data are stored.
On the other hand, the sampling period set by the operator 41, which is an input from the outside, is processed by the sampling period setting unit 9 and further transmitted to the pattern storage unit 7, and then the data A, the data B, the data C, and the data D are transmitted. Determine the range of sampling periods. Data A, data B, data C, data D stored within this sampling period
Since the pattern No. is a data pattern when the production facility 31 is operating normally, the other patterns of data A, data B, data C, and data D are data patterns when the production facility 31 is operating abnormally. Presumed. These estimated data patterns are further reprocessed by the equipment abnormality pattern creation unit 11 into "0" and "1" patterns as shown in FIG. Then, at this time, "Yes" is present in the pattern corresponding to the sampling period, that is, the pattern of the data in the normal operation, and "No" in the pattern not corresponding to the sampling period, ie, the pattern estimated to be the data in the abnormal operation. And label each. That is, in FIG. 3, 14 patterns out of 16 patterns of the data A to D appear within the sampling period, and two patterns do not appear. Finally, the equipment abnormality pattern creation unit 11 creates a ladder program as shown in FIG. 4 from the “0” and “1” patterns labeled “absent” in FIG. This created ladder program is operating normally production equipment 31
Since it is something other than the pattern of the data from, if the data for operating this ladder program is input, it is highly possible that the equipment is operating abnormally. Therefore, the data recording apparatus of the present invention can promptly record the data from the production equipment 31 that is abnormally operating with respect to the data recorder 21 or the data from the failure portion of the production equipment 31. The data recorded by the data recorder 21 is displayed on the display 22.

【0011】図5は、本発明のデータ記録装置のフロー
チャートである。
FIG. 5 is a flow chart of the data recording apparatus of the present invention.

【0012】パターン検知部5により生産設備31から
のデータのパターンを検知する(S1)。この検知され
たデータのパターンはパターン記憶部7に送られデータ
のパターンが記憶される(S2)。一方、オペレータ4
1により入力されるデータはサンプリング期間設定部9
によって処理されサンプリング期間が設定される(S
3)。そして、設備異常パターン作成部11により正常
動作時のデータのパターンを検索し、さらに設備異常パ
ターン作成部11により生産設備31の異常動作時のデ
ータのパターンを推定する(S4)。そして、この推定
したパターンから生産設備の異常時にデータレコーダ2
1を動作させるラダープログラムを自動生成する(S
5)。生産設備31からのデータが異常動作時のパター
ンであれば(S6)、設備異常パターン作成部11によ
り作成されたラダープログラムにしたがってデータレコ
ーダ21を制御し生産設備31の異常動作時のデータを
データレコーダ21に記録する(S7)。最後にこの記
録された生産設備31の異常動作時のデータをディスプ
レイ上に表示して処理を終了する(S8)。
The pattern detection unit 5 detects a pattern of data from the production facility 31 (S1). The detected data pattern is sent to the pattern storage unit 7 and the data pattern is stored (S2). On the other hand, operator 4
The data input by 1 is the sampling period setting unit 9
And the sampling period is set (S
3). Then, the equipment abnormality pattern creating unit 11 searches for a data pattern during normal operation, and the equipment abnormality pattern creating unit 11 estimates a data pattern during abnormal operation of the production equipment 31 (S4). Then, from this estimated pattern, when the production equipment is abnormal, the data recorder 2
Ladder program that operates 1 is automatically generated (S
5). If the data from the production equipment 31 is the abnormal operation pattern (S6), the data recorder 21 is controlled according to the ladder program created by the equipment abnormal pattern creation unit 11 to obtain the data of the abnormal operation of the production equipment 31. The data is recorded in the recorder 21 (S7). Finally, the recorded data at the time of abnormal operation of the production facility 31 is displayed on the display, and the process ends (S8).

【0013】このように動作させることにより、本発明
のデータ記録装置は、正常に動作している生産装置から
の複数のデータのパターンを外部より設定されるサンプ
リング期間の範囲内に限って生産設備の正常動作時のデ
ータのパターンと決定する。そして、それ以外のデータ
のパターンを異常動作時のものと推定し、この異常動作
時と推定されるデータのパターンにしたがってラダープ
ログラムを作成し異常時に動作させるので異常動作を行
う生産設備のデータの取り損ないを低減できる。
By operating in this manner, the data recording apparatus of the present invention is configured so that the pattern of a plurality of data from the normally operating production apparatus is limited to the range of the sampling period externally set. Determined as the data pattern during normal operation of. Then, the other data patterns are estimated to be during abnormal operation, and a ladder program is created according to the data pattern estimated to be during abnormal operation and the ladder program is operated during abnormal operation. Loss of failure can be reduced.

【0014】なお、本実施例では、生産設備からのデー
タは4種類であったが2種類以上でデータとデータから
求められるパターンを比較できれば幾つでも良い。ま
た、本実施例では、サンプリング期間の入力はオペレー
タが行ったが、任意の値でもよく本発明のデータ記録装
置に入力されるデータ長にしたがってサンプリング期間
の長さをプログラマブルコントローラ内で制御すればな
お良い。
In the present embodiment, there are four types of data from the production equipment, but any number of two or more types may be used as long as the data and the pattern obtained from the data can be compared. Further, in this embodiment, the operator inputs the sampling period, but any value may be input if the length of the sampling period is controlled in the programmable controller according to the data length input to the data recording apparatus of the present invention. Still better.

【0015】[0015]

【発明の効果】以上、述べたように本発明のデータ記録
装置によれば、正常に動作する生産設備からのデータを
一定期間サンプリングし、生産設備からの正常動作時の
データのパターンであると決定することにより、これに
該当しないデータのパターンから生産設備の異常動作を
推定し、この異常動作時のデータのパターンからラダー
プログラムを作成し異常動作時に動作させるすることに
よって異常動作する生産設備からのデータの取り損ない
を低減することができる。
As described above, according to the data recording apparatus of the present invention, the data from the normally operating production equipment is sampled for a certain period of time, and it is a pattern of the data during normal operation from the production equipment. By determining the abnormal operation of the production equipment from the data pattern that does not correspond to this, a ladder program is created from the data pattern at the time of this abnormal operation, and the abnormal operation of the production equipment is performed by operating the ladder program. It is possible to reduce the loss of data.

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

【図1】 本発明の一実施例であるデータ記録装置を行
うための構成を説明するための図面である。
FIG. 1 is a drawing for explaining a configuration for carrying out a data recording apparatus that is an embodiment of the present invention.

【図2】 本発明の一実施例であるデータ記録装置で処
理されるデータのパターンを説明するための図面であ
る。
FIG. 2 is a diagram for explaining a pattern of data processed by the data recording apparatus that is an embodiment of the present invention.

【図3】 本発明の一実施例であるデータ記録装置で処
理される過程のデータの一形態である。
FIG. 3 is a form of data in the process of being processed by the data recording apparatus according to the embodiment of the present invention.

【図4】 本発明の一実施例であるデータ記録装置によ
り作成されたラダープログラムである。
FIG. 4 is a ladder program created by a data recording device that is an embodiment of the present invention.

【図5】 本発明の一実施例であるデータ記録装置を説
明するためのフローチャートである。
FIG. 5 is a flowchart for explaining a data recording device that is an embodiment of the present invention.

【符号の説明】 1…プログラマブルコントローラ、 3…入力
部、5…パターン検知部、 7…パ
ターン記憶部、9…サンプリング期間設定部、
11…設備異常パターン作成部、21…データレコ
ーダ、 22…ディスプレイ、31…
生産設備、 41…オペレー
タ。
[Explanation of Codes] 1 ... Programmable controller, 3 ... Input unit, 5 ... Pattern detection unit, 7 ... Pattern storage unit, 9 ... Sampling period setting unit,
11 ... Equipment abnormality pattern creation unit, 21 ... Data recorder, 22 ... Display, 31 ...
Production equipment, 41 ... Operator.

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 生産設備からのデータを記録する記録手
段と、当該記録したデータを表示するデータ表示手段
と、前記記録手段を制御する制御手段と、からなるデー
タ記録装置において、 前記生産設備からのデータの読み込む入力手段と、 当該入力手段に入力されたデータのパターンを検知する
パターン検知手段と、 前記入力手段に入力されたデータのサンプリング期間を
設定するサンプリング期間設定手段と、 前記パターン検知手段によって検知されたデータのパタ
ーンを記憶するパターン記憶手段と、 当該パターン記憶手段により記憶されたデータのパター
ンと前記サンプリング期間設定手段によって設定された
サンプリング期間内のデータのパターンを比較すること
で異常動作時のデータのパターンを推定し、当該推定さ
れたデータのパターンにしたがって前記生産設備からの
データを記録するためのラダープログラムを作成する設
備異常パターン作成手段と、を有することを特徴とする
データ記録装置。
1. A data recording device comprising recording means for recording data from a production facility, data display means for displaying the recorded data, and control means for controlling the recording means. Input means for reading the data, pattern detecting means for detecting the pattern of the data input to the input means, sampling period setting means for setting the sampling period of the data input to the input means, and the pattern detecting means An abnormal operation by comparing the pattern of the data stored by the pattern storage unit with the pattern of the data detected by the pattern storage unit and the pattern of the data within the sampling period set by the sampling period setting unit. Estimate the pattern of time data and estimate the data Data recording apparatus characterized by having a facility failure pattern generating means for generating a ladder program for recording data from the production facility according to the pattern.
JP5299451A 1993-11-30 1993-11-30 Data recording device Pending JPH07152410A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5299451A JPH07152410A (en) 1993-11-30 1993-11-30 Data recording device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5299451A JPH07152410A (en) 1993-11-30 1993-11-30 Data recording device

Publications (1)

Publication Number Publication Date
JPH07152410A true JPH07152410A (en) 1995-06-16

Family

ID=17872749

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5299451A Pending JPH07152410A (en) 1993-11-30 1993-11-30 Data recording device

Country Status (1)

Country Link
JP (1) JPH07152410A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016143072A1 (en) * 2015-03-10 2016-09-15 三菱電機株式会社 Programmable logic controller

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016143072A1 (en) * 2015-03-10 2016-09-15 三菱電機株式会社 Programmable logic controller
JPWO2016143072A1 (en) * 2015-03-10 2017-04-27 三菱電機株式会社 Programmable logic controller

Similar Documents

Publication Publication Date Title
TWI559107B (en) Monitoring and control apparatus
CN108693830A (en) Data management system and its method, computer-readable recording medium
JP3994090B2 (en) Numerical controller
JPH07152410A (en) Data recording device
JPH0623550A (en) Automatic welding equipment
JP2911256B2 (en) Digital controller
JPH09160702A (en) Operation reproduction method and system for monitoring and control program
JPH0668369A (en) System monitoring abnormality progress reproducing device
JP2002024052A (en) Error reproduction test method of computer peripheral equipment
JP2005275713A (en) Maintenance information management system
JP3309434B2 (en) PC programming device
JP2533373B2 (en) Control program creation method
JPH10171519A (en) Method and device for monitoring process data
JP2001034316A (en) Machine controller
JPH07103791A (en) Recording method for waveform data in waveform recorder
JPH01292505A (en) Servo controller
JP2000131388A (en) Device for setting system configuration of ic testing device
JP2001325022A (en) Plant operation data monitoring and recording device
JP2006039640A (en) Numerical controller
JPH0651888A (en) Operation re-executing device
JPH08194524A (en) Automatic operation method and device
JPH05189025A (en) Numerical controller
JPH10122911A (en) Monitoring device
JPH1011317A (en) Digital controller
JPH06282467A (en) Trace information output processing system