JP6252198B2 - Numerical controller - Google Patents
Numerical controller Download PDFInfo
- Publication number
- JP6252198B2 JP6252198B2 JP2014009120A JP2014009120A JP6252198B2 JP 6252198 B2 JP6252198 B2 JP 6252198B2 JP 2014009120 A JP2014009120 A JP 2014009120A JP 2014009120 A JP2014009120 A JP 2014009120A JP 6252198 B2 JP6252198 B2 JP 6252198B2
- Authority
- JP
- Japan
- Prior art keywords
- parameter
- value
- parameters
- cpu
- machine tool
- 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
Description
本発明は、数値制御装置に関する。 The present invention relates to a numerical control device.
数値制御装置は外部機器から入力するパラメータに基づいてソフトウェアを実行する。ソフトウェアをバージョンアップすると、ソフトウェアのパラメータ構成が変わる。外部機器からパラメータを正確に入力できなくなる。特許文献1は、制御プログラムのバージョンアップに対応可能なデータ処理装置を開示する。外部記憶装置は、バージョンアップ前の制御プログラムのバージョンコードとパラメータを記憶する。制御装置は、外部記憶装置からバージョンコードとパラメータを受信すると、受信したバージョンコードを内部ROMに記憶された制御プログラムのバージョンコードと比較する。両者が相違する場合、受信したパラメータを内部ROMの制御プログラム用に自動的に変更する。
The numerical controller executes software based on parameters input from an external device. When the software is upgraded, the software parameter configuration changes. It becomes impossible to input parameters accurately from an external device.
数値制御装置のソフトウェアの場合、同じパラメータでも工作機械の仕様によって出荷値(推奨値)が異なる場合がある。特許文献1に記載のデータ処理装置は、工作機械の仕様の種類に対応していないので、共通の出荷値を予め設定できず、使用者の手入力を必要とするので、入力作業が面倒であった。
In the case of numerical control device software, the shipment value (recommended value) may differ depending on the machine tool specifications even with the same parameters. Since the data processing apparatus described in
本発明の目的は、工作機械の仕様に応じてパラメータの設定を容易にできる数値制御装置を提供することにある。 An object of the present invention is to provide a numerical control device capable of easily setting parameters according to the specifications of a machine tool.
本発明の請求項1に係る数値制御装置は、工作機械の動作に関係するパラメータの集合であるパラメータ群の夫々の設定値を記憶する主記憶装置を備え、該主記憶装置に記憶したパラメータを用いて工作機械の動作を制御する数値制御装置において、前記主記憶装置に記憶された前記パラメータ群の中で前記設定値が未設定のパラメータである未設定パラメータ以外のパラメータに基づき、前記工作機械の仕様を推定する推定手段と、前記工作機械の前記仕様の種類に夫々対応づけられた前記パラメータ群の前記設定値の情報であるパラメータ情報を外部から取得する取得手段と、前記取得手段が取得した前記パラメータ情報に基づき、前記主記憶装置に記憶した前記パラメータ群の前記設定値を書き換える書換手段とを備えたことを特徴とする。数値制御装置はパラメータ群のうち未設定パラメータ以外のパラメータから工作機械の仕様を推定し、その仕様に対応するパラメータ群の設定値に書き換えることができる。故に数値制御装置は未設置パラメータの設定値を手入力する必要が無くなるので、入力の手間を省略できる。 A numerical control device according to a first aspect of the present invention includes a main storage device that stores a set value of each parameter group that is a set of parameters related to the operation of a machine tool, and the parameters stored in the main storage device are stored in the main storage device. In the numerical controller for controlling the operation of the machine tool using the machine tool based on parameters other than the unset parameter in which the set value is an unset parameter in the parameter group stored in the main storage device Estimation means for estimating the specifications of the machine tool, acquisition means for acquiring parameter information, which is information of the set values of the parameter group respectively associated with the specification types of the machine tool, and the acquisition means Rewriting means for rewriting the set value of the parameter group stored in the main storage device based on the parameter information. That. The numerical control apparatus can estimate the specifications of the machine tool from parameters other than the unset parameters in the parameter group, and can rewrite the set values of the parameter group corresponding to the specifications. Therefore, the numerical control device does not need to manually input the setting value of the non-installed parameter, so that the labor of inputting can be omitted.
請求項2に係る発明の数値制御装置は、請求項1に記載の発明の構成に加え、前記推定手段が推定した前記仕様に対応する前記パラメータ群の前記設定値を、前記取得手段が取得した前記パラメータ情報の中から特定する特定手段を更に備え、前記書換手段は、前記未設定パラメータのみを、前記特定手段が特定した前記設定値に書き換えることを特徴とする。数値制御装置は未設定パラメータのみを書き換えるので、書換の処理量を削減できる。 According to a second aspect of the present invention, in addition to the configuration of the first aspect of the invention, the acquisition unit acquires the set value of the parameter group corresponding to the specification estimated by the estimation unit. The information processing apparatus further includes specifying means for specifying the parameter information, wherein the rewriting means rewrites only the unset parameter with the set value specified by the specifying means. Since the numerical control device rewrites only unset parameters, the rewrite processing amount can be reduced.
請求項3に係る発明の数値制御装置は、請求項1又は2に記載の発明の構成に加え、前期主記憶装置に記憶したソフトウェアの更新を受け付ける受付手段と、前記受付手段が前記更新を受け付けた場合、前記ソフトウェアの前記更新を実行する実行手段とを備え、前記判断手段は、前記実行手段による前記ソフトウェアの前記更新が終了した場合、前記更新に伴い、前記パラメータ群に追加した追加パラメータを含む前記パラメータ群の中に、前記未設定パラメータが有るか否か判断し、前記パラメータ情報は、前記ソフトウェアの更新に伴う前記追加パラメータの設定値を含むことを特徴とする。数値制御装置はソフトウェア更新時に追加した追加パラメータに未設定パラメータがある場合も、それ以外のパラメータから工作機械の仕様を推定し、その工作機械の仕様に対応する追加パラメータの設定値に書き換えることができる。故に数値制御装置は追加パラメータの設定値を手入力する必要が無くなるので、入力の手間を省略できる。 According to a third aspect of the present invention, in addition to the configuration of the first or second aspect of the invention, the numerical control device accepts the update of the software stored in the main memory device in the previous period, and the accepting unit accepts the update. An execution means for executing the update of the software, and when the update of the software by the execution means is completed, the determination means adds an additional parameter added to the parameter group along with the update. It is determined whether or not the parameter group includes the unset parameter, and the parameter information includes a set value of the additional parameter that accompanies an update of the software. Even if there are unset parameters among the additional parameters added when updating the software, the numerical control unit can estimate the machine tool specifications from the other parameters and rewrite them with the additional parameter settings corresponding to the machine tool specifications. it can. Therefore, the numerical control device does not need to manually input the set values of the additional parameters, so that the labor of inputting can be omitted.
以下、本発明の一実施形態を図面を参照して説明する。数値制御装置30は工作機械1を制御しテーブル(図示略)上面に保持したワーク(図示略)の切削加工を行う。工作機械1の左右方向、前後方向、上下方向は、夫々X軸方向、Y軸方向、Z軸方向である。
Hereinafter, an embodiment of the present invention will be described with reference to the drawings. The
図1を参照し、工作機械1の構成を簡単に説明する。工作機械1は図示しない主軸機構、主軸移動機構、工具交換装置等を備える。主軸機構は主軸モータ52を備え、工具を装着した主軸を回転する。主軸移動機構は、Z軸モータ51、X軸モータ53、Y軸モータ54を備え、テーブル上面に支持したワークに対し相対的に主軸をXYZの各軸方向に夫々移動する。
A configuration of the
工具交換装置はマガジンモータ55を備え、複数の工具を収納する工具マガジン(図示略)を駆動し、主軸に装着した工具を他の工具と交換する。工作機械1は操作盤10を更に備える。操作盤10は入力部11と表示部12を備える。入力部11は各種入力、指示、設定等を行う為の機器である。表示部12は各種表示画面、設定画面、異常警告画面等を表示する機器である。操作盤10は数値制御装置30の入出力部35に接続する。
The tool changer includes a
Z軸モータ51はエンコーダ51Bを備える。主軸モータ52はエンコーダ52Bを備える。X軸モータ53はエンコーダ53Bを備える。Y軸モータ54はエンコーダ54Bを備える。マガジンモータ55はエンコーダ55Bを備える。エンコーダ51B〜55Bは数値制御装置30のモータ制御部51A〜55Aに各々接続する。
The Z-
図1を参照し、数値制御装置30の電気的構成を説明する。数値制御装置30は、CPU31、ROM32、RAM33、主記憶装置34、入出力部35、モータ制御部51A〜55A等を備える。CPU31は数値制御装置30を統括制御する。ROM32は、メインプログラム、後述するバージョンアップ制御プログラム等の各種プログラムを記憶する。RAM33は各種処理実行中の各種データを記憶する。主記憶装置34は不揮発性メモリであり、後述する各種記憶領域を備える(図2参照)。入出力部35は操作盤10と外部記憶装置13に接続する。外部記憶装置13は不揮発性メモリであり、後述する各種記憶領域を備える(図4参照)。外部記憶装置13は例えば持ち運び可能な不揮発性メモリでもよい。
The electrical configuration of the
モータ制御部51AはZ軸モータ51とエンコーダ51Bに接続する。モータ制御部52Aは主軸モータ52とエンコーダ52Bに接続する。モータ制御部53AはX軸モータ53とエンコーダ53Bに接続する。モータ制御部54AはY軸モータ54とエンコーダ54Bに接続する。モータ制御部55Aはマガジンモータ55とエンコーダ55Bに接続する。モータ制御部51A〜55AはCPU31から指令信号を受け、対応する各モータ51〜55に駆動電流(パルス)を夫々出力する。モータ制御部51A〜55Aはエンコーダ51B〜55Bからフィードバック信号を受け、位置と速度のフィードバック制御を行う。モータ制御部51A〜55Aは例えばFPGA回路でもよい。(段落0013と重複)
The
図2を参照し、主記憶装置34の各種記憶領域を説明する。主記憶装置34は、出荷値ID記憶領域341、パラメータファイル記憶領域342、加工プログラム記憶領域343等を備える。出荷値ID記憶領域341は出荷値IDを記憶する。出荷値IDとは、工作機械1の仕様に応じて設定する各種パラメータの出荷値の型(タイプ)を識別する為の情報である。出荷値とは、工場から工作機械1を出荷するときの設定値である。パラメータは、工作機械1の制御動作に関するものである。パラメータファイル記憶領域342は、後述するパラメータファイル3421(図3参照)を記憶する。加工プログラム記憶領域343は加工プログラムを記憶する。加工プログラムは各種NC制御指令を含む複数のブロックで構成し、工作機械1の軸移動、主軸回転、工具交換等を含む各種動作をブロック単位で制御するものである。
Various storage areas of the
図3を参照し、パラメータファイル3421を説明する。パラメータファイル3421は、工作機械1の制御動作に関する各種パラメータ毎のパラメータ値を夫々有する。パラメータの項目名は、表示言語、ストロークX、ストロークY、ストロークZ、工具収納本数、主軸最高回転数、X軸早送り時定数1、X軸早送り時定数2、X軸早送り時定数3、早送り速度X軸、早送り速度Y軸、早送り速度Z軸、主軸インポジションチェックタイムアウト時間、X軸インポジションチェックタイムアウト時間、Y軸インポジションチェックタイムアウト時間、Z軸インポジションチェックタイムアウト時間、ワーク無し時イナーシャ、工具脱着位置オフセット量等を有する。数値制御装置30は、パラメータファイル3421の各種パラメータのパラメータ値に基づき、工作機械1の動作を制御する。
The
図3に示すパラメータファイル3421は、ソフトウェアのバージョンアップ完了時のものである。各種パラメータのうち、ワーク無し時イナーシャ、工具脱着位置オフセット量は、ソフトウェアのバージョンアップ完了後、パラメータファイル3421に新たに追加した追加パラメータである。ソフトウェアのバージョンアップによる追加パラメータのパラメータ値は、工作機械1の仕様によって出荷値が異なるものも存在し、該場合は未設定である。更に、X軸早送り時定数1、X軸早送り時定数2、X軸早送り時定数3も、工作機械1の仕様によって出荷値が異なるパラメータである。それら以外のパラメータの出荷値は全仕様共通である。
The
また、工作機械1の使用者は、操作盤10において、パラメータファイル3421のうち特定のパラメータのパラメータ値を削除して使用する可能性がある。故に追加パラメータ以外の既存のパラメータのパラメータ値が未設定である場合もある。図3に示すパラメータファイル3421の例では、X軸早送り時定数2、X軸インポジションチェックタイムアウト時間もパラメータ値が未設定である場合を想定する。以下説明では、追加パラメータを含む未設定のパラメータを未設定パラメータと呼ぶ。
Further, the user of the
数値制御装置30は、ソフトウェアをバージョンアップした場合、バージョンアップ後のソフトウェアで工作機械1を動作させる為に、パラメータファイル3421のうち追加パラメータに出荷値を設定し、且つ未設定となっている既存のパラメータにも出荷値を設定する必要がある。数値制御装置30は後述するバージョンアップ制御処理(図8参照)を実行することにより、ソフトウェアのバージョンアップ完了後に、パラメータファイル3421のうち追加パラメータを含む未設定パラメータに、工作機械1の仕様に応じた出荷値を自動的に設定できる。
When the software is upgraded, the
図4を参照し、外部記憶装置13の各種記憶領域を説明する。外部記憶装置13は、バージョンアップソフト記憶領域131、パラメータ比較DB記憶領域132、出荷パラメータ群記憶領域133等を備える。バージョンアップソフト記憶領域131は、バージョンアップ用のソフトウェアを記憶する。パラメータ比較DB記憶領域132は、後述するパラメータ比較データベース1321(図5参照)を記憶する。出荷パラメータ群記憶領域133は、出荷ID毎にパラメータファイルを夫々記憶する。例えば、出荷ID=0001用のパラメータ参照ファイル1331(図7参照)、出荷ID=0002用のパラメータ参照ファイル1332、出荷ID=0003用のパラメータ参照ファイル1333等を記憶する。パラメータ参照ファイル1331については後述する。
Various storage areas of the
図5を参照し、パラメータ比較データベース1321を説明する。パラメータ比較データベース(以下、パラメータ比較DBと呼ぶ。)1321は、CPU31が工作機械1の仕様を推定する際に参照するものである。パラメータ比較DB1321は、出荷値IDと4つのパラメータの仕様数値の組み合わせとを夫々対応づけた情報である。出荷値IDは例えば0001〜0027までを設定することで27通りの工作機械1の仕様に対応する。仕様数値は各種パラメータに設定するパラメータ値を簡単な数値(0、1、2等)に変換したものである。CPU31は後述するパラメータ仕様数値変換処理(図11,図12参照)を実行することにより、各種パラメータのパラメータ値から仕様数値を算出する。
The
図3に示すパラメータファイル3421のうち、工作機械1の仕様を推定する際に参照するパラメータは、追加パラメータ以外の既存のパラメータであり、例えば、ストロークX、ストロークZ、工具収納本数、主軸最高回転数の4つである。ストロークXの仕様数値は、0、1、2の3通りである。ストロークZの仕様数値は、0、1、2の3通りである。主軸最高回転数の仕様数値は、0、1の2通りである。工具収納本数は、0、1の2通りである。尚、工作機械1の仕様を推定する際に参照するパラメータは、既存のパラメータであればこれら以外のパラメータでもよい。参照するパラメータの数も4つに限定しない。
In the
ここで、パラメータ値から仕様数値への変換方法を説明する。例えば、ストロークXのパラメータ値の仕様の組み合わせは、300、500、700の3種類である。後述するパラメータ仕様数値変換処理では、300は仕様数値=「0」、500は仕様数値=「1」、700は仕様数値=「2」、700以上は仕様数値=「2」に変換する。ストロークZのパラメータ値の仕様の組み合わせは、480、630、730の3種類である。480は仕様数値=「0」、630は仕様数値=「1」、730は仕様数値=「2」に変換する。主軸最高回転数のパラメータ値の仕様の組み合わせは、10000、16000の2種類である。10000は仕様数値=「0」、16000は仕様数値=「1」に変換する。工具収納本数のパラメータ値の仕様の組み合わせは、14、21の2種類である。14は仕様数値=「0」、21は仕様数値=「1」に変換する。 Here, the conversion method from the parameter value to the specification numerical value will be described. For example, there are three types of combinations of specifications of the parameter value of the stroke X: 300, 500, and 700. In the parameter specification numerical value conversion process described later, 300 is converted into specification numerical value = “0”, 500 is converted into specification numerical value = “1”, 700 is converted into specification numerical value = “2”, and 700 or higher is converted into specification numerical value = “2”. There are three types of combinations of parameter values for the stroke Z: 480, 630, and 730. 480 is a specification numerical value = “0”, 630 is a specification numerical value = “1”, and 730 is a specification numerical value = “2”. There are two types of combinations of specifications of the parameter value of the maximum spindle speed: 10,000 and 16000. 10000 is converted into specification numerical value = “0”, and 16000 is converted into specification numerical value = “1”. There are two types of combinations of parameter values for the number of stored tools: 14, 21. 14 is converted into specification numerical value = “0”, and 21 is converted into specification numerical value = “1”.
尚、各種パラメータのパラメータ値は、操作盤10を用いて使用者によって書換可能である。故に上記仕様の組み合わせの数値とパラメータ値が異なる場合がある。仕様の組み合わせの数値とパラメータ値が異なると、仕様数値の組み合わせから工作機械1の仕様を推定できない。本実施形態は、図6の表に示す如く、各種パラメータに境界値を設定し、パラメータ値が各境界値で区切られた範囲のどの範囲に属するかにより、仕様数値を一律に決定する。ストロークXの境界値は300と500である。ストロークZの境界値は480と630である。主軸最高回転数の境界値は10000である。工具収納本数の境界値は14である。
The parameter values of various parameters can be rewritten by the user using the
ストロークXのパラメータ値が300以下の場合は仕様数値を0、300よりも大きく500以下の場合は使用数値を1、500よりも大きい場合は仕様数値を2とする。ストロークZのパラメータ値が480以下の場合は仕様数値を0、480より大きく630以下の場合は仕様数値を1、630よりも大きい場合は仕様数値を2とする。主軸最高回転数のパラメータ値が10000以下の場合は仕様数値を0、10000よりも大きい場合は仕様数値を1とする。工具収納本数のパラメータ値が14以下の場合は仕様数値を0、15本以上の場合は仕様数値を1とする。故にパラメータ値が上記仕様の組み合わせの数値と異なる場合でも、仕様数値を一律に決定できる。CPU31は、上記変換手法に基づき、各種パラメータのパラメータ値を仕様数値に夫々変換する。
When the parameter value of the stroke X is 300 or less, the specification numerical value is 0, when it is larger than 300 and 500 or less, the use numerical value is 1, and when it is larger than 500, the specification numerical value is 2. When the parameter value of the stroke Z is 480 or less, the specification value is 0, when the parameter value is greater than 480 and less than 630, the specification value is 1, and when the parameter value is greater than 630, the specification value is 2. When the parameter value of the maximum spindle speed is 10,000 or less, the specification value is 0, and when the parameter value is greater than 10,000, the specification value is 1. When the parameter value of the number of stored tools is 14 or less, the specification value is 0, and when the parameter value is 15 or more, the specification value is 1. Therefore, even if the parameter value is different from the numerical value of the combination of the above specifications, the specification numerical value can be determined uniformly. The
図5に示すパラメータ比較DB1321において、例えば、出荷値ID=0001に対応するストロークX、ストロークZ、主軸最高回転数、工具収納本数の仕様数値の組み合わせは(0,0,0,0)である。出荷値ID=0005に対応する仕様数値の組み合わせは(0,1,0,1)である。出荷値ID=0010に対応する仕様数値の組み合わせは(1,0,0,0)である。出荷値ID=0015に対応する仕様数値の組み合わせは(1,1,1,0)である。出荷値ID=0020に対応する仕様数値の組み合わせは(2,0,0,1)である。出荷値ID=0025に対応する仕様数値の組み合わせは(2,2,0,0)である。CPU31は、各種パラメータの仕様数値の組み合わせから、パラメータ比較DB1321を参照することにより、工作機械1の出荷値IDを特定できる。
In the
図7を参照し、パラメータ参照ファイル1331を説明する。外部記憶装置13の出荷パラメータ群記憶領域133は、出荷ID毎にパラメータ参照ファイルを夫々記憶する(図4参照)。出荷ID=0001用のパラメータ参照ファイル1331は、図3に示すパラメータファイル3421(図3参照)と同様に、各種パラメータ毎の夫々の出荷値を有する。項目名はパラメータファイル3421と同じであり、追加パラメータであるワーク無し時イナーシャ、工具脱着位置オフセット量の出荷値を含む。パラメータ参照ファイル1331は、出荷値ID=0001の工作機械1の仕様のパラメータファイル3421について、未設定パラメータに出荷値を設定する際に参照される。
The
図8〜図12を参照し、バージョンアップ制御処理を説明する。ソフトウェアのバージョンアップ(更新)を行う場合、使用者は外部記憶装置13を数値制御装置30の入出力部35に接続し、操作盤10を用いてバージョンアップ処理の開始の操作を行う。CPU31は、操作盤10にてバージョンアップ開始の操作を受け付けた場合、ROM32からバージョンアップ制御プログラムを読み出して本処理を実行する。
The upgrade control process will be described with reference to FIGS. When upgrading (updating) the software, the user connects the
CPU31は外部記憶装置13からバージョンアップ用のソフトウェアを読み出し、バージョンアップ処理を実行する(S1)。CPU31はバージョンアップ処理が正常に終了したか否か判断する(S2)。正常に終了しなかった場合(S2:NO)、未設定パラメータに出荷値の設定は出来ないので、CPU31は本処理を終了する。正常に終了した場合(S2:YES)、図3に示す如く、パラメータファイル3421には、ワーク無し時イナーシャと工具脱着位置オフセット量の2つの追加パラメータが追加される。ソフトのバージョンアップ処理に伴い、未設定パラメータに出荷値を設定する為に、パラメータ出荷値設定処理を実行する(S3)。パラメータ出荷値設定処理の終了後、CPU31は本処理を終了する。
The
図9を参照し、パラメータ出荷値設定処理を説明する。CPU31は主記憶装置34の出荷値ID記憶領域341に出荷値IDを記憶しているか否か判断する(S5)。出荷値IDを記憶していない場合(S5:NO)、CPU31は工作機械1の仕様に対応する出荷値IDを決定する為に、出荷値ID決定処理を実行する(S6)。出荷値IDを記憶している場合(S5:YES)、CPU31は後述するS8に処理を進める。
The parameter shipment value setting process will be described with reference to FIG. The
図10を参照し、出荷値ID決定処理を説明する。CPU31は、主記憶装置34のパラメータファイル記憶領域342に記憶するパラメータファイル3421(図3参照)を読み出してRAM33上に展開する(S15)。次いで、CPU31は外部記憶装置13のパラメータ比較DB記憶領域132に記憶するパラメータ比較DB1321(図5参照)を読み出してRAM33上に展開する(S16)。CPU31はパラメータ比較DB1321の4つのパラメータのうち何れかの仕様数値が未設定か否か判断する(S17)。何れかの仕様数値が未設定であった場合(S17:YES)、CPU31は出荷値IDを決定できないので、出荷値ID決定処理を終了し、図9の後述するS7に処理を進める。
The shipping value ID determination process will be described with reference to FIG. The
一方、パラメータ比較DB1321の4つのパラメータの仕様数値が全て設定済みの場合(S17:NO)、CPU31はパラメータ仕様数値変換処理を実行する(S18)。
On the other hand, when all the specification values of the four parameters in the
図11,図12を参照し、パラメータ仕様数値変換処理を説明する。図11に示す如く、CPU31は、主記憶装置34に記憶するパラメータファイル3421(図3参照)からストロークXのパラメータ値を取得する(S31)。ストロークXとは、X軸方向のストロークを意味する。CPU31は取得したパラメータ値が300以下か否か判断する(S32)。パラメータ値が300以下の場合(S32:YES)、CPU31はストロークXの仕様数値を0とする(S33)。パラメータ値が300より大きい場合(S32:NO)、CPU31はパラメータ値が500以下か否か判断する(S34)。パラメータ値が500以下の場合(S32:YES)、CPU31はストロークXの仕様数値を1とする(S35)。パラメータ値が500より大きい場合(S34:NO)、CPU31はストロークXの仕様数値を2とする(S36)。尚、パラメータファイル3421におけるストロークXのパラメータ値は500.000であるので(S34:YES)、CPU31はストロークXの仕様数値を1とする。CPU31はストロークXの仕様数値をRAM33に記憶する(S37)。
The parameter specification numerical value conversion process will be described with reference to FIGS. As shown in FIG. 11, the
次いで、CPU31はパラメータファイル3421からストロークZのパラメータ値を取得する(S38)。ストロークZとは、Z軸方向のストロークを意味する。CPU31は取得したパラメータ値が480以下か否か判断する(S39)。パラメータ値が480以下の場合(S39:YES)、CPU31はストロークZの仕様数値を0とする(S40)。パラメータ値が480より大きい場合(S39:NO)、CPU31はパラメータ値が630以下か否か判断する(S41)。パラメータ値が630以下の場合(S41:YES)、CPU31はストロークZの仕様数値を1とする(S42)。パラメータ値が630より大きい場合(S41:NO)、CPU31はストロークZの仕様数値を2とする(S43)。尚、パラメータファイル3421におけるストロークZのパラメータ値は480.000であるので(S39:YES)、CPU31はストロークZの仕様数値を0とする。CPU31はストロークZの仕様数値をRAM33に記憶する(S44)。
Next, the
次いで、図12に示如く、CPU31はパラメータファイル3421から主軸最高回転数のパラメータ値を取得する(S45)。CPU31は取得したパラメータ値が10000以下か否か判断する(S46)。10000以下の場合(S46:YES)、CPU31は主軸最高回転数の仕様数値を0とする(S47)。パラメータ値が10000より大きい場合(S46:NO)、CPU31は主軸最高回転数の仕様数値を1とする(S48)。尚、パラメータファイル3421における主軸最高回転数のパラメータ値は10000であるので(S46:YES)、CPU31は主軸最高回転数の仕様数値を0とする。CPU31は主軸最高回転数の仕様数値をRAM33に記憶する(S49)。
Next, as shown in FIG. 12, the
次いで、CPU31はパラメータファイル3421から工具収納本数のパラメータ値を取得する(S50)。工具収納本数とは、工具マガジン(図示略)の工具の収納本数を意味する。CPU31は取得したパラメータ値が14以下か否か判断する(S51)。14以下の場合(S51:YES)、CPU31は工具収納本数の仕様数値を0とする(S52)。パラメータ値が15以上の場合(S51:NO)、CPU31は主軸最高回転数の仕様数値を1とする(S53)。尚、パラメータファイル3421における工具収納本数のパラメータ値は14であるので(S51:YES)、CPU31は工具収納本数の仕様数値を0とする。CPU31は工具収納本数の仕様数値をRAM33に記憶する(S54)。CPU31はパラメータ仕様数値変換処理を終了し、図10の出荷値ID決定処理に戻り、S19に処理を進める。
Next, the
図10に示す如く、CPU31は出荷値ID決定処理を実行する(S19)。出荷値ID決定処理では、CPU31は、外部記憶装置13からパラメータ比較DB1321を読み出し、RAM33に記憶した仕様数値の組み合わせに対応する出荷値IDを決定する(S19)。例えば、図3に示すパラメータファイル3421から参照した4つのパラメータの仕様数値の組み合わせは、上記の通り(1,0,0,0)である。故にCPU31はパラメータ比較DB1321を参照し、出荷値ID=0010と特定できる。
As shown in FIG. 10, the
CPU31は出荷値IDが決定したか否か判断する(S20)。出荷値IDが決定した場合(S20:YES)、CPU31は決定した出荷値IDを主記憶装置34の出荷値ID記憶領域341に記憶する(S21)。CPU31は出荷値ID決定処理を終了し、図9のS7に処理を進める。一方、上記の出荷値ID決定処理(S19)で、パラメータ比較DB1321の中に、S18で算出した仕様数値の組み合わせに該当する出荷値IDが無かった場合、出荷値IDを決定できないので(S20:NO)、CPU31は何もせずに、出荷値ID決定処理を終了し、図9のS7に処理を進める。
The
図9に示す如く、CPU31は主記憶装置34の出荷値ID記憶領域341に出荷値IDを記憶しているか否か判断する(S7)。出荷値IDを記憶していない場合(S7:NO)、未設定パラメータに出荷値を設定できないので、CPU31はアラーム報知を行う(S11)。アラーム報知は、例えば、操作盤10の表示部12にエラーメッセージ等を表示してもよく、音声で報知してもよく、ランプ等の発光手段を点灯する等して報知してもよい。アラーム報知後、CPU31は図8のバージョンアップ制御処理に戻り、本処理を終了する。
As shown in FIG. 9, the
尚、図10に示すS17において、パラメータ比較DB1321の4つのパラメータのうち何れかの仕様数値が未設定であった場合(S17:YES)、CPU31は出荷値IDを決定できないので、出荷値ID決定処理を終了する。CPU31は、出荷値IDを記憶していないので(S7:NO)、CPU31はアラーム報知を行う(S11)。アラーム報知後、CPU31は図8のバージョンアップ制御処理に戻り、本処理を終了する。
In S17 shown in FIG. 10, if any of the four numerical values in the
一方、図9に戻り、出荷値IDを記憶している場合(S7:YES)、CPU31は決定した出荷値IDに対応するパラメータ参照ファイルを、外部記憶装置13の出荷パラメータ群記憶領域133から取得する(S8)。決定した出荷値IDが0010である場合、CPU31は、出荷値ID=0010用のパラメータ参照ファイル1331(図4,図7参照)を取得する。CPU31は、取得したパラメータ参照ファイル1331を参照し、未設定パラメータの出荷値を特定する(S9)。CPU31は特定した出荷値を、パラメータファイル3421の未設定パラメータに夫々設定する(S10)。
On the other hand, returning to FIG. 9, when the shipping value ID is stored (S7: YES), the
図3に示す如く、パラメータファイル3421の未設定パラメータは、ワーク無し時イナーシャ、工具脱着位置オフセット量、X軸早送り時定数2、X軸インポジションチェックタイムアウト時間である。これらに対し、CPU31はパラメータ参照ファイル1331を参照して、出荷値を夫々設定する。ワーク無し時イナーシャには0.000821、工具脱着位置オフセット量には3、X軸早送り時定数2には20、X軸インポジションチェックタイムアウト時間には5000を夫々設定する。ワーク無し時イナーシャ、工具脱着位置オフセット量、X軸早送り時定数2は仕様によって出荷値が変わるパラメータである。本実施形態は、工作機械1の出荷値IDをパラメータ比較DB1321から決定することで、工作機械1の仕様を推定し、その出荷値IDに対応するパラメータ参照ファイル1331を参照することで、工作機械1の仕様に対応する出荷値を未設定パラメータに設定できる。
As shown in FIG. 3, the unset parameters in the
また、本実施形態では、仕様によって出荷値が異なるパラメータ以外のパラメータで未設定のものがあった場合でも、その未設定パラメータについても、パラメータ参照ファイル1331から出荷値を取得して設定できる。ここで、パラメータファイル3421において、パラメータ値が設定されているパラメータのパラメータ値については、CPU31はそのパラメータ値を書き換えない。即ち、未設定パラメータのみに出荷値を設定するので、全てのパラメータのパラメータ値を出荷値に書換える場合に比べ、処理量を軽減できる。CPU31は、未設定のパラメータに出荷値を設定後(S10)、図8に戻り、バージョンアップ制御処理を終了する。
Further, in this embodiment, even when there is a parameter other than the parameter whose shipping value differs depending on the specification but not set, the shipping value can be acquired from the
尚、図9のパラメータ出荷値設定処理において、主記憶装置34の出荷値ID記憶領域341に出荷値IDを既に記憶している場合(S5:YES)、CPU31は、出荷値IDに基づき、上記器のS8〜S10処理を実行し、バージョンアップ制御処理を終了すればよい。
In the parameter shipment value setting process of FIG. 9, when the shipment value ID is already stored in the shipment value
上記説明にて、パラメータファイル3421が本発明のパラメータ群に相当し、S6の処理を実行するCPU31が本発明の推定手段に相当し、S9の処理を実行するCPU31が本発明の取得手段に相当し、パラメータ参照ファイル1331が本発明のパラメータ情報に相当し、S10の処理を実行するCPU31が本発明の書換手段に相当し、S9の処理を実行するCPU31が本発明の特定手段に相当し、操作盤10が本発明の受付手段に相当し、S1の処理を実行するCPU31が本発明の実行手段に相当する。
In the above description, the
以上説明の如く、本実施形態の数値制御装置30は、工作機械の動作に関係するパラメータを用いて工作機械1の動作を制御する。主記憶装置34はパラメータファイル3421を備える。パラメータファイル3421は各種パラメータのパラメータ値を有する。数値制御装置30のソフトウェアのバージョンアップを行う場合、使用者は操作盤10を用いてバージョンアップ制御処理の開始指示を入力する。ソフトウェアのバージョンアップ完了後、パラメータファイル3421にはバージョンアップに伴う追加パラメータが追加される。追加パラメータは工作機械1の仕様によって出荷値が異なるので出荷値は未設定である。そこで、数値制御装置30は、パラメータファイル3421の中でパラメータ値が未設定のパラメータ以外の4つの既存のパラメータのパラメータ値を仕様数値に夫々変換する。
As described above, the
数値制御装置30はパラメータ比較DB1321を用いて、4つの仕様数値の組み合わせに対応する出荷値IDを特定する。出荷値IDとは、工作機械1の仕様に応じて設定する各種パラメータの出荷値の型を識別する為の情報である。数値制御装置30は出荷値IDを特定することで、工作機械1の仕様を推定する。数値制御装置30は、特定した出荷値IDに対応するパラメータ参照ファイル1331を外部記憶装置13から読み出し、その中からパラメータファイル3421において未設定パラメータの出荷値を取得し、未設定パラメータに設定する。即ち、数値制御装置30は未設定パラメータ以外の既存のパラメータから工作機械1の仕様を推定し、その工作機械1の仕様に対応するパラメータ参照ファイル1331の出荷値に書き換える。故に数値制御装置30は未設置パラメータの出荷値を手入力する必要が無くなるので、入力の手間を省略できる。
The
本実施形態は更に、パラメータファイル3421のうち未設定パラメータに、その工作機械1の仕様に対応するパラメータ参照ファイル1331の出荷値を設定して書き換える。即ち、数値制御装置30はパラメータ値が既に設定済みのパラメータは書き換えないので、書換えに伴う処理量を削減できる。
In the present embodiment, the unset parameter in the
尚、本発明は上記実施形態に限らず種々の変更が可能である。上記実施形態は、パラメータファイル3421において追加パラメータを含む未設定のパラメータのみに、工作機械1の仕様に対応するパラメータ参照ファイル1331の出荷値を設定するが、パラメータファイル3421の全パラメータについて、パラメータ参照ファイル1331の出荷値に書き換えてもよい。
The present invention is not limited to the above embodiment, and various modifications can be made. In the above embodiment, the shipment value of the
また、上記実施形態では、ソフトウェアのバージョンアップ時に、パラメータファイル3421における未設定パラメータに対し、工作機械1の仕様に対応するパラメータ参照ファイル1331の出荷値を設定するが、これ以外にも例えばソフトウェアの再インストール時にも適用可能である。
In the above embodiment, when the software is upgraded, the shipment value of the
パラメータ比較DB1321は実施例以外の形式でも構わない。例えば、複数のパラメータから仕様の判別に必要なパラメータ項目を、任意の個数追加する形にしてもよい。
The
また、パラメータファイル3421のパラメータの種類は、上記実施形態以外のパラメータでもよい。
Further, the parameter type of the
1 工作機械
10 操作盤
13 外部記憶装置
30 数値制御装置
31 CPU
34 主記憶装置
1321 パラメータ比較DB
1331 パラメータ参照ファイル
3421 パラメータファイル
DESCRIPTION OF
34
1331
Claims (3)
前記主記憶装置に記憶された前記パラメータ群の中で前記設定値が未設定のパラメータである未設定パラメータ以外のパラメータに基づき、前記工作機械の仕様を推定する推定手段と、
前記工作機械の前記仕様の種類に夫々対応づけられた前記パラメータ群の前記設定値の情報であるパラメータ情報を外部から取得する取得手段と、
前記取得手段が取得した前記パラメータ情報に基づき、前記主記憶装置に記憶した前記パラメータ群の前記設定値を書き換える書換手段と
を備えたことを特徴とする数値制御装置。 In a numerical controller that includes a main storage device that stores a set value of each parameter group that is a set of parameters related to the operation of a machine tool, and that controls the operation of the machine tool using the parameters stored in the main storage device. ,
Estimating means for estimating the specifications of the machine tool based on parameters other than the unset parameter in which the set value is an unset parameter in the parameter group stored in the main storage device;
Acquisition means for acquiring parameter information, which is information of the setting values of the parameter group respectively associated with the type of specification of the machine tool, from the outside;
A numerical control apparatus comprising: rewriting means for rewriting the set values of the parameter group stored in the main storage device based on the parameter information acquired by the acquisition means.
前記書換手段は、
前記未設定パラメータのみを、前記特定手段が特定した前記設定値に書き換えることを特徴とする請求項1に記載の数値制御装置。 Further comprising specifying means for specifying the set value of the parameter group corresponding to the specification estimated by the estimating means from the parameter information acquired by the acquiring means;
The rewriting means is
The numerical control apparatus according to claim 1, wherein only the unset parameter is rewritten to the set value specified by the specifying unit.
前記受付手段が前記更新を受け付けた場合、前記ソフトウェアの前記更新を実行する実行手段と
を備え、
前記パラメータ群は、
前記更新に伴って追加した追加パラメータを含み、
前記パラメータ情報は、
前記ソフトウェアの前記更新に伴う前記追加パラメータの設定値を含むことを特徴とする請求項1又は2に記載の数値制御装置。 Accepting means for accepting an update of software stored in the main memory device in the previous period;
An execution unit that executes the update of the software when the reception unit receives the update;
The parameter group is:
Including additional parameters added with the update,
The parameter information is
The numerical control apparatus according to claim 1, further comprising a setting value of the additional parameter that accompanies the update of the software.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2014009120A JP6252198B2 (en) | 2014-01-22 | 2014-01-22 | Numerical controller |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2014009120A JP6252198B2 (en) | 2014-01-22 | 2014-01-22 | Numerical controller |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2015138362A JP2015138362A (en) | 2015-07-30 |
JP6252198B2 true JP6252198B2 (en) | 2017-12-27 |
Family
ID=53769327
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2014009120A Active JP6252198B2 (en) | 2014-01-22 | 2014-01-22 | Numerical controller |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP6252198B2 (en) |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP6696383B2 (en) * | 2016-09-27 | 2020-05-20 | ブラザー工業株式会社 | Numerical control device |
JP6538771B2 (en) * | 2017-07-26 | 2019-07-03 | ファナック株式会社 | Numerical control device and control method of numerical control device |
JP6881380B2 (en) * | 2018-03-30 | 2021-06-02 | ブラザー工業株式会社 | Machine tools, control methods and computer programs |
DE112021004129T5 (en) * | 2020-10-09 | 2023-07-20 | Fanuc Corporation | control device |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2604881B2 (en) * | 1990-05-17 | 1997-04-30 | 三菱電機株式会社 | Control devices for industrial machines |
JPH11161479A (en) * | 1997-11-28 | 1999-06-18 | Brother Ind Ltd | Device and method for processing data and recording medium |
JP2006293544A (en) * | 2005-04-07 | 2006-10-26 | Fanuc Ltd | Numerical control system |
JP4598865B2 (en) * | 2009-02-17 | 2010-12-15 | ファナック株式会社 | Robot control device used in combination with machine tools |
-
2014
- 2014-01-22 JP JP2014009120A patent/JP6252198B2/en active Active
Also Published As
Publication number | Publication date |
---|---|
JP2015138362A (en) | 2015-07-30 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP5817256B2 (en) | Machine control program creation device | |
JP6496272B2 (en) | Parameter setting device, parameter setting program and parameter setting method | |
JP6252198B2 (en) | Numerical controller | |
JP6557282B2 (en) | Machine tool control device and production system | |
JP6450708B2 (en) | Information processing apparatus for processing machining information among a plurality of manufacturing cells | |
US7742839B2 (en) | Robot system provided with robot controller | |
CN111919182B (en) | NC program conversion processing method and processing system | |
US20170139390A1 (en) | Sequence-control programming apparatus, sequence-control programming method, and operating system | |
JP6434434B2 (en) | A processing robot system that connects a processing device to a robot for processing | |
JP2013257782A (en) | Numerical control device for machine tool with operation support control section | |
JP5123502B2 (en) | Post-processor development support system and CAM system using the same | |
US8667475B2 (en) | Computer-readable storage medium and program-converting method | |
EP3765929B1 (en) | Automated system and method for updating firmware on industrial devices | |
JP6904994B2 (en) | Screen creation device and screen creation system | |
JP6542710B2 (en) | Numerical control device with program correction support function for alarm solution | |
JP5994862B2 (en) | Development support device and development support program | |
JP5153437B2 (en) | Control program creation device | |
JP2020015143A (en) | Tool management system, tool management device and tool management method | |
JP5362146B1 (en) | Numerical control apparatus and numerical control system | |
JP2020123324A (en) | Method for controlling a machine tool and machine tool | |
US10474132B2 (en) | Information processing device, information processing method, and recording medium | |
WO2014162598A1 (en) | Numerical control device | |
JP6632692B1 (en) | Control program creation support tool and control program creation method | |
US20240053725A1 (en) | Parameterization of a digital twin and/or an automation system | |
JP2012048471A (en) | Numerical control device and macro program execution method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20161117 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20171018 |
|
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: 20171031 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20171113 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 6252198 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |