JP6840288B1 - Display support program, computer-readable storage medium that stores the program, display support method, and display support system - Google Patents

Display support program, computer-readable storage medium that stores the program, display support method, and display support system Download PDF

Info

Publication number
JP6840288B1
JP6840288B1 JP2020509135A JP2020509135A JP6840288B1 JP 6840288 B1 JP6840288 B1 JP 6840288B1 JP 2020509135 A JP2020509135 A JP 2020509135A JP 2020509135 A JP2020509135 A JP 2020509135A JP 6840288 B1 JP6840288 B1 JP 6840288B1
Authority
JP
Japan
Prior art keywords
diagram
synchronization
control program
display support
parameter
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
JP2020509135A
Other languages
Japanese (ja)
Other versions
JPWO2020194424A1 (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
Application granted granted Critical
Publication of JP6840288B1 publication Critical patent/JP6840288B1/en
Publication of JPWO2020194424A1 publication Critical patent/JPWO2020194424A1/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
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/04Programme control other than numerical control, i.e. in sequence controllers or logic controllers
    • G05B19/05Programmable logic controllers, e.g. simulating logic interconnections of signals according to ladder diagrams or function charts

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Programmable Controllers (AREA)

Abstract

表示支援プログラム12bは、動作の基準となるマスタ軸の識別情報及びマスタ軸に連動するスレーブ軸の識別情報を入力変数とするソフトウェアモジュールが複数組み合わされて構成されるとともにFBDによって記述された同期制御プログラム12dから同期パラメータ12fを読み出すパラメータ読出ステップS11と、パラメータ読出ステップS11によって読み出した同期パラメータ12fに対応する機構要素図123a〜123eを選択する機構要素図選択ステップS12と、機構要素図選択ステップS12によって選択した機構要素図123a〜123eを組み合わせて機構図12gを生成する機構図生成ステップS13〜S16と、機構図生成ステップS13〜S16によって生成した機構図12gを表示装置14の表示画面14aに表示する表示ステップS16と、をコンピュータ10に実行させる。The display support program 12b is configured by combining a plurality of software modules having the identification information of the master axis as the operation reference and the identification information of the slave axis linked to the master axis as input variables, and the synchronous control described by the FBD. A parameter read step S11 for reading the synchronization parameter 12f from the program 12d, a mechanism element diagram selection step S12 for selecting the mechanism element diagrams 123a to 123e corresponding to the synchronization parameters 12f read by the parameter read step S11, and a mechanism element diagram selection step S12. The mechanical diagram generation steps S13 to S16 for generating the mechanical diagram 12g by combining the mechanical element diagrams 123a to 123e selected by the above and the mechanical diagram 12g generated by the mechanical diagram generation steps S13 to S16 are displayed on the display screen 14a of the display device 14. Display step S16 and the display step S16 to be performed are executed by the computer 10.

Description

本発明は、表示支援プログラム、同プログラムを記憶したコンピュータ可読記憶媒体、表示支援方法、及び表示支援システムに関する。 The present invention relates to a display support program, a computer-readable storage medium that stores the program, a display support method, and a display support system.

モータ制御において、動作の基準となるマスタ軸と、当該マスタ軸に連動するスレーブ軸の動作タイミングを一致させて制御することを同期制御と呼ぶ。従来、マスタ軸とスレーブ軸とを例えばカムやギア等を介して機械的に連動させることにより同期制御が行われていた。しかし、装置の小型化や高性能化を目的に、近年では、個々のモータを個別に制御することでマスタ軸とスレーブ軸とを電気的に連動させることにより同期制御を行うことが多くなっている。 In motor control, controlling the master axis, which is the reference of operation, and the operation timing of the slave axis linked to the master axis in accordance with each other is called synchronous control. Conventionally, synchronous control has been performed by mechanically interlocking the master shaft and the slave shaft via, for example, a cam or a gear. However, in recent years, for the purpose of miniaturization and high performance of the device, synchronous control is often performed by electrically interlocking the master axis and the slave axis by individually controlling each motor. There is.

このような同期制御を行うためには、同期制御プログラムを作成する必要があり、一般に、多数のスレーブ軸の動作を記述する必要がある。ここで、例えば、カム動作及びギア動作等の各軸の機能をモジュール化し、このモジュール化されたソフトウェアモジュールを組み合わせて同期制御プログラムを作成することで、同期制御プログラムの作成工程の簡単化が図られている。 In order to perform such synchronous control, it is necessary to create a synchronous control program, and generally, it is necessary to describe the operation of a large number of slave axes. Here, for example, by modularizing the functions of each axis such as cam operation and gear operation and creating a synchronous control program by combining the modularized software modules, the process of creating the synchronous control program can be simplified. Has been done.

こうした同期制御のソフトウェアモジュールの組み合わせ手法には、大別して、2種類の組み合わせ手法がある。このうち、1つは、例えば、ラダー言語、FBD(Function Block Diagram)、C言語、ST(Structured Text)言語、SFC(Sequential Function Chart)言語等の汎用言語を用いて、同期制御のソフトウェアモジュールをサブルーチンプログラムとして設定する方法である。 There are roughly two types of combination methods for such synchronous control software modules. Among these, one is a software module for synchronous control using a general-purpose language such as a ladder language, an FBD (Funkion Block Diagram), a C language, an ST (Structured Text) language, or an SFC (Sequential Function Chart) language. This is a method of setting as a subroutine program.

そして、これら汎用言語で記述されたプログラムの視認を容易化する技術として、例えば特許文献1に記載の技術が知られており、ラダー言語によって記述される制御プログラムを、各制御工程を実行する機器を関数で定義したブロックで表すと共に実行順序を付してパーソナルコンピュータの表示画面に表示し、制御プログラムのシミュレーションを行う技術について開示されている。 As a technique for facilitating the visual recognition of programs written in these general-purpose languages, for example, the technique described in Patent Document 1 is known, and a control program written in a ladder language is used as a device for executing each control step. Is represented by a block defined by a function, and is displayed on a display screen of a personal computer with an execution order, and a technique for simulating a control program is disclosed.

もう1つは、種々のソフトウェアモジュールの機能に対応する例えばカムやギア等の機械部品が機構要素図として予め用意されており、ユーザがこの機構要素図を選択して配置し機構図を作成することで、機構図に対応する同期制御プログラムを作成する方法である。こうした方法に関し、予め用意された機構要素図だけにとらわれず、機構図によるプログラムの制御アルゴリズムの自由度を高める技術として、例えば特許文献2に記載の技術が知られており、同期関係を図示する機構要素図を配置して機構図を描画しつつ、機構要素図に対応するソフトウェアモジュールの設定値を外部から入力されるパラメータによって変更可能とし、汎用言語を用いて機構要素図のパラメータの設定を変更する技術が開示されている。 The other is that mechanical parts such as cams and gears corresponding to the functions of various software modules are prepared in advance as mechanical element diagrams, and the user selects and arranges the mechanical element diagrams to create a mechanical diagram. This is a method of creating a synchronization control program corresponding to the mechanism diagram. Regarding such a method , for example, the technique described in Patent Document 2 is known as a technique for increasing the degree of freedom of the control algorithm of the program by the mechanism diagram, not limited to the mechanism element diagram prepared in advance, and the synchronization relationship is illustrated. While arranging the mechanism element diagram and drawing the mechanism diagram, the setting values of the software module corresponding to the mechanism element diagram can be changed by the parameters input from the outside, and the parameters of the mechanism element diagram can be set using a general-purpose language. The technology to be changed is disclosed.

特開2009−080738号公報JP-A-2009-080738 国際公開第2016/002898号公報International Publication No. 2016/002898

上記特許文献1の技術によれば、ラダー言語で記述されるシーケンスプログラムの実行順序を可視化して視認することができるようにはなる。しかしながら、マスタ軸とスレーブ軸との同期関係について可視化することはできない。また、上記特許文献2の技術によれば、同期制御に特化しない汎用言語と機構図によるプログラミングを併用することで、機構図のみを用いる方法と比較して、制御アルゴリズムの自由度を高めることはできるようにはなる。しかしながら、ユーザは、汎用言語によるプログラム作成の作業に加え、機構図の作成の作業が必要となるため、ユーザの作業工数が多い。 According to the technique of Patent Document 1, the execution order of the sequence program described in the ladder language can be visualized and visually recognized. However, it is not possible to visualize the synchronization relationship between the master axis and the slave axis. Further, according to the technique of Patent Document 2, by using a general-purpose language that is not specialized in synchronous control and programming using a mechanism diagram together, the degree of freedom of the control algorithm can be increased as compared with the method using only the mechanism diagram. Will be able to. However, since the user needs to create a mechanism diagram in addition to the work of creating a program in a general-purpose language, the man-hours of the user are large.

本発明は、上記に鑑みてなされたものであって、汎用言語により記述される同期制御プログラムにおけるマスタ軸とスレーブ軸の同期関係を、より少ない作業工数で可視化することが可能な、表示支援プログラム、同プログラムを記憶したコンピュータ可読記憶媒体、表示支援方法、及び表示支援システムを提供することを目的とする。 The present invention has been made in view of the above, and is a display support program capable of visualizing the synchronization relationship between the master axis and the slave axis in a synchronization control program written in a general-purpose language with less work man-hours. , A computer-readable storage medium that stores the program, a display support method, and a display support system.

上記目的を達成するため、請求項1に記載の発明では、FBD言語またはST言語を含む複数の汎用言語によって記述可能な同期制御プログラムから機構図を生成して表示することをコンピュータに実行させる表示支援プログラムであって、動作の基準となるマスタ軸の識別情報及びマスタ軸に連動するスレーブ軸の識別情報を引数とするソフトウェアモジュールが複数組み合わされて構成されるとともに汎用言語によって記述された同期制御プログラムから、マスタ軸の識別情報、スレーブ軸の識別情報、及びソフトウェアモジュールの機能を特定する情報である機能情報、ソフトウェアモジュールの実行順序を示す実行順序情報を含む同期パラメータを読み出して第1形式にて記述して記憶するパラメータ読出ステップと、パラメータ読出ステップによって記憶された同期パラメータに含まれる機能情報に対応する機構要素図、マスタ軸の識別情報に対応する機構要素図、およびスレーブ軸の識別情報に対応する機構要素図をそれぞれ選択する機構要素図選択ステップと、機構要素図選択ステップによって選択した機構要素図を同期パラメータに含まれる実行順序情報で示される実行順序と同じ順序となるように組み合わせて機構図を生成する機構図生成ステップと、機構図生成ステップによって生成した機構図を表示部に表示する表示ステップと、を備え、複数の汎用言語によって記述可能な同期制御プログラムから読み出した同期パラメータを第1形式にて記述してから機構図を生成することとした。 In order to achieve the above object, in the invention according to claim 1, a display that causes a computer to generate and display a mechanism diagram from a synchronization control program that can be described by a plurality of general-purpose languages including an FBD language or an ST language. A support program that consists of a combination of multiple software modules that take the identification information of the master axis, which is the reference for operation, and the identification information of the slave axis that is linked to the master axis as arguments, and synchronous control written in a general-purpose language. from the program, the reading identification information of the master axis, the identification information of the slave axis, and the function information is information specifying the function of the software module, the including asynchronous parameters the execution order information indicating an order of execution of the software module 1 A parameter read step that is described and stored in a format, a mechanism element diagram that corresponds to the functional information included in the synchronization parameters stored by the parameter read step, a mechanism element diagram that corresponds to the identification information of the master axis, and a slave axis. The mechanism element diagram selection step for selecting the mechanism element diagram corresponding to the identification information and the mechanism element diagram selected by the mechanism element diagram selection step are arranged in the same order as the execution order indicated by the execution order information included in the synchronization parameter. A mechanism diagram generation step for generating a mechanism diagram in combination with the above, and a display step for displaying the mechanism diagram generated by the mechanism diagram generation step on the display unit are provided, and the program is read from a synchronization control program that can be described in a plurality of general-purpose languages. It was decided to generate the mechanism diagram after describing the synchronization parameters in the first format.

本発明によれば、同期制御に特化しない汎用言語により記述される同期制御プログラムにおけるマスタ軸とスレーブ軸の同期関係を、少ない作業工数により可視化することができるようになる。 According to the present invention, the synchronization relationship between the master axis and the slave axis in a synchronization control program written in a general-purpose language not specialized in synchronization control can be visualized with a small number of man-hours.

本発明の実施の形態1に係る表示支援システムを、当該表示支援システムに接続されるモータ制御システムのハードウェア構成を含めて示す図である。It is a figure which shows the display support system which concerns on Embodiment 1 of this invention including the hardware composition of the motor control system connected to the display support system. 本発明の実施の形態1に係る表示支援システムのハードウェア構成を示す図である。It is a figure which shows the hardware configuration of the display support system which concerns on Embodiment 1 of this invention. 本発明の実施の形態1に係る表示支援システムの機能ブロックを示す図である。It is a figure which shows the functional block of the display support system which concerns on Embodiment 1 of this invention. 本発明の実施の形態1に係る表示支援システムによって作成された同期制御プログラムの一例を示す図である。It is a figure which shows an example of the synchronous control program created by the display support system which concerns on Embodiment 1 of this invention. 本発明の実施の形態1に係る表示支援システムが同期制御プログラムから読み出した同期パラメータの記憶形式を示す図である。It is a figure which shows the storage format of the synchronization parameter read from the synchronization control program by the display support system which concerns on Embodiment 1 of this invention. 本発明の実施の形態1に係る表示支援システムによって実行される機構図生成処理のフローチャートの一例を示す図である。It is a figure which shows an example of the flowchart of the mechanism diagram generation processing executed by the display support system which concerns on Embodiment 1 of this invention. 本発明の実施の形態1に係る表示支援システムによって生成された機構図の一例を示す図である。It is a figure which shows an example of the mechanism diagram generated by the display support system which concerns on Embodiment 1 of this invention. 本発明の実施の形態2に係る表示支援システムを、当該表示支援システムに接続されるモータ制御システムのハードウェア構成を含めて示す図である。It is a figure which shows the display support system which concerns on Embodiment 2 of this invention including the hardware composition of the motor control system connected to the display support system. 本発明の実施の形態2に係る表示制御装置によって作成された同期制御プログラムの一例を示す図である。It is a figure which shows an example of the synchronous control program created by the display control apparatus which concerns on Embodiment 2 of this invention. 本発明の実施の形態2に係る表示支援システムが同期制御プログラムから読み出した同期パラメータの格納例を示す図である。It is a figure which shows the storage example of the synchronization parameter read from the synchronization control program by the display support system which concerns on Embodiment 2 of this invention. 本発明の実施の形態2に係る表示支援システムによって生成された機構図の一例を示す図である。It is a figure which shows an example of the mechanism diagram generated by the display support system which concerns on Embodiment 2 of this invention. 本発明の実施の形態3に係る表示支援システムを、当該表示支援システムに接続されるモータ制御システムのハードウェア構成を含めて示す図である。It is a figure which shows the display support system which concerns on Embodiment 3 of this invention including the hardware composition of the motor control system connected to the display support system. 本発明の実施の形態3に係る表示支援システムによって作成された同期制御プログラムの一例を示す図である。It is a figure which shows an example of the synchronous control program created by the display support system which concerns on Embodiment 3 of this invention. 本発明の実施の形態3に係る表示支援システムが同期制御プログラムから読み出した同期パラメータの格納例を示す図である。It is a figure which shows the storage example of the synchronization parameter read from the synchronization control program by the display support system which concerns on Embodiment 3 of this invention. 本発明の実施の形態3に係る表示支援システムによって生成された機構図の一例を示す図である。It is a figure which shows an example of the mechanism diagram generated by the display support system which concerns on Embodiment 3 of this invention. 本発明の実施の形態4に係る表示支援システムを、当該表示支援システムに接続されるモータ制御システムのハードウェア構成を含めて示す図である。It is a figure which shows the display support system which concerns on Embodiment 4 of this invention including the hardware composition of the motor control system connected to the display support system. 本発明の実施の形態4に係る表示制御装置によって作成された同期制御プログラムの一例を示す図である。It is a figure which shows an example of the synchronous control program created by the display control apparatus which concerns on Embodiment 4 of this invention. 本発明の実施の形態4に係る表示支援システムによって実行される機構図生成処理のフローチャートの一例を示す図である。It is a figure which shows an example of the flowchart of the mechanism diagram generation processing executed by the display support system which concerns on Embodiment 4 of this invention. 本発明の実施の形態4に係る表示支援システムがギア制御モジュールの実行不許可時に同期制御プログラムから読み出した同期パラメータの格納例を示す図である。It is a figure which shows the storage example of the synchronization parameter read from the synchronization control program when the display support system which concerns on Embodiment 4 of this invention is disapproval of execution of a gear control module. 本発明の実施の形態4に係る表示支援システムがギア制御モジュールの実行許可時に同期制御プログラムから読み出した同期パラメータの格納例を示す図である。It is a figure which shows the storage example of the synchronization parameter read from the synchronization control program when the display support system which concerns on Embodiment 4 of this invention permits execution of a gear control module. 本発明の実施の形態4に係る表示支援システムによって、ギア制御モジュールの実行不許可時の同期パラメータを用いて作成された機構図の一例を示す図である。It is a figure which shows an example of the mechanism diagram which was made by the display support system which concerns on Embodiment 4 of this invention, using the synchronization parameter at the time of execution permission of a gear control module. 本発明の実施の形態4に係る表示支援システムによって、ギア制御モジュールの実行許可時の同期パラメータを用いて作成された機構図の一例を示す図である。It is a figure which shows an example of the mechanism diagram which was made by the display support system which concerns on Embodiment 4 of this invention, using the synchronization parameter at the time of execution permission of a gear control module. 本発明の実施の形態5に係る表示支援システムの構成を示す図である。It is a figure which shows the structure of the display support system which concerns on Embodiment 5 of this invention. ソフトウェアモジュールの別例として、クラッチ制御モジュールの一例を示す図である。As another example of the software module, it is a figure which shows an example of the clutch control module. ソフトウェアモジュールの別例として、差動制御モジュールの一例を示す図である。As another example of the software module, it is a figure which shows an example of the differential control module.

実施の形態1.
本発明の実施の形態1に係る表示支援プログラム、同プログラムを記憶したコンピュータ可読記憶媒体、表示支援方法、及び表示支援システムについて、図1〜図7を参照しつつ説明する。
Embodiment 1.
The display support program according to the first embodiment of the present invention, the computer-readable storage medium storing the program, the display support method, and the display support system will be described with reference to FIGS. 1 to 7.

図1は、本発明の実施の形態1に係る表示支援システム1を、当該表示支援システム1と有線にて通信可能に接続されるモータ制御システム20のハードウェア構成を含めて示す図である。表示支援システム1は、表示支援プログラムがコンピュータ10にインストールされることによって実現される。本実施の形態1では、このコンピュータ10に、表示支援プログラムがインストールされるだけでなく、例えば、ラダー言語、FBD、C言語、ST言語、及びSFC言語等の汎用言語を用いて同期制御プログラムを作成する同期制御プログラム作成プログラム(以下、作成プログラムと呼ぶ)もインストールされる。すなわち、実施の形態1では、表示支援システム1は、モータ制御システム20を対象として当該モータ制御システム20で実行される同期制御プログラムを作成するとともに、この作成した同期制御プログラムから自動的に機構図を作成するシステムである。 FIG. 1 is a diagram showing a display support system 1 according to a first embodiment of the present invention, including a hardware configuration of a motor control system 20 that is wirelessly connected to the display support system 1. The display support system 1 is realized by installing the display support program on the computer 10. In the first embodiment, not only the display support program is installed on the computer 10, but also the synchronization control program is installed in a general-purpose language such as a ladder language, an FBD, a C language, an ST language, and an SFC language. The synchronous control program creation program to be created (hereinafter referred to as the creation program) is also installed. That is, in the first embodiment, the display support system 1 creates a synchronous control program executed by the motor control system 20 for the motor control system 20, and automatically draws a mechanism diagram from the created synchronous control program. Is a system to create.

なお、本実施の形態1では、コンピュータ10には、表示支援プログラムに加え、作成プログラムもインストールされることとしたが、作成プログラムについてはコンピュータ10にインストールしなくてもよい。すなわち、当該表示支援システム1にて同期制御プログラムを予め作成しなくてもよい。この場合、表示支援システム1は、例えば他のコンピュータ等にて予め作成された同期制御プログラムを対象として自動的に機構図を作成する。また、本実施の形態1では、コンピュータ10としてノート型パソコンを採用したが、これに限定されず、他に例えば、デスクトップ型パソコン、スマートフォン、タブレット端末等でも良い。 In the first embodiment, the creation program is installed on the computer 10 in addition to the display support program, but the creation program does not have to be installed on the computer 10. That is, it is not necessary to create a synchronization control program in advance in the display support system 1. In this case, the display support system 1 automatically creates a mechanism diagram for a synchronization control program created in advance by, for example, another computer or the like. Further, in the first embodiment, the notebook personal computer is adopted as the computer 10, but the present invention is not limited to this, and for example, a desktop personal computer, a smartphone, a tablet terminal, or the like may be used.

次に、同期制御プログラムの作成対象とするモータ制御システム20について説明する。モータ制御システム20は、図1に示すように、モーションコントローラ21と、第1モータドライバ22aと、第2モータドライバ22bと、第3モータドライバ22cと、第1モータ23aと、第2モータ23bと、第3モータ23cとを備えて構成されている。モーションコントローラ21は、表示支援システム1にて予め作成された同期制御プログラムが当該表示支援システム1から図示しないメモリ等に書き込まれ、書き込まれた同期制御プログラムを実行することにより同期制御を行う。 Next, the motor control system 20 for which the synchronous control program is created will be described. As shown in FIG. 1, the motor control system 20 includes a motion controller 21, a first motor driver 22a, a second motor driver 22b, a third motor driver 22c, a first motor 23a, and a second motor 23b. , A third motor 23c is provided. The motion controller 21 performs synchronization control by writing a synchronization control program created in advance by the display support system 1 from the display support system 1 to a memory or the like (not shown) and executing the written synchronization control program.

詳しくは、モーションコントローラ21は、第1モータ23aを動作させるための動作電流を当該第1モータ23aに対して出力する第1モータドライバ22aに接続されており、同期制御プログラムを実行することにより、第1モータドライバ22aに対して駆動指令を与える。同様に、モーションコントローラ21は、第2モータ23bを動作させるための動作電流を当該第2モータ23bに対して出力する第2モータドライバ22bに接続されており、同期制御プログラムを実行することにより、第2モータドライバ22bに対して駆動指令を与える。また同様に、モーションコントローラ21は、第3モータ23cを動作させるための動作電流を当該第3モータ23cに対して出力する第3モータドライバ22cに接続されており、同期制御プログラムを実行することにより、第3モータドライバ22cに対して駆動指令を与える。 Specifically, the motion controller 21 is connected to the first motor driver 22a that outputs the operating current for operating the first motor 23a to the first motor 23a, and by executing the synchronous control program, the motion controller 21 is connected. A drive command is given to the first motor driver 22a. Similarly, the motion controller 21 is connected to the second motor driver 22b that outputs the operating current for operating the second motor 23b to the second motor 23b, and by executing the synchronous control program, the motion controller 21 is connected. A drive command is given to the second motor driver 22b. Similarly, the motion controller 21 is connected to the third motor driver 22c that outputs the operating current for operating the third motor 23c to the third motor 23c, and by executing the synchronous control program. , Gives a drive command to the third motor driver 22c.

実施の形態1では、モータ制御システム20は、第1モータ23aを動作の基準となるマスタ軸とし、第2モータ23b及び第3モータ23cを第1モータ23aに連動するスレーブ軸とする。そして、第1モータ23a及び第2モータ23bをカム動作させながら、かつ、第1モータ23a及び第3モータ23cをギア動作させながら、動作タイミングが一致するように、第1モータドライバ22a〜第3モータドライバ22cに対してそれぞれ駆動指令を与えることにより、第1モータ23a〜第3モータ23cを同期制御する。モータ制御システム20を構成する第1モータ23a〜第3モータ23cには、これらを特定する識別情報として識別番号「M1」、「S1」、及び「S2」がそれぞれ割り付けられている。また、実施の形態1では、モータ制御システム20は、カム及びギア等の機械要素を備えておらず、第1モータ23a〜第3モータ23cを電気的に連動させることにより、第1モータ23a〜第3モータ23cの同期制御を行う。 In the first embodiment, the motor control system 20 uses the first motor 23a as a master shaft as an operation reference, and the second motor 23b and the third motor 23c as slave shafts interlocked with the first motor 23a. Then, the first motor drivers 22a to the third are so that the operation timings match while the first motor 23a and the second motor 23b are operated by the cam and the first motor 23a and the third motor 23c are operated by the gear. By giving a drive command to each of the motor drivers 22c, the first motor 23a to the third motor 23c are synchronously controlled. Identification numbers "M1", "S1", and "S2" are assigned to the first motors 23a to the third motors 23c constituting the motor control system 20 as identification information for identifying them. Further, in the first embodiment, the motor control system 20 does not include mechanical elements such as cams and gears, and by electrically interlocking the first motors 23a to the third motors 23c, the first motors 23a to 23a to Synchronous control of the third motor 23c is performed.

なお、モータ制御システム20の構成は、上記構成に限定されない。モータ制御システム20は、カム及びギア等の機械要素を備え、第1モータ23a〜第3モータ23cを機械的に連動させることにより、第1モータ23a〜第3モータ23cの同期制御を行ってもよい。また、第1モータ23aをスレーブ軸とし、第2モータ23bをマスタ軸とし、第3モータ23cをスレーブ軸としてもよい。この場合、例えば、これら第1モータ23a、第2モータ23b、及び第3モータ23cに、識別番号「S1」、「M1」、及び「S2」をそれぞれ割り付ければよい。第1モータ23a〜第3モータ23cに識別番号を割り付けていたが番号に限らず、他に例えば文字列等でも良く、これらを識別することができる情報であればよい。また、モータ制御システム20が備えるモータドライバやモータについても、図1に示した数に限定されるものではなく、適宜変更可能である。 The configuration of the motor control system 20 is not limited to the above configuration. The motor control system 20 includes mechanical elements such as cams and gears, and even if the first motor 23a to the third motor 23c are synchronously controlled by mechanically interlocking the first motor 23a to the third motor 23c. Good. Further, the first motor 23a may be a slave shaft, the second motor 23b may be a master shaft, and the third motor 23c may be a slave shaft. In this case, for example, the identification numbers "S1", "M1", and "S2" may be assigned to the first motor 23a, the second motor 23b, and the third motor 23c, respectively. Although the identification numbers have been assigned to the first motors 23a to the third motors 23c, the identification numbers are not limited to the numbers, and for example, a character string or the like may be used as long as the information can identify them. Further, the number of motor drivers and motors included in the motor control system 20 is not limited to the number shown in FIG. 1, and can be changed as appropriate.

図2は、実施の形態1に係る表示支援システム1のハードウェア構成を示す図である。表示支援システム1は、図2に示すように、プロセッサ11、メモリ12、入力装置13、表示装置14、及び通信装置15を備えて構成されており、これらプロセッサ11、メモリ12、入力装置13、表示装置14、及び通信装置15は、例えばバス等によって互いに接続され、情報の送受信を行う。 FIG. 2 is a diagram showing a hardware configuration of the display support system 1 according to the first embodiment. As shown in FIG. 2, the display support system 1 includes a processor 11, a memory 12, an input device 13, a display device 14, and a communication device 15, and the processor 11, the memory 12, the input device 13, and the like. The display device 14 and the communication device 15 are connected to each other by, for example, a bus or the like to transmit and receive information.

プロセッサ11は、例えばCPU(Central Processing Unit)等である。メモリ12は、例えば、RAM(Random Access Memory)、ROM(Read Only Memory)、フラッシュメモリー等の、不揮発性または揮発性の半導体メモリ、磁気ディスク等である。メモリ12には、例えば、図3を用いて後述するように、作成支援プログラム12a、表示支援プログラム12b、機構要素図12c、同期制御プログラム12d、制御対象のモータ制御システム20を構成する第1モータ23a〜第3モータ23cの識別番号12e、同期パラメータ12f、及び機構図12g等が記憶される。なお、機構要素図12cは、表示支援プログラム12bがメモリ12にインストールされた際に、併せてメモリ12に記憶される。識別番号12eは、作成支援プログラム12aの実行により同期制御プログラム12dが作成されメモリ12に記憶される際に、併せてメモリ12に記憶される。入力装置13は、例えばキーボード又はマウス等であるが、キーボード又はマウスに限らない。表示装置14は、例えば液晶表示装置等であり、同期制御プログラム等の文字列や機構図等の画像を表示する。通信装置15は、有線にてモータ制御システム20と通信を行うが、無線にて通信可能に構成してもよい。 The processor 11 is, for example, a CPU (Central Processing Unit) or the like. The memory 12 is, for example, a non-volatile or volatile semiconductor memory such as a RAM (Random Access Memory), a ROM (Read Only Memory), a flash memory, a magnetic disk, or the like. In the memory 12, for example, as will be described later with reference to FIG. 3, the creation support program 12a, the display support program 12b, the mechanical element diagram 12c, the synchronous control program 12d, and the first motor constituting the motor control system 20 to be controlled The identification number 12e of the 23a to the third motor 23c, the synchronization parameter 12f, the mechanism diagram 12g, and the like are stored. The mechanical element FIG. 12c is also stored in the memory 12 when the display support program 12b is installed in the memory 12. The identification number 12e is also stored in the memory 12 when the synchronization control program 12d is created by executing the creation support program 12a and stored in the memory 12. The input device 13 is, for example, a keyboard or a mouse, but is not limited to the keyboard or the mouse. The display device 14 is, for example, a liquid crystal display device or the like, and displays an image such as a character string of a synchronization control program or a mechanism diagram. Although the communication device 15 communicates with the motor control system 20 by wire, it may be configured to be able to communicate wirelessly.

図3は、実施の形態1に係る表示支援システム1の一部機能ブロック図を示す図である。表示支援システム1は、図3に示すように、制御部16を備えて構成されている。この制御部16は、プログラム作成部16a、パラメータ読出部16b、機構要素図選択部16c、機構図生成部16d、表示制御部16e、及び通信制御部16fを有する。制御部16を構成する各部16a〜16fは、プロセッサ11が、作成支援プログラム12a及び表示支援プログラム12bをメモリ12から読み出して実行することにより実現されるものである。 FIG. 3 is a diagram showing a partial functional block diagram of the display support system 1 according to the first embodiment. As shown in FIG. 3, the display support system 1 is configured to include a control unit 16. The control unit 16 includes a program creation unit 16a, a parameter reading unit 16b, a mechanism element diagram selection unit 16c, a mechanism diagram generation unit 16d, a display control unit 16e, and a communication control unit 16f. Each unit 16a to 16f constituting the control unit 16 is realized by the processor 11 reading the creation support program 12a and the display support program 12b from the memory 12 and executing them.

なお、本実施の形態1では、作成支援プログラム12a及び表示支援プログラム12bは、例えばCD(Compact Disc)−ROM、DVD(Digital Versatile Disc)−ROM等の記録媒体に書き込まれた状態でユーザに提供され、ユーザがメモリ12に予めインストールする形態としたが、この形態に限定されず、作成支援プログラム12a及び表示支援プログラム12bは、インターネット等の通信回線を介してユーザに提供され、ユーザがメモリ12に予めインストールする形態としてもよい。 In the first embodiment, the creation support program 12a and the display support program 12b are provided to the user in a state of being written on a recording medium such as a CD (Compact Disc) -ROM or a DVD (Digital Versaille Disc) -ROM. However, the present invention is not limited to this form, and the creation support program 12a and the display support program 12b are provided to the user via a communication line such as the Internet, and the user can use the memory 12 in the memory 12. It may be installed in advance in.

プログラム作成部16aは、メモリ12、入力装置13、及び表示制御部16e等に接続されている。プログラム作成部16aは、入力装置13を用いたユーザ操作に従って、同期制御プログラムを汎用言語にて新規作成する。使用する汎用言語の種類は、同期制御プログラムの新規作成が開始される際、入力装置13を用いたユーザ操作によって入力される。プログラム作成部16aは、同期制御プログラムを新規作成した場合、この新規作成した同期制御プログラム12d、モータ制御システム20を構成する第1モータ23a〜第3モータ23cの識別番号12e、作成された汎用言語の種類情報等をメモリ12に記憶する。また、プログラム作成部16aは、入力装置13を用いたユーザ操作に従って、同期制御プログラム12dの作成時に使用された汎用言語にて、同期制御プログラム12dを編集する。同期制御プログラム12dを編集する際、プログラム作成部16aは、メモリ12に記憶されている編集前の同期制御プログラム12d及び識別番号12eを読み出し編集する。プログラム作成部16aは、同期制御プログラムを編集した場合、この編集した同期制御プログラム12d、及び識別番号12eをメモリ12に記憶する。また、プログラム作成部16aは、同期制御プログラム12dの新規作成又は編集を実行する際、表示装置14に表示する文字列や機構図等の画像を表示制御部16eに出力する。表示制御部16eは、プログラム作成部16aから入力された画像を表示装置14に表示制御する。なお、プログラム作成部16aによって新規作成又は編集される同期制御プログラム12dについては、図4を参照して後述する。 The program creation unit 16a is connected to the memory 12, the input device 13, the display control unit 16e, and the like. The program creation unit 16a newly creates a synchronization control program in a general-purpose language according to a user operation using the input device 13. The type of general-purpose language to be used is input by a user operation using the input device 13 when a new creation of the synchronization control program is started. When the synchronization control program is newly created, the program creation unit 16a includes the newly created synchronization control program 12d, the identification numbers 12e of the first motors 23a to the third motors 23c constituting the motor control system 20, and the created general-purpose language. Type information and the like are stored in the memory 12. Further, the program creation unit 16a edits the synchronization control program 12d in the general-purpose language used when creating the synchronization control program 12d according to the user operation using the input device 13. When editing the synchronization control program 12d, the program creation unit 16a reads out and edits the synchronization control program 12d and the identification number 12e before editing stored in the memory 12. When the synchronization control program is edited, the program creation unit 16a stores the edited synchronization control program 12d and the identification number 12e in the memory 12. Further, when the program creation unit 16a newly creates or edits the synchronization control program 12d, the program creation unit 16a outputs an image such as a character string or a mechanism diagram to be displayed on the display device 14 to the display control unit 16e. The display control unit 16e controls the display of the image input from the program creation unit 16a on the display device 14. The synchronization control program 12d newly created or edited by the program creation unit 16a will be described later with reference to FIG.

パラメータ読出部16bは、メモリ12、入力装置13、及び表示制御部16e等に接続されている。パラメータ読出部16bは、図6を参照して後述する機構図生成処理S1が実行される際、メモリ12に記憶されている同期制御プログラム12d、及び当該同期制御プログラム12dが作成された汎用言語の種類情報を読み出し、この読み出した同期制御プログラム12dから汎用言語の種類に応じて同期パラメータ12fを読み出す。パラメータ読出部16bは、同期制御パラメータを読み出した場合、この読み出した同期パラメータ12fをメモリ12に記憶する。また、パラメータ読出部16bは、同期制御プログラム12dから同期パラメータ12fを読み出す際、表示装置14に表示する文字列や機構図等の画像を表示制御部16eに出力し、表示制御部16eは、パラメータ読出部16bから入力された画像を表示装置14に表示制御する。なお、同期制御プログラム12dから同期パラメータ12fを読み出す方法については、図4を参照して、読み出した同期パラメータ12fをメモリ12へ記憶する際の記憶形式については、図5を参照して、それぞれ後述する。 The parameter reading unit 16b is connected to the memory 12, the input device 13, the display control unit 16e, and the like. The parameter reading unit 16b is a general-purpose language in which the synchronization control program 12d stored in the memory 12 and the synchronization control program 12d are created when the mechanism diagram generation process S1 described later with reference to FIG. 6 is executed. The type information is read, and the synchronization parameter 12f is read from the read synchronization control program 12d according to the type of the general-purpose language. When the synchronization control parameter is read, the parameter reading unit 16b stores the read synchronization parameter 12f in the memory 12. Further, when the parameter reading unit 16b reads the synchronization parameter 12f from the synchronization control program 12d, the parameter reading unit 16b outputs an image such as a character string or a mechanism diagram to be displayed on the display device 14 to the display control unit 16e, and the display control unit 16e outputs the parameter. The image input from the reading unit 16b is displayed and controlled on the display device 14. The method of reading the synchronization parameter 12f from the synchronization control program 12d will be described later with reference to FIG. 4, and the storage format for storing the read synchronization parameter 12f in the memory 12 will be described later with reference to FIG. To do.

機構要素図選択部16cは、機構図生成部16d、及びメモリ12等に接続されている。機構要素図選択部16cは、図6を参照して後述する機構図生成処理が実行される際、メモリ12に記憶されている同期パラメータ12fを読み出し、この読み出した同期パラメータ12fに対応する機構要素図を、メモリ12に予め記憶されている機構要素図12cから選択する。そして、機構要素図選択部16cは、選択した機構要素図12cを機構図生成部16dに出力する。なお、メモリ12には、機構要素図12cとして、例えば、カム動作を示す機構要素図、ギア動作を示す機構要素図、マスタ軸を回転させたままスレーブ軸を滑らかに停止させるためのクラッチ動作を示す機構要素図、2軸のマスタ軸の位置情報の差分もってスレーブ軸の動作指令とする差動動作を示す機構要素図等の同期関係を示す機構要素図、マスタ軸の機構要素図、及びスレーブ軸の機構要素図等が、予め記憶されている。 The mechanism element diagram selection unit 16c is connected to the mechanism diagram generation unit 16d, the memory 12, and the like. The mechanism element diagram selection unit 16c reads the synchronization parameter 12f stored in the memory 12 when the mechanism diagram generation process described later with reference to FIG. 6 is executed, and the mechanism element corresponding to the read synchronization parameter 12f. The figure is selected from the mechanical element FIG. 12c stored in advance in the memory 12. Then, the mechanism element diagram selection unit 16c outputs the selected mechanism element diagram 12c to the mechanism diagram generation unit 16d. In the memory 12, for example, as the mechanism element diagram 12c, a mechanism element diagram showing a cam operation, a mechanism element diagram showing a gear operation, and a clutch operation for smoothly stopping the slave shaft while rotating the master shaft are provided. The mechanical element diagram showing the synchronization relationship, the mechanical element diagram of the master axis, and the mechanical element diagram showing the synchronous relationship such as the mechanical element diagram showing the mechanical element diagram showing the differential operation as the operation command of the slave axis with the difference in the position information of the master axis of the two axes, and the slave. The mechanical element diagram of the shaft and the like are stored in advance.

機構図生成部16dは、機構要素図選択部16c、表示制御部16e、及びメモリ12等に接続されている。機構図生成部16dは、図6を参照して後述する機構図生成処理S1が実行される際、メモリ12に記憶されている同期パラメータ12fを読み出し、この読み出した同期パラメータ12fに従って、機構要素図選択部16cにて選択された機構要素図12cを組み合わせ、機構図12gを生成する。また、機構図生成部16dは、表示装置14に表示する文字列や生成した機構図等の画像を表示制御部16eに出力し、表示制御部16eは、パラメータ読出部16bから入力された画像を表示装置14に表示制御する。なお、同期パラメータ12fに従い、選択された機構要素図12cを組み合わせ、機構図12gを生成する機構図生成処理については、図6を参照して後述する。また、機構図生成処理を実行することによって生成される機構図12gの一例については、図7を参照して後述する。 The mechanism diagram generation unit 16d is connected to the mechanism element diagram selection unit 16c, the display control unit 16e, the memory 12, and the like. The mechanism diagram generation unit 16d reads out the synchronization parameter 12f stored in the memory 12 when the mechanism diagram generation process S1 described later with reference to FIG. 6 is executed, and the mechanism element diagram is according to the read synchronization parameter 12f. The mechanical elements FIG. 12c selected by the selection unit 16c are combined to generate the mechanical element FIG. 12g. Further, the mechanism diagram generation unit 16d outputs an image such as a character string to be displayed on the display device 14 and the generated mechanism diagram to the display control unit 16e, and the display control unit 16e outputs an image input from the parameter reading unit 16b. Display control is performed on the display device 14. The mechanism diagram generation process for generating the mechanism diagram 12g by combining the selected mechanism element diagrams 12c according to the synchronization parameter 12f will be described later with reference to FIG. An example of the mechanism diagram 12g generated by executing the mechanism diagram generation process will be described later with reference to FIG. 7.

表示制御部16eは、プログラム作成部16a、パラメータ読出部16b、機構図生成部16d、表示装置14等に接続されており、これら各部から入力される画像を表示装置14に表示制御する。 The display control unit 16e is connected to a program creation unit 16a, a parameter reading unit 16b, a mechanism diagram generation unit 16d, a display device 14, and the like, and displays and controls an image input from each of these units on the display device 14.

通信制御部16fは、メモリ12、入力装置13、及び通信装置15等と接続されており、通信装置15と接続された外部機器との通信を行う。詳しくは、通信制御部16fは、入力装置13を用いたユーザ操作に従って、メモリ12に記憶されている同期制御プログラム12dを読み出し、通信装置15と接続されたモータ制御システム20のメモリに読み出した同期制御プログラム12dを書き込む。 The communication control unit 16f is connected to the memory 12, the input device 13, the communication device 15, and the like, and communicates with the external device connected to the communication device 15. Specifically, the communication control unit 16f reads the synchronization control program 12d stored in the memory 12 according to the user operation using the input device 13, and reads the synchronization control program 12d into the memory of the motor control system 20 connected to the communication device 15. Write the control program 12d.

図4は、実施の形態1に係る表示支援システム1のユーザによって新規作成あるいは編集され、表示装置14の表示画面14aに表示された、同期制御プログラム12dの一例を示す図である。同期制御プログラム12dは、図4に示すように、同期制御に特化しない汎用言語の一例であるFBD言語によって記述されている。 FIG. 4 is a diagram showing an example of a synchronization control program 12d newly created or edited by a user of the display support system 1 according to the first embodiment and displayed on the display screen 14a of the display device 14. As shown in FIG. 4, the synchronization control program 12d is described in the FBD language, which is an example of a general-purpose language that does not specialize in synchronization control.

同期制御プログラム12dには、図4に示した例では、カム動作の機能を記述したソフトウェアモジュールであるカム制御モジュール121と、ギア動作の機能を記述したソフトウェアモジュールであるギア制御モジュール122と、が含まれており、これらカム制御モジュール121及びギア制御モジュール122は、表示画面14aにおいて左右方向にずれることなく上下方向に並んで配置されている。 In the example shown in FIG. 4, the synchronous control program 12d includes a cam control module 121, which is a software module that describes the cam operation function, and a gear control module 122, which is a software module that describes the gear operation function. These cam control modules 121 and gear control modules 122 are arranged side by side in the vertical direction on the display screen 14a without being displaced in the horizontal direction.

FBD言語で作成されたプログラムでは、各ソフトウェアモジュールの例えば左上角部等の座標の位置に基づいて実行順序が定められる。具体的には、表示画面14aにおいて上下方向上方に配置されたソフトウェアモジュールほど実行順序が早く、表示画面14a上において左右方向左方に配置されたソフトウェアモジュールほど実行順序が早い。したがって、図4に示した同期制御プログラム12dでは、同期制御プログラム12dが2つのソフトウェアモジュールで構成されていること、カム制御モジュール121の方がギア制御モジュール122よりも実行順序が早いことから、カム制御モジュール121の実行順序を示す情報である実行順序情報は「1」であり、ギア制御モジュール122の実行順序情報は「2」となる。表示支援システム1のユーザがFBD言語を利用して同期制御プログラム12dを作成した場合、ユーザが各ソフトウェアモジュールの実行順序を改めて設定する必要はなく、各ソフトウェアモジュールの配置位置によって自動的に判断される。 In a program written in the FBD language, the execution order is determined based on the position of the coordinates of each software module, for example, the upper left corner. Specifically, the software modules arranged upward in the vertical direction on the display screen 14a have an earlier execution order, and the software modules arranged on the left side in the horizontal direction on the display screen 14a have an earlier execution order. Therefore, in the synchronous control program 12d shown in FIG. 4, since the synchronous control program 12d is composed of two software modules and the cam control module 121 is executed earlier than the gear control module 122, the cam The execution order information, which is information indicating the execution order of the control module 121, is “1”, and the execution order information of the gear control module 122 is “2”. When the user of the display support system 1 creates the synchronization control program 12d using the FBD language, the user does not need to set the execution order of each software module again, and it is automatically determined by the arrangement position of each software module. The software.

カム制御モジュール121は、動作の基準となるマスタ軸を特定するマスタ軸識別番号121a、マスタ軸に連動するスレーブ軸を特定するスレーブ軸識別番号121b、当該カム制御モジュール121自体の実行許可または不許可を示す情報である実行許可情報121c、複数のカム曲線の種類を特定するカム番号121dを入力変数とする。なお、実施の形態1では、カム制御モジュール121は、カム番号「1」として「正弦曲線」、カム番号「2」として「サイクロイド曲線」、及びカム番号「3」として「等加速度曲線」を指定可能である。ただし、カム曲線の種類については、「正弦曲線」、「サイクロイド曲線」、及び「等加速度曲線」等に限らず、任意であり、カム曲線の種類の数については「3種類」に限らず、任意である。 The cam control module 121 has a master axis identification number 121a for specifying a master axis as an operation reference, a slave axis identification number 121b for specifying a slave axis linked to the master axis, and execution permission or disapproval of the cam control module 121 itself. The execution permission information 121c, which is information indicating the above, and the cam number 121d, which specifies the types of a plurality of cam curves, are used as input variables. In the first embodiment, the cam control module 121 specifies a "sine curve" as the cam number "1", a "cycloid curve" as the cam number "2", and a "uniform acceleration curve" as the cam number "3". It is possible. However, the type of cam curve is not limited to "sine curve", "cycloid curve", "isoacceleration curve", etc., and is arbitrary, and the number of types of cam curve is not limited to "3 types". It is optional.

マスタ軸識別番号121a及びスレーブ軸識別番号121bは、表示支援システム1のユーザが、同期制御プログラム12dを作成する際に、同期制御対象とするモータ制御システム20の構成に対応させて設定する識別番号である。実施の形態1では、モータ制御システム20(図1)の第1モータ23aをマスタ軸とし、第2モータ23bをスレーブ軸とすることから、マスタ軸識別番号として第1モータ23aの識別番号である「M1」が、スレーブ軸識別番号として第2モータ23bの識別番号である「S1」が、設定されている。 The master axis identification number 121a and the slave axis identification number 121b are identification numbers set by the user of the display support system 1 in accordance with the configuration of the motor control system 20 to be synchronized and controlled when creating the synchronization control program 12d. Is. In the first embodiment, since the first motor 23a of the motor control system 20 (FIG. 1) is used as the master shaft and the second motor 23b is used as the slave shaft, the master shaft identification number is the identification number of the first motor 23a. "M1" is set as the slave axis identification number, and "S1", which is the identification number of the second motor 23b, is set.

実行許可情報121cは、表示支援システム1のユーザが同期制御プログラム12dを作成する際に設定する実行条件である。本実施の形態1では、モータ制御システム20は第1モータ23aをマスタ軸、第2モータ23bをスレーブ軸として、これらを常にカム動作させながら同期制御することから、実行許可情報121cには「ON」が設定されている。 The execution permission information 121c is an execution condition set when the user of the display support system 1 creates the synchronization control program 12d. In the first embodiment, the motor control system 20 uses the first motor 23a as the master shaft and the second motor 23b as the slave shafts, and controls them synchronously while constantly operating the cams. Therefore, the execution permission information 121c is set to "ON". "Is set.

カム番号121dは、表示支援システム1のユーザが、同期制御プログラム12dを作成する際に設定するカム曲線の番号である。本実施の形態1では、モータ制御システム20のマスタ軸とする第1モータ23aに対してスレーブ軸とする第2モータ23bは例えば正弦曲線に従って動作させながら同期制御させることから、カム番号には、「正弦曲線」に対応する番号である「1」が設定されている。 The cam number 121d is a cam curve number set when the user of the display support system 1 creates the synchronization control program 12d. In the first embodiment, the second motor 23b, which is the slave axis, is synchronously controlled with respect to the first motor 23a, which is the master axis of the motor control system 20, while operating according to, for example, a sinusoidal curve. The number "1" corresponding to the "sine curve" is set.

ギア制御モジュール122は、動作の基準となるマスタ軸を特定するマスタ軸識別番号122a、マスタ軸に連動するスレーブ軸を特定するスレーブ軸識別番号122b、当該ギア制御モジュール122自体の実行許可または不許可を示す情報である実行許可情報122c、マスタ軸の位置に対するスレーブ軸の位置を計算するための比率を示すギア比の情報であるギア比122dを入力変数とする。なお、実施の形態1では、ギア制御モジュール122は、ギア比として、例えば「1」から「32」まで指定可能である。ただし、ギア比については、「1」から「32」に限らず、任意である。 The gear control module 122 has a master axis identification number 122a for specifying a master axis as an operation reference, a slave axis identification number 122b for specifying a slave axis linked to the master axis, and execution permission or disapproval of the gear control module 122 itself. The execution permission information 122c, which is the information indicating the above, and the gear ratio 122d, which is the information of the gear ratio indicating the ratio for calculating the position of the slave axis with respect to the position of the master axis, are used as input variables. In the first embodiment, the gear control module 122 can specify, for example, from "1" to "32" as the gear ratio. However, the gear ratio is not limited to "1" to "32" and is arbitrary.

マスタ軸識別番号122a及びスレーブ軸識別番号122bは、カム制御モジュール121の場合と同様に、表示支援システム1のユーザが、同期制御プログラム12dを作成する際に、同期制御対象とするモータ制御システム20の構成に対応させて設定する識別番号である。実施の形態1では、モータ制御システム20(図1)の第1モータ23aをマスタ軸とし、第3モータ23cをスレーブ軸とすることから、マスタ軸識別番号として第1モータ23aの識別番号である「M1」が、スレーブ軸識別番号として第3モータ23cの識別番号である「S2」が、設定されている。 Similar to the case of the cam control module 121, the master axis identification number 122a and the slave axis identification number 122b are the motor control systems 20 to be synchronously controlled when the user of the display support system 1 creates the synchronous control program 12d. It is an identification number set according to the configuration of. In the first embodiment, since the first motor 23a of the motor control system 20 (FIG. 1) is used as the master shaft and the third motor 23c is used as the slave shaft, the master shaft identification number is the identification number of the first motor 23a. "M1" is set as the slave axis identification number, and "S2", which is the identification number of the third motor 23c, is set.

実行許可情報122cも、カム制御モジュール121の場合と同様に、表示支援システム1のユーザが同期制御プログラム12dを作成する際に設定する実行条件である。本実施の形態1では、モータ制御システム20は第1モータ23aをマスタ軸、第3モータ23cをスレーブ軸として、これらを常にギア動作させながら同期制御することから、実行許可情報122cには「ON」が設定されている。 The execution permission information 122c is also an execution condition set when the user of the display support system 1 creates the synchronization control program 12d, as in the case of the cam control module 121. In the first embodiment, the motor control system 20 uses the first motor 23a as the master shaft and the third motor 23c as the slave shafts, and controls them synchronously while constantly operating the gears. "Is set.

ギア比122dは、表示支援システム1のユーザが、同期制御プログラム12dを作成する際に設定するギア比である。本実施の形態1では、モータ制御システム20のマスタ軸とする第1モータ23aに対してスレーブ軸とする第3モータ23cはギア比「2」にて同期制御されることから、ギア比には「2」が設定されている。 The gear ratio 122d is a gear ratio set by the user of the display support system 1 when creating the synchronization control program 12d. In the first embodiment, the third motor 23c, which is the slave shaft, is synchronously controlled with the gear ratio "2" with respect to the first motor 23a, which is the master shaft of the motor control system 20, so that the gear ratio is changed. "2" is set.

図5は、実施の形態1に係る表示支援システム1において、同期制御プログラム12dから読み出された同期パラメータ12fのメモリ12への格納形式の一例を示す図である。この図5を併せ参照して、同期制御プログラム12dから同期パラメータ12fを読み出す同期パラメータ読出処理について、また、同期パラメータ読出処理にて読み出した同期パラメータ12fのメモリ12への格納処理について説明する。 FIG. 5 is a diagram showing an example of a storage format of the synchronization parameter 12f read from the synchronization control program 12d in the memory 12 in the display support system 1 according to the first embodiment. With reference to FIG. 5, a synchronization parameter read process for reading the synchronization parameter 12f from the synchronization control program 12d, and a process for storing the synchronization parameter 12f read in the synchronization parameter read process in the memory 12 will be described.

パラメータ読出部16bは、同期制御プログラム12dに含まれるソフトウェアモジュールの名称から、ソフトウェアモジュールの機能を特定する情報である機能情報を判断し、同期パラメータ12fとして読み出す。また、パラメータ読出部16bは、上述のようにして各ソフトウェアモジュールの実行順序を判断し、同期パラメータ12fとして読み出す。また、パラメータ読出部16bは、同期制御プログラム12dに含まれる各ソフトウェアモジュールの入力変数から、マスタ軸番号、スレーブ軸番号、及び実行許可情報を同期パラメータ12fとして読み出す。パラメータ読出部16bは、同期パラメータ12fを読み出すと、例えば開始タグ及び終了タグ等を用いて同期パラメータ12fをメモリ12へ格納する。 The parameter reading unit 16b determines the function information which is the information for specifying the function of the software module from the name of the software module included in the synchronization control program 12d, and reads it out as the synchronization parameter 12f. Further, the parameter reading unit 16b determines the execution order of each software module as described above, and reads the software modules as synchronization parameters 12f. Further, the parameter reading unit 16b reads the master axis number, the slave axis number, and the execution permission information as the synchronization parameter 12f from the input variables of each software module included in the synchronization control program 12d. When the parameter reading unit 16b reads the synchronization parameter 12f, the parameter reading unit 16b stores the synchronization parameter 12f in the memory 12 by using, for example, a start tag and an end tag.

具体的には、同期制御プログラム12dはカム制御モジュール121及びギア制御モジュール122にて構成されていることから、同期パラメータ読出部16bは、ソフトウェアモジュールの機能を特定する情報である機能情報を「カム制御モジュール」及び「ギア制御モジュール」と判断し、同期パラメータ12fとして読み出す。そして、パラメータ読出部16bは、開始タグ<同期パラメータ>と終了タグ</同期パラメータ>との間に、開始タグ<カム制御モジュール>と終了タグ</カム制御モジュール>、及び開始タグ<ギア制御モジュール>と終了タグ</ギア制御モジュール>を、それぞれ1文字だけ字下げして記述する。 Specifically, since the synchronous control program 12d is composed of the cam control module 121 and the gear control module 122, the synchronous parameter reading unit 16b provides functional information that is information for specifying the function of the software module to "cam". It is determined that the "control module" and the "gear control module" are read out as the synchronization parameter 12f. Then, the parameter reading unit 16b has a start tag <cam control module>, an end tag </ cam control module>, and a start tag <gear control> between the start tag <synchronization parameter> and the end tag </ synchronization parameter>. Describe the module> and the end tag </ gear control module> by lowering each character by one character.

また、カム制御モジュール121の実行順序や入力変数は上述した通りであることから、同期パラメータ読出部16bは、各ソフトウェアモジュールの実行順序を判断するとともに、各ソフトウェアモジュールの入力変数を同期パラメータ12fとして読み出す。そして、同期パラメータ読出部16bは、開始タグ<カム制御モジュール>と終了タグ</カム制御モジュール>との間に、開始タグ<実行順序>と終了タグ</実行順序>、開始タグ<マスタ軸番号>と終了タグ</マスタ軸番号>、開始タグ<スレーブ軸番号>と終了タグ</スレーブ軸番号>、及び開始タグ<実行許可>と終了タグ</実行許可>を、それぞれ1文字だけ字下げして記述し、各開始タグ及び終了タグの間に、対応する入力変数を記述する。 Further, since the execution order and input variables of the cam control module 121 are as described above, the synchronization parameter reading unit 16b determines the execution order of each software module, and sets the input variable of each software module as the synchronization parameter 12f. read out. Then, the synchronization parameter reading unit 16b has a start tag <execution order>, an end tag </ execution order>, and a start tag <master axis> between the start tag <cam control module> and the end tag </ cam control module>. Number> and end tag </ master axis number>, start tag <slave axis number> and end tag </ slave axis number>, and start tag <execution permission> and end tag </ permission>, each with only one character Write down the text, and write the corresponding input variable between each start tag and end tag.

同様に、ギア制御モジュール122の実行順序や入力変数は上述した通りであることから、パラメータ読出部16bは、これら実行順序や入力変数を読み出すとともに、開始タグ<ギア制御モジュール>と終了タグ</ギア制御モジュール>との間に、開始タグ<実行順序>と終了タグ</実行順序>、開始タグ<マスタ軸番号>と終了タグ</マスタ軸番号>、開始タグ<スレーブ軸番号>と終了タグ</スレーブ軸番号>、及び開始タグ<実行許可>と終了タグ</実行許可>を、それぞれ1文字だけ文字下げして記述し、各開始タグ及び終了タグの間に、対応する入力変数を記述する。 Similarly, since the execution order and input variables of the gear control module 122 are as described above, the parameter reading unit 16b reads these execution orders and input variables, and at the same time, the start tag <gear control module> and the end tag </ Between the gear control module>, the start tag <execution order> and the end tag </ execution order>, the start tag <master axis number> and the end tag </ master axis number>, the start tag <slave axis number> and the end. Describe the tag </ slave axis number>, the start tag <execution permission> and the end tag </ execution permission> by lowering each character by one character, and the corresponding input variable between each start tag and end tag. To describe.

そして、同期パラメータ読出部16bは同期パラメータ12fを図5に示す形式にて記述してメモリ12に記憶する。このように、開始タグ及び終了タグを用いた形式にて同期パラメータ12fを記述しメモリ12に記憶することにより、当該形式が広く普及していることから、表示支援プログラム1以外のプログラムにおいても同期パラメータ12fを利用しやすくなる。なお、実施の形態1では、同期パラメータ12fを開始タグ及び終了タグを用いた形式にて記述してメモリ12に記憶したが、記述形式についてはタグを用いた記述形式に限らず、表を用いた記述形式としてもよく、任意である。 Then, the synchronization parameter reading unit 16b describes the synchronization parameter 12f in the format shown in FIG. 5 and stores it in the memory 12. In this way, by describing the synchronization parameter 12f in the format using the start tag and the end tag and storing it in the memory 12, since the format is widely used, synchronization is also performed in programs other than the display support program 1. The parameter 12f becomes easy to use. In the first embodiment, the synchronization parameter 12f is described in a format using a start tag and an end tag and stored in the memory 12, but the description format is not limited to the description format using tags, and a table is used. The description format may be arbitrary.

図6は、実施の形態1に係る表示支援システム1によって実行される機構図生成処理のフローチャートを示す図であり、図7は、当該機構図生成処理を実行することによって生成される機構図の一例を示す。以下、図6及び図7を併せ参照して説明する。 FIG. 6 is a diagram showing a flowchart of the mechanism diagram generation process executed by the display support system 1 according to the first embodiment, and FIG. 7 is a diagram showing a mechanism diagram generated by executing the mechanism diagram generation process. An example is shown. Hereinafter, description will be made with reference to FIGS. 6 and 7.

同期制御プログラム12dが作成あるいは編集された後、入力装置13を用いた所定のユーザ操作が行われると、表示支援システム1、詳しくは、制御部16を構成するパラメータ読出部16b、機構要素図選択部16c、機構図生成部16d、及び表示制御部16eは、図6に示す機構図生成処理S1を実行開始する。 After the synchronous control program 12d is created or edited, when a predetermined user operation is performed using the input device 13, the display support system 1, specifically, the parameter reading unit 16b constituting the control unit 16, and the mechanism element diagram selection The unit 16c, the mechanism diagram generation unit 16d, and the display control unit 16e start executing the mechanism diagram generation process S1 shown in FIG.

機構図生成処理S1が実行開始されると、パラメータ読出部16bは、ステップS11の処理として、汎用言語の種類に応じて同期制御プログラム12dから同期パラメータ12fを読み出す。同期パラメータ12fを読み出すと、パラメータ読出部16bは、ステップS12の処理として、読み出した同期パラメータ12fを例えば図5に示した形式にてメモリ12に格納する。 When the mechanism diagram generation process S1 is started to be executed, the parameter reading unit 16b reads the synchronization parameter 12f from the synchronization control program 12d according to the type of the general-purpose language as the process of step S11. When the synchronization parameter 12f is read, the parameter reading unit 16b stores the read synchronization parameter 12f in the memory 12 in the format shown in FIG. 5, for example, as the process of step S12.

機構要素図選択部16cは、次に、ステップS13の処理として、メモリ12に記憶されている同期パラメータ12fに基づいて機構要素図を選択する。図7に示す例では、機構要素図選択部16cは、同期パラメータ12fに「カム制御モジュール」及び「ギア制御モジュール」が機能情報として含まれていることから、当該機能情報に対応する、カム動作を示す機構要素図123b及びギア動作を示す機構要素図123dを、機構要素図12cから、それぞれ選択する。また、機構要素図選択部16cは、同期パラメータ12fにマスタ軸番号「M1」とスレーブ軸番号「S1」及び「S2」が含まれていることから、これら識別番号に対応する、マスタ軸「M1」の機構要素図123a、スレーブ軸「S1」の機構要素図123c、及びスレーブ軸「S2」の機構要素図123eを、機構要素図12cから、それぞれ選択する。なお、ステップS13の処理が機構要素図選択ステップに相当する。 Next, as the process of step S13, the mechanism element diagram selection unit 16c selects the mechanism element diagram based on the synchronization parameter 12f stored in the memory 12. In the example shown in FIG. 7, since the machine element diagram selection unit 16c includes the “cam control module” and the “gear control module” as functional information in the synchronization parameter 12f, the cam operation corresponding to the functional information The mechanical element FIG. 123b showing the above and the mechanical element FIG. 123d showing the gear operation are selected from the mechanical element FIG. 12c, respectively. Further, since the machine element diagram selection unit 16c includes the master axis number “M1” and the slave axis numbers “S1” and “S2” in the synchronization parameter 12f, the master axis “M1” corresponding to these identification numbers is included. 123a, the mechanical element FIG. 123c of the slave axis “S1”, and the mechanical element FIG. 123e of the slave axis “S2” are selected from the mechanical element FIG. 12c, respectively. The process of step S13 corresponds to the mechanism element diagram selection step.

機構図生成部16dは、次に、ステップS14の処理として、同期パラメータ12fに基づいて、ステップS13において選択したマスタ軸の機構要素図を全て配置する。具体的には、機構図生成部16dは、図7に示す例では、マスタ軸の機構要素図としてマスタ軸「M1」の機構要素図123aのみ選択することから、ステップS14の処理として、マスタ軸識別番号「M1」の機構要素図123aを配置する。 Next, as the process of step S14, the mechanism diagram generation unit 16d arranges all the mechanism element diagrams of the master axes selected in step S13 based on the synchronization parameter 12f. Specifically, in the example shown in FIG. 7, the mechanism diagram generation unit 16d selects only the mechanism element diagram 123a of the master axis “M1” as the mechanism element diagram of the master axis. The mechanical element diagram 123a of the identification number “M1” is arranged.

機構図生成部16dは、次に、ステップS15の処理として、同期パラメータ12fに基づいて、同期関係を示す機構要素図と、スレーブ軸の機構要素図とを配置し、機構図を生成する。具体的には、図7に示す例では、実行順序情報「1」のソフトウェアモジュールとしてカム制御モジュール121が記憶されており、当該カム制御モジュール121の入力変数としてマスタ軸識別番号「M1」が記憶されており、当該カム制御モジュール121の入力変数としてスレーブ軸識別番号「S1」が記憶されていること(図5参照)から、機構図生成部16dは、ステップS15の処理として、カム動作を示す機構要素図123b及びスレーブ軸「S1」の機構要素図123cをマスタ軸番号「M1」の機構要素図123aに直列に配置する。 Next, as the process of step S15, the mechanism diagram generation unit 16d arranges the mechanism element diagram showing the synchronization relationship and the mechanism element diagram of the slave axis based on the synchronization parameter 12f, and generates the mechanism diagram. Specifically, in the example shown in FIG. 7, the cam control module 121 is stored as the software module of the execution order information "1", and the master axis identification number "M1" is stored as the input variable of the cam control module 121. Since the slave axis identification number “S1” is stored as an input variable of the cam control module 121 (see FIG. 5), the mechanism diagram generation unit 16d shows the cam operation as the process of step S15. The mechanical element FIG. 123b and the mechanical element FIG. 123c of the slave axis “S1” are arranged in series with the mechanical element FIG. 123a of the master axis number “M1”.

また、図7に示す例では、実行順序情報「2」のソフトウェアモジュールとしてギア制御モジュール122が記憶されており、当該ギア制御モジュール122の入力変数としてマスタ軸識別番号「M1」が記憶されており、当該ギア制御モジュール122の入力変数としてスレーブ軸識別番号「S2」が記憶されていること(図5参照)から、機構図生成部16dは、ステップS15の処理として、ギア動作を示す機構要素図123d及びスレーブ軸「S2」の機構要素図123eを、マスタ軸「M1」の機構要素図123aに直列に配置する。 Further, in the example shown in FIG. 7, the gear control module 122 is stored as the software module of the execution order information “2”, and the master axis identification number “M1” is stored as the input variable of the gear control module 122. Since the slave axis identification number “S2” is stored as an input variable of the gear control module 122 (see FIG. 5), the mechanism diagram generation unit 16d is a mechanism element diagram showing the gear operation as the process of step S15. The mechanical element FIG. 123e of the 123d and the slave axis “S2” is arranged in series with the mechanical element FIG. 123a of the master axis “M1”.

すなわち、機構図生成部16dは、図7に示すように、カム動作を示す機構要素図123b及びスレーブ軸「S1」の機構要素図123cと、ギア動作を示す機構要素図123d及びスレーブ軸「S2」の機構要素図123eとを、マスタ軸「M1」の機構要素図123aに並列に配置する。 That is, as shown in FIG. 7, the mechanism diagram generation unit 16d includes the mechanism element diagram 123b showing the cam operation and the mechanism element diagram 123c of the slave shaft “S1”, and the mechanism element diagram 123d and the slave shaft “S2” showing the gear operation. The mechanical element diagram 123e of "" is arranged in parallel with the mechanical element diagram 123a of the master axis "M1".

この際、機構図生成部16dは、カム動作を示す機構要素図123b及びスレーブ軸「S1」の機構要素図123cと、ギア動作を示す機構要素図123d及びスレーブ軸「S2」の機構要素図123eとを、実行順序と同じ順序になるように、すなわち、実行順序が「1」であるカム動作を示す機構要素図123b及びスレーブ軸「S1」の機構要素図123cを、実行順序が「2」であるギア動作を示す機構要素図123d及びスレーブ軸「S2」の機構要素図123eよりも、左方に配置する。このようにして、機構図生成部16dは、図7に示す機構図12gを生成し、メモリ12に記憶する。なお、ステップS14及びS15の処理が機構図生成ステップに相当する。 At this time, the mechanism diagram generation unit 16d includes the mechanism element diagram 123b showing the cam operation and the mechanism element diagram 123c of the slave shaft “S1”, and the mechanism element diagram 123d showing the gear operation and the mechanism element diagram 123e of the slave shaft “S2”. The mechanism element FIG. 123b showing the cam operation in which the execution order is “1” and the mechanism element FIG. 123c of the slave axis “S1” are arranged in the same order as the execution order, that is, the execution order is “2”. It is arranged to the left of the mechanical element FIG. 123d showing the gear operation and the mechanical element FIG. 123e of the slave shaft “S2”. In this way, the mechanism diagram generation unit 16d generates the mechanism diagram 12g shown in FIG. 7 and stores it in the memory 12. The processing of steps S14 and S15 corresponds to the mechanism diagram generation step.

表示制御部16eは、次に、ステップS16の処理として、ステップS13〜ステップS15の処理において生成された機構図を、表示装置14の表示画面14aに表示する。なお、ステップS16の処理が表示ステップに相当する。 Next, the display control unit 16e displays the mechanism diagram generated in the processes of steps S13 to S15 on the display screen 14a of the display device 14 as the process of step S16. The process of step S16 corresponds to the display step.

以上説明した実施の形態1の表示支援システム1では、同期制御に特化しない汎用言語であるFBD言語によって作成された同期制御プログラム12dから、マスタ軸とスレーブ軸との同期関係を示す機構図12gを生成し、この生成した機構図12gを表示装置14に表示することとした。機構図12gの生成及び表示にあたってユーザ操作を必要としないことから、同期制御プログラム12dにおけるマスタ軸とスレーブ軸の同期関係を、少ない作業工数により可視化することができるようになる。 In the display support system 1 of the first embodiment described above, the mechanism diagram 12g showing the synchronization relationship between the master axis and the slave axis from the synchronization control program 12d created by the FBD language, which is a general-purpose language not specialized in synchronization control. Was generated, and the generated mechanism diagram 12g was to be displayed on the display device 14. Since no user operation is required to generate and display the mechanism diagram 12g, the synchronization relationship between the master axis and the slave axis in the synchronization control program 12d can be visualized with a small number of man-hours.

また、実施の形態1の表示支援システム1では、機構図生成部16dは、同期制御プログラム12dを構成する、カム動作を示す機構要素図123b及びスレーブ軸「S1」の機構要素図123cと、ギア動作を示す機構要素図123d及びスレーブ軸「S2」の機構要素図123eとを、実行順序と同じ順序となるように配置して、機構図12gを生成することとした。これにより、マスタ軸とスレーブ軸の同期関係だけでなく、ソフトウェアモジュールの実行順序についても、少ない作業工数により可視化することができるようになる。 Further, in the display support system 1 of the first embodiment, the mechanism diagram generation unit 16d comprises the mechanism element diagram 123b showing the cam operation, the mechanism element diagram 123c of the slave shaft “S1”, and the gear, which constitute the synchronization control program 12d. It was decided to generate the mechanism diagram 12g by arranging the mechanism element diagram 123d showing the operation and the mechanism element diagram 123e of the slave axis “S2” in the same order as the execution order. As a result, not only the synchronous relationship between the master axis and the slave axis but also the execution order of the software modules can be visualized with a small number of man-hours.

実施の形態2.
実施の形態1では、表示支援システム1は、1軸のマスタ軸に対する2軸のスレーブ軸の動作を同期制御するモータ制御システム20の同期制御プログラム12dから機構図12gを自動的に生成する。しかし、機構図の生成対象とする同期制御プログラムは、これに限定されない。実施の形態2では、1軸のマスタ軸に対する1軸のスレーブ軸の動作を同期制御するモータ制御システムの同期制御プログラムから機構図を自動的に生成する。この実施の形態2について、図8〜図11を参照して説明する。なお、実施の形態2の表示支援システム2も、実施の形態1の表示支援システム1に準じた構成を有する。そのため、以下での重複する説明は割愛する。
Embodiment 2.
In the first embodiment, the display support system 1 automatically generates a mechanism diagram 12g from the synchronous control program 12d of the motor control system 20 that synchronously controls the operation of the slave axes of the two axes with respect to the master axis of the one axis. However, the synchronization control program for which the mechanism diagram is generated is not limited to this. In the second embodiment, the mechanism diagram is automatically generated from the synchronous control program of the motor control system that synchronously controls the operation of the slave axis of one axis with respect to the master axis of one axis. The second embodiment will be described with reference to FIGS. 8 to 11. The display support system 2 of the second embodiment also has a configuration similar to the display support system 1 of the first embodiment. Therefore, the duplicate explanation below is omitted.

図8は、本発明の実施の形態2に係る表示支援システム2を、当該表示支援システム2と有線にて通信可能に接続されるモータ制御システム20aのハードウェア構成を含めて示す図である。実施の形態2では、モータ制御システム20aは、実施の形態1のモータ制御システム20から第3モータドライバ22c及び第3モータ23cが割愛されており、第1モータ23aを動作の基準となるマスタ軸とし、第2モータ23bを第1モータ23aに連動するスレーブ軸としている。また、モータ制御システム20aを構成する第1モータ23a及び第2モータ23bには、それぞれを特定するための識別番号「M1」及び「S1」が割り付けられている。また、実施の形態2でも、モータ制御システム20aは、カム及びギア等の機械要素を備えず、第1モータ23a及び第2モータ23bを電気的に連動させることにより、第1モータ23a及び第2モータ23bの同期制御を行う。そのため、実施の形態2のモーションコントローラ21aは、実施の形態1のモーションコントローラ21によって実行される同期制御プログラム12dとは異なる同期制御プログラム22dを実行する。 FIG. 8 is a diagram showing the display support system 2 according to the second embodiment of the present invention, including the hardware configuration of the motor control system 20a that is wirelessly connected to the display support system 2. In the second embodiment, in the motor control system 20a, the third motor driver 22c and the third motor 23c are omitted from the motor control system 20 of the first embodiment, and the first motor 23a is used as a reference for operation of the master shaft. The second motor 23b is used as a slave shaft interlocked with the first motor 23a. Further, identification numbers "M1" and "S1" for identifying the first motor 23a and the second motor 23b constituting the motor control system 20a are assigned to each of the first motor 23a and the second motor 23b. Further, also in the second embodiment, the motor control system 20a does not include mechanical elements such as cams and gears, and by electrically interlocking the first motor 23a and the second motor 23b, the first motor 23a and the second motor 23a and the second motor 23a and the second motor 23a are electrically interlocked. Synchronous control of the motor 23b is performed. Therefore, the motion controller 21a of the second embodiment executes a synchronization control program 22d different from the synchronization control program 12d executed by the motion controller 21 of the first embodiment.

図9は、実施の形態2に係る表示支援システム2のユーザによって新規作成あるいは編集された同期制御プログラム22dの一例を示す図である。同期制御プログラム22dも、実施の形態1の同期制御プログラム12dと同様に、同期制御に特化しない汎用言語の一例であるFBD言語によって記述されている。 FIG. 9 is a diagram showing an example of a synchronization control program 22d newly created or edited by a user of the display support system 2 according to the second embodiment. The synchronization control program 22d is also described in the FBD language, which is an example of a general-purpose language that does not specialize in synchronization control, like the synchronization control program 12d of the first embodiment.

図9に示すように、同期制御プログラム22dには、ギア動作の機能を記述したソフトウェアモジュールであるギア制御モジュール221と、カム動作の機能を記述したソフトウェアモジュールであるカム制御モジュール222と、が含まれており、これらギア制御モジュール221及びカム制御モジュール222は、表示画面14aにおいて上下方向にずれることなく左右方向に並んで配置されている。 As shown in FIG. 9, the synchronous control program 22d includes a gear control module 221 which is a software module describing the function of gear operation, and a cam control module 222 which is a software module describing the function of cam operation. The gear control module 221 and the cam control module 222 are arranged side by side in the left-right direction without shifting in the up-down direction on the display screen 14a.

ギア制御モジュール221は、動作の基準となるマスタ軸を特定するマスタ軸識別番号221a、マスタ軸に連動するスレーブ軸を特定するスレーブ軸識別番号221b、当該ギア制御モジュール221自体の実行許可または不許可を示す情報である実行許可情報221c、マスタ軸の位置に対するスレーブ軸の位置を計算するための比率を示すギア比の情報であるギア比221dを入力変数とする。また、ギア制御モジュール221は、上記入力変数のうち、マスタ軸を特定するマスタ軸識別番号221a及びスレーブ軸を特定する識別番号を出力変数とし、後段に接続されたカム制御モジュール222と結線されている。 The gear control module 221 has a master axis identification number 221a that specifies a master axis that is a reference for operation, a slave axis identification number 221b that specifies a slave axis that is linked to the master axis, and execution permission or disapproval of the gear control module 221 itself. The execution permission information 221c, which is the information indicating the above, and the gear ratio 221d, which is the information of the gear ratio indicating the ratio for calculating the position of the slave shaft with respect to the position of the master shaft, are used as input variables. Further, the gear control module 221 uses the master axis identification number 221a for specifying the master axis and the identification number for specifying the slave axis as output variables among the above input variables, and is connected to the cam control module 222 connected to the subsequent stage. There is.

カム制御モジュール222は、動作の基準となるマスタ軸を特定するマスタ軸識別番号222a、マスタ軸に連動するスレーブ軸を特定するスレーブ軸識別番号222b、当該カム制御モジュール222自体の実行許可または不許可を示す情報である実行許可情報222c、複数のカム曲線の種類を特定するカム番号222dを入力変数とする。なお、ギア制御モジュール221及びカム制御モジュール222は上記のように結線されているため、マスタ軸を特定するマスタ軸識別番号222aは、ギア制御モジュール221から出力されるマスタ軸識別番号と同一となり、スレーブ軸を特定するスレーブ軸識別番号222bは、ギア制御モジュール221から出力されるスレーブ軸識別番号と同一となる。 The cam control module 222 has a master axis identification number 222a for specifying a master axis as an operation reference, a slave axis identification number 222b for specifying a slave axis linked to the master axis, and execution permission or disapproval of the cam control module 222 itself. The execution permission information 222c, which is information indicating the above, and the cam number 222d, which specifies the types of a plurality of cam curves, are used as input variables. Since the gear control module 221 and the cam control module 222 are connected as described above, the master axis identification number 222a for specifying the master axis is the same as the master axis identification number output from the gear control module 221. The slave axis identification number 222b that identifies the slave axis is the same as the slave axis identification number output from the gear control module 221.

図10は、実施の形態2に係る表示支援システム2において、同期制御プログラム22dから読み出された同期パラメータのメモリ12への格納形式の一例を示す図である。図10に示すように、実施の形態2の同期制御プログラム22dから読み出された同期パラメータ22fは、先の図5に示した、実施の形態1の同期制御プログラム12dから読み出された同期パラメータ12fとは、次の点で相違している。すなわち、同期パラメータ12fでは、ギア制御モジュール及びカム制御モジュールの実行順序がそれぞれ「2」及び「1」であるのに対し、同期パラメータ22fでは、ギア制御モジュール及びカム制御モジュールの実行順序がそれぞれ「1」及び「2」であり、実行順序が逆になっている。また、同期パラメータ12fでは、カム制御モジュールのスレーブ軸識別番号及びギア制御モジュールのスレーブ軸識別番号はそれぞれ「S1」及び「S2」と異なっているのに対し、同期パラメータ22fでは、ギア制御モジュールでもカム制御モジュールでも、スレーブ軸番号は「S1」で共通である。 FIG. 10 is a diagram showing an example of a storage format of the synchronization parameters read from the synchronization control program 22d in the memory 12 in the display support system 2 according to the second embodiment. As shown in FIG. 10, the synchronization parameter 22f read from the synchronization control program 22d of the second embodiment is the synchronization parameter read from the synchronization control program 12d of the first embodiment shown in FIG. It differs from 12f in the following points. That is, in the synchronization parameter 12f, the execution order of the gear control module and the cam control module is "2" and "1", respectively, whereas in the synchronization parameter 22f, the execution order of the gear control module and the cam control module is "2" and "1", respectively. 1 ”and“ 2 ”, and the execution order is reversed. Further, in the synchronization parameter 12f, the slave axis identification number of the cam control module and the slave axis identification number of the gear control module are different from "S1" and "S2", respectively, whereas in the synchronization parameter 22f, even in the gear control module. Even in the cam control module, the slave axis number is common to "S1".

上記同期制御プログラム22dが作成あるいは編集された後、入力装置13を用いた所定のユーザ操作が行われると、表示支援システム2は、先の図6に示す機構図生成処理S1を実行開始する。図11は、当該機構図生成処理S1を実行することによって生成される機構図の一例を示す。以下、図6及び図11を併せ参照して説明する。 After the synchronization control program 22d is created or edited, when a predetermined user operation using the input device 13 is performed, the display support system 2 starts executing the mechanism diagram generation process S1 shown in FIG. FIG. 11 shows an example of a mechanism diagram generated by executing the mechanism diagram generation process S1. Hereinafter, description will be made with reference to FIGS. 6 and 11.

機構図生成処理S1が実行開始されると、パラメータ読出部16bは、ステップS11の処理として、汎用言語の種類に応じて同期制御プログラム22dから同期パラメータ22fを読み出す。同期パラメータ22fを読み出すと、パラメータ読出部16bは、ステップS12の処理として、読み出した同期パラメータ22fを例えば図10に示した形式にてメモリ12に格納する。なお、ステップS11の処理がパラメータ読出ステップに相当する。 When the mechanism diagram generation process S1 is started to be executed, the parameter reading unit 16b reads the synchronization parameter 22f from the synchronization control program 22d according to the type of the general-purpose language as the process of step S11. When the synchronization parameter 22f is read, the parameter reading unit 16b stores the read synchronization parameter 22f in the memory 12 in the format shown in FIG. 10, for example, as the process of step S12. The process of step S11 corresponds to the parameter reading step.

機構要素図選択部16cは、次に、ステップS13の処理として、メモリ12に記憶されている同期パラメータ22fに基づいて機構要素図を選択する。図11に示す例では、機構要素図選択部16cは、同期パラメータ22fに「ギア制御モジュール」及び「カム制御モジュール」が機能情報として含まれていることから、当該機能情報に対応する、ギア動作を示す機構要素図223b及びカム動作を示す機構要素図223cを、機構要素図12cから、それぞれ選択する。また、機構要素図選択部16cは、同期パラメータ22fにマスタ軸番号「M1」及びスレーブ軸番号「S1」が含まれていることから、これら識別番号に対応する、マスタ軸「M1」の機構要素図223a及びスレーブ軸「S1」の機構要素図223dを、機構要素図12cから、それぞれ選択する。 Next, as the process of step S13, the mechanism element diagram selection unit 16c selects the mechanism element diagram based on the synchronization parameter 22f stored in the memory 12. In the example shown in FIG. 11, since the machine element diagram selection unit 16c includes the “gear control module” and the “cam control module” as functional information in the synchronization parameter 22f, the gear operation corresponding to the functional information The mechanism element FIG. 223b showing the above and the mechanism element FIG. 223c showing the cam operation are selected from the mechanism element FIG. 12c, respectively. Further, since the mechanical element diagram selection unit 16c includes the master axis number “M1” and the slave axis number “S1” in the synchronization parameter 22f, the mechanical element of the master axis “M1” corresponding to these identification numbers. FIG. 223a and the mechanical element FIG. 223d of the slave axis “S1” are selected from the mechanical element FIG. 12c, respectively.

機構図生成部16dは、次に、ステップS14の処理として、同期パラメータ22fに基づいて、ステップS13において選択したマスタ軸の機構要素図を全て配置する。具体的には、機構図生成部16dは、図11に示す例では、マスタ軸の機構要素図としてマスタ軸「M1」の機構要素図223aのみ選択することから、ステップS14の処理として、マスタ軸識別番号「M1」の機構要素図223aを配置する。 Next, as the process of step S14, the mechanism diagram generation unit 16d arranges all the mechanism element diagrams of the master axes selected in step S13 based on the synchronization parameter 22f. Specifically, in the example shown in FIG. 11, the mechanism diagram generation unit 16d selects only the mechanism element FIG. 223a of the master axis “M1” as the mechanism element diagram of the master axis. The mechanical element FIG. 223a of the identification number “M1” is arranged.

機構図生成部16dは、次に、ステップS15の処理として、同期パラメータ22fに基づいて、同期関係を示す機構要素図と、スレーブ軸の機構要素図とを配置し、機構図を生成する。具体的には、図11に示す例では、機構図生成部16dは、実行順序情報「1」のソフトウェアモジュールとしてギア制御モジュール221が記憶されており、当該ギア制御モジュール221の入力変数としてマスタ軸識別番号「M1」が記憶されており、当該ギア制御モジュール221の入力変数としてスレーブ軸識別番号「S1」が記憶されていること、また、実行順序情報「2」のソフトウェアモジュールとしてカム制御モジュール222が記憶されており、当該カム制御モジュール222の入力変数としてマスタ軸識別番号「M1」が記憶されており、当該カム制御モジュール222の入力変数としてスレーブ軸識別番号「S1」が記憶されていること(図9参照)から、ステップS15の処理として、マスタ軸「M1」の機構要素図223aに対して、ギア動作を示す機構要素図223b、カム動作を示す機構要素図223c、及びスレーブ軸「S1」の機構要素図223dを直列に配置する。 Next, as the process of step S15, the mechanism diagram generation unit 16d arranges the mechanism element diagram showing the synchronization relationship and the mechanism element diagram of the slave axis based on the synchronization parameter 22f, and generates the mechanism diagram. Specifically, in the example shown in FIG. 11, the mechanism diagram generation unit 16d stores the gear control module 221 as the software module of the execution order information “1”, and the master axis is used as the input variable of the gear control module 221. The identification number "M1" is stored, the slave axis identification number "S1" is stored as an input variable of the gear control module 221 and the cam control module 222 is stored as a software module of the execution order information "2". Is stored, the master axis identification number "M1" is stored as an input variable of the cam control module 222, and the slave axis identification number "S1" is stored as an input variable of the cam control module 222. From (see FIG. 9), as the process of step S15, with respect to the mechanical element FIG. 223a of the master shaft “M1”, the mechanical element FIG. 223b showing the gear operation, the mechanical element FIG. 223c showing the cam operation, and the slave shaft “S1”. 223d of the mechanism element is arranged in series.

このようにして、機構図生成部16dは、図11に示す機構図22gを生成する。この際、機構図生成部16dは、ギア動作を示す機構要素図223bと、カム動作を示す機構要素図223cとを、実行順序と同じ順序になるように、すなわち、実行順序が「1」であるギア動作を示す機構要素図223bを、実行順序が「2」であるカム動作を示す機構要素図223dよりも、上方に配置する。このようにして、機構図生成部16dは、図11に示す機構図22gを生成し、メモリ12に記憶する。 In this way, the mechanism diagram generation unit 16d generates the mechanism diagram 22g shown in FIG. At this time, the mechanism diagram generation unit 16d arranges the mechanism element FIG. 223b showing the gear operation and the mechanism element FIG. 223c showing the cam operation in the same order as the execution order, that is, the execution order is "1". The mechanical element FIG. 223b showing a certain gear operation is arranged above the mechanical element FIG. 223d showing the cam operation whose execution order is “2”. In this way, the mechanism diagram generation unit 16d generates the mechanism diagram 22g shown in FIG. 11 and stores it in the memory 12.

以上説明した実施の形態2の表示支援システム2でも、同期制御に特化しない汎用言語であるFBD言語によって作成された同期制御プログラム22dから、マスタ軸とスレーブ軸との同期関係を示す機構図22gを生成し、この生成した機構図22gを表示装置14に表示することとした。機構図22gの生成及び表示にあたってユーザ操作を必要としないことから、同期制御プログラム22dにおけるマスタ軸とスレーブ軸の同期関係を、少ない作業工数により可視化することができるようになる。 Also in the display support system 2 of the second embodiment described above, the mechanism diagram 22g showing the synchronization relationship between the master axis and the slave axis from the synchronization control program 22d created by the FBD language, which is a general-purpose language not specialized in synchronization control. Was generated, and the generated mechanism diagram 22g was to be displayed on the display device 14. Since no user operation is required to generate and display the mechanism diagram 22g, the synchronization relationship between the master axis and the slave axis in the synchronization control program 22d can be visualized with a small number of man-hours.

また、実施の形態2の表示支援システム2でも、機構図生成部16dは、同期制御プログラム12dを構成する、ギア動作を示す機構要素図223bと、カム動作を示す機構要素図223cとを、実行順序と同じ順序となるように配置して、機構図22gを生成することとした。これにより、マスタ軸とスレーブ軸の同期関係だけでなく、ソフトウェアモジュールの実行順序についても、少ない作業工数により可視化することができるようになる。 Further, also in the display support system 2 of the second embodiment, the mechanism diagram generation unit 16d executes the mechanism element FIG. 223b showing the gear operation and the mechanism element FIG. 223c showing the cam operation, which constitute the synchronization control program 12d. It was decided to generate the mechanism diagram 22g by arranging them in the same order as the order. As a result, not only the synchronous relationship between the master axis and the slave axis but also the execution order of the software modules can be visualized with a small number of man-hours.

実施の形態2では、同期制御プログラム22dにおいて、ギア制御モジュール221及びカム制御モジュール222が結線されていたが、必ずしも結線される必要はない。実施の形態1のように、ギア制御モジュール221の入力変数の一つであるマスタ軸識別番号とカム制御モジュール222の入力変数の一つであるマスタ軸識別番号とが一致しており、かつ、ギア制御モジュール221の入力変数の一つであるスレーブ軸識別番号とカム制御モジュール222の入力変数の一つであるスレーブ軸識別番号とが一致していれば、これらモジュールは結線される必要はない。 In the second embodiment, the gear control module 221 and the cam control module 222 are connected in the synchronous control program 22d, but they do not necessarily have to be connected. As in the first embodiment, the master axis identification number which is one of the input variables of the gear control module 221 and the master axis identification number which is one of the input variables of the cam control module 222 match, and If the slave axis identification number, which is one of the input variables of the gear control module 221 and the slave axis identification number, which is one of the input variables of the cam control module 222, match, these modules do not need to be connected. ..

実施の形態3.
実施の形態1及び2では、表示支援システム1及び2は、同期制御に特化しない汎用言語としてFBD言語によって記述された同期制御プログラム12d〜22dから機構図12g〜22gを自動的に生成する。同期制御プログラムを記述する汎用言語はFBD言語に限らない。実施の形態3では、表示支援システムは、同期制御に特化しない汎用言語としてST言語によって記述された同期制御プログラムから機構図を自動的に生成する。この実施の形態3について、図12〜図14を参照して説明する。
Embodiment 3.
In the first and second embodiments, the display support systems 1 and 2 automatically generate mechanical diagrams 12g to 22g from the synchronization control programs 12d to 22d described in the FBD language as a general-purpose language not specialized in synchronization control. The general-purpose language for writing a synchronization control program is not limited to the FBD language. In the third embodiment, the display support system automatically generates a mechanism diagram from a synchronization control program written in the ST language as a general-purpose language that does not specialize in synchronization control. The third embodiment will be described with reference to FIGS. 12 to 14.

図12は、実施の形態3に係る表示支援システム3を、当該表示支援システム3と有線にて通信可能に接続されるモータ制御システム20bのハードウェア構成を含めて示す図である。実施の形態3の表示支援システム3は、実施の形態1の表示支援システム1に準じた構成を有する。ただし、実施の形態3のモーションコントローラ21bは、実施の形態1のモーションコントローラ21によって実行される同期制御プログラム12dとは異なる同期制御プログラム32dを実行する。 FIG. 12 is a diagram showing the display support system 3 according to the third embodiment including the hardware configuration of the motor control system 20b which is connected to the display support system 3 by wire so as to be communicable. The display support system 3 of the third embodiment has a configuration similar to the display support system 1 of the first embodiment. However, the motion controller 21b of the third embodiment executes a synchronization control program 32d different from the synchronization control program 12d executed by the motion controller 21 of the first embodiment.

図13は、実施の形態3に係る表示支援システム3のユーザによって新規作成あるいは編集された同期制御プログラム32dの一例を示す図である。同期制御プログラム32dは、同期制御に特化しない汎用言語の一例であるST言語によって記述されている。 FIG. 13 is a diagram showing an example of a synchronization control program 32d newly created or edited by a user of the display support system 3 according to the third embodiment. The synchronization control program 32d is described in the ST language, which is an example of a general-purpose language that does not specialize in synchronization control.

図13に示すように、同期制御プログラム32dは、1行目において、GearControlという関数名のソフトウェアモジュールであるギア制御モジュールを呼び出し、2行目において、CamControlという関数名のソフトウェアモジュールであるカム制御モジュールを呼び出す。 As shown in FIG. 13, the synchronous control program 32d calls the gear control module, which is a software module with the function name GearControl, in the first line, and the cam control module, which is the software module with the function name CamControl, in the second line. To call.

ST言語で作成されたプログラムでは、記述された順番が早い、すなわち上下方向上方に記述されたソフトウェアモジュールであるほど実行順序が早い。したがって、図13に示した同期制御プログラム32dでは、同期制御プログラム32dが2つのソフトウェアモジュールを呼び出すこと、ギア制御モジュールの方がカム制御モジュールよりも実行順序が早いことから、ギア制御モジュールの実行順序を示す情報である実行順序情報は「1」であり、カム制御モジュールの実行順序情報は「2」となる。表示支援システム3のユーザがST言語を利用して同期制御プログラム32dを作成した場合、ユーザが各ソフトウェアモジュールの実行順序を改めて設定する必要はなく、各ソフトウェアモジュールの記述順序によって自動的に判断される。 In a program written in the ST language, the order in which it is written is earlier, that is, the software module described in the upper and lower directions has an earlier execution order. Therefore, in the synchronous control program 32d shown in FIG. 13, since the synchronous control program 32d calls two software modules and the gear control module executes earlier than the cam control module, the execution order of the gear control modules The execution order information indicating the above is “1”, and the execution order information of the cam control module is “2”. When the user of the display support system 3 creates the synchronization control program 32d using the ST language, the user does not need to set the execution order of each software module again, and it is automatically determined by the description order of each software module. The software.

ギア制御モジュールは、ギア動作の機能を記述するソフトウェアモジュールであり、動作の基準となるマスタ軸を特定する識別番号、マスタ軸に連動するスレーブ軸を特定する識別番号、及びマスタ軸の位置に対するスレーブ軸の位置を計算するための比率を示すギア比の情報であるギア比を引数とする。なお、実施の形態3では、モータ制御システム20b(図12)の第1モータ23aをマスタ軸とし、第2モータ23bをスレーブ軸とすることから、マスタ軸番号として第1モータ23aの識別番号である「M1」が、スレーブ軸番号として第2モータ23bの識別番号である「S1」が設定されている。また、実施の形態3では、モータ制御システム20b(図12)のマスタ軸とする第1モータ23aに対してスレーブ軸とする第3モータ23cはギア比「2」にて同期制御されることから、ギア比には「2」が設定されている。 The gear control module is a software module that describes the function of gear operation, and is an identification number that identifies the master axis that is the reference for operation, an identification number that identifies the slave axis that is linked to the master axis, and a slave with respect to the position of the master axis. The gear ratio, which is the information of the gear ratio indicating the ratio for calculating the position of the shaft, is used as an argument. In the third embodiment, since the first motor 23a of the motor control system 20b (FIG. 12) is used as the master shaft and the second motor 23b is used as the slave shaft, the identification number of the first motor 23a is used as the master shaft number. A certain "M1" is set as a slave axis number "S1" which is an identification number of the second motor 23b. Further, in the third embodiment, the third motor 23c, which is the slave shaft, is synchronously controlled with the gear ratio "2" with respect to the first motor 23a, which is the master shaft of the motor control system 20b (FIG. 12). , "2" is set for the gear ratio.

カム制御モジュールは、カム動作の機能を記述するソフトウェアモジュールであり、動作の基準となるマスタ軸を特定する識別番号、マスタ軸に連動するスレーブ軸を特定する識別番号、複数のカム曲線の種類を特定するカム番号を引数とする。なお、実施の形態3では、モータ制御システム20b(図12)の第1モータ23aをマスタ軸とし、第3モータ23cをスレーブ軸とすることから、マスタ軸識別番号として第1モータ23aの識別番号である「M1」が、スレーブ軸識別番号として第3モータ23cの識別番号である「S2」が、それぞれ設定されている。また、実施の形態3では、モータ制御システム20b(図12)のマスタ軸とする第1モータ23aに対してスレーブ軸とする第3モータ23cは例えば正弦曲線に従って動作させながら同期制御させることから、カム番号には、「正弦曲線」に対応する番号である「1」が設定されている。 The cam control module is a software module that describes the function of cam operation, and has an identification number that identifies the master axis that is the reference for operation, an identification number that identifies the slave axis that is linked to the master axis, and multiple types of cam curves. The specified cam number is used as an argument. In the third embodiment, since the first motor 23a of the motor control system 20b (FIG. 12) is used as the master shaft and the third motor 23c is used as the slave shaft, the identification number of the first motor 23a is used as the master shaft identification number. "M1" is set as the slave axis identification number, and "S2", which is the identification number of the third motor 23c, is set as the slave axis identification number. Further, in the third embodiment, the third motor 23c as the slave axis is synchronously controlled while operating according to, for example, a sinusoidal curve with respect to the first motor 23a as the master axis of the motor control system 20b (FIG. 12). The cam number is set to "1", which is a number corresponding to the "sine curve".

上記同期制御プログラム32dが作成あるいは編集された後、入力装置13を用いた所定のユーザ操作が行われると、表示支援システム3は、先の図6に示す機構図生成処理S1を実行開始する。図14は、当該機構図生成処理S1を実行することによって生成される機構図の一例を示す。以下、図6及び図14を併せ参照して説明する。 After the synchronization control program 32d is created or edited, when a predetermined user operation using the input device 13 is performed, the display support system 3 starts executing the mechanism diagram generation process S1 shown in FIG. FIG. 14 shows an example of the mechanism diagram generated by executing the mechanism diagram generation process S1. Hereinafter, description will be made with reference to FIGS. 6 and 14.

機構図生成処理S1が実行開始されると、パラメータ読出部16bは、ステップS11の処理として、汎用言語の種類に応じて同期制御プログラム32dから同期パラメータ32fを読み出す。同期パラメータ32fを読み出すと、パラメータ読出部16bは、ステップS12の処理として、読み出した同期パラメータ32fを例えば図14に示した形式にてメモリ12に格納する。 When the mechanism diagram generation process S1 is started to be executed, the parameter reading unit 16b reads the synchronization parameter 32f from the synchronization control program 32d according to the type of the general-purpose language as the process of step S11. When the synchronization parameter 32f is read, the parameter reading unit 16b stores the read synchronization parameter 32f in the memory 12 in the format shown in FIG. 14, for example, as the process of step S12.

機構要素図選択部16cは、次に、ステップS13の処理として、メモリ12に記憶されている同期パラメータ32fに基づいて機構要素図を選択する。図15に示す例では、機構要素図選択部16cは、同期パラメータ32fに「ギア制御モジュール」及び「カム制御モジュール」が機能情報として含まれていることから、当該機能情報に対応する、ギア動作を示す機構要素図321b及びカム動作を示す機構要素図321dを、機構要素図12cから、それぞれ選択する。また、機構要素図選択部16cは、同期パラメータ32fにマスタ軸番号「M1」、スレーブ軸番号「S1」、及びスレーブ軸番号「S2」が含まれていることから、これら識別番号に対応する、マスタ軸「M1」の機構要素図223a、スレーブ軸「S1」の機構要素図223d、及びスレーブ軸「S2」の機構要素図223eを、機構要素図12cから、それぞれ選択する。 Next, as the process of step S13, the mechanism element diagram selection unit 16c selects the mechanism element diagram based on the synchronization parameter 32f stored in the memory 12. In the example shown in FIG. 15, since the machine element diagram selection unit 16c includes the “gear control module” and the “cam control module” as functional information in the synchronization parameter 32f, the gear operation corresponding to the functional information The mechanical element FIG. 321b showing the above and the mechanical element FIG. 321d showing the cam operation are selected from the mechanical element FIG. 12c, respectively. Further, since the machine element diagram selection unit 16c includes the master axis number “M1”, the slave axis number “S1”, and the slave axis number “S2” in the synchronization parameter 32f, the mechanism element diagram selection unit 16c corresponds to these identification numbers. The mechanical element FIG. 223a of the master axis “M1”, the mechanical element FIG. 223d of the slave axis “S1”, and the mechanical element FIG. 223e of the slave axis “S2” are selected from the mechanical element FIG. 12c, respectively.

機構図生成部16dは、次に、ステップS14の処理として、同期パラメータ32fに基づいて、ステップS13において選択したマスタ軸の機構要素図を全て配置する。具体的には、機構図生成部16dは、図15に示す例では、マスタ軸の機構要素図としてマスタ軸「M1」の機構要素図321aのみ選択することから、ステップS14の処理として、マスタ軸識別番号「M1」の機構要素図321aを配置する。 Next, as the process of step S14, the mechanism diagram generation unit 16d arranges all the mechanism element diagrams of the master axes selected in step S13 based on the synchronization parameter 32f. Specifically, in the example shown in FIG. 15, the mechanism diagram generation unit 16d selects only the mechanism element diagram 321a of the master axis “M1” as the mechanism element diagram of the master axis. The mechanical element FIG. 321a of the identification number “M1” is arranged.

機構図生成部16dは、次に、ステップS15の処理として、同期パラメータ32fに基づいて、同期関係を示す機構要素図と、スレーブ軸の機構要素図とを配置し、機構図を生成する。 Next, as the process of step S15, the mechanism diagram generation unit 16d arranges the mechanism element diagram showing the synchronization relationship and the mechanism element diagram of the slave axis based on the synchronization parameter 32f, and generates the mechanism diagram.

具体的には、図15に示す例では、機構図生成部16dは、実行順序情報「1」のソフトウェアモジュールとしてギア制御モジュールが記憶されており、当該ギア制御モジュールの引数としてマスタ軸識別番号「M1」が記憶されており、当該ギア制御モジュールの引数としてスレーブ軸識別番号「S1」が記憶されていること、また、実行順序情報「2」のソフトウェアモジュールとしてカム制御モジュールが記憶されており、当該カム制御モジュールの引数としてマスタ軸識別番号「M1」が記憶されており、当該カム制御モジュールの引数としてスレーブ軸識別番号「S1」が記憶されていること(図13参照)から、ステップS15の処理として、マスタ軸「M1」の機構要素図321aに対して、ギア動作を示す機構要素図321b及びスレーブ軸「S1」の機構要素図321cを直列に配置する。 Specifically, in the example shown in FIG. 15, the mechanism diagram generation unit 16d stores the gear control module as the software module of the execution order information “1”, and the master axis identification number “ "M1" is stored, the slave axis identification number "S1" is stored as an argument of the gear control module, and the cam control module is stored as a software module of execution order information "2". Since the master axis identification number "M1" is stored as an argument of the cam control module and the slave axis identification number "S1" is stored as an argument of the cam control module (see FIG. 13), step S15 is performed. As a process, the mechanical element FIG. 321b showing the gear operation and the mechanical element FIG. 321c of the slave shaft “S1” are arranged in series with the mechanical element FIG. 321a of the master shaft “M1”.

また、図15に示す例では、実行順序情報「2」のソフトウェアモジュールとしてカム制御モジュールが記憶されており、当該カム制御モジュールの引数としてマスタ軸識別番号「M1」が記憶されており、当該カム制御モジュールの引数としてスレーブ軸識別番号「S2」が記憶されていること(図14参照)から、機構図生成部16dは、ステップS15の処理として、カム動作を示す機構要素図321d及びスレーブ軸「S2」の機構要素図321eを、マスタ軸「M1」の機構要素図321aに直列に配置する。 Further, in the example shown in FIG. 15, the cam control module is stored as the software module of the execution order information "2", and the master axis identification number "M1" is stored as an argument of the cam control module, and the cam is stored. Since the slave axis identification number “S2” is stored as an argument of the control module (see FIG. 14), the mechanism diagram generation unit 16d performs the process of step S15 with the mechanism element FIG. 321d showing the cam operation and the slave axis “S2”. The mechanical element FIG. 321e of "S2" is arranged in series with the mechanical element FIG. 321a of the master axis "M1".

すなわち、機構図生成部16dは、図15に示すように、ギア動作を示す機構要素図321b及びスレーブ軸「S1」の機構要素図321cと、カム動作を示す機構要素図321d及びスレーブ軸「S2」の機構要素図321eとを、マスタ軸「M1」の機構要素図321aに並列に配置する。 That is, as shown in FIG. 15, the mechanism diagram generation unit 16d includes the mechanism element FIG. 321b showing the gear operation, the mechanism element FIG. 321c of the slave shaft “S1”, the mechanism element FIG. 321d showing the cam operation, and the slave shaft “S2”. 321e and the mechanical element FIG. 321e of the above are arranged in parallel with the mechanical element FIG. 321a of the master axis “M1”.

この際、機構図生成部16dは、ギア動作を示す機構要素図321b及びスレーブ軸「S1」の機構要素図321cと、カム動作を示す機構要素図321d及びスレーブ軸「S2」の機構要素図321eとを、実行順序と同じ順序になるように、すなわち、実行順序が「1」であるギア動作を示す機構要素図321b及びスレーブ軸「S1」の機構要素図321cを、実行順序が「2」であるカム動作を示す機構要素図321d及びスレーブ軸「S2」の機構要素図321eよりも、上下方向上方に配置する。このようにして、機構図生成部16dは、図15に示す機構図32gを生成し、メモリ12に記憶する。 At this time, the mechanism diagram generation unit 16d includes the mechanism element FIG. 321b showing the gear operation, the mechanism element FIG. 321c of the slave shaft “S1”, the mechanism element FIG. 321d showing the cam operation, and the mechanism element FIG. 321e of the slave shaft “S2”. To be in the same order as the execution order, that is, the mechanical element FIG. 321b showing the gear operation in which the execution order is "1" and the mechanical element FIG. 321c of the slave axis "S1", the execution order is "2". It is arranged above the mechanical element FIG. 321d showing the cam operation and the mechanical element FIG. 321e of the slave shaft “S2” in the vertical direction. In this way, the mechanism diagram generation unit 16d generates the mechanism diagram 32g shown in FIG. 15 and stores it in the memory 12.

以上説明した実施の形態3の表示支援システム3でも、同期制御に特化しない汎用言語であるST言語によって作成された同期制御プログラム32dから、マスタ軸とスレーブ軸との同期関係を示す機構図32gを生成し、この生成した機構図32gを表示装置14に表示することとした。機構図32gの生成及び表示にあたってユーザ操作を必要としないことから、同期制御プログラム32dにおけるマスタ軸とスレーブ軸の同期関係を、少ない作業工数により可視化することができるようになる。 Also in the display support system 3 of the third embodiment described above, the mechanism diagram 32g showing the synchronization relationship between the master axis and the slave axis from the synchronization control program 32d created by the ST language, which is a general-purpose language not specialized in synchronization control. Was generated, and the generated mechanism diagram 32 g was to be displayed on the display device 14. Since no user operation is required to generate and display the mechanism diagram 32g, the synchronization relationship between the master axis and the slave axis in the synchronization control program 32d can be visualized with a small number of man-hours.

また、実施の形態3の表示支援システム3でも、機構図生成部16dは、同期制御プログラム32dを構成する、ギア動作を示す機構要素図321bと、カム動作を示す機構要素図321dとを、実行順序と同じ順序となるように配置して、機構図32gを生成することとした。これにより、マスタ軸とスレーブ軸の同期関係だけでなく、ソフトウェアモジュールの実行順序についても、少ない作業工数により可視化することができるようになる。 Further, also in the display support system 3 of the third embodiment, the mechanism diagram generation unit 16d executes the mechanism element FIG. 321b indicating the gear operation and the mechanism element FIG. 321d indicating the cam operation, which constitute the synchronization control program 32d. It was decided to generate 32 g of the mechanism diagram by arranging them in the same order as the order. As a result, not only the synchronous relationship between the master axis and the slave axis but also the execution order of the software modules can be visualized with a small number of man-hours.

実施の形態4.
実施の形態1〜3では、モータ制御システム20〜20bによって実行中ではない同期制御プログラム12d〜32dから自動的に機構図12g〜32gを生成していた。しかし、機構図の生成対象となる同期制御プログラムは、これに限定されない。実施の形態4では、モータ制御システムによって実行中の同期制御プログラムから自動的に機構図を生成する。この実施の形態4について、図16〜図20を参照して説明する。なお、実施の形態4の表示支援システム及びモータ制御システムも、実施の形態1の表示支援システム1及びモータ制御システム20に準じた構成を有するため、重複する説明は割愛する。
Embodiment 4.
In the first to third embodiments, the motor control systems 20 to 20b automatically generate the mechanism diagrams 12 g to 32 g from the synchronous control programs 12d to 32d that are not being executed. However, the synchronization control program for which the mechanism diagram is generated is not limited to this. In the fourth embodiment, the mechanism diagram is automatically generated from the synchronous control program being executed by the motor control system. The fourth embodiment will be described with reference to FIGS. 16 to 20. Since the display support system and the motor control system of the fourth embodiment also have the same configurations as the display support system 1 and the motor control system 20 of the first embodiment, duplicate explanations will be omitted.

図16は、本発明の実施の形態4に係る表示支援システム4を、当該表示支援システム4と有線にて通信可能に接続されるモータ制御システム20cのハードウェア構成を含めて示す図である。実施の形態4のモーションコントローラ21cは、実施の形態1のモーションコントローラ21によって実行される同期制御プログラム12dとは異なる同期制御プログラム42dを実行する。実施の形態4の表示支援システム4は、表示支援システム1とは異なり、モータ制御システム20cの動作を監視し、モーションコントローラ21cが同期制御プログラム42dを実行している間、所定の時間間隔(以下、第1の時間間隔とも呼ぶ)にて、後述の同期パラメータ42f1及び42f2を当該モーションコントローラ21cから読み出し、機構図42g1及び42g2を生成する。 FIG. 16 is a diagram showing a display support system 4 according to a fourth embodiment of the present invention, including a hardware configuration of a motor control system 20c that is wirelessly connected to the display support system 4. The motion controller 21c of the fourth embodiment executes a synchronization control program 42d different from the synchronization control program 12d executed by the motion controller 21 of the first embodiment. Unlike the display support system 1, the display support system 4 of the fourth embodiment monitors the operation of the motor control system 20c, and while the motion controller 21c is executing the synchronous control program 42d, a predetermined time interval (hereinafter, hereinafter). , Also referred to as the first time interval), the synchronization parameters 42f1 and 42f2 described later are read from the motion controller 21c, and the mechanism diagrams 42g1 and 42g2 are generated.

