JP7256931B1 - Numerical Control Systems, Numerical Control Devices, Industrial Devices and Computer Programs - Google Patents
Numerical Control Systems, Numerical Control Devices, Industrial Devices and Computer Programs Download PDFInfo
- Publication number
- JP7256931B1 JP7256931B1 JP2022568401A JP2022568401A JP7256931B1 JP 7256931 B1 JP7256931 B1 JP 7256931B1 JP 2022568401 A JP2022568401 A JP 2022568401A JP 2022568401 A JP2022568401 A JP 2022568401A JP 7256931 B1 JP7256931 B1 JP 7256931B1
- Authority
- JP
- Japan
- Prior art keywords
- variable
- robot
- program
- list information
- unit
- 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
Links
Images
Classifications
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B25—HAND TOOLS; PORTABLE POWER-DRIVEN TOOLS; MANIPULATORS
- B25J—MANIPULATORS; CHAMBERS PROVIDED WITH MANIPULATION DEVICES
- B25J9/00—Programme-controlled manipulators
- B25J9/16—Programme controls
- B25J9/1656—Programme controls characterised by programming, planning systems for manipulators
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B19/00—Programme-control systems
- G05B19/02—Programme-control systems electric
- G05B19/418—Total factory control, i.e. centrally controlling a plurality of machines, e.g. direct or distributed numerical control [DNC], flexible manufacturing systems [FMS], integrated manufacturing systems [IMS] or computer integrated manufacturing [CIM]
- G05B19/41815—Total factory control, i.e. centrally controlling a plurality of machines, e.g. direct or distributed numerical control [DNC], flexible manufacturing systems [FMS], integrated manufacturing systems [IMS] or computer integrated manufacturing [CIM] characterised by the cooperation between machine tools, manipulators and conveyor or other workpiece supply system, workcell
- G05B19/41825—Total factory control, i.e. centrally controlling a plurality of machines, e.g. direct or distributed numerical control [DNC], flexible manufacturing systems [FMS], integrated manufacturing systems [IMS] or computer integrated manufacturing [CIM] characterised by the cooperation between machine tools, manipulators and conveyor or other workpiece supply system, workcell machine tools and manipulators only, machining centre
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Manufacturing & Machinery (AREA)
- Quality & Reliability (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Automation & Control Theory (AREA)
- Robotics (AREA)
- Mechanical Engineering (AREA)
- Numerical Control (AREA)
- Manipulator (AREA)
Abstract
ロボットと工作機械とが連動するシステムにおいて、加工プログラムにカスタムマクロ変数を使用した場合に生じ得る不具合を防止する。数値制御装置の加工プログラムからロボット制御装置を介してロボットを制御する数値制御システムは、前記数値制御装置における全ての前記加工プログラムの中から変数を取得し、前記変数と前記加工プログラムとが対応づけられた変数リスト情報を生成する変数リスト情報生成部と、前記数値制御装置における前記加工プログラム又は前記ロボット制御装置おけるロボットプログラムに含まれる前記変数が、前記変数リスト情報と異なる対応関係で使用された場合、前記変数を使用せず、前記変数リスト情報に含まれる前記変数が、前記変数リスト情報に存在しない前記加工プログラムで使用された場合、前記変数を使用しないプログラム編集部と、を備える。To prevent problems that may occur when custom macro variables are used in a machining program in a system in which a robot and a machine tool work together. A numerical control system that controls a robot from a machining program of a numerical controller through a robot controller acquires variables from all the machining programs in the numerical controller, and associates the variables with the machining programs. a variable list information generating unit that generates the variable list information obtained from the variable list information; a program editing unit that does not use the variable if the variable included in the variable list information is used in the machining program that does not exist in the variable list information.
Description
本発明は、数値制御システム、数値制御装置、産業用装置及びコンピュータプログラムに関する。 The present invention relates to a numerical control system, a numerical control device, an industrial device and a computer program.
加工現場の自動化促進のため、ワークを加工する工作機械とワークの着脱を行うロボットを連動させる自動化システムが望まれている。例えば、工作機械の数値制御装置からのユーザによる指示に従って、ロボットの動作プログラムの選択や動作プログラムの設定を可能とする技術が知られている(例えば、特許文献1参照)。 In order to promote the automation of machining sites, an automation system that links a machine tool that processes a workpiece with a robot that attaches and detaches the workpiece is desired. For example, there is known a technique that enables selection of an operation program for a robot and setting of an operation program according to instructions from a user from a numerical controller of a machine tool (see, for example, Patent Document 1).
このようなロボットと工作機械とが連動するシステムにおいて、ロボットを制御するロボット制御装置は、工作機械のカスタムマクロ変数を読み書きすることにより、ロボットと工作機械とを連動させる。例えば、ロボット制御装置は、工作機械のカスタムマクロ変数経由で動作要求をONし、工作機械のカスタムマクロ変数を読み出すことにより、動作状態を取得する。そして、ロボット制御装置は、動作状態が動作完了となった場合、動作要求をOFFして次のシーケンスへ進む処理を行う(例えば、特許文献2参照)。 In such a system in which a robot and a machine tool are interlocked, a robot controller that controls the robot interlocks the robot and the machine tool by reading and writing custom macro variables of the machine tool. For example, the robot control device turns on an operation request via a custom macro variable of the machine tool, and acquires the operation state by reading the custom macro variable of the machine tool. Then, when the operation state indicates that the operation is completed, the robot control device turns off the operation request and proceeds to the next sequence (for example, see Patent Document 2).
カスタムマクロ変数は、加工プログラムの加工条件等の演算に用いられる。カスタムマクロ変数は、条件式で使用すると変数の値に従って、加工プログラムの処理を変更し、工作機械の動作を変更することができる。ロボットと工作機械が連動するシステムにおいて、ロボットがカスタムマクロ変数を読み/書きすることでロボットと工作機械を連動させるとき、ユーザはロボットと連動させるためのカスタムマクロ変数を用意する。 The custom macro variable is used for calculation of machining conditions of the machining program. When custom macro variables are used in conditional expressions, it is possible to change the processing of the machining program and the operation of the machine tool according to the values of the variables. In a system in which a robot and a machine tool work together, when the robot reads/writes a custom macro variable to make the robot work in conjunction with the machine tool, the user prepares the custom macro variable for working with the robot.
工作機械のカスタムマクロ変数を使用してロボットと工作機械が連動する場合、この変数が加工プログラムで使用されると、ロボットは、加工プログラムで使用中の変数を読み書きする。ロボットが加工プログラムで使用中の変数に書き込む場合、加工プログラム中の条件式において変数が使用されていると、ロボットは、変数の値を変更する。このため、ユーザが本来意図していた条件式とは異なる値となる可能性がある。その結果、意図していなかった加工プログラムの処理が実行され、加工不良、工具、機械の破損等を生じる可能性がある。 If the machine tool custom macro variable is used to interface the robot and machine tool, when this variable is used in the machining program, the robot reads and writes the variable in use by the machining program. When the robot writes to a variable being used in a machining program, if the variable is used in a conditional expression in the machining program, the robot changes the value of the variable. Therefore, the value may differ from the conditional expression originally intended by the user. As a result, unintended processing of the machining program may be executed, resulting in machining defects, tool damage, and machine damage.
一方、ロボットが加工プログラムで使用中の変数を読み込む場合、加工プログラム中の演算において変数が使用されていると、ロボットは、その演算で変化する値を読み取る。ロボットは、読み取った変数の値から、工作機械の加工完了や、工作機械のドアが開いた等のようなユーザが意図しない判断を行う可能性がある。その結果、例えば、ロボットは、加工中に加工が完了したと判断して、ワークを取出すために工作機械内へ進入を試み、工作機械とロボットとが衝突する可能性がある。 On the other hand, when the robot reads a variable that is being used in a machining program, if the variable is used in an operation in the machining program, the robot reads the value that changes in that operation. Based on the values of the read variables, the robot may make a decision that the user does not intend, such as that the machine tool has completed machining or that the door of the machine tool has been opened. As a result, for example, the robot determines that the machining is completed during machining and attempts to enter the machine tool to take out the workpiece, which may cause the machine tool and the robot to collide.
このように、加工プログラムで使用中の変数を異なる用途で重複して使用すると、様々な不具合を引き起こす可能性がある。よって、ロボットと工作機械とが連動するシステムにおいて、加工プログラムにカスタムマクロ変数を使用した場合に生じ得る不具合を防止する数値制御システム、数値制御装置、産業用装置及びコンピュータプログラムが望まれている。 In this way, if the variables being used in the machining program are used in duplicate for different purposes, various problems may occur. Therefore, there is a demand for a numerical control system, numerical control device, industrial device, and computer program that prevent problems that may occur when custom macro variables are used in a machining program in a system in which a robot and a machine tool work together.
本開示の一態様は、数値制御装置の加工プログラムからロボット制御装置を介してロボットを制御する数値制御システムであって、前記数値制御装置における全ての前記加工プログラムの中から変数を取得し、前記変数と前記加工プログラムとが対応づけられた変数リスト情報を生成する変数リスト情報生成部と、前記数値制御装置における前記加工プログラム又は前記ロボット制御装置おけるロボットプログラムに含まれる前記変数が、前記変数リスト情報と異なる対応関係で使用された場合、前記変数を使用せず、前記変数リスト情報に含まれる前記変数が、前記変数リスト情報に存在しない前記加工プログラムで使用された場合、前記変数を使用しないプログラム編集部と、を備える。 One aspect of the present disclosure is a numerical control system that controls a robot from a machining program of a numerical controller via a robot controller, wherein variables are acquired from all the machining programs in the numerical controller, and the a variable list information generation unit that generates variable list information in which variables and the machining program are associated with each other; The variable is not used if it is used in a relationship different from that of the information, and is not used if the variable included in the variable list information is used in the machining program that does not exist in the variable list information. and a program editor.
本開示の一態様は、数値制御装置の加工プログラムからロボット制御装置を介してロボットを制御する数値制御システムであって、前記数値制御装置における全ての前記加工プログラムの中から変数を取得し、前記変数と前記加工プログラムとが対応付けられた変数リスト情報を生成する変数リスト情報生成部と、前記変数リスト情報を出力装置へ出力する変数リスト情報出力部と、を備える。 One aspect of the present disclosure is a numerical control system that controls a robot from a machining program of a numerical controller via a robot controller, wherein variables are acquired from all the machining programs in the numerical controller, and the A variable list information generation unit that generates variable list information in which variables and the processing program are associated with each other; and a variable list information output unit that outputs the variable list information to an output device.
本開示の一態様は、加工プログラムを用いてロボット制御装置を介してロボットを制御する数値制御装置であって、前記数値制御装置における前記加工プログラム又は前記ロボット制御装置におけるロボットプログラムの中から変数を取得し、前記変数と前記加工プログラム又は前記ロボットプログラムとが対応付けられた変数リスト情報を生成する変数リスト情報生成部と、前記加工プログラム又は前記ロボットプログラムに含まれる前記変数が、前記変数リスト情報と異なる対応関係で使用された場合、前記変数を使用せず、前記変数リスト情報に含まれる前記変数が、前記変数リスト情報に存在しない前記加工プログラムで使用された場合、前記変数を使用しないプログラム編集部と、を備える。 One aspect of the present disclosure is a numerical controller that controls a robot via a robot controller using a machining program, wherein a variable is selected from the machining program in the numerical controller or the robot program in the robot controller. a variable list information generating unit that acquires and generates variable list information in which the variables and the machining program or the robot program are associated with each other; If the variable is used in a different correspondence from the variable list information, the variable is not used, and if the variable included in the variable list information is used in the processing program that does not exist in the variable list information, the program that does not use the variable and an editorial department.
本開示の一態様は、数値制御装置又はロボット制御装置から加工プログラム又はロボットプログラムを受信する受信部と、前記数値制御装置における前記加工プログラム又は前記ロボット制御装置におけるロボットプログラムの中から変数を取得し、前記変数と前記加工プログラム又は前記ロボットプログラムとが対応付けられた変数リスト情報を生成する変数リスト情報生成部と、前記変数リスト情報を出力装置へ出力する変数リスト情報出力部と、を備える産業用装置である。 One aspect of the present disclosure is a receiving unit that receives a machining program or a robot program from a numerical control device or a robot control device, and acquires a variable from the machining program in the numerical control device or the robot program in the robot control device. , a variable list information generating unit that generates variable list information in which the variables are associated with the machining program or the robot program; and a variable list information output unit that outputs the variable list information to an output device. It is a device for
本開示の一態様は、数値制御装置の加工プログラムからロボット制御装置を介してロボットを制御するコンピュータに、前記数値制御装置における全ての加工プログラムの中から変数を取得し、前記変数と前記加工プログラムとが対応付けられた変数リスト情報を生成するステップと、前記数値制御装置における前記加工プログラム又は前記ロボット制御装置おけるロボットプログラムに含まれる前記変数が、前記変数リスト情報と異なる対応関係で使用された場合、前記変数を使用しないステップと、前記変数リスト情報に含まれる前記変数が、前記変数リスト情報に存在しない前記加工プログラムで使用された場合、前記変数を使用しないステップと、を実行させるためのコンピュータプログラムである。 According to one aspect of the present disclosure, a computer that controls a robot via a robot controller from a machining program of a numerical controller acquires variables from all machining programs in the numerical controller, and a step of generating variable list information associated with the variables included in the machining program in the numerical control device or the robot program in the robot control device are used in a correspondence relationship different from the variable list information a step of not using the variable, and a step of not using the variable if the variable included in the variable list information is used in the machining program that does not exist in the variable list information. A computer program.
以下、本開示の実施形態の一例について説明する。図1は、本実施形態に係る数値制御システム1の機能ブロック図である。
An example of an embodiment of the present disclosure will be described below. FIG. 1 is a functional block diagram of a
数値制御システム1は、図示しないワークを加工する工作機械2と、工作機械2及び工作機械2の近傍に設けられたロボット3と、工作機械2及びロボット3と通信可能に接続された産業用装置4と、工作機械2の動作を制御する数値制御装置(CNC)5と、ロボット3の動作を制御するロボット制御装置6と、を備える。数値制御システム1は、互いに通信可能に接続された産業用装置4、数値制御装置5及びロボット制御装置6を用いることによって、工作機械2及びロボット3の動作を連動して制御する。
The
工作機械2は、数値制御装置5から送信される工作機械制御信号に応じて図示しないワークを加工する。ここで工作機械2は、例えば、旋盤、ボール盤、フライス盤、研削盤、レーザ加工機、及び射出成形機等であるが、これらに限らない。
The
ロボット3は、ロボット制御装置6による制御下において動作し、例えば工作機械2によって加工されるワークに対し所定の作業を行う。ロボット3は、例えば多関節ロボットであり、そのアーム先端部にはワークを把持したり、加工したり、検査したりするためのツールが取り付けられている。以下では、ロボット3は、6軸の多関節ロボットとした場合について説明するが、これに限らない。また以下では、ロボット3は、6軸の多関節ロボットとした場合について説明するが、軸数はこれに限らない。
The robot 3 operates under the control of the
産業用装置4は、数値制御装置5内に設けられてもよく、又は数値制御装置5の外部のコンピュータ装置等に設けられてもよい。以下では、産業用装置4を数値制御装置の外部に設けた例について説明する。
The
産業用装置4、数値制御装置5及びロボット制御装置6は、それぞれCPU(Central Processing Unit)等の演算処理手段、各種コンピュータプログラムを記憶したHDD(Hard Disk Drive)やSSD(Solid State Drive)等の補助記憶手段、演算処理手段がコンピュータプログラムを実行する上で一時的に必要とされるデータを記憶するためのRAM(Random Access Memory)といった主記憶手段、オペレータが各種操作を行うキーボードといった操作手段、及びオペレータに各種情報を表示するディスプレイといった表示手段等のハードウェアによって構成されるコンピュータである。これら産業用装置4、数値制御装置5及びロボット制御装置6は、例えばイーサネット(登録商標)によって相互に各種信号を送受信することが可能となっている。
The
図1に示すように数値制御装置5は、上記ハードウェア構成によって、工作機械2の動作を制御する機能、ロボット3の制御軸の動作経路を生成する機能等のような各種機能を実現する。
As shown in FIG. 1, the
数値制御装置5は、記憶部51と、プログラム入力部52と、解析部53と、制御部54と、データ送受信部55と、入力部56と、プログラム編集部57と、表示部58と、を備える。
The
記憶部51は、例えば、オペレータによる操作に基づいて作成された複数の加工プログラム511を記憶する。より具体的には、記憶部51は、工作機械2の動作を制御するための工作機械2に対する複数の指令ブロックやロボット3の動作を制御するためのロボット3に対する複数の指令ブロック等によって構成される加工プログラム511を記憶する。記憶部51に記憶されている加工プログラム511は、GコードやMコード等、工作機械2の動作を制御するため既知のプログラム言語で記述されている。
The
また、記憶部51は、例えば、上記数値制御プログラムの下で作動する工作機械2の各種軸の位置(すなわち、工作機械2の刃物台やテーブル等の位置)を示す機械座標値を記憶する。なお、これら機械座標値は、工作機械2上又は工作機械2の近傍の任意の位置に定められた基準点を原点とする工作機械座標系の下で定義される。記憶部51には、数値制御プログラムの下で逐次変化する機械座標値の最新値が記憶されるよう、図示しない処理によって逐次更新される。
The
また、記憶部51は、例えば、ロボット制御装置6の制御下で作動するロボット3の制御点の位置及び姿勢、換言すればロボット3の各制御軸の位置を示すロボット座標値が記憶されている。なお、これらロボット座標値は、上述したように工作機械座標系とは異なるロボット座標系の下で定義される。記憶部51には、数値制御プログラムの下で逐次変化するロボット座標値の最新値が記憶されるよう、図示しない処理によりロボット制御装置6から取得されたロボット座標値によって逐次更新される。
The
また、記憶部51は、例えば、オペレータにより入力されたロボット3の始点及び終点といった教示位置を記憶する。具体的には、記憶部51は、ティーチペンダント等から入力されたロボット3の教示位置、キーボード等から入力された教示位置等を記憶する。ロボット3の教示位置には、ロボット3の各制御軸の位置を示すロボット座標値が含まれ、これらロボット座標値は、工作機械座標系とは異なるロボット座標系の下で定義される。
The
記憶部51は、更に、カスタムマクロ変数(以下、変数ともいう)512、及び変数リスト情報513を記憶する。
The
カスタムマクロ変数512は、加工プログラム511の加工条件等の演算に用いられる。カスタムマクロ変数512は、条件式で使用すると変数の値に従って、加工プログラムの処理を変更し、工作機械2の動作を変更することができる。工作機械2とロボット3とが連動する数値制御システム1において、ロボット3がカスタムマクロ変数512を読み書きすることによって、工作機械2とロボット3とは連動する。
The
変数リスト情報513は、変数512と、変数512を使用する加工プログラム511のプログラム名とを対応付けて記憶する。
The
プログラム入力部52は、複数のロボット指令ブロックによって構成されるロボット用の数値制御プログラムを記憶部51から読み出し、これを逐次解析部53へ入力する。
The
解析部53は、プログラム入力部52から入力される数値制御プログラムに基づく指令種別を指令ブロックごとに解析し、その解析結果を制御部54へ出力する。より具体的には、解析部53は、指令ブロックの指令種別が工作機械2に対する工作機械用数値制御指令である場合、この工作機械用数値制御指令を制御部54へ送信する。解析部53は、指令ブロックの指令種別がロボット3に対するロボット用数値制御指令である場合、このロボット用数値制御指令を制御部54へ出力する。
制御部54は、解析部53から送信される解析結果に応じて工作機械2の動作を制御するための工作機械制御信号を生成し、工作機械2の各種軸を駆動するアクチュエータへ入力する。工作機械2は、制御部54から入力される工作機械制御信号に応じて動作し、図示しないワークを加工する。
The
また、制御部54は、解析部53から入力されるロボット指令ブロック毎の解析結果に基づいて、ロボット指令ブロック毎にロボット指令信号を生成し、生成したロボット指令信号をデータ送受信部55に書き込む。具体的には、制御部54は、解析部53から入力される解析結果としてのロボット用数値制御指令に基づいて、ロボット指令ブロック毎にロボット指令信号を生成し、生成したロボット指令信号をデータ送受信部55に書き込む。
The
データ送受信部55は、ロボット制御装置6のデータ送受信部65との間で指令、カスタムマクロ変数512及びロボット座標値等のデータを送受信する。具体的には、データ送受信部55は、制御部54によって生成されたロボット指令信号をロボット制御装置6のデータ送受信部65へ送信する。
The data transmission/
入力部56は、例えば、キーボードやマウス等の入力装置や、表示部58と一体に構成されるタッチセンサ等である。入力部56は、数値制御装置5を操作するオペレータによる入力を受け付け、プログラム編集部57へ出力する。
The
プログラム編集部57は、入力部56からの入力に応じて加工プログラム511を編集又は作成し、記憶部51に保存する。
The
表示部58は、液晶ディスプレイ等であり、制御部54による制御に従って各種情報を表示する。例えば、表示部58は、変数リスト情報513を表示する。
The
次に、ロボット制御装置6の構成について詳細に説明する。図1に示すように、ロボット制御装置6には、上記ハードウェア構成によって、記憶部61、プログラム入力部62、解析部63、制御部64、データ送受信部65、入力部66、プログラム編集部67、及び表示部68等の各種機能が実現される。ロボット制御装置6は、これらプログラム入力部62、解析部63、制御部64及びデータ送受信部65を用いることによって、ロボットプログラム611又は数値制御装置5から送信される指令に基づいてロボット3の動作を制御する。
Next, the configuration of the
データ送受信部65は、数値制御装置5のデータ送受信部55から送信されるロボット指令信号を受信する。また、データ送受信部65は、受信したロボット指令信号を逐次、解析部63へ出力する。また、データ送受信部65は、ロボットプログラム611に基づいて、数値制御装置5のカスタムマクロ変数512を送受信する。
The data transmitter/
記憶部61は、ロボットプログラム611と、変数リスト情報612と、を記憶する。変数リスト情報612は、変数512と、変数512を使用する加工プログラム511及び/又はロボットプログラム611のプログラム名とを対応付けて記憶される。
The
プログラム入力部62は、ロボットプログラム611を記憶部61から読み出し、これを逐次解析部63へ入力する。
The
解析部63は、プログラム入力部62から入力されるロボットプログラム611に基づく指令種別を指令ブロックごとに解析し、その解析結果を制御部64へ出力する。また、解析部63は、データ送受信部65から入力されるロボット指令信号を解析する。解析部63は、その解析結果を制御部64へ出力する。
The
制御部64は、以下に示すようなロボット命令生成部、プログラム管理部、軌跡制御部、キネマティクス制御部、サーボ制御部等の機能を実行する。
The
ロボット命令生成部は、解析部63から入力されるロボット指令信号の解析結果に基づいて、ロボット指令信号に応じたロボット命令を生成する。ロボット命令生成部は、生成したロボット命令をプログラム管理部へ出力する。
The robot command generation unit generates a robot command corresponding to the robot command signal based on the analysis result of the robot command signal input from the
プログラム管理部は、ロボット命令生成部からロボット命令が入力されると、ロボット命令を逐次実行することにより、上記ロボット指令信号に応じたロボット3の動作計画を生成し、軌跡制御部へ出力する。 When a robot command is input from the robot command generation unit, the program management unit sequentially executes the robot command, thereby generating an operation plan for the robot 3 according to the robot command signal and outputting it to the trajectory control unit.
また、プログラム管理部は、ロボット命令生成部から入力されるロボット命令がブロックロボット命令である場合には、記憶部61に記憶されているロボットプログラムに、入力されたブロックロボット命令を追加する。これにより記憶部61には、数値制御装置5から送信されるロボット指令信号に応じたロボットプログラムが生成されて記憶される。記憶されたロボットプログラムは、プログラム管理部がロボット命令としてロボットプログラム起動指令を受けることにより、起動及び再生される。
Also, when the robot command input from the robot command generation unit is a block robot command, the program management unit adds the input block robot command to the robot program stored in the
軌跡制御部は、プログラム管理部から動作計画が入力されると、ロボット3の制御点の時系列データを算出し、キネマティクス制御部へ出力する。 When the motion plan is input from the program management unit, the trajectory control unit calculates time-series data of the control points of the robot 3 and outputs the data to the kinematics control unit.
キネマティクス制御部は、入力された時系列データからロボット3の各関節の目標角度を算出し、サーボ制御部へ入力する。 The kinematics control unit calculates the target angle of each joint of the robot 3 from the input time-series data, and inputs it to the servo control unit.
サーボ制御部は、キネマティクス制御部から入力される目標角度が実現するようにロボット3の各サーボモータをフィードバック制御することによってロボット3に対するロボット制御信号を生成し、ロボット3のサーボモータへ入力する。 The servo control unit feedback-controls each servo motor of the robot 3 so that the target angle input from the kinematics control unit is realized, thereby generating a robot control signal for the robot 3 and inputting it to the servo motor of the robot 3. .
入力部66は、例えば、キーボードやマウス等の入力装置や、表示部68と一体に構成されるタッチセンサ等である。入力部66は、ロボット制御装置6を操作するオペレータによる入力を受け付け、プログラム編集部67へ出力する。
The
プログラム編集部67は、入力部66からの入力に応じてロボットプログラム611を編集又は作成し、記憶部61に保存する。
The
表示部68は、液晶ディスプレイ等であり、制御部64による制御に従って各種情報を表示する。例えば、表示部68は、変数リスト情報612を表示する。
The
次に、本実施形態に係る数値制御システム1において、加工プログラム511にカスタムマクロ変数512を使用した場合に生じ得る不具合を防止するための処理について説明する。
Next, in the
産業用装置4の変数リスト情報生成部41は、数値制御装置5の記憶部51に記憶された全ての加工プログラム511の取得要求を、産業用装置4のデータ送受信部43に通知する。ここで、全ての加工プログラム511は、変数512を含む。
The variable list
産業用装置4のデータ送受信部43は、数値制御装置5のデータ送受信部を介して、数値制御装置5の記憶部51から読み出された全ての加工プログラム511を取得し、変数リスト情報生成部41へ入力する。
The data transmission/
変数リスト情報生成部41は、変数リスト情報513を作成し、入力された加工プログラム511中に含まれる変数512を検索する。検索した変数512は、当該変数512を含む加工プログラム511と対応付けられ、変数リスト情報513に追加される。変数リスト情報生成部41は、入力された加工プログラム511を全て検索した後、変数リスト情報513を変数リスト情報出力部42に入力する。
The variable list
変数リスト情報出力部42は、産業用装置4の表示部44へ出力し、表示部44は、変数リスト情報513を表示する。変数リスト情報出力部42は、産業用装置4のデータ送受信部43へ変数リスト情報513を出力し、産業用装置4のデータ送受信部は、変数リスト情報513を数値制御装置5のデータ送受信部55へ送信する。
The variable list
数値制御装置5は、データ送受信部55で受信した変数リスト情報513を記憶部51に保存する。これにより、数値制御装置5は、変数リスト情報513を用いて、変数512を重複した加工プログラム511の編集、作成及び実行を回避できる。
次に、加工プログラム511を作成又は編集する場合、数値制御装置5の入力部56は、プログラム編集部57へ加工プログラム511の作成又は編集の要求を通知する。
Next, when creating or editing the
加工プログラム511を作成する場合、プログラム編集部57は、加工プログラム511を生成し、記憶部51に記憶する。加工プログラム511を編集する場合、プログラム編集部57は、記憶部51から加工プログラム511を読み出す。
When creating the
加工プログラム511を編集する際に、変数512は、入力部56からプログラム編集部57に入力される。そして、プログラム編集部57は、記憶部51から変数リスト情報513を読み出し、入力された変数512が変数リスト情報513に存在するかを判定する。
When editing the
プログラム編集部57は、変数512が変数リスト情報513に存在する場合、編集中の加工プログラム511と変数512との対応関係を変数リスト情報513に基づいて判定する。変数リスト情報513において編集中の加工プログラム511と変数512とが対応付けられていない場合、プログラム編集部57は、警告メッセージを表示部58に表示させ、入力された変数512を削除する。
If the variable 512 exists in the
加工プログラム511を保存する際に、プログラム編集部57は、記憶部51から変数リスト情報513を読み出す。プログラム編集部57は、加工プログラム511中に変数512を使用している場合、使用された変数512が変数リスト情報513に存在するかを判定する。
When saving the
変数リスト情報513に変数512が存在する場合、プログラム編集部57は、変数リスト情報513に基づいて、保存する加工プログラム511と変数512との対応関係を判定する。
If the
プログラム編集部57は、変数リスト情報513において加工プログラム511と変数512とが対応付けられていない場合、表示部58に警告メッセージを表示させ、加工プログラム511の保存を禁止する。プログラム編集部57は、変数リスト情報に存在しない変数の場合、又は加工プログラム511と変数512との対応関係が変数リスト情報513で対応付けられた変数512の場合、加工プログラム511を保存する。
If the
加工プログラム511を実行する際、プログラム入力部52は、記憶部51から加工プログラム511を読み出し、解析部53に入力する。
解析部53は、加工プログラム511に基づく指令種別を指令ブロックごとに解析する。解析部53は、変数512を解析する際に、記憶部51から変数リスト情報513を読み出し、変数512が変数リスト情報513に存在するかを判定する。When executing the
The
解析部53は、変数512が変数リスト情報513に存在する場合、変数リスト情報513に基づいて、実行中の加工プログラム511と変数512との対応関係を判定する。
変数リスト情報513において、変数512が、実行中の加工プログラム511と対応付けられていない場合、解析部53は、加工プログラムの実行を中止する。When the variable 512 exists in the
In the
変数512が変数リスト情報に存在しない場合、又は変数512が、加工プログラム511と変数512とが変数リスト情報513において対応付けられている場合、解析部53は、解析結果に従って記憶部51の変数512の値を読み書きする。例えば、解析部53が移動指令を解析した際、制御部54は、移動指令を受け付け、移動指令に基づいて工作機械2の制御軸を駆動させる。
If the variable 512 does not exist in the variable list information, or if the variable 512 is associated with the
次に、加工プログラム511及びロボットプログラム611から変数リスト情報612を作成する場合について説明する。変数リスト情報生成部41は、数値制御装置5の記憶部51における変数512を含む全ての加工プログラム511の取得要求と、ロボット制御装置6の記憶部61における変数512を含む全てのロボットプログラム611の取得要求と、を産業用装置4のデータ送受信部43に通知する。
Next, a case of creating the
産業用装置4のデータ送受信部43は、数値制御装置5のデータ送受信部55を介して、記憶部51から読み出された変数512を含む全ての加工プログラム511を取得する。また、データ送受信部43は、ロボット制御装置6のデータ送受信部65を介して、ロボット制御装置6の記憶部61から読み出された変数512を含む全てのロボットプログラム611を取得する。データ送受信部43は、取得した全ての加工プログラム511及び全てのロボットプログラム611を変数リスト情報生成部41へ入力する。
The data transmitter/
変数リスト情報生成部41は、変数リスト情報612を作成し、入力された加工プログラム511及びロボットプログラム611中に含まれる変数512を検索する。変数リスト情報生成部41は、検索した変数512を、当該変数512を含む加工プログラム511又はロボットプログラム611と対応付けて変数リスト情報612に追加する。変数リスト情報生成部41は、入力された加工プログラム511及びロボットプログラム611を全て検索したのち、変数リスト情報612を変数リスト情報出力部42に入力する。
The variable list
変数リスト情報出力部42は、変数リスト情報612を表示部44に表示させる。変数リスト情報出力部42は、データ送受信部55へ変数リスト情報612を出力し、データ送受信部43は、変数リスト情報612をロボット制御装置6のデータ送受信部65へ送信する。
The variable list
ロボット制御装置6は、データ送受信部65で受信した変数リスト情報612をロボット制御装置6の記憶部61に保存する。
The
次に、ロボットプログラム611を作成又は編集する場合について説明する。ロボット制御装置6の入力部66は、プログラム編集部67へロボットプログラム611の作成又は編集の要求を通知する。
Next, the case of creating or editing the
ロボットプログラム611を作成する場合、プログラム編集部67は、ロボットプログラム611を生成し、記憶部61に記憶する。ロボットプログラム611を編集する場合、プログラム編集部67は、記憶部61からロボットプログラム611を読み出す。
When creating the
ロボットプログラムを編集する際、入力部66は、プログラム編集部67に変数512を入力する。プログラム編集部67は、記憶部61から変数リスト情報612を読み出し、入力された変数512が変数リスト情報612に存在する変数であるかを判定する。変数512が変数リスト情報612に存在する場合、プログラム編集部67は、変数リスト情報612に基づいて、編集中のロボットプログラム611と変数512との対応関係を判定する。
When editing the robot program, the
プログラム編集部67は、変数リスト情報612において加工プログラム511又はロボットプログラム611と変数512とが対応付けられていない場合、ロボット制御装置6の表示部68に警告メッセージを表示させ、入力された変数512を削除する。
If the
ロボットプログラム611を保存する際、プログラム編集部67は、記憶部61から変数リスト情報612を読み出す。ロボットプログラム611中に変数512を使用している場合、使用された変数512が変数リスト情報に存在するかを判定する。
When saving the
変数512が変数リスト情報612に存在する場合、プログラム編集部67は、変数リスト情報612に基づいてロボットプログラム611と変数512との対応関係を判定する。変数リスト情報612においてロボットプログラム611と変数512とが対応付けられていない場合、プログラム編集部67は、表示部68に警告メッセージを表示させ、ロボットプログラム611の保存を禁止する。
If the variable 512 exists in the
変数512が変数リスト情報612に存在しない場合、又はロボットプログラム611と変数512との対応関係が変数リスト情報612で対応付けられている場合、プログラム編集部67は、ロボットプログラム611を記憶部61に保存する。
If the variable 512 does not exist in the
ロボットプログラム611を実行した場合、プログラム入力部62は、ロボットプログラム611を記憶部61から読み出し、解析部63に入力する。
When the
解析部63は、ロボットプログラム611に基づく指令種別を指令ブロックごとに解析する。変数512を解析する際に、解析部63は、記憶部61から変数リスト情報612を読み出し、変数512が変数リスト情報612に存在するかを判定する。
The
変数512が変数リスト情報612に存在する場合、解析部63は、変数リスト情報612に基づいて、実行中のロボットプログラム611と変数512との対応関係を判定する。
If the variable 512 exists in the
変数リスト情報612において、変数512が、実行中のロボットプログラム611と対応付けられてない場合、解析部63は、ロボットプログラム611の実行を中止する。変数512が変数リスト情報に存在しない場合、又はロボットプログラム611と変数512とが変数リスト情報612で対応付けられている場合、解析部63は、解析結果に従い、データ送受信部55及びデータ送受信部65を介して、数値制御装置5の記憶部51の変数512を読み書きする。例えば、解析部63が移動指令を解析した際、制御部64は、移動指令に基づいてロボット3の各関節が駆動させる。
In the
[第1実施形態]
第1実施形態に係る数値制御システム1の処理について、図2~図10を参照しながら説明する。図2~図7は、第1実施形態に係る数値制御システム1の処理の例を示す図であり、図8~図10は、第1実施形態に係る数値制御システム1の処理の流れを示すフローチャートである。[First embodiment]
Processing of the
第1実施形態に係る数値制御システム1は、加工プログラム511において使用中の変数512を、既存の加工プログラム511aにおいて使用及び実行する。
The
図8は、第1実施形態に係る産業用装置4の処理を示すフローチャートである。ステップS1において、変数リスト情報生成部41は、数値制御装置5の記憶部51に記憶された全ての加工プログラム511の取得要求を、産業用装置4のデータ送受信部43に通知する。ここで、全ての加工プログラム511は、変数512を含む。データ送受信部43は、数値制御装置5のデータ送受信部55を介して、数値制御装置5の記憶部51から読み出された全ての加工プログラム511を取得し、変数リスト情報生成部41へ入力する(図2参照)。
FIG. 8 is a flowchart showing processing of the
ステップS2において、変数リスト情報生成部41は、変数リスト情報513を作成し、入力された加工プログラム511中に含まれる変数512を検索する(図3参照)。検索した変数512は、当該変数512を含む加工プログラム511と対応付けられ、変数リスト情報513に追加される(図4参照)。ここで、図4に示すように、変数リスト情報513は、使用中の変数512と、変数512を使用する加工プログラム511のプログラム名とを対応付けて記憶する。変数リスト情報生成部41は、入力された加工プログラム511を全て検索した後、変数リスト情報513を変数リスト情報出力部42に入力する。
In step S2, the variable
ステップS3において、変数リスト情報出力部42は、産業用装置4のデータ送受信部43へ変数リスト情報513を出力し、産業用装置4のデータ送受信部は、変数リスト情報513を数値制御装置5のデータ送受信部55へ送信する(図5参照)。
In step S3, the variable list
図9は、第1実施形態に係る数値制御装置5において加工プログラム511の編集を行う場合の処理を示すフローチャートである。ステップS11において、数値制御装置5の入力部56は、プログラム編集部57へ加工プログラム511aの編集の要求を通知する。プログラム編集部57は、記憶部51から加工プログラム511aを読み出し、入力部56は、変数512をプログラム編集部57に入力する。また、プログラム編集部57は、記憶部51から変数リスト情報513を読み出す。
FIG. 9 is a flow chart showing processing when editing the
ステップS12において、プログラム編集部57は、入力された変数512が変数リスト情報513に存在するかを判定する。入力された変数512が変数リスト情報513に存在する場合(YES)、処理は、ステップS13へ移る。一方、変数512が変数リスト情報513に存在しない場合(NO)、処理は、ステップS16へ移る。
In step S<b>12 , the
ステップS13において、プログラム編集部57は、変数512が変数リスト情報513に存在する場合、変数リスト情報513に基づいて、編集中の加工プログラム511aと変数512との対応関係を判定する。加工プログラム511aと変数512との対応関係が異なる場合、すなわち加工プログラム511aと変数512とが対応付けられていない場合、(YES)、処理は、ステップS14へ移る。一方、加工プログラム511aと変数512とが対応付けられている場合(NO)、処理は、ステップS16へ移る。
In step S<b>13 , when the variable 512 exists in the
ステップS14において、プログラム編集部57は、既存の加工プログラム511aにおいて、入力された変数512を使用せず、削除する。
In step S14, the
ステップS15において、プログラム編集部57は、警告メッセージを表示部58に表示させる(図6参照)。図6の例では、表示部58は、「変数#121は加工プログラム名O0456で使用されていること及び加工プログラム名O0123を保存できない」ことを示す警告メッセージを表示する。ここで加工プログラム名O0123は、加工プログラム511aを示す。
In step S15, the
ステップS16において、プログラム編集部57は、変数512を使用して、既存の加工プログラム511aの編集を行う。
In step S16, the
図10は、第1実施形態に係る数値制御装置5の処理を示すフローチャートである。ステップS21において、数値制御装置5の入力部56は、プログラム編集部57へ加工プログラム511aの実行の要求を通知する。プログラム編集部57は、記憶部51から加工プログラム511aを読み出し、入力部56は、変数512をプログラム編集部57に入力する。また、プログラム編集部57は、記憶部51から変数リスト情報513を読み出す。
FIG. 10 is a flow chart showing processing of the
ステップS22において、プログラム編集部57は、入力された変数512が変数リスト情報513に存在するかを判定する。入力された変数512が変数リスト情報513に存在する場合(YES)、処理は、ステップS23へ移る。一方、変数512が変数リスト情報513に存在しない場合(NO)、処理は、ステップS26へ移る。
In step S<b>22 , the
ステップS23において、プログラム編集部57は、変数512が変数リスト情報513に存在する場合、変数リスト情報513に基づいて、加工プログラム511aと変数512との対応関係を判定する。加工プログラム511aと変数512との対応関係が異なる場合、すなわち加工プログラム511aと変数512とが対応付けられていない場合、(YES)、処理は、ステップS24へ移る。一方、加工プログラム511aと変数512とが対応付けられている場合(NO)、処理は、ステップS26へ移る。
In step S<b>23 , if the variable 512 exists in the
ステップS24において、プログラム編集部57は、既存の加工プログラム511aにおいて、入力された変数512を使用せず、加工プログラム511aの実行を中止又は禁止する。
In step S24, the
ステップS25において、プログラム編集部57は、既存の加工プログラム511aを実行できないことを示す警告メッセージを表示部58に表示させる(図7参照)。
In step S25, the
ステップS26において、プログラム編集部57は、変数512を使用して、既存の加工プログラム511aを実行する。
In step S26, the
このような構成により、第1実施形態に係る数値制御システム1は、全ての加工プログラム511から、加工プログラム511と対応付けられた変数512の変数リスト情報513を数値制御装置5に通知する。これにより、数値制御システム1は、加工プログラムと対応付けられた変数を重複した加工プログラムの編集を回避できる。
With such a configuration, the
また、数値制御システム1は、加工プログラムと対応付けられた変数を重複した加工プログラムが実行された場合、変数リスト情報に基づいて加工プログラムの実行を中止又は禁止する。これにより、数値制御システム1は、加工プログラムと対応付けられた変数の重複によって生じ得る加工不良、工作機械2の破損、工作機械2とロボット3との衝突等のような不具合を回避できる。
In addition, when a machining program that duplicates the variables associated with the machining program is executed, the
更に、数値制御システム1は、数値制御装置5の全ての加工プログラム511から、加工プログラム511と対応付けられた変数512の変数リスト情報513を作成し、変数リスト情報513を出力及び表示する。これにより、数値制御システム1は、新たな用途で使用する変数を決定するときに、加工プログラムを確認する手間を省くことができる。
Further, the
また、数値制御システム1において、変数を使用しないことは、変数の保存を禁止すること、変数の参照を禁止すること、及び変数を含む加工プログラムの実行を禁止することのうちの少なくとも1つを含む。このような構成により、数値制御システム1は、加工プログラムと対応付けられた変数の重複によって生じ得る加工不良、工作機械2の破損、工作機械2とロボット3との衝突等のような不具合を適切に回避できる。
In addition, in the
また、数値制御装置5は、変数を使用しない場合、変数を使用しないことを示す警告メッセージを表示する表示部58を更に備える。このような構成により、数値制御システム1は、変数を使用しないことをユーザに対して適切に報知することができる。
The
[第2実施形態]
第2実施形態に係る数値制御システム1の処理について、図2~図5及び図11~図15を参照しながら説明する。図2~図5、図11及び図12は、第2実施形態に係る数値制御システム1の処理の例を示す図であり、図13~図15は、第2実施形態に係る数値制御システム1の処理の流れを示すフローチャートである。[Second embodiment]
Processing of the
第2実施形態に係る数値制御システム1は、加工プログラム511において使用中の変数512を、新規の加工プログラム511bにおいて使用及び実行する。
The
図13は、第2実施形態に係る産業用装置4の処理を示すフローチャートである。ステップS31において、変数リスト情報生成部41は、数値制御装置5の記憶部51に記憶された全ての加工プログラム511の取得要求を、産業用装置4のデータ送受信部43に通知する。ここで、全ての加工プログラム511は、変数512を含む。データ送受信部43は、数値制御装置5のデータ送受信部55を介して、数値制御装置5の記憶部51から読み出された全ての加工プログラム511を取得し、変数リスト情報生成部41へ入力する(図2参照)。
FIG. 13 is a flow chart showing processing of the
ステップS32において、変数リスト情報生成部41は、変数リスト情報513を作成し、入力された加工プログラム511中に含まれる変数512を検索する(図3参照)。検索した変数512は、当該変数512を含む加工プログラム511と対応付けられ、変数リスト情報513に追加される(図4参照)。ここで、図4に示すように、変数リスト情報513は、使用中の変数512と、変数512を使用する加工プログラム511のプログラム名とを対応付けて記憶される。変数リスト情報生成部41は、入力された加工プログラム511を全て検索した後、変数リスト情報513を変数リスト情報出力部42に入力する。
In step S32, the variable
ステップS33において、変数リスト情報出力部42は、産業用装置4のデータ送受信部43へ変数リスト情報513を出力し、産業用装置4のデータ送受信部は、変数リスト情報513を数値制御装置5のデータ送受信部55へ送信する(図5参照)。
In step S33, the variable list
図14は、第2実施形態に係る数値制御装置5において加工プログラム511bの編集又は作成を行う場合の処理を示すフローチャートである。ステップS41において、数値制御装置5の入力部56は、プログラム編集部57へ加工プログラム511bの編集又は作成の要求を通知する。プログラム編集部57は、記憶部51から加工プログラム511bを読み出し、入力部56は、変数512をプログラム編集部57に入力する。また、プログラム編集部57は、記憶部51から変数リスト情報513を読み出す。
FIG. 14 is a flow chart showing processing when editing or creating the
ステップS42において、プログラム編集部57は、入力された変数512が変数リスト情報513に存在するかを判定する。入力された変数512が変数リスト情報513に存在する場合(YES)、処理は、ステップS43へ移る。一方、変数512が変数リスト情報513に存在しない場合(NO)、処理は、ステップS46へ移る。
In step S<b>42 , the
ステップS43において、プログラム編集部57は、変数512が変数リスト情報513に存在する場合、変数リスト情報513に基づいて、加工プログラム511bと変数512との対応関係を判定する。加工プログラム511bと変数512との対応関係が異なる場合、すなわち加工プログラム511bと変数512とが対応付けられていない場合、(YES)、処理は、ステップS44へ移る。一方、加工プログラム511と変数512とが対応付けられている場合(NO)、処理は、ステップS46へ移る。
In step S<b>43 , when the variable 512 exists in the
ステップS44において、プログラム編集部57は、新規の加工プログラム511bにおいて、入力された変数512を使用せず、削除する。また、プログラム編集部57は、入力された変数512を使用せず、新規の加工プログラム511bの保存を禁止してもよい。
In step S44, the
ステップS45において、プログラム編集部57は、警告メッセージを表示部58に表示させる(図11参照)。図11の例では、表示部58は、「変数#101は加工プログラム名O0123で使用されていること及び加工プログラム名O0789を保存できない」ことを示す警告メッセージを表示する。ここで加工プログラム名O0789は、加工プログラム511bを示す。
In step S45, the
ステップS46において、プログラム編集部57は、変数512を使用して、新規の加工プログラム511bの編集又は作成を行う。
In step S46, the
図15は、第2実施形態に係る数値制御装置5の処理を示すフローチャートである。ステップS51において、数値制御装置5の入力部56は、プログラム編集部57へ加工プログラム511bの実行の要求を通知する。プログラム編集部57は、記憶部51から加工プログラム511bを読み出し、入力部56は、変数512をプログラム編集部57に入力する。また、プログラム編集部57は、記憶部51から変数リスト情報513を読み出す。
FIG. 15 is a flow chart showing processing of the
ステップS52において、プログラム編集部57は、入力された変数512が変数リスト情報513に存在するかを判定する。入力された変数512が変数リスト情報513に存在する場合(YES)、処理は、ステップS53へ移る。一方、変数512が変数リスト情報513に存在しない場合(NO)、処理は、ステップS56へ移る。
In step S<b>52 , the
ステップS53において、プログラム編集部57は、変数512が変数リスト情報513に存在する場合、変数リスト情報513に基づいて、加工プログラム511bと変数512との対応関係を判定する。加工プログラム511bと変数512との対応関係が異なる場合、すなわち加工プログラム511bと変数512とが対応付けられていない場合、(YES)、処理は、ステップS54へ移る。一方、加工プログラム511bと変数512とが対応付けられている場合(NO)、処理は、ステップS56へ移る。
In step S<b>53 , if the variable 512 exists in the
ステップS54において、プログラム編集部57は、加工プログラム511bにおいて、入力された変数512を使用せず、加工プログラム511bの実行を中止又は禁止する。
In step S54, the
ステップS55において、プログラム編集部57は、加工プログラム511bを実行できないことを示す警告メッセージを表示部58に表示させる(図12参照)。
In step S55, the
ステップS56において、プログラム編集部57は、変数512を使用して、新規の加工プログラム511bを実行する。
In step S56, the
このような構成により、第2実施形態に係る数値制御システム1は、全ての加工プログラム511から、加工プログラム511と対応付けられた変数512の変数リスト情報513を数値制御装置5に通知する。これにより、数値制御システム1は、加工プログラムと対応付けられた変数を重複した加工プログラムの編集又は作成を回避できる。
With such a configuration, the
また、数値制御システム1は、加工プログラムと対応付けられた変数を重複した加工プログラムが実行された場合、変数リスト情報に基づいて加工プログラムの実行を中止又は禁止する。これにより、数値制御システム1は、加工プログラムと対応付けられた変数の重複によって生じ得る加工不良、工作機械2の破損、工作機械2とロボット3との衝突等のような不具合を回避できる。
In addition, when a machining program that duplicates the variables associated with the machining program is executed, the
[第3実施形態]
第3実施形態に係る数値制御システム1の処理について、図16~図24を参照しながら説明する。図16~図21は、第3実施形態に係る数値制御システム1の処理の例を示す図であり、図22~図24は、第3実施形態に係る数値制御システム1の処理の流れを示すフローチャートである。第3実施形態に係る数値制御システム1は、加工プログラム511において使用中の変数512を、ロボットプログラム611aにおいて使用及び実行する。[Third embodiment]
Processing of the
図22は、第3実施形態に係る産業用装置4の処理を示すフローチャートである。ステップS61において、変数リスト情報生成部41は、数値制御装置5の記憶部51における変数512を含む全ての加工プログラム511の取得要求と、ロボット制御装置6の記憶部61における変数512を含む全てのロボットプログラム611の取得要求と、を産業用装置4のデータ送受信部43に通知する。
FIG. 22 is a flow chart showing processing of the
データ送受信部43は、数値制御装置5のデータ送受信部55を介して、記憶部51から読み出された変数512を含む全ての加工プログラム511を取得する。また、データ送受信部43は、ロボット制御装置6のデータ送受信部65を介して、ロボット制御装置6の記憶部61から読み出された変数512を含む全てのロボットプログラム611を取得する。データ送受信部43は、取得した全ての加工プログラム511及び全てのロボットプログラム611を変数リスト情報生成部41へ入力する。(図16参照)。
The data transmitter/
ステップS62において、変数リスト情報生成部41は、変数リスト情報612を作成し、入力された加工プログラム511及びロボットプログラム611中に含まれる変数512を検索する(図17参照)。変数リスト情報生成部41は、検索した変数512を、当該変数512を含む加工プログラム511又はロボットプログラム611と対応付けて変数リスト情報612に追加する(図18参照)。ここで、図18に示すように、変数リスト情報612は、使用中の変数と、加工プログラム511及び/又はロボットプログラム611のプログラム名とが対応付けて記憶される。変数リスト情報生成部41は、入力された加工プログラム511及びロボットプログラム611を全て検索したのち、変数リスト情報612を変数リスト情報出力部42に入力する。
In step S62, the variable
ステップS63において、変数リスト情報出力部42は、データ送受信部55へ変数リスト情報612を出力し、データ送受信部43は、変数リスト情報612をロボット制御装置6のデータ送受信部65へ出力する。
In step S<b>63 , the variable list
図23は、第3実施形態に係るロボット制御装置6においてロボットプログラム611aの編集又は作成を行う場合の処理を示すフローチャートである。
ステップS71において、ロボット制御装置6の入力部66は、プログラム編集部67へロボットプログラム611の作成又は編集の要求を通知する。ロボットプログラム611を作成する場合、プログラム編集部67は、ロボットプログラム611を生成し、記憶部61に記憶する。ロボットプログラム611を編集する場合、プログラム編集部67は、記憶部61からロボットプログラム611を読み出す。ロボットプログラムを編集する際、入力部66は、プログラム編集部67に変数512を入力する。FIG. 23 is a flow chart showing processing when the
In step S71, the
ステップS72において、プログラム編集部67は、記憶部61から変数リスト情報612を読み出し、入力された変数512が変数リスト情報612に存在するかを判定する。入力された変数512が変数リスト情報612に存在する場合(YES)、処理は、ステップS73へ移る。一方、変数512が変数リスト情報612に存在しない場合(NO)、処理は、ステップS76へ移る。
In step S<b>72 , the
ステップS73において、プログラム編集部67は、変数512が変数リスト情報612に存在する場合、変数リスト情報612に基づいて、ロボットプログラム611aと変数512との対応関係を判定する。ロボットプログラム611aと変数512との対応関係が異なる場合、すなわちロボットプログラム611aと変数512とが対応付けられていない場合、(YES)、処理は、ステップS74へ移る。一方、ロボットプログラム611aと変数512とが対応付けられている場合(NO)、処理は、ステップS76へ移る。
In step S<b>73 , if the variable 512 exists in the
ステップS74において、プログラム編集部67は、ロボットプログラム611aにおいて、入力された変数512を使用せず、削除する。また、プログラム編集部67は、入力された変数512を使用せず、ロボットプログラム611aの保存を禁止してもよい。
In step S74, the
ステップS75において、プログラム編集部57は、警告メッセージを表示部68に表示させる(図20参照)。図20の例では、表示部68は、「変数#101は加工プログラム名O0123とロボットプログラム名TEST1で使用されていること及びロボットプログラム名TEST2を保存できない」ことを示す警告メッセージを表示する。ここでロボットプログラム名TEST2は、ロボットプログラム611aを示す。
In step S75, the
ステップS76において、プログラム編集部67は、変数512を使用して、ロボットプログラム611aの編集又は作成を行う。
In step S76, the
図24は、第3実施形態に係るロボット制御装置6においてロボットプログラム611aを実行する場合の処理を示すフローチャートである。ステップS81において、ロボットプログラム611を実行した場合、プログラム入力部62は、ロボットプログラム611を記憶部61から読み出し、解析部63に入力する。
FIG. 24 is a flow chart showing processing when the
ステップS82において、解析部63は、ロボットプログラム611aに基づく指令種別を指令ブロックごとに解析する。変数512を解析する際に、解析部63は、記憶部61から変数リスト情報612を読み出し、変数512が変数リスト情報612に存在するかを判定する。変数512が変数リスト情報612に存在する場合(YES)、処理は、ステップS83へ移る。一方、変数512が変数リスト情報612に存在しない場合(NO)、処理は、ステップS86へ移る。
In step S82, the
ステップS83において、解析部63は、変数リスト情報612に基づいて、実行中のロボットプログラム611aと変数512との対応関係を判定する。ロボットプログラム611aと変数512との対応関係が異なる場合、すなわち変数512が、実行中のロボットプログラム611aと対応付けられてない場合(YES)、処理は、ステップS84へ移る。一方、変数512が変数リスト情報に存在しない場合、又はロボットプログラム611と変数512とが変数リスト情報612で対応付けられている場合(NO)、処理は、ステップS86へ移る。
In step S<b>83 , the
ステップS84において、解析部63は、ロボットプログラム611aにおいて変数512を使用せず、ロボットプログラム611aの実行を中止又は禁止する。
In step S84, the
ステップS85において、解析部63は、ロボットプログラム611aを実行できないことを示す警告メッセージを表示部68に表示させる(図21参照)。
In step S85, the
ステップS86において、解析部63は、変数512を使用してロボットプログラム611aを実行する。具体的には、制御部64は、解析結果に従い、データ送受信部55及びデータ送受信部65を介して、数値制御装置5の記憶部51の変数512を読み書きする。例えば、解析部63が移動指令を解析した際、制御部64は、移動指令に基づいてロボット3の各関節が駆動させる。
In step S86, the
このような構成により、第3実施形態に係る数値制御システム1は、変数リスト情報612をロボット制御装置6に通知する。これにより、数値制御システム1は、例えば、ロボットプログラム編集時に変数リスト情報に基づいて加工プログラムと対応付けられた変数を使用したロボットプログラムの保存を禁止し、警告メッセージを通知する。これにより、数値制御システム1は、加工プログラムと対応付けられた変数を重複して使用したロボットプログラムの作成を回避できる。
With such a configuration, the
また、数値制御システム1は、加工プログラムと対応付けられた変数を重複して使用したロボットプログラムが実行された場合、変数リスト情報に基づいて加工プログラムと対応付けられた変数を読み書きする前にロボットプログラムの実行を禁止する。これにより、数値制御システム1は、ロボット3が加工プログラム中の変数の値を書き込んで引き起こされる加工不良、工作機械2の破損、ロボット3が加工プログラム中の変数の値を読み込んで生じ得る工作機械2とロボット3との衝突等のような不具合を回避できる。
In addition, when a robot program that redundantly uses variables associated with a machining program is executed, the
また、変数リスト情報生成部41は、ロボット制御装置6における全てのロボットプログラム611の中から変数512を取得し、変数512とロボットプログラム611との対応付けを変数リスト情報612に追加する。プログラム編集部67は、変数リスト情報612に含まれる変数512が、変数リスト情報612に存在しないロボットプログラム611で使用された場合、変数512を使用しない。
Also, the variable list
これにより、数値制御システム1は、ロボット3が加工プログラム511中の変数512の値を書き込んで引き起こされる加工不良、工作機械2の破損、ロボット3が加工プログラム511中の変数512の値を読み込んで生じ得る工作機械2とロボット3との衝突等のような不具合を回避できる。
As a result, the
また、数値制御システム1において、変数を使用しないことは、変数の保存を禁止すること、変数の参照を禁止すること、及び変数を含むロボットプログラムの実行を禁止することのうちの少なくとも1つを含む。このような構成により、数値制御システム1は、加工プログラム又はロボットプログラムと対応付けられた変数の重複によって生じ得る加工不良、工作機械2の破損、工作機械2とロボット3との衝突等のような不具合を適切に回避できる。
Further, in the
また、ロボット制御装置6は、変数を使用しない場合、変数を使用しないことを示す警告メッセージを表示する表示部68を更に備える。このような構成により、数値制御システム1は、変数を使用しないことをユーザに対して適切に報知することができる。
Further, the
[第4実施形態]
第4実施形態に係る数値制御システム1の処理について、図16~図19及び図25~図27を参照しながら説明する。図16~図19、図25及び図26は、第4実施形態に係る数値制御システム1の処理の例を示す図であり、図27は、第4実施形態に係る数値制御システム1の処理の流れを示すフローチャートである。[Fourth embodiment]
Processing of the
第4実施形態に係る数値制御システム1は、産業用装置4において変数リスト情報を表示する。
The
図27は、第3実施形態に係る産業用装置4の処理を示すフローチャートである。ステップS91において、変数リスト情報生成部41は、数値制御装置5の記憶部51における変数512を含む全ての加工プログラム511の取得要求と、ロボット制御装置6の記憶部61における変数512を含む全てのロボットプログラム611の取得要求と、を産業用装置4のデータ送受信部43に通知する。
FIG. 27 is a flow chart showing processing of the
データ送受信部43は、数値制御装置5のデータ送受信部55を介して、記憶部51から読み出された変数512を含む全ての加工プログラム511を取得する。また、データ送受信部43は、ロボット制御装置6のデータ送受信部65を介して、ロボット制御装置6の記憶部61から読み出された変数512を含む全てのロボットプログラム611を取得する。データ送受信部43は、取得した全ての加工プログラム511及び全てのロボットプログラム611を変数リスト情報生成部41へ入力する。(図16参照)。
The data transmitter/
ステップS92において、変数リスト情報生成部41は、変数リスト情報612を作成し、入力された加工プログラム511及びロボットプログラム611中に含まれる変数512を検索する(図17参照)。変数リスト情報生成部41は、検索した変数512を、当該変数512を含む加工プログラム511又はロボットプログラム611と対応付けて変数リスト情報612に追加する(図18参照)。ここで、図18に示すように、変数リスト情報612は、使用中の変数と、加工プログラム511及び/又はロボットプログラム611のプログラム名とが対応付けて記憶される。変数リスト情報生成部41は、入力された加工プログラム511及びロボットプログラム611を全て検索したのち、変数リスト情報612を変数リスト情報出力部42に入力する。
In step S92, the variable
ステップS93において、変数リスト情報出力部42は、変数リスト情報612を表示部44に表示させる(図25参照)。また、変数リスト情報出力部42は、データ送受信部55へ変数リスト情報612を出力し、データ送受信部43は、変数リスト情報612をロボット制御装置6のデータ送受信部65へ送信する。また、データ送受信部43は、変数リスト情報612を数値制御装置5のデータ送受信部55へ送信する。
In step S93, the variable list
ステップS94において、数値制御装置5は、変数リスト情報612を記憶部51に保存し、ロボット制御装置6は、変数リスト情報612を記憶部61に保存する。加工プログラム511を作成する際に、数値制御装置5は、変数リスト情報612の加工プログラム511又はロボットプログラム611中に含まれない変数を使用して、新たな加工プログラム511cを作成し、新たなロボットプログラム611cを作成する(図26参照)。
In step S<b>94 , the
このような構成により、第4実施形態に係る数値制御システム1は、加工プログラム511と対応付けられた変数512を重複して使用した加工プログラムの作成を回避できる。また、数値制御システム1は、数値制御装置の全ての加工プログラム511から、加工プログラム511と対応付けられた変数512の変数リスト情報612を作成し、変数リスト情報612を出力する。これにより、数値制御システム1は、新たな用途で使用する変数を決定するときに、加工プログラム511を確認する手間を省くことができる。
With such a configuration, the
また、変数リスト情報生成部41は、ロボット制御装置6における全てのロボットプログラム611の中から変数512を取得し、変数512とロボットプログラム611との対応付けを変数リスト情報612に追加する。これにより、数値制御システム1は、ロボット3が加工プログラム511中の変数512の値を書き込んで引き起こされる加工不良、工作機械2の破損、ロボット3が加工プログラム511中の変数512の値を読み込んで生じ得る工作機械2とロボット3との衝突等のような不具合を回避できる。
Also, the variable list
また、産業用装置4は、変数リスト情報612に基づいて変数512と加工プログラム511又はロボットプログラム611との対応付けを表示する表示部44を更に備える。このような構成により、数値制御システムは、変数512を使用しないことをユーザに対して適切に報知することができる。
Moreover, the
以上、本発明の実施形態について説明したが、上記の数値制御システム1は、ハードウェア、ソフトウェア又はこれらの組み合わせにより実現することができる。また、上記の数値制御システム1により行なわれる制御方法も、ハードウェア、ソフトウェア又はこれらの組み合わせにより実現することができる。ここで、ソフトウェアによって実現されるとは、コンピュータがプログラムを読み込んで実行することにより実現されることを意味する。
Although the embodiments of the present invention have been described above, the
プログラムは、様々なタイプの非一時的なコンピュータ可読媒体(non-transitory computer readable medium)を用いて記憶され、コンピュータに供給することができる。非一時的なコンピュータ可読媒体は、様々なタイプの実体のある記録媒体(tangible storage medium)を含む。非一時的なコンピュータ可読媒体の例は、磁気記録媒体(例えば、ハードディスクドライブ)、光磁気記録媒体(例えば、光磁気ディスク)、CD-ROM(Read Only Memory)、CD-R、CD-R/W、半導体メモリ(例えば、マスクROM、PROM(Programmable ROM)、EPROM(Erasable PROM)、フラッシュROM、RAM(random access memory))を含む。 The program can be stored and provided to the computer using various types of non-transitory computer readable medium. Non-transitory computer-readable media include various types of tangible storage media. Examples of non-transitory computer-readable media include magnetic recording media (e.g., hard disk drives), magneto-optical recording media (e.g., magneto-optical discs), CD-ROMs (Read Only Memory), CD-Rs, CD-R/ W, semiconductor memory (eg, mask ROM, PROM (programmable ROM), EPROM (erasable PROM), flash ROM, RAM (random access memory)).
本開示について詳述したが、本開示は上述した個々の実施形態に限定されるものではない。これらの実施形態は、本開示の要旨を逸脱しない範囲で、または、特許請求の範囲に記載された内容とその均等物から導き出される本開示の趣旨を逸脱しない範囲で、種々の追加、置き換え、変更、部分的削除等が可能である。また、これらの実施形態は、組み合わせて実施することもできる。例えば、上述した実施形態において、各動作の順序や各処理の順序は、一例として示したものであり、これらに限定されるものではない。また、上述した実施形態の説明に数値又は数式が用いられている場合も同様である。 Although the disclosure has been described in detail, the disclosure is not limited to the specific embodiments described above. These embodiments include various additions, replacements, Modification, partial deletion, etc. are possible. Also, these embodiments can be implemented in combination. For example, in the above-described embodiments, the order of each operation and the order of each process are shown as an example, and are not limited to these. The same applies when numerical values or formulas are used in the description of the above-described embodiments.
上記実施形態及び変形例に関し、更に以下の付記を開示する。
(付記1)
数値制御装置の加工プログラムからロボット制御装置を介してロボットを制御する数値制御システムであって、前記数値制御装置における全ての前記加工プログラムの中から変数を取得し、前記変数と前記加工プログラムとが対応づけられた変数リスト情報を生成する変数リスト情報生成部と、前記数値制御装置における前記加工プログラム又は前記ロボット制御装置おけるロボットプログラムに含まれる前記変数が、前記変数リスト情報と異なる対応関係で使用された場合、前記変数を使用せず、前記変数リスト情報に含まれる前記変数が、前記変数リスト情報に存在しない前記加工プログラムで使用された場合、前記変数を使用しないプログラム編集部と、を備える数値制御システム。
(付記2)
変数リスト情報生成部は、前記ロボット制御装置における全ての前記ロボットプログラムの中から前記変数を取得し、前記変数と前記ロボットプログラムとの対応付けを前記変数リスト情報に追加し、前記プログラム編集部は、前記変数リスト情報に含まれる前記変数が、前記変数リスト情報に存在しない前記ロボットプログラムで使用された場合、前記変数を使用しない、付記1に記載の数値制御システム。
(付記3)
前記変数を使用しないことは、前記変数の保存を禁止すること、前記変数の参照を禁止すること、及び前記変数を含む前記加工プログラム又は前記ロボットプログラムの実行を禁止することのうちの少なくとも1つを含む、付記1又は2に記載の数値制御システム。
(付記4)
前記変数を使用しない場合、前記変数を使用しないことを示す警告メッセージを表示する表示部を更に備える、付記1又は2に記載の数値制御システム。
(付記5)
数値制御装置の加工プログラムからロボット制御装置を介してロボットを制御する数値制御システムであって、前記数値制御装置における全ての前記加工プログラムの中から変数を取得し、前記変数と前記加工プログラムとが対応付けられた変数リスト情報を生成する変数リスト情報生成部と、前記変数リスト情報を出力装置へ出力する変数リスト情報出力部と、を備える数値制御システム。
(付記6)
前記変数リスト情報生成部は、前記ロボット制御装置における全てのロボットプログラムの中から前記変数を取得し、前記変数と前記ロボットプログラムとの対応付けを前記変数リスト情報に追加する、付記5に記載の数値制御システム。
(付記7)
前記変数リスト情報に基づいて前記変数と前記加工プログラム又は前記ロボットプログラムとの対応付けを表示する表示部を更に備える、付記6に記載の数値制御システム。
(付記8)
加工プログラムを用いてロボット制御装置を介してロボットを制御する数値制御装置であって、前記数値制御装置における前記加工プログラム又は前記ロボット制御装置におけるロボットプログラムの中から変数を取得し、前記変数と前記加工プログラム又は前記ロボットプログラムとが対応付けられた変数リスト情報を生成する変数リスト情報生成部と、前記加工プログラム又は前記ロボットプログラムに含まれる前記変数が、前記変数リスト情報と異なる対応関係で使用された場合、前記変数を使用せず、前記変数リスト情報に含まれる前記変数が、前記変数リスト情報に存在しない前記加工プログラムで使用された場合、前記変数を使用しないプログラム編集部と、を備える数値制御装置。
(付記9)
前記変数を使用しないことは、前記変数の保存を禁止すること、前記変数の参照を禁止すること、及び前記変数を含む前記加工プログラム又は前記ロボットプログラムの実行を禁止することのうちの少なくとも1つを含む、付記8に記載の数値制御装置。
(付記10)
前記変数を使用しない場合、前記変数を使用しないことを示す警告メッセージを表示する表示部を更に備える、付記9に記載の数値制御システム。
(付記11)
数値制御装置又はロボット制御装置から加工プログラム又はロボットプログラムを受信する受信部と、前記数値制御装置における前記加工プログラム又は前記ロボット制御装置におけるロボットプログラムの中から変数を取得し、前記変数と前記加工プログラム又は前記ロボットプログラムとが対応付けられた変数リスト情報を生成する変数リスト情報生成部と、前記変数リスト情報を出力装置へ出力する変数リスト情報出力部と、を備える産業用装置。
(付記12)
前記変数リスト情報に基づいて前記変数と前記加工プログラム又は前記ロボットプログラムとの対応付けを表示する表示部を更に備える、付記11に記載の産業用装置。
(付記13)
数値制御装置の加工プログラムからロボット制御装置を介してロボットを制御するコンピュータに、前記数値制御装置における全ての加工プログラムの中から変数を取得し、前記変数と前記加工プログラムとが対応付けられた変数リスト情報を生成するステップと、前記数値制御装置における前記加工プログラム又は前記ロボット制御装置おけるロボットプログラムに含まれる前記変数が、前記変数リスト情報と異なる対応関係で使用された場合、前記変数を使用しないステップと、前記変数リスト情報に含まれる前記変数が、前記変数リスト情報に存在しない前記加工プログラムで使用された場合、前記変数を使用しないステップと、を実行させるためのコンピュータプログラム。The following additional remarks are disclosed regarding the above-described embodiment and modifications.
(Appendix 1)
A numerical control system for controlling a robot from a machining program of a numerical controller via a robot controller, wherein variables are obtained from all the machining programs in the numerical controller, and the variables and the machining programs are A variable list information generation unit that generates associated variable list information, and the variables included in the machining program in the numerical control device or the robot program in the robot control device are used in a relationship different from the variable list information. a program editing unit that does not use the variable if the variable is included in the variable list information, and does not use the variable if the variable included in the variable list information is used in the processing program that does not exist in the variable list information. Numerical control system.
(Appendix 2)
The variable list information generating unit acquires the variables from all the robot programs in the robot control device, adds the correspondence between the variables and the robot programs to the variable list information, and the program editing unit , The numerical control system according to
(Appendix 3)
Not using the variable is at least one of prohibiting storage of the variable, prohibiting reference to the variable, and prohibiting execution of the machining program or the robot program including the variable. The numerical control system according to
(Appendix 4)
3. The numerical control system according to
(Appendix 5)
A numerical control system for controlling a robot from a machining program of a numerical controller via a robot controller, wherein variables are obtained from all the machining programs in the numerical controller, and the variables and the machining programs are A numerical control system comprising: a variable list information generating section that generates associated variable list information; and a variable list information output section that outputs the variable list information to an output device.
(Appendix 6)
5. The variable list information generating unit according to
(Appendix 7)
7. The numerical control system according to
(Appendix 8)
A numerical controller for controlling a robot via a robot controller using a machining program, wherein a variable is acquired from the machining program in the numerical controller or the robot program in the robot controller, and the variable and the A variable list information generating unit that generates variable list information associated with a machining program or the robot program; and the variables included in the machining program or the robot program are used in a relationship different from the variable list information. a program editing unit that does not use the variable when the variable is used in the processing program that does not exist in the variable list information, and does not use the variable if the variable included in the variable list information is used in the processing program that does not exist in the variable list information Control device.
(Appendix 9)
Not using the variable is at least one of prohibiting storage of the variable, prohibiting reference to the variable, and prohibiting execution of the machining program or the robot program including the variable. The numerical control device according to appendix 8, comprising:
(Appendix 10)
The numerical control system according to appendix 9, further comprising a display unit that displays a warning message indicating that the variable is not used when the variable is not used.
(Appendix 11)
a receiving unit for receiving a machining program or a robot program from a numerical control device or a robot control device; obtaining variables from the machining program in the numerical control device or the robot program in the robot control device; Alternatively, an industrial apparatus comprising: a variable list information generation unit that generates variable list information associated with the robot program; and a variable list information output unit that outputs the variable list information to an output device.
(Appendix 12)
12. The industrial apparatus according to appendix 11, further comprising a display unit that displays correspondence between the variable and the machining program or the robot program based on the variable list information.
(Appendix 13)
Variables in which variables are acquired from all machining programs in the numerical control device from the machining program of the numerical control device to a computer that controls the robot via the robot control device, and the variables and the machining programs are associated with each other. generating list information; and not using the variables when the variables included in the machining program in the numerical control device or the robot program in the robot control device are used in a correspondence relationship different from the variable list information. and a step of not using the variable when the variable included in the variable list information is used in the processing program that does not exist in the variable list information.
1 数値制御システム
2 工作機械
3 ロボット
4 産業用装置
5 数値制御装置
6 ロボット制御装置
41 変数リスト情報生成部
42 変数リスト情報出力部
43 データ送受信部
51 記憶部
52 プログラム入力部
53 解析部
54 制御部
55 データ送受信部
56 入力部
57 プログラム編集部
58 表示部
61 記憶部
62 プログラム入力部
63 解析部
64 制御部
65 データ送受信部
66 入力部
67 プログラム編集部
68 表示部1
Claims (13)
前記数値制御装置における全ての前記加工プログラムの中から変数を取得し、前記変数と前記変数を含む前記加工プログラムとが対応づけられた変数リスト情報を生成する変数リスト情報生成部と、
前記変数リスト情報に含まれる前記変数が、前記変数リスト情報に存在しない前記加工プログラムで使用された場合、前記変数を使用せず、前記数値制御装置において入力された変数と編集中の前記加工プログラムとの対応関係又は前記ロボット制御装置において入力された変数と編集中のロボットプログラムとの対応関係が、前記変数リスト情報と異なる対応関係で使用された場合、前記変数を使用しない、プログラム編集部と、
を備える数値制御システム。 A numerical control system for controlling a robot via a robot controller from a machining program of a numerical controller,
a variable list information generation unit that acquires variables from all the machining programs in the numerical control device and generates variable list information in which the variables and the machining programs containing the variables are associated;
When the variable included in the variable list information is used in the machining program that does not exist in the variable list information, the variable is not used, and the variable input in the numerical controller and the variable being edited are not used . Program editing that does not use the variables when the correspondence with the machining program or the correspondence between the variables input in the robot controller and the robot program being edited is used in a correspondence different from the variable list information Department and
Numerical control system with
前記プログラム編集部は、前記変数リスト情報に含まれる前記変数が、前記変数リスト情報に存在しない前記ロボットプログラムで使用された場合、前記変数を使用しない、
請求項1に記載の数値制御システム。 a variable list information generating unit that acquires the variables from all the robot programs in the robot control device, adds a correspondence between the variables and the robot programs to the variable list information,
The program editing unit does not use the variable when the variable included in the variable list information is used in the robot program that does not exist in the variable list information.
The numerical control system according to claim 1.
前記数値制御装置における全ての前記加工プログラムの中から変数を取得し、前記変数と前記変数を含む前記加工プログラムとが対応付けられた変数リスト情報を生成する変数リスト情報生成部と、
前記変数リスト情報を出力装置へ出力する変数リスト情報出力部と、
を備える数値制御システム。 A numerical control system for controlling a robot via a robot controller from a machining program of a numerical controller,
a variable list information generation unit that acquires variables from all the machining programs in the numerical control device and generates variable list information in which the variables and the machining programs containing the variables are associated;
a variable list information output unit that outputs the variable list information to an output device;
Numerical control system with
前記数値制御装置における前記加工プログラム又は前記ロボット制御装置におけるロボットプログラムの中から変数を取得し、前記変数と前記変数を含む前記加工プログラム又は前記変数と前記変数を含む前記ロボットプログラムとが対応付けられた変数リスト情報を生成する変数リスト情報生成部と、
前記変数リスト情報に含まれる前記変数が、前記変数リスト情報に存在しない前記加工プログラムで使用された場合、前記変数を使用せず、前記数値制御装置において入力された変数と編集中の前記加工プログラムとの対応関係又は前記ロボット制御装置において入力された変数と編集中の前記ロボットプログラムとの対応関係が、前記変数リスト情報と異なる対応関係で使用された場合、前記変数を使用しない、プログラム編集部と、
を備える数値制御装置。 A numerical controller that controls a robot via a robot controller using a machining program,
A variable is acquired from the machining program in the numerical control device or the robot program in the robot control device, and the variable and the machining program containing the variable or the variable and the robot program containing the variable are associated. a variable list information generation unit that generates variable list information according to
When the variable included in the variable list information is used in the machining program that does not exist in the variable list information, the variable is not used, and the variable input in the numerical control device and the machining program being edited or the correspondence relationship between the variable input in the robot control device and the robot program being edited is used in a correspondence relationship different from the variable list information, the program editing unit that does not use the variable and,
A numerical controller comprising
前記数値制御装置における前記加工プログラム又は前記ロボット制御装置におけるロボットプログラムの中から変数を取得し、前記変数と前記変数を含む前記加工プログラム又は前記変数と前記変数を含む前記ロボットプログラムとが対応付けられた変数リスト情報を生成する変数リスト情報生成部と、
前記変数リスト情報を出力装置へ出力する変数リスト情報出力部と、
を備える産業用装置。 a receiving unit that receives a machining program or a robot program from a numerical control device or a robot control device;
A variable is acquired from the machining program in the numerical control device or the robot program in the robot control device, and the variable and the machining program containing the variable or the variable and the robot program containing the variable are associated. a variable list information generation unit that generates variable list information according to
a variable list information output unit that outputs the variable list information to an output device;
Industrial equipment with
前記数値制御装置における全ての加工プログラムの中から変数を取得し、前記変数と前記変数を含む前記加工プログラムとが対応付けられた変数リスト情報を生成するステップと、
前記変数リスト情報に含まれる前記変数が、前記変数リスト情報に存在しない前記加工プログラムで使用された場合、前記変数を使用しないステップと、
前記数値制御装置において入力された変数と編集中の前記加工プログラムとの対応関係又は前記ロボット制御装置において入力された変数と編集中のロボットプログラムとの対応関係が、前記変数リスト情報と異なる対応関係で使用された場合、前記変数を使用しないステップと、
を実行させるためのコンピュータプログラム。
From the machining program of the numerical controller to the computer that controls the robot via the robot controller,
a step of obtaining variables from among all machining programs in the numerical control device and generating variable list information in which the variables and the machining programs containing the variables are associated;
a step of not using the variable when the variable included in the variable list information is used in the machining program that does not exist in the variable list information;
The correspondence relationship between the variables input in the numerical control device and the machining program being edited or the correspondence relationship between the variables input in the robot control device and the robot program being edited is different from the variable list information. not using the variable when used in correspondence ;
A computer program for executing
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
PCT/JP2022/032289 WO2024042728A1 (en) | 2022-08-26 | 2022-08-26 | Numeric value control system, numeric value control device, industrial device, and computer program |
Publications (2)
Publication Number | Publication Date |
---|---|
JP7256931B1 true JP7256931B1 (en) | 2023-04-12 |
JPWO2024042728A1 JPWO2024042728A1 (en) | 2024-02-29 |
Family
ID=85936726
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2022568401A Active JP7256931B1 (en) | 2022-08-26 | 2022-08-26 | Numerical Control Systems, Numerical Control Devices, Industrial Devices and Computer Programs |
Country Status (5)
Country | Link |
---|---|
JP (1) | JP7256931B1 (en) |
CN (1) | CN119698578A (en) |
DE (1) | DE112022007186T5 (en) |
TW (1) | TW202408749A (en) |
WO (1) | WO2024042728A1 (en) |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS62276605A (en) * | 1986-05-26 | 1987-12-01 | Fanuc Ltd | Method for inputting variable of robot control program |
JPH04155406A (en) * | 1990-10-19 | 1992-05-28 | Fanuc Ltd | Numerical control system |
JPH06149329A (en) * | 1992-11-11 | 1994-05-27 | Brother Ind Ltd | Robot controller |
JP2001154717A (en) * | 1999-09-13 | 2001-06-08 | Fanuc Ltd | Connection system between robot and machine |
WO2014190483A1 (en) * | 2013-05-28 | 2014-12-04 | Abb Technology Ltd | Method and apparatus for managing laser process parameters in a robotic laser cell |
JP2018195055A (en) * | 2017-05-17 | 2018-12-06 | ファナック株式会社 | Machine tool control device and production system |
WO2020144772A1 (en) * | 2019-01-09 | 2020-07-16 | 三菱電機株式会社 | Numerical control device and numerical control method |
WO2022097719A1 (en) * | 2020-11-09 | 2022-05-12 | ファナック株式会社 | Numerical control system, and method for controlling industrial machine |
-
2022
- 2022-08-26 DE DE112022007186.9T patent/DE112022007186T5/en active Pending
- 2022-08-26 WO PCT/JP2022/032289 patent/WO2024042728A1/en active Application Filing
- 2022-08-26 JP JP2022568401A patent/JP7256931B1/en active Active
- 2022-08-26 CN CN202280099121.9A patent/CN119698578A/en active Pending
-
2023
- 2023-08-04 TW TW112129347A patent/TW202408749A/en unknown
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS62276605A (en) * | 1986-05-26 | 1987-12-01 | Fanuc Ltd | Method for inputting variable of robot control program |
JPH04155406A (en) * | 1990-10-19 | 1992-05-28 | Fanuc Ltd | Numerical control system |
JPH06149329A (en) * | 1992-11-11 | 1994-05-27 | Brother Ind Ltd | Robot controller |
JP2001154717A (en) * | 1999-09-13 | 2001-06-08 | Fanuc Ltd | Connection system between robot and machine |
WO2014190483A1 (en) * | 2013-05-28 | 2014-12-04 | Abb Technology Ltd | Method and apparatus for managing laser process parameters in a robotic laser cell |
JP2018195055A (en) * | 2017-05-17 | 2018-12-06 | ファナック株式会社 | Machine tool control device and production system |
WO2020144772A1 (en) * | 2019-01-09 | 2020-07-16 | 三菱電機株式会社 | Numerical control device and numerical control method |
WO2022097719A1 (en) * | 2020-11-09 | 2022-05-12 | ファナック株式会社 | Numerical control system, and method for controlling industrial machine |
Also Published As
Publication number | Publication date |
---|---|
JPWO2024042728A1 (en) | 2024-02-29 |
TW202408749A (en) | 2024-03-01 |
WO2024042728A1 (en) | 2024-02-29 |
DE112022007186T5 (en) | 2025-04-24 |
CN119698578A (en) | 2025-03-25 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20230251630A1 (en) | Numerical control system | |
JP7288158B1 (en) | Numerical controller | |
JP7256931B1 (en) | Numerical Control Systems, Numerical Control Devices, Industrial Devices and Computer Programs | |
JP7564217B2 (en) | Numerical control system and robot control method | |
US11320800B2 (en) | Optimization device | |
US11156986B2 (en) | Machining program editing device | |
JP2000089813A (en) | Working program editing method and controller for machine tool | |
US20240231308A9 (en) | Command generation device and non-transitory computer-readable medium storing a computer program | |
JP7614220B2 (en) | Numerical control device and numerical control system | |
TW202342246A (en) | Robot control device, numerical control system, and numerical control method | |
US20230249337A1 (en) | Numerical control system | |
JP6566151B2 (en) | System design support apparatus and system design support method | |
US20240027990A1 (en) | Numerical control device, and numerical control system | |
JP7674481B2 (en) | Numerical Control System | |
WO2022030496A1 (en) | Control device | |
JP7332822B1 (en) | Numerical controller and numerical control system | |
US20240160181A1 (en) | Motion-path generation device, numerical control device, numerical control system, and non-transitory computer-readable medium storing computer program | |
JP7260728B1 (en) | Numerical controller and numerical control system | |
JP2021144284A (en) | Machining program management device, management system, management method | |
JP2012048471A (en) | Numerical control device and macro program execution method | |
JP7288157B1 (en) | Numerical controller and numerical control system | |
WO2024166216A1 (en) | Numerical control device and numerical control system | |
WO2024232056A1 (en) | Numerical control device and numerical control system | |
TW202422252A (en) | Numerical control device and numerical control system | |
WO2025062629A1 (en) | Numerical control device and numerical control system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20221109 |
|
A871 | Explanation of circumstances concerning accelerated examination |
Free format text: JAPANESE INTERMEDIATE CODE: A871 Effective date: 20221109 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20230110 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20230210 |
|
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: 20230228 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20230331 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 7256931 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |