JP2008269489A - Data acquisition system and data acquisition device - Google Patents
Data acquisition system and data acquisition device Download PDFInfo
- Publication number
- JP2008269489A JP2008269489A JP2007114476A JP2007114476A JP2008269489A JP 2008269489 A JP2008269489 A JP 2008269489A JP 2007114476 A JP2007114476 A JP 2007114476A JP 2007114476 A JP2007114476 A JP 2007114476A JP 2008269489 A JP2008269489 A JP 2008269489A
- Authority
- JP
- Japan
- Prior art keywords
- data
- data acquisition
- unit
- computer
- temporary storage
- 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.)
- Withdrawn
Links
Images
Landscapes
- Testing And Monitoring For Control Systems (AREA)
- Programmable Controllers (AREA)
Abstract
【課題】データの収集漏れが防止され、安定したデータ収集が可能なデータ取得システムおよびデータ取得装置を得ることを目的とする。
【解決手段】データを取得する対象であるデータ取得対象機器と、前記データ取得対象機器にアクセスして該データ取得対象機器内のデータを一定周期毎に取得するデータ取得手段、前記データ取得手段が取得するデータを一定量に達するまで蓄積するデータ一時保持手段、および前記データ一時保持手段が蓄積したデータを外部に一括して送信する送信手段を有するデータ取得装置と、前記データ取得装置からデータが送信される端末装置と、を備える。
【選択図】 図2An object of the present invention is to provide a data acquisition system and a data acquisition apparatus capable of preventing data collection omission and enabling stable data collection.
A data acquisition target device that is a data acquisition target, a data acquisition unit that accesses the data acquisition target device and acquires data in the data acquisition target device at regular intervals, and the data acquisition unit. A data acquisition device having data temporary storage means for storing data to be acquired until reaching a certain amount; and a transmission means for collectively transmitting data stored by the data temporary storage means to the outside; and data from the data acquisition device A terminal device to be transmitted.
[Selection] Figure 2
Description
本発明は、データ取得システムおよびデータ取得装置に関するものであり、特に、工場の製造設備、およびその他の産業用設備等のデータ収集に使用されるデータ取得システムおよびデータ取得装置に関するものである。 The present invention relates to a data acquisition system and a data acquisition device, and more particularly to a data acquisition system and a data acquisition device used for data collection of factory manufacturing equipment and other industrial equipment.
従来、FA(Factory Automation)システムにおいては、シーケンサなどのFA機器におけるデータを取得して利用するための形態として、データ通信用のネットワークユニットがFA機器上に搭載または付属され、該ネットワークユニットが通信ネットワークを介して端末装置と接続している構成がある。端末装置は、FA機器上のデータを収集するデータ収集手段とDBMS(Data Base Management System)とデータ記憶部とを備える。そして、DBMSを介してネットワークユニットから収集したデータは、データ記憶部に保存される。 Conventionally, in an FA (Factory Automation) system, a network unit for data communication is mounted on or attached to an FA device as a form for acquiring and using data in an FA device such as a sequencer. There is a configuration in which a terminal device is connected via a network. The terminal device includes data collection means for collecting data on the FA device, a DBMS (Data Base Management System), and a data storage unit. Data collected from the network unit via the DBMS is stored in the data storage unit.
データ記憶部は、DBMSから利用可能なデータフォーマットで構成されており、表、グラフ、SCADA(Supervisory Control And Data Acquisition System)などのパソコン上のアプリケーションから利用することができる。データ収集手段は、FA機器に対するデータ収集用の命令を発行可能であり、FA機器のベンダーから命令が開示されるか、OPC(OLE for Process Control)などの通信ミドルウェアを利用することが一般的である。 The data storage unit has a data format that can be used from the DBMS, and can be used from applications on a personal computer such as tables, graphs, and SCADA (Supervisory Control And Data Acquisition System). The data collection means can issue a data collection command for the FA device, and the command is disclosed from the vendor of the FA device, or communication middleware such as OPC (OLE for Process Control) is generally used. is there.
また、他の構成として、FA機器上のデータを収集するデータ収集手段がFA機器上に搭載または付属され、該データ収集手段が通信ネットワークを介して端末装置と接続している構成がある。端末装置は、DBMSとデータ記憶部とDBアクセス手段とを備える。FA機器のデータ収集手段は、データ収集機能と合わせてデータ通信用のネットワーク機能を具備しているが、DBMSへのアクセス手段を持っていないため、端末装置のDBアクセス手段を介してDBMSに接続する。DBアクセス手段は、FA機器上のデータ収集手段がFA機器から収集したデータをDBMSを介してデータ記憶部に保存する。 As another configuration, there is a configuration in which data collection means for collecting data on the FA device is mounted on or attached to the FA device, and the data collection means is connected to the terminal device via a communication network. The terminal device includes a DBMS, a data storage unit, and DB access means. The data collection means of the FA device has a network function for data communication in addition to the data collection function, but since it does not have access means to the DBMS, it is connected to the DBMS via the DB access means of the terminal device. To do. The DB access unit stores data collected from the FA device by the data collection unit on the FA device in the data storage unit via the DBMS.
データ記憶部は、DBMSから利用可能なデータフォーマットで構成されており、表、グラフ、SCADAなどのパソコン上のアプリケーションから利用することができる。 The data storage unit has a data format that can be used from the DBMS, and can be used from applications on a personal computer such as tables, graphs, and SCADA.
また、この他にも、産業機器用インターフェース装置にDBMSモジュールを内蔵して産業機器におけるデータを取得して利用することが行われている(たとえば、特許文献1参照)。 In addition to this, a DBMS module is built in an interface device for industrial equipment to acquire and use data in the industrial equipment (see, for example, Patent Document 1).
ところで、上記従来の技術によれば、端末装置内のアプリケーションがFA機器上のデータを利用する場合、端末装置内のDBMSを介してデータ記憶部からデータの読み出しを行っていた。また、端末装置内のデータ記憶部へのデータの蓄積は、以下の方法で行われることが一般的であった。 By the way, according to the conventional technique, when an application in the terminal device uses data on the FA device, data is read from the data storage unit via the DBMS in the terminal device. Further, data is generally stored in the data storage unit in the terminal device by the following method.
端末装置内にデータ収集手段が存在する場合は、端末装置内のデータ収集手段がFA機器上のデータを収集し、端末装置内のDBMSによりデータをデータ記憶部へ格納する。また、FA機器上にデータ収集手段が存在する場合は、FA機器上のデータ収集手段がFA機器上のデータを収集し、端末装置内のDBMSによりデータをデータ記憶部へ格納する。 When the data collection means exists in the terminal device, the data collection means in the terminal device collects data on the FA device and stores the data in the data storage unit by the DBMS in the terminal device. If data collection means exists on the FA device, the data collection means on the FA device collects data on the FA device and stores the data in the data storage unit by the DBMS in the terminal device.
しかしながら、上述した方法では、収集したFA機器上のデータが端末装置に送信されるが、データが収集されて送信されてくる処理速度と、そのデータを端末装置内において処理する処理速度が異なっていた。すなわち、端末装置における処理速度の方が遅く、収集したデータを全て処理することができないため、データ収集にリアルタイム性が無く、データの収集時に収集漏れが発生する、という問題があった。 However, in the method described above, the collected data on the FA device is transmitted to the terminal device, but the processing speed at which the data is collected and transmitted is different from the processing speed at which the data is processed in the terminal device. It was. That is, since the processing speed of the terminal device is slower and it is not possible to process all the collected data, there is a problem that there is no real-time data collection, and a collection omission occurs during data collection.
本発明は、上記に鑑みてなされたものであって、データの収集漏れが防止され、安定したデータ収集が可能なデータ取得システムおよびデータ取得装置を得ることを目的とする。 The present invention has been made in view of the above, and an object of the present invention is to provide a data acquisition system and a data acquisition apparatus that can prevent data collection from being omitted and can stably collect data.
上述した課題を解決し、目的を達成するために、本発明にかかるデータ取得システムは、データを取得する対象であるデータ取得対象機器と、データ取得対象機器にアクセスして該データ取得対象機器内のデータを一定周期毎に取得するデータ取得手段、データ取得手段が取得するデータを一定量に達するまで蓄積するデータ一時保持手段、およびデータ一時保持手段が蓄積したデータを外部に一括して送信する送信手段を有するデータ取得装置と、データ取得装置からデータが送信される端末装置と、を備えることを特徴とする。 In order to solve the above-described problems and achieve the object, a data acquisition system according to the present invention includes a data acquisition target device that is a data acquisition target, and a data acquisition target device that accesses the data acquisition target device. Data acquisition means for acquiring the data at regular intervals, data temporary storage means for storing the data acquired by the data acquisition means until a predetermined amount is reached, and data stored by the data temporary storage means are collectively transmitted to the outside A data acquisition device having a transmission unit and a terminal device to which data is transmitted from the data acquisition device are provided.
この発明によれば、データ取得手段がデータ取得対象機器にアクセスして該データ取得対象機器内のデータを一定周期毎に取得し、その取得するデータが一定量に達するまでデータ一時保持手段が蓄積した後、蓄積したデータを外部に一括して送信する。これにより、データ取得対象機器から取得されたデータを常時漏れなく取得することができ、安定したデータ収集を行うことができる、という効果を奏する。 According to this invention, the data acquisition unit accesses the data acquisition target device, acquires the data in the data acquisition target device at regular intervals, and the data temporary storage unit accumulates until the acquired data reaches a predetermined amount. After that, the accumulated data is sent to the outside collectively. Thereby, there is an effect that the data acquired from the data acquisition target device can be always acquired without omission and stable data collection can be performed.
以下に、本発明にかかるデータ取得システムおよびデータ取得装置の実施の形態を図面に基づいて詳細に説明する。なお、本発明は以下の記述に限定されるものではなく、本発明の要旨を逸脱しない範囲において適宜変更可能である。 Embodiments of a data acquisition system and a data acquisition apparatus according to the present invention will be described below in detail with reference to the drawings. In addition, this invention is not limited to the following description, In the range which does not deviate from the summary of this invention, it can change suitably.
実施の形態1.
図1は、本発明の実施の形態1にかかるデータ取得システムの構成を示す図である。このデータ取得システムは、FAシステムの一部において構成されている。FA機器用データ取得ユニット101は、本発明を適用したデータ取得装置であり、FA機器102に接続されている。FA機器102は、データ取得システムにおいて、データを取得する対象となるデータ取得対象機器である。このFA機器102は、FAシステムにおいて加工機械等の制御を行うコントローラであり、たとえばシーケンサなどの制御機器である。FA機器用データ取得ユニット101は、通信ネットワーク103を介して計算機104に接続されている。これによりFA機器用データ取得ユニット101は、計算機104と双方向通信を行うことができる。
Embodiment 1 FIG.
FIG. 1 is a diagram showing a configuration of a data acquisition system according to the first exemplary embodiment of the present invention. This data acquisition system is configured as part of the FA system. The FA device
計算機104は、データ取得システムにおいて、FA機器用データ取得ユニット101で取得されたデータが送信される端末装置であり、ユーザがFA機器におけるデータを利用するための端末装置である。この計算機104としては、例えばパソコンなどが用いられる。計算機104は、たとえば演算を行うCPU、ROM(Read Only Memory)などの不揮発性メモリ、RAM(Random Access Memory)などの揮発性メモリ、表示装置に表示する表示画面を記憶する表示用メモリ、フラッシュメモリなどの着脱可能な外部メモリとのインターフェースである外部メモリインターフェース、PLC(Programmable Logic Controller)や情報処理端末との間で通信を行う通信インターフェースなどがバスを介して接続された構成を有する。また、計算機104には、ユーザが計算機104上においてデータの処理を行うための各種アプリケーション105がソフトウエアとして実装されており、例えば、表ソフトやグラフソフト、SCADAなどのアプリケーションソフトが実装されている。また、計算機104には図示しないCRT(Cathode Ray Tube)やLCD(Liquid Crystal Display)などの表示装置、タッチパネルやボタンなどの入力装置が接続されている。
The
図2は、FA機器用データ取得ユニット101およびFA機器102の主要構成およびこれらの通信方法を説明するための図である。本実施の形態にかかるFA機器用データ取得ユニット101は、データ取得部201と、データ一時保持部202と、データ送信部203と、を備える。また、FA機器用データ取得ユニット101とFA機器102とはバス401により接続されている。
FIG. 2 is a diagram for explaining the main configuration of the FA device
データ取得部201は、FA機器102の制御部であるCPUユニット301の有するデバイスメモリ格納エリア302からFA機器102上のデータを収集するデータ収集手段である。データ取得部201は、FA機器102の制御部であるCPUユニット301のシーケンススキャンごとにCPUユニット301の有するデバイスメモリ格納エリア302と交信を行い、FA機器102上のリアルタイムなデータを収集することで、FA機器102上のリアルタイムなデータを漏れなく収集する。
The
データ一時保持部202は、データ取得部201が取得したFA機器102のデータを一時的に保持するデータ保持手段である。このデータ一時保持部202は、データ取得部201が取得したFA機器102のデータがデータを計算機104に送信されないように、一定量だけ一時的に保持するバッファ機能を有する。そして、データ一時保持部202は、保持するデータ量が一容量に達した時点で、保持しているデータを一括してデータ送信部203に送信する。このようなデータ一時保持部202としては、たとえばリングバッファ状の構造を有してデータが一定時間保持されるメモリ(リングデバイス)を用いることができる。ここでは、データ一時保持部202としてリングデバイスを用いる場合について説明する。
The data
データ送信部203は、データ一時保持部202から送信されたデータを計算機104に送信するデータ送信手段である。データ送信部203は、データ一時保持部202から送信された一定量のデータを一括して計算機104に送信する。
The
次に、本実施の形態にかかるデータ取得システムにおいて、FA機器用データ取得ユニット101がFA機器102上のデータを収集して計算機104に送信する動作について、図3を参照して説明する。図3は、本実施の形態にかかるデータ取得システムにおいて、FA機器用データ取得ユニット101がFA機器102上のデータを収集して計算機104に送信する処理の流れを説明するためのフローチャートである。
Next, in the data acquisition system according to the present embodiment, an operation in which the FA device
FA機器102が稼働を開始すると、FA機器用データ取得ユニット101のデータ取得部201はFA機器102のCPUユニット301にアクセスする。そして、FA機器用データ取得ユニット101のデータ取得部201は、FA機器102のCPUユニット301が該CPUユニット301内で動作しているプログラムの1スキャンを完了するエンドリフレッシュ時に、CPUユニット301から所定のデータを収集する。ここで、CPUユニット301の有するデバイスメモリ格納エリア302からデータ取得部201が取得するデータは、データ取得部201の設定を変更することにより自由に変更可能である。
When the
そして、データ取得部201は、FA機器102のCPUユニット301のスキャン周期毎にCPUユニット301のデバイスメモリ格納エリア302から所定のデータを収集する(ステップS101)。収集したデータは、FA機器102上のバスを利用して更新する。これにより、データ取得部201は高速にデータを取得することが可能である。データ取得部201は、デバイスメモリ格納エリア302から取得したデータを、データ一時保持部202に送信する(ステップS102)。
The
データ一時保持部202は、データ取得部201から送信されたデータを受信して保持する(ステップS103)。データ一時保持部202はリングバッファの構造を有するため、直ぐに計算機104に送信されることはなく、データは一定時間保持される。データ一時保持部202がリングバッファの形態でデータを蓄積することで、常にデータがデータ一時保持部202に保持される。
The temporary
データ一時保持部202は、データ一時保持部202に保持されたデータがリングバッファの容量に達した時点で、保持しているデータを一括して送信する。すなわち、データ一時保持部202は、データ取得部201から送信されるデータを保持する度に、自データ一時保持部202に保持するデータの量が満量であるか否かを判断する(ステップS104)。
The data
自データ一時保持部202に保持するデータの量が満量でないと判断した場合には(ステップS104否定)、データ一時保持部202はデータ取得部201から送信されるデータの保持を継続し、次回のデータ取得部201から送信されるデータも保持する。一方、自データ一時保持部202に保持するデータの量が満量であると判断した場合には(ステップS104肯定)、データ一時保持部202は、保持したデータを一括して送信する(ステップS105)。
If it is determined that the amount of data held in the own data
データ送信部203では、データ一時保持部202から送信されたデータを受信すると、データ送信先である計算機104に該データを送信する(ステップS106)。計算機104は、FA機器用データ取得ユニット101から送信されたデータを受信することにより、該データを所望のアプリケーションでの処理に用いることができる。
When the
上述したように、本実施の形態にかかるFA機器用データ取得ユニット101は、データ取得部201が、FA機器102のCPUユニット301のスキャン周期毎にFA機器102のCPUユニット301の有するデバイスメモリ格納エリア302から所定のデータを収集し、データ一時保持部202に一定時間だけ保持する。そして、データ一時保持部202に保持されたデータがリングバッファの容量に達した時点で、保持しているデータを、データ送信部203を介して計算機104に一括して送信する。これにより、計算機104では、FA機器102から取得されたFA機器102のリアルタイムデータを、常時、漏れなく取得することができる。
As described above, in the FA device
そして、本実施の形態にかかるFA機器用データ取得ユニット101では、FA機器102から取得したデータをデータ一時保持部202に一定時間だけ保持することにより、計算機104におけるデータの処理速度がFA機器用データ取得ユニット101でのデータの収集速度(FA機器102のCPUユニット301のスキャン速度)よりも遅い場合においても、FA機器102のリアルタイムデータを、常時、漏れなく取得することができる。
In the FA device
実施の形態2.
上述した実施の形態1においては、FA機器用データ取得ユニット101が取得したデータを計算機104に対して一方的にデータを送信する場合について説明したが、実施の形態2では、計算機104からFA機器用データ取得ユニット101に対してデータ取得の要求を行い、FA機器用データ取得ユニット101が該要求に従ってデータを取得、送信する場合について説明する。
Embodiment 2. FIG.
In the first embodiment described above, the case has been described in which the data acquired by the FA device
図4は、実施の形態2にかかるデータ取得システムにおけるFA機器用データ取得ユニット101aおよびFA機器102の主要構成およびこれらの通信方法を説明するための図である。なお、本実施の形態にかかるFA機器用データ取得ユニット101aを用いたデータ取得システムの構成は図1と同様であるため、詳細な説明は省略する。また、FA機器用データ取得ユニット101と同じ構成についても、上述した実施の形態1を参照することとしてここでは詳細な説明は省略する。
FIG. 4 is a diagram for explaining main configurations of the FA device
また、実施の形態2においては、実施の形態1において説明したデータ取得部201による、FA機器102の制御部であるCPUユニット301のシーケンススキャン毎のリアルタイムなデータの取得処理は停止している。
Further, in the second embodiment, the real-time data acquisition process for each sequence scan of the
実施の形態2にかかるFA機器用データ取得ユニット101aは、データ取得部201と、データ一時保持部202と、データ送信部203と、データアクセス管理部204と、SQL解析部205と、DBMS206と、データ保持部207と、を備える。また、FA機器用データ取得ユニット101aとFA機器102とは、バス401aにより接続されている。
The FA device
データアクセス管理部204は、計算機104がFA機器用データ取得ユニット101にアクセスする場合に、FA機器用データ取得ユニット101へのアクセス権限の有無を管理する。データアクセス管理部204を備えることにより、不特定多数の周辺機器がFA機器用データ取得ユニット101へアクセスすることを防ぐことができる。また、データアクセス管理部204は、DBMS206が取得したデータを計算機104に送信する要求データ送信部としての機能も兼ねている。なお、この要求データ送信部をデータアクセス管理部204とは別個に設けても良い。
When the
SQL解析部205は、データアクセス管理部204でアクセス権限が認められた計算機104がFA機器用データ取得ユニット101に送信した、SQL文により記述されたデータ取得要求情報を解析する。これは、計算機104から送信されたデータ取得要求情報のSQL文の文法をチェックし、誤ったSQL文がDBMS206に送信されることを防ぐためである。SQL解析部205は、データ取得要求情報のSQL文の文法をチェックして、SQL文の文法が正しい場合には該SQL文をDBMS206が理解可能な命令コマンドに変換する。そして、DBMS206が理解可能な命令コマンドに変換したデータ取得要求情報をDBMS206に送信する。また、SQL文の文法が間違っている場合には、その後の処理を行わない。
The
DBMS206は、データ取得要求情報に基づいて、要求されたデータの取得を制御する要求データ取得制御手段である。本実施の形態の場合、DBMS206は、SQL解析部205から受信したSQL文(データ取得要求情報)に基づいて、要求されたデータの取得を制御するデータベース管理システムである。DBMS206におけるデータの取得方法は、2通りある。一つ目の方法は、データ一時保持部202からリアルタイムなデータを取得する方法である。二つ目の方法は、データ保持部207に蓄積されたデータを取得する方法である。なお、本発明における要求データ取得制御手段は、DBMS206に限定されるものではない。
The DBMS 206 is request data acquisition control means for controlling acquisition of requested data based on the data acquisition request information. In the present embodiment, the DBMS 206 is a database management system that controls acquisition of requested data based on an SQL sentence (data acquisition request information) received from the
データ保持部207は、FA機器102のCPUユニット301が有するデバイスメモリ格納エリア302からデータ取得部201が取得したデータを蓄積するデータ保持手段である。データ保持部207を備えることにより、データ一時保持部202がリングバッファ形式で常にリアルタイムデータを保持する機能に加え、取得したデータおよびその履歴をFA機器用データ取得ユニット101a内に蓄積することが可能となる。
The
次に、本実施の形態にかかるデータ取得システムにおいて、FA機器用データ取得ユニット101aがFA機器102上のデータを収集して計算機104に送信する動作について、図5−1および図5−2を参照して説明する。図5−1および図5−2は、本実施の形態にかかるデータ取得システムで、計算機104のアプリケーションがSQL文で記述されたデータ取得要求情報によりFA機器用データ取得ユニット101aにデータ取得の問い合わせ要求を行った場合における処理の流れを説明するためのフローチャートである。
Next, in the data acquisition system according to the present embodiment, the operation of the FA device
まず、計算機104上のアプリケーションがFA機器用データ取得ユニット101aにアクセスし、必要なデータを取得するためのSQL文で記述したデータ取得要求情報を生成してFA機器用データ取得ユニット101aに送信する(ステップS201)。計算機104がFA機器用データ取得ユニット101aにアクセスすると、FA機器用データ取得ユニット101aではデータアクセス管理部204が、計算機104のFA機器用データ取得ユニット101へのアクセス権限があるか否かを判断する(ステップS202)。
First, an application on the
アクセス権限がないと判断した場合は(ステップS202否定)、データアクセス管理部204は、計算機104のFA機器用データ取得ユニット101へのアクセスを拒否し、エラーメッセージを計算機104上に送信して(ステップS218)、処理を終了する。一方、アクセス権限があると判断した場合は(ステップS202肯定)、データアクセス管理部204はデータ取得要求情報をSQL解析部205に送信する。
If it is determined that there is no access authority (No at Step S202), the data
SQL解析部205は、データアクセス管理部204から送信された、SQL文で記述されたデータ取得要求情報を受信して解析する(ステップS203)。そして、SQL解析部205は、データ取得要求情報のSQL文の文法が正しいか否かをチェックする(ステップS204)。ここで、SQL文の文法が間違っている場合には(ステップS204否定)、エラーメッセージを計算機104上に送信して(ステップS218)、処理を終了する。
The
また、SQL文の文法が正しい場合には(ステップS204肯定)、SQL解析部205は該SQL文をDBMS206が理解可能な命令コマンドに変換する。そして、SQL解析部205は、DBMS206が理解可能な命令コマンドに変換したデータ取得要求情報をDBMS206に送信する。
When the grammar of the SQL sentence is correct (Yes at step S204), the
DBMS206は、自DBMS206が理解可能な命令コマンドに変換したデータ取得要求情報を受信すると、データの取得要求の内容を確認し、取得要求されているデータがリアルタイムなデータであるか否かを判断する(ステップS205)。取得要求されているデータがリアルタイムなデータである場合には(ステップS205肯定)、DBMS206はデータ一時保持部202に対してリアルタイムなデータの取得を指示するリアルタイムデータ取得指示情報を発行する(ステップS206)。
When the DBMS 206 receives the data acquisition request information converted into an instruction command understandable by the DBMS 206, the DBMS 206 confirms the content of the data acquisition request and determines whether or not the data requested for acquisition is real-time data. (Step S205). When the data requested to be acquired is real-time data (Yes at Step S205), the DBMS 206 issues real-time data acquisition instruction information that instructs the temporary
データ一時保持部202は、リアルタイムデータ取得指示情報を受信すると、データ取得部201にリアルタイムデータ取得指示情報を送信する(ステップS207)。データ取得部201は、リアルタイムデータ取得指示情報で指定されたデータをFA機器102のCPUユニット301のデバイスメモリ格納エリア302から取得して(ステップS208)、データ一時保持部202に1回だけ送信する(ステップS209)。
When receiving the real-time data acquisition instruction information, the temporary
データ一時保持部202は、データ取得部201から送信されたデータを受信すると、該データを一定時間保持した後にDBMS206に送信する(ステップS210)。DBMS206は、データ一時保持部202から送信されたデータを受信し、該データをデータアクセス管理部204に送信する(ステップS211)。データアクセス管理部204は、データを受信すると、データ取得要求情報の送信元である計算機104に該データを送信する(ステップS212)。計算機104は、要求したデータをFA機器用データ取得ユニット101から受信することにより、該データを所望のアプリケーションでの処理に用いることができる。
When the data
また、ステップS205に戻って、取得要求されているデータがリアルタイムなデータでない場合、すなわち取得要求されているデータがデータ保持部207に蓄積された蓄積データである場合には(ステップS205否定)、DBMS206はデータ一時保持部202に対して蓄積データの取得要求情報である蓄積データ取得指示情報を発行する(ステップS213)。 Returning to step S205, if the data requested for acquisition is not real-time data, that is, if the data requested for acquisition is stored data stored in the data holding unit 207 (No in step S205), The DBMS 206 issues stored data acquisition instruction information, which is stored data acquisition request information, to the temporary data storage unit 202 (step S213).
データ一時保持部202は、蓄積データ取得指示情報を受信すると、データ取得部201に蓄積データ取得指示情報を送信する(ステップS214)。データ取得部201は、蓄積データ取得指示情報を受信すると、データ保持部207に蓄積データ取得指示情報を送信する(ステップS215)。蓄積データ取得指示情報を受信すると、データ保持部207は、蓄積データ取得指示情報で指定されたデータを抽出して(ステップS216)、DBMS206に送信する(ステップS217)。
Upon receiving the accumulated data acquisition instruction information, the temporary
DBMS206は、データ保持部207から送信されたデータを受信し、該データをデータアクセス管理部204に送信する(ステップS211)。データアクセス管理部204は、データを受信すると、データ取得要求情報の送信元である計算機104に該データを送信する(ステップS212)。計算機104は、要求したデータをFA機器用データ取得ユニット101から受信することにより、該データを所望のアプリケーションでの処理に用いることができる。
The DBMS 206 receives the data transmitted from the
上述したように、本実施の形態にかかるFA機器用データ取得ユニット101aは、計算機104からのデータ取得の要求を受けて、要求されたデータをFA機器102のCPUユニット301のデバイスメモリ格納エリア302から、またはデータ保持部207から取得して計算機104に送信する。これにより、計算機104では、FA機器102に関する所望のデータを漏れなく取得することができる。また、本実施の形態においては、計算機104は、リアルタイムなデータの他にデータ保持部207に蓄積された過去のデータも取得することができる。
As described above, the FA device
なお、上記においては、実施の形態1において説明したデータ取得部201による、FA機器102の制御部であるCPUユニット301のシーケンススキャン毎のリアルタイムなデータの取得処理は停止している場合について説明したが、実施の形態1におけるリアルタイムなデータの取得処理と、上述したデータ取得要求に基づいたデータの取得処理と、を並列処理することも可能である。この場合には、リアルタイムなデータの取得処理用のデータ取得部およびデータ一時保持部と、データ取得要求に基づいたデータの取得処理用のデータ取得部およびデータ一時保持部と、をそれぞれ別個に設ければよい。このような構成とすることにより、データ取得の自由度が大きくなる。
In the above description, the case where the
以上のように、本発明にかかるデータ取得システムは、FAシステム等における機器のデータの活用に有用である。 As described above, the data acquisition system according to the present invention is useful for utilization of device data in an FA system or the like.
101 機器用データ取得ユニット
101a 機器用データ取得ユニット
102 機器
103 通信ネットワーク
104 計算機
105 アプリケーション
201 データ取得部
202 データ一時保持部
203 データ送信部
204 データアクセス管理部
205 SQL解析部
206 DBMS
207 データ保持部
301 CPUユニット
302 デバイスメモリ格納エリア
401 バス
401a バス
DESCRIPTION OF
207
Claims (4)
前記データ取得対象機器にアクセスして該データ取得対象機器内のデータを一定周期毎に取得するデータ取得手段、前記データ取得手段が取得するデータを一定量に達するまで蓄積するデータ一時保持手段、および前記データ一時保持手段が蓄積したデータを外部に一括して送信する送信手段を有するデータ取得装置と、
前記データ取得装置からデータが送信される端末装置と、
を備えることを特徴とするデータ取得システム。 A data acquisition target device that is a target of data acquisition;
Data acquisition means for accessing the data acquisition target device and acquiring the data in the data acquisition target device at regular intervals, data temporary storage means for storing the data acquired by the data acquisition means until a predetermined amount is reached, and A data acquisition device having transmission means for collectively transmitting data accumulated by the data temporary storage means to the outside;
A terminal device to which data is transmitted from the data acquisition device;
A data acquisition system comprising:
を特徴とする請求項1に記載のデータ取得システム。 The data acquisition means acquires the data for each sequence cycle of the data acquisition target device;
The data acquisition system according to claim 1.
を特徴とする請求項1に記載のデータ取得システム。 The data temporary storage means is a ring buffer memory;
The data acquisition system according to claim 1.
前記データ取得対象機器にアクセスして該データ取得対象機器内のデータを一定周期毎に取得するデータ取得手段と、
前記データ取得手段が取得するデータを一定量に達するまで蓄積するデータ一時保持手段と、
前記データ一時保持手段が蓄積したデータを外部に一括して送信する送信手段と、
を備えることを特徴とするデータ取得装置。 A data acquisition device that acquires data in a data acquisition target device that is a target of data acquisition and outputs the data outside,
Data acquisition means for accessing the data acquisition target device and acquiring the data in the data acquisition target device at regular intervals;
Data temporary storage means for accumulating data acquired by the data acquisition means until reaching a certain amount;
Transmitting means for collectively transmitting the data accumulated by the data temporary holding means to the outside;
A data acquisition device comprising:
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2007114476A JP2008269489A (en) | 2007-04-24 | 2007-04-24 | Data acquisition system and data acquisition device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2007114476A JP2008269489A (en) | 2007-04-24 | 2007-04-24 | Data acquisition system and data acquisition device |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JP2008269489A true JP2008269489A (en) | 2008-11-06 |
Family
ID=40048858
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2007114476A Withdrawn JP2008269489A (en) | 2007-04-24 | 2007-04-24 | Data acquisition system and data acquisition device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP2008269489A (en) |
Cited By (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2011101154A (en) * | 2009-11-05 | 2011-05-19 | Maeda Metal Industries Ltd | Wireless data communication method |
| JP2017076387A (en) * | 2015-10-09 | 2017-04-20 | フィッシャー−ローズマウント システムズ,インコーポレイテッド | Source-independent queries in distributed industrial systems |
| JP2021060683A (en) * | 2019-10-03 | 2021-04-15 | 株式会社キーエンス | Data utilization system |
| US11112925B2 (en) | 2013-03-15 | 2021-09-07 | Fisher-Rosemount Systems, Inc. | Supervisor engine for process control |
| US11385608B2 (en) | 2013-03-04 | 2022-07-12 | Fisher-Rosemount Systems, Inc. | Big data in process control systems |
| US11886155B2 (en) | 2015-10-09 | 2024-01-30 | Fisher-Rosemount Systems, Inc. | Distributed industrial performance monitoring and analytics |
| US12547160B2 (en) | 2019-08-19 | 2026-02-10 | Fisher-Rosemount Systems, Inc. | Distributed industrial performance monitoring and analytics platform |
-
2007
- 2007-04-24 JP JP2007114476A patent/JP2008269489A/en not_active Withdrawn
Cited By (10)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2011101154A (en) * | 2009-11-05 | 2011-05-19 | Maeda Metal Industries Ltd | Wireless data communication method |
| US11385608B2 (en) | 2013-03-04 | 2022-07-12 | Fisher-Rosemount Systems, Inc. | Big data in process control systems |
| US11112925B2 (en) | 2013-03-15 | 2021-09-07 | Fisher-Rosemount Systems, Inc. | Supervisor engine for process control |
| JP2017076387A (en) * | 2015-10-09 | 2017-04-20 | フィッシャー−ローズマウント システムズ,インコーポレイテッド | Source-independent queries in distributed industrial systems |
| US11886155B2 (en) | 2015-10-09 | 2024-01-30 | Fisher-Rosemount Systems, Inc. | Distributed industrial performance monitoring and analytics |
| US12547160B2 (en) | 2019-08-19 | 2026-02-10 | Fisher-Rosemount Systems, Inc. | Distributed industrial performance monitoring and analytics platform |
| JP2021060683A (en) * | 2019-10-03 | 2021-04-15 | 株式会社キーエンス | Data utilization system |
| JP7412119B2 (en) | 2019-10-03 | 2024-01-12 | 株式会社キーエンス | Data utilization system |
| JP2024023868A (en) * | 2019-10-03 | 2024-02-21 | 株式会社キーエンス | Data utilization system |
| JP7649368B2 (en) | 2019-10-03 | 2025-03-19 | 株式会社キーエンス | Data Utilization System |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP2008269489A (en) | Data acquisition system and data acquisition device | |
| JP6879961B2 (en) | Methods and equipment for displaying process data, and machine-accessible media | |
| US9740186B2 (en) | Monitoring control system and control device | |
| EP2905663B1 (en) | Device setting apparatus, storage storing device setting program, and method for sharing information among a plurality of device setting apparatuses | |
| KR102486704B1 (en) | Client and server in supervisory control and data acquisition system | |
| JP2018041405A (en) | Controller and control management system | |
| JP6502908B2 (en) | Slave device | |
| CN104615067A (en) | Control device and control method | |
| JP6615422B1 (en) | Management device and management system | |
| JP6570741B2 (en) | Air conditioning management device and program | |
| KR100889730B1 (en) | Method and Apparatus for Direct Memory Access Controlling | |
| JP5967322B1 (en) | Information processing apparatus and information processing method | |
| US10528019B2 (en) | Controller, home system, screen generation method, and recording medium | |
| CN110224910A (en) | Data communications method and system based on Modbus | |
| JP2004171282A (en) | Client device, control system equipped with this client device and its program | |
| US20170255340A1 (en) | Information processing apparatus, and control method and control program thereof | |
| JP2012185528A (en) | State monitoring device for field apparatus | |
| JP6175759B2 (en) | Controller, control system, program, and information processing apparatus | |
| CN114138753A (en) | Method and device for regulating and controlling data processing pressure and computer readable storage medium | |
| KR101183675B1 (en) | Method and apparatus for response processing based on asynchronous web service communication | |
| CN114307162A (en) | Game element processing method and device based on block chain | |
| EP3168793B1 (en) | Remote user support tool | |
| CN111654529A (en) | Remote monitoring method and device for vapor phase drying equipment | |
| JP2023001659A (en) | Information processing device, information processing method and information processing program | |
| CN119130776A (en) | Data management system, recording medium and data management method |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20090205 |
|
| A761 | Written withdrawal of application |
Free format text: JAPANESE INTERMEDIATE CODE: A761 Effective date: 20091020 |