図17は、実施の形態4に係る表示支援システム4のユーザによって新規作成あるいは編集された同期制御プログラム42dの一例を示す図である。同期制御プログラム42dも、実施の形態1の同期制御プログラム12d及び実施の形態2の同期制御プログラム22dと同様に、同期制御に特化しない汎用言語の一例であるFBD言語によって記述されている。 FIG. 17 is a diagram showing an example of a synchronization control program 42d newly created or edited by a user of the display support system 4 according to the fourth embodiment. The synchronization control program 42d is also described in the FBD language, which is an example of a general-purpose language not specialized in synchronization control, like the synchronization control program 12d of the first embodiment and the synchronization control program 22d of the second embodiment.

図17に示すように、同期制御プログラム42dには、タイマモジュール421と、カム動作の機能を記述したソフトウェアモジュールであるカム制御モジュール422と、ギア動作の機能を記述したソフトウェアモジュールであるギア制御モジュール423と、が含まれている。タイマモジュール421は、表示画面14aにおいて最も左上の位置に配置されており、カム制御モジュール422及びギア制御モジュール423は、表示画面14aにおいて左右方向にずれることなく上下方向に並んで配置されている。 As shown in FIG. 17, the synchronous control program 42d includes a timer module 421, a cam control module 422 which is a software module describing the cam operation function, and a gear control module which is a software module describing the gear operation function. 423 and are included. The timer module 421 is arranged at the upper left position on the display screen 14a, and the cam control module 422 and the gear control module 423 are arranged side by side in the vertical direction on the display screen 14a without being displaced in the horizontal direction.

