JP3852636B2 - Status data collection method and control device - Google Patents

Status data collection method and control device Download PDF

Info

Publication number
JP3852636B2
JP3852636B2 JP25599597A JP25599597A JP3852636B2 JP 3852636 B2 JP3852636 B2 JP 3852636B2 JP 25599597 A JP25599597 A JP 25599597A JP 25599597 A JP25599597 A JP 25599597A JP 3852636 B2 JP3852636 B2 JP 3852636B2
Authority
JP
Japan
Prior art keywords
data
state
storage area
state change
time
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Lifetime
Application number
JP25599597A
Other languages
Japanese (ja)
Other versions
JPH1185264A (en
Inventor
昌宏 小池
一明 芹沢
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Howa Machinery Ltd
Original Assignee
Howa Machinery 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 Howa Machinery Ltd filed Critical Howa Machinery Ltd
Priority to JP25599597A priority Critical patent/JP3852636B2/en
Publication of JPH1185264A publication Critical patent/JPH1185264A/en
Application granted granted Critical
Publication of JP3852636B2 publication Critical patent/JP3852636B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Images

Description

【0001】
【発明の属する技術分野】
この発明は、制御対象機器の状態変化部位をモニタし、状態変化部位がOFFからONとなったON時刻と状態変化部位とをONデータとして一時的にONデータ記憶領域に記憶し、状態変化部位がONからOFFになったとき、記憶されたONデータをOFF時刻と対にして、ONデータ記憶領域から状態データ記憶領域に移動記憶させるデータ収集方法及び制御装置に関する。
【0002】
【従来の技術】
制御対象機器は制御装置により制御されると共に周期的にモニタされており、制御対象機器がある状態から他の状態に変化した場合、その変化した状態変化部位とその時刻を1つのデータとして制御装置の記憶手段に状態変化した順に記憶していた。例えば制御対象機器に通常状態(OFF)から異常状態(ON)に変化した状態変化部位Aと、電源状態のON、OFFが変化した状態変化部位Bとがあったとする。図3を利用して説明すると、先ず、時間T1でOFFからONとなると、この異常となった状態変化部位AとそのON時刻T1とを含むONデータが制御装置の記憶手段に記憶された。次に時間T2で状態変化部位BがOFFからONに変化すると、この状態変化部位BとそのON時刻T2とを含むONデータが記憶手段に記憶され、時刻T3でONからOFFに変化すると状態変化部位BとOFF時刻T3とを含むOFFデータが記憶された。次に時刻T4で状態変化部位AがONからOFFに変化すると、この状態変化部位AとOFF時刻T4とを含むOFFデータが記憶された。次に時刻T5で状態変化部位BがOFFからONになるとこのONデータが記憶された。このように記憶手段にON、OFFの変化順に状態変化部位と時刻とが1組のデータとして記録されていた(図5)。
【0003】
【発明が解決しようとする課題】
前記従来技術では、状態変化のデータがON、OFFに変化した時間順に記憶されていたので、対となるONデータとOFFデータとがわかりにくく、データの分析時やタイムチャート等の表示のときに、対となるON、OFFデータを捜しだし、ON時間順に並べ替えなければならないために制御対象機器の状態の分析、表示が容易ではない問題があった。また、現時点でONである状態変化部位を知るために、ONデータを捜しださなければならず、このとき記憶手段のデータを全て読み込み、ONデータであるかを判断し、ONデータであった場合にはそのONデータと対になるOFFデータが記憶手段に無いことを調べる必要があった。また、記憶手段に対となるONデータとOFFデータとが別々に記録されるので、ONデータとOFFデータとで重複が有り、データのサイズが大きくなってしまう問題があった。
本願の課題は、制御対象機器の状態の分析、表示を容易とするため、状態変化部位の状態のデータ収集を容易とし、また、記憶手段に記憶されるデータサイズを小さくすることである。
【0004】
【課題を解決するための手段】
前記課題を解決するために、制御対象機器を制御する制御装置により、制御対象機器の状態変化部位をモニタし、この状態変化部位と状態変化の時刻とを制御装置内の記憶手段に記憶するデータ収集方法において、記憶手段のONデータ記憶領域に、OFFからONに変化した状態変化部位と、その時のON時刻とからなるONデータを順次一時的に記憶し、記憶手段の状態データ記憶領域には、状態変化部位がONからOFFに変化したとき、この変化した状態変化部位と対応するONデータ記憶領域に記憶されている上記ONデータをONからOFFに変化したときのOFF時刻と対となるように移動記憶する(請求項1)。前記状態データをONデータの発生順に状態データ記憶領域に記憶する(請求項2)。
【0005】
前記方法を実施するのに好適な装置として、制御対象機器を制御すると共に、制御対象機器の状態変化部位をモニタし、この状態変化部位と状態変化の時刻とを記憶手段に記憶する制御装置において、OFFからONに変化した状態変化部位と、そのときのON時刻とからなるONデータを順次一時的に記憶するONデータ記憶領域を記憶手段に設け、モニタした状態変化部位がONまたはOFFかを判断し、この判断された状態変化部位と対応したONデータがONデータ記憶領域内に記憶されているかを判断する判断手段を備え、判断手段により状態変化部位がOFFでありこれに対応したONデータがONデータ記憶領域に記憶されていた場合に、このOFFとなった状態変化部位と対応する、ONデータ記憶領域に記憶されているONデータにONからOFFに変化したOFF時刻を付加して状態データとする状態データ作成手段と、状態データのONデータをONデータ記憶領域から消去する消去手段とを備え、この状態データを状態データ記憶領域に記憶するときに、この状態データのON時刻と状態データ記憶領域の他の状態データのON時刻とを比較し、ONデータの発生順に並び換える並び換え記憶手段を備え、ONデータ記憶領域のONデータ及び状態データ記憶領域の状態データを表示可能な表示装置を備えた(請求項3)。
【0006】
【発明の実施の形態】
以下、本願実施の形態を図1から図4により説明する。制御対象機器として、ここではトランスファマシン等の工作機械ラインMを対象としている。制御装置はこうした工作機械ラインMを制御するのに一般的に用いられるシーケンスコントローラ1である。シーケンスコントローラ1は中央処理装置(CPU)2、記憶手段3、時計手段4、及び外部機器との信号のやり取りを行う為のI/Oインタフエース5を備えている。記憶手段3は、CPU2で処理される工作機械ラインMの動作制御プログラムのほか、後述の状態変化のモニタ記憶プログラムが記憶されているプログラム記憶領域6、工作機械ラインMにおいて、OFFからONになった状態変化部位とその時のON時刻とからなるONデータを一時的に順次記憶するONデータ記憶領域7、ある状態変化部位がONからOFFに変化したとき、このOFFに変化した状態変化部位と対応するONデータ記憶領域7に記憶されたONデータにその時のOFF時刻を付加した状態データをONデータの発生順に時系列に沿って記憶しておく状態データ記憶領域8とを備えている。また、シーケンスコントローラ1には、I/Oインタフエース5を介してコンピュータ9が接続されており、このコンピュータ9は、記憶手段3から転送されるONデータや状態データをタイムチャート等として表示可能な表示手段10と、シーケンスコントローラ1にデータ転送命令等を与える入力手段11とを備えている。尚、ON、OFFとは、例えば、シーケンスコントローラ1が工作機械ラインMを周期的にモニタしており、ある状態変化部位で通常の状態が変化し異常となったとき、この異常状態を検出している間がONであり、通常状態を検出している間がOFFである。表示手段10、入力手段11はシーケンスコントローラ1に直接設けても良い。
【0007】
図2にシーケンスコントローラ1のモニタ記憶プログラムを示す。ステップS1は、工作機械ラインMの夫々の状態変化部位の状態を一定周期でモニタしデータを収得するデータ収集手段である。ステップS2,S3,S5は判断手段を構成する。ステップS2はステップS1で収集された状態変化部位のデータがOFFであるのかONであるのかを判断する。この収集された状態がONである場合、ステップS3でONデータ記憶領域7にこのONの状態と対応するONデータが記憶されているかを判断し、ONデータが記憶されている場合にはステップS1へ戻り、ONデータが記憶されていない場合、ステップS4でONデータ記憶領域7にONデータが記憶される。収集状態がOFFである場合には、ステップS5でONデータ記憶領域7にこのOFFの収集状態と対応するONデータが記憶されているかを判断される。ステップS6はステップS5でOFFの収集状態と対応するONデータが記憶されていた場合に、そのONデータにOFF時刻を付加して状態データとする状態データ作成手段であり、ステップS7はこの状態データに取り込まれたONデータをONデータ記憶領域7から消去する消去手段であり、ステップS8は、ステップS6で作成された状態データのON時刻と既に状態データ記憶領域8に記憶されている他の状態データの夫々のON時刻とを比較し、ON時刻の順に状態データを記憶する並び換え記憶手段である。
【0008】
先ず、モニタする夫々の状態変化部位がOFFの状態であるとする。図3に示すように時刻T1で状態変化部位Aで異常が生じてOFFからONになったとする。ステップS1で、シーケンスコントローラ1が工作機械ラインMの状態変化部位をモニタし状態を収集する。いま時刻T1で通常状態のOFFから異常状態のONとなっているので、ステップS2において、収集された状態変化部位Aの状態がONであると判断される。次に、ステップS3で、ステップS2で判断されたONデータがONデータ記憶領域7に記憶されているかが判断され、いまONデータ記憶領域7にこのONデータは記憶されていないので、ステップS4でこのONデータがONデータ記憶領域7に記憶され(図4▲1▼)、ステップS1に戻る。
【0009】
時刻T2で、例えば電源状態を表す状態変化部位BでOFFからONに変わったとするとステップS1で収集された状態がステップS2でONと判断され、図4▲1▼に示すようにONデータ記憶領域7にこれに対応するONデータが記憶されていないことがステップS3で判断され、ステップS4でこの状態変化部位BのONデータがONデータ記憶領域7に記憶され、ステップS1に戻る。
【0010】
次に時刻T3で状態変化部位Bの状態がONからOFFに変化するとステップS1で収集された状態がステップS2でOFFと判断されてステップS5が実行される。これにより状態がOFFの場合はONデータ記憶領域7にOFFデータが記憶されることがない。ステップS5でこのOFFと対応するONデータがONデータ記憶領域7に記憶されているかが判断され、ONデータが無い場合には再びステップS1に戻る。いま図4▲2▼に示すようにONデータ記憶領域7には時刻T2で記憶されたOFFデータと対応するONデータが記憶されているので、ステップS6でこのOFFと対応するONデータにOFF時刻T3が付加されて状態データとなり、ステップS7ではこの状態データにとり込まれたONデータがONデータ記憶領域7から消去される。これにより、従来のようにONデータとOFFデータとを別々に記憶手段3に夫々記憶しないので、ONデータとOFFデータとで重複する項目を記憶することなく、記録サイズが小さくなる。次にステップS8で、新たに生成された状態データのON時刻とすでに状態データ記憶領域8に記憶されている他の状態データのON時刻とが比較され、図4▲3▼に示すようにONデータの発生順にデータが並べ換えられて記憶されステップS1に戻る。
【0011】
次に時刻T4で状態変化部位AがONからOFFになると、ステップS1,S2,S5,S6,S7が実行され、ステップS8でON時刻が比較される。このとき状態変化部位AのON時刻T1は状態変化部位BのON時刻T2より以前の時刻であるので図4▲4▼のように状態変化部位Aの状態データが状態変化部位Bの状態データより前に記憶され、再びステップS1に戻り、以下同様にステップS1以降が繰り返される。尚、工作機械ラインMはシーケンスコントローラ1により周期的にモニタされており、状態変化部位Aの時刻T1〜T4や状態変化部位Bの時刻T2〜T3のようなONとなっている間ではステップS1,S2,S3が繰り返されており、状態変化部位Aの時刻T1以前や状態変化部位Bの時刻T3〜T5のようなOFFとなっている間ではステップS1,S2,S5が繰り返されていることはいうまでもない。コンピュータ9の入力手段11を操作し、シーケンスコントローラ1にONデータまたは状態データを要求すると、適宜な転送方法でONデータ及び状態データが転送される。この転送されるON、状態データは、夫々ONデータ記憶領域7には現在ONであるONデータのみがON時刻順に記録されており、状態データ記憶領域8にはON、OFFが対になった状態データだけがON時刻の時系列に沿って記録されているので、表示手段10に現在ONであるものだけを表示したい場合には、従来のように記憶されているON、OFFデータ全てを調べてONのものを捜しだす必要がなくONデータ記憶領域のデータを表示するのみで済み効率的であり、また、状態データを例えば図3のようにタイムチャートとして表示するときにも、ON、OFF時刻が1組として含まれているので、その時間間隔を画面表示スケールに簡単に換算することができ、表示が容易である。
【0012】
【発明の効果】
以上のように本願発明では、ONデータ記憶領域にはONであるONデータのみを一時記憶し、このONデータがOFFとなるとこれをOFF時刻と対となるようにONデータ記憶領域から状態データ記憶領域に移動記憶するので、夫々のデータに重複がなくなり、データの記憶サイズを小さくでき、多くのデータを記憶手段に記憶できる。また、状態データをONデータの発生時刻順に記憶するので表示手段への表示が容易である。また、ONデータ記憶領域には現時点でONであるONデータのみが、状態データ記憶領域には状態データのみが記憶されているので、従来のように記憶されている全てのデータから必要なデータを捜しだし調べなくてもよいので効率が良く、分析、表示が容易となる。
【図面の簡単な説明】
【図1】本願装置の全体構成を示す図である。
【図2】モニタ記憶プログラムを示すフローチャートである。
【図3】工作機械システムのモニタされる状態変化部位のタイムチャートである。
【図4】ONデータと状態データの記憶手段への格納手順を示す説明図である。
【図5】 従来のデータの記憶を示す説明図である。
【符号の説明】
1 シーケンスコントローラ(制御装置)
3 記憶手段
7 ONデータ記憶領域
8 状態データ記憶領域
M 制御対象機器(工作機械ライン)
[0001]
BACKGROUND OF THE INVENTION
The present invention monitors the state change part of the control target device, temporarily stores the ON time and the state change part when the state change part is turned from OFF to ON as ON data in the ON data storage area, The present invention relates to a data collection method and a control apparatus for moving and storing stored ON data from an ON data storage area to a state data storage area when the stored ON data is paired with an OFF time.
[0002]
[Prior art]
The control target device is controlled by the control device and periodically monitored. When the control target device changes from one state to another state, the control unit uses the changed state change portion and the time as one data. Are stored in the storage means in the order of state change. For example, it is assumed that the device to be controlled has a state change part A where the normal state (OFF) changes to an abnormal state (ON) and a state change part B where the power supply state changes ON and OFF. Explaining with reference to FIG. 3, first, when turning from OFF to ON at time T <b> 1, ON data including the abnormal state change portion A and the ON time T <b> 1 is stored in the storage means of the control device. Next, when the state change part B changes from OFF to ON at time T2, ON data including the state change part B and its ON time T2 is stored in the storage means, and when the state change part B changes from ON to OFF at time T3, the state change occurs. OFF data including the part B and the OFF time T3 was stored. Next, when the state change part A changes from ON to OFF at time T4, OFF data including the state change part A and the OFF time T4 is stored. Next, when the state change portion B is turned from OFF to ON at time T5, the ON data is stored. In this way, the state changing portion and the time are recorded as a set of data in the order of change of ON and OFF in the storage means (FIG. 5).
[0003]
[Problems to be solved by the invention]
In the prior art, since the state change data is stored in the order of the time when it changes from ON to OFF, the ON data and OFF data that make a pair are difficult to understand, and when analyzing data or displaying a time chart or the like There is a problem that it is not easy to analyze and display the state of the control target device because it has to search for ON / OFF data to be paired and rearrange them in the order of the ON time. In addition, in order to know the state change part that is ON at the present time, it is necessary to search for ON data. At this time, all the data in the storage means is read to determine whether it is ON data. In this case, it is necessary to check that there is no OFF data paired with the ON data in the storage means. In addition, since ON data and OFF data that are paired in the storage means are recorded separately, there is a problem that ON data and OFF data overlap, and the data size increases.
An object of the present application is to facilitate the analysis and display of the state of the control target device, thereby facilitating data collection of the state of the state change part, and to reduce the data size stored in the storage unit.
[0004]
[Means for Solving the Problems]
In order to solve the above-mentioned problem, the control device that controls the control target device monitors the state change portion of the control target device, and stores the state change portion and the time of the state change in the storage means in the control device. In the collecting method, the ON data storage area of the storage means temporarily stores ON data consisting of the state change portion changed from OFF to ON and the ON time at that time, and the state data storage area of the storage means stores the ON data. When the state change part changes from ON to OFF, the ON data stored in the ON data storage area corresponding to the changed state change part is paired with the OFF time when the ON data changes from ON to OFF. (Claim 1). The status data is stored in the status data storage area in the order in which the ON data is generated.
[0005]
As a device suitable for carrying out the method, in a control device that controls a device to be controlled, monitors a state change portion of the device to be controlled, and stores the state change portion and the time of state change in a storage unit. , An ON data storage area for sequentially storing ON data consisting of the state change part changed from OFF to ON and the ON time at that time is provided in the storage means to determine whether the monitored state change part is ON or OFF. And determining means for determining whether ON data corresponding to the determined state change part is stored in the ON data storage area, and the ON data corresponding to the state change part being OFF by the determination means. Is stored in the ON data storage area, the O data stored in the ON data storage area corresponding to the OFF state change portion is stored. State data creating means for adding state OFF time changed from ON to OFF to state data, and erasing means for erasing the ON data of the state data from the ON data storage area are provided, and this state data is stored in the state data When storing in the area, the ON time of the status data is compared with the ON time of other status data in the status data storage area, and rearrangement storage means is provided for rearranging in the order in which the ON data is generated. A display device capable of displaying ON data and status data in the status data storage area is provided.
[0006]
DETAILED DESCRIPTION OF THE INVENTION
Hereinafter, the embodiment of the present application will be described with reference to FIGS. Here, a machine tool line M such as a transfer machine is targeted as a control target device. The control device is a sequence controller 1 generally used to control such a machine tool line M. The sequence controller 1 includes a central processing unit (CPU) 2, a storage unit 3, a clock unit 4, and an I / O interface 5 for exchanging signals with external devices. In addition to the operation control program for the machine tool line M processed by the CPU 2, the storage means 3 is switched from OFF to ON in the program storage area 6 and the machine tool line M in which a monitor storage program for state change described later is stored. ON data storage area 7 for temporarily storing ON data consisting of the state change part and the ON time at that time. When a certain state change part changes from ON to OFF, it corresponds to this OFF state change part. A state data storage area 8 for storing state data in which the OFF time at that time is added to the ON data stored in the ON data storage area 7 to be stored in the order of generation of the ON data. Further, a computer 9 is connected to the sequence controller 1 via an I / O interface 5, and this computer 9 can display ON data and status data transferred from the storage means 3 as a time chart or the like. A display means 10 and an input means 11 for giving a data transfer command or the like to the sequence controller 1 are provided. ON and OFF means that, for example, the sequence controller 1 periodically monitors the machine tool line M, and this abnormal state is detected when the normal state changes and becomes abnormal at a certain state change part. Is on while the normal state is detected is off. The display means 10 and the input means 11 may be directly provided in the sequence controller 1.
[0007]
FIG. 2 shows a monitor storage program of the sequence controller 1. Step S1 is a data collection means for acquiring data by monitoring the state of each state change portion of the machine tool line M at a constant period. Steps S2, S3 and S5 constitute judgment means. In step S2, it is determined whether the data of the state change part collected in step S1 is OFF or ON. If this collected state is ON, it is determined in step S3 whether ON data corresponding to this ON state is stored in the ON data storage area 7, and if ON data is stored, step S1. If the ON data is not stored, the ON data is stored in the ON data storage area 7 in step S4. If the collection state is OFF, it is determined in step S5 whether ON data corresponding to the OFF collection state is stored in the ON data storage area 7. Step S6 is a state data creating means for adding ON time to the ON data when the ON data corresponding to the OFF collection state is stored in Step S5, and making it the state data. Step S7 is the state data. Is an erasing means for erasing the ON data fetched in the ON data storage area 7, and step S8 is the ON time of the status data created in step S6 and other statuses already stored in the status data storage area 8 It is a rearrangement storage means for comparing each data ON time and storing the status data in the order of the ON time.
[0008]
First, it is assumed that each state change portion to be monitored is in an OFF state. As shown in FIG. 3, it is assumed that an abnormality has occurred in the state change portion A at time T1 and has been turned from OFF to ON. In step S1, the sequence controller 1 monitors the state change part of the machine tool line M and collects the state. Since the normal state is turned off from the normal state OFF at time T1, it is determined in step S2 that the collected state change portion A is on. Next, in step S3, it is determined whether or not the ON data determined in step S2 is stored in the ON data storage area 7, and since this ON data is not stored in the ON data storage area 7 now, in step S4 The ON data is stored in the ON data storage area 7 ((1) in FIG. 4), and the process returns to step S1.
[0009]
At time T2, for example, if the state change part B representing the power state changes from OFF to ON, the state collected in step S1 is determined to be ON in step S2, and the ON data storage area is shown in FIG. In step S3, it is determined that no corresponding ON data is stored in step S3. In step S4, the ON data of the state change portion B is stored in the ON data storage area 7, and the process returns to step S1.
[0010]
Next, when the state of the state change portion B changes from ON to OFF at time T3, the state collected in step S1 is determined to be OFF in step S2, and step S5 is executed. As a result, when the state is OFF, the OFF data is not stored in the ON data storage area 7. In step S5, it is determined whether or not ON data corresponding to this OFF is stored in the ON data storage area 7. If there is no ON data, the process returns to step S1 again. As shown in FIG. 4 (2), since the ON data corresponding to the OFF data stored at time T2 is stored in the ON data storage area 7, in step S6, the ON data corresponding to this OFF is set to the OFF time. T3 is added to form status data. In step S7, the ON data incorporated in the status data is erased from the ON data storage area 7. As a result, the ON data and the OFF data are not stored separately in the storage means 3 as in the prior art, so that the recording size is reduced without storing duplicate items between the ON data and the OFF data. Next, in step S8, the ON time of the newly generated state data is compared with the ON times of other state data already stored in the state data storage area 8, and the ON time as shown in FIG. The data is rearranged in the order of data generation and stored, and the process returns to step S1.
[0011]
Next, when the state change part A changes from ON to OFF at time T4, steps S1, S2, S5, S6 and S7 are executed, and the ON times are compared in step S8. At this time, since the ON time T1 of the state change portion A is a time before the ON time T2 of the state change portion B, the state data of the state change portion A is more than the state data of the state change portion B as shown in FIG. Previously stored, the process returns to step S1 again, and thereafter step S1 and subsequent steps are repeated in the same manner. Note that the machine tool line M is periodically monitored by the sequence controller 1, and during the ON state such as the times T1 to T4 of the state change portion A and the times T2 to T3 of the state change portion B, step S1 is performed. , S2 and S3 are repeated, and steps S1, S2 and S5 are repeated while the state change portion A is OFF before time T1 and during the time T3 to T5 of the state change portion B. Needless to say. When the input means 11 of the computer 9 is operated to request ON data or status data from the sequence controller 1, the ON data and status data are transferred by an appropriate transfer method. As for the transferred ON and status data, only the ON data that is currently ON is recorded in the ON data storage area 7 in the order of the ON time, and the status data storage area 8 is a pair of ON and OFF. Since only the data is recorded along the time sequence of the ON time, if you want to display only what is currently ON on the display means 10, check all the ON and OFF data stored as before. There is no need to search for ON data, it is only necessary to display the data in the ON data storage area, and the ON / OFF time is also effective when the status data is displayed as a time chart as shown in FIG. Are included as a set, the time interval can be easily converted into a screen display scale, and display is easy.
[0012]
【The invention's effect】
As described above, according to the present invention, only ON data that is ON is temporarily stored in the ON data storage area, and when this ON data is turned OFF, it is stored from the ON data storage area to be paired with the OFF time. Since the data is moved and stored in the area, there is no overlap between the data, the data storage size can be reduced, and a large amount of data can be stored in the storage means. Further, since the status data is stored in the order of the generation time of the ON data, the display on the display means is easy. In addition, since only ON data that is currently ON is stored in the ON data storage area and only state data is stored in the state data storage area, necessary data is stored from all stored data as in the prior art. Since it is not necessary to search and search, it is efficient and analysis and display become easy.
[Brief description of the drawings]
FIG. 1 is a diagram illustrating an overall configuration of an apparatus of the present application.
FIG. 2 is a flowchart showing a monitor storage program.
FIG. 3 is a time chart of a state change portion monitored in the machine tool system.
FIG. 4 is an explanatory diagram showing a procedure for storing ON data and status data in a storage means;
FIG. 5 is an explanatory diagram showing conventional data storage;
[Explanation of symbols]
1 Sequence controller (control device)
3 Storage means 7 ON data storage area 8 Status data storage area M Control target equipment (machine tool line)

Claims (3)

制御対象機器を制御する制御装置により、制御対象機器の状態変化部位をモニタし、この状態変化部位と状態変化の時刻とを制御装置内の記憶手段に記憶するデータ収集方法において、記憶手段のONデータ記憶領域に、OFFからONに変化した状態変化部位と、その時のON時刻とからなるONデータを順次一時的に記憶し、記憶手段の状態データ記憶領域には、状態変化部位がONからOFFに変化したとき、この変化した状態変化部位と対応するONデータ記憶領域に記憶されている上記ONデータをONからOFFに変化したときのOFF時刻と対となるように移動記憶することを特徴とする状態データ収集方法。In a data collection method for monitoring a state change portion of a control target device by a control device that controls the control target device, and storing the state change portion and the time of state change in a storage means in the control device, the storage means is turned on. In the data storage area, the ON data consisting of the state change part changed from OFF to ON and the ON time at that time is temporarily temporarily stored, and the state change part is switched from ON to OFF in the state data storage area of the storage means. The ON data stored in the ON data storage area corresponding to the changed state change part is moved and stored so as to be paired with the OFF time when changed from ON to OFF. To collect state data. 状態データをONデータの発生順に状態データ記憶領域に記憶することを特徴とする請求項1記載の状態データ収集方法。2. The state data collection method according to claim 1, wherein the state data is stored in the state data storage area in the order in which the ON data is generated. 制御対象機器を制御すると共に、制御対象機器の状態変化部位をモニタし、この状態変化部位と状態変化の時刻とを記憶手段に記憶する制御装置において、OFFからONに変化した状態変化部位と、そのときのON時刻とからなるONデータを順次一時的に記憶するONデータ記憶領域を記憶手段に設け、モニタした状態変化部位がONまたはOFFかを判断し、この判断された状態変化部位と対応したONデータがONデータ記憶領域内に記憶されているかを判断する判断手段を備え、判断手段により状態変化部位がOFFでありこれに対応したONデータがONデータ記憶領域に記憶されていた場合に、このOFFとなった状態変化部位と対応する、ONデータ記憶領域に記憶されているONデータにONからOFFに変化したOFF時刻を付加して状態データとする状態データ作成手段と、状態データのONデータをONデータ記憶領域から消去する消去手段とを備え、この状態データを状態データ記憶領域に記憶するときに、この状態データのON時刻と状態データ記憶領域の他の状態データのON時刻とを比較し、ONデータの発生順に並び換える並び換え記憶手段を備え、ONデータ記憶領域のONデータ及び状態データ記憶領域の状態データを表示可能な表示装置を備えたことを特徴とする制御装置。In the control device that controls the control target device, monitors the state change portion of the control target device, and stores the state change portion and the time of the state change in the storage unit, the state change portion changed from OFF to ON, An ON data storage area for temporarily storing ON data including the ON time at that time is provided in the storage means, and it is determined whether the monitored state change part is ON or OFF, and the determined state change part is associated. A determination means for determining whether or not the ON data is stored in the ON data storage area, and when the state change part is OFF by the determination means and corresponding ON data is stored in the ON data storage area The ON data stored in the ON data storage area corresponding to the OFF state change part has changed from ON to OFF. State data creating means for adding state to state data and erasing means for erasing the ON data of the state data from the ON data storage area. When this state data is stored in the state data storage area, Compared with the ON time of data and the ON time of other status data in the status data storage area, it is provided with rearrangement storage means for rearranging in the order in which the ON data is generated, and the ON data in the ON data storage area and the status of the status data storage area A control device comprising a display device capable of displaying data.
JP25599597A 1997-09-03 1997-09-03 Status data collection method and control device Expired - Lifetime JP3852636B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP25599597A JP3852636B2 (en) 1997-09-03 1997-09-03 Status data collection method and control device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP25599597A JP3852636B2 (en) 1997-09-03 1997-09-03 Status data collection method and control device

Publications (2)

Publication Number Publication Date
JPH1185264A JPH1185264A (en) 1999-03-30
JP3852636B2 true JP3852636B2 (en) 2006-12-06

Family

ID=17286447

Family Applications (1)

Application Number Title Priority Date Filing Date
JP25599597A Expired - Lifetime JP3852636B2 (en) 1997-09-03 1997-09-03 Status data collection method and control device

Country Status (1)

Country Link
JP (1) JP3852636B2 (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4608120B2 (en) * 2001-03-23 2011-01-05 株式会社ブリヂストン Diagnostic equipment
JP2002287822A (en) * 2001-03-27 2002-10-04 Bridgestone Corp Method and device for preparing timing chart
KR20180080301A (en) 2016-05-23 2018-07-11 미쓰비시덴키 가부시키가이샤 Programmable Logic Controller
JP6727472B1 (en) * 2019-07-26 2020-07-22 三菱電機株式会社 Programmable logic controller, setting tool, and program
CN113050541B (en) * 2021-03-24 2023-04-28 武汉科技大学 Online monitoring system for energy consumption and processing state of numerical control machine tool

Also Published As

Publication number Publication date
JPH1185264A (en) 1999-03-30

Similar Documents

Publication Publication Date Title
JP3852636B2 (en) Status data collection method and control device
JP2002078200A (en) Monitor control device and memory medium
JPH09146629A (en) Trend data collecting/displaying device
WO2021100308A1 (en) Machine tool, log output method and log output program
JP6870664B2 (en) Control systems, controls and programs
JP5250963B2 (en) Trend data storage and display methods in supervisory control systems
JPH0632047B2 (en) Data collection device
JPH05209816A (en) Plant system analyzer
JP2004005198A (en) Computerized analysis display method and measurement analysis display device
JP2003216227A (en) Monitor system for mass flow controller
JPH08249049A (en) Monitoring device
JP6787161B2 (en) Network system management equipment, network system management methods, control programs, and recording media
JPH08115115A (en) Positioning device and monitoring method thereof
JPH0553809A (en) Knowledge data referencing method for inference device
JPH07320176A (en) Common time marking device
JPS6039236B2 (en) Display method
JP2872841B2 (en) Semiconductor process support equipment
WO2021221649A1 (en) Automatic sensor data collection and model generation
JPH0341897A (en) Process data collection device
JPS63228398A (en) Plant monitor
JP2610916B2 (en) Alarm collection method
JPH04204015A (en) Diagnosing apparatus for abnormality of plant
JPH05303376A (en) Trend graph display device
JPS6398764A (en) File recovery system for multi-computer system
JPH01307846A (en) Monitoring device for programmable controller

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20040601

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20060803

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20060817

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20060830

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20090915

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20100915

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20100915

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20110915

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20120915

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20130915

Year of fee payment: 7

EXPY Cancellation because of completion of term