JP2008090670A - Motor control system and data acquisition method therefor - Google Patents

Motor control system and data acquisition method therefor Download PDF

Info

Publication number
JP2008090670A
JP2008090670A JP2006271875A JP2006271875A JP2008090670A JP 2008090670 A JP2008090670 A JP 2008090670A JP 2006271875 A JP2006271875 A JP 2006271875A JP 2006271875 A JP2006271875 A JP 2006271875A JP 2008090670 A JP2008090670 A JP 2008090670A
Authority
JP
Japan
Prior art keywords
data
buffer
motor control
buffering
acquired
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2006271875A
Other languages
Japanese (ja)
Inventor
Masaru Fukuda
大 福田
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.)
Yaskawa Electric Corp
Original Assignee
Yaskawa Electric Corp
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 Yaskawa Electric Corp filed Critical Yaskawa Electric Corp
Priority to JP2006271875A priority Critical patent/JP2008090670A/en
Publication of JP2008090670A publication Critical patent/JP2008090670A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Information Transfer Systems (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To continuously successively fetch data from a buffering device which is regularly updated, and detect positions and the number of overwritten data after one buffering cycle. <P>SOLUTION: In the data acquisition method for the motor control system comprising a motor control device including the buffering device storing data regularly updated in an arbitrary cycle and an engineering tool for acquiring buffering data by communication and displaying it on a monitor, storage of new data in a buffer is determined by a change in data count, when new data is stored in the buffer, all data in the buffer is acquired and fetched in the ascending order of index, an index added to the data fetched at last is stored. When data is acquired from the buffering device next, the data is fetched in the ascending order on and after the stored index, whereby data with indexes regularly updated are continuously successively fetched. <P>COPYRIGHT: (C)2008,JPO&INPIT

Description

本発明は、不定期かつ任意の周期で常時更新されるデータを格納するモータ制御装置およびそのデータをモニタへ表示するエンジニアリングツールのデータ取得方法およびデータ表示方法に関する。エンジニアリングツールは、サーボ制御装置やインバータ装置の複数の制御装置の定数設定、変更や制御装置の動作のモニタ等の機能をパソコンに搭載するソフトウェアで構成する。   The present invention relates to a motor control device that stores data that is constantly updated at irregular intervals and arbitrary cycles, and a data acquisition method and a data display method for an engineering tool that displays the data on a monitor. The engineering tool is configured by software installed in a personal computer for functions such as setting and changing constants of a plurality of control devices of the servo control device and the inverter device and monitoring the operation of the control device.

FAシステム制御装置とパソコンなどその他の制御装置が通信するシステムである場合に、FAシステム制御装置のエンジニアリングツールにおいて、その通信内容をモニタリングして画面に表示する。FAシステム制御装置とその他の制御装置との通信は不定期におこなわれ、その通信内容のモニタデータはリングバッファ形式でFAシステム制御装置内にバッファリングされるのが一般的である。
従来のFAシステム制御装置のエンジニアリングツールでは、FAシステム制御装置内のモニタデータを一定周期で取得し、リングバッファ内のデータを古い順に並べ替えることをおこなう。よって、モニタする通信内容が高速に更新される場合、モニタデータを取得する周期を早くする必要があるが、多くの場合、通信媒体の制約により周期を変更することができない。
When the FA system control device communicates with another control device such as a personal computer, the communication contents are monitored and displayed on the screen by the engineering tool of the FA system control device. Communication between the FA system control device and other control devices is performed irregularly, and monitor data of the communication contents is generally buffered in the FA system control device in a ring buffer format.
In the conventional engineering tool of the FA system control device, the monitor data in the FA system control device is acquired at a constant cycle, and the data in the ring buffer is rearranged in the oldest order. Therefore, when the communication content to be monitored is updated at a high speed, it is necessary to speed up the cycle for acquiring the monitor data. However, in many cases, the cycle cannot be changed due to restrictions on the communication medium.

図1は制御装置とエンジニアリングツールのシステムブロック図である。モータ制御装置11はバッファリング装置111を備え、エンジニアリングツール12はデータ取得部121とモニタ表示部122を備えている。制御装置11とエンジニアリングツール12は通信をおこない、バッファリング装置111のデータはデータ取得部121で取得、成型された後モニタ表示部122でモニタへ表示される。
図2は従来のバッファリング装置のブロック図である。バッファリング装置21はデータを格納するバッファ22とバッファに格納されたデータのカウントを格納するカウンタ領域23を持っている。
FIG. 1 is a system block diagram of a control device and an engineering tool. The motor control device 11 includes a buffering device 111, and the engineering tool 12 includes a data acquisition unit 121 and a monitor display unit 122. The control device 11 and the engineering tool 12 communicate with each other, and the data of the buffering device 111 is acquired and molded by the data acquisition unit 121 and then displayed on the monitor by the monitor display unit 122.
FIG. 2 is a block diagram of a conventional buffering device. The buffering device 21 has a buffer 22 for storing data and a counter area 23 for storing a count of data stored in the buffer.

図3は従来のバッファリング装置からのエンジニアリングツールのデータ取得方法のフローチャートである。バッファリング装置のデータ取得を開始すると、ステップS301で前回データカウントiと最新データカウントjとバッファ更新データ個数kとバッファデータ取得位置pを0にイニシャルセットする。ステップS302でカウンタ領域のデータを取得し、最新データカウントとしてセットする。ステップS303で前回データカウントと最新データカウントを比較し、一致しない場合はバッファに新しいデータが格納されたと判別してステップS304へ進み、一致する場合はバッファに新しいデータが格納されていないと判別してステップS302へ進む。ステップS304でバッファ更新データ個数を最新データカウント-前回データカウントより求め、ステップS305でバッファのバッファデータ取得位置からバッファ更新データ個数分のデータを新たに更新されたバッファデータとして取り出し、ステップS306で取り出したデータをモニタへ表示する。ステップS307で最後のデータ取得位置+1をバッファデータ取得位置としてセットし、前回データカウント=最新データカウントとしてステップS302へ進む。以降、前記の処理を繰り返し行う。
このように、従来のバッファリング装置およびバッファリング装置からのエンジニアリングツールのデータ取得方法では、データカウントの変化からバッファに新しいデータが格納されたことを判別し、データカウントの差分個数のデータを新しいデータとしてバッファから取得してモニタへ表示し、次回のバッファデータ取得位置を取得したデータ個数だけずらすことで常時更新されるデータを連続して順次取り出しモニタへ表示するという手順がとられていた。
FIG. 3 is a flowchart of a data acquisition method for an engineering tool from a conventional buffering device. When data acquisition of the buffering device is started, the previous data count i, the latest data count j, the number of buffer update data k, and the buffer data acquisition position p are initially set to 0 in step S301. In step S302, data in the counter area is acquired and set as the latest data count. In step S303, the previous data count is compared with the latest data count. If they do not match, it is determined that new data is stored in the buffer, and the process proceeds to step S304. If they match, it is determined that no new data is stored in the buffer. Then, the process proceeds to step S302. In step S304, the number of buffer update data is obtained from the latest data count minus the previous data count. In step S305, data corresponding to the number of buffer update data is extracted from the buffer data acquisition position of the buffer as newly updated buffer data, and is extracted in step S306. Displayed data on the monitor. In step S307, the last data acquisition position + 1 is set as the buffer data acquisition position, and the process proceeds to step S302 with the previous data count = latest data count. Thereafter, the above process is repeated.
As described above, in the conventional buffering device and the data acquisition method of the engineering tool from the buffering device, it is determined that new data is stored in the buffer from the change of the data count, and the data of the difference count of the data count is newly set. The procedure is such that the data is acquired from the buffer and displayed on the monitor, and the next buffer data acquisition position is shifted by the number of acquired data, and the constantly updated data is successively extracted and displayed on the monitor.

なお、ACサーボドライブ用のエンジニアリングツールは、(1)ユーザ定数編集機能(各種パラメータの設定)、(2)アラーム表示/モニタ機能(サーボモータ駆動用制御装置の状態をモニタリングして表示)、(3)各種セットアップ機能(運転に必要な初期設定を支援)、(4)トレース機能(サーボドライブシステムのデータを画面に表示)、(5)慣性モーメント同定機能(負荷慣性モーメント比を推定)、(6)メカニカルアナリシス機能(高速フーリエ変換により機械の固有振動数を測定)、(7)ゲインチューニング機能(システムの最適な性能を引き出す制御ゲイン調整)、(8)ダイナミクスシミュレーション機能(システムの動的挙動を予測、評価)を備えている。これらの機能を発揮するためには正確なデータ取得がその前提条件となる。
特開2006−148556号公報 特開2003−202928号公報
The engineering tool for AC servo drive includes (1) user constant editing function (setting of various parameters), (2) alarm display / monitor function (monitoring and displaying the status of the servo motor drive control device), ( 3) Various setup functions (supports initial settings required for operation), (4) Trace function (displays servo drive system data on the screen), (5) Inertia moment identification function (estimates load inertia moment ratio), ( 6) Mechanical analysis function (measures the natural frequency of the machine by fast Fourier transform), (7) Gain tuning function (control gain adjustment that brings out the optimum performance of the system), (8) Dynamics simulation function (dynamic behavior of the system) Prediction and evaluation). Accurate data acquisition is a prerequisite for these functions.
JP 2006-148556 A JP 2003-202928 A

従来のバッファリング装置およびバッファリング装置からのエンジニアリングツールのデータ取得方法での問題点を図4を用いて説明する。
図4は、リングバッファ形式のバッファリング装置におけるデータ取得時のバッファリング装置内の状態とモニタ表示を示した一例である。図4において、左図(a)のようにデータ1からデータ3が新たに更新されたバッファデータとする。更新されたバッファデータはデータ1、データ2、データ3と順次取得されるが、データの更新周期が速かった場合、右図(b)のように全ての更新されたバッファデータを取得するまでにリングバッファが一巡して上書きされ、エンジニアリングツールでは取得したデータがバッファ一巡後の間違ったデータであることを判別できずに正常データと混同して右下図(c)のようにモニタへ表示してしまい、使用者は誤ったデータを観察してしまうという問題があった。
Problems in the conventional buffering device and the data acquisition method of the engineering tool from the buffering device will be described with reference to FIG.
FIG. 4 is an example showing the state in the buffering device and the monitor display at the time of data acquisition in the ring buffer type buffering device. In FIG. 4, it is assumed that data 1 to data 3 are newly updated as shown in the left figure (a). The updated buffer data is sequentially acquired as data 1, data 2, and data 3. However, when the data update cycle is fast, all the updated buffer data is acquired as shown in the right figure (b). The ring buffer is overwritten once and the engineering tool cannot determine that the acquired data is the wrong data after the buffer has been circulated, and it is confused with normal data and displayed on the monitor as shown in the lower right figure (c). Therefore, there is a problem that the user observes wrong data.

