JP2002236516A - Operation state monitor device - Google Patents

Operation state monitor device

Info

Publication number
JP2002236516A
JP2002236516A JP2001032491A JP2001032491A JP2002236516A JP 2002236516 A JP2002236516 A JP 2002236516A JP 2001032491 A JP2001032491 A JP 2001032491A JP 2001032491 A JP2001032491 A JP 2001032491A JP 2002236516 A JP2002236516 A JP 2002236516A
Authority
JP
Japan
Prior art keywords
data
time
sampling interval
acquisition
storage means
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
JP2001032491A
Other languages
Japanese (ja)
Other versions
JP4380928B2 (en
Inventor
Yasuhiro Kawada
康博 河田
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.)
DMG Mori Co Ltd
Original Assignee
Mori Seiki 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 Mori Seiki Co Ltd filed Critical Mori Seiki Co Ltd
Priority to JP2001032491A priority Critical patent/JP4380928B2/en
Publication of JP2002236516A publication Critical patent/JP2002236516A/en
Application granted granted Critical
Publication of JP4380928B2 publication Critical patent/JP4380928B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Abstract

PROBLEM TO BE SOLVED: To provide an operation state monitor device which can obtain precise information by properly setting sampling intervals. SOLUTION: This device is equipped with a sampling interval setting means 14 for setting time intervals for obtaining data from respective NC devices, a data receiving means 12 which receives data regarding the operation states of respective NC machine tools from the NC devices and measures the time needed to obtain the data each time the data are obtained, an operation data storage means 15 which stores the obtained data regarding the operation states by the NC machine tools, an acquisition time storage means 13 which stores the acquisition time measured by the data receiving means 12, and a data output means 18 which outputs the data stored in the operation data storage means 13 to the outside. The sampling interval setting means 14 is so constituted as to update the time intervals according to the past acquisition time stored in the acquistion time storage means 13.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、NC装置を備えた
複数のNC工作機械の前記各NC装置に接続し、各NC
装置からデータを取得して各NC工作機械の稼働状況を
監視する稼働状況監視装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a method for connecting a plurality of NC machine tools provided with an NC device to each of the NC devices,
The present invention relates to an operation status monitoring device that acquires data from the device and monitors the operation status of each NC machine tool.

【0002】[0002]

【従来の技術及び発明が解決しようとする課題】従来か
ら、NC装置を備えた複数のNC工作機械の各NC装置
と管理装置とをLANなどのネットワークを介して接続
し、管理装置から各NC装置に加工プログラムや加工計
画といったデータを送信したり、或いは、前記各NC装
置から稼働状況に関するデータを管理装置側で受信し
て、当該管理装置で前記各NC工作機械の稼働状況を集
中管理するといったことが行われている。
2. Description of the Related Art Conventionally, each NC device of a plurality of NC machine tools provided with an NC device and a management device are connected via a network such as a LAN, and each management device is connected to the NC device. Data such as a machining program and a machining plan is transmitted to the device, or data on the operation status is received from each of the NC devices on the management device side, and the operation status of each of the NC machine tools is centrally managed by the management device. And so on.

【0003】そして、従来、各NC装置から稼働状況に
関するデータを受信する場合、前記管理装置は、一定時
間毎にサンプリングして各NC装置から稼働状況に関す
るデータを取得するように構成されていた。
[0003] Conventionally, when data relating to the operation status is received from each NC device, the management device is configured to sample at regular time intervals and acquire data relating to the operation status from each NC device.

【0004】ところで、上述したように、通常、ネット
ワークは稼働状況に関するデータの取得に限らず、加工
プログラムや加工計画といったデータの送信などにも使
用されている。したがって、ネットワークの負荷状態
(混み具合)によっては、前記稼働状況に関するデータ
の取得に、通常より長い時間を要することがある。この
ため、従来の管理装置では、かかる通信状態を考慮し、
ネットワークが混んでいる状態でも確実にデータを取得
することができるように、前記サンプリング間隔を十分
に余裕のある時間に設定していた。
By the way, as described above, the network is usually used not only for acquiring data on the operation status but also for transmitting data such as machining programs and machining plans. Therefore, depending on the load state (congestion) of the network, it may take longer than usual to acquire the data on the operation status. For this reason, the conventional management device considers such a communication state,
The sampling interval is set to a sufficiently long time so that data can be reliably acquired even when the network is busy.

【0005】ところが、サンプリング間隔を長くする
と、確実にデータを取得することができるというメリッ
トがあるものの、反面、取得されるデータ数が少なくな
るため、精度の良い情報を得ることができないという問
題があった。
[0005] However, when the sampling interval is lengthened, there is a merit that data can be surely acquired. However, on the other hand, since the number of data to be acquired is reduced, accurate information cannot be obtained. there were.

【0006】本発明は、以上の実情に鑑みなされたもの
であって、サンプリング間隔を適宜適切に設定して、精
度の良い情報を得ることが可能な稼働状況監視装置の提
供を目的とする。
The present invention has been made in view of the above circumstances, and it is an object of the present invention to provide an operation status monitoring apparatus capable of appropriately setting a sampling interval and obtaining accurate information.

【0007】[0007]

【課題を解決するための手段及びその効果】上記課題を
解決するための本発明の請求項1に記載した発明は、N
C装置を備えた複数のNC工作機械の前記各NC装置に
接続し、前記各NC装置からデータを取得して前記各N
C工作機械の稼働状況を監視する稼働状況監視装置であ
って、前記各NC装置からデータを取得する時間間隔を
設定するサンプリング間隔設定手段と、前記サンプリン
グ間隔設定手段によって設定された時間間隔毎に、前記
各NC工作機械の稼働状況に関するデータを前記NC装
置から受信するとともに、データ取得の都度、取得に要
した時間を計測するデータ取込手段と、前記データ取込
手段によって取得された前記稼働状況に関するデータを
各NC工作機械毎に記憶する稼働データ記憶手段と、前
記データ取込手段によって計測された取得時間を記憶す
る取得時間記憶手段と、前記稼働データ記憶手段に記憶
されたデータを外部に出力するデータ出力手段とを備
え、前記サンプリング間隔設定手段が、前記取得時間記
憶手段によって記憶された過去の取得時間を基に、前記
時間間隔を更新するように構成されてなることを特徴と
する稼働状況監視装置に係る。
Means for Solving the Problems and Effects Thereof The invention described in claim 1 of the present invention for solving the above problems has the following features.
Connected to each of the plurality of NC machine tools provided with the C device, acquire data from each of the NC devices, and
C is an operation status monitoring device that monitors the operation status of the machine tool, comprising: a sampling interval setting unit that sets a time interval for acquiring data from each of the NC devices; and a time interval set by the sampling interval setting unit. Receiving data relating to the operation status of each of the NC machine tools from the NC device, and measuring the time required for acquisition each time data is acquired, and the operation acquired by the data acquisition means. Operating data storage means for storing data relating to the situation for each NC machine tool, acquisition time storage means for storing the acquisition time measured by the data acquisition means, and externally storing the data stored in the operation data storage means. And a data output unit for outputting to the sampling interval setting unit, wherein the sampling interval setting unit is stored by the acquisition time storage unit. Based on the acquisition time of the past that is, according to the operating status monitoring apparatus characterized by comprising configured to update the time intervals.

【0008】本発明に係る稼働状況監視装置によれば、
まず、サンプリング間隔設定手段によって、データを取
得する時間間隔、即ち、サンプリング間隔が設定され
る。そして、設定された時間間隔毎に、データ取込手段
により各NC装置からNC工作機械の稼働状況に関する
データが取得され、取得された稼働データが稼働データ
記憶手段に格納され、稼働データ記憶手段に格納された
稼働データは、データ出力手段によって、適宜外部に出
力される。斯くして、かかる出力データによって各NC
工作機械の稼働状況が確認される。
[0008] According to the operation status monitoring device of the present invention,
First, a time interval for acquiring data, that is, a sampling interval is set by the sampling interval setting means. Then, at every set time interval, data relating to the operation status of the NC machine tool is acquired from each NC device by the data acquisition unit, and the acquired operation data is stored in the operation data storage unit, and is stored in the operation data storage unit. The stored operation data is output to the outside as appropriate by the data output means. Thus, each NC by such output data
The operation status of the machine tool is confirmed.

【0009】そして、前記サンプリング間隔は、サンプ
リング間隔設定手段において、前記取得時間記憶手段に
記憶された過去の取得時間を基に、これに余裕を見た適
切な時間となるように再設定され、更新される。例え
ば、直近数回分の取得時間の最長時間に定数(例えば
1.2)を乗じて新たなサンプリング間隔を算出し、更
新する。したがって、直近の取得時間が長くなる傾向に
あれば、これに応じてサンプリング間隔が長くなるよう
に更新され、直近の取得時間が短くなる傾向にあれば、
これに応じてサンプリング間隔が短くなるように更新さ
れる。これにより、確実且つ最も短いサンプリング間隔
でデータを取得することができ、精度の高い情報を取得
することが可能となる。
The sampling interval is reset by the sampling interval setting means on the basis of the past acquisition time stored in the acquisition time storage means so as to be an appropriate time with a margin. Be updated. For example, a new sampling interval is calculated and updated by multiplying the longest time of the latest several acquisition times by a constant (for example, 1.2). Therefore, if the latest acquisition time tends to be longer, the sampling interval is updated accordingly to be longer, and if the latest acquisition time tends to be shorter,
Accordingly, the sampling interval is updated so as to be shorter. As a result, data can be reliably acquired at the shortest sampling interval, and highly accurate information can be acquired.

【0010】また、本発明の請求項2に記載した発明
は、上記請求項1に記載した発明における前記サンプリ
ング間隔設定手段が、前記データ取込手段におけるデー
タ取得状況を監視し、前記時間間隔内にデータの取得を
完了できなかった場合に、前記時間間隔を、現在の時間
から延長した時間に再設定するように構成された稼働状
況監視装置に係る。
According to a second aspect of the present invention, in the first aspect of the present invention, the sampling interval setting means monitors a data acquisition state in the data acquisition means, and sets a time interval within the time interval. The operation status monitoring device is configured to reset the time interval to a time extended from a current time when data acquisition cannot be completed.

【0011】上述したように、請求項1に係る発明で
は、前記サンプリング間隔は余裕を見た時間に設定され
るが、ネットワークの混み具合によっては、それでも設
定されたサンプリング間隔内に、データの取得を完了で
きない場合を生じることがあり、このようにデータを取
得することができない状態が継続すると、得られる情報
が不正確なものとなるという問題がある。本発明によれ
ば、サンプリング間隔内にデータの取得を完了できなか
った場合、設定されたサンプリング間隔が現在の時間か
ら延長された時間に再設定されるようになっている。し
たがって、不測の事態により、データの取得を完了でき
ない場合が生じても、サンプリング間隔を現在の時間か
ら延長された時間に再設定することで、即座に、データ
取得を完了可能な状態に復帰させることができる。これ
により、データを取得することができない状態が継続す
るのを防止することができ、得られる情報を正確なもの
とすることができる。尚、再設定後、サンプリング間隔
は、上述したように、過去の取得時間を基に、これが最
適なものとなるように更新される。
As described above, in the invention according to the first aspect, the sampling interval is set to a time that allows a margin, but depending on the degree of network congestion, data acquisition can still be performed within the set sampling interval. May not be completed, and if such a state in which data cannot be obtained continues, there is a problem that the obtained information becomes inaccurate. According to the present invention, when data acquisition cannot be completed within the sampling interval, the set sampling interval is reset to a time extended from the current time. Therefore, even if data acquisition cannot be completed due to an unexpected situation, the sampling interval is reset to an extended time from the current time, thereby immediately returning to a state where data acquisition can be completed. be able to. As a result, it is possible to prevent a state in which data cannot be obtained from continuing, and to obtain accurate information. After resetting, as described above, the sampling interval is updated based on the past acquisition time so that it becomes optimal.

【0012】また、本発明の請求項3に記載した発明
は、請求項1又は2記載の発明において、前記稼働デー
タ記憶手段によって記憶された稼働データを基に、各N
C工作機械の稼働状態についてその累計時間を算出する
累計時間算出手段と、前記累計時間算出手段によって算
出された累計時間データを記憶する累計時間記憶手段と
を更に備え、データ出力手段が、前記累計時間記憶手段
に記憶された累計時間データ、又は該累計時間データ及
び前記稼働データ記憶手段に記憶されたデータを外部に
出力するように構成された稼働状況監視装置に係る。
According to a third aspect of the present invention, in accordance with the first or second aspect of the present invention, each N is determined based on the operation data stored by the operation data storage means.
C further comprising a cumulative time calculating means for calculating the cumulative time for the operating state of the machine tool; and a cumulative time storing means for storing the cumulative time data calculated by the cumulative time calculating means. The present invention relates to an operation status monitoring device configured to output the accumulated time data stored in the time storage means or the accumulated time data and the data stored in the operation data storage means to the outside.

【0013】この発明によれば、累計時間算出手段によ
り算出され、累計時間記憶手段に記憶された各NC工作
機械の稼働状態についての累計時間が、データ出力手段
によって外部に出力される。斯くして、かかる出力デー
タによって各NC工作機械のより詳細な稼働状況を確認
することができる。
According to the present invention, the cumulative time for the operating state of each NC machine tool calculated by the cumulative time calculating means and stored in the cumulative time storage means is output to the outside by the data output means. In this way, more detailed operation status of each NC machine tool can be confirmed from the output data.

【0014】[0014]

【発明の実施の形態】以下、本発明の具体的な実施形態
について、添付図面に基づき説明する。図1は、本発明
の一実施形態に係る稼働状況監視システムの概略構成を
示した説明図であり、図3は、本実施形態に係る稼働状
況監視装置の概略構成を示したブロック図である。ま
た、図4及び図5は、本実施形態のサンプリング間隔設
定手段における処理手順を示したフローチャートであ
る。
DESCRIPTION OF THE PREFERRED EMBODIMENTS Hereinafter, specific embodiments of the present invention will be described with reference to the accompanying drawings. FIG. 1 is an explanatory diagram illustrating a schematic configuration of an operation status monitoring system according to an embodiment of the present invention, and FIG. 3 is a block diagram illustrating a schematic configuration of an operation status monitoring device according to the embodiment. . FIGS. 4 and 5 are flowcharts showing processing procedures in the sampling interval setting means of the present embodiment.

【0015】図1に示すように、本例の稼働状況監視シ
ステム1は、稼働状況監視装置10と、NC装置を備え
た複数台のNC工作機械2と、これら稼働状況監視装置
10及びNC工作機械2を相互に接続するLANなどの
ネットワーク3から構成される。
As shown in FIG. 1, an operation status monitoring system 1 of the present embodiment comprises an operation status monitoring device 10, a plurality of NC machine tools 2 provided with an NC device, the operation status monitoring device 10 and the NC It comprises a network 3 such as a LAN for interconnecting the machines 2.

【0016】また、図3に示すように、前記稼働状況監
視装置10は、データ取込手段12,取得時間記憶手段
13,サンプリング間隔設定手段14,稼働データ記憶
手段15,累計時間算出・更新手段16,累計時間記憶
手段17及び表示処理手段18などからなる。尚、表示
処理手段18には、外部装置としてCRTなどの表示装
置20が接続されている。
As shown in FIG. 3, the operation status monitoring device 10 includes a data acquisition unit 12, an acquisition time storage unit 13, a sampling interval setting unit 14, an operation data storage unit 15, an accumulated time calculation / update unit. 16, a total time storage means 17, a display processing means 18, and the like. The display processing means 18 is connected to a display device 20 such as a CRT as an external device.

【0017】前記データ取込手段12は、前記ネットワ
ーク3を介して前記各NC工作機械のNC装置に接続さ
れており、各NC装置から、NC工作機械の稼働状況に
関するデータを取得する。取得されるデータは、例え
ば、主電源のON/OFFデータ、自動運転のON
/OFFデータ、主軸回転のON/OFFデータ、
主軸回転数及び主軸モータの負荷に関するデータ、ア
ラームのON/OFFデータ、アラーム番号及びアラ
ームメッセージに関するデータ、クーラントのON/
OFFデータなどである。尚、取得されるデータはこれ
らに限られるものではなく、例えば手動操作のON/O
FFデータなど必要に応じて追加,削減することができ
る。
The data take-in means 12 is connected to the NC devices of the respective NC machine tools via the network 3, and acquires data relating to the operation status of the NC machine tools from the respective NC devices. The acquired data includes, for example, ON / OFF data of the main power supply and ON of the automatic operation.
/ OFF data, spindle rotation ON / OFF data,
Data on spindle speed and spindle motor load, alarm ON / OFF data, alarm number and alarm message data, coolant ON / OFF
OFF data. Note that the acquired data is not limited to these, and for example, ON / O of manual operation
FF data and the like can be added or reduced as needed.

【0018】そして、データ取込手段12は、サンプリ
ング間隔設定手段14が後述の処理を行うことによって
設定したサンプリング間隔毎に、前記各NC装置にアク
セスし、マルチタスク方式によって上述した稼働データ
を取得する。また、データ取込手段12は、クロックを
内蔵しており、上記稼働データを、これを取得した時点
の時刻データと共に、前記稼働データ記憶手段15に格
納する。尚、サンプリング間隔内に全データを取得でき
なかった場合には、データ取込手段12は、取得した稼
働データを稼働データ記憶手段15には格納せず、これ
を破棄するようになっている。
The data acquisition means 12 accesses each of the NC devices at every sampling interval set by the sampling interval setting means 14 performing the processing described later, and acquires the above-mentioned operation data by a multitask method. I do. The data acquisition means 12 has a built-in clock, and stores the operation data in the operation data storage means 15 together with the time data at the time of acquiring the operation data. If all data cannot be acquired within the sampling interval, the data acquisition unit 12 does not store the acquired operation data in the operation data storage unit 15 but discards it.

【0019】前記稼働データ記憶手段15は、図示する
ように、Aファイル15a,Bファイル15b,Cファ
イル15c,Dファイル15d,Eファイル15eから
なり、例えば、Aファイル15aには主電源のON/O
FFデータが、Bファイル15bには自動運転のON/
OFFデータが、Cファイル15cには主軸に関するデ
ータ、即ち、主軸回転のON/OFFデータ,主軸回転
数及び主軸モータの負荷に関するデータが、Dファイル
15dにはアラームに関するデータ、即ち、アラームの
ON/OFFデータ,アラーム番号及びアラームメッセ
ージに関するデータが、Eファイル15eには、クーラ
ントのON/OFFデータがそれぞれNC工作機械毎に
格納される。
The operation data storage means 15 comprises an A file 15a, a B file 15b, a C file 15c, a D file 15d, and an E file 15e, as shown in FIG. O
The FF data contains ON / OFF of automatic operation in the B file 15b.
The OFF data is data relating to the spindle in the C file 15c, that is, data relating to ON / OFF data of the spindle rotation, data relating to the spindle rotation speed and the load of the spindle motor, and the D file 15d is data relating to the alarm, ie, ON / OFF of the alarm. The OFF data, the alarm number, and the data relating to the alarm message are stored in the E file 15e. The coolant ON / OFF data is stored for each NC machine tool.

【0020】また、データ取込手段12は、各NC装置
から上記稼働データを取得する都度、取得に要した時間
を計測し、計測した取得時間を前記取得時間記憶手段1
3に格納する。
The data acquisition means 12 measures the time required for acquisition each time the operation data is acquired from each NC device, and stores the measured acquisition time in the acquisition time storage means 1.
3 is stored.

【0021】前記サンプリング間隔設定手段14は、図
4及び図5に示した処理を順次実行して、データ取込手
段12で使用されるサンプリング間隔を設定する。尚、
図4は、初期段階のサンプリング間隔設定処理を示して
おり、図5は、システム稼働中のサンプリング間隔更新
処理を示している。
The sampling interval setting means 14 sequentially executes the processing shown in FIGS. 4 and 5, and sets the sampling interval used by the data acquisition means 12. still,
FIG. 4 shows a sampling interval setting process at an initial stage, and FIG. 5 shows a sampling interval updating process during operation of the system.

【0022】図4に示すように、初期段階のサンプリン
グ間隔設定処理では、まず、前記データ取得手段12に
指令を出して、各NC装置から3分間連続して上記稼働
データを取得させる(ステップS1)。尚、この稼働デ
ータの取得に際し、データ取得手段12において、逐
次、データ取得に要する時間が計測され、計測された取
得時間が取得時間記憶手段13に格納される。
As shown in FIG. 4, in the sampling interval setting process in the initial stage, first, a command is issued to the data acquisition means 12 to cause the NC devices to acquire the operation data continuously for three minutes (step S1). ). When acquiring the operation data, the data acquisition unit 12 sequentially measures the time required for data acquisition, and stores the measured acquisition time in the acquisition time storage unit 13.

【0023】次に、サンプリング間隔設定手段14は、
前記取得時間記憶手段13に格納された取得時間を検索
して、この中から最長の取得時間を読み出し、これに例
えば1.2を乗じてサンプリング間隔を算出する(ステ
ップS1)。
Next, the sampling interval setting means 14
The acquisition time stored in the acquisition time storage unit 13 is searched, the longest acquisition time is read out of the retrieval time, and a sampling interval is calculated by multiplying the longest acquisition time by, for example, 1.2 (step S1).

【0024】次に、サンプリング間隔設定手段14は、
再度、前記データ取得手段12に指令を出し、設定され
たサンプリング間隔毎に、各NC装置から上記稼働デー
タを取得させ(ステップS2)、各サンプリング時に全
稼働データが取得されたかどうかを監視する(ステップ
S3)。そして、設定されたサンプリング間隔内に全稼
働データが取得されている場合には、当該サンプリング
間隔を初期のサンプリング間隔として設定する(ステッ
プS5)。一方、全稼働データを取得できなかった場合
には、現在のサンプリング間隔を1.2倍して新たなサ
ンプリング間隔とし(ステップS4)、このサンプリン
グ間隔で再度上記ステップS2及びS3を実行して、全
稼働データを取得可能なサンプリング間隔が得られるま
で、処理を繰り返し(ステップS2,S3,S4)、得
られたサンプリング間隔を初期のサンプリング間隔とし
て設定する(ステップS5)。
Next, the sampling interval setting means 14
Again, a command is issued to the data acquisition means 12, and the operation data is acquired from each NC device at each set sampling interval (step S2), and it is monitored whether or not all the operation data has been acquired at each sampling (step S2). Step S3). Then, if all operation data has been acquired within the set sampling interval, the sampling interval is set as an initial sampling interval (step S5). On the other hand, if all the operation data cannot be obtained, the current sampling interval is multiplied by 1.2 to obtain a new sampling interval (step S4), and the above steps S2 and S3 are executed again at this sampling interval. The process is repeated until a sampling interval at which all operation data can be acquired is obtained (steps S2, S3, S4), and the obtained sampling interval is set as an initial sampling interval (step S5).

