JPH1185264A - State data gathering method and control unit - Google Patents

State data gathering method and control unit

Info

Publication number
JPH1185264A
JPH1185264A JP25599597A JP25599597A JPH1185264A JP H1185264 A JPH1185264 A JP H1185264A JP 25599597 A JP25599597 A JP 25599597A JP 25599597 A JP25599597 A JP 25599597A JP H1185264 A JPH1185264 A JP H1185264A
Authority
JP
Japan
Prior art keywords
data
state
storage area
time
stored
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.)
Granted
Application number
JP25599597A
Other languages
Japanese (ja)
Other versions
JP3852636B2 (en
Inventor
Masahiro Koike
昌宏 小池
Kazuaki Serizawa
一明 芹沢
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

Abstract

PROBLEM TO BE SOLVED: To make it easy to gather data on the states of state change positions so as to facilitate analysis and display of the state of a device to be controlled by providing a storage means with an ON data storage area and a state data storage area. SOLUTION: A machine tool line (device to be controlled) is monitored by the control unit and a state change position and the time of the state change are stored in a storage means in the control unit. At this time, ON data consisting of the state change position of a change from OFF to ON and its ON time are stored temporarily in order. Further, the ON data stored in the ON data storage area corresponding to the state change position of a change from ON to OFF is moved to and stored in a state data storage area of the storage means when the state change position changes from ON to OFF so that it is paired with the OFF time of the change from ON to OFF. Consequently, none of data is repeated to reduce the storage size of the data, so that more data can be stored.

Description

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

【0001】[0001]

【発明の属する技術分野】この発明は、制御対象機器の
状態変化部位をモニタし、状態変化部位がOFFからO
NとなったON時刻と状態変化部位とをONデータとし
て一時的にONデータ記憶領域に記憶し、状態変化部位
がONからOFFになったとき、記憶されたONデータ
をOFF時刻と対にして、ONデータ記憶領域から状態
データ記憶領域に移動記憶させるデータ収集方法及び制
御装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention monitors a state change portion of a device to be controlled, and changes the state change portion from OFF to O.
The ON time and the state change portion that became N are temporarily stored as ON data in the ON data storage area. When the state change portion changes from ON to OFF, the stored ON data is paired with the OFF time. And a data collection method for moving and storing data from an ON data storage area to a state data storage area.

【0002】[0002]

【従来の技術】制御対象機器は制御装置により制御され
ると共に周期的にモニタされており、制御対象機器があ
る状態から他の状態に変化した場合、その変化した状態
変化部位とその時刻を1つのデータとして制御装置の記
憶手段に状態変化した順に記憶していた。例えば制御対
象機器に通常状態(OFF)から異常状態(ON)に変
化した状態変化部位Aと、電源状態のON、OFFが変
化した状態変化部位Bとがあったとする。図3を利用し
て説明すると、先ず、時間T1でOFFからONとなる
と、この異常となった状態変化部位AとそのON時刻T
1とを含むONデータが制御装置の記憶手段に記憶され
た。次に時間T2で状態変化部位BがOFFからONに
変化すると、この状態変化部位BとそのON時刻T2と
を含むONデータが記憶手段に記憶され、時刻T3でO
NからOFFに変化すると状態変化部位BとOFF時刻
T3とを含むOFFデータが記憶された。次に時刻T4
で状態変化部位AがONからOFFに変化すると、この
状態変化部位AとOFF時刻T4とを含むOFFデータ
が記憶された。次に時刻T5で状態変化部位BがOFF
からONになるとこのONデータが記憶された。このよ
うに記憶手段にON、OFFの変化順に状態変化部位と
時刻とが1組のデータとして記録されていた(図5)。
2. Description of the Related Art A device to be controlled is controlled by a control device and periodically monitored. When the device to be controlled changes from one state to another state, the state of the changed state and its time are set to one. Are stored in the storage means of the control device in the order in which the status changes. For example, it is assumed that the control target device has a state change part A where the normal state (OFF) changes from an abnormal state (ON) and a state change part B where the power state changes between ON and OFF. Referring to FIG. 3, first, when the state changes from OFF to ON at time T1, the abnormal state change portion A and its ON time T
1 is stored in the storage unit of the control device. Next, when the state change part B changes from OFF to ON at time T2, ON data including this state change part B and its ON time T2 is stored in the storage means.
When the state changes from N to OFF, OFF data including the state change portion B and the OFF time T3 is stored. Next, at time T4
When the state change portion A changes from ON to OFF, OFF data including the state change portion A and the OFF time T4 is stored. Next, at time T5, the state change portion B is turned off.
This ON data was stored when it was turned ON from. As described above, the state change portion and the time are recorded as one set of data in the order of ON and OFF changes in the storage means (FIG. 5).

【0003】[0003]

【発明が解決しようとする課題】前記従来技術では、状
態変化のデータがON、OFFに変化した時間順に記憶
されていたので、対となるONデータとOFFデータと
がわかりにくく、データの分析時やタイムチャート等の
表示のときに、対となるON、OFFデータを捜しだ
し、ON時間順に並べ替えなければならないために制御
対象機器の状態の分析、表示が容易ではない問題があっ
た。また、現時点でONである状態変化部位を知るため
に、ONデータを捜しださなければならず、このとき記
憶手段のデータを全て読み込み、ONデータであるかを
判断し、ONデータであった場合にはそのONデータと
対になるOFFデータが記憶手段に無いことを調べる必
要があった。また、記憶手段に対となるONデータとO
FFデータとが別々に記録されるので、ONデータとO
FFデータとで重複が有り、データのサイズが大きくな
ってしまう問題があった。本願の課題は、制御対象機器
の状態の分析、表示を容易とするため、状態変化部位の
状態のデータ収集を容易とし、また、記憶手段に記憶さ
れるデータサイズを小さくすることである。
In the prior art, since the state change data is stored in the order of time when the state changes to ON and OFF, the paired ON data and OFF data are difficult to understand, so that the data analysis time is reduced. When displaying a time chart or a time chart, a pair of ON and OFF data must be searched for and rearranged in the order of the ON time. Further, in order to know the state change portion which is ON at the present time, the ON data must be searched. At this time, all the data in the storage means is read, and it is determined whether the data is ON data. In this case, it is necessary to check that there is no OFF data in the storage means that is paired with the ON data. Further, the ON data and the O
Since FF data is recorded separately, ON data and O
There is a problem that the FF data is duplicated and the size of the data is increased. An object of the present application is to facilitate the analysis and display of the state of a control target device, facilitate the collection of data on the state of the state-changed part, and reduce the data size stored in the storage unit.

【0004】[0004]

【課題を解決するための手段】前記課題を解決するため
に、制御対象機器を制御する制御装置により、制御対象
機器の状態変化部位をモニタし、この状態変化部位と状
態変化の時刻とを制御装置内の記憶手段に記憶するデー
タ収集方法において、記憶手段のONデータ記憶領域
に、OFFからONに変化した状態変化部位と、その時
のON時刻とからなるONデータを順次一時的に記憶
し、記憶手段の状態データ記憶領域には、状態変化部位
がONからOFFに変化したとき、この変化した状態変
化部位と対応するONデータ記憶領域に記憶されている
上記ONデータをONからOFFに変化したときのOF
F時刻と対となるように移動記憶する(請求項1)。前
記状態データをONデータの発生順に状態データ記憶領
域に記憶する(請求項2)。
In order to solve the above-mentioned problems, a control device for controlling a device to be controlled monitors a state change portion of the device to be controlled and controls the state change portion and the time of the state change. In a data collection method for storing data in a storage unit in an apparatus, an ON data storage area of the storage unit sequentially temporarily stores ON data including a state change portion changed from OFF to ON and an ON time at that time, In the state data storage area of the storage means, 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 changes from ON to OFF. OF
It is moved and stored so as to be paired with the F time (claim 1). The state data is stored in a state data storage area in the order of occurrence of ON data (claim 2).

【0005】前記方法を実施するのに好適な装置とし
て、制御対象機器を制御すると共に、制御対象機器の状
態変化部位をモニタし、この状態変化部位と状態変化の
時刻とを記憶手段に記憶する制御装置において、OFF
からONに変化した状態変化部位と、そのときのON時
刻とからなるONデータを順次一時的に記憶するONデ
ータ記憶領域を記憶手段に設け、モニタした状態変化部
位がONまたはOFFかを判断し、この判断された状態
変化部位と対応したONデータがONデータ記憶領域内
に記憶されているかを判断する判断手段を備え、判断手
段により状態変化部位がOFFでありこれに対応したO
NデータがONデータ記憶領域に記憶されていた場合
に、このOFFとなった状態変化部位と対応する、ON
データ記憶領域に記憶されているONデータにONから
OFFに変化したOFF時刻を付加して状態データとす
る状態データ作成手段と、状態データのONデータをO
Nデータ記憶領域から消去する消去手段とを備え、この
状態データを状態データ記憶領域に記憶するときに、こ
の状態データのON時刻と状態データ記憶領域の他の状
態データのON時刻とを比較し、ONデータの発生順に
並び換える並び換え記憶手段を備え、ONデータ記憶領
域のONデータ及び状態データ記憶領域の状態データを
表示可能な表示装置を備えた(請求項3)。
[0005] As an apparatus suitable for carrying out the above method, a device to be controlled is controlled, and a state change portion of the control target device is monitored, and the state change portion and the time of the state change are stored in a storage means. OFF in the control device
The storage means is provided with an ON data storage area for temporarily and temporarily storing ON data including a state change portion that has changed from ON to ON and the ON time at that time, and determines whether the monitored state change portion is ON or OFF. Determining means for determining whether ON data corresponding to the determined state-changed part is stored in the ON data storage area.
When N data is stored in the ON data storage area, the ON state corresponding to the OFF state change part
State data generating means for adding the OFF time changed from ON to OFF to the ON data stored in the data storage area to generate state data;
Erasing means for erasing from the N data storage area, and when storing this state data in the state data storage area, compares the ON time of this state data with the ON time of other state data in the state data storage area. , And a display device capable of displaying ON data in the ON data storage area and status data in the status data storage area (claim 3).

【0006】[0006]

【発明の実施の形態】以下、本願実施の形態を図1から
図4により説明する。制御対象機器として、ここではト
ランスファマシン等の工作機械ラインMを対象としてい
る。制御装置はこうした工作機械ラインMを制御するの
に一般的に用いられるシーケンスコントローラ1であ
る。シーケンスコントローラ1は中央処理装置(CP
U)2、記憶手段3、時計手段4、及び外部機器との信
号のやり取りを行う為のI/Oインタフエース5を備え
ている。記憶手段3は、CPU2で処理される工作機械
ラインMの動作制御プログラムのほか、後述の状態変化
のモニタ記憶プログラムが記憶されているプログラム記
憶領域6、工作機械ラインMにおいて、OFFからON
になった状態変化部位とその時のON時刻とからなるO
Nデータを一時的に順次記憶するONデータ記憶領域
7、ある状態変化部位がONからOFFに変化したと
き、このOFFに変化した状態変化部位と対応するON
データ記憶領域7に記憶されたONデータにその時のO
FF時刻を付加した状態データをONデータの発生順に
時系列に沿って記憶しておく状態データ記憶領域8とを
備えている。また、シーケンスコントローラ1には、I
/Oインタフエース5を介してコンピュータ9が接続さ
れており、このコンピュータ9は、記憶手段3から転送
されるONデータや状態データをタイムチャート等とし
て表示可能な表示手段10と、シーケンスコントローラ
1にデータ転送命令等を与える入力手段11とを備えて
いる。尚、ON、OFFとは、例えば、シーケンスコン
トローラ1が工作機械ラインMを周期的にモニタしてお
り、ある状態変化部位で通常の状態が変化し異常となっ
たとき、この異常状態を検出している間がONであり、
通常状態を検出している間がOFFである。表示手段1
0、入力手段11はシーケンスコントローラ1に直接設
けても良い。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Embodiments of the present invention will be described below with reference to FIGS. Here, the machine to be controlled is a machine tool line M such as a transfer machine. The control device is a sequence controller 1 generally used to control the machine tool line M. The sequence controller 1 has a central processing unit (CP
U) 2, storage means 3, clock means 4, and an I / O interface 5 for exchanging signals with external devices. The storage means 3 is a program storage area 6 in which a state change monitor storage program, which will be described later, is stored in addition to the operation control program of the machine tool line M processed by the CPU 2, and the machine tool line M from OFF to ON.
O consisting of the state-changed part and the ON time at that time
An ON data storage area 7 for temporarily and sequentially storing N data. When a certain state-changed part changes from ON to OFF, the ON data corresponding to the state-changed part changed to OFF becomes ON.
The ON data stored in the data storage area 7
A state data storage area 8 for storing state data to which the FF time is added in chronological order in the generation of the ON data. The sequence controller 1 has I
A computer 9 is connected via an I / O interface 5. The computer 9 is connected to a display unit 10 capable of displaying ON data and status data transferred from the storage unit 3 as a time chart and the like, and a sequence controller 1. Input means 11 for giving a data transfer instruction and the like. Here, ON and OFF means that, for example, the sequence controller 1 periodically monitors the machine tool line M, and when a normal state changes at a certain state change portion and becomes abnormal, the abnormal state is detected. While it is on,
It is OFF while detecting the normal state. Display means 1
0, the input means 11 may be provided directly in the sequence controller 1.

【0007】図2にシーケンスコントローラ1のモニタ
記憶プログラムを示す。ステップS1は、工作機械ライ
ンMの夫々の状態変化部位の状態を一定周期でモニタし
データを収得するデータ収集手段である。ステップS
2,S3,S5は判断手段を構成する。ステップS2は
ステップS1で収集された状態変化部位のデータがOF
Fであるのか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時刻の順に状態データを
記憶する並び換え記憶手段である。
FIG. 2 shows a monitor storage program of the sequence controller 1. Step S1 is data collection means for monitoring the state of each state-changed portion of the machine tool line M at a constant cycle and acquiring data. Step S
2, S3 and S5 constitute a judgment means. In step S2, the data of the state change part collected in step S1 is OF data.
It is determined whether it is F or ON. If the 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. If ON data is stored, step S1 is performed. Returning to step S4, if ON data is not stored, the ON data storage area 7 is turned on in step S4.
The data is stored. If the collection state is OFF, the OFF data is stored in the ON data storage area 7 in step S5.
It is determined whether or not ON data corresponding to the collection state is stored. In step S6, when the ON data corresponding to the OFF collection state is stored in step S5,
Step S7 is an erasing means for erasing the ON data taken into the state data from the ON data storage area 7, and step S8 is a erasing means for adding the OFF time to the ON data to make the state data. The rearrangement storage for comparing the ON time of the state data created in step S6 with the ON times of the other state data already stored in the state data storage area 8 and storing the state data in the order of the ON times. Means.

【0008】先ず、モニタする夫々の状態変化部位がO
FFの状態であるとする。図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)、ステッ
プS1に戻る。
First, each of the status change portions to be monitored is O
It is assumed that the state is FF. As shown in FIG. 3, it is assumed that an abnormality occurs in the state change portion A at time T1 and the state changes from OFF to ON. In step S1, the sequence controller 1 monitors a state change portion of the machine tool line M and collects the state. Since the normal state is changed from OFF in the normal state to ON in the abnormal state at time T1, it is determined in step S2 that the collected state of the state change portion A is ON.
Next, in step S3, the ON determined in step S2 is performed.
It is determined whether the data is stored in the ON data storage area 7. Since the ON data is not stored in the ON data storage area 7, this ON data is stored in the ON data storage area 7 in step S4 (see FIG. 4) Return to step S1.