本発明はこのような問題点に鑑みてなされたものであり、不定期かつ任意の周期で常時更新されるデータを格納するバッファリング装置からデータを連続して順次取り出すとともに、バッファが一巡して上書きされたことおよび上書きされたデータ位置および上書きされたデータ個数を検出し、モニタへ上書きされたデータを特殊な文字で表示することにより使用者がデータの正否を判別できるモータ制御システムとそのデータ取得方法を提供することを目的とする。   The present invention has been made in view of such a problem. Data is continuously and sequentially extracted from a buffering device for storing data that is irregularly updated and constantly updated at an arbitrary cycle. A motor control system that allows the user to determine whether the data is correct or not by detecting overwritten and overwritten data positions and the number of overwritten data, and displaying the overwritten data on the monitor with special characters. The purpose is to provide an acquisition method.

上記問題を解決するため、本発明は、次のようにしたのである。
請求項1記載の発明は、不定期かつ任意の周期で常時更新されるデータを格納するバッファリング装置を備えたモータ制御装置と、前記モータ制御装置のバッファリングデータを通信により取得し、モニタへ表示するエンジニアリングツールからなるモータ制御システムにおいて、前記モータ制御装置内に格納されるデータに昇順の連続したインデックスを付加して格納するバッファと、前記バッファに格納されたデータカウントを格納するカウンタ領域を有することを特徴とするものである。
また請求項2記載の発明は、不定期かつ任意の周期で常時更新されるデータを格納するバッファリング装置を備えたモータ制御装置と、前記モータ制御装置のバッファリングデータを通信により取得し、モニタへ表示するエンジニアリングツールからなるモータ制御システムのデータ取得方法において、
バッファに格納されたデータカウントを格納するカウンタ領域よりデータを取得してデータカウントが変化したことにより前記バッファに新しいデータが格納されたことを判別し、
前記バッファに新しいデータが格納された場合はバッファの全データを取得し、取得したバッファの全データにおいて付加されたインデックスの昇順でデータを取り出し、同時に最後に取り出したデータに付加されたインデックスを記憶し、次回バッファリング装置からデータを取得した際は、取得したデータに付加されたインデックスが前記記憶したインデックス以降の昇順でデータを取り出すことで常時更新されるデータを連続して順次取り出すことを特徴とするものである。
また請求項3記載の発明は、請求項2において前記バッファリング装置から取得したデータに付加されたインデックスが連続していないことよりバッファが一巡し上書きされたことを検出し、前記インデックスが連続していない位置より上書きされたデータ位置を検出し、前記インデックスが欠落した個数より上書きされたデータ個数を検出するものである。
また請求項4記載の発明は、請求項3においてエンジニアリングツールは、取得したバッファリングデータをモニタへ表示する際に検出した上書きされたデータ位置から欠落したデータ個数分を予め設定した文字でモニタへ表示したことを特徴とするものである。
また請求項5記載の発明は、請求項1において前記モータ制御装置はサーボモータ駆動用のACサーボドライブとしたものである。
In order to solve the above problem, the present invention is as follows.
According to the first aspect of the present invention, a motor control device including a buffering device that stores data that is constantly updated at irregular intervals and an arbitrary cycle, and buffering data of the motor control device are acquired by communication, and are sent to a monitor. In a motor control system comprising an engineering tool for display, a buffer for storing data stored in the motor control device by adding an ascending continuous index and a counter area for storing a data count stored in the buffer. It is characterized by having.
According to a second aspect of the present invention, there is provided a motor control device comprising a buffering device for storing data that is constantly updated at irregular intervals and at an arbitrary cycle, and buffering data of the motor control device is acquired by communication and monitored. In the motor control system data acquisition method consisting of engineering tools to display
It is determined that new data is stored in the buffer by obtaining data from the counter area storing the data count stored in the buffer and changing the data count,
When new data is stored in the buffer, all the data in the buffer is acquired, the data is extracted in ascending order of the index added to all the data in the acquired buffer, and the index added to the last extracted data is stored at the same time And, when data is acquired from the buffering device next time, the index added to the acquired data is extracted sequentially in the ascending order after the stored index, so that the constantly updated data is sequentially extracted. It is what.
According to a third aspect of the present invention, since the index added to the data acquired from the buffering device in the second aspect is not continuous, it is detected that the buffer has been overwritten once, and the index continues. The overwritten data position is detected from the non-overwritten position, and the number of overwritten data is detected from the number of missing indexes.
According to a fourth aspect of the present invention, the engineering tool according to the third aspect provides the monitor with the preset number of characters from the overwritten data position detected when the acquired buffering data is displayed on the monitor. It is characterized by being displayed.
According to a fifth aspect of the present invention, in the first aspect, the motor control device is an AC servo drive for driving a servo motor.

