JP2007179229A - Programming device - Google Patents
Programming device Download PDFInfo
- Publication number
- JP2007179229A JP2007179229A JP2005376035A JP2005376035A JP2007179229A JP 2007179229 A JP2007179229 A JP 2007179229A JP 2005376035 A JP2005376035 A JP 2005376035A JP 2005376035 A JP2005376035 A JP 2005376035A JP 2007179229 A JP2007179229 A JP 2007179229A
- Authority
- JP
- Japan
- Prior art keywords
- motion
- software
- motion control
- control software
- program
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Landscapes
- Stored Programmes (AREA)
- Numerical Control (AREA)
Abstract
Description
本発明は、モーションプログラムに基づき、産業用機械などの制御を行うモーションコントローラのモーション制御ソフトウェアを作成するプログラミング装置に関する。 The present invention relates to a programming device that creates motion control software for a motion controller that controls an industrial machine or the like based on a motion program.
従来技術について図を用いて説明する。
図6は従来の実施例を示すモーションコントロールシステムのブロック図であり、プログラミング装置11とモーションコントローラ13とサーボアンプ14およびサーボモータ15は、通信線12を介して接続されている。23は主処理部であり、テキストエディタ等の入出力部21を使用して作成されたモーションプログラムをプログラム格納部22に格納し、送受信部24からモーションコントローラ13に送信し、プログラム格納部35に格納する。モーションコントローラ13がモーションプログラムを実行して対象機器を制御するときは、主処理部32が、モーション制御ソフトウェア格納部33に格納されたモーション制御ソフトウェア34を使用してプログラム格納部35に格納されたモーションプログラムの解析・実行を行い、モーション指令を生成し、対象機器(サーボアンプ14)に発行していた。
ここで使用されるモーション制御ソフトウェア34は、プログラム格納部35に格納されたモーションプログラムを解析し、モーション指令(たとえば位置指令)を生成するものであり、モーションコントローラを適用するシステム、用途、目的に応じてあらかじめ作成する必要がある。
モーション制御機能が多機能になればなるほどモーション制御ソフトウェアの容量が大きくなり、モーション制御ソフトウェアの作成手順も複雑になる。
The prior art will be described with reference to the drawings.
FIG. 6 is a block diagram of a motion control system showing a conventional embodiment. A
The motion control software 34 used here analyzes a motion program stored in the
As the motion control function becomes multi-functional, the capacity of the motion control software increases and the creation procedure of the motion control software becomes complicated.
機器の制御ソフトウェアの作成を簡単に行い、メモリを節約する第1の従来技術として、あらかじめシステムを構成する(用途の異なる)装置群と各装置の必要とするソフトウェアの対応情報を記憶したファイルを作成しておき、制御ソフトウェアを作成するときに、この対応情報を読出し、必要なソフトウェアを取得して制御ソフトウェアを作成する方法が提案されている。(たとえば、特許文献1参照)。
また、第2の従来技術として、あらかじめ機能毎のソフトウェア構成情報と必要な資源群をサーバに保持しておき、ユーザがGUI(Graphical User Interface)を使用して対話式に必要な機能、構成を指定していくことにより、専門的なシステム開発能力を要さずとも、制御ソフトウェアを作成できる方法も提案されている。(たとえば、特許文献2、3参照)。
As a second conventional technology, software configuration information for each function and a necessary resource group are stored in a server in advance, and a user can interactively use a GUI (Graphical User Interface) to provide necessary functions and configurations. By specifying, a method that can create control software without requiring specialized system development ability has also been proposed. (For example, refer to Patent Documents 2 and 3).
第1の従来技術では、装置と装置の必要とするソフトウェアとの対応を事前に把握しておく必要があるため、装置が増えるごとに新たな対応情報をファイルに追加する作業を伴い、対応情報の量も増えるという問題があった。
また、第2の従来技術では、機能の選択において多様な選択肢がある場合、GUIの構成が複雑になるとともに、ユーザの作成作業の負担も増えるという問題があった。たとえば、モーション制御の補間処理を考えた場合、直線補間、円弧補間、ヘリカル補間、S字加減速補間、など種々の選択肢が考えられる。機能追加が行われた場合は、GUIも更新しなければならないという問題があった。
In the first prior art, since it is necessary to know in advance the correspondence between the device and the software required by the device, the new information is added to the file as the number of devices increases. There was a problem that the amount of was also increased.
Further, in the second conventional technique, when there are various choices in function selection, there is a problem that the GUI configuration becomes complicated and the burden of creating work by the user increases. For example, when considering interpolation processing for motion control, various options such as linear interpolation, circular interpolation, helical interpolation, and S-curve acceleration / deceleration interpolation are conceivable. When a function is added, there is a problem that the GUI must be updated.
本発明はこのような問題点に鑑みてなされたものであり、モーションコントローラのモーション制御ソフトウェアを作成するプログラミング装置において、ユーザの負担を軽減し、使用用途に応じて柔軟にモーション制御ソフトウェアを作成し、さらに必要な機能ソフトウェアだけをモーション制御ソフトウェアに組み込むことによりファイル容量を小さくすることを目的とする。 The present invention has been made in view of such problems, and in a programming device for creating motion control software for a motion controller, the burden on the user is reduced and the motion control software is created flexibly according to the intended use. Furthermore, the object is to reduce the file capacity by incorporating only necessary function software into the motion control software.
上記問題を解決するため、本発明は、次のように構成したものである。
機能ソフトウェア群を格納する機能ソフトウェア群格納部と、モーションプログラムに記述されたモーション指令と機能ソフトウェア群との対応情報を定義するリンク情報データベースと、モーションプログラムを解析し、モーションプログラムを実行するために必要な機能ソフトウェア群を対応情報を元に機能ソフトウェア群格納部より読出し、モーション制御ソフトウェアを作成するモーション制御ソフトウェア作成部とを備えたことを特徴とする。
In order to solve the above problems, the present invention is configured as follows.
In order to analyze the motion program and execute the motion program, the functional software group storage unit that stores the functional software group, the link information database that defines the correspondence information between the motion command described in the motion program and the functional software group The present invention is characterized in that a necessary function software group is read from the function software group storage unit based on the correspondence information, and a motion control software creation unit for creating motion control software is provided.
請求項1に記載の発明によると、モーションコントローラのモーション制御ソフトウェアを作成するプログラミング装置において、ユーザが作成したモーションプログラムから、前記プログラムを実行するために必要なソフトウェア群を抽出し、モーション制御ソフトウェアを作成することができるので、ユーザの使用用途に応じて柔軟にモーション制御ソフトウェアが作成できる。また、プログラミングのときに機能毎のソフトウェアに関する知識をユーザが必要としないため、ユーザにかかる負担を軽減できる。さらに、必要な機能ソフトウェアだけをモーション制御ソフトウェアに組み込むことができるので、ファイル容量が小さくなりモーションコントローラのメモリの節約が実現できる。 According to the first aspect of the present invention, in the programming device for creating the motion control software of the motion controller, a software group necessary for executing the program is extracted from the motion program created by the user, and the motion control software is obtained. Since it can be created, the motion control software can be flexibly created according to the usage of the user. In addition, since the user does not need knowledge about the software for each function at the time of programming, the burden on the user can be reduced. Furthermore, since only necessary function software can be incorporated into the motion control software, the file capacity can be reduced and the memory of the motion controller can be saved.
以下、本発明の実施の形態について図を参照して説明する。 Hereinafter, embodiments of the present invention will be described with reference to the drawings.
図1は、本発明の実施例を示すモーションコントロールシステムのブロック図である。
図1が図6と異なる点は、プログラミング装置11の内部構成のみである。その他の要素については同一であるため、説明を省略する。
図1において、25はモーションコントローラで実現できる機能ごとに部品化されたソフトウェア(以降、機能ソフトウェアと記す)群を格納する機能ソフトウェア群格納部である。26は、モーションプログラムに記述されるモーション指令と、そのモーション指令を実現するために必要とされる機能ソフトウェア群の対応情報を格納するリンク情報データベースである。27は、モーション制御ソフトウェア作成部であり、モーションプログラムをプログラム格納部22より読出し、指令内容を解析し、リンク情報データベース26に基づいて機能ソフトウェア群格納部25より必要な機能ソフトウェア群を読出し、モーション制御ソフトウェアを作成する。
FIG. 1 is a block diagram of a motion control system showing an embodiment of the present invention.
FIG. 1 differs from FIG. 6 only in the internal configuration of the
In FIG. 1,
図2は、ユーザが作成するモーションプログラムの例を示す図である。図3は、リンク情報データベース26に格納されたリンク情報の一例を示す図である。
FIG. 2 is a diagram illustrating an example of a motion program created by the user. FIG. 3 is a diagram illustrating an example of link information stored in the
本発明によるモーション制御ソフトウェアの作成方法について図1を用いて説明する。
ユーザは、テキストエディタ等の入出力部21を使用してモーションプログラムを作成する。モーションプログラムは主処理部23によってプログラム格納部22に格納される。
つぎにユーザは、前記モーションプログラムを実行するためのモーション制御ソフトウェアを作成するよう入出力部21を使用して主処理部23に指令を出す。主処理部23はモーション制御ソフトウェア作成部27に作成を指示する。モーション制御ソフトウェア作成部27は、プログラム格納部22から前記モーションプログラムを読出すとともに、リンク情報データベース26を参照する。モーション指令としてどのコマンドが指定されているか、およびコマンドの引数に何が指定されているか等の情報に基づき、リンク情報データベース26参照時のキーを決定する。
そのキーに対応して割り振られている機能ソフトウェア群情報を参照し、モーション制御ソフトウェア作成部27は必要とされる機能ソフトウェア群を確認する。必要とされる機能ソフトウェア群の確認が完了すると、該当する機能ソフトウェア群を機能ソフトウェア群格納部25より読出し、モーション制御ソフトウェア34を作成する。作成したモーション制御ソフトウェア34をユーザの指令によりモーションコントローラ13にダウンロードする。
A method for creating motion control software according to the present invention will be described with reference to FIG.
The user creates a motion program using the input /
Next, the user uses the input /
The motion control software creation unit 27 refers to the function software group information assigned corresponding to the key, and confirms the required function software group. When the confirmation of the required functional software group is completed, the corresponding functional software group is read from the functional software
次にリンク情報データベース26を検索するときのキーの決定方法について、図4フローチャートを用いて詳しく説明する。
図5のように定義されたコマンド名称列のコマンドを読出し、モーションプログラムを検索する(S41)。コマンドが検索できたら、キーを決定するのに引数が必要か判断し(S42)、キーを決定するのに引数が必要なければ、コマンドよりキーを決定する(S43)。必要ならば、モーションプログラムから引数を読出す(S44)。コマンドと引数よりキーを決定する(S45)。これを定義されたコマンドの数だけ繰り返して、必要なキーが決定される。検索するコマンドと引数は、図5のようにあらかじめ定義されている。
Next, a method for determining a key when searching the
A command in the command name sequence defined as shown in FIG. 5 is read to search for a motion program (S41). If the command can be retrieved, it is determined whether an argument is necessary to determine the key (S42). If no argument is necessary to determine the key, the key is determined from the command (S43). If necessary, an argument is read from the motion program (S44). The key is determined from the command and the argument (S45). This is repeated for the number of defined commands to determine the necessary key. Commands and arguments to be searched are defined in advance as shown in FIG.
図2のモーションプログラムの例では、目標位置変数(pos0、pos1、pos2)、速度変数(vel)、加減速度変数(acc、dec)を定義し、指令対象であるサーボアンプの種別、通信デバイスの設定を行い、定義した変数を使用して直線補間、円弧補間を指令している。サーボアンプの種別設定のコードのコマンドと引数からキー“svSGDS”、通信デバイス設定のコードのコマンドと引数からキー“dev1394”、直線補間指令のコードのコマンドからキー“moveLinear”、円弧補間指令のコードのコマンドからキー“moveCircular”に対応する機能ソフトウェア群が必要なことを認識する。リンク情報データベース26から前記各キーに対応する機能ソフトウェア群を参照し、必要とされる機能ソフトウェア群(SGDSLib、1394Lib、LinearLib、CircularLib)を機能ソフトウェア群格納部25より読出す。読出した機能ソフトウェア群からモーション制御ソフトウェア34を作成する。図3に例として示すようにリンク情報データベースにはモーションプログラムの実行に必要のない機能ソフトウェア群(たとえば、CamLib、SGDHLib)も定義されているが、モーション制御ソフトウェア34には含めない。
In the example of the motion program in FIG. 2, target position variables (pos0, pos1, pos2), speed variables (vel), acceleration / deceleration variables (acc, dec) are defined, the type of servo amplifier to be commanded, the communication device It is set and linear interpolation and circular interpolation are commanded using the defined variable. Servo amplifier type setting code command and argument to key “svSGDS”, communication device setting code command and argument to key “dev1394”, linear interpolation command code command to key “moveLinear”, circular interpolation command code It is recognized that a functional software group corresponding to the key “moveCircular” is necessary from the command of The function software group corresponding to each key is referred to from the
このように、モーションコントローラのモーション制御ソフトウェアを作成するときに、ユーザが作成したモーションプログラムを解析し、前記プログラムを実行するために必要な機能ソフトウェア群を組み合わせ、モーション制御ソフトウェアを作成するという手順をとるため、ユーザの使用用途に応じて柔軟にモーション制御ソフトウェアを作成できる。また、作成時にユーザが機能ソフトウェアに関する知識を必要とすることはなく、プログラミングマニュアルなどにしたがってモーションプログラムを作成するのみでモーション制御ソフトウェアが作成されるため、ユーザにかかる負担が軽減される。さらに、必要な機能ソフトウェアだけをモーション制御ソフトウェアに組み込むことでファイル容量が小さくなるため、モーションコントローラのメモリの節約が実現できる。 In this way, when creating motion control software for a motion controller, the procedure of analyzing the motion program created by the user, combining the functional software groups necessary to execute the program, and creating the motion control software is as follows. Therefore, the motion control software can be flexibly created according to the usage purpose of the user. In addition, the user does not need knowledge about the function software at the time of creation, and the motion control software is created only by creating a motion program according to a programming manual or the like, so the burden on the user is reduced. Furthermore, since only the necessary function software is incorporated into the motion control software, the file capacity is reduced, so that the memory of the motion controller can be saved.
11 プログラミング装置
12 通信線
13 モーションコントローラ
14 サーボアンプ
15 サーボモータ
21 入出力部
22、35 プログラム格納部
23、32 主処理部
24、31 送受信部
25 機能ソフトウェア群格納部
26 リンク情報データベース
27 モーション制御ソフトウェア作成部
33 モーション制御ソフトウェア格納部
34 モーション制御ソフトウェア
DESCRIPTION OF
Claims (1)
機能ソフトウェア群を格納する機能ソフトウェア群格納部と、
モーションプログラムに記述されたモーション指令と前記機能ソフトウェア群との対応情報を定義するリンク情報データベースと、
モーションプログラムを解析し、モーションプログラムを実行するために必要な機能ソフトウェア群を前記対応情報を元に前記機能ソフトウェア群格納部より読出し、モーション制御ソフトウェアを作成するモーション制御ソフトウェア作成部とを備えた
ことを特徴とするモーション制御ソフトウェアを作成するプログラミング装置。 In a programming device that creates motion control software for motion controllers,
A functional software group storage for storing functional software groups;
A link information database that defines correspondence information between a motion command described in a motion program and the functional software group;
A motion control software creation unit that analyzes the motion program and reads out the functional software group necessary for executing the motion program from the functional software group storage unit based on the correspondence information and creates the motion control software. A programming device that creates motion control software featuring
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2005376035A JP2007179229A (en) | 2005-12-27 | 2005-12-27 | Programming device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2005376035A JP2007179229A (en) | 2005-12-27 | 2005-12-27 | Programming device |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2007179229A true JP2007179229A (en) | 2007-07-12 |
Family
ID=38304364
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2005376035A Pending JP2007179229A (en) | 2005-12-27 | 2005-12-27 | Programming device |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2007179229A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2009265918A (en) * | 2008-04-24 | 2009-11-12 | Mitsubishi Electric Corp | Control program preparation device |
JP2015200914A (en) * | 2014-04-03 | 2015-11-12 | 多摩川精機株式会社 | Equipment controller, program creation device, program creation/execution system, equipment control system, method for creating program, equipment control program, program recording medium, program storage device, and method for controlling equipment |
JP2016095853A (en) * | 2014-11-12 | 2016-05-26 | 横河電機株式会社 | Process control system and configuration system |
-
2005
- 2005-12-27 JP JP2005376035A patent/JP2007179229A/en active Pending
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2009265918A (en) * | 2008-04-24 | 2009-11-12 | Mitsubishi Electric Corp | Control program preparation device |
JP2015200914A (en) * | 2014-04-03 | 2015-11-12 | 多摩川精機株式会社 | Equipment controller, program creation device, program creation/execution system, equipment control system, method for creating program, equipment control program, program recording medium, program storage device, and method for controlling equipment |
JP2016095853A (en) * | 2014-11-12 | 2016-05-26 | 横河電機株式会社 | Process control system and configuration system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP4462449B2 (en) | Control system setting device | |
JP4388427B2 (en) | Numerical control device that can call programs written in script language | |
JP2005327263A (en) | Control system setting device | |
JP3819639B2 (en) | Programming device | |
US9052706B2 (en) | Device information display apparatus, storage device storing device information display program, and device information display method | |
JP2018512630A (en) | How to monitor machine tools | |
CN100343772C (en) | Equipment and method for establishing operation parts | |
JP2007179229A (en) | Programming device | |
JP2006301989A (en) | Method, apparatus and program for automatically generating program in computer language from block diagram | |
JP4257553B2 (en) | Motion controller program creation and execution method | |
JP2009116429A (en) | Control program creation device and control program creation method | |
CN104956274A (en) | Numerical control device | |
JP5865192B2 (en) | Teaching data editing system and program | |
JP2009146280A (en) | Legacy migration support system | |
US10671053B2 (en) | Numerical controller and machine tool system | |
JP4443436B2 (en) | Control system and control method | |
JP4964036B2 (en) | Editor device and editor program | |
JPH06309133A (en) | Control method for operating system | |
JP2009099068A (en) | Motion controller and motion program effective axis determination method | |
CN115167265B (en) | PLC application package generation method, PLC application package operation method and related device | |
JPH10247142A (en) | System and method for programming process control program | |
KR100755788B1 (en) | Robot control system using point file | |
JP2009157534A (en) | Programming support system, its programmable controller support device, and programmable indicator support device | |
JP3528478B2 (en) | Numerical control unit | |
JP2002132307A (en) | Motion controller and program editor |