【0009】時刻T2で、例えば電源状態を表す状態変
化部位BでOFFからONに変わったとするとステップ
S1で収集された状態がステップS2でONと判断さ
れ、図4に示すようにONデータ記憶領域7にこれに
対応するONデータが記憶されていないことがステップ
S3で判断され、ステップS4でこの状態変化部位Bの
ONデータがONデータ記憶領域7に記憶され、ステッ
プS1に戻る。
At time T2, for example, if the state is changed from OFF to ON at the state change portion B representing the power supply state, the state collected in step S1 is determined to be ON in step S2, and the ON data storage area is determined as shown in FIG. It is determined in step S3 that the corresponding ON data is not stored in step 7, and the ON data of the state change portion B is stored in the ON data storage area 7 in step S4, and the process returns to step S1.

【0010】次に時刻T3で状態変化部位Bの状態がO
NからOFFに変化するとステップS1で収集された状
態がステップS2でOFFと判断されてステップS5が
実行される。これにより状態がOFFの場合はONデー
タ記憶領域7にOFFデータが記憶されることがない。
ステップS5でこのOFFと対応するONデータがON
データ記憶領域7に記憶されているかが判断され、ON
データが無い場合には再びステップS1に戻る。いま図
4に示すようにONデータ記憶領域7には時刻T2で
記憶されたOFFデータと対応するONデータが記憶さ
れているので、ステップS6でこのOFFと対応するO
NデータにOFF時刻T3が付加されて状態データとな
り、ステップS7ではこの状態データにとり込まれたO
NデータがONデータ記憶領域7から消去される。これ
により、従来のようにONデータとOFFデータとを別
々に記憶手段3に夫々記憶しないので、ONデータとO
FFデータとで重複する項目を記憶することなく、記録
サイズが小さくなる。次にステップS8で、新たに生成
された状態データのON時刻とすでに状態データ記憶領
域8に記憶されている他の状態データのON時刻とが比
較され、図4に示すようにONデータの発生順にデー
タが並べ換えられて記憶されステップS1に戻る。
Next, at time T3, the state of the state change portion B becomes O
When the state changes from N to OFF, the state collected in step S1 is determined to be OFF in step S2, and step S5 is executed. Thus, when the state is OFF, no OFF data is stored in the ON data storage area 7.
In step S5, ON data corresponding to this OFF is ON.
It is determined whether data is stored in the data storage area 7 and ON
If there is no data, the process returns to step S1. Now, as shown in FIG. 4, since ON data corresponding to the OFF data stored at time T2 is stored in the ON data storage area 7, the O data corresponding to this OFF is stored in step S6.
The OFF time T3 is added to the N data to become state data, and in step S7, the O
The N data is erased from the ON data storage area 7. As a result, the ON data and the OFF data are not separately stored in the storage unit 3 as in the related art, so that the ON data and the O data are not stored.
The recording size is reduced without storing the items that overlap with the FF 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 as shown in FIG. The data is rearranged in order and stored, and the process returns to step S1.

【0011】次に時刻T4で状態変化部位AがONから
OFFになると、ステップS1,S2,S5,S6,S
7が実行され、ステップS8でON時刻が比較される。
このとき状態変化部位AのON時刻T1は状態変化部位
BのON時刻T2より以前の時刻であるので図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組
として含まれているので、その時間間隔を画面表示スケ
ールに簡単に換算することができ、表示が容易である。
Next, when the state change portion A changes from ON to OFF at time T4, steps S1, S2, S5, S6, S
7 is executed, and the ON times are compared in step S8.
At this time, since the ON time T1 of the state changing part A is a time before the ON time T2 of the state changing part B, the state data of the state changing part A is stored before the state data of the state changing part B as shown in FIG. And returns to step S1 again.
Hereinafter, step S1 and subsequent steps are similarly repeated. The machine tool line M is periodically monitored by the sequence controller 1, and the time T1 to T4 of the state change portion A
Steps S1, S2, and S3 are repeated while the state change part B is ON, such as the times T2 to T3, and the state change part A is before the time T1 or the state change part B
Needless to say, steps S1, S2, and S5 are repeated during the OFF state as in times T3 to T5. By operating the input means 11 of the computer 9,
When requesting the ON data or the status data from the sequence controller 1, the ON data and the status data are transferred by an appropriate transfer method. The transferred ON and state data are stored in the ON data storage area 7 in the ON state which is currently ON.
Only the data is recorded in the order of the ON time, and only the state data of the pair of ON and OFF are recorded in the state data storage area 8 in chronological order of the ON time. When it is desired to display only the ON data, there is no need to check all the ON and OFF data stored and search for the ON data as in the conventional case, and only display the data in the ON data storage area. Also, when the status data is displayed as a time chart, for example, as shown in FIG. 3, since the ON and OFF times are included as a set, the time interval can be easily converted to a screen display scale. And display is easy.

【0012】[0012]

【発明の効果】以上のように本願発明では、ONデータ
記憶領域にはONであるONデータのみを一時記憶し、
このONデータがOFFとなるとこれをOFF時刻と対
となるようにONデータ記憶領域から状態データ記憶領
域に移動記憶するので、夫々のデータに重複がなくな
り、データの記憶サイズを小さくでき、多くのデータを
記憶手段に記憶できる。また、状態データをONデータ
の発生時刻順に記憶するので表示手段への表示が容易で
ある。また、ONデータ記憶領域には現時点でONであ
るONデータのみが、状態データ記憶領域には状態デー
タのみが記憶されているので、従来のように記憶されて
いる全てのデータから必要なデータを捜しだし調べなく
てもよいので効率が良く、分析、表示が容易となる。
As described above, according to the present invention, only ON data that is ON is temporarily stored in the ON data storage area.
When the ON data is turned OFF, the ON data is moved and stored from the ON data storage area to the state data storage area so as to be paired with the OFF time. Therefore, duplication of each data is eliminated, the data storage size can be reduced, and Data can be stored in the storage means. In addition, since the state data is stored in the order of the occurrence time of the ON data, the display on the display means is easy. Further, only ON data that is ON at the present time is stored in the ON data storage area, and only state data is stored in the state data storage area. Since there is no need to search for and search, efficiency is high, and analysis and display are easy.

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

【図1】本願装置の全体構成を示す図である。FIG. 1 is a diagram showing an overall configuration of a device of the present application.

【図2】モニタ記憶プログラムを示すフローチャートで
ある。
FIG. 2 is a flowchart showing a monitor storage program.

【図3】工作機械システムのモニタされる状態変化部位
のタイムチャートである。
FIG. 3 is a time chart of a monitored state change portion of the machine tool system.

【図4】ONデータと状態データの記憶手段への格納手
順を示す説明図である。
FIG. 4 is an explanatory diagram showing a procedure for storing ON data and status data in a storage unit.

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

1 シーケンスコントローラ(制御装置) 3 記憶手段 7 ONデータ記憶領域 8 状態データ記憶領域 M 制御対象機器(工作機械ライン) Reference Signs List 1 Sequence controller (control device) 3 Storage means 7 ON data storage area 8 State data storage area M Device to be controlled (machine tool line)

─────────────────────────────────────────────────────
────────────────────────────────────────────────── ───

【手続補正書】[Procedure amendment]

【提出日】平成9年11月18日[Submission date] November 18, 1997

【手続補正1】[Procedure amendment 1]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】図面の簡単な説明[Correction target item name] Brief description of drawings

【補正方法】変更[Correction method] Change

【補正内容】[Correction contents]

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

【図1】本願装置の全体構成を示す図である。FIG. 1 is a diagram showing an overall configuration of a device of the present application.

【図2】モニタ記憶プログラムを示すフローチャートで
ある。
FIG. 2 is a flowchart showing a monitor storage program.

【図3】工作機械システムのモニタされる状態変化部位
のタイムチャートである。
FIG. 3 is a time chart of a monitored state change portion of the machine tool system.

【図4】ONデータと状態データの記憶手段への格納手
順を示す説明図である。
FIG. 4 is an explanatory diagram showing a procedure for storing ON data and status data in a storage unit.

【図5】従来のデータの記憶を示す説明図である。FIG. 5 is an explanatory diagram showing conventional data storage.

【符号の説明】 1 シーケンスコントローラ(制御装置) 3 記憶手段 7 ONデータ記憶領域 8 状態データ記憶領域 M 制御対象機器(工作機械ライン)[Description of Signs] 1 Sequence controller (control device) 3 Storage means 7 ON data storage area 8 State data storage area M Controlled equipment (machine tool line)

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 制御対象機器を制御する制御装置によ
り、制御対象機器の状態変化部位をモニタし、この状態
変化部位と状態変化の時刻とを制御装置内の記憶手段に
記憶するデータ収集方法において、記憶手段のONデー
タ記憶領域に、OFFからONに変化した状態変化部位
と、その時のON時刻とからなるONデータを順次一時
的に記憶し、記憶手段の状態データ記憶領域には、状態
変化部位がONからOFFに変化したとき、この変化し
た状態変化部位と対応するONデータ記憶領域に記憶さ
れている上記ONデータをONからOFFに変化したと
きのOFF時刻と対となるように移動記憶することを特
徴とする状態データ収集方法。
In a data collection method, a control device for controlling a control target device monitors a state change portion of the control target device and stores the state change portion and a time of the state change in a storage unit in the control device. In the ON data storage area of the storage means, the ON data including the state change portion changed from OFF to ON and the ON time at that time is sequentially and temporarily stored. When the part changes from ON to OFF, 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 the ON data changes from ON to OFF. A state data collection method, comprising:
【請求項2】 状態データを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 of occurrence of the ON data.
【請求項3】 制御対象機器を制御すると共に、制御対
象機器の状態変化部位をモニタし、この状態変化部位と
状態変化の時刻とを記憶手段に記憶する制御装置におい
て、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. A control device for controlling a device to be controlled, monitoring a state change portion of the device to be controlled, and storing the state change portion and a time of the state change in a storage means, wherein the control device changes from OFF to ON. An ON data storage area for sequentially and temporarily storing ON data including a state change portion and ON time at that time is provided in the storage means, and it is determined whether the monitored state change portion is ON or OFF. A determination means is provided for determining whether ON data corresponding to the state-changed part is stored in the ON-data storage area, and the determination means determines that the state-changed part is OFF and stores the corresponding ON data in the ON-data storage area. If it has been changed from ON to OFF, the ON data stored in the ON data storage area corresponding to the OFF state change portion is changed. State data generating means for adding the converted OFF time to the state data, and erasing means for erasing the ON data of the state data from the ON data storage area, when the state data is stored in the state data storage area. A rearrangement storage unit for comparing the ON time of the state data with the ON times of other state data in the state data storage area and rearranging the ON data in the order of occurrence of the ON data, and storing the ON data and the state data in the ON data storage area. A control device comprising a display device capable of displaying state data of an area.
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 true JPH1185264A (en) 1999-03-30
JP3852636B2 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)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002287822A (en) * 2001-03-27 2002-10-04 Bridgestone Corp Method and device for preparing timing chart
JP2002287823A (en) * 2001-03-23 2002-10-04 Bridgestone Corp Diagnostic device
KR20200121919A (en) 2016-05-23 2020-10-26 미쓰비시덴키 가부시키가이샤 Programmable logic controller
CN113050541A (en) * 2021-03-24 2021-06-29 武汉科技大学 Numerical control machine tool energy consumption and processing state on-line monitoring system
CN114174939A (en) * 2019-07-26 2022-03-11 三菱电机株式会社 Programmable logic controller, setting tool and program

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002287823A (en) * 2001-03-23 2002-10-04 Bridgestone Corp Diagnostic device
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
KR20200121919A (en) 2016-05-23 2020-10-26 미쓰비시덴키 가부시키가이샤 Programmable logic controller
CN114174939A (en) * 2019-07-26 2022-03-11 三菱电机株式会社 Programmable logic controller, setting tool and program
CN114174939B (en) * 2019-07-26 2024-01-12 三菱电机株式会社 Programmable logic controller, setting tool, and recording medium
CN113050541A (en) * 2021-03-24 2021-06-29 武汉科技大学 Numerical control machine tool energy consumption and processing state on-line monitoring system

Also Published As

Publication number Publication date
JP3852636B2 (en) 2006-12-06

Similar Documents

Publication Publication Date Title
JPH1185264A (en) State data gathering method and control unit
JP2019061299A (en) Information device, terminal device and program
JP2003280732A (en) Data transmitter and control system using the same
JP2001331465A (en) Method and device for displaying multiple processes and recording medium having display program stored therein
JPH06180676A (en) Computer system
JP2003208333A (en) Trace information searching device and method therefor
JP2725091B2 (en) Information management system for injection molding machines
JPS63228398A (en) Plant monitor
JPS61133416A (en) Sequence trace back device
JP6787161B2 (en) Network system management equipment, network system management methods, control programs, and recording media
JP2533373B2 (en) Control program creation method
JPH0553809A (en) Knowledge data referencing method for inference device
JP2001195118A (en) Operation state monitoring system and its monitoring method
JP2000003269A (en) Plant controller
JPH06314118A (en) Monitor device
JP3358113B2 (en) Program creation device for programmable controller
JP2023028945A (en) Robot control system and event history information management method, and program
JPH01307846A (en) Monitoring device for programmable controller
JPH03109617A (en) Data processor
JPS63193260A (en) Host processor monitoring system for loosely coupled multiprocessor system
JPS6347890A (en) Trend display device
JPH1021028A (en) Method and system for supporting application operation
JP2005301916A (en) Screen reference device, screen reference method, and industrial appliances connected to screen reference system
JPS6398764A (en) File recovery system for multi-computer system
JPS62105253A (en) Automatic data transfer system

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