本発明によると、不定期かつ任意の周期で常時更新されるデータを格納するバッファリング装置からデータを連続して順次取り出すとともに、バッファが一巡して上書きされたことおよび上書きされたデータ位置および上書きされたデータ個数を検出し、モニタへ上書きされたデータを特殊な文字で表示することにより使用者がデータの正否を判別できる。   According to the present invention, data is successively and sequentially extracted from a buffering device that stores data that is constantly updated at irregular and arbitrary cycles, and the buffer has been overwritten once, and the overwritten data position and overwriting. The user can determine whether the data is correct or not by detecting the number of data and displaying the data overwritten on the monitor with special characters.

以下、本発明の方法の具体的実施例について、図に基づいて説明する。   Hereinafter, specific examples of the method of the present invention will be described with reference to the drawings.

図5は、本発明の方法を実施するバッファリング装置の構成を示すブロック図である。バッファリング装置51はデータに昇順の連続したインデックスを付加したものを格納するバッファ52とバッファに格納されたデータのカウントを格納するカウンタ領域53を持っている。   FIG. 5 is a block diagram showing the configuration of a buffering apparatus that implements the method of the present invention. The buffering device 51 has a buffer 52 for storing data obtained by adding consecutive indexes in ascending order, and a counter area 53 for storing a count of data stored in the buffer.