【0025】以上のようにして、システムが連続稼働す
る前の初期段階のサンプリング間隔が設定される。
As described above, the sampling interval in the initial stage before the system is continuously operated is set.

【0026】次に、図5に基づいて、システム稼働中の
サンプリング間隔更新処理について説明する。この処理
では、まず、前記取得時間記憶部13が検索され、直近
過去5回のサンプリング時の取得時間データが存在する
か否かが確認される(ステップS11)。そして、デー
タが存在する場合には、その中の最大値に1.2を乗じ
て得られた時間を次に使用されるサンプリング間隔とし
て再設定し、再設定したサンプリング間隔でもって、前
記データ取込手段12において使用されるサンプリング
間隔を更新する(ステップS12)。
Next, a description will be given of a sampling interval updating process during operation of the system with reference to FIG. In this process, first, the acquisition time storage unit 13 is searched, and it is confirmed whether or not acquisition time data at the last five samplings is present (step S11). If data exists, the time obtained by multiplying the maximum value by 1.2 is reset as the next sampling interval to be used, and the data acquisition is performed at the reset sampling interval. The sampling interval used in the input unit 12 is updated (step S12).

【0027】サンプリング間隔更新後、若しくはステッ
プS11において過去5回の取得時間データが存在しな
いと判断された場合には、次に、処理を継続するか否か
を確認した後(ステップS13)、データ取込手段12
の処理を監視し、サンプリング間隔内に全稼働データが
取得されている場合には、ステップS11,S12,S
13の処理を繰り返し、サンプリング間隔内に全稼働デ
ータを取得できなかった場合には、次ステップS15に
進む(ステップS14)。ステップS15では、再度、
処理を続行するかどうかを確認する。そして、処理を続
行する場合には、再度、データ取込手段12の処理を監
視し、サンプリング間隔内に全稼働データが取得されて
いる場合には、ステップS11以降の処理を繰り返し、
サンプリング間隔内に全稼働データを取得できなかった
場合には、次ステップS17に進む(ステップS1
6)。
After the sampling interval is updated, or when it is determined in step S11 that the past five acquisition time data does not exist, it is next determined whether or not to continue the processing (step S13). Capture means 12
Is monitored, and if all operation data has been acquired within the sampling interval, steps S11, S12, S
When the processing of step 13 is repeated and all the operation data cannot be acquired within the sampling interval, the process proceeds to the next step S15 (step S14). In step S15, again
Confirm whether to continue processing. Then, when the process is continued, the process of the data acquisition unit 12 is monitored again, and when all the operation data has been acquired within the sampling interval, the processes after step S11 are repeated.
If all operation data cannot be obtained within the sampling interval, the process proceeds to the next step S17 (step S1).
6).

【0028】ステップS17では、現在設定されている
サンプリング間隔に1.2を乗じて得られた時間を次に
使用されるサンプリング間隔として再設定し、再設定し
たサンプリング間隔でもって、前記データ取込手段12
において使用されるサンプリング間隔を更新する。そし
て、処理を続行するかどうかの確認を行った後(ステッ
プS18)、処理を続行する場合には、再度、データ取
込手段12の処理を監視し、サンプリング間隔内に全稼
働データが取得されている場合には、ステップS11以
降の処理を繰り返し、サンプリング間隔内に全稼働デー
タを取得できなかった場合には、ステップS17以降の
処理を繰り返す(ステップS19)。
In step S17, the time obtained by multiplying the currently set sampling interval by 1.2 is reset as the next sampling interval to be used, and the data acquisition is performed with the reset sampling interval. Means 12
Update the sampling interval used in. Then, after confirming whether or not to continue the process (step S18), if the process is to be continued, the process of the data acquisition unit 12 is monitored again, and all the operation data is acquired within the sampling interval. If so, the processing from step S11 is repeated, and if all the operation data cannot be obtained within the sampling interval, the processing from step S17 is repeated (step S19).

【0029】尚、前記ステップS13,S15及びS1
8において、処理の終了が確認された場合には、当該処
理が終了される。
The steps S13, S15 and S1
In step 8, when the end of the process is confirmed, the process is ended.

【0030】以上のように、システム稼働中のサンプリ
ング間隔更新処理では、過去のデータ取得時間を基に、
新たなサンプリング間隔が再設定され、設定されたサン
プリング間隔でもって、データ取込手段12において使
用されるサンプリング間隔が都度更新される。また、デ
ータ取込手段12において稼働データの取得が2回連続
して完了できなかった場合、現在のサンプリング間隔を
延長した新たなサンプリング間隔が再設定され、設定さ
れたサンプリング間隔でもって、データ取込手段12に
おいて使用されるサンプリング間隔が更新される。尚、
稼働データの取得を2回連続して完了できなかった場合
に、サンプリング間隔を更新するようにしたのは、1回
では、頻度の極めて低い事情により、データ取得ができ
なかったことも想定され、このような場合にも、サンプ
リング間隔を長くする処理を行ったのでは、本来得らる
べきデータ量が少なくなって、正確な情報を得ることが
できないからである。このようにして、更新されるサン
プリング間隔の推移を、図2に例示する。
As described above, in the sampling interval updating process during the operation of the system, based on the past data acquisition time,
A new sampling interval is reset, and the sampling interval used in the data acquisition unit 12 is updated each time with the set sampling interval. If acquisition of operation data cannot be completed twice consecutively in the data acquisition means 12, a new sampling interval that is an extension of the current sampling interval is reset, and data acquisition is performed at the set sampling interval. The sampling interval used in the embedding means 12 is updated. still,
If the acquisition of the operation data could not be completed twice consecutively, the sampling interval was updated because it was assumed that the data could not be acquired once due to extremely low frequency. Even in such a case, if the processing for increasing the sampling interval is performed, the amount of data to be originally obtained becomes small, and accurate information cannot be obtained. FIG. 2 illustrates the transition of the sampling interval updated in this manner.

【0031】前記累計時間算出・更新手段16は、前記
稼働データ記憶手段15に格納されたデータを基に、稼
働状態の累計時間を算出する処理を行う。前述したよう
に、稼働データ記憶手段15には、データを取得した時
点の時刻データが取得された稼働データと共に格納され
ている。したがって、これらのデータから稼働状態の累
計時間を算出することができる。例えば、主電源、
自動運転、主軸、アラーム及びクーラントのそれ
ぞれについて、これらがON及びOFFになっている時
間の累計が算出される。そして、算出された累計時間が
累計時間記憶手段17に格納される。また、累計時間算
出・更新手段16は、定期的若しくは不定期に前記累計
時間を算出し、前記累計時間記憶手段17に格納された
データを更新する。
The cumulative time calculating / updating means 16 performs a process of calculating the cumulative time of the operating state based on the data stored in the operating data storage means 15. As described above, the operation data storage unit 15 stores the time data at the time of acquiring the data together with the acquired operation data. Therefore, the total operating time can be calculated from these data. For example, the main power supply,
For each of the automatic operation, the spindle, the alarm, and the coolant, the total time during which they are ON and OFF is calculated. Then, the calculated cumulative time is stored in the cumulative time storage unit 17. The cumulative time calculating / updating means 16 calculates the cumulative time periodically or irregularly, and updates the data stored in the cumulative time storage means 17.

【0032】前記累計時間記憶手段17は、図示するよ
うに、A累計ファイル17a,B累計ファイル17b,
C累計ファイル17c,D累計ファイル17d,E累計
ファイル17eからなり、例えば、A累計ファイル17
aには主電源についての累計時間が、B累計ファイル1
7bには自動運転についての累計時間が、C累計ファイ
ル17cには主軸回転についての累計時間が、D累計フ
ァイル17dにはアラームについての累計時間が、E累
計ファイル17eには、クーラントについての累計時間
がそれぞれNC工作機械毎に格納される。
As shown in the figure, the total time storage means 17 stores an A total file 17a, a B total file 17b,
The file includes a C total file 17c, a D total file 17d, and an E total file 17e.
“a” indicates the total time of the main power supply and “B” total file 1
7b, the cumulative time for the automatic operation, the cumulative time for the spindle rotation in the cumulative C file 17c, the cumulative time for the alarm in the cumulative D file 17d, and the cumulative time for the coolant in the cumulative E file 17e. Are stored for each NC machine tool.

【0033】前記表示処理手段18は、前記稼働データ
記憶手段15に格納された各データ、及び前記累計時間
記憶手段17に格納された各データを基に、これに適宜
処理を加えて、前記表示装置20に表示させる処理を行
う。具体的には、例えば、図6及び図7に示した画面を
表示装置20に表示させる。図6は、主電源がONにな
っている時間(通電時間)、自動運転がONになってい
る時間(稼働時間)、主軸がONになっている時間(主
軸回転時間)、自動運転がOFFになっている時間(停
止時間)、アラームがONになっている時間(アラーム
発生時間)及びクーラントがONになっている時間(ク
ーラント吐出時間)についての累計時間をグラフ化した
ものであり、図7は、これらを表にしたものである。
The display processing means 18 appropriately processes the data stored in the operation data storage means 15 and the data stored in the cumulative time storage means 17 based on the data and stores the display data. A process for displaying on the device 20 is performed. Specifically, for example, the screens shown in FIGS. 6 and 7 are displayed on the display device 20. FIG. 6 shows the time during which the main power is ON (energization time), the time during which the automatic operation is ON (operation time), the time during which the main shaft is ON (main shaft rotation time), and the time when the automatic operation is OFF. Is a graph of the total time for the time during which the alarm is ON (stop time), the time during which the alarm is ON (alarm generation time), and the time during which the coolant is ON (coolant discharge time). 7 shows these in a table.

【0034】以上の構成を備えた本例の稼働状況監視シ
ステム1によれば、データ取込手段12により、ネット
ワーク3を介して接続された各NC装置から、NC工作
機械の稼働状況に関するデータが、サンプリング間隔設
定手段14によって設定されたサンプリング間隔毎に取
得され、取得された稼働データが稼働データ記憶手段に
記憶される。また、稼働データ記憶手段15に格納され
た稼働データを基に、累計時間算出・更新手段16によ
って、稼働状態に関する累計時間が算出され、算出され
た累計時間データが累計時間記憶手段17に格納され
る、或いは算出された累計時間データでもって累計時間
記憶手段17に格納された累計時間データが更新され
る。
According to the operation status monitoring system 1 of the present embodiment having the above-described configuration, data relating to the operation status of the NC machine tool is transmitted from each NC device connected via the network 3 by the data acquisition means 12. The operation data obtained at each sampling interval set by the sampling interval setting means 14 is stored in the operation data storage means. Further, based on the operation data stored in the operation data storage means 15, the cumulative time relating to the operating state is calculated by the cumulative time calculating / updating means 16, and the calculated cumulative time data is stored in the cumulative time storage means 17. Alternatively, the cumulative time data stored in the cumulative time storage unit 17 is updated with the calculated cumulative time data.