タイマモジュール421は、例えばモーションコントローラ21cによって同期制御プログラム42dが実行開始された時点から所定の時間(以下、第2時間間隔とも呼ぶ)に達するまでOFFを出力し、第2の所定時間間隔が経過した以後はONを出力するモジュールである。タイマモジュール421は、後段に接続されたギア制御モジュール423に結線されている。ちなみに、第1の時間間隔は第2の時間間隔よりも短く設定されている。 The timer module 421 outputs OFF from the time when the synchronization control program 42d is started to be executed by the motion controller 21c until a predetermined time (hereinafter, also referred to as a second time interval) is reached, and the second predetermined time interval elapses. After that, it is a module that outputs ON. The timer module 421 is connected to the gear control module 423 connected to the subsequent stage. By the way, the first time interval is set shorter than the second time interval.

カム制御モジュール422は、動作の基準となるマスタ軸を特定するマスタ軸識別番号422a、マスタ軸に連動するスレーブ軸を特定するスレーブ軸識別番号422b、当該カム制御モジュール422自体の実行許可または不許可を示す情報である実行許可情報422c、複数のカム曲線の種類を特定するカム番号422dを入力変数とする。なお、本実施の形態4では、モータ制御システム20cは第1モータ23aをマスタ軸、第2モータ23bをスレーブ軸として、これらを常にカム動作させながら同期制御することから、実行許可情報422cには「ON」が設定されている。 The cam control module 422 has a master axis identification number 422a that specifies a master axis that is a reference for operation, a slave axis identification number 422b that specifies a slave axis that is linked to the master axis, and execution permission or disapproval of the cam control module 422 itself. The execution permission information 422c, which is information indicating the above, and the cam number 422d, which specifies the types of a plurality of cam curves, are used as input variables. In the fourth embodiment, the motor control system 20c uses the first motor 23a as the master axis and the second motor 23b as the slave axis, and controls them synchronously while constantly operating the cams. "ON" is set.

ギア制御モジュール423は、動作の基準となるマスタ軸を特定するマスタ軸識別番号423a、マスタ軸に連動するスレーブ軸を特定するスレーブ軸識別番号423b、当該ギア制御モジュール423自体の実行許可または不許可を示す情報である実行許可情報423c、マスタ軸の位置に対するスレーブ軸の位置を計算するための比率を示すギア比の情報であるギア比423dを入力変数とする。なお、本実施の形態4では、ギア制御モジュール423はタイマモジュール421と上記のように結線されているため、実行許可情報423cには「OFF」あるいは「ON」が設定される。 The gear control module 423 has a master axis identification number 423a that specifies a master axis that is a reference for operation, a slave axis identification number 423b that specifies a slave axis that is linked to the master axis, and execution permission or disapproval of the gear control module 423 itself. The execution permission information 423c, which is the information indicating the above, and the gear ratio 423d, which is the information of the gear ratio indicating the ratio for calculating the position of the slave shaft with respect to the position of the master shaft, are used as input variables. In the fourth embodiment, since the gear control module 423 is connected to the timer module 421 as described above, "OFF" or "ON" is set in the execution permission information 423c.

すなわち、実施の形態4では、モータ制御システム20cが同期制御プログラム42dを実行すると、同期制御プログラム42dの実行開始から第2の所定時間に達するまで、第1モータ23aをマスタ軸、第2モータ23bをスレーブ軸として、これらをカム動作させながら同期制御する。また、モータ制御システム20cは、同期制御プログラム42dの実行開始から第2の所定時間が経過した以後は、第1モータ23aをマスタ軸、第2モータ23bをスレーブ軸として、これらをカム動作させながら同期制御させつつ、第1モータ23aをマスタ軸、第3モータ23cをスレーブ軸として、これらをギア動作させながら同期制御させる。 That is, in the fourth embodiment, when the motor control system 20c executes the synchronous control program 42d, the first motor 23a is used as the master shaft and the second motor 23b is used from the start of execution of the synchronous control program 42d until the second predetermined time is reached. Is used as a slave axis, and these are synchronously controlled while operating the cam. Further, in the motor control system 20c, after the second predetermined time has elapsed from the start of execution of the synchronous control program 42d, the first motor 23a is used as the master shaft and the second motor 23b is used as the slave shaft, and these are cam-operated. While the synchronous control is performed, the first motor 23a is used as the master shaft and the third motor 23c is used as the slave shaft, and these are synchronously controlled while operating the gears.