図6は本発明のバッファリング装置からのエンジニアリングツールのデータ取得方法を示すフローチャートである。この図を用いて本発明の方法を順を追って説明する。
はじめにステップS601で前回データカウントiと最新データカウントjとデータ取得開始インデックスmを0にイニシャルセットする。
ステップS602でカウンタ領域のデータを取得し、最新データカウントとしてセットする。ステップS603で前回データカウントと最新データカウントを比較し、一致しない場合はバッファに新しいデータが格納されたと判別してステップS604へ進み、一致する場合はバッファに新しいデータが格納されていないと判別してステップS602へ進む。
ステップS604でバッファの全データを取得し、ステップS605で取得したバッファの全データのなかから、インデックスがデータ取得開始インデックス以降のものを新しくバッファに格納されたデータとしてインデックスの昇順で取り出す。
ステップS606で隣り合うデータ間のインデックスが連続しているかの判定をおこない、連続している場合はステップS607へ進み、連続していない場合はステップS608へ進む。
ステップS607ではインデックスが連続した正常データをモニタへ表示する。ステップS608ではバッファの上書きを検出したとして、インデックスが連続していない位置より上書きされたデータ位置を、インデックスの欠落した個数より上書きされたデータ個数を検出し、ステップS609で上書きされたデータ位置から上書きデータ個数分のデータを記号などの特殊な文字を用いて上書きデータとわかるようにモニタへ表示する。
ステップS610では表示したデータのインデックスが今回取得した内で最大であるかの判定をおこない、最大であった場合はS611へ進み、最大でなかった場合は次のデータの取得のためにS606へ進む。
ステップS611で最後に取り出したデータのインデックス+1をデータ取得開始インデックスにセットし、前回データカウントとして最新データカウントをセットしてステップS602へ進む。以降、前記の処理を繰り返しおこなう。
FIG. 6 is a flowchart showing a method for obtaining data of an engineering tool from the buffering apparatus of the present invention. The method of the present invention will be described step by step with reference to this figure.
First, in step S601, the previous data count i, the latest data count j, and the data acquisition start index m are initially set to zero.
In step S602, data in the counter area is acquired and set as the latest data count. In step S603, the previous data count and the latest data count are compared. If they do not match, it is determined that new data is stored in the buffer, and the process proceeds to step S604. If they match, it is determined that new data is not stored in the buffer. Then, the process proceeds to step S602.
In step S604, all data in the buffer is acquired, and from among all the data in the buffer acquired in step S605, data whose index is after the data acquisition start index is extracted as newly stored data in the buffer in ascending order of the index.
In step S606, it is determined whether the indexes between adjacent data are continuous. If they are continuous, the process proceeds to step S607, and if not, the process proceeds to step S608.
In step S607, normal data with continuous indexes is displayed on the monitor. In step S608, it is detected that the buffer is overwritten, and the data position overwritten from the position where the index is not continuous is detected. The number of overwritten data is detected from the number of missing indexes. From the data position overwritten in step S609. Data for the number of overwritten data is displayed on the monitor so that it can be recognized as overwritten data using special characters such as symbols.
In step S610, it is determined whether or not the index of the displayed data is the maximum obtained this time. If it is the maximum, the process proceeds to S611. If not, the process proceeds to S606 to acquire the next data. .
In step S611, the index +1 of the data extracted last is set as the data acquisition start index, the latest data count is set as the previous data count, and the process proceeds to step S602. Thereafter, the above process is repeated.

図7は本発明によるエンジニアリングツールのモニタ表示を示した一例である。バッファが一巡して上書きされたデータ位置には特殊な文字“*”が欠落したデータ個数分表示され、使用者は取得したデータの正否を判別することができる。   FIG. 7 shows an example of the monitor display of the engineering tool according to the present invention. At the data position where the buffer has been overwritten, the number of special characters “*” is displayed, and the user can determine whether the acquired data is correct or not.

このように、不定期かつ任意の周期で常時更新されるデータを格納する制御装置およびそのデータをモニタへ表示するエンジニアリングツールにおいて、格納されるデータに昇順の連続したインデックスを付加して格納するバッファと、前記バッファに格納されたデータカウントを格納するカウンタ領域を有することを特徴とするバッファリング装置を用いて、前記カウンタ領域にあるデータカウントが変化したことによりバッファに新しいデータが格納されたことを判別し、バッファに新しいデータが格納された場合はバッファの全データを取得し、取得したバッファの全データにおいて付加されたインデックスの昇順でデータを取り出し、同時に最後に取り出したデータに付加されたインデックスを記憶し、次回バッファリング装置からデータを取得した際は、取得したデータに付加されたインデックスが前記記憶したインデックス以降の昇順でデータを取り出すことで常時更新されるデータを連続して順次取り出せる。   In this way, in a control device that stores data that is constantly updated at irregular intervals and in arbitrary cycles, and an engineering tool that displays the data on a monitor, a buffer that stores the added data by adding consecutive indexes in ascending order And using a buffering device having a counter area for storing the data count stored in the buffer, a new data is stored in the buffer due to a change in the data count in the counter area. If new data is stored in the buffer, all the data in the buffer is acquired, the data is extracted in ascending order of the index added to all the data in the acquired buffer, and at the same time, it is added to the last extracted data Memorize the index, next time from the buffering device When acquiring the data, set successively taken out continuously data that is constantly updated by the index added to the acquired data to fetch data in ascending order after the index that the storage.

また、バッファから取得したデータに付加されたインデックスが連続していないことよりバッファが一巡し上書きされたことを検出し、前記インデックスが連続していない位置より上書きされたデータ位置を検出し、前記インデックスが欠落した個数より上書きされたデータ個数が検出可能となる。
エンジニアリングツールで取得したバッファリングデータをモニタへ表示する際は、上書きされたデータ位置から欠落したデータ個数分を特殊な文字でモニタへ表示することで、使用者がバッファの上書きで欠落したデータ位置と個数を判別可能にするのである。
Further, it is detected that the buffer has been overwritten from the fact that the index added to the data acquired from the buffer is not continuous, and the data position overwritten from the position where the index is not continuous is detected. The number of overwritten data can be detected from the number of missing indexes.
When displaying buffering data acquired with the engineering tool on the monitor, the data position missing from the overwritten data position is displayed on the monitor with special characters, so that the data position lost by the user overwriting the buffer can be displayed. And the number can be discriminated.

制御装置とエンジニアリングツールのシステムブロック図System block diagram of control device and engineering tool 従来のバッファリング装置のブロック図Block diagram of conventional buffering device 従来のバッファリング装置からのエンジニアリングツールのデータ取得方法のフローチャートFlow chart of engineering tool data acquisition method from conventional buffering device 従来のバッファリング装置(リングバッファ形式)におけるデータ取得時のバッファリング装置内の状態とモニタ表示を示した一例An example of the state and monitor display in the buffering device when acquiring data in a conventional buffering device (ring buffer format) 本発明のバッファリング装置のブロック図Block diagram of the buffering device of the present invention 本発明のバッファリング装置におけるエンジニアリングツールのデータ取得方法のフローチャートThe flowchart of the data acquisition method of the engineering tool in the buffering apparatus of this invention 本発明によるエンジニアリングツールのモニタ表示を示した一例An example showing a monitor display of an engineering tool according to the present invention

符号の説明Explanation of symbols

10 サーボモータ
11 モータ制御装置
12 エンジニアリングツール
111 バッファリング装置
121 データ取得部
122 モニタ表示部
21 バッファリング装置
22 バッファ
23 カウンタ領域
51 バッファリング装置
52 バッファ
53 カウンタ領域
DESCRIPTION OF SYMBOLS 10 Servo motor 11 Motor control apparatus 12 Engineering tool 111 Buffering apparatus 121 Data acquisition part 122 Monitor display part 21 Buffering apparatus 22 Buffer 23 Counter area 51 Buffering apparatus 52 Buffer 53 Counter area

Claims (5)

不定期かつ任意の周期で常時更新されるデータを格納するバッファリング装置を備えたモータ制御装置と、前記モータ制御装置のバッファリングデータを通信により取得し、モニタへ表示するエンジニアリングツールからなるモータ制御システムにおいて、
前記モータ制御装置内に格納されるデータに昇順の連続したインデックスを付加して格納するバッファと、前記バッファに格納されたデータカウントを格納するカウンタ領域を有することを特徴とするモータ制御システム。
Motor control comprising a motor control device having a buffering device for storing data that is irregularly updated and constantly updated at an arbitrary cycle, and an engineering tool for obtaining the buffering data of the motor control device through communication and displaying it on a monitor In the system,
A motor control system comprising: a buffer for storing data stored in the motor control device by adding consecutive indexes in ascending order; and a counter area for storing a data count stored in the buffer.
不定期かつ任意の周期で常時更新されるデータを格納するバッファリング装置を備えたモータ制御装置と、前記モータ制御装置のバッファリングデータを通信により取得し、モニタへ表示するエンジニアリングツールからなるモータ制御システムのデータ取得方法において、
バッファに格納されたデータカウントを格納するカウンタ領域よりデータを取得してデータカウントが変化したことにより前記バッファに新しいデータが格納されたことを判別し、
前記バッファに新しいデータが格納された場合はバッファの全データを取得し、取得したバッファの全データにおいて付加されたインデックスの昇順でデータを取り出し、同時に最後に取り出したデータに付加されたインデックスを記憶し、次回バッファリング装置からデータを取得した際は、取得したデータに付加されたインデックスが前記記憶したインデックス以降の昇順でデータを取り出すことで常時更新されるデータを連続して順次取り出すことを特徴とするモータ制御システムのデータ取得方法。
Motor control comprising a motor control device having a buffering device for storing data that is irregularly updated and constantly updated at an arbitrary cycle, and an engineering tool for obtaining the buffering data of the motor control device through communication and displaying it on a monitor In the system data acquisition method,
It is determined that new data is stored in the buffer by acquiring data from the counter area storing the data count stored in the buffer and changing the data count,
When new data is stored in the buffer, all the data in the buffer is acquired, the data is extracted in ascending order of the index added to all the data in the acquired buffer, and the index added to the last extracted data is stored at the same time And, when data is acquired from the buffering device next time, the index added to the acquired data is extracted sequentially in the ascending order after the stored index, so that the constantly updated data is sequentially extracted. The data acquisition method of the motor control system.
前記バッファリング装置から取得したデータに付加されたインデックスが連続していないことよりバッファが一巡し上書きされたことを検出し、前記インデックスが連続していない位置より上書きされたデータ位置を検出し、前記インデックスが欠落した個数より上書きされたデータ個数を検出する請求項2記載のモータ制御システムのデータ取得方法。 Detecting that the buffer has been overwritten by one round from the fact that the index added to the data acquired from the buffering device is not continuous, and detecting the data position overwritten from the position where the index is not continuous, 3. The data acquisition method for a motor control system according to claim 2, wherein the number of overwritten data is detected from the number of missing indexes. エンジニアリングツール、取得したバッファリングデータをモニタへ表示する際に検出した上書きされたデータ位置から欠落したデータ個数分を予め設定した文字でモニタへ表示したことを特徴とする請求項3記載のモータ制御システムのデータ取得方法。   4. The motor control according to claim 3, wherein the number of data missing from the overwritten data position detected when the acquired buffering data is displayed on the monitor is displayed on the monitor with a preset character. System data acquisition method. 前記モータ制御装置はサーボモータ駆動用のACサーボドライブである請求項1記載のモータ制御システム。   The motor control system according to claim 1, wherein the motor control device is an AC servo drive for driving a servo motor.
JP2006271875A 2006-10-03 2006-10-03 Motor control system and data acquisition method therefor Pending JP2008090670A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2006271875A JP2008090670A (en) 2006-10-03 2006-10-03 Motor control system and data acquisition method therefor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2006271875A JP2008090670A (en) 2006-10-03 2006-10-03 Motor control system and data acquisition method therefor

Publications (1)

Publication Number Publication Date
JP2008090670A true JP2008090670A (en) 2008-04-17

Family

ID=39374733

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2006271875A Pending JP2008090670A (en) 2006-10-03 2006-10-03 Motor control system and data acquisition method therefor

Country Status (1)

Country Link
JP (1) JP2008090670A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPWO2020136839A1 (en) * 2018-12-27 2021-02-15 三菱電機株式会社 Control system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPWO2020136839A1 (en) * 2018-12-27 2021-02-15 三菱電機株式会社 Control system

Similar Documents

Publication Publication Date Title
US11137321B2 (en) Failure diagnosis system
US8849997B2 (en) Information management apparatus and information management system
CN111159893A (en) Fault recurrence and prediction system based on digital twinning
US10139805B2 (en) Ladder diagram monitoring device capable of additionally displaying operation situation of CNC in comment
WO2008127535A1 (en) Machine condition monitoring using pattern rules
JP2009122852A (en) Numerical controller for storing operating history during path table operation
JP2007257444A (en) Equipment management system
JP2008090670A (en) Motor control system and data acquisition method therefor
JP5996150B2 (en) Programmable display and drawing software
JP2008204166A (en) Plant-monitoring control system
JP5734238B2 (en) Plant monitoring device
JP2020024681A5 (en) Information processing device, information processing system, display device, display control method, information processing system, information processing system control method, article manufacturing method, program and recording medium
JP2009282870A (en) Monitoring control system and monitoring control screen display method
JP2009075029A (en) Display device and display method
JP3240501B2 (en) Plant operating state display method and apparatus
US7949413B2 (en) Operator interface terminal for correlating data points to time points
JP5962086B2 (en) PLC system, information display method, PLC, and maintenance apparatus
JP2018106577A (en) Graph creation device and graph creation method
JP2020049695A (en) Display device of injection molding machine and display system
WO2016052588A1 (en) Information processing device, information processing method, and program
JP2006235890A (en) Operation support system and operation support method
JP2021182306A (en) Engineering device and engineering method
US11067972B2 (en) Observation device, observation method, and non- transitory computer-readable medium storing an observation program
JP6444287B2 (en) Web plant monitoring control system and Web terminal
JP2015099415A (en) Monitoring control system