【0035】前記サンプリング間隔設定手段14によっ
て設定されるサンプリング間隔は、予備サンプリングを
実施することによって得られた取得時間を基に、余裕を
もった時間に初期設定され、システム稼働中には、過去
の取得時間を基に、これに余裕を見て設定された時間に
逐次更新される。更に、全稼働データを取得することが
できなかった場合には、その時点のサンプリング間隔を
延長した新たなサンプリング間隔に更新される。
The sampling interval set by the sampling interval setting means 14 is initially set to a sufficient time based on the acquisition time obtained by performing the preliminary sampling. Is sequentially updated to a time set with an allowance based on the acquisition time. Further, when all the operation data cannot be acquired, the sampling interval at that time is updated to a new sampling interval.

【0036】以上説明したように、本例の稼働状況監視
装置10によれば、データ取得手段12におけるサンプ
リング間隔が、過去のデータ取得時間を基に、これに余
裕を見た適切な時間となるように更新されるので、例え
ば、直近のデータ取得時間が長くなる傾向にあれば、こ
れに応じてサンプリング間隔が長くなるように更新さ
れ、直近のデータ取得時間が短くなる傾向にあれば、こ
れに応じてサンプリング間隔が短くなるように更新され
る。これにより、確実且つ最も短いサンプリング間隔で
データを取得することが可能となり、精度の高い情報を
取得することが可能となる。
As described above, according to the operation status monitoring apparatus 10 of the present embodiment, the sampling interval in the data acquisition means 12 is an appropriate time based on the past data acquisition time with a margin. Therefore, for example, if the latest data acquisition time tends to be longer, if the latest data acquisition time tends to be shorter, the sampling interval is updated accordingly. Is updated so as to shorten the sampling interval in accordance with. As a result, data can be acquired reliably and at the shortest sampling interval, and highly accurate information can be acquired.

【0037】また、サンプリング間隔設定手段14が、
データ取込手段12におけるデータ取得状況を監視し、
設定されたサンプリング間隔内に全データを取得できな
かった場合に、サンプリング間隔を、現在の時間から延
長した時間に再設定するように構成されているので、不
測の事態により、データの取得を完了できない場合が生
じても、サンプリング間隔を現在の時間から延長された
時間に再設定することで、即座に、データ取得を完了可
能な状態に復帰させることができる。これにより、デー
タを取得することができない状態が継続するのを防止す
ることができ、得られる情報を正確なものとすることが
できる。尚、再設定後、サンプリング間隔は、上述した
ように、過去のデータ取得時間を基に、これが最適なも
のとなるように更新される。
Further, the sampling interval setting means 14
Monitoring the data acquisition status in the data acquisition means 12,
If all data cannot be acquired within the set sampling interval, the sampling interval is reset to an extended time from the current time, so data acquisition is completed due to an unexpected situation Even if an impossible case occurs, by resetting the sampling interval to a time extended from the current time, it is possible to immediately return to a state where data acquisition can be completed. As a result, it is possible to prevent a state in which data cannot be obtained from continuing, and to obtain accurate information. After resetting, as described above, the sampling interval is updated based on the past data acquisition time so that it becomes optimal.

【0038】以上、本発明の一実施形態について説明し
たが、本発明が採り得る具体的な態様は、何らこれに限
定されるものではない。
As described above, one embodiment of the present invention has been described. However, specific embodiments that the present invention can take are not limited to this.

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

【図1】本発明の一実施形態に係る稼働状況監視システ
ムの概略構成を示した説明図である。
FIG. 1 is an explanatory diagram showing a schematic configuration of an operation status monitoring system according to an embodiment of the present invention.

【図2】本実施形態のサンプリング間隔設定手段によっ
て更新されるサンプリング間隔の推移を例示したグラフ
である。
FIG. 2 is a graph illustrating a transition of a sampling interval updated by a sampling interval setting unit of the embodiment.

【図3】本実施形態に係る稼働状況監視装置の概略構成
を示したブロック図である。
FIG. 3 is a block diagram illustrating a schematic configuration of an operation status monitoring device according to the embodiment.

【図4】本実施形態のサンプリング間隔設定手段におけ
る処理手順を示したフローチャートである。
FIG. 4 is a flowchart showing a processing procedure in a sampling interval setting unit of the embodiment.

【図5】本実施形態のサンプリング間隔設定手段におけ
る処理手順を示したフローチャートである。
FIG. 5 is a flowchart showing a processing procedure in a sampling interval setting unit of the embodiment.

【図6】本実施形態の表示処理手段及び表示装置におけ
る表示例を示した説明図である。
FIG. 6 is an explanatory diagram showing a display example on a display processing unit and a display device according to the embodiment.

【図7】本実施形態の表示処理手段及び表示装置におけ
る表示例を示した説明図である。
FIG. 7 is an explanatory diagram illustrating a display example on a display processing unit and a display device according to the present embodiment.

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

1 稼働状況監視システム 2 NC工作機械 3 ネットワーク 10 稼働状況監視装置 12 データ取込手段 13 取得時間記憶手段 14 サンプリング間隔設定手段 15 稼働データ記憶手段 16 累計時間算出・更新手段 17 累計時間記憶手段 18 表示処理手段 20 表示装置 REFERENCE SIGNS LIST 1 operation status monitoring system 2 NC machine tool 3 network 10 operation status monitoring device 12 data acquisition unit 13 acquisition time storage unit 14 sampling interval setting unit 15 operation data storage unit 16 cumulative time calculation / update unit 17 cumulative time storage unit 18 display Processing means 20 Display device

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 NC装置を備えた複数のNC工作機械の
前記各NC装置に接続し、前記各NC装置からデータを
取得して前記各NC工作機械の稼働状況を監視する稼働
状況監視装置であって、 前記各NC装置からデータを取得する時間間隔を設定す
るサンプリング間隔設定手段と、 前記サンプリング間隔設定手段によって設定された時間
間隔毎に、前記各NC工作機械の稼働状況に関するデー
タを前記NC装置から受信するとともに、データ取得の
都度、取得に要した時間を計測するデータ取込手段と、 前記データ取込手段によって取得された前記稼働状況に
関するデータを各NC工作機械毎に記憶する稼働データ
記憶手段と、 前記データ取込手段によって計測された取得時間を記憶
する取得時間記憶手段と、 前記稼働データ記憶手段に記憶されたデータを外部に出
力するデータ出力手段とを備え、 前記サンプリング間隔設定手段が、前記取得時間記憶手
段によって記憶された過去の取得時間を基に、前記時間
間隔を更新するように構成されてなることを特徴とする
稼働状況監視装置。
1. An operation status monitoring device which is connected to each NC device of a plurality of NC machine tools having an NC device, acquires data from each NC device, and monitors the operation status of each NC machine tool. Sampling interval setting means for setting a time interval for acquiring data from each of the NC devices; and for each of the time intervals set by the sampling interval setting means, data relating to the operating status of each of the NC machine tools is transmitted to the NC. Data receiving means for receiving the data from the device and measuring the time required for data acquisition each time data is acquired, and operating data for storing the data on the operating status acquired by the data acquiring means for each NC machine tool Storage means; acquisition time storage means for storing the acquisition time measured by the data acquisition means; Data output means for outputting the obtained data to the outside, wherein the sampling interval setting means is configured to update the time interval based on a past acquisition time stored by the acquisition time storage means. An operation status monitoring device characterized in that:
【請求項2】 前記サンプリング間隔設定手段が、前記
データ取込手段におけるデータ取得状況を監視し、前記
時間間隔内にデータの取得を完了できなかった場合に、
前記時間間隔を、現在の時間から延長した時間に再設定
するように構成されてなる請求項1記載の稼働状況監視
装置。
2. The method according to claim 1, wherein the sampling interval setting unit monitors a data acquisition status in the data acquisition unit, and when the data acquisition cannot be completed within the time interval,
The operation status monitoring device according to claim 1, wherein the time interval is reset to a time extended from a current time.
【請求項3】 前記稼働データ記憶手段によって記憶さ
れた稼働データを基に、各NC工作機械の稼働状態につ
いてその累計時間を算出する累計時間算出手段と、 前記累計時間算出手段によって算出された累計時間デー
タを記憶する累計時間記憶手段とを更に備え、 データ出力手段が、前記累計時間記憶手段に記憶された
累計時間データ、又は該累計時間データ及び前記稼働デ
ータ記憶手段に記憶されたデータを外部に出力するよう
に構成されてなる請求項1又は2記載の稼働状況監視装
置。
3. A cumulative time calculating means for calculating a cumulative time of an operating state of each NC machine tool based on the operating data stored by the operating data storing means, and a cumulative time calculated by the cumulative time calculating means. A cumulative time storage means for storing time data, wherein the data output means externally outputs the cumulative time data stored in the cumulative time storage means or the cumulative time data and the data stored in the operation data storage means. The operation status monitoring device according to claim 1, wherein the operation status monitoring device is configured to output the operation status to a device.
JP2001032491A 2001-02-08 2001-02-08 Operation status monitoring device Expired - Lifetime JP4380928B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2001032491A JP4380928B2 (en) 2001-02-08 2001-02-08 Operation status monitoring device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2001032491A JP4380928B2 (en) 2001-02-08 2001-02-08 Operation status monitoring device

Publications (2)

Publication Number Publication Date
JP2002236516A true JP2002236516A (en) 2002-08-23
JP4380928B2 JP4380928B2 (en) 2009-12-09

Family

ID=18896414

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2001032491A Expired - Lifetime JP4380928B2 (en) 2001-02-08 2001-02-08 Operation status monitoring device

Country Status (1)

Country Link
JP (1) JP4380928B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP7359090B2 (en) 2020-07-14 2023-10-11 東芝三菱電機産業システム株式会社 Plant alarm information management system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP7359090B2 (en) 2020-07-14 2023-10-11 東芝三菱電機産業システム株式会社 Plant alarm information management system

Also Published As

Publication number Publication date
JP4380928B2 (en) 2009-12-09

Similar Documents

Publication Publication Date Title
US9984244B2 (en) Controller, information processing apparatus, and recording medium
CN114545848B (en) Servo motor endurance test process monitoring method and device and computer equipment
CN111092865A (en) Security event analysis method and system
US20030009508A1 (en) Method and system for providing processor task scheduling
JP4380928B2 (en) Operation status monitoring device
KR20170136993A (en) Facility management device
CN106059794A (en) Monitoring method and monitoring apparatus
JP4464655B2 (en) Computer monitoring apparatus and message processing method related to monitored computer
JP2002082707A (en) Centralized control system for numerical controller
CN111708670B (en) Method and device for determining task time parameters in real-time operation system and vehicle
EP3786750B1 (en) Data collection system, data collection method, and program
CN111586087B (en) Communication system, communication method, and program
JP2023002084A (en) Work managing system
JP2004185077A (en) Data management device
CN112987658A (en) Production system, repair system, production method, and information storage medium
US6992644B1 (en) Peripheral device of a programmable controller and monitoring method of the peripheral device
CN113486077B (en) Method for processing spacecraft power system test data by using real-time database
JP7442751B1 (en) Control program, supervisory control system, gateway device and control method
JPH0697021A (en) Controlling system for manufacture of semiconductor
CN111880440B (en) Serial link data acquisition method and system
JP2872841B2 (en) Semiconductor process support equipment
JP2550580B2 (en) Programmable controller failure diagnosis device
JPH05167580A (en) Network control device
JP2944651B1 (en) Store point management system
CN112289429A (en) Central monitoring station, monitoring system, data reviewing method and device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20070921

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20090902

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: 20090907

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20090915

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

Free format text: PAYMENT UNTIL: 20121002

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150