モータ制御システム20cにて同期制御プログラム42dが実行中に、入力装置13を用いた所定のユーザ操作が行われると、表示支援システム3は、図18に示す機構図生成処理S2を実行開始する。図19(a)及び(b)は、当該機構図生成処理S2を実行することによって同期制御プログラム42dから読み出される同期パラメータ42f1及び42f2の一例を示し、図20(a)及び(b)は、当該機構図生成処理S2を実行することによって生成される機構図42g1及び42g2の一例を示す。以下、図18、図19(a)及び(b)、並びに、図20(a)及び(b)を併せ参照して説明する。なお、モータ制御システム20cによって同期制御プログラム42dが実行開始された時点からまだ上記第2の時間間隔が経過していない時点でユーザ操作が行われ、上記第2の時間間隔が経過するまでに、少なくとも1度、機構図生成処理S2が実行されるものとする。 When a predetermined user operation using the input device 13 is performed while the synchronous control program 42d is being executed by the motor control system 20c, the display support system 3 starts executing the mechanism diagram generation process S2 shown in FIG. 19 (a) and 19 (b) show examples of synchronization parameters 42f1 and 42f2 read from the synchronization control program 42d by executing the mechanism diagram generation process S2, and FIGS. 20 (a) and 20 (b) show. An example of the mechanism diagrams 42g1 and 42g2 generated by executing the mechanism diagram generation process S2 is shown. Hereinafter, description will be made with reference to FIGS. 18, 19 (a) and 19 (b), and FIGS. 20 (a) and 20 (b). The user operation is performed when the second time interval has not yet elapsed from the time when the synchronous control program 42d is started to be executed by the motor control system 20c, and by the time the second time interval elapses, the user operation is performed. It is assumed that the mechanism diagram generation process S2 is executed at least once.

機構図生成処理S2が実行開始されると、表示支援システム4は、先の図6にて説明したステップS11〜ステップS16の処理を実行し、続くステップS27の処理として、ステップS11〜ステップS16の処理を実行開始した時点から上記第1の時間間隔が経過したか否かを判断する。上記第1の時間間隔が経過していない場合(ステップS27の処理で「No」)、表示支援システム4は、ステップS27の処理を再度実行し、上記第1の時間間隔が経過した場合(ステップS27の処理で「Yes」)、表示支援システム4は、ステップS11〜ステップS16の処理を再度実行する。すなわち、表示支援システム4は、ステップS11〜ステップS16の処理を、第1の時間間隔毎に周期的に実行する。 When the mechanism diagram generation process S2 is started to be executed, the display support system 4 executes the processes of steps S11 to S16 described with reference to FIG. It is determined whether or not the first time interval has elapsed from the time when the processing is started. When the first time interval has not elapsed (“No” in the process of step S27), the display support system 4 executes the process of step S27 again, and when the first time interval has elapsed (step). “Yes” in the process of S27), the display support system 4 re-executes the processes of steps S11 to S16. That is, the display support system 4 periodically executes the processes of steps S11 to S16 at each first time interval.

図19(a)は、表示支援システム4において、モータ制御システム20cによる同期制御プログラム42dの実行開始から第2の時間間隔が経過するまでに、モータ制御システム20cで実行中の同期制御プログラム42dから読み出された同期パラメータ42f1であり、図20(a)は、上記同期パラメータ42f1に基づいて生成された機構図42g1である。 FIG. 19A shows the display support system 4 starting from the synchronous control program 42d being executed by the motor control system 20c from the start of execution of the synchronous control program 42d by the motor control system 20c until the second time interval elapses. It is the read synchronization parameter 42f1, and FIG. 20A is a mechanism diagram 42g1 generated based on the synchronization parameter 42f1.

図19(a)に示すように、タイマモジュール421からOFFが出力されていることから、同期パラメータ42f1では、ギア制御モジュールの実行許可情報は「OFF」となっている。そのため、図19(a)に示すように、マスタ軸「M1」の機構要素図424aに対して、カム動作を示す機構要素図424b及びスレーブ軸「S1」の機構要素図424cが直列に配置された機構図42g1が生成され、表示装置14の表示画面14aに表示される。 As shown in FIG. 19A, since OFF is output from the timer module 421, the execution permission information of the gear control module is “OFF” in the synchronization parameter 42f1. Therefore, as shown in FIG. 19A, the mechanical element FIG. 424b showing the cam operation and the mechanical element FIG. 424c of the slave shaft “S1” are arranged in series with the mechanical element FIG. 424a of the master axis “M1”. The mechanical diagram 42g1 is generated and displayed on the display screen 14a of the display device 14.

図19(b)は、表示支援システム4において、モータ制御システム20cによる同期制御プログラム42dの実行開始から第2の時間間隔が経過した以後に、モータ制御システム20cで実行中の同期制御プログラム42dから読み出された同期パラメータ42f2であり、図20(b)は、上記同期パラメータ42f2に基づいて生成された機構図42g2である。 FIG. 19B shows the display support system 4 from the synchronous control program 42d being executed by the motor control system 20c after the second time interval has elapsed from the start of execution of the synchronous control program 42d by the motor control system 20c. The read synchronization parameter 42f2, and FIG. 20B is a mechanism diagram 42g2 generated based on the synchronization parameter 42f2.

図19(b)に示すように、タイマモジュール421からONが出力されていることから、同期パラメータ42f2では、ギア制御モジュールの実行許可情報は「ON」となっている。そのため、図20(b)に示すように、カム動作を示す機構要素図424b及びスレーブ軸「S1」の機構要素図424cと、ギア動作を示す機構要素図424d及びスレーブ軸「S2」の機構要素図424eとが、マスタ軸「M1」の機構要素図424aに並列に配置された機構図42g2が生成され、表示装置14の表示画面14aに表示される。 As shown in FIG. 19B, since ON is output from the timer module 421, the execution permission information of the gear control module is “ON” in the synchronization parameter 42f2. Therefore, as shown in FIG. 20B, the mechanical element FIG. 424b showing the cam operation, the mechanical element FIG. 424c of the slave shaft “S1”, the mechanical element FIG. 424d showing the gear operation, and the mechanical element of the slave shaft “S2”. A mechanical element 42g2 arranged in parallel with FIG. 424e and the mechanical element FIG. 424a of the master axis “M1” is generated and displayed on the display screen 14a of the display device 14.

以上説明した実施の形態4の表示支援システム4では、同期制御に特化しない汎用言語であるFBD言語によって作成された同期制御プログラム42dを、モータ制御システム20cにて実行されている間に読み出し、この同期制御プログラム42dからマスタ軸とスレーブ軸との同期関係を示す機構図42g1及び42g2を生成し、この生成した機構図42g1及び42gを表示装置14に表示することとした。機構図42g1及び42g2の生成及び表示にあたってユーザ操作を必要としないことから、同期パラメータ42f1及び42f2の変化を反映させながらも、同期制御プログラム42dにおけるマスタ軸とスレーブ軸の同期関係を、少ない作業工数により可視化することができるようになる。 In the display support system 4 of the fourth embodiment described above, the synchronization control program 42d created by the FBD language, which is a general-purpose language not specialized in synchronization control, is read out while being executed by the motor control system 20c. From this synchronization control program 42d, mechanism diagrams 42g1 and 42g2 showing the synchronization relationship between the master axis and the slave axis are generated, and the generated mechanism diagrams 42g1 and 42g are displayed on the display device 14. Since no user operation is required to generate and display the mechanical diagrams 42g1 and 42g2, the synchronization relationship between the master axis and the slave axis in the synchronization control program 42d can be reduced with a small number of man-hours while reflecting the changes in the synchronization parameters 42f1 and 42f2. Will be able to be visualized.

また、実施の形態4の表示支援システム4では、実施の形態1の表示支援システム1及び実施の形態2の表示支援システム2と同様に、機構図生成部16dは、同期制御プログラム42dを構成する、カム動作を示す機構要素図424bと、ギア動作を示す機構要素図424dとを、実行順序と同じ順序となるように配置して、機構図42g2を生成することとした。これにより、マスタ軸とスレーブ軸の同期関係だけでなく、ソフトウェアモジュールの実行順序についても、少ない作業工数により可視化することができるようになる。 Further, in the display support system 4 of the fourth embodiment, the mechanism diagram generation unit 16d constitutes the synchronization control program 42d, similarly to the display support system 1 of the first embodiment and the display support system 2 of the second embodiment. , The mechanism element FIG. 424b showing the cam operation and the mechanism element FIG. 424d showing the gear operation are arranged in the same order as the execution order to generate the mechanism diagram 42g2. As a result, not only the synchronous relationship between the master axis and the slave axis but also the execution order of the software modules can be visualized with a small number of man-hours.

実施の形態4の表示支援システム4では、同期制御プログラム42dに含まれるソフトウェアモジュールのうちギア制御モジュール423の実行許可情報が変更されていたが、この構成に限られず、同期制御プログラム42dに含まれるソフトウェアモジュールのうちカム制御モジュール422の実行許可情報が変更されることとしてもよい。あるいは、実施の形態2で説明したような、ギア制御モジュール及びカム制御モジュールが直列に結線され、そのうちのギア制御モジュールあるいはカム制御モジュールの実行許可情報が変更される構成としてもよい。 In the display support system 4 of the fourth embodiment, the execution permission information of the gear control module 423 among the software modules included in the synchronous control program 42d has been changed, but the present invention is not limited to this configuration and is included in the synchronous control program 42d. Of the software modules, the execution permission information of the cam control module 422 may be changed. Alternatively, as described in the second embodiment, the gear control module and the cam control module may be connected in series, and the execution permission information of the gear control module or the cam control module may be changed.

実施の形態4の表示支援システム4では、モータ制御システム20cの動作を監視し、モーションコントローラ21cが同期制御プログラム42dを実行している間、第1の時間間隔にて周期的に、同期パラメータ42f1及び42f2を当該モーションコントローラ21cから読み出し、機構図42g1及び42g2を生成していたが、この構成に限定されない。他に例えば、ユーザ操作による指示による任意のタイミングにて、同期パラメータをモーションコントローラ21cから読み出し、機構図を生成することとしてもよい。あるいは、表示支援システム4において任意の別処理が実行されており、別処理の合間に、同期パラメータをモーションコントローラ21cから読み出し、機構図を生成することとしてもよい。 In the display support system 4 of the fourth embodiment, the operation of the motor control system 20c is monitored, and while the motion controller 21c is executing the synchronization control program 42d, the synchronization parameter 42f1 is periodically performed at the first time interval. And 42f2 were read from the motion controller 21c to generate the mechanism diagrams 42g1 and 42g2, but the present invention is not limited to this configuration. Alternatively, for example, the synchronization parameter may be read from the motion controller 21c at an arbitrary timing instructed by a user operation to generate a mechanism diagram. Alternatively, an arbitrary separate process is being executed in the display support system 4, and the synchronization parameter may be read from the motion controller 21c and a mechanism diagram may be generated between the separate processes.

実施の形態4の表示支援システム4では、モーションコントローラ21cによって同期制御プログラム42dが実際に実行されていたが、この構成に限定されない。他に例えば、モーションコントローラ21cの動作を模擬するシミュレータによって同期制御プログラム42dが実行されることとしてもよい。 In the display support system 4 of the fourth embodiment, the synchronization control program 42d is actually executed by the motion controller 21c, but the present invention is not limited to this configuration. Alternatively, for example, the synchronization control program 42d may be executed by a simulator that simulates the operation of the motion controller 21c.

実施の形態5.
実施の形態1〜4では、表示支援システム1〜4は、表示支援プログラムがコンピュータにインストールされることによって実現されていたが、この構成に限られない。実施の形態5では、表示支援プログラムがサーバ−クライアントシステムにインストールされることによって実現されている。実施の形態5について、図21を参照して説明する。
Embodiment 5.
In the first to fourth embodiments, the display support systems 1 to 4 are realized by installing the display support program on the computer, but the present invention is not limited to this configuration. In the fifth embodiment, the display support program is installed in the server-client system. The fifth embodiment will be described with reference to FIG.

図21は、本発明の実施の形態5に係る表示支援システム5の構成を示す図である。図21に示すように、表示支援システム5は、コンピュータ17と、表示装置18、サーバ19と、を備えて構成されている。 FIG. 21 is a diagram showing a configuration of a display support system 5 according to a fifth embodiment of the present invention. As shown in FIG. 21, the display support system 5 includes a computer 17, a display device 18, and a server 19.

コンピュータ17は、実施の形態1〜3の表示支援システム1〜3のコンピュータ10に準じた構成を有している。すなわち、コンピュータ17は、表示支援プログラムがインストールされることにより機構図を生成することが可能である。また、コンピュータ17は、サーバ19のクライアントに設定されており、サーバ19と無線にて通信が可能である。コンピュータ17は、当該コンピュータ17によって生成された機構図を、サーバ19の図示しないメモリに記憶する。 The computer 17 has a configuration similar to that of the computer 10 of the display support systems 1 to 3 of the first to third embodiments. That is, the computer 17 can generate a mechanism diagram by installing the display support program. Further, the computer 17 is set as a client of the server 19, and can communicate wirelessly with the server 19. The computer 17 stores the mechanism diagram generated by the computer 17 in a memory (not shown) of the server 19.

表示装置18は、例えばスマートフォン、タブレット端末等によって構成されている。表示装置18は、サーバ19のクライアントに設定されており、サーバ19と無線にて通信が可能である。表示装置18は、サーバ19に対して、当該サーバ19に記憶された機構図を表示装置18に送信するようリクエストを送信し、サーバ19から送信された機構図を表示画面18aに表示する。 The display device 18 is composed of, for example, a smartphone, a tablet terminal, or the like. The display device 18 is set as a client of the server 19, and can communicate wirelessly with the server 19. The display device 18 transmits a request to the server 19 to transmit the mechanism diagram stored in the server 19 to the display device 18, and displays the mechanism diagram transmitted from the server 19 on the display screen 18a.

サーバ19は、当該サーバ19のクライアントに設定されたコンピュータ17から機構図を受信すると、図示しないメモリに記憶する。また、サーバ19は、当該サーバ19のクライアントに設定された表示装置18からのリクエストを受信すると、メモリに記憶した機構図を表示装置18に送信する。 When the server 19 receives the mechanism diagram from the computer 17 set as the client of the server 19, it stores it in a memory (not shown). Further, when the server 19 receives the request from the display device 18 set in the client of the server 19, the server 19 transmits the mechanism diagram stored in the memory to the display device 18.

以上説明した実施の形態5の表示支援システム5によれば、表示装置18の外部のコンピュータ17によってマスタ軸とスレーブ軸の同期関係を示す機構図が生成された場合においても、表示装置18によって同期関係を可視化することができる。 According to the display support system 5 of the fifth embodiment described above, even when the mechanism diagram showing the synchronization relationship between the master axis and the slave axis is generated by the computer 17 outside the display device 18, the display device 18 synchronizes. Relationships can be visualized.

なお、実施の形態5では、コンピュータ17及び表示装置18がサーバ19のクライアントに設定されていたが、この構成に限らず、コンピュータ17を割愛することとしてもよい。その場合には、サーバ19が機構図生成処理を実行することとなる。 In the fifth embodiment, the computer 17 and the display device 18 are set as the client of the server 19, but the present invention is not limited to this configuration, and the computer 17 may be omitted. In that case, the server 19 executes the mechanism diagram generation process.

上記実施の形態1〜5の表示支援システム1〜5では、同期制御に特化しない汎用言語であるFBD言語あるいはST言語によって記述された同期制御プログラムを対象として自動的に機構図を生成していたが、同期制御プログラムの記述言語はFBD言語あるいはST言語に限られない。他に例えば、ラダー言語、C言語、SFC言語等の汎用言語によって記述された同期制御プログラムを対象として自動的に機構図を生成することとしてもよい。要は、カム動作やギア動作等、同期関係を記述するソフトウェアモジュールの呼び出し可能な言語であれば良い。 In the display support systems 1 to 5 of the above embodiments 1 to 5, a mechanism diagram is automatically generated for a synchronization control program written in the FBD language or the ST language, which is a general-purpose language not specialized in synchronization control. However, the description language of the synchronous control program is not limited to the FBD language or the ST language. Alternatively, for example, a mechanism diagram may be automatically generated for a synchronization control program written in a general-purpose language such as a ladder language, a C language, or an SFC language. In short, any language that can call software modules that describe synchronization relationships such as cam operation and gear operation is sufficient.

上記実施の形態1〜5の表示支援システムでは、マスタ軸の機構要素図として回転型のモータの絵図を採用したが、マスタ軸の機構要素図の絵図はこれに限らない。例えばリニアモータの絵図を採用しても良いし、エンコーダなどの出力値に対してスレーブ軸を同期制御したい場合には、エンコーダの絵図を採用してもよい。同様にスレーブ軸の絵図も本実施の形態で示した絵図に限られない。 In the display support system of the first to fifth embodiments, the drawing of the rotary motor is adopted as the mechanical element diagram of the master shaft, but the drawing of the mechanical element diagram of the master shaft is not limited to this. For example, a picture of a linear motor may be adopted, or a picture of an encoder may be adopted when it is desired to synchronously control the slave axis with respect to an output value of an encoder or the like. Similarly, the picture of the slave axis is not limited to the picture shown in the present embodiment.

上記実施の形態1〜5の表示支援システム1〜5では、同期関係を示す機構要素図として、カム動作を示す機構要素図とギア動作を示す機構要素図とを用いたが、同期関係を示す機構要素図はこれらに限られない。例えば、マスタ軸を回転させたままスレーブ軸を滑らかに停止させるためのクラッチ動作を示す機構要素図や、2軸のマスタ軸の位置情報の差分もってスレーブ軸の動作指令とする差動動作を示す機構要素図等を用いることとしてもよい。なお、図22及び図23は、それぞれ、クラッチ動作を示す機構要素図に対応するクラッチ制御モジュール及び差動動作を示す機構要素図に対応する差動制御モジュールの一例を示す図である。 In the display support systems 1 to 5 of the above embodiments 1 to 5, as the mechanism element diagram showing the synchronization relationship, the mechanism element diagram showing the cam operation and the mechanism element diagram showing the gear operation are used, but the synchronization relationship is shown. The mechanical element diagram is not limited to these. For example, a mechanism element diagram showing a clutch operation for smoothly stopping the slave shaft while rotating the master shaft, and a differential operation in which the difference in the position information of the two master shafts is used as an operation command for the slave shaft are shown. A mechanism element diagram or the like may be used. 22 and 23 are diagrams showing an example of a clutch control module corresponding to the mechanism element diagram showing the clutch operation and an example of the differential control module corresponding to the mechanism element diagram showing the differential operation, respectively.

本発明は、同期制御に特化しない汎用言語によって作成された同期制御プログラムにおけるマスタ軸とスレーブ軸の同期関係を可視化した構成図を生成する表示支援プログラム、同プログラムを記憶したコンピュータ可読記憶媒体、表示支援方法、及び表示支援システムの実現に好適である。 The present invention is a display support program that generates a configuration diagram that visualizes the synchronization relationship between a master axis and a slave axis in a synchronization control program created by a general-purpose language that does not specialize in synchronization control, a computer-readable storage medium that stores the program, and It is suitable for realizing a display support method and a display support system.

1〜5 表示支援システム、10、17 コンピュータ、11 プロセッサ、12 メモリ(同期制御プログラム記憶部、機構要素図記憶部)、12a 作成支援プログラム、12b 表示支援プログラム、12c 機構要素図、12d〜42d 同期制御プログラム、12e 識別番号、12f 同期パラメータ、12g〜42g2 機構図、13 入力装置、14、18 表示装置、14a、18a 表示画面(表示部)、15 通信装置、16 制御部、16a プログラム作成部、16b パラメータ読出部、16c 機構要素図選択部、16d 機構図生成部、16e 表示制御部、16f 通信制御部、19 サーバ、20〜20c モータ制御システム、21〜21c モーションコントローラ、22a〜22c モータドライバ、23a 第1モータ、23b 第2モータ、23c 第3モータ、121,222,321,422 カム制御モジュール、121a,222a,221a,202a,422a,423a マスタ軸識別番号、121b,222b,221b,202b,422b,423b スレーブ軸識別番号、121c,222c,221c,202c,422c,423c 実行許可情報、121d,222d,422d カム番号、122,221,423 ギア制御モジュール、122d,221d,423d ギア比、123a〜123e,223a〜223d,321a〜321e、424a〜424e、621a〜622a 機構要素図、421 タイマモジュール、621 クラッチ制御モジュール、622 差動制御モジュール。 1 to 5 Display support system, 10, 17 Computer, 11 processor, 12 memory (synchronization control program storage, mechanism element diagram storage), 12a creation support program, 12b display support program, 12c mechanism element diagram, 12d to 42d synchronization Control program, 12e identification number, 12f synchronization parameter, 12g-42g2 mechanism diagram, 13 input device, 14, 18 display device, 14a, 18a display screen (display unit), 15 communication device, 16 control unit, 16a program creation unit, 16b parameter reading unit, 16c mechanism element diagram selection unit, 16d mechanism diagram generator, 16e display control unit, 16f communication control unit, 19 server, 20-20c motor control system, 21-21c motion controller, 22a-22c motor driver, 23a 1st motor, 23b 2nd motor, 23c 3rd motor, 121,222,321,422 cam control module, 121a, 222a, 221a, 202a, 422a, 423a Master axis identification number, 121b, 222b, 221b, 202b, 422b, 423b Slave axis identification number, 121c, 222c, 221c, 202c, 422c, 423c Execution permission information, 121d, 222d, 422d Cam number, 122,221,423 Gear control module, 122d, 221d, 423d Gear ratio, 123a ~ 123e, 223a to 223d, 321a to 321e, 424a to 424e, 621a to 622a Mechanism element diagram, 421 timer module, 621 clutch control module, 622 differential control module.

Claims (7)

FBD言語またはST言語を含む複数の汎用言語によって記述可能な同期制御プログラムから機構図を生成して表示することをコンピュータに実行させる表示支援プログラムであって、
動作の基準となるマスタ軸の識別情報及び前記マスタ軸に連動するスレーブ軸の識別情報を引数とするソフトウェアモジュールが複数組み合わされて構成されるとともに前記汎用言語によって記述された同期制御プログラムから、前記マスタ軸の識別情報、前記スレーブ軸の識別情報、及び前記ソフトウェアモジュールの機能を特定する情報である機能情報、前記ソフトウェアモジュールの実行順序を示す実行順序情報を含む同期パラメータを読み出して第1形式にて記述して記憶するパラメータ読出ステップと、
前記パラメータ読出ステップによって記憶された前記同期パラメータに含まれる前記機能情報に対応する機構要素図、前記マスタ軸の識別情報に対応する機構要素図、および前記スレーブ軸の識別情報に対応する機構要素図をそれぞれ選択する機構要素図選択ステップと、
前記機構要素図選択ステップによって選択した機構要素図を前記同期パラメータに含まれる前記実行順序情報で示される実行順序と同じ順序となるように組み合わせて前記機構図を生成する機構図生成ステップと、
前記機構図生成ステップによって生成した前記機構図を表示部に表示する表示ステップと、
を備え、前記複数の汎用言語によって記述可能な同期制御プログラムから読み出した前記同期パラメータを前記第1形式にて記述してから前記機構図を生成する
表示支援プログラム。
A display support program that causes a computer to generate and display a mechanism diagram from a synchronization control program that can be described in multiple general-purpose languages including the FBD language or ST language.
From the synchronization control program written in the general-purpose language with software modules to the identification information of the slave axis to be linked to the identification information and the master axis of the master axis as a reference for the operation and arguments are configured by combining a plurality, wherein identification information of the master axis, the identification information of the slave axis, and the software function information is information specifying the function of the module, the first reads including asynchronous parameters the execution order information indicating an order of execution of the software module A parameter read step that is described and stored in a format, and
A mechanism element diagram corresponding to the functional information included in the synchronization parameter stored in the parameter reading step, a mechanism element diagram corresponding to the identification information of the master axis, and a mechanism element diagram corresponding to the identification information of the slave axis. The mechanism element diagram selection step to select each, and
A mechanism diagram generation step for generating the mechanism diagram by combining the mechanism element diagrams selected by the mechanism element diagram selection step so as to have the same order as the execution order indicated by the execution order information included in the synchronization parameter.
A display step for displaying the mechanism diagram generated by the mechanism diagram generation step on the display unit,
A display support program that generates the mechanism diagram after describing the synchronization parameters read from the synchronization control program that can be described by the plurality of general-purpose languages in the first format.
前記機構要素図選択ステップでは、ギア動作を示す機構要素図、及びカム動作を示す機構要素図の少なくとも一方から、前記パラメータ読出ステップによって記憶された前記同期パラメータに対応する前記機構要素図を選択する
請求項1に記載の表示支援プログラム。
In the mechanism element diagram selection step, the mechanism element diagram corresponding to the synchronization parameter stored in the parameter read step is selected from at least one of the mechanism element diagram showing the gear operation and the mechanism element diagram showing the cam operation. The display support program according to claim 1.
前記パラメータ読出ステップでは、実行許可または不許可を示す情報である実行許可情報が引数として含まれる前記ソフトウェアモジュールが組み合わされて構成される前記同期制御プログラムから前記同期パラメータとして前記実行許可情報を読み出す
請求項1または請求項2に記載の表示支援プログラム。
In the parameter read step, the execution permission information is read as the synchronization parameter from the synchronization control program configured by combining the software modules including the execution permission information which is information indicating execution permission or non-permission as an argument. The display support program according to claim 1 or 2.
前記パラメータ読出ステップでは、複数のモータの動作を制御するモーションコントローラにおいて前記同期制御プログラムが実行されている間に、この実行されている前記同期制御プログラムから、前記同期パラメータを読み出す
請求項1から3のいずれか一項に記載の表示支援プログラム。
In the parameter reading step, claims 1 to 3 read the synchronization parameters from the executed synchronization control program while the synchronization control program is being executed in the motion controller that controls the operation of the plurality of motors. The display support program described in any one of the above.
請求項1から4のいずれか一項に記載の表示支援プログラムを記憶した非一時的なコンピュータ可読記憶媒体。 A non-temporary computer-readable storage medium that stores the display support program according to any one of claims 1 to 4. FBD言語またはST言語を含む複数の汎用言語によって記述可能な同期制御プログラムから機構図を生成して表示する表示支援方法であって、
動作の基準となるマスタ軸の識別情報及び前記マスタ軸に連動するスレーブ軸の識別情報を引数とするソフトウェアモジュールが複数組み合わされて構成されるとともに前記汎用言語によって記述された同期制御プログラムから、前記マスタ軸の識別情報、前記スレーブ軸の識別情報、及び前記ソフトウェアモジュールの機能を特定する情報である機能情報、前記ソフトウェアモジュールの実行順序を示す実行順序情報を含む同期パラメータを読み出して第1形式にて記述して記憶するパラメータ読出ステップと、
前記パラメータ読出ステップによって記憶された前記同期パラメータに含まれる前記機能情報に対応する機構要素図、前記マスタ軸の識別情報に対応する機構要素図、および前記スレーブ軸の識別情報に対応する機構要素図をそれぞれ選択する機構要素図選択ステップと、
前記機構要素図選択ステップによって選択した機構要素図を前記同期パラメータに含まれる前記実行順序情報で示される実行順序と同じ順序となるように組み合わせて前記機構図を生成する機構図生成ステップと、
前記機構図生成ステップによって生成した前記機構図を表示部に表示する表示ステップと、
を備え、前記複数の汎用言語によって記述可能な同期制御プログラムから読み出した前記同期パラメータを前記第1形式にて記述してから前記機構図を生成する表示支援方法。
It is a display support method that generates and displays a mechanism diagram from a synchronization control program that can be described in multiple general-purpose languages including FBD language or ST language.
From the synchronization control program written in the general-purpose language with software modules to the identification information of the slave axis to be linked to the identification information and the master axis of the master axis as a reference for the operation and arguments are configured by combining a plurality, wherein identification information of the master axis, the identification information of the slave axis, and the software function information is information specifying the function of the module, the first reads including asynchronous parameters the execution order information indicating an order of execution of the software module A parameter read step that is described and stored in a format, and
A mechanism element diagram corresponding to the functional information included in the synchronization parameter stored in the parameter reading step, a mechanism element diagram corresponding to the identification information of the master axis, and a mechanism element diagram corresponding to the identification information of the slave axis. The mechanism element diagram selection step to select each, and
A mechanism diagram generation step for generating the mechanism diagram by combining the mechanism element diagrams selected by the mechanism element diagram selection step so as to have the same order as the execution order indicated by the execution order information included in the synchronization parameter.
A display step for displaying the mechanism diagram generated by the mechanism diagram generation step on the display unit,
A display support method for generating the mechanism diagram after describing the synchronization parameters read from the synchronization control program that can be described by the plurality of general-purpose languages in the first format.
FBD言語またはST言語を含む複数の汎用言語によって記述可能な同期制御プログラムから機構図を生成して表示する表示支援システムであって、
動作の基準となるマスタ軸の識別情報及び前記マスタ軸に連動するスレーブ軸の識別情報を引数とするソフトウェアモジュールが複数組み合わされて構成されるとともに前記汎用言語によって記述された同期制御プログラムを記憶する同期制御プログラム記憶部と、
前記マスタ軸を示す機構要素図、前記スレーブ軸を示す機構要素図、及び前記ソフトウェアモジュールの機能を示す機構要素図を記憶する機構要素図記憶部と、
前記同期制御プログラム記憶部に記憶された同期制御プログラムを、前記マスタ軸の識別情報、前記スレーブ軸の識別情報、及び前記ソフトウェアモジュールの機能を特定する情報である機能情報、前記ソフトウェアモジュールの実行順序を示す実行順序情報を含む同期パラメータを読み出して第1形式にて記述して記憶するパラメータ読出部と、
前記パラメータ読出部によって記憶された同期パラメータに含まれる前記機能情報に対応する機構要素図、前記マスタ軸の識別情報に対応する機構要素図、および前記スレーブ軸の識別情報に対応する機構要素図を、前記機構要素図記憶部に記憶されている機構要素図からそれぞれ選択する機構要素図選択部と、
前記機構要素図選択部によって選択された機構要素図を組み合わせて機構図を生成する機構図生成部と、
前記機構図生成部によって生成された機構図を表示部に表示する表示制御部と、
を備え、前記複数の汎用言語によって記述可能な同期制御プログラムから読み出した前記同期パラメータを前記第1形式にて記述してから前記機構図を生成する表示支援システム。
A display support system that generates and displays a mechanism diagram from a synchronization control program that can be described in multiple general-purpose languages including the FBD language or ST language.
A plurality of software modules having the identification information of the master axis as the reference of operation and the identification information of the slave axis linked to the master axis as arguments are combined and configured, and the synchronization control program written in the general-purpose language is stored. Synchronous control program storage and
A mechanism element diagram storage unit for storing a mechanism element diagram showing the master axis, a mechanism element diagram showing the slave axis, and a mechanism element diagram showing the function of the software module.
The synchronous control program stored in the synchronous control program storage unit, the identification information of the master axis, the identification information of the slave axis, the functional information which is the information for identifying the function of the software module, and the execution order of the software module. a parameter reading unit for storing written in the first format execution order information reads including asynchronous parameter indicating,
The mechanism element diagram corresponding to the functional information included in the synchronization parameter stored by the parameter reading unit, the mechanism element diagram corresponding to the identification information of the master axis, and the mechanism element diagram corresponding to the identification information of the slave axis are shown. , A mechanism element diagram selection unit that selects from the mechanism element diagrams stored in the mechanism element diagram storage unit, and
A mechanism diagram generation unit that generates a mechanism diagram by combining the mechanism element diagrams selected by the mechanism element diagram selection unit, and a mechanism diagram generation unit.
A display control unit that displays the mechanism diagram generated by the mechanism diagram generation unit on the display unit,
A display support system that generates the mechanism diagram after describing the synchronization parameters read from the synchronization control program that can be described by the plurality of general-purpose languages in the first format.
JP2020509135A 2019-03-25 2019-03-25 Display support program, computer-readable storage medium that stores the program, display support method, and display support system Active JP6840288B1 (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/JP2019/012386 WO2020194424A1 (en) 2019-03-25 2019-03-25 Display assistance program, computer-readable storage medium with said program stored therein, display assistance method, and display assistance system

Publications (2)

Publication Number Publication Date
JP6840288B1 true JP6840288B1 (en) 2021-03-10
JPWO2020194424A1 JPWO2020194424A1 (en) 2021-04-08

Family

ID=72610420

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2020509135A Active JP6840288B1 (en) 2019-03-25 2019-03-25 Display support program, computer-readable storage medium that stores the program, display support method, and display support system

Country Status (3)

Country Link
JP (1) JP6840288B1 (en)
CN (1) CN113597584B (en)
WO (1) WO2020194424A1 (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011192017A (en) * 2010-03-15 2011-09-29 Omron Corp Display device, display control method, program and computer-readable recording medium
JP2017079006A (en) * 2015-10-21 2017-04-27 株式会社キーエンス Programmable logic controller, extension unit, control method, program generation support device, and program generation support method and program

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4837844B2 (en) * 2001-07-19 2011-12-14 富士通株式会社 Simulation system, method, program, and recording medium
JP2009080738A (en) * 2007-09-27 2009-04-16 Koyo Electronics Ind Co Ltd Simulation method for sequence program
WO2013111325A1 (en) * 2012-01-27 2013-08-01 三菱電機株式会社 Display method of synchronization control program which drive controls multi-axle synchronization control device
WO2016002076A1 (en) * 2014-07-04 2016-01-07 三菱電機株式会社 Synchronization control setting method for positioning control device

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011192017A (en) * 2010-03-15 2011-09-29 Omron Corp Display device, display control method, program and computer-readable recording medium
JP2017079006A (en) * 2015-10-21 2017-04-27 株式会社キーエンス Programmable logic controller, extension unit, control method, program generation support device, and program generation support method and program

Also Published As

Publication number Publication date
WO2020194424A1 (en) 2020-10-01
CN113597584B (en) 2022-10-28
CN113597584A (en) 2021-11-02
JPWO2020194424A1 (en) 2021-04-08

Similar Documents

Publication Publication Date Title
US20020054098A1 (en) Flowchart programming for industrial controllers, in particular motion controllers
TW201331734A (en) Display method of synchronization control program for driving-controlling multi-axis synchronization control device
WO2013084628A1 (en) Manufacturing line simulation device, data input assistance device, and data input assistance method
JP6840288B1 (en) Display support program, computer-readable storage medium that stores the program, display support method, and display support system
JP5498446B2 (en) Ladder program creation device and ladder program creation method
KR102198204B1 (en) Simulation device
US9177083B2 (en) Method and apparatus for computer aided design of human-machine interface animated graphical elements
JP6318500B2 (en) Simulation apparatus and simulation program
US20040051727A1 (en) Display control method, information display device and medium
JP5153437B2 (en) Control program creation device
EP3848866A1 (en) Method and system for managing engineering workflow in a cloud computing environment
WO2020071435A1 (en) Development support program, development support device, and development support method
WO2023233691A1 (en) Information processing method, information processing device, and program
JP2008197721A (en) Plant monitoring screen creation device
JP6794668B2 (en) Programming device
JP2018036945A (en) Simulator linkage device, control method of simulator linkage device, information processing program, and record medium
JP6175844B2 (en) Screen definition device for operation panel
JP2019201257A (en) Control program, control method, control unit, and control server
JP3358800B2 (en) Ladder program monitoring method and computer-readable recording medium recording monitoring program
US20210294294A1 (en) Information processing method, information processing apparatus, production system and article manufacturing method
JP2006139500A (en) Three-dimensional shape processing method and device
JP2734187B2 (en) Display screen creation method for multiple PC control device, sequence program creation device, and control status display device
WO2023203604A1 (en) Simulation program, simulation device, and control method
EP3792710A1 (en) Control system, support device, and support program
EP2908198A1 (en) A method and apparatus for automatically generating hardware configurations in an industrial engineering system

Legal Events

Date Code Title Description
A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20200217

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20200217

A871 Explanation of circumstances concerning accelerated examination

Free format text: JAPANESE INTERMEDIATE CODE: A871

Effective date: 20200217

A975 Report on accelerated examination

Free format text: JAPANESE INTERMEDIATE CODE: A971005

Effective date: 20200513

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20200519

RD01 Notification of change of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7421

Effective date: 20200522

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20200702

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20200915

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20201112

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20210216

R150 Certificate of patent or registration of utility model

Ref document number: 6840288

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250