JP7086312B1 - Graph display program, graph display device, graph display method - Google Patents

Graph display program, graph display device, graph display method Download PDF

Info

Publication number
JP7086312B1
JP7086312B1 JP2021570159A JP2021570159A JP7086312B1 JP 7086312 B1 JP7086312 B1 JP 7086312B1 JP 2021570159 A JP2021570159 A JP 2021570159A JP 2021570159 A JP2021570159 A JP 2021570159A JP 7086312 B1 JP7086312 B1 JP 7086312B1
Authority
JP
Japan
Prior art keywords
control amount
graph
control
display
time
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2021570159A
Other languages
Japanese (ja)
Other versions
JPWO2022113198A1 (en
Inventor
健 山内
真充 服部
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi 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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Publication of JPWO2022113198A1 publication Critical patent/JPWO2022113198A1/ja
Application granted granted Critical
Publication of JP7086312B1 publication Critical patent/JP7086312B1/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B23/00Testing or monitoring of control systems or parts thereof
    • G05B23/02Electric testing or monitoring

Abstract

本開示に係るグラフ表示プログラムは、複数のサーボモータそれぞれの制御量である第1の制御量と、制御対象物の制御量である第2の制御量とを時刻情報とともに取得する制御量取得ステップと、第1の制御量とともに取得された時刻情報に基づいて予め定められた開始時刻から終了時刻に向かって表示画面に予め定められた速度で複数の第1のグラフを順次表示するとともに、第2の制御量とともに取得された時刻情報に基づいて別の表示画面に第1のグラフの表示と同期させて第2のグラフを順次表示する再生ステップと、をコンピュータに実行させるものである。The graph display program according to the present disclosure is a control amount acquisition step of acquiring a first control amount which is a control amount of each of a plurality of servo motors and a second control amount which is a control amount of a controlled object together with time information. Then, a plurality of first graphs are sequentially displayed on the display screen at a predetermined speed from a predetermined start time to an end time based on the time information acquired together with the first control amount, and the first graph is displayed. The computer is made to execute a reproduction step of sequentially displaying the second graph in synchronization with the display of the first graph on another display screen based on the time information acquired together with the control amount of 2.

Description

本開示は、サーボ制御システムに用いるグラフ表示プログラム、グラフ表示装置およびグラフ表示方法に関する。 The present disclosure relates to a graph display program, a graph display device, and a graph display method used in a servo control system.

複数のサーボモータを備え、これらを制御することで複数の駆動軸を有する制御対象物を駆動するサーボ制御システムがある。サーボ制御システムには、サーボモータを適切に制御するためのゲイン値などの制御パラメータが設定されており、制御パラメータは、各サーボモータに対する制御指令値または各サーボモータの制御結果を示す状態量(位置、速度など)を確認することによって評価され、調整される。 There is a servo control system provided with a plurality of servomotors and controlling them to drive a controlled object having a plurality of drive axes. In the servo control system, control parameters such as a gain value for appropriately controlling the servo motor are set, and the control parameter is a state quantity (state quantity) indicating a control command value for each servo motor or a control result of each servo motor. It is evaluated and adjusted by checking the position (position, speed, etc.).

各サーボモータに対する制御指令値または各サーボモータの状態量の確認は、サーボモータに対する制御指令値等に含まれる位置または速度などを示す数値を時間軸上に表示した波形グラフをサーボモータごとに作成、表示し、位置または速度などの時間変化を把握することで可能である。しかし、このような波形グラフを用いた確認だけでは、個々のサーボモータについての確認はできるものの、制御対象物が意図通り動作しているかを確認できない。そのため、下記の特許文献1に記載されたグラフ表示装置は、上記の各サーボモータに関する波形グラフとともに、空間座標系で制御対象物の目標軌跡および実際の軌跡を表示した軌跡グラフを画面上に表示して、サーボモータごとに制御指令値等の確認を行うだけでなく制御対象物の軌跡を確認して、制御パラメータの評価を行うことができるようにしている。 To check the control command value for each servo motor or the state amount of each servo motor, create a waveform graph for each servo motor that displays the numerical value indicating the position or speed included in the control command value for the servo motor on the time axis. It is possible by displaying, and grasping the time change such as position or speed. However, although it is possible to confirm each servomotor only by confirmation using such a waveform graph, it is not possible to confirm whether the controlled object is operating as intended. Therefore, the graph display device described in Patent Document 1 below displays a locus graph displaying a target locus and an actual locus of a controlled object in a spatial coordinate system together with a waveform graph relating to each of the above servomotors on the screen. Therefore, not only the control command value and the like can be confirmed for each servomotor, but also the locus of the controlled object can be confirmed and the control parameters can be evaluated.

特開2019-82754号公報Japanese Unexamined Patent Publication No. 2019-82754

上記の特許文献1に記載されたグラフ表示装置は、サーボモータに関する波形グラフの時間軸上にカーソルを表示することができ、時間軸上でカーソルが位置する時刻までの軌跡グラフを表示することができる。ユーザがこのカーソルを時間軸に沿ってドラッグ操作すると、軌跡グラフを表示する時間の範囲が連動して増減する。そのため、ユーザは、カーソルのドラッグ操作を行うことで、各サーボモータに関する波形グラフと制御対象物に関する軌跡グラフにおける同一時刻での変化を比較することができる。 The graph display device described in Patent Document 1 can display a cursor on the time axis of a waveform graph relating to a servomotor, and can display a trajectory graph up to the time when the cursor is located on the time axis. can. When the user drags this cursor along the time axis, the time range in which the locus graph is displayed increases or decreases in tandem. Therefore, the user can compare the changes at the same time in the waveform graph for each servomotor and the locus graph for the controlled object by dragging the cursor.

しかし、ユーザは、ドラッグ操作により時間軸上でカーソルを移動させながら、各サーボモータに関する波形グラフと制御対象物に関する軌跡グラフを確認しなければならず、一度に多くの作業が必要となる。そのため、各グラフの確認が不十分となりやすいという問題があった。 However, the user has to check the waveform graph for each servomotor and the locus graph for the controlled object while moving the cursor on the time axis by dragging, which requires a lot of work at once. Therefore, there is a problem that the confirmation of each graph tends to be insufficient.

本開示は、上記のような課題を解決するためになされたものであり、サーボモータに関するグラフと制御対象物に関するグラフの確認作業を容易にすることができるグラフ表示プログラム、グラフ表示装置およびグラフ表示方法を提供することを目的とする。 The present disclosure has been made to solve the above-mentioned problems, and is a graph display program, a graph display device, and a graph display that can facilitate the confirmation work of the graph related to the servomotor and the graph related to the controlled object. The purpose is to provide a method.

本開示に係るグラフ表示プログラムは、複数のサーボモータそれぞれについて、サーボモータに対する制御指令値またはサーボモータの制御結果を示す状態量を第1の制御量として時刻情報とともに取得する第1の制御量取得ステップと、複数のサーボモータによって駆動される制御対象物に対する制御指令値または制御対象物の制御結果を示す状態量を第2の制御量として時刻情報とともに取得する第2の制御量取得ステップと、第1の制御量を示す第1のグラフを表示するための第1の表示画面を表示する第1の表示ステップと、第2の制御量を示す第2のグラフを表示するための第2の表示画面を表示する第2の表示ステップと、第1の制御量とともに取得された時刻情報に基づいて予め定められた開始時刻から終了時刻に向かって第1の表示画面に予め定められた速度で第1のグラフを順次表示するとともに、第2の制御量とともに取得された時刻情報に基づいて第2の表示画面に第1のグラフの表示と同期させて第2のグラフを順次表示する再生ステップと、第1の制御量取得ステップおよび第2の制御量取得ステップで取得された第1の制御量および第2の制御量を時系列に並べたリストを第3の表示画面に表示し、再生ステップにおいて第1のグラフを開始時刻から終了時刻に向かって順次表示する際に開始時刻と終了時刻の間の再生時刻における第1のグラフを表示している場合に、リストに含まれる第1の制御量のうち第1の制御量とともに取得された時刻情報が示す時刻が再生時刻に最も近い第1の制御量と、リストに含まれる第2の制御量のうち第2の制御量とともに取得された時刻情報が示す時刻が再生時刻に最も近い第2の制御量とをほかの第1の制御量および第2の制御量とは異なる表示形式で表示する第3の表示ステップと、をコンピュータに実行させることを特徴とするものである。 The graph display program according to the present disclosure acquires a first control amount for each of a plurality of servo motors by acquiring a state quantity indicating a control command value for the servo motor or a control result of the servo motor as the first control quantity together with time information. A second control amount acquisition step of acquiring a control command value for a control object driven by a plurality of servo motors or a state quantity indicating a control result of the control object as a second control amount together with time information. A first display step for displaying a first display screen for displaying a first graph showing a first control amount, and a second display step for displaying a second graph showing a second control amount. A second display step for displaying the display screen and a predetermined speed on the first display screen from a predetermined start time to an end time based on the time information acquired together with the first control amount. A reproduction step in which the first graph is sequentially displayed and the second graph is sequentially displayed on the second display screen in synchronization with the display of the first graph based on the time information acquired together with the second control amount. And, a list in which the first control amount and the second control amount acquired in the first control amount acquisition step and the second control amount acquisition step are arranged in chronological order is displayed on the third display screen and reproduced. The first graph included in the list when the first graph is displayed sequentially from the start time to the end time in the step and the first graph at the playback time between the start time and the end time is displayed. The time indicated by the time information acquired together with the first control amount among the control amounts is acquired together with the first control amount closest to the reproduction time and the second control amount among the second control amounts included in the list. A third display step of displaying the second control amount whose time indicated by the time information is closest to the playback time in a display format different from that of the other first control amount and the second control amount is displayed on the computer. It is characterized by being executed.

また、本開示に係るグラフ表示装置は、複数のサーボモータそれぞれについて、サーボモータに対する制御指令値またはサーボモータの制御結果を示す状態量を第1の制御量として時刻情報とともに取得する第1の制御量取得部と、複数のサーボモータによって駆動される制御対象物に対する制御指令値または制御対象物の制御結果を示す状態量を第2の制御量として時刻情報とともに取得する第2の制御量取得部と、第1の制御量を示す第1のグラフを表示するための第1の表示画面を表示する第1の表示部と、第2の制御量を示す第2のグラフを表示するための第2の表示画面を表示する第2の表示部と、第1の制御量とともに取得された時刻情報に基づいて予め定められた開始時刻から終了時刻に向かって第1の表示画面に予め定められた速度で第1のグラフを順次表示するとともに、第2の制御量とともに取得された時刻情報に基づいて第2の表示画面に第1のグラフの表示と同期させて第2のグラフを順次表示する再生部と、第1の制御量取得部および第2の制御量取得部で取得された第1の制御量および第2の制御量を時系列に並べたリストを第3の表示画面に表示し、再生部が第1のグラフを開始時刻から終了時刻に向かって順次表示する際に開始時刻と終了時刻の間の再生時刻における第1のグラフを表示している場合に、リストに含まれる第1の制御量のうち第1の制御量とともに取得された時刻情報が示す時刻が再生時刻に最も近い第1の制御量と、リストに含まれる第2の制御量のうち第2の制御量とともに取得された時刻情報が示す時刻が再生時刻に最も近い第2の制御量とをほかの第1の制御量および第2の制御量とは異なる表示形式で表示する第3の表示部、を備えたものである。 Further, in the graph display device according to the present disclosure, for each of the plurality of servo motors, the first control that acquires the control command value for the servo motor or the state quantity indicating the control result of the servo motor as the first control quantity together with the time information. A second controlled quantity acquisition unit that acquires a control command value for a controlled object driven by a plurality of servo motors or a state quantity indicating a control result of the controlled object as a second controlled quantity together with time information. And a first display unit for displaying a first display screen for displaying a first graph showing a first control amount, and a second for displaying a second graph showing a second control amount. The second display unit that displays the second display screen, and the first display screen that is predetermined from the predetermined start time to the end time based on the time information acquired together with the first control amount. The first graph is sequentially displayed in terms of speed, and the second graph is sequentially displayed on the second display screen in synchronization with the display of the first graph based on the time information acquired together with the second control amount. A list in which the first control amount and the second control amount acquired by the reproduction unit, the first control amount acquisition unit, and the second control amount acquisition unit are arranged in chronological order is displayed on the third display screen. , When the playback unit displays the first graph sequentially from the start time to the end time and displays the first graph at the playback time between the start time and the end time, the first graph included in the list is displayed. Along with the first control amount whose time indicated by the time information acquired together with the first control amount of the first control amount is closest to the reproduction time and the second control amount of the second control amount included in the list. A third display unit is provided, which displays a second control amount whose time indicated by the acquired time information is closest to the playback time in a display format different from that of the other first control amount and the second control amount. It is a thing.

また、本開示に係るグラフ表示方法は、第1の制御量取得部が、複数のサーボモータそれぞれについて、サーボモータに対する制御指令値またはサーボモータの制御結果を示す状態量を第1の制御量として時刻情報とともに取得する第1の制御量取得ステップと、制御量取得部が、複数のサーボモータによって駆動される制御対象物に対する制御指令値または制御対象物の制御結果を示す状態量を第2の制御量として時刻情報とともに取得する第2の制御量取得ステップと、第1の表示部が、第1の制御量を示す第1のグラフを表示するための第1の表示画面を表示する第1の表示ステップと、第2の表示部が、第2の制御量を示す第2のグラフを表示するための第2の表示画面を表示する第2の表示ステップと、再生部が、第1の制御量とともに取得された時刻情報に基づいて予め定められた開始時刻から終了時刻に向かって第1の表示画面に予め定められた速度で第1のグラフを順次表示するとともに、第2の制御量とともに取得された時刻情報に基づいて第2の表示画面に第1のグラフの表示と同期させて第2のグラフを順次表示する再生ステップと、第3の表示部が、第1の制御量取得ステップおよび第2の制御量取得ステップで取得された第1の制御量および第2の制御量を時系列に並べたリストを第3の表示画面に表示し、再生ステップにおいて第1のグラフを開始時刻から終了時刻に向かって順次表示する際に開始時刻と終了時刻の間の再生時刻における第1のグラフを表示している場合に、リストに含まれる第1の制御量のうち第1の制御量とともに取得された時刻情報が示す時刻が再生時刻に最も近い第1の制御量と、リストに含まれる第2の制御量のうち第2の制御量とともに取得された時刻情報が示す時刻が再生時刻に最も近い第2の制御量とをほかの第1の制御量および第2の制御量とは異なる表示形式で表示する第3の表示ステップと、を備えたものである。 Further, in the graph display method according to the present disclosure, the first control amount acquisition unit uses a state amount indicating a control command value for the servo motor or a control result of the servo motor as the first control amount for each of the plurality of servo motors. The first control amount acquisition step to be acquired together with the time information, and the state quantity in which the control amount acquisition unit indicates the control command value for the control object driven by a plurality of servo motors or the control result of the control object are the second. A second control amount acquisition step to be acquired together with time information as a control amount, and a first display unit for displaying a first display screen for displaying a first graph showing the first control amount. The display step, the second display step for displaying the second display screen for displaying the second graph showing the second control amount, and the playback unit for the first The first graph is sequentially displayed on the first display screen at a predetermined speed from a predetermined start time to an end time based on the time information acquired together with the control amount, and the second control amount is displayed. The reproduction step of sequentially displaying the second graph in synchronization with the display of the first graph on the second display screen based on the time information acquired together with the third display unit, and the third display unit acquire the first control amount. A list in which the first control amount and the second control amount acquired in the step and the second control amount acquisition step are arranged in chronological order is displayed on the third display screen, and the first graph is started in the reproduction step. The first control of the first control amount included in the list when the first graph in the playback time between the start time and the end time is displayed when sequentially displaying from the time to the end time. The first control amount whose time indicated by the time information acquired together with the amount is closest to the playback time and the time indicated by the time information acquired together with the second control amount among the second control amounts included in the list are reproduced. It includes a second display step that displays the second control amount closest to the time in a display format different from that of the other first control amount and the second control amount .

本開示に係るグラフ表示プログラム、グラフ表示装置およびグラフ表示方法は、予め定められた速度で第1のグラフを順次表示させるとともに第2のグラフも同期して順次表示させるので、サーボモータに関するグラフと制御対象物に関するグラフの確認作業を容易にすることができる。 In the graph display program, graph display device, and graph display method according to the present disclosure, the first graph is sequentially displayed at a predetermined speed, and the second graph is also sequentially displayed in synchronization with the graph related to the servomotor. It is possible to facilitate the confirmation work of the graph regarding the controlled object.

本開示の実施の形態に係るサーボ制御システムの概念図である。It is a conceptual diagram of the servo control system which concerns on embodiment of this disclosure. 本開示の実施の形態に係るグラフ表示装置、コントローラおよびサーボアンプのハードウェア構成を示すブロック図である。It is a block diagram which shows the hardware composition of the graph display device, the controller and the servo amplifier which concerns on embodiment of this disclosure. 本開示の実施の形態に係るグラフ表示装置の機能構成を示すブロック図である。It is a block diagram which shows the functional structure of the graph display device which concerns on embodiment of this disclosure. 本開示の実施の形態に係るグラフ表示装置のグラフ表示部の機能構成を示すブロック図である。It is a block diagram which shows the functional structure of the graph display part of the graph display apparatus which concerns on embodiment of this disclosure. 本開示の実施の形態に係るコントローラの機能構成を示すブロック図である。It is a block diagram which shows the functional structure of the controller which concerns on embodiment of this disclosure. 本開示の実施の形態に係るサーボアンプの機能構成を示すブロック図である。It is a block diagram which shows the functional structure of the servo amplifier which concerns on embodiment of this disclosure. 本開示の実施の形態に係るグラフ表示装置の表示部が表示する記録項目設定用画面の例を示す図である。It is a figure which shows the example of the screen for setting a record item displayed by the display part of the graph display apparatus which concerns on embodiment of this disclosure. 本開示の実施の形態に係るグラフ表示装置の記録項目設定処理を示すフローチャートである。It is a flowchart which shows the record item setting process of the graph display apparatus which concerns on embodiment of this disclosure. 本開示の実施の形態に係るコントローラの記録項目収集処理を示すフローチャートである。It is a flowchart which shows the record item collection process of the controller which concerns on embodiment of this disclosure. 本開示の実施の形態に係るコントローラの記録項目収集処理を示すフローチャートである。It is a flowchart which shows the record item collection process of the controller which concerns on embodiment of this disclosure. 本開示の実施の形態に係るサーボアンプの記録項目収集処理を示すフローチャートである。It is a flowchart which shows the recording item collection process of the servo amplifier which concerns on embodiment of this disclosure. 本開示の実施の形態に係るグラフ表示装置の記録項目収集処理を示すフローチャートである。It is a flowchart which shows the record item collection process of the graph display apparatus which concerns on embodiment of this disclosure. 本開示の実施の形態に係るグラフ表示装置のグラフ表示処理および再生処理を示すフローチャートである。It is a flowchart which shows the graph display processing and reproduction processing of the graph display apparatus which concerns on embodiment of this disclosure. 本開示の実施の形態に係るグラフ表示装置の表示部が表示するグラフ表示画面の例を示す図である。It is a figure which shows the example of the graph display screen which the display part of the graph display apparatus which concerns on embodiment of this disclosure displays. 本開示の実施の形態に係るグラフ表示装置の表示部が再生表示するグラフ表示画面の例を示す図である。It is a figure which shows the example of the graph display screen which the display part of the graph display apparatus which concerns on embodiment of this disclosure reproduces and displays.

以下、本開示の実施の形態について、図を用いて説明する。図中の同一の符号は、同一または相当する部分を表す。 Hereinafter, embodiments of the present disclosure will be described with reference to the drawings. The same reference numerals in the figure represent the same or corresponding parts.

まず、本開示の実施の形態に係るグラフ表示装置100を含むサーボ制御システム1の構成について、図1を用いて説明する。
サーボ制御システム1は、3つの駆動軸を有する制御対象物の駆動状態を制御するシステムである。制御対象物は、例えば、ワークの搬送装置であり、3つの駆動軸が三次元空間内で直交する方向に延び、ワークを3つの軸方向へ移動させることが可能な装置である。
サーボ制御システム1は、グラフ表示装置100と、コントローラ200と、サーボアンプ300a、300b、300cと、サーボモータ400a、400b、400cと、通信線500とを備えている。サーボモータ400a、400b、400cは、制御対象物の3つの駆動軸それぞれに接続され、制御対象物を駆動する。コントローラ200は、制御対象物の移動先の位置の座標値、時刻などを含む制御指令値をサーボアンプ300a、300b、300cへ出力し、サーボアンプ300a、300b、300cにサーボモータ400a、400b、400cを制御させることで、制御対象物を制御する。サーボアンプ300a、300b、300cは、コントローラ200から受信した制御指令値に基づいて、サーボモータ400a、400b、400cへ出力する電流値などを制御する。
グラフ表示装置100は、各サーボモータに対する制御指令値または各サーボモータの制御結果を示す状態量、および、制御対象物に対する制御指令値または制御対象物の制御結果を示す状態量をグラフ表示することができる装置であり、グラフ表示するための液晶モニタ102と、液晶モニタ102の表示状態を制御したり表示内容を演算したりする演算装置101と、ユーザからの操作を受け付けるキーボード103およびマウス104を備えている。このグラフ表示装置100は、コンピュータで構成することができる。
グラフ表示装置100とコントローラ200とサーボアンプ300a、300b、300cとは、通信線500で接続されており、通信線500によって制御指令値や制御結果を示す状態量、その他要求信号などを送受信可能である。通信線500は、例えば、LAN(Local Alea Network)ケーブルなどである。
First, the configuration of the servo control system 1 including the graph display device 100 according to the embodiment of the present disclosure will be described with reference to FIG.
The servo control system 1 is a system that controls the drive state of a controlled object having three drive axes. The controlled object is, for example, a work transfer device, which is a device in which three drive axes extend in orthogonal directions in a three-dimensional space and the work can be moved in three axial directions.
The servo control system 1 includes a graph display device 100, a controller 200, servo amplifiers 300a, 300b, 300c, servomotors 400a, 400b, 400c, and a communication line 500. The servomotors 400a, 400b, and 400c are connected to each of the three drive shafts of the controlled object to drive the controlled object. The controller 200 outputs control command values including the coordinate values, time, etc. of the position of the movement destination of the controlled object to the servo amplifiers 300a, 300b, 300c, and the servomotors 400a, 400b, 400c to the servo amplifiers 300a, 300b, 300c. By controlling the control object, the controlled object is controlled. The servo amplifiers 300a, 300b, and 300c control the current value and the like output to the servomotors 400a, 400b, and 400c based on the control command value received from the controller 200.
The graph display device 100 graphically displays a control command value for each servomotor or a state quantity indicating a control result of each servomotor, and a control command value for a controlled object or a state quantity indicating a control result of the controlled object. A liquid crystal monitor 102 for displaying a graph, a calculation device 101 for controlling the display state of the liquid crystal monitor 102 and calculating display contents, and a keyboard 103 and a mouse 104 for receiving operations from the user. I have. The graph display device 100 can be configured by a computer.
The graph display device 100, the controller 200, and the servo amplifiers 300a, 300b, and 300c are connected by a communication line 500, and the communication line 500 can transmit and receive control command values, state quantities indicating control results, and other request signals. be. The communication line 500 is, for example, a LAN (Local Area Network) cable or the like.

次に、サーボ制御システム1を構成するグラフ表示装置100、コントローラ200、サーボアンプ300a、300b、300cの構成についてそれぞれ、図2から図6を用いて説明する。なお、サーボアンプ300a、300b、300cは同様の構成であるため、サーボアンプ300として説明する場合がある。また、サーボモータ400a、400b、400cについても同様にサーボモータ400として説明する場合がある。 Next, the configurations of the graph display device 100, the controller 200, and the servo amplifiers 300a, 300b, and 300c constituting the servo control system 1 will be described with reference to FIGS. 2 to 6, respectively. Since the servo amplifiers 300a, 300b, and 300c have the same configuration, they may be described as the servo amplifier 300. Further, the servomotors 400a, 400b, and 400c may be similarly described as the servomotor 400.

まず、グラフ表示装置100は、図2に示されるように、演算装置101がプロセッサ105、記憶装置106、およびインタフェース107を備えている。
プロセッサ105は、グラフ表示装置100全体を制御する。記憶装置106から、グラフを表示するためのグラフ表示プログラムなどの各種プログラムを読み出して実行する。
記憶装置106は、HDD(Hard Disk Drive)またはSSD(Solid State Disk)などの大容量の不揮発性の記録媒体であり、プロセッサ105が実行するグラフ表示プログラムを含む各種プログラムなどを記憶している。また、コントローラ200から受信した制御指令値や制御結果を示す状態量、その他要求指令などの情報を記憶している。
インタフェース107は、LANポート、USB(Universal Serial Bus)ポートであり、LANポートにはLANケーブルである通信線500が、USBポートには液晶モニタ102、キーボード103およびマウス104と接続されるUSBケーブル108が接続されている。インタフェース107では、演算装置101からコントローラ200および液晶モニタ102への出力信号およびコントローラ200、キーボード103およびマウス104から演算装置101への入力信号の送受信が行われる。
First, in the graph display device 100, as shown in FIG. 2, the arithmetic unit 101 includes a processor 105, a storage device 106, and an interface 107.
The processor 105 controls the entire graph display device 100. Various programs such as a graph display program for displaying a graph are read from the storage device 106 and executed.
The storage device 106 is a large-capacity non-volatile recording medium such as an HDD (Hard Disk Drive) or SSD (Solid State Disk), and stores various programs including a graph display program executed by the processor 105. It also stores information such as control command values received from the controller 200, state quantities indicating control results, and other request commands.
The interface 107 is a LAN port and a USB (Universal Serial Bus) port. The LAN port has a communication line 500 which is a LAN cable, and the USB port has a USB cable 108 connected to a liquid crystal monitor 102, a keyboard 103 and a mouse 104. Is connected. The interface 107 transmits and receives an output signal from the arithmetic unit 101 to the controller 200 and the liquid crystal monitor 102 and an input signal from the controller 200, the keyboard 103 and the mouse 104 to the arithmetic unit 101.

上記のグラフ表示プログラムは、後述する第1の制御量取得ステップ、第2の制御量取得ステップ、第1の表示ステップ、第2の表示ステップ、再生ステップ、および第3の表示ステップなどの処理ステップを、コンピュータに実行させるプログラムである。演算装置101、液晶モニタ102、キーボード103およびマウス104によって構成されるコンピュータは、プロセッサ105がグラフ表示プログラムを実行することにより、グラフ表示装置100として機能する。
次に、コンピュータをグラフ表示装置100として機能させた際のグラフ表示装置100の機能構成について図3を用いて説明する。
グラフ表示装置100は、表示部111、操作部112、通信部113、および記憶部114を備えている。表示部111は、ユーザに対してグラフ等の情報を表示するものであり、液晶モニタ102によって構成される。操作部112は、ユーザからの操作を受け付けるものであり、キーボード103およびマウス104によって構成される。通信部113は、コントローラ200に対する入出力信号の送受信を行うものでありインタフェース107によって構成される。記憶部114は、グラフ表示プログラムを含む各種プログラムおよびコントローラ200から受信した制御指令値や制御結果を示す状態量、その他要求指令などの情報を記憶するものであり、記憶装置106によって構成される。
The graph display program described above includes processing steps such as a first control amount acquisition step, a second control amount acquisition step, a first display step, a second display step, a reproduction step, and a third display step, which will be described later. Is a program that causes a computer to execute. The computer composed of the arithmetic unit 101, the liquid crystal monitor 102, the keyboard 103, and the mouse 104 functions as the graph display device 100 by the processor 105 executing the graph display program.
Next, the functional configuration of the graph display device 100 when the computer is made to function as the graph display device 100 will be described with reference to FIG.
The graph display device 100 includes a display unit 111, an operation unit 112, a communication unit 113, and a storage unit 114. The display unit 111 displays information such as a graph to the user, and is composed of a liquid crystal monitor 102. The operation unit 112 receives an operation from the user, and is composed of a keyboard 103 and a mouse 104. The communication unit 113 transmits / receives input / output signals to / from the controller 200, and is composed of an interface 107. The storage unit 114 stores various programs including a graph display program, control command values received from the controller 200, state quantities indicating control results, and other information such as request commands, and is configured by the storage device 106.

また、グラフ表示装置100は、制御量取得部115およびグラフ表示部116を備えている。
制御量取得部115は、コントローラ200から、通信部113を介して、サーボモータ400a、400b、400cに対する制御指令値またはサーボモータ400a、400b、400cの制御結果を示す状態量を時刻情報とともに取得する。このサーボモータ400に対する制御指令値は、具体的には、コントローラ200から各サーボアンプ300に送信された移動先の位置を示す指令値、あるいは、サーボアンプ300からサーボモータ400へ出力された電流値を示す電流指令値などである。各サーボモータ400の制御結果を示す状態量は、具体的には、サーボモータ400からサーボアンプ300が受信する位置に関するフィードバック値などである。
また、制御量取得部115は、コントローラ200から、通信部113を介して、サーボモータ400a、400b、400cによって駆動される制御対象物に対する制御指令値または制御対象物の制御結果を示す状態量を時刻情報とともに取得する機能を有する。この制御対象物に対する制御指令値は、制御対象物が配置された空間において直交する3つの方向それぞれにおける制御対象物の目標位置を示す数値を成分として含む座標値である。より具体的には、上記の3つの方向は3つのサーボモータ400が接続されている駆動軸と対応しているので、制御対象物に対する制御指令値は、コントローラ200が各サーボアンプ300に出力する各サーボモータ400に対する移動先の位置を示す指令値を成分とした座標値である。また、制御対象物の制御結果を示す状態量は、制御対象物が配置された空間において直交する3つの方向それぞれにおける制御対象物の実際の位置を示す数値を成分として含む座標値である。より具体的には、上記の3つの方向は3つのサーボモータ400が接続されている駆動軸と対応しているので、制御対象物に対する制御結果を示す状態量は、各サーボモータ400a、400b、400cのフィードバック値に基づいて算出される座標値である。なお、制御対象物自体、たとえばワークの把持部に位置センサを設けてその出力を座標値に変換して、制御結果を示す状態量としてもよい。
ここで、制御指令値等とともに取得される時刻情報は、制御指令値または制御結果を示す状態量がコントローラ200またはサーボアンプ300で記憶された際に同時に記憶される時刻を示す情報であり、後述のコントローラ200の内部時計213(図5参照)またはサーボアンプ300の内部時計313(図6参照)から取得された時刻である。
なお、サーボモータ400ごとの制御指令値または制御結果を示す状態量は、第1の制御量に対応する。第1の制御量と時刻情報を取得する際の制御量取得部115は、第1の制御量取得部に対応する。また、制御対象物に対する制御指令値または制御結果を示す状態量は、第2の制御量に対応する。第2の制御量と時刻情報を取得する際の制御量取得部115は、第2の制御量取得部に対応する。第1の制御量と第2の制御量をまとめて制御量という場合がある。
Further, the graph display device 100 includes a control amount acquisition unit 115 and a graph display unit 116.
The control amount acquisition unit 115 acquires a control command value for the servomotors 400a, 400b, 400c or a state quantity indicating the control result of the servomotors 400a, 400b, 400c from the controller 200 together with the time information from the controller 200 via the communication unit 113. .. Specifically, the control command value for the servo motor 400 is a command value transmitted from the controller 200 to each servo amplifier 300 to indicate the position of the movement destination, or a current value output from the servo amplifier 300 to the servo motor 400. It is a current command value indicating. The state quantity indicating the control result of each servomotor 400 is, specifically, a feedback value related to a position received by the servo amplifier 300 from the servomotor 400.
Further, the control amount acquisition unit 115 obtains a control command value for the control object driven by the servomotors 400a, 400b, 400c from the controller 200 via the communication unit 113, or a state quantity indicating the control result of the control object. It has a function to acquire with time information. The control command value for the controlled object is a coordinate value including a numerical value indicating the target position of the controlled object in each of the three orthogonal directions in the space where the controlled object is arranged as a component. More specifically, since the above three directions correspond to the drive shaft to which the three servomotors 400 are connected, the controller 200 outputs the control command value for the controlled object to each servo amplifier 300. It is a coordinate value having a command value indicating the position of the movement destination with respect to each servomotor 400 as a component. The state quantity indicating the control result of the controlled object is a coordinate value including a numerical value indicating the actual position of the controlled object in each of the three orthogonal directions in the space where the controlled object is arranged as a component. More specifically, since the above three directions correspond to the drive shaft to which the three servomotors 400 are connected, the state quantities indicating the control results for the controlled object are the servomotors 400a and 400b, respectively. It is a coordinate value calculated based on the feedback value of 400c. It should be noted that a position sensor may be provided on the gripped portion of the controlled object itself, for example, the work, and the output thereof may be converted into a coordinate value to obtain a state quantity indicating a control result.
Here, the time information acquired together with the control command value and the like is information indicating the time when the control command value or the state quantity indicating the control result is simultaneously stored in the controller 200 or the servo amplifier 300, and will be described later. It is a time acquired from the internal clock 213 (see FIG. 5) of the controller 200 or the internal clock 313 (see FIG. 6) of the servo amplifier 300.
The state quantity indicating the control command value or the control result for each servomotor 400 corresponds to the first control quantity. The control amount acquisition unit 115 for acquiring the first control amount and time information corresponds to the first control amount acquisition unit. Further, the state quantity indicating the control command value or the control result for the controlled object corresponds to the second controlled quantity. The control amount acquisition unit 115 for acquiring the second control amount and time information corresponds to the second control amount acquisition unit. The first control amount and the second control amount may be collectively referred to as a control amount.

グラフ表示部116は、表示部111を制御して、グラフの表示および上記の制御量のリストの表示を行うものであり、その詳細な構成が図4に示されている。
グラフ表示部116は、波形グラフ表示部120、軌跡グラフ表示部121、リスト表示部122、および再生部123を備えている。
波形グラフ表示部120は、第1の制御量を示すグラフを表示するための表示画面を表示部111に表示する機能を有する。この表示画面は、表示部111である液晶モニタ102の画面の一部の領域に表示される。波形グラフ表示部120は、この表示画面に、時間軸と、時間軸に直交する第1の制御量の軸とを表示し、後述する再生部123によって再生処理が行われていない場合には、第1の制御量と時刻の関係を示すグラフ(以下、波形グラフという)を静止画として表示する機能を有する。なお、波形グラフ表示部120は、ユーザの選択を受け付けて、サーボモータ400a、400b、400cそれぞれについての波形グラフを表示できるし、ユーザが選択したサーボモータ400についてだけの波形グラフを表示してもよい。本実施の形態では、ユーザがサーボモータ400a、400b、400cそれぞれについての波形グラフの表示を選択しているものする。
なお、上記の波形グラフ表示部120は第1の表示部と対応し、上記の表示画面は第1の表示画面と対応する。また、表示される波形グラフは第1のグラフと対応する。
The graph display unit 116 controls the display unit 111 to display a graph and display the above-mentioned control amount list, and the detailed configuration thereof is shown in FIG.
The graph display unit 116 includes a waveform graph display unit 120, a locus graph display unit 121, a list display unit 122, and a reproduction unit 123.
The waveform graph display unit 120 has a function of displaying a display screen for displaying a graph showing a first control amount on the display unit 111. This display screen is displayed in a part of the screen of the liquid crystal monitor 102, which is the display unit 111. The waveform graph display unit 120 displays the time axis and the axis of the first control amount orthogonal to the time axis on this display screen, and when the reproduction process is not performed by the reproduction unit 123 described later, the reproduction process is performed. It has a function of displaying a graph showing the relationship between the first controlled amount and time (hereinafter referred to as a waveform graph) as a still image. The waveform graph display unit 120 can accept the user's selection and display the waveform graph for each of the servomotors 400a, 400b, and 400c, or can display the waveform graph only for the servomotor 400 selected by the user. good. In the present embodiment, the user selects the display of the waveform graph for each of the servomotors 400a, 400b, and 400c.
The waveform graph display unit 120 corresponds to the first display unit, and the display screen corresponds to the first display screen. Further, the displayed waveform graph corresponds to the first graph.

軌跡グラフ表示部121は、制御対象物の第2の制御量を示すグラフを表示するための表示画面を表示部111に表示する機能を有する。この表示画面は、表示部111である液晶モニタ102の画面の一部の領域であって、上記の第1の表示画面とは別の領域に表示される。軌跡グラフ表示部121は、この表示画面に、制御対象物の位置を示すための、直交する3つの軸を表示し、後述する再生部123によって再生処理が行われていない場合には、第2の制御量に基づいて制御対象物の軌跡を示すグラフ(以下、軌跡グラフという)を静止画として表示する機能を有する。
なお、上記の軌跡グラフ表示部121は第2の表示部と対応し、上記の表示画面は第2の表示画面と対応する。また、表示される軌跡グラフは第2のグラフと対応する。
The locus graph display unit 121 has a function of displaying a display screen for displaying a graph showing a second controlled amount of the controlled object on the display unit 111. This display screen is a part of the screen of the liquid crystal monitor 102, which is the display unit 111, and is displayed in a region different from the first display screen described above. The locus graph display unit 121 displays three orthogonal axes on this display screen for indicating the position of the controlled object, and when the reproduction process is not performed by the reproduction unit 123 described later, the second It has a function of displaying a graph showing a locus of a controlled object (hereinafter referred to as a locus graph) as a still image based on the controlled amount of.
The locus graph display unit 121 corresponds to the second display unit, and the display screen corresponds to the second display screen. Further, the displayed locus graph corresponds to the second graph.

再生部123は、波形グラフおよび軌跡グラフの再生処理を行う機能を有する。具体的には、再生部123は、ユーザからの再生処理の操作を受け付けると波形グラフ表示部120が表示している波形グラフを非表示にし、サーボモータ400a、400b、400cそれぞれについての第1の制御量とともに制御量取得部115が取得した時刻情報に基づいて、予め定められた開始時刻から予め定められた終了時刻に向かって予め定められた速度で複数の波形グラフを順次表示、すなわち再生する機能を有する。なお、ユーザがサーボモータ400のうち一部のサーボモータしか表示選択していない場合、選択されているサーボモータの波形グラフを再生する。また、再生部123は、波形グラフの再生とともに、制御対象物についての第2の制御量とともに制御量取得部115が取得した時刻情報に基づいて、軌跡グラフを波形グラフと同期させて順次表示、すなわち再生する機能を有する。
また、再生部123には、上記の予め定められた速度とは異なる速度でグラフを表示することが可能であり、ユーザにそのうちの1つの速度を選択させ、選択された速度で再生を行う機能を有する。
The reproduction unit 123 has a function of reproducing a waveform graph and a locus graph. Specifically, the reproduction unit 123 hides the waveform graph displayed by the waveform graph display unit 120 when it receives an operation of reproduction processing from the user, and the first one for each of the servomotors 400a, 400b, and 400c. Based on the time information acquired by the control amount acquisition unit 115 together with the control amount, a plurality of waveform graphs are sequentially displayed, that is, reproduced at a predetermined speed from a predetermined start time to a predetermined end time. Has a function. When the user has selected the display of only a part of the servomotors 400, the waveform graph of the selected servomotor is reproduced. Further, the reproduction unit 123 sequentially displays the trajectory graph in synchronization with the waveform graph based on the time information acquired by the control amount acquisition unit 115 together with the reproduction of the waveform graph and the second control amount for the controlled object. That is, it has a function of reproducing.
Further, the reproduction unit 123 can display a graph at a speed different from the above-mentioned predetermined speed, and has a function of allowing the user to select one of the speeds and performing reproduction at the selected speed. Has.

リスト表示部122は、ユーザが波形グラフとして表示するものとして選択したサーボモータ400(本実施の形態ではサーボモータ400a、400b、400c)および制御対象物の制御量を時系列に並べたリストを表示するための表示画面を表示部111に表示する機能を有する。この表示画面は、表示部111である液晶モニタ102の画面の一部の領域であって、上記の第1の表示画面および第2の表示画面とは別の領域に表示される。リスト表示部122は、この表示画面に、上記のリストを表示する機能を有する。また、後述する再生部123によって再生処理が行われ開始時刻と終了時刻の間の再生時刻における波形グラフおよび軌跡グラフを表示している場合に、リスト表示部122は、リストに含まれる第1の制御量のうち再生時刻と最も近い時刻情報を持つ制御量、および、リストに含まれる第2の制御量のうち再生時刻と最も近い時刻情報を持つ制御量について、ほかの制御量とは異なる表示形式で表示する機能を有する。異なる表示形式での表示とは、例えば、その制御量だけ太字、またはハイライトで表示することをいう。
なお、リスト表示部122は第3の表示部と対応し、リスト表示部が表示する画面は第3の表示画面と対応する。
The list display unit 122 displays a list in which the servomotors 400 (servomotors 400a, 400b, 400c in the present embodiment) selected by the user to be displayed as a waveform graph and the control amounts of the controlled objects are arranged in chronological order. It has a function of displaying a display screen for displaying on the display unit 111. This display screen is a part of the screen of the liquid crystal monitor 102 which is the display unit 111, and is displayed in a region different from the first display screen and the second display screen. The list display unit 122 has a function of displaying the above list on this display screen. Further, when the reproduction process is performed by the reproduction unit 123 described later and the waveform graph and the locus graph at the reproduction time between the start time and the end time are displayed, the list display unit 122 is the first included in the list. The control amount that has the time information closest to the playback time among the control amounts, and the control amount that has the time information closest to the playback time among the second control amounts included in the list are displayed differently from other control amounts. It has a function to display in a format. Displaying in a different display format means, for example, displaying only the controlled amount in bold or highlighting.
The list display unit 122 corresponds to the third display unit, and the screen displayed by the list display unit corresponds to the third display unit.

以上、グラフ表示装置100の構成について説明した。次に、コントローラ200の構成について図2および図5を用いて説明する。
コントローラ200は、図2に示されるように、プロセッサ201、記憶装置202、およびインタフェース203を備えたものであり、プログラマブルロジックコントローラとも呼ばれる。
プロセッサ201は、コントローラ200全体を制御する。記憶装置202からサーボモータ400を制御するためのプログラム、グラフ表示装置100へ送信するための制御量を取得するプログラムなど各種プログラムを読み出して実行する。
記憶装置202は、HDD(Hard Disk Drive)またはSSD(Solid State Disk)などの大容量の不揮発性の記録媒体であり、プロセッサ201が実行する各種プログラムなどを記憶している。また、コントローラ200がサーボアンプ300へ送信する制御指令値およびサーボアンプ300から取得した制御結果を示す状態量などの制御量を記憶している。
インタフェース203は、LANポートであり、LANポートにはLANケーブルである通信線500が接続されている。インタフェース203では、グラフ表示装置100およびサーボアンプ300からの入力信号およびコントローラ200からグラフ表示装置100およびサーボアンプ300への出力信号の送受信が行われる。
The configuration of the graph display device 100 has been described above. Next, the configuration of the controller 200 will be described with reference to FIGS. 2 and 5.
As shown in FIG. 2, the controller 200 includes a processor 201, a storage device 202, and an interface 203, and is also called a programmable logic controller.
The processor 201 controls the entire controller 200. Various programs such as a program for controlling the servomotor 400 from the storage device 202 and a program for acquiring a control amount for transmission to the graph display device 100 are read and executed.
The storage device 202 is a large-capacity non-volatile recording medium such as an HDD (Hard Disk Drive) or SSD (Solid State Disk), and stores various programs executed by the processor 201. Further, the controller 200 stores a control amount such as a control command value transmitted to the servo amplifier 300 and a state amount indicating a control result acquired from the servo amplifier 300.
The interface 203 is a LAN port, and a communication line 500, which is a LAN cable, is connected to the LAN port. The interface 203 transmits and receives an input signal from the graph display device 100 and the servo amplifier 300 and an output signal from the controller 200 to the graph display device 100 and the servo amplifier 300.

次に、コントローラ200の機能構成について図5を用いて説明する。
コントローラ200は、記憶部211、通信部212、および内部時計213を備えている。記憶部211は、各種プログラムおよび制御量などを記憶しており、記憶装置202によって構成される。通信部212は、グラフ表示装置100およびサーボアンプ300に対する入出力の送受信を行うものでありインタフェース203によって構成される。内部時計213は、制御量が記憶部211に記憶される際に時刻情報を提供するものであり、後述のサーボアンプ300が備える内部時計313と同期処理がなされている。
Next, the functional configuration of the controller 200 will be described with reference to FIG.
The controller 200 includes a storage unit 211, a communication unit 212, and an internal clock 213. The storage unit 211 stores various programs, control amounts, and the like, and is configured by the storage device 202. The communication unit 212 transmits / receives input / output to / from the graph display device 100 and the servo amplifier 300, and is composed of the interface 203. The internal clock 213 provides time information when the controlled variable is stored in the storage unit 211, and is synchronized with the internal clock 313 included in the servo amplifier 300 described later.

コントローラ200は、さらに、制御指令部214および制御記録部215を備えている。制御指令部214は、各サーボアンプ300に送信する制御指令値を生成し、通信部212に当該制御指令値を送信させる機能を有する。
制御記録部215は、グラフ表示装置100が送信要求によって取得する第1の制御量と第2の制御量をいったん記憶部211に記憶する機能を有する。具体的には、制御記録部215は、制御指令部214が生成したサーボアンプ300ごとの制御指令値、各サーボアンプ300から通信線500および通信部212を介して取得した各サーボアンプ300が生成した制御指令値、および各サーボモータ400のフィードバック値を、第1の制御量として記憶部211に記憶する。また、制御記録部215は、サーボアンプ300ごとの制御指令値に基づいて算出した制御対象物の目標位置の座標値、および各サーボモータ400のフィードバック値に基づいて算出した制御対象物の実際の位置の座標値を、第2の制御量として記憶部211に記憶する。なお、どの制御量を記憶するかは、後述するように、グラフ表示装置100の制御量取得部115から出力される記録項目に基づいて決定される。
The controller 200 further includes a control command unit 214 and a control recording unit 215. The control command unit 214 has a function of generating a control command value to be transmitted to each servo amplifier 300 and causing the communication unit 212 to transmit the control command value.
The control recording unit 215 has a function of temporarily storing the first control amount and the second control amount acquired by the graph display device 100 by the transmission request in the storage unit 211. Specifically, the control recording unit 215 generates a control command value for each servo amplifier 300 generated by the control command unit 214, and each servo amplifier 300 acquired from each servo amplifier 300 via the communication line 500 and the communication unit 212. The control command value and the feedback value of each servomotor 400 are stored in the storage unit 211 as the first control amount. Further, the control recording unit 215 is an actual control object calculated based on the coordinate value of the target position of the control object calculated based on the control command value for each servo amplifier 300 and the feedback value of each servo motor 400. The coordinate value of the position is stored in the storage unit 211 as a second control amount. As will be described later, which control amount is to be stored is determined based on the recording items output from the control amount acquisition unit 115 of the graph display device 100.

以上、コントローラ200の構成について説明した。次に、サーボアンプ300の構成について図2および図6を用いて説明する。
サーボアンプ300は、図2に示されるように、プロセッサ301、記憶装置302、およびインタフェース303を備えたものであり、コントローラ200から出力される制御指令値に基づいて位置指令値、速度指令値および電流指令値を生成しサーボモータ400へ出力する電流値を決定し、当該電流値をサーボモータ400へ出力することで、サーボモータ400を制御するものである。
プロセッサ301は、サーボアンプ300全体を制御する。記憶装置302からサーボモータ400を制御するためのプログラム、コントローラ200へ送信するための制御量を取得するプログラムなど各種プログラムを読み出して実行する。
記憶装置302は、HDD(Hard Disk Drive)またはSSD(Solid State Disk)などの大容量の不揮発性の記録媒体であり、プロセッサ301が実行する各種プログラムなどを記憶している。また、サーボモータ400を制御するための位置指令値、速度指令値、電流値などの制御指令値を記憶している。さらに、サーボモータ400から取得したフィードバック値を、制御結果を示す状態量として記憶している。
インタフェース303は、LANポートおよびサーボモータ400への電流制御機器であり、LANポートにはLANケーブルである通信線500が接続されている。インタフェース203では、コントローラ200からの入力信号およびサーボアンプ300からコントローラ200への出力信号の送受信が行われる。
The configuration of the controller 200 has been described above. Next, the configuration of the servo amplifier 300 will be described with reference to FIGS. 2 and 6.
As shown in FIG. 2, the servo amplifier 300 includes a processor 301, a storage device 302, and an interface 303, and has a position command value, a speed command value, and a speed command value based on a control command value output from the controller 200. The servomotor 400 is controlled by generating a current command value, determining a current value to be output to the servomotor 400, and outputting the current value to the servomotor 400.
The processor 301 controls the entire servo amplifier 300. Various programs such as a program for controlling the servomotor 400 from the storage device 302 and a program for acquiring a control amount for transmission to the controller 200 are read and executed.
The storage device 302 is a large-capacity non-volatile recording medium such as an HDD (Hard Disk Drive) or SSD (Solid State Disk), and stores various programs executed by the processor 301. Further, control command values such as a position command value, a speed command value, and a current value for controlling the servomotor 400 are stored. Further, the feedback value acquired from the servomotor 400 is stored as a state quantity indicating a control result.
The interface 303 is a current control device for a LAN port and a servomotor 400, and a communication line 500, which is a LAN cable, is connected to the LAN port. The interface 203 transmits and receives an input signal from the controller 200 and an output signal from the servo amplifier 300 to the controller 200.

次に、サーボアンプ300の機能構成について図6を用いて説明する。
サーボアンプ300は、記憶部311、通信部312、および内部時計313を備えている。記憶部311は、各種プログラムおよび制御量などを記憶しており、記憶装置302によって構成される。通信部312は、コントローラ200に対する入出力の送受信を行うものでありインタフェース303によって構成される。内部時計313は、制御量が記憶部311に記憶される際に時刻情報を提供するものであり、コントローラ200が備える内部時計213と同期処理がなされている。
Next, the functional configuration of the servo amplifier 300 will be described with reference to FIG.
The servo amplifier 300 includes a storage unit 311, a communication unit 312, and an internal clock 313. The storage unit 311 stores various programs, control amounts, and the like, and is configured by the storage device 302. The communication unit 312 transmits / receives input / output to / from the controller 200, and is composed of an interface 303. The internal clock 313 provides time information when the controlled variable is stored in the storage unit 311 and is synchronized with the internal clock 213 included in the controller 200.

サーボアンプ300は、さらに、位置決め制御部314および制御記録部315を備えている。位置決め制御部314は、コントローラ200から受信した制御指令値に基づいて位置指令値、速度指令値、および電流指令値を生成しサーボモータ400に出力する電流値を決定し、当該電流値に対応する電流をサーボモータ400へ出力する機能を有する。制御記録部315は、位置決め制御部314が生成した位置指令値、速度指令値および電流指令値を記憶部311に記憶する機能を有する。また、制御記録部315は、サーボモータ400からの位置、速度、および電流値に関するフィードバック値を記憶部311に記憶する機能を有する。 The servo amplifier 300 further includes a positioning control unit 314 and a control recording unit 315. The positioning control unit 314 generates a position command value, a speed command value, and a current command value based on the control command value received from the controller 200, determines a current value to be output to the servomotor 400, and corresponds to the current value. It has a function of outputting a current to the servomotor 400. The control recording unit 315 has a function of storing the position command value, the speed command value, and the current command value generated by the positioning control unit 314 in the storage unit 311. Further, the control recording unit 315 has a function of storing feedback values regarding the position, speed, and current value from the servomotor 400 in the storage unit 311.

以上、サーボ制御システム1を構成するグラフ表示装置100などの構成について説明した。次に、グラフ表示装置100が、グラフを表示部111に表示するために、制御量を取得する処理について、図7から図11を用いて説明する。
グラフ表示装置100の制御量取得部115が取得する制御量は、コントローラ200およびサーボアンプ300で収集される。そのため、まず初めに、ユーザがグラフ化を希望する制御量を選択し、選択を受け付けた制御量取得部115が、コントローラ200に対して、グラフ表示のために必要な制御量を記録項目として設定するように要求する。この記録項目設定処理について図7および図8を用いて説明する。
まず、ユーザが記録項目を設定するためにグラフ表示装置100を操作して図7に示す記録項目設定用画面130を表示部111に表示させると、図8のフローチャートに示される記録項目設定処理が開始される。
The configuration of the graph display device 100 and the like constituting the servo control system 1 has been described above. Next, the process of acquiring the control amount in order for the graph display device 100 to display the graph on the display unit 111 will be described with reference to FIGS. 7 to 11.
The control amount acquired by the control amount acquisition unit 115 of the graph display device 100 is collected by the controller 200 and the servo amplifier 300. Therefore, first, the user selects the control amount desired to be graphed, and the control amount acquisition unit 115 that accepts the selection sets the control amount required for graph display to the controller 200 as a recording item. Request to do. This recording item setting process will be described with reference to FIGS. 7 and 8.
First, when the user operates the graph display device 100 to set the recording item and displays the recording item setting screen 130 shown in FIG. 7 on the display unit 111, the recording item setting process shown in the flowchart of FIG. 8 is performed. It will be started.

図7の記録項目設定用画面130は、取得ボタン131、記録項目リスト132、および設定ボタン133を含む。記録項目リスト132は、ユーザが記録項目を選択する際に選択できる項目を表示したリストである。図7の例ではすでに記録項目リスト132が作成されている状態を示しているが、図8のフローチャートの処理が開始された段階ではリストは作成、表示されていない。
ユーザが、記録項目として選択できる項目を記録項目リスト132上に表示させるために、取得ボタン131をクリックすると、図8のフローチャートに示されるように、制御量取得部115は、取得ボタン131が押下されたと判断し(ステップS101でYES)、通信部113に記録可能項目の送信を要求する取得要求信号をコントローラ200へ送信させる(ステップS102)。なお、取得ボタン131をクリックするまで、制御量取得部115は、ステップS101の判定を繰り返す。
The recording item setting screen 130 of FIG. 7 includes an acquisition button 131, a recording item list 132, and a setting button 133. The record item list 132 is a list displaying items that can be selected when the user selects a record item. The example of FIG. 7 shows a state in which the record item list 132 has already been created, but the list has not been created or displayed at the stage when the processing of the flowchart of FIG. 8 is started.
When the user clicks the acquisition button 131 in order to display the items that can be selected as the recording items on the recording item list 132, the acquisition button 131 presses the control amount acquisition unit 115 as shown in the flowchart of FIG. It is determined that this has been done (YES in step S101), and the communication unit 113 is made to transmit the acquisition request signal requesting the transmission of the recordable item to the controller 200 (step S102). The control amount acquisition unit 115 repeats the determination in step S101 until the acquisition button 131 is clicked.

コントローラ200には、コントローラ200自身および制御するサーボアンプ300で記録可能な記録項目のリストが予め記憶されており、制御量取得部115からの取得要求を受信すると、記録可能な記録項目を示す情報を制御量取得部115へ送信する。この情報を受信した制御量取得部115は、記録項目リスト132に記録可能な記録項目を表示する(ステップS103)。このように記録可能な記録項目のリストが表示された状態が図7の記録項目設定用画面130であり、左側の列に機器名としてコントローラの名称が記載され、右側の列に記録可能な項目として制御量が記載される。
記録項目リスト132は、ユーザがマウス104などで各記録項目を選択可能となっており、制御量取得部115は、ユーザからの記録項目の選択を受け付ける(ステップS104)。ユーザは、記録項目を選択後、設定ボタン133をクリックして選択を確定させる操作を行うので、制御量取得部115は、ユーザによる設定ボタン133のクリックがなされた場合に設定ボタンが押下されたと判断し(ステップS105でYES)、クリックされるまでは引き続き記録項目の選択を受け付ける(ステップS105でNO)。
設定ボタン133がクリックされた後、制御量取得部115は、ユーザが選択し受け付けた記録項目を記憶部114へ記憶し(ステップS106)、当該記録項目をコントローラ200へ送信する(ステップS107)。コントローラ200は、受信した記録項目を記憶部211に記憶する。これにより、記録項目設定処理が完了する。
The controller 200 stores in advance a list of recordable items that can be recorded by the controller 200 itself and the servo amplifier 300 that is controlled, and when an acquisition request from the control amount acquisition unit 115 is received, information indicating recordable items is indicated. Is transmitted to the control amount acquisition unit 115. Upon receiving this information, the control amount acquisition unit 115 displays the recordable record items in the record item list 132 (step S103). The state in which the list of recordable items is displayed in this way is the record item setting screen 130 of FIG. 7, the controller name is described as the device name in the left column, and the recordable item is in the right column. The control amount is described as.
In the recording item list 132, the user can select each recording item with the mouse 104 or the like, and the control amount acquisition unit 115 accepts the selection of the recording item from the user (step S104). After selecting the recording item, the user clicks the setting button 133 to confirm the selection. Therefore, the control amount acquisition unit 115 states that the setting button is pressed when the user clicks the setting button 133. It is determined (YES in step S105), and the selection of the recording item is continuously accepted until it is clicked (NO in step S105).
After the setting button 133 is clicked, the control amount acquisition unit 115 stores the recorded item selected and accepted by the user in the storage unit 114 (step S106), and transmits the recorded item to the controller 200 (step S107). The controller 200 stores the received recording item in the storage unit 211. This completes the recording item setting process.

記録項目の設定が完了したコントローラ200は、記録項目である制御量の収集を開始する。具体的には、設定が完了すると、図9のフローチャートの処理を一定の周期で繰り返す。
図9に示されるように、コントローラ200の制御記録部215は、まず、記憶部211から設定された記録項目を読み出す(ステップS111)。そして、制御記録部215は、通信部212に記録項目の送信要求信号をサーボアンプ300へ送信させる(ステップS112)。送信要求信号を受け取ったサーボアンプ300の処理は後述する(図11参照)。サーボアンプ300が送信要求信号に応えて記録項目に対応するデータを送信すると、制御記録部215は通信部212を介して当該データを受信し、記憶部211に記憶する(ステップS113)。なお、ここで、フィードバック値から位置の座標値を算出するなど、必要がある場合は、演算を行って記憶部211に記憶する。
The controller 200 that has completed the setting of the recording item starts collecting the control amount that is the recording item. Specifically, when the setting is completed, the process of the flowchart of FIG. 9 is repeated at a fixed cycle.
As shown in FIG. 9, the control recording unit 215 of the controller 200 first reads the set recording item from the storage unit 211 (step S111). Then, the control recording unit 215 causes the communication unit 212 to transmit the transmission request signal of the recording item to the servo amplifier 300 (step S112). The processing of the servo amplifier 300 that has received the transmission request signal will be described later (see FIG. 11). When the servo amplifier 300 transmits data corresponding to the recording item in response to the transmission request signal, the control recording unit 215 receives the data via the communication unit 212 and stores the data in the storage unit 211 (step S113). If it is necessary to calculate the coordinate value of the position from the feedback value, the operation is performed and stored in the storage unit 211.

また、コントローラ200の制御記録部215は、コントローラ200自らが生成した制御指令値の記憶も、図10のフローチャートの処理に沿って行う。この処理は、コントローラ200が制御指令値を生成するたびに開始される。まず、制御記録部215は、記憶部211から記録項目を読み出す(ステップS121)。そして、制御記録部215は、生成された制御指令値が記憶部211から読み出した記録項目に含まれるか否かを判定し(ステップS122)、記録項目に含まれる場合は(ステップS122でYES)、当該制御指令値を時刻情報とともに記憶部211に記憶する(ステップS123)。なお、ここで、制御指令値から位置の座標値を算出するなど、必要がある場合は、演算を行って記憶部211に記憶する。 Further, the control recording unit 215 of the controller 200 also stores the control command value generated by the controller 200 itself according to the process of the flowchart of FIG. This process is started every time the controller 200 generates a control command value. First, the control recording unit 215 reads a recording item from the storage unit 211 (step S121). Then, the control recording unit 215 determines whether or not the generated control command value is included in the recording item read from the storage unit 211 (step S122), and if it is included in the recording item (YES in step S122). , The control command value is stored in the storage unit 211 together with the time information (step S123). Here, if it is necessary to calculate the coordinate value of the position from the control command value, an operation is performed and stored in the storage unit 211.

次に、サーボアンプ300における制御量の収集処理を、図11を用いて説明する。図11のフローチャートの処理は、一定の周期で開始される。
まず、サーボアンプ300の制御記録部315は、サーボモータ400に対してフィードバック値を送信するように送信要求信号を送信する(ステップS131)。そして、サーボモータ400からフィードバック値を受信すると、内部時計313を参照して時刻情報を取得し、フィードバック値を時刻情報とともに記憶部311に記憶する(ステップS132)。
そして、制御記録部315は、コントローラ200から送信要求信号を受信しているか判定する(ステップS133)。この送信要求信号は、図9のステップS112でコントローラ200から送信されるものである。
送信要求信号を受信している場合(ステップS133でYESの場合)、制御記録部315は、記憶部311から送信要求信号で指定された記録項目に対応するデータを読み出し(ステップS134)、コントローラ200へ送信する(ステップS135)。その後、コントローラ200側では、前述の通り、コントローラ200が受信したデータを記憶部211に記憶する(図9のステップS113)。
送信要求信号を受信していない場合(ステップS133でNOの場合)、制御記録部315は、データ読み出し、送信を行わず、処理を終了する。
また、サーボアンプ300は、サーボモータ400を制御するために生成した位置指令値、速度指令値および電流指令値についても同様に、それらを生成したときに記憶部311に記憶しておき、コントローラ200からの送信要求信号があった場合に、コントローラ200に送信する。
Next, the control amount collection process in the servo amplifier 300 will be described with reference to FIG. The processing of the flowchart of FIG. 11 is started at a fixed cycle.
First, the control recording unit 315 of the servo amplifier 300 transmits a transmission request signal so as to transmit a feedback value to the servomotor 400 (step S131). Then, when the feedback value is received from the servomotor 400, the time information is acquired with reference to the internal clock 313, and the feedback value is stored in the storage unit 311 together with the time information (step S132).
Then, the control recording unit 315 determines whether or not the transmission request signal is received from the controller 200 (step S133). This transmission request signal is transmitted from the controller 200 in step S112 of FIG.
When the transmission request signal is received (YES in step S133), the control recording unit 315 reads out the data corresponding to the recording item specified by the transmission request signal from the storage unit 311 (step S134), and the controller 200. (Step S135). After that, on the controller 200 side, as described above, the data received by the controller 200 is stored in the storage unit 211 (step S113 in FIG. 9).
When the transmission request signal is not received (NO in step S133), the control recording unit 315 does not read or transmit data, and ends the process.
Further, the servo amplifier 300 also stores the position command value, the speed command value, and the current command value generated for controlling the servo motor 400 in the storage unit 311 when they are generated, and the controller 200. When there is a transmission request signal from, it is transmitted to the controller 200.

以上の図9から図11の記録項目収集処理によって、コントローラ200は、コントローラ200が各サーボアンプ300へ送信する各サーボモータ400に対する制御指令値、各サーボアンプ300が各サーボモータ400へ送信する制御指令値、および各サーボモータ400に対する制御結果を示す状態量であるサーボモータ400からのフィードバック値など、第1の制御量、第2の制御量となるものを収集する。
次に、コントローラ200が収集した上記の制御指令値およびフィードバック値である制御量を用いて、グラフ表示装置100がグラフを表示する処理について、図12から図15を用いて説明する。
By the recording item collection process of FIGS. 9 to 11 above, the controller 200 controls the control command value for each servomotor 400 transmitted by the controller 200 to each servomotor 400, and the control transmitted by each servomotor 300 to each servomotor 400. The first control amount and the second control amount, such as the command value and the feedback value from the servomotor 400, which is a state amount indicating the control result for each servomotor 400, are collected.
Next, the process of displaying the graph by the graph display device 100 using the control amount which is the control command value and the feedback value collected by the controller 200 will be described with reference to FIGS. 12 to 15.

図12のフローチャートはグラフ表示装置100がグラフを作成するためにコントローラ200から制御量および時刻情報を収集する処理であり、グラフ表示装置100がユーザからグラフ作成を行うための操作を受け付けると開始する。グラフ表示装置100の制御量取得部115は、コントローラ200から制御量を収集するために、コントローラ200に設定した記録項目とコントローラ200の情報を記憶部114から読み出す(ステップS141)。この記録項目とコントローラ200の情報は、図8の記録項目を設定する処理のフローチャートにおけるステップS106で記憶されたものである。
次に、制御量取得部115は、コントローラ200の情報に示されているコントローラを宛先とし、記録項目に対応するデータを送信するように要求する送信要求信号を生成し、通信部113に送信させる(ステップS142)。そして、コントローラ200から記録項目に対応するデータを受信し、記憶部114に記憶する(ステップS143)。なお、このデータには、制御量だけでなく制御量とともに記憶されている時刻情報も含まれる。
なお、図12に示されているステップS141からステップS143を総称して制御量取得ステップという。また、制御量取得部115が取得する制御量には第1の制御量と第2の制御量が含まれているので、制御量取得ステップは、第1の制御量の取得に着目する場合には第1の制御量取得ステップといい、第2の制御量の取得に着目する場合には第2の制御量取得ステップという。
The flowchart of FIG. 12 is a process in which the graph display device 100 collects control amount and time information from the controller 200 in order to create a graph, and starts when the graph display device 100 receives an operation for creating a graph from a user. .. The control amount acquisition unit 115 of the graph display device 100 reads out the recording items set in the controller 200 and the information of the controller 200 from the storage unit 114 in order to collect the control amount from the controller 200 (step S141). The recorded items and the information of the controller 200 are stored in step S106 in the flowchart of the process of setting the recorded items of FIG.
Next, the control amount acquisition unit 115 generates a transmission request signal requesting transmission of data corresponding to the recording item to the controller shown in the information of the controller 200, and causes the communication unit 113 to transmit the transmission request signal. (Step S142). Then, the data corresponding to the recording item is received from the controller 200 and stored in the storage unit 114 (step S143). It should be noted that this data includes not only the control amount but also the time information stored together with the control amount.
It should be noted that steps S141 to S143 shown in FIG. 12 are collectively referred to as a control amount acquisition step. Further, since the control amount acquired by the control amount acquisition unit 115 includes the first control amount and the second control amount, the control amount acquisition step is when focusing on the acquisition of the first control amount. Is called the first control amount acquisition step, and when focusing on the acquisition of the second control amount, it is called the second control amount acquisition step.

以上のようにグラフ表示装置100が制御量を取得すると、図13のフローチャートに沿って、グラフ表示装置100はグラフの表示処理およびグラフの再生処理を開始する。
グラフ表示装置100の波形グラフ表示部120は、ユーザが作成を希望する波形グラフの情報を受け付ける。波形グラフの情報とは、具体的には、どの制御量に関する波形グラフを作成するかを指示する情報であり、ユーザが複数の波形グラフの作成を希望する場合は複数の波形グラフの情報を含む。本実施の形態では、サーボモータ400a、400b、400cに関する波形グラフの作成が選択されているものとするが、一部のサーボモータ400に関する選択がされもよい。波形グラフ表示部120は、波形グラフの情報を受け付けると、表示部111である液晶モニタ102の画面の一部の領域に波形グラフ用の表示画面(第1の表示画面)を表示する。また、当該表示画面中に、表示する波形グラフに対応する制御量の軸を縦軸として表示する。制御量の軸に直交するように時間軸を横軸として表示する。さらに、波形グラフ表示部120は、図12のステップS143で記憶部114に記憶した記録項目に対応するデータに含まれる制御量と時刻情報とを読み出して、これらに基づいて、波形グラフを生成し、上記の表示画面に表示する(ステップS151)。
なお、ステップS151は、第1の表示ステップと対応する。
When the graph display device 100 acquires the control amount as described above, the graph display device 100 starts the graph display process and the graph reproduction process according to the flowchart of FIG.
The waveform graph display unit 120 of the graph display device 100 receives information on a waveform graph that the user wants to create. The waveform graph information is specifically information for instructing which control amount to create a waveform graph, and includes information on a plurality of waveform graphs if the user wishes to create a plurality of waveform graphs. .. In the present embodiment, it is assumed that the creation of the waveform graph for the servomotors 400a, 400b, and 400c is selected, but some servomotors 400 may be selected. Upon receiving the waveform graph information, the waveform graph display unit 120 displays a waveform graph display screen (first display screen) in a part of the screen of the liquid crystal monitor 102, which is the display unit 111. Further, in the display screen, the axis of the control amount corresponding to the waveform graph to be displayed is displayed as the vertical axis. The time axis is displayed as the horizontal axis so as to be orthogonal to the control amount axis. Further, the waveform graph display unit 120 reads out the control amount and the time information included in the data corresponding to the recording items stored in the storage unit 114 in step S143 of FIG. 12, and generates a waveform graph based on these. , Displayed on the above display screen (step S151).
Note that step S151 corresponds to the first display step.

次に、グラフ表示装置100の軌跡グラフ表示部121は、表示部111である液晶モニタ102の画面の一部の領域であって、波形グラフ用の表示画面と重ならない領域に軌跡グラフ用の表示画面(第2の表示画面)を表示する。また、当該表示画面中に、三次元空間を表現するための直交する3つの軸を表示する。この直交する3つの軸は、制御対象物が配置され移動可能な空間上の位置を表現するための軸である。さらに、軌跡グラフ表示部121は、図12のステップS143で記憶部114に記憶した記録項目に対応するデータに含まれる制御対象物の目標または実際の位置の座標値と時刻情報とを読み出す。この座標値と時刻情報に基づいて、軌跡グラフを生成し、上記の表示画面に表示する(ステップS152)。
なお、ステップS151は、第2の表示ステップと対応する。
Next, the locus graph display unit 121 of the graph display device 100 is a part of the screen of the liquid crystal monitor 102, which is the display unit 111, and displays the locus graph in an area that does not overlap with the display screen for the waveform graph. Display the screen (second display screen). In addition, three orthogonal axes for expressing a three-dimensional space are displayed on the display screen. These three orthogonal axes are axes for expressing the position in the space where the controlled object is arranged and can be moved. Further, the locus graph display unit 121 reads out the coordinate values and time information of the target or the actual position of the controlled object included in the data corresponding to the recording items stored in the storage unit 114 in step S143 of FIG. A locus graph is generated based on the coordinate values and the time information and displayed on the above display screen (step S152).
Note that step S151 corresponds to the second display step.

上記のように波形グラフと軌跡グラフとが表示された表示部111である液晶モニタ102の画面の例を図14に示す。
全体の表示画面のうち、左側がグラフ表示用の画面となっており、上の3つのグラフ表示画面が波形グラフ表示画面141、142、143である。この例では、1つ目の波形グラフ表示画面141には、制御対象物の3つの軸のうちの1つである軸1を駆動するサーボモータ400の実現在位置の制御量に関するグラフが表示されるようにユーザにより選択されており、縦軸が軸1を駆動するサーボモータ400の実現在位置の軸、横軸が時間軸として設定され表示されている。また、軸1を駆動するサーボモータ400の実現在位置の制御量に関する波形グラフが表示されている。
2つ目の波形グラフ表示画面142には、制御対象物の3つの軸のうちの1つである軸2を駆動するサーボモータ400の実現在位置の制御量に関するグラフが表示されるようにユーザにより選択されており、縦軸が軸2を駆動するサーボモータ400の実現在位置の軸、横軸が時間軸として設定され表示されている。また、軸2を駆動するサーボモータ400の実現在位置の制御量に関する波形グラフが表示されている。
3つ目の波形グラフ表示画面143には、制御対象物の3つの軸のうちの1つである軸3を駆動するサーボモータ400の実現在位置の制御量に関するグラフが表示されるようにユーザにより選択されており、縦軸が軸3を駆動するサーボモータ400の実現在位置の軸、横軸が時間軸として設定され表示されている。また、軸3を駆動するサーボモータ400の実現在位置の制御量に関する波形グラフが表示されている。
また、3つの波形グラフ表示画面141、142、143の下方のグラフ表示画面が軌跡グラフ表示画面144である。軌跡グラフ表示画面144には、制御対象物が配置された空間における位置を示すための3つの軸が表示されており、制御対象物の軌跡を示す軌跡グラフが表示されている。
FIG. 14 shows an example of the screen of the liquid crystal monitor 102, which is the display unit 111 in which the waveform graph and the locus graph are displayed as described above.
Of the entire display screen, the left side is the screen for graph display, and the upper three graph display screens are the waveform graph display screens 141, 142, and 143. In this example, on the first waveform graph display screen 141, a graph regarding the control amount of the actual current position of the servomotor 400 that drives the axis 1 which is one of the three axes of the controlled object is displayed. The vertical axis is set and displayed as the axis of the actual current position of the servomotor 400 that drives the axis 1, and the horizontal axis is set and displayed as the time axis. Further, a waveform graph relating to the control amount of the actual current position of the servomotor 400 that drives the axis 1 is displayed.
On the second waveform graph display screen 142, the user so as to display a graph regarding the control amount of the actual current position of the servomotor 400 that drives the axis 2 which is one of the three axes of the controlled object. The vertical axis is set and displayed as the axis of the actual current position of the servomotor 400 that drives the axis 2, and the horizontal axis is set and displayed as the time axis. Further, a waveform graph relating to the control amount of the actual current position of the servomotor 400 that drives the axis 2 is displayed.
The user can display a graph on the control amount of the actual current position of the servomotor 400 that drives the axis 3 which is one of the three axes of the controlled object on the third waveform graph display screen 143. The vertical axis is set and displayed as the axis of the actual current position of the servomotor 400 that drives the axis 3, and the horizontal axis is set and displayed as the time axis. Further, a waveform graph relating to the control amount of the actual current position of the servomotor 400 that drives the axis 3 is displayed.
Further, the graph display screen below the three waveform graph display screens 141, 142, and 143 is the locus graph display screen 144. On the locus graph display screen 144, three axes for showing the position in the space where the controlled object is arranged are displayed, and the locus graph showing the locus of the controlled object is displayed.

また、グラフ表示部116のリスト表示部122は、リスト表示を行うための表示画面(第3の表示画面)をグラフの表示画面となっている領域と重複しない領域に表示する。図14の例では各グラフの右側に表示されている。リスト表示部122は、当該表示画面内に、表示されているグラフの内容を示すグラフ設定リスト145と、波形グラフと軌跡グラフで用いられている軸に対応した制御量を時系列に表示した制御記録リスト146とを表示する。
グラフ設定リスト145は、波形グラフ表示画面141、142、143、軌跡グラフ表示画面144に表示されているグラフの情報がリスト化されたものである。表示されているグラフはナンバリングされており、上から表示されている順番に1、2、3、4とされ、この番号は最も左側の列に表示されている(NO.の列)。NO.の列の右側の列には、グラフ名が表示れる。グラフ名は、ユーザによって適宜、入力、変更が可能である。グラフ名の列の右側には、種別の列が表示されており、ここには、NO.1、2、3、4のグラフが波形グラフであるか軌跡グラフであるかが表示されている。種別については、ユーザによる入力を受け付けてもよいし、時間軸を含むグラフであるか否かによって自動的に判別して表示してもよい。種別の列の右側には、項目1、項目2および項目3の列が表示されている(図14では項目3の列は隠されており、リスト下方のスライドバーを操作することにより表示できる)。項目1の列には、波形グラフに表示されている制御量の軸の名称と、軌跡グラフに表示されている軸の1つの名称が表示されている。項目2、項目3の列には、軌跡グラフに表示されている残りの軸の名称が表示されている。これらの軸の名称は、ユーザによる入力を受け付けてもよいし、図7のフローチャートのステップS106で記憶部114に記憶した記録項目の名称(図6のリスト132参照)を読み出して表示してもよい。
制御記録リスト146は、表示されている波形グラフおよび軌跡グラフの軸に対応する制御量を時系列に並べたリストである。時系列に並べる際には、制御量とともに記憶されている時刻情報の示す時刻が用いられる。制御記録リスト146中の最も左側の列は時間の列であり、時刻が順番に表示されている。時間の列の右側の列には、制御命令の列が表示されており、制御対象物にどのような制御命令を行ったかが表示されている。この制御命令はユーザによる入力を受け付けて表示される。また、表示されている時刻と対応する制御量は、制御命令の列の右側の3つの列に表示されている。なお、図14の例では、波形グラフそれぞれの軸に対応する制御量が表示されている。軌跡グラフの3つの軸は、波形グラフの軸と共通の軸であるため、省略されている。
Further, the list display unit 122 of the graph display unit 116 displays a display screen (third display screen) for displaying the list in an area that does not overlap with the area that is the graph display screen. In the example of FIG. 14, it is displayed on the right side of each graph. The list display unit 122 displays the graph setting list 145 showing the contents of the displayed graph in the display screen, and the control amount corresponding to the axis used in the waveform graph and the locus graph in chronological order. The record list 146 is displayed.
The graph setting list 145 is a list of graph information displayed on the waveform graph display screens 141, 142, 143 and the locus graph display screen 144. The displayed graphs are numbered and are numbered 1, 2, 3, and 4 in the order they are displayed from the top, and this number is displayed in the leftmost column (NO. Column). NO. The graph name is displayed in the column to the right of the column. The graph name can be input and changed as appropriate by the user. On the right side of the graph name column, the type column is displayed, and here, NO. Whether the graphs 1, 2, 3, and 4 are waveform graphs or locus graphs are displayed. The type may be input by the user, or may be automatically determined and displayed depending on whether or not the graph includes a time axis. The columns of item 1, item 2, and item 3 are displayed on the right side of the type column (the column of item 3 is hidden in FIG. 14 and can be displayed by operating the slide bar at the bottom of the list). .. In the column of item 1, the name of the axis of the controlled variable displayed in the waveform graph and the name of one of the axes displayed in the locus graph are displayed. In the columns of item 2 and item 3, the names of the remaining axes displayed in the locus graph are displayed. The names of these axes may be input by the user, or the names of the recorded items stored in the storage unit 114 in step S106 of the flowchart of FIG. 7 (see list 132 of FIG. 6) may be read out and displayed. good.
The control record list 146 is a list in which the control quantities corresponding to the axes of the displayed waveform graph and locus graph are arranged in chronological order. When arranging in a time series, the time indicated by the time information stored together with the control amount is used. The leftmost column in the control record list 146 is the time column, and the times are displayed in order. In the column to the right of the time column, a column of control commands is displayed, and what kind of control command is given to the controlled object is displayed. This control command accepts input by the user and is displayed. Further, the displayed time and the corresponding control amount are displayed in the three columns on the right side of the control command column. In the example of FIG. 14, the control amount corresponding to each axis of the waveform graph is displayed. The three axes of the locus graph are omitted because they are common to the axes of the waveform graph.

次に、図13のフローチャートに戻って、グラフ表示装置100によるグラフの再生処理について説明する。
波形グラフ表示部120および軌跡グラフ表示部121は、再生部123がユーザから再生処理の開始操作を受け付けるまでは、静止画のグラフ表示を継続する(ステップS153でNO)、ユーザが再生処理の開始操作を行うと、再生部123は、再生操作があったと判定し(ステップS153でYES)、波形グラフ表示部120および軌跡グラフ表示部121に波形グラフと軌跡グラフを非表示にさせる。そして、再生部123は、表示する波形グラフとして選択されている制御量と時刻情報とを記憶部114から読み出し、当該制御量と当該時刻情報に基づいて開始時刻と一致する時刻から終了時刻と一致する時刻に向かって、波形グラフを順次表示する(ステップS154)。開始時刻と終了時刻は、再生処理の開始操作の際に、ユーザが入力することが可能である。
また、再生部123は、軌跡グラフを表示するために必要な制御量と時刻情報とを記憶部114から読み出し、当該制御量と当該時刻情報に基づいて、波形グラフの表示と同期させて軌跡グラフを順次表示する(ステップS155)。
なお、ステップS154とステップS155を総称して再生ステップという。
Next, returning to the flowchart of FIG. 13, the graph reproduction process by the graph display device 100 will be described.
The waveform graph display unit 120 and the locus graph display unit 121 continue to display the graph of the still image until the reproduction unit 123 receives the operation to start the reproduction process from the user (NO in step S153), and the user starts the reproduction process. When the operation is performed, the reproduction unit 123 determines that the reproduction operation has been performed (YES in step S153), and causes the waveform graph display unit 120 and the locus graph display unit 121 to hide the waveform graph and the locus graph. Then, the reproduction unit 123 reads out the control amount and the time information selected as the waveform graph to be displayed from the storage unit 114, and matches the end time from the time that matches the start time based on the control amount and the time information. The waveform graphs are sequentially displayed toward the time of day (step S154). The start time and end time can be input by the user at the time of the start operation of the reproduction process.
Further, the reproduction unit 123 reads out the control amount and the time information necessary for displaying the locus graph from the storage unit 114, and based on the control amount and the time information, synchronizes with the display of the waveform graph to the locus graph. Are sequentially displayed (step S155).
In addition, step S154 and step S155 are collectively referred to as a reproduction step.

図14の例では、グラフの再生処理の操作は、右下の操作画面147においてなされる。操作画面147には、再生/一時停止ボタン148、スロー再生/一時停止ボタン149および停止ボタン150が設けられており、ユーザはマウス104によってこれらのボタンを操作可能である。ユーザが再生/一時停止ボタン148を一度クリックすると、再生処理の開始操作の受付がなされ、再生部123による再生処理が開始される。もう一度クリックすると、再生部123によってグラフの再生表示が一時的に停止される。スロー再生/一時停止ボタン149も同様に、再生部123による再生、停止を操作するものであるが、再生/一時停止ボタン148をクリックした場合に比べ、グラフが低速で再生される。また、停止ボタン150をクリックすると、グラフの再生がリセットされ、グラフが開始時刻まで戻り再生が停止する。
ここで、グラフが再生されている様子を図15に示す。図15の左の図が再生の初期段階の様子、右の図が再生の終盤の図を示している。すなわち、左の図のほうが右の図より時刻が進んでいる。図15に示されるように、再生/一時停止ボタン148またはスロー再生/一時停止ボタン149をクリックすると、波形グラフ表示画面141、142・・・に波形グラフが再生されるとともに軌跡グラフ表示画面144に軌跡グラフが再生される。
In the example of FIG. 14, the operation of the graph reproduction process is performed on the operation screen 147 at the lower right. The operation screen 147 is provided with a play / pause button 148, a slow play / pause button 149, and a stop button 150, and the user can operate these buttons with the mouse 104. When the user clicks the play / pause button 148 once, the operation to start the play process is accepted, and the play process by the play unit 123 is started. When clicked again, the playback unit 123 temporarily stops the playback display of the graph. Similarly, the slow play / pause button 149 also operates the play / stop operation by the play unit 123, but the graph is played at a lower speed than when the play / pause button 148 is clicked. When the stop button 150 is clicked, the reproduction of the graph is reset, the graph returns to the start time, and the reproduction is stopped.
Here, FIG. 15 shows how the graph is being reproduced. The figure on the left of FIG. 15 shows the state of the initial stage of reproduction, and the figure on the right shows the figure of the final stage of reproduction. That is, the time in the figure on the left is ahead of that in the figure on the right. As shown in FIG. 15, when the play / pause button 148 or the slow play / pause button 149 is clicked, the waveform graph is played on the waveform graph display screens 141, 142, ... And the trajectory graph display screen 144. The locus graph is played.

図14に戻り、操作画面147の説明を続ける。操作画面147には、開始時刻151、終了時刻152、スライダ153、表示時刻154が設けられている。開始時刻151と終了時刻152はクリックして任意の時刻を入力可能であり、これらに時刻を入力することで開始時刻と終了時刻とが設定される。また、操作画面147では、再生/一時停止ボタン148またはスロー再生/一時停止ボタン149によって再生操作が行えるほか、スライダ153をドラッグ操作することによってグラフの再生表示が可能である。表示時刻154には、再生表示によって再生されているグラフの時刻が表示され、さらに、制御記録リスト146に含まれる制御量のうちこの時刻と最も近い時刻を示す時刻情報と対応する制御量の行が太文字またはハイライトなど、ほかの行とは異なる表示形式で表示される。
なお、再生表示によって再生されているグラフの時刻は再生時刻と対応する。また、リスト表示部122が上記のように制御記録リスト146を第3の表示画面に表示する処理、制御記録リスト146に含まれる制御量のうち再生時刻と最も近い時刻を示す時刻情報と対応する制御量の行をほかの行とは異なる表示形式で表示する処理を、第3の表示ステップという。
Returning to FIG. 14, the description of the operation screen 147 will be continued. The operation screen 147 is provided with a start time 151, an end time 152, a slider 153, and a display time 154. Any time can be input by clicking the start time 151 and the end time 152, and the start time and the end time are set by inputting the times in these. Further, on the operation screen 147, the reproduction operation can be performed by the play / pause button 148 or the slow play / pause button 149, and the graph can be reproduced and displayed by dragging the slider 153. At the display time 154, the time of the graph being reproduced by the reproduction display is displayed, and further, among the control amounts included in the control record list 146, a line of time information indicating the time closest to this time and the corresponding control amount. Is displayed in a different display format than other lines, such as bold or highlighted.
The time of the graph being reproduced by the reproduction display corresponds to the reproduction time. Further, the list display unit 122 corresponds to the process of displaying the control record list 146 on the third display screen as described above, and the time information indicating the time closest to the reproduction time among the control amounts included in the control record list 146. The process of displaying the control amount line in a display format different from that of other lines is called a third display step.

本開示の実施の形態1に係るグラフ表示プログラム、グラフ表示装置100およびグラフ表示方法は、以上のように構成されており、次のような効果を奏する。
グラフ表示プログラム、グラフ表示装置100およびグラフ表示方法は、予め定められた速度でサーボモータ400の第1の制御量に関するグラフを順次表示させるとともに制御対象物の第2の制御量に関するグラフも同期して順次表示させるので、グラフを再生するためにドラッグ操作をする必要がなく、サーボモータに関するグラフと制御対象物に関するグラフの確認作業を容易にすることができる。
The graph display program, the graph display device 100, and the graph display method according to the first embodiment of the present disclosure are configured as described above, and have the following effects.
The graph display program, the graph display device 100, and the graph display method sequentially display the graph related to the first control amount of the servomotor 400 at a predetermined speed, and also synchronize the graph related to the second control amount of the controlled object. Since it is displayed sequentially, it is not necessary to perform a drag operation to reproduce the graph, and it is possible to facilitate the confirmation work of the graph related to the servomotor and the graph related to the controlled object.

グラフ表示プログラム、グラフ表示装置100およびグラフ表示方法は、サーボモータ400の制御量と時刻の関係を示す波形グラフと、三次元空間における制御対象物の位置を示す数値に基づいて生成された軌跡グラフを同期させて順次表示することができる。よって、サーボモータの制御状態の確認と、制御対象物の制御状態の確認双方を時刻を合わせて行うことができ、サーボ制御システムの制御パラメータの調整を容易に行うことができる。 The graph display program, the graph display device 100, and the graph display method are a waveform graph showing the relationship between the controlled amount of the servomotor 400 and the time, and a locus graph generated based on numerical values showing the position of the controlled object in the three-dimensional space. Can be displayed in sequence in synchronization. Therefore, both the confirmation of the control state of the servomotor and the confirmation of the control state of the controlled object can be performed at the same time, and the control parameters of the servo control system can be easily adjusted.

グラフ表示プログラム、グラフ表示装置100およびグラフ表示方法は、波形グラフおよび軌跡グラフを予め定められた速度で順次表示できるだけでなく、当該速度とは異なる速度で再生することも可能である。よって、ユーザが確認に適した速度を選択してグラフの再生が行えるため、サーボモータに関するグラフと制御対象物に関するグラフの確認作業を容易にすることができる。 The graph display program, the graph display device 100, and the graph display method can not only sequentially display the waveform graph and the locus graph at a predetermined speed, but also can reproduce the waveform graph and the locus graph at a speed different from the speed. Therefore, since the user can select a speed suitable for confirmation and reproduce the graph, it is possible to facilitate the confirmation work of the graph related to the servomotor and the graph related to the controlled object.

グラフ表示プログラム、グラフ表示装置100およびグラフ表示方法は、波形グラフおよび軌跡グラフを表示するとともに、各グラフに用いられる制御量を時系列に並べたリストを表示することができる。よって、ユーザがグラフでサーボモータ400または制御対象物の動きをグラフで把握しつつ、リスト中の数値を見ることで、サーボ制御システムの制御パラメータの調整を精度よく行うことができる。 The graph display program, the graph display device 100, and the graph display method can display a waveform graph and a locus graph, and can display a list in which the control amounts used for each graph are arranged in chronological order. Therefore, the user can accurately adjust the control parameters of the servo control system by looking at the numerical values in the list while grasping the movement of the servomotor 400 or the controlled object in the graph.

グラフ表示プログラム、グラフ表示装置100およびグラフ表示方法は、各グラフに用いられる制御量を時系列に並べたリストのうち、グラフが再生されている再生時刻に対応する制御量をほかの制御量とは異なる表示形式で表示することができる。よって、ユーザがより一層、グラフに対応するリスト中の数値を把握しやすくすることができ、サーボ制御システムの制御パラメータの調整を容易かつ精度よく行うことができる。 In the graph display program, the graph display device 100, and the graph display method, in the list in which the control amounts used for each graph are arranged in chronological order, the control amount corresponding to the reproduction time at which the graph is being reproduced is combined with other control amounts. Can be displayed in different display formats. Therefore, it is possible for the user to more easily grasp the numerical values in the list corresponding to the graph, and it is possible to easily and accurately adjust the control parameters of the servo control system.

ここで、本開示の実施の形態に係るグラフ表示プログラム、グラフ表示装置100およびグラフ表示方法の変形例の説明および補足説明を行う。
実施の形態では、制御対象物として三次元でワークを搬送可能な搬送装置の例を挙げたが、二次元の搬送装置でもよいし、ワーク以外のもの、例えば加工用の工具などを移動させる装置でもよい。また、複数の駆動軸を有するロボットアームなどでもよい。
また、制御対象物は複数あってもよく、コントローラ200も制御対象物の数または制御する内容に合わせて複数あってもよい。この場合、グラフ表示装置100は、各コントローラ200に記録項目の設定を行い、各コントローラ200から記録項目の収集を行う。コントローラ200が複数ある場合であっても、グラフ表示装置100が一括して制御量を収集してグラフ表示できるため、ユーザの利便性を向上できる。
また、コントローラ200同士が同期していない場合でも、グラフ表示装置100に各コントローラ200の時刻のずれを把握させるようにすれば、コントローラ200ごとの時刻情報のずれを修正することができる。
Here, a modified example of the graph display program, the graph display device 100, and the graph display method according to the embodiment of the present disclosure will be described and supplementary explanations will be given.
In the embodiment, an example of a transport device capable of transporting a work in three dimensions has been given as a controlled object, but a two-dimensional transport device may be used, or a device for moving a device other than the work, for example, a tool for machining. But it may be. Further, a robot arm having a plurality of drive shafts may be used.
Further, there may be a plurality of controlled objects, and there may be a plurality of controllers 200 according to the number of controlled objects or the content to be controlled. In this case, the graph display device 100 sets recording items in each controller 200 and collects recording items from each controller 200. Even when there are a plurality of controllers 200, the graph display device 100 can collectively collect the control amount and display the graph, so that the convenience of the user can be improved.
Further, even when the controllers 200 are not synchronized with each other, if the graph display device 100 is made to grasp the time difference of each controller 200, the time difference of each controller 200 can be corrected.

また、実施の形態では、制御指令値および制御結果を示す状態量は、主に、位置を示すものとして説明したが、速度を示すもの、加速度を示すものであってもよい。 Further, in the embodiment, the control command value and the state quantity indicating the control result are mainly described as indicating the position, but may indicate the speed or the acceleration.

実施の形態では、波形グラフ表示部120と軌跡グラフ表示部121が、表示部111に波形グラフと軌跡グラフを表示していたが、グラフ表示部116がユーザから任意のグラフ形式、軸の入力を受け付け、ユーザが選択した複数のグラフを表示するようにしてもよい。 In the embodiment, the waveform graph display unit 120 and the locus graph display unit 121 display the waveform graph and the locus graph on the display unit 111, but the graph display unit 116 inputs an arbitrary graph format and axis from the user. It may be accepted and a plurality of graphs selected by the user may be displayed.

本開示のグラフ表示プログラム、グラフ表示装置およびグラフ表示方法は、サーボ制御システムの制御パラメータの調整の際に利用することができる。 The graph display program, graph display device, and graph display method of the present disclosure can be used when adjusting the control parameters of the servo control system.

1 サーボ制御システム、100 グラフ表示装置、101 演算装置、102 液晶モニタ、103 キーボード、104 マウス、105 プロセッサ、106 記憶装置、107 インタフェース、108 USBケーブル、111 表示部、112 操作部、113 通信部、114 記憶部、115 制御量取得部、116 グラフ表示部、120 波形グラフ表示部、121 軌跡グラフ表示部、122 リスト表示部、123 再生部、130 記録項目設定用画面、131 取得ボタン、132 記録項目リスト、133 設定ボタン、141 波形グラフ表示画面、142 波形グラフ表示画面、143 波形グラフ表示画面、144 軌跡グラフ表示画面、145 グラフ設定リスト、146 制御記録リスト、147 操作画面、148 再生/一時停止ボタン、149 スロー再生/一時停止ボタン、150 停止ボタン、151 開始時刻、152 終了時刻、153 スライダ、154 表示時刻、200 コントローラ、201 プロセッサ、202 記憶装置、203 インタフェース、211 記憶部、212 通信部、213 内部時計、214 制御指令部、215 制御記録部、300 サーボアンプ、301 プロセッサ、302 記憶装置、303 インタフェース、311 記憶部、312 通信部、313 内部時計、314 位置決め制御部、315 制御記録部、400サーボモータ、500 通信線 1 Servo control system, 100 graph display device, 101 arithmetic unit, 102 liquid crystal monitor, 103 keyboard, 104 mouse, 105 processor, 106 storage device, 107 interface, 108 USB cable, 111 display unit, 112 operation unit, 113 communication unit, 114 Storage unit, 115 Control amount acquisition unit, 116 Graph display unit, 120 Waveform graph display unit, 121 Trajectory graph display unit, 122 List display unit, 123 Playback unit, 130 Recording item setting screen, 131 Acquisition button, 132 Recording items List, 133 setting button, 141 waveform graph display screen, 142 waveform graph display screen, 143 waveform graph display screen, 144 trajectory graph display screen, 145 graph setting list, 146 control record list, 147 operation screen, 148 play / pause button 149 Slow play / pause button, 150 stop button, 151 start time, 152 end time, 153 slider, 154 display time, 200 controller, 201 processor, 202 storage device, 203 interface, 211 storage unit, 212 communication unit, 213 Internal clock, 214 control command unit, 215 control recording unit, 300 servo amplifier, 301 processor, 302 storage device, 303 interface, 311 storage unit, 312 communication unit, 313 internal clock, 314 positioning control unit, 315 control recording unit, 400 Servo motor, 500 communication line

Claims (5)

複数のサーボモータそれぞれについて、前記サーボモータに対する制御指令値または前記サーボモータの制御結果を示す状態量を第1の制御量として時刻情報とともに取得する第1の制御量取得ステップと、
前記複数のサーボモータによって駆動される制御対象物に対する制御指令値または前記制御対象物の制御結果を示す状態量を第2の制御量として時刻情報とともに取得する第2の制御量取得ステップと、
前記第1の制御量を示す第1のグラフを表示するための第1の表示画面を表示する第1の表示ステップと、
前記第2の制御量を示す第2のグラフを表示するための第2の表示画面を表示する第2の表示ステップと、
前記第1の制御量とともに取得された時刻情報に基づいて予め定められた開始時刻から終了時刻に向かって前記第1の表示画面に予め定められた速度で前記第1のグラフを順次表示するとともに、前記第2の制御量とともに取得された時刻情報に基づいて前記第2の表示画面に前記第1のグラフの表示と同期させて前記第2のグラフを順次表示する再生ステップと、
前記第1の制御量取得ステップおよび前記第2の制御量取得ステップで取得された前記第1の制御量および前記第2の制御量を時系列に並べたリストを第3の表示画面に表示し、前記再生ステップにおいて前記第1のグラフを前記開始時刻から前記終了時刻に向かって順次表示する際に前記開始時刻と前記終了時刻の間の再生時刻における前記第1のグラフを表示している場合に、前記リストに含まれる前記第1の制御量のうち前記第1の制御量とともに取得された時刻情報が示す時刻が前記再生時刻に最も近い第1の制御量と、前記リストに含まれる前記第2の制御量のうち前記第2の制御量とともに取得された時刻情報が示す時刻が前記再生時刻に最も近い第2の制御量とをほかの第1の制御量および第2の制御量とは異なる表示形式で表示する第3の表示ステップと、
をコンピュータに実行させることを特徴とするグラフ表示プログラム。
For each of the plurality of servomotors, the first control amount acquisition step of acquiring the control command value for the servomotor or the state amount indicating the control result of the servomotor as the first control amount together with the time information.
A second control amount acquisition step of acquiring a control command value for a control object driven by the plurality of servomotors or a state quantity indicating a control result of the control object as a second control amount together with time information.
A first display step for displaying a first display screen for displaying a first graph showing the first control amount, and a first display step.
A second display step for displaying a second display screen for displaying the second graph showing the second control amount, and a second display step.
The first graph is sequentially displayed on the first display screen at a predetermined speed from a predetermined start time to an end time based on the time information acquired together with the first control amount. A reproduction step of sequentially displaying the second graph on the second display screen in synchronization with the display of the first graph based on the time information acquired together with the second control amount.
A list in which the first control amount and the second control amount acquired in the first control amount acquisition step and the second control amount acquisition step are arranged in chronological order is displayed on the third display screen. When the first graph is sequentially displayed from the start time to the end time in the reproduction step, the first graph at the reproduction time between the start time and the end time is displayed. In addition, among the first control amounts included in the list, the first control amount whose time indicated by the time information acquired together with the first control amount is closest to the reproduction time, and the first control amount included in the list. Of the second control amount, the second control amount whose time indicated by the time information acquired together with the second control amount is closest to the reproduction time is used as the other first control amount and the second control amount. Is a third display step that displays in a different display format ,
A graph display program characterized by having a computer execute.
前記第2の制御量取得ステップにおいて取得される前記第2の制御量は、前記制御対象物が配置された空間において直交する複数の方向それぞれにおける前記制御対象物の目標または実際の位置を示す数値であり、
前記第1のグラフは、前記サーボモータの前記第1の制御量と時刻の関係を示すグラフであり、
前記第2のグラフは、前記位置を示す数値に基づいて生成された前記制御対象物の軌跡を示すグラフである
ことを特徴とする請求項1に記載のグラフ表示プログラム。
The second controlled variable acquired in the second controlled variable acquisition step is a numerical value indicating a target or an actual position of the controlled object in each of a plurality of orthogonal directions in the space in which the controlled object is arranged. And
The first graph is a graph showing the relationship between the first control amount of the servomotor and the time.
The graph display program according to claim 1, wherein the second graph is a graph showing a locus of the controlled object generated based on a numerical value indicating the position.
前記再生ステップでは、前記予め定められた速度とは異なる速度で前記第1のグラフを順次表示することが可能であり、前記予め定められた速度と前記異なる速度とからユーザに選択させることが可能であり、前記ユーザが選択した速度で前記第1のグラフを順次表示する
ことを特徴とする請求項1または請求項2に記載のグラフ表示プログラム。
In the reproduction step, the first graph can be sequentially displayed at a speed different from the predetermined speed, and the user can select from the predetermined speed and the different speed. The graph display program according to claim 1 or 2, wherein the first graph is sequentially displayed at a speed selected by the user.
複数のサーボモータそれぞれについて、前記サーボモータに対する制御指令値または前記サーボモータの制御結果を示す状態量を第1の制御量として時刻情報とともに取得する第1の制御量取得部と、
前記複数のサーボモータによって駆動される制御対象物に対する制御指令値または前記制御対象物の制御結果を示す状態量を第2の制御量として時刻情報とともに取得する第2の制御量取得部と、
前記第1の制御量を示す第1のグラフを表示するための第1の表示画面を表示する第1の表示部と、
前記第2の制御量を示す第2のグラフを表示するための第2の表示画面を表示する第2の表示部と、
前記第1の制御量とともに取得された時刻情報に基づいて予め定められた開始時刻から終了時刻に向かって前記第1の表示画面に予め定められた速度で前記第1のグラフを順次表示するとともに、前記第2の制御量とともに取得された時刻情報に基づいて前記第2の表示画面に前記第1のグラフの表示と同期させて前記第2のグラフを順次表示する再生部と、
前記第1の制御量取得部および前記第2の制御量取得部で取得された前記第1の制御量および前記第2の制御量を時系列に並べたリストを第3の表示画面に表示し、前記再生部が前記第1のグラフを前記開始時刻から前記終了時刻に向かって順次表示する際に前記開始時刻と前記終了時刻の間の再生時刻における前記第1のグラフを表示している場合に、前記リストに含まれる前記第1の制御量のうち前記第1の制御量とともに取得された時刻情報が示す時刻が前記再生時刻に最も近い第1の制御量と、前記リストに含まれる前記第2の制御量のうち前記第2の制御量とともに取得された時刻情報が示す時刻が前記再生時刻に最も近い第2の制御量とをほかの第1の制御量および第2の制御量とは異なる表示形式で表示する第3の表示部、
を備えたグラフ表示装置。
For each of the plurality of servomotors, a first control amount acquisition unit that acquires a control command value for the servomotor or a state amount indicating the control result of the servomotor as a first control amount together with time information.
A second control amount acquisition unit that acquires a control command value for a control object driven by the plurality of servomotors or a state quantity indicating a control result of the control object as a second control amount together with time information.
A first display unit for displaying a first display screen for displaying a first graph showing the first control amount, and a first display unit.
A second display unit that displays a second display screen for displaying a second graph showing the second control amount, and a second display unit.
The first graph is sequentially displayed on the first display screen at a predetermined speed from a predetermined start time to an end time based on the time information acquired together with the first control amount. A playback unit that sequentially displays the second graph on the second display screen in synchronization with the display of the first graph based on the time information acquired together with the second control amount.
A list in which the first control amount and the second control amount acquired by the first control amount acquisition unit and the second control amount acquisition unit are arranged in chronological order is displayed on the third display screen. When the reproduction unit sequentially displays the first graph from the start time to the end time, the first graph at the reproduction time between the start time and the end time is displayed. In addition, among the first control amounts included in the list, the first control amount whose time indicated by the time information acquired together with the first control amount is closest to the reproduction time, and the first control amount included in the list. Of the second control amount, the second control amount whose time indicated by the time information acquired together with the second control amount is closest to the reproduction time is used as the other first control amount and the second control amount. Is a third display unit that displays in a different display format ,
Graph display device equipped with.
第1の制御量取得部が、複数のサーボモータそれぞれについて、前記サーボモータに対する制御指令値または前記サーボモータの制御結果を示す状態量を第1の制御量として時刻情報とともに取得する第1の制御量取得ステップと、
制御量取得部が、前記複数のサーボモータによって駆動される制御対象物に対する制御指令値または前記制御対象物の制御結果を示す状態量を第2の制御量として時刻情報とともに取得する第2の制御量取得ステップと、
第1の表示部が、前記第1の制御量を示す第1のグラフを表示するための第1の表示画面を表示する第1の表示ステップと、
第2の表示部が、前記第2の制御量を示す第2のグラフを表示するための第2の表示画面を表示する第2の表示ステップと、
再生部が、前記第1の制御量とともに取得された時刻情報に基づいて予め定められた開始時刻から終了時刻に向かって前記第1の表示画面に予め定められた速度で前記第1のグラフを順次表示するとともに、前記第2の制御量とともに取得された時刻情報に基づいて前記第2の表示画面に前記第1のグラフの表示と同期させて前記第2のグラフを順次表示する再生ステップと、
第3の表示部が、前記第1の制御量取得ステップおよび前記第2の制御量取得ステップで取得された前記第1の制御量および前記第2の制御量を時系列に並べたリストを第3の表示画面に表示し、前記再生ステップにおいて前記第1のグラフを前記開始時刻から前記終了時刻に向かって順次表示する際に前記開始時刻と前記終了時刻の間の再生時刻における前記第1のグラフを表示している場合に、前記リストに含まれる前記第1の制御量のうち前記第1の制御量とともに取得された時刻情報が示す時刻が前記再生時刻に最も近い第1の制御量と、前記リストに含まれる前記第2の制御量のうち前記第2の制御量とともに取得された時刻情報が示す時刻が前記再生時刻に最も近い第2の制御量とをほかの第1の制御量および第2の制御量とは異なる表示形式で表示する第3の表示ステップと、
を備えたグラフ表示方法。
A first control in which the first control amount acquisition unit acquires a control command value for the servomotor or a state amount indicating the control result of the servomotor as the first control amount together with time information for each of the plurality of servomotors. Quantity acquisition step and
A second control in which the control amount acquisition unit acquires a control command value for a controlled object driven by the plurality of servomotors or a state quantity indicating a control result of the controlled object as a second control amount together with time information. Quantity acquisition step and
A first display step in which the first display unit displays a first display screen for displaying a first graph showing the first control amount, and a first display step.
A second display step in which the second display unit displays a second display screen for displaying the second graph showing the second control amount, and
The reproduction unit displays the first graph at a predetermined speed on the first display screen from a predetermined start time to an end time based on the time information acquired together with the first control amount. A reproduction step of sequentially displaying the second graph in synchronization with the display of the first graph on the second display screen based on the time information acquired together with the second control amount. ,
The third display unit sets a list in which the first control amount and the second control amount acquired in the first control amount acquisition step and the second control amount acquisition step are arranged in chronological order. When the first graph is sequentially displayed from the start time to the end time in the reproduction step, the first graph is displayed at the reproduction time between the start time and the end time. When the graph is displayed, the time indicated by the time information acquired together with the first control amount among the first control amounts included in the list is the first control amount closest to the reproduction time. , The second control amount whose time indicated by the time information acquired together with the second control amount among the second control amounts included in the list is the closest to the reproduction time, and the other first control amount. And a third display step that displays in a display format different from the second control amount ,
Graph display method with.
JP2021570159A 2020-11-25 2020-11-25 Graph display program, graph display device, graph display method Active JP7086312B1 (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/JP2020/043799 WO2022113198A1 (en) 2020-11-25 2020-11-25 Graph display program, graph display device, and graph display method

Publications (2)

Publication Number Publication Date
JPWO2022113198A1 JPWO2022113198A1 (en) 2022-06-02
JP7086312B1 true JP7086312B1 (en) 2022-06-17

Family

ID=81754216

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2021570159A Active JP7086312B1 (en) 2020-11-25 2020-11-25 Graph display program, graph display device, graph display method

Country Status (3)

Country Link
JP (1) JP7086312B1 (en)
CN (1) CN116324653A (en)
WO (1) WO2022113198A1 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0686580A (en) * 1992-09-01 1994-03-25 Fanuc Ltd Display method for servo wave
JP2008212651A (en) * 2007-02-05 2008-09-18 Sega Corp Motion data making apparatus, motion data making method, and motion data making program
JP2011022688A (en) * 2009-07-14 2011-02-03 Fanuc Ltd Tool path display apparatus for machine tool
WO2013171875A1 (en) * 2012-05-17 2013-11-21 三菱電機株式会社 Servo parameter adjustment device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0686580A (en) * 1992-09-01 1994-03-25 Fanuc Ltd Display method for servo wave
JP2008212651A (en) * 2007-02-05 2008-09-18 Sega Corp Motion data making apparatus, motion data making method, and motion data making program
JP2011022688A (en) * 2009-07-14 2011-02-03 Fanuc Ltd Tool path display apparatus for machine tool
WO2013171875A1 (en) * 2012-05-17 2013-11-21 三菱電機株式会社 Servo parameter adjustment device

Also Published As

Publication number Publication date
CN116324653A (en) 2023-06-23
WO2022113198A1 (en) 2022-06-02
JPWO2022113198A1 (en) 2022-06-02

Similar Documents

Publication Publication Date Title
US8588955B2 (en) Method and apparatus for optimizing, monitoring, or analyzing a process
TWI498693B (en) Multi-axes control system setting and adjusting functions support device
JP2020013526A (en) Programmable logic controller and main unit
JP2012528366A (en) Virtual machine tool that displays processing unit operations and generates process data from user input
JP2020013527A (en) Programmable logic controller and program formation assistance device
JPS62277244A (en) Accommodation control device for machine tool
JPWO2019064916A1 (en) Robot simulator
JP7086312B1 (en) Graph display program, graph display device, graph display method
US6798416B2 (en) Generating animation data using multiple interpolation procedures
JP2019171498A (en) Robot program execution device, robot program execution method and program
JPWO2019064917A1 (en) Robot simulator
JP7173826B2 (en) Programmable logic controller system, programming support device and computer program
JP7212496B2 (en) Programmable logic controller system, programming support device and computer program
JP5788125B1 (en) System construction support apparatus, method, and recording medium
JP5550292B2 (en) Cell image display device
WO2020059342A1 (en) Robot simulator
JP6737824B2 (en) Control device, control method, and control program
US11385615B2 (en) Control data generation device, control data generation method, and storage medium
JP7218459B1 (en) Information processing equipment, machine tools and information processing programs
JP7405714B2 (en) programmable logic controller
JP7412076B2 (en) Engineering tools for programmable logic controllers
US20230004482A1 (en) Simulation system, method for simulation system, and non-transitory computer-readable storage medium storing simulation program
KR102044448B1 (en) System building support device, system building support method and system building support program
JP6494085B2 (en) Work procedure manual creation device
JP5047103B2 (en) Three-dimensional moving image reproducing apparatus, three-dimensional moving image reproducing method and program thereof

Legal Events

Date Code Title Description
A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20211125

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20211125

A871 Explanation of circumstances concerning accelerated examination

Free format text: JAPANESE INTERMEDIATE CODE: A871

Effective date: 20211125

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20220301

RD01 Notification of change of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7421

Effective date: 20220304

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20220324

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20220607

R150 Certificate of patent or registration of utility model

Ref document number: 7086312

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150