JP2010167516A - Numerical control device of five-axis machine tool - Google Patents

Numerical control device of five-axis machine tool Download PDF

Info

Publication number
JP2010167516A
JP2010167516A JP2009010730A JP2009010730A JP2010167516A JP 2010167516 A JP2010167516 A JP 2010167516A JP 2009010730 A JP2009010730 A JP 2009010730A JP 2009010730 A JP2009010730 A JP 2009010730A JP 2010167516 A JP2010167516 A JP 2010167516A
Authority
JP
Japan
Prior art keywords
tool direction
correction amount
command
axis
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.)
Granted
Application number
JP2009010730A
Other languages
Japanese (ja)
Other versions
JP5161124B2 (en
Inventor
Daijiro Koga
大二朗 古賀
Toshiaki Otsuki
俊明 大槻
Soichiro Ide
聡一郎 井出
Osamu Hanaoka
修 花岡
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fanuc Corp
Original Assignee
Fanuc Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fanuc Corp filed Critical Fanuc Corp
Priority to JP2009010730A priority Critical patent/JP5161124B2/en
Publication of JP2010167516A publication Critical patent/JP2010167516A/en
Application granted granted Critical
Publication of JP5161124B2 publication Critical patent/JP5161124B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide a numerical control device for controlling a five-axis machine tool which finds an optimum permissible correction amount. <P>SOLUTION: The drawing is a schematic diagram of a display device 70 with an input device included in the numerical control device. A keyboard 73 includes number keys, alphabet keys and the like. A prompt area 74 is displayed for inputting a cumulative relative frequency (%) on a display screen 71. An instruction by which an operator sets what percent of a tool direction command is desired to be sufficiently corrected is assigned to "F5" of function keys 72. A value inputted using the number key of the keyboard 73 is displayed on the prompt area 74, and the value is set by pressing the "F5". An instruction for outputting frequency distribution data to an external device (not shown) is assigned to "F6" of the function keys 72, and the frequency distribution data are transmitted to the external device by pressing the "F6". <P>COPYRIGHT: (C)2010,JPO&INPIT

Description

本発明は5軸加工機の数値制御装置に関する。   The present invention relates to a numerical controller for a 5-axis machine.

テーブルに取付けられた加工物に対して直線軸3軸と回転軸2軸とによって加工する5軸加工機が知られている。5軸加工機は、テーブル回転用に1軸と工具ヘッド回転用に1軸、工具ヘッド回転用に2軸、または、テーブル回転用に2軸持った工作機械の数値制御装置であり、これらの回転軸が回転しながら工具先端点が所期の経路を所期の速度で移動しワークを加工することができる。   There is known a 5-axis processing machine that processes a workpiece mounted on a table by three linear axes and two rotation axes. A 5-axis processing machine is a numerical control device for a machine tool having one axis for table rotation and one axis for tool head rotation, two axes for tool head rotation, or two axes for table rotation. While the rotary shaft rotates, the tool tip can move along the intended path at the desired speed to machine the workpiece.

特開2003−195917号公報Japanese Patent Laid-Open No. 2003-195917

5軸加工機を制御する数値制御装置において、プログラム指令に対して工具方向の変化量と直線移動軸の変化量とが比例するように工具方向指令を補正することを特徴とする数値制御装置(以下、「数値制御装置A」という)を、本出願人は特願2007−322546号として出願した。
数値制御装置Aは、加工プログラムの各ブロックにおいて最適な工具方向を計算する。ここで、この最適な工具方向を補正後の工具方向として用いると、補正する前の元の工具方向との差が大きい場合、元の工具方向において工具が機械やワークと干渉しない場合でも、干渉が発生する恐れがある。
In a numerical control device for controlling a 5-axis machining apparatus, a numerical control device that corrects a tool direction command so that a change amount of a tool direction and a change amount of a linear movement axis are proportional to a program command ( Hereinafter, the present applicant has filed an application as Japanese Patent Application No. 2007-322546.
The numerical controller A calculates the optimum tool direction in each block of the machining program. Here, if this optimal tool direction is used as the corrected tool direction, if there is a large difference from the original tool direction before correction, even if the tool does not interfere with the machine or workpiece in the original tool direction, interference will occur. May occur.

そのため、数値制御装置Aを、最適な工具方向を基礎として、元の工具方向から指定された許容補正量の範囲内に収まる準最適な工具方向を計算し、該準最適な工具方向を補正後の工具方向として用いるようにする必要がある。このとき、許容補正量が小さい場合には、補正後の工具方向は元の工具方向と変わらなくなってしまうため、補正による加工時間短縮の効果や加工面品質の向上効果が低くなってしまう。   For this reason, the numerical controller A calculates a sub-optimal tool direction that falls within the range of the allowable correction amount specified from the original tool direction on the basis of the optimal tool direction, and corrects the sub-optimal tool direction. It is necessary to use it as the tool direction. At this time, when the allowable correction amount is small, the corrected tool direction is not changed from the original tool direction, so that the effect of shortening the machining time and the effect of improving the machined surface quality due to the correction are reduced.

許容補正量が大きいほど補正後の工具方向は最適な工具方向へ近づくため、加工時間短縮の効果や加工面品質の向上効果が高まる。したがって、許容補正量の設定値としては大きい方が望ましいが、同時に工具の機械やワークとの干渉を回避する必要があるため、補正後の工具方向が最適な工具方向に十分近づけられる必要かつ十分な大きさに留めることが望ましい。   As the allowable correction amount is larger, the corrected tool direction approaches the optimum tool direction, so that the effect of reducing the machining time and the effect of improving the machined surface quality are enhanced. Therefore, it is desirable that the allowable correction amount is set to a large value, but at the same time, it is necessary to avoid interference of the tool with the machine or workpiece, so that the corrected tool direction must be sufficiently close to the optimum tool direction. It is desirable to keep it in a large size.

しかし数値制御装置Aは、前記準最適な工具方向を求める際に許容補正量にどの程度の値を設定すれば補正後の工具方向が最適な工具方向に十分近づくのかが把握できなかったため、作業者が経験や勘に頼って値を設定する、あるいは許容補正量を変化させながら何度もワークを加工し最適な許容補正量を見出すしかなかった。
そこで本発明の目的は、上記課題を解決し最適な許容補正量を見つけることができる5軸加工機を制御する数値制御装置を提供することである。
However, since the numerical controller A cannot determine how much the allowable correction amount is set when the sub-optimal tool direction is determined, the corrected tool direction is sufficiently close to the optimal tool direction. The person has to set a value depending on experience and intuition, or to process the workpiece many times while changing the allowable correction amount and find the optimum allowable correction amount.
SUMMARY OF THE INVENTION An object of the present invention is to provide a numerical control device for controlling a 5-axis machine that can solve the above-described problems and find an optimum allowable correction amount.

本願の請求項1に係る発明は、テーブルに取付けられた加工物に対して加工を行う直線軸3軸と回転軸2軸によって構成される5軸加工機を制御し、該直線軸の移動経路指令、該加工物と工具との相対移動速度指令および該テーブルに対する工具方向として工具方向指令を読み取る指令読み取り手段と、該工具方向指令から最適な工具方向を計算し、該工具方向指令と該計算して求めた最適な工具方向の差が予め設定される許容範囲内となるように準最適な工具方向を計算し、該準最適な工具方向を該工具方向指令の工具方向とすることにより該工具方向指令を補正する工具方向指令補正手段と、該工具方向指令補正手段によって補正された工具方向指令、前記移動経路指令および前記相対移動速度指令に基づいて工具先端点が指令され移動経路上を指令された相対移動速度で移動するよう補間周期ごとに各軸位置を求める補間手段と、該補間手段により求められた各軸位置へ移動するように各軸モータを駆動する手段を有する5軸加工機の数値制御装置において、前記工具方向指令と前記工具方向指令補正手段によって計算される最適な工具方向との差である理想補正量を算出する理想補正量算出手段と、前記理想補正量算出手段により算出された前記理想補正量を記憶する理想補正量記憶手段と、前記理想補正量記憶手段に記憶された前記理想補正量を所定補正量毎に前記工具方向指令の度数分布として出力する出力手段と、を有することを特徴とする5軸加工機の数値制御装置である。   The invention according to claim 1 of the present application controls a five-axis processing machine configured by three linear axes and two rotary axes for processing a workpiece attached to a table, and a movement path of the linear axes. A command reading means for reading the command, a relative movement speed command between the workpiece and the tool, and a tool direction command as a tool direction with respect to the table; and calculating an optimum tool direction from the tool direction command, and calculating the tool direction command and the calculation The sub-optimal tool direction is calculated so that the difference in the optimum tool direction obtained in this way is within a preset allowable range, and the sub-optimal tool direction is set as the tool direction of the tool direction command. Tool direction command correcting means for correcting the tool direction command, and the tool tip point is commanded and moved based on the tool direction command corrected by the tool direction command correcting means, the movement path command, and the relative movement speed command. Interpolating means for obtaining the position of each axis for each interpolation cycle so as to move at the commanded relative movement speed, and means for driving each axis motor to move to each axis position obtained by the interpolating means 5 In the numerical control device of the shaft machine, ideal correction amount calculating means for calculating an ideal correction amount that is a difference between the tool direction command and an optimum tool direction calculated by the tool direction command correcting means, and the ideal correction amount An ideal correction amount storage unit that stores the ideal correction amount calculated by the calculation unit, and the ideal correction amount stored in the ideal correction amount storage unit are output as a frequency distribution of the tool direction command for each predetermined correction amount. And a numerical control device for a five-axis machine.

請求項2に係る発明は、前記出力手段は、該理想補正量記憶手段に記憶された理想補正量を所定補正量毎に前記工具方向指令の度数分布として表示する前記数値制御装置に設けられた表示装置あるいは前記数値制御装置に接続された外部装置の表示装置であることを特徴とする請求項1に記載の5軸加工機の数値制御装置である。
請求項3に係る発明は、前記工具方向指令の数を累積する累積手段と、前記工具方向指令の数に対する割合を指定する割合指定手段と、前記工具方向指令の理想補正量の小さい値から順に前記工具方向指令の数を累積し累積度数分布を求める累積度数分布取得手段と、該累積した前記工具方向指令の数が前記割合指定手段により指定された割合に対応する工具方向指令の数と一致したときの工具方向指令の理想補正量を取得する取得手段と、該取得手段により取得した理想補正量を前記予め設定される許容範囲として設定する設定手段と、を有することを特徴とする請求項1または2のいずれか1つに記載の5軸加工機の数値制御装置である。
According to a second aspect of the present invention, the output means is provided in the numerical controller that displays the ideal correction amount stored in the ideal correction amount storage means as a frequency distribution of the tool direction command for each predetermined correction amount. 2. The numerical control device for a 5-axis machining apparatus according to claim 1, wherein the numerical control device is a display device or a display device of an external device connected to the numerical control device.
According to a third aspect of the present invention, there is provided an accumulating unit for accumulating the number of tool direction commands, a ratio designating unit for designating a ratio with respect to the number of tool direction commands, and a small value of an ideal correction amount of the tool direction commands in order. Cumulative frequency distribution acquisition means for accumulating the number of tool direction commands to obtain a cumulative frequency distribution, and the accumulated number of tool direction commands coincides with the number of tool direction commands corresponding to the ratio specified by the ratio specifying means. An acquisition unit that acquires an ideal correction amount of a tool direction command when the tool direction command is performed, and a setting unit that sets the ideal correction amount acquired by the acquisition unit as the preset allowable range. The numerical control device for a 5-axis machining apparatus according to any one of 1 and 2.

請求項4に係る発明は、前記数値制御装置は、前記工具方向指令が前記準最適な工具方向に補正された場合の実際の補正量を求める実際の補正量算出手段と、
前記実際の補正量算出手段により算出された前記実際の補正量を記憶する実際の補正量記憶手段と、前記実際の補正量記憶手段に記憶された前記実際の補正量を所定補正量毎に前記工具方向指令の度数分布として前記出力手段に出力することを特徴とする請求項1〜3のいずれか1つに記載の5軸加工機の数値制御装置である。
請求項5に係る発明は、前記理想補正量と前記実際の補正量のそれぞれの前記工具方向指令の度数分布に基づく統計量を演算する統計量演算手段と、
前記統計量演算手段により演算された統計量を前記出力手段に出力することを特徴とする請求項4に記載の5軸加工機の数値制御装置である。
According to a fourth aspect of the present invention, the numerical control device includes: an actual correction amount calculating unit that calculates an actual correction amount when the tool direction command is corrected to the semi-optimal tool direction;
Actual correction amount storage means for storing the actual correction amount calculated by the actual correction amount calculation means, and the actual correction amount stored in the actual correction amount storage means for each predetermined correction amount. The numerical control device for a 5-axis machining apparatus according to any one of claims 1 to 3, wherein the numerical value is output to the output means as a frequency distribution of a tool direction command.
The invention according to claim 5 is a statistic calculation means for calculating a statistic based on a frequency distribution of the tool direction command for each of the ideal correction amount and the actual correction amount;
5. The numerical control device for a 5-axis machining apparatus according to claim 4, wherein the statistical quantity calculated by the statistical quantity calculation means is output to the output means.

本発明により、最適な許容補正量を見つけることができる5軸加工機を制御する数値制御装置を提供できる。   According to the present invention, it is possible to provide a numerical control device for controlling a 5-axis machine capable of finding an optimum allowable correction amount.

加工曲面を示す図である。It is a figure which shows a process curved surface. 加工曲面を三角パッチと呼ばれる区画で分割することを示す図である。It is a figure which shows dividing | segmenting a process curved surface in the division called a triangular patch. 三角パッチ上で工具軌跡を計算することを示す図である。It is a figure which shows calculating a tool locus on a triangular patch. 三角パッチと工具進路と工具先端点位置との関係を示す図である。It is a figure which shows the relationship between a triangular patch, a tool course, and a tool front-end | tip point position. 三角パッチの工具進路に沿った断面図を示す図である。It is a figure which shows sectional drawing along the tool path of a triangular patch. X、Y、Z軸への位置指令P1〜P10をX、Y、Z軸で、B軸への位置指令Pb1〜Pb10およびC軸への位置指令Pc1〜Pc10をそれぞれ1次元座標で表し、それらの対比を表す図である。The position commands P1 to P10 for the X, Y and Z axes are represented by X, Y and Z axes, the position commands Pb1 to Pb10 for the B axis and the position commands Pc1 to Pc10 for the C axis are represented by one-dimensional coordinates, respectively. It is a figure showing the contrast of these. 各ブロックにおける各回転軸移動量と直線軸移動量の比が一定でない場合の各軸の速度波形の一例を示す図である。It is a figure which shows an example of the velocity waveform of each axis | shaft in case the ratio of each rotation axis movement amount and linear axis movement amount in each block is not constant. 図6に示されるB軸およびC軸の位置指令に回転軸位置指令の補正を行なった時の図である。FIG. 7 is a diagram when the rotation axis position command is corrected for the B axis and C axis position commands shown in FIG. 6. 回転軸位置指令の補正を行なった場合の各軸の速度波形の一例を示す図である。It is a figure which shows an example of the velocity waveform of each axis | shaft at the time of correcting a rotating shaft position command. 工具ヘッド回転型の5軸加工機の説明図である。It is explanatory drawing of a 5-axis processing machine of a tool head rotation type. 5軸加工機を制御する数値制御装置の概略機能ブロック図である。It is a general | schematic functional block diagram of the numerical control apparatus which controls a 5-axis processing machine. 工具方向指令補正を実行するアルゴリズムを示すフローチャートの例である。It is an example of the flowchart which shows the algorithm which performs tool direction command correction | amendment. 本発明の実施形態を実行する数値制御装置の要部ブロック図である。It is a principal part block diagram of the numerical control apparatus which performs embodiment of this invention. 本発明における理想補正量の度数分布表を説明する図である。It is a figure explaining the frequency distribution table of the ideal correction amount in the present invention. ファンクションキーを押して理想補正量の度数分布のデータを外部装置に出力すること、指令全体の何%を十分に補正したいかをユーザが入力し、それに応じて数値制御装置が最適な許容補正量を自動で設定することを説明する図である。The function key is pressed to output the frequency distribution data of the ideal correction amount to the external device, and the user inputs what percentage of the entire command is to be corrected sufficiently, and the numerical control device sets the optimum allowable correction amount accordingly. It is a figure explaining setting automatically. 0.2度が許容補正量として自動設定されることを説明する図である。It is a figure explaining 0.2 degree being automatically set as an allowable correction amount. 累積度数分布を示すグラフである。It is a graph which shows cumulative frequency distribution. 累積相対度数分布を示すグラフである。It is a graph which shows cumulative relative frequency distribution. 毎回ブロックを補正する度に補正量の度数分布を更新し度数分布の統計量を計算し直す処理のアルゴリズムを示すフローチャートである(その1)。It is a flowchart which shows the algorithm of the process which updates the frequency distribution of a correction amount, and recalculates the statistic of a frequency distribution whenever the block is corrected each time (the 1). 毎回ブロックを補正する度に補正量の度数分布を更新し度数分布の統計量を計算し直す処理のアルゴリズムを示すフローチャートである(その2)。It is a flowchart which shows the algorithm of the process which updates the frequency distribution of a correction amount, and recalculates the statistic of a frequency distribution whenever the block is corrected each time (the 2). 指定したmブロックを読み込むまで補正量度数分布を更新し指定したmブロックを読み込んだ時点で度数分布の統計量を計算し、それ以降は度数分布の更新をしない処理のアルゴリズムを示すフローチャートである(その1)。FIG. 10 is a flowchart showing an algorithm of a process in which a correction amount frequency distribution is updated until a designated m block is read, a frequency distribution statistic is calculated when the designated m block is read, and thereafter the frequency distribution is not updated. Part 1). 指定したmブロックを読み込むまで補正量度数分布を更新し指定したmブロックを読み込んだ時点で度数分布の統計量を計算し、それ以降は度数分布の更新をしない処理のアルゴリズムを示すフローチャートである(その2)。FIG. 10 is a flowchart showing an algorithm of a process in which a correction amount frequency distribution is updated until a designated m block is read, a frequency distribution statistic is calculated when the designated m block is read, and thereafter the frequency distribution is not updated. 2). プログラムの終了時に度数分布の統計量を計算する処理のアルゴリズムを示すフローチャートである(その1)。It is a flowchart which shows the algorithm of the process which calculates the statistics of frequency distribution at the time of completion | finish of a program (the 1). プログラムの終了時に度数分布の統計量を計算する処理のアルゴリズムを示すフローチャートである(その2)。It is a flowchart which shows the algorithm of the process which calculates the statistics of frequency distribution at the time of completion | finish of a program (the 2).

本発明における最適な許容補正量を見つける方法について説明する。まず、先の出願である特願2007−322546号(以下、「先願」という)の願書に添付した明細書に開示される数値制御装置Aについて説明する。
先願発明は、工具方向指令そのものを補正することによって、加工形状を滑らかにし加工時間を短くすることが可能な5軸加工機を制御する数値制御装置を提供することを目的としている。
A method for finding the optimum allowable correction amount in the present invention will be described. First, the numerical controller A disclosed in the specification attached to the application of Japanese Patent Application No. 2007-322546 (hereinafter referred to as “prior application”), which is the previous application, will be described.
An object of the prior application is to provide a numerical control device for controlling a 5-axis machining machine capable of smoothing a machining shape and shortening a machining time by correcting a tool direction command itself.

先願の請求項1に係る発明は、テーブルに取付けられた加工物に対して加工を行う直線軸3軸と回転軸2軸とによって構成される5軸加工機を制御する数値制御装置において、該直線軸の移動経路指令、該加工物と工具との相対移動速度指令および該テーブルに対する工具方向として工具方向指令を読み取る指令読み取り手段と、該工具方向指令を補正する工具方向指令補正手段と、該工具方向指令補正手段によって補正された前記工具方向指令、前記移動経路指令および前記相対移動速度指令に基づいて工具先端点が指令された移動経路上を指令された相対移動速度で移動するよう補間周期ごとに各軸位置を求める補間手段と、該補間手段により求められた各軸位置へ移動するように各軸モータを駆動する手段を有する数値制御装置である。   The invention according to claim 1 of the prior application is a numerical control device for controlling a 5-axis processing machine constituted by three linear axes and two rotary axes for processing a workpiece attached to a table. A command reading means for reading a tool path command as a moving path command for the linear axis, a relative moving speed command between the workpiece and the tool, and a tool direction with respect to the table; a tool direction command correcting means for correcting the tool direction command; Based on the tool direction command corrected by the tool direction command correcting means, the movement path command, and the relative movement speed command, the tool tip point is interpolated so as to move at the commanded relative movement speed on the commanded movement path. A numerical control device having interpolation means for obtaining each axis position for each period and means for driving each axis motor to move to each axis position obtained by the interpolation means

先願の請求項2に係る発明は、前記工具方向指令補正手段は前記工具方向の変化量と前記移動経路指令における前記直線軸の変化量とが比例するように該工具方向指令を補正することを特徴とする請求項1記載の数値制御装置である。
先願の請求項3に係る発明は、前記工具方向指令は回転軸2軸の位置によって指令され、前記工具方向指令補正手段は指令された回転軸2軸の位置を補正することを特徴とする請求項1または2のいずれか一つに記載の数値制御装置である。
先願の請求項4に係る発明は、前記工具方向指令は工具方向ベクトルとして指令され、前記工具方向指令補正手段は指令された工具方向ベクトルを補正することを特徴とする請求項1または2のいずれか一つに記載の数値制御装置である。
先願の請求項5に係る発明は、前記工具方向指令補正手段は指令された工具方向ベクトルを回転軸2軸の位置に変換し、変換した回転軸2軸の位置を補正し、補正した回転軸2軸の位置を工具方向ベクトルに逆変換することを特徴とする請求項4に記載の数値制御装置である。
In the invention according to claim 2 of the prior application, the tool direction command correction means corrects the tool direction command so that the change amount of the tool direction is proportional to the change amount of the linear axis in the movement path command. The numerical control device according to claim 1.
The invention according to claim 3 of the prior application is characterized in that the tool direction command is commanded by the position of the two rotary shafts, and the tool direction command correcting means corrects the commanded position of the two rotary shafts. It is a numerical control apparatus as described in any one of Claim 1 or 2.
The invention according to claim 4 of the prior application is characterized in that the tool direction command is commanded as a tool direction vector, and the tool direction command correction means corrects the commanded tool direction vector. It is a numerical control apparatus as described in any one.
In the invention according to claim 5 of the prior application, the tool direction command correcting means converts the commanded tool direction vector into the position of the two rotation axes, corrects the converted position of the two rotation axes, and corrects the rotation. The numerical control device according to claim 4, wherein the position of the two axes is inversely converted into a tool direction vector.

先願の請求項6に係る発明は、前記指令読み取り手段は工具方向指令補正モードが指令されると、工具方向指令補正モード解除が指令されるまで予め設定された数のブロックを補正対象プログラム指令として先読みし、該工具方向指令補正手段は該補正対象プログラム指令における工具方向指令を補正することを特徴とする請求項1〜5のいずれか一つに記載の数値制御装置である。
先願の請求項7に係る発明は、前記工具方向指令補正モードはGコードで指令され前記工具方向指令補正モード解除は該Gコードとは異なるGコードで指令されることを特徴とする請求項6記載の数値制御装置である。
先願発明の効果は、5軸加工機を用いて加工物を加工する際に、加工物の加工形状を滑らかにしつつ加工時間の短縮を図ることが可能であることである。
In the invention according to Claim 6 of the prior application, when the command reading means is instructed in the tool direction command correction mode, a preset number of blocks are corrected until the tool direction command correction mode is instructed. The numerical control apparatus according to claim 1, wherein the tool direction command correcting unit corrects the tool direction command in the correction target program command.
The invention according to claim 7 of the prior application is characterized in that the tool direction command correction mode is commanded by a G code, and the tool direction command correction mode cancellation is commanded by a G code different from the G code. 6. The numerical control device according to 6.
The effect of the prior invention is that when a workpiece is machined using a five-axis machine, the machining time can be shortened while the machining shape of the workpiece is smoothed.

先願発明は、ブロック終点で指令される工具方向指令そのものを補正することにより、加工物の加工形状を滑らかにしつつ加工時間を短縮するものである。一般に、5軸加工機を用いた加工物を加工することにおいて、加工物を加工する工具先端点の移動は重要であるが、その工具方向は多少の誤差を持っていても加工には大きな影響を与えない。一方、加工形状が滑らかではないことや加工時間が長くかかることは5軸加工機において解決すべき問題である。そこで先願発明では、工具方向の誤差を許容することにより、加工物の加工形状を滑らかにし加工時間を短縮できるように工具方向指令を補正する。以下、先願発明の工具方向指令を補正する第1の実施形態および第2の実施形態について説明する。   The invention of the prior application corrects the tool direction command itself commanded at the block end point, thereby reducing the machining time while smoothing the machining shape of the workpiece. In general, when machining a workpiece using a 5-axis machine, it is important to move the tool tip to machine the workpiece, but even if there is some error in the tool direction, it has a significant effect on machining. Not give. On the other hand, the fact that the machining shape is not smooth and that the machining time is long are problems to be solved in a 5-axis machine. Therefore, in the prior invention, the tool direction command is corrected so that the machining shape of the workpiece can be made smooth and the machining time can be shortened by allowing an error in the tool direction. Hereinafter, a first embodiment and a second embodiment for correcting the tool direction command of the invention of the prior application will be described.

先願発明の第1の実施形態について、表1に示されるプログラム指令例1を用いて説明する。このプログラム指令は、前記発明が解決しようとする課題の欄において説明したCAMにより生成される。プログラム指令を生成する技術そのものは公知の技術である。   A first embodiment of the invention of the prior application will be described using a program command example 1 shown in Table 1. This program command is generated by the CAM described in the section of the problem to be solved by the invention. The technology itself for generating the program command is a known technology.

工具方向指令補正モードになると工具方向指令補正モードが解除されるまで、最大先読みブロック数だけのブロックを補正対象プログラム指令として先読みし、先読みされた補正対象プログラム指令における各ブロックに対して、回転軸移動量と直線軸移動量の比が一定となるように工具方向指令を補正する。なお、最大先読みブロック数は別途パラメータとして設定されている。   When the tool direction command correction mode is entered, until the tool direction command correction mode is cancelled, blocks corresponding to the maximum number of prefetched blocks are prefetched as correction target program commands. The tool direction command is corrected so that the ratio of the movement amount and the linear axis movement amount is constant. Note that the maximum number of prefetch blocks is set as a separate parameter.

ここでは、Gaaが工具方向指令補正モードを指令するGコードであり、Gbbが工具方向指令補正モード解除を指令するGコードである。X、Y、Zで指令される工具先端点の移動経路における加工物と工具との相対移動速度fは、Gaaが指令されるまでにモーダル指令Ffとしてすでに指令されている。   Here, Gaa is a G code for instructing the tool direction command correction mode, and Gbb is a G code for instructing the tool direction command correction mode to be canceled. The relative movement speed f between the workpiece and the tool in the movement path of the tool tip point commanded by X, Y, and Z has already been commanded as a modal command Ff before Gaa is commanded.

各ブロックのX、Y、Z軸の位置指令とB、Cの軸位置指令が図6に示されるようなものであったとする。図6では、X、Y、Z軸への位置指令P1(Px1、Py1、Pz1)〜P10(Px10、Py10、Pz10)をX、Y、Z座標で、B軸への位置指令Pb1〜Pb10およびC軸への位置指令Pc1〜Pc10をそれぞれ1次元座標で表し、それらの対比を表している。P0(Px0、Py0、Pz0)、Pb0、Pc0はGaa指令時の各軸の位置を表している。   Assume that the X, Y, and Z axis position commands of each block and the B and C axis position commands are as shown in FIG. In FIG. 6, position commands P1 (Px1, Py1, Pz1) to P10 (Px10, Py10, Pz10) for the X, Y, and Z axes are represented by X, Y, and Z coordinates, and position commands Pb1 to Pb10 for the B axis and The position commands Pc1 to Pc10 for the C axis are each represented by one-dimensional coordinates, and their comparison is represented. P0 (Px0, Py0, Pz0), Pb0, and Pc0 represent the positions of the respective axes at the time of Gaa command.

従って、X、Y、Z軸がP0(Px0、Py1、Pz1)〜P10(Px10、Py10、Pz10)間を速度fで移動する間に、B軸はPb0〜Pb10を、C軸はPc0〜Pc10間を移動する。各ブロックでは、X、Y、Z軸がP0(Px0、Py0、Pz0)〜P1(Px1、Py1、Pz1)間を速度fで移動する間に、B軸はPb0〜Pb1を、C軸はPc0〜Pc1間を、X、Y、Z軸がP1(Px1、Py1、Pz1)〜P2(Px2、Py2、Pz2)間を速度fで移動する間に、B軸はPb1〜Pb2、C軸はPc1〜Pc2間を移動するというように、各ブロックごとにX、Y、Z軸とB、C軸は同期して移動する。   Therefore, while the X, Y, and Z axes move at a speed f between P0 (Px0, Py1, Pz1) to P10 (Px10, Py10, Pz10), the B axis is Pb0 to Pb10, and the C axis is Pc0 to Pc10. Move between. In each block, while the X, Y, and Z axes move at a speed f between P0 (Px0, Py0, Pz0) and P1 (Px1, Py1, Pz1), the B axis is Pb0 to Pb1, and the C axis is Pc0. ~ Pc1, while the X, Y, and Z axes move at a speed f between P1 (Px1, Py1, Pz1) and P2 (Px2, Py2, Pz2), the B axis is Pb1 to Pb2, and the C axis is Pc1 The X, Y, and Z axes and the B and C axes move in synchronization with each block, such as moving between .about.Pc2.

表1に示されるGaaからGbbの間は10ブロックの指令の例としているが、ブロック数に制限はない。各軸位置指令はアブソリュート指令としている。また、回転軸2軸をB、C軸で表しているが他の軸の名称、例えば、A、B軸やA、C軸であっても同様である。   The range between Gaa and Gbb shown in Table 1 is an example of a command of 10 blocks, but the number of blocks is not limited. Each axis position command is an absolute command. The two rotation axes are represented by B and C axes, but the same applies to the names of other axes, for example, the A and B axes and the A and C axes.

Figure 2010167516
Figure 2010167516

ここで、各ブロックにおける各回転軸移動量と直線軸移動量の比は一定ではない。換言すると、数1式と数2式とで各回転軸移動量と直線軸移動量との比をnが0〜9で計算すると、各ブロックにおけるその各回転軸移動量と直線軸移動の比は一定ではない。   Here, the ratio of each rotational axis movement amount and linear axis movement amount in each block is not constant. In other words, when the ratio of each rotational axis movement amount to the linear axis movement amount is calculated from 0 to 9 in Equation 1 and Equation 2, the ratio of each rotational axis movement amount to the linear axis movement in each block is calculated. Is not constant.

図7はこのときの各軸の速度波形の一例を示している。図7の横軸は時間、縦軸は各軸の速度を表している。図中の35000はミリセカンドを表す。各軸の速度の単位(例えば、mm/min、度/min)は軸ごとに相違するが、図7では5軸分の速度を重ね合わせて示している。図7では各軸の速度が振動していることが示されている。この振動の1波ごとが各ブロック指令に対応している。なお、図7は指令ブロック数が10ではなく500程度の場合の各軸の速度波形の例である。   FIG. 7 shows an example of the velocity waveform of each axis at this time. In FIG. 7, the horizontal axis represents time, and the vertical axis represents the speed of each axis. In the figure, 35000 represents milliseconds. The unit of speed of each axis (for example, mm / min, degree / min) is different for each axis, but in FIG. FIG. 7 shows that the speed of each axis vibrates. Each wave of this vibration corresponds to each block command. FIG. 7 shows an example of the velocity waveform of each axis when the number of command blocks is not about 10 but about 500.

Figure 2010167516
Figure 2010167516

Figure 2010167516
Figure 2010167516

そこで、数1式や数2式で算出される各ブロックにおける各回転軸移動量と直線軸移動量との比が一定となるように、次のようにPb1〜Pb10、および、Pc1〜Pc10を補正する。数値制御装置はGaaを読み込むと、先読みと補正処理を開始する。先読みブロック数は最大5とする。
ここで、下記の数式について説明する。数3式および数4式は開始から数5式に至る過渡的な式であり、数6式および数7式は数5式から終了に至る過渡的な式であるので、数5式が重要である。
そこで、数5式について詳細に説明する。数5式では、右辺分母で先読みブロック(第n−2ブロックから第n+2ブロック)における直線軸移動量を計算する。また、右辺分子では補正対象ブロック(第nブロック)の直線軸移動量を計算する。したがって、右辺分数の項は、先読みブロックにおける直線軸移動量と補正対象ブロックの直線軸移動量との比である。
そして、その比に先読みブロック(第n−2ブロックから第n+nブロック)の回転軸(B軸またはC軸)移動量(Pαn+2―Pαn―3’)を掛けることによって、先読みブロックの範囲で補正対象ブロックの回転軸移動量と直線軸移動量との比が一定になるように補正される。
補正された回転軸移動量を補正対象ブロックの直前のブロック(第n−1ブロック)の、つまり、既に補正された回転軸位置指令(Pαn―1’)に加算することによって、補正対象ブロックにおける回転軸位置指令を得る。これが補正された回転軸移動量による補正された回転軸位置指令である。
(A)第1ブロックを読み込み、第1ブロックは数3式に示されるように補正しない。
Therefore, Pb1 to Pb10 and Pc1 to Pc10 are set as follows so that the ratio of the rotational axis movement amount and the linear axis movement amount in each block calculated by Equation 1 and Equation 2 is constant. to correct. When the numerical controller reads Gaa, it starts prefetching and correction processing. The maximum number of prefetch blocks is 5.
Here, the following mathematical formula will be described. Equation 3 and Equation 4 are transitional equations from the beginning to Equation 5, and Equations 6 and 7 are transient equations from Equation 5 to the end, so Equation 5 is important. It is.
Therefore, Formula 5 will be described in detail. In Equation 5, the linear axis movement amount in the look-ahead block (from the (n−2) th block to the (n + 2) th block) is calculated using the denominator on the right side. In the right side numerator, the linear axis movement amount of the correction target block (the nth block) is calculated. Therefore, the term of the right-hand side fraction is a ratio between the linear axis movement amount in the look-ahead block and the linear axis movement amount in the correction target block.
Then, by multiplying the ratio by the amount of movement (Pα n + 2 −Pα n−3 ′) of the rotation axis (B axis or C axis) of the prefetch block (from the (n−2) th block to the (n + n) th block), The correction is performed so that the ratio between the rotational axis movement amount and the linear axis movement amount of the correction target block is constant within the range.
The correction target block is obtained by adding the corrected rotation axis movement amount to the block immediately before the correction target block (the (n−1) th block), that is, the already corrected rotation axis position command (Pα n−1 ′). The rotation axis position command at is obtained. This is a corrected rotation axis position command based on the corrected rotation axis movement amount.
(A) The first block is read, and the first block is not corrected as shown in Equation 3.

Figure 2010167516
Figure 2010167516

(B)第2、第3ブロックを読み込み、数4式に示されるように第2ブロックのB軸、C軸の位置指令を補正する。 (B) The second and third blocks are read, and the B-axis and C-axis position commands of the second block are corrected as shown in Formula 4.

Figure 2010167516
Figure 2010167516

(C)第n+1、第n+2ブロックを読み込み、数5式に示されるように第nブロックのB軸、C軸の位置指令を補正する(n=3〜8)。ただし、n=4〜8では第n+1ブロックは既に読み込まれている。 (C) The (n + 1) th and (n + 2) th blocks are read, and the B-axis and C-axis position commands of the nth block are corrected as shown in Equation 5 (n = 3 to 8). However, when n = 4 to 8, the (n + 1) th block has already been read.

Figure 2010167516
Figure 2010167516

(D)Gbbを読み込み、新規のブロック読み込みは停止する。数6式に示されるように第9ブロックのB軸、C軸の位置指令を補正する。 (D) Read Gbb and stop reading new block. As shown in Equation 6, the position commands for the B-axis and C-axis of the ninth block are corrected.

Figure 2010167516
Figure 2010167516

(E)第10ブロックは補正しない。 (E) The 10th block is not corrected.

Figure 2010167516
Figure 2010167516

上記(A)〜(E)に記載したように、ブロックを逐次先読みしながら、回転軸位置指令の補正を行なう。図6で表されたB軸、C軸の位置指令は、数3式〜数7式を用いた回転軸位置指令の補正により図8に表されるようになる。なお、全てのブロックの読み込みを行ってから補正するのではなく、各ブロックのB軸、C軸移動量は対応する直線軸移動量にほぼ比例するように補正することができる。   As described in (A) to (E) above, the rotation axis position command is corrected while sequentially prefetching the blocks. The B-axis and C-axis position commands shown in FIG. 6 are expressed in FIG. 8 by correcting the rotation axis position command using the equations (3) to (7). Instead of correcting after reading all the blocks, the B-axis and C-axis movement amounts of each block can be corrected so as to be substantially proportional to the corresponding linear axis movement amounts.

上記(A)〜(E)に記載した回転軸位置指令の補正を行なうと、図7で示された各ブロックにおける各回転軸移動量と直線軸移動量の比が一定でない場合の各軸の速度波形は、図9に示されるようになる。この図9に示されるように、回転軸位置指令の補正により各ブロックにおける各軸の速度の振動が抑制されている。速度の振動が抑制されることにより、加工物の加工形状は滑らかになる。また、減速する部分が少なくなることにより、加工時間も短縮される。図9に示される例では加工時間は、回転軸位置指令の補正を行なわない場合に比べて70%程度に短縮される。また、加工作業のための消費電力も減らすことができる。   When the rotation axis position command described in the above (A) to (E) is corrected, the ratio of each rotation axis movement amount to each linear axis movement amount in each block shown in FIG. The velocity waveform is as shown in FIG. As shown in FIG. 9, the vibration of the speed of each axis in each block is suppressed by correcting the rotation axis position command. By suppressing the vibration of speed, the processed shape of the workpiece becomes smooth. In addition, the machining time is shortened by reducing the number of parts that decelerate. In the example shown in FIG. 9, the machining time is reduced to about 70% compared to the case where the rotation axis position command is not corrected. In addition, power consumption for processing operations can be reduced.

なお、工具方向指令補正手段によって補正された工具方向指令、移動経路指令、および、相対移動速度指令に基づいて工具先端点が指令された移動経路上を指令された速度で移動するように補間周期ごとに各軸位置を求める補間手段、および、補間手段により求められた各軸位置へ各軸モータを駆動する手段については図13に示される数値制御装置のように公知技術を使用することができる。図13の数値制御装置については後述する。   An interpolation cycle is performed so that the tool tip point moves on the commanded movement path based on the tool direction command, the movement path command, and the relative movement speed command corrected by the tool direction command correcting means. A known technique can be used for the interpolation means for obtaining each axis position and the means for driving each axis motor to each axis position obtained by the interpolation means as in the numerical control device shown in FIG. . The numerical controller of FIG. 13 will be described later.

先願発明の第2の実施形態について表2に示されるプログラム指令例2を用いて説明する。先読み方法などは第1の実施形態と同様である。   A second embodiment of the invention of the prior application will be described using a program command example 2 shown in Table 2. The prefetching method and the like are the same as those in the first embodiment.

Figure 2010167516
Figure 2010167516

この第2の実施形態では、工具方向が正規化されたI、J、Kによる工具方向ベクトルとして指令されている。このように、工具方向を工具方向ベクトルとして指令する技術は、背景技術で説明した特許文献1などにおいて公知技術である。工具方向ベクトルは工具の傾斜を制御する軸の位置情報から計算される。例えば、工具の傾斜がB軸及びC軸によって制御されているときには、B軸及びC軸の現在位置から工具方向ベクトルを計算する。   In the second embodiment, the tool direction is commanded as a tool direction vector with I, J, and K normalized. As described above, the technique of instructing the tool direction as the tool direction vector is a known technique in Patent Document 1 described in the background art. The tool direction vector is calculated from the position information of the axis that controls the tilt of the tool. For example, when the tilt of the tool is controlled by the B axis and the C axis, the tool direction vector is calculated from the current positions of the B axis and the C axis.

図10に示されるように機械構成が回転ヘッド型5軸加工機であるとすると、I、J、K指令からB、C軸位置は下記数8式と数9式を用いて計算することができる。ここでは、Pcnは0度〜360度、Pbnは0度〜90度としている。なお、n=1〜10とする。   As shown in FIG. 10, if the machine configuration is a rotary head type 5-axis machine, the B and C axis positions can be calculated from the following equations (8) and (9) from the I, J, and K commands. it can. Here, Pcn is set to 0 degrees to 360 degrees, and Pbn is set to 0 degrees to 90 degrees. Note that n = 1 to 10.

Figure 2010167516
Figure 2010167516

このことにより、各ブロックのI、J、Kによる工具方向ベクトル指令(Pin、Pjn、Pkn)はB、C軸位置(Pbn、Pcn)に変換される。そして、実施形態1と同様に逐次先読みを行いながら、回転軸位置の補正を行い補正されたB、C軸位置(Pbn’、Pcn’)を得ることができる。   As a result, the tool direction vector command (Pin, Pjn, Pkn) by I, J, K of each block is converted into the B, C axis position (Pbn, Pcn). As in the first embodiment, the rotational axis position is corrected while sequentially performing prefetching, and the corrected B and C axis positions (Pbn ′, Pcn ′) can be obtained.

その結果、各ブロックのB、C軸移動量は対応する直線軸移動量にほぼ比例するように補正される。補正されたB、C軸位置(Pbn’、Pcn’)は数9式の連立方程式を解くことにより再度I、J、Kによる工具方向ベクトル指令(Pin’、Pjn’、Pkn’)に逆変換することができる。そのことにより、元のX、Y、Z、I、J、Kによるプログラム指令として実行することが可能である。
なお、ここでは、図10に示されるように工具回転ヘッド型の5軸加工機で説明したが、5軸加工機には回転軸2軸でテーブルを回転するテーブル回転型5軸加工機や回転軸1軸で工具ヘッドを他の回転軸1軸でテーブルを回転する混合型5軸加工機もある。それらの5軸加工機においても指令I、J、Kによる工具方向を回転軸2軸の位置に変換し、変換した回転軸2軸の位置を補正し、補正した回転軸2軸の位置を再度I、J、K指令に逆変換することが可能である。変換および逆変換の方法は、数8式、数9式の関数形が相違するだけであり公知技術であるので説明は省略する。
As a result, the B and C axis movement amounts of each block are corrected so as to be substantially proportional to the corresponding linear axis movement amounts. The corrected B and C axis positions (Pbn ′, Pcn ′) are inversely converted into tool direction vector commands (Pin ′, Pjn ′, Pkn ′) by I, J, K again by solving the simultaneous equations of Formula 9. can do. As a result, it can be executed as a program command by the original X, Y, Z, I, J, K.
Here, as shown in FIG. 10, a tool rotating head type five-axis processing machine has been described. However, a five-axis processing machine includes a table rotating type five-axis processing machine that rotates a table with two rotation axes, and a rotation. There is also a mixed 5-axis machine that rotates the tool head on one axis and the table on the other axis. In these five-axis machines, the tool direction according to the commands I, J, and K is converted into the position of the two rotation axes, the converted position of the two rotation axes is corrected, and the corrected position of the two rotation axes is changed again. It is possible to reversely convert into I, J, and K commands. The conversion and inverse conversion methods are different from each other only in the function forms of the equations (8) and (9).

図11は先願発明の5軸加工機を制御する数値制御装置の概略機能ブロック図である。指令読み取り手段1により各ブロックのプログラム指令を読み取る。読み取られたプログラム指令は工具方向指令補正手段2により各ブロックにおける回転軸移動量と直線軸移動量の比が一定となるように工具方向指令を補正する。補間手段3は、工具方向指令補正手段2によって補正された工具方向指令、移動経路指令および相対移動速度指令に基づいて工具先端点が指令された移動経路上を指令された速度で移動するように補間周期ごとに各軸位置を求める補間演算を実行する。各軸サーボ4X、4Y、4Z、4B(A)、4C軸サーボは、補間手段3で演算された各軸位置へ各軸モータ(各軸モータは記載を省略)を駆動する。   FIG. 11 is a schematic functional block diagram of a numerical controller for controlling the 5-axis machining apparatus of the prior invention. The command reading means 1 reads the program command of each block. The read program command is corrected by the tool direction command correcting means 2 so that the ratio of the rotational axis movement amount and the linear axis movement amount in each block becomes constant. The interpolating means 3 moves the tool tip point at the commanded speed on the commanded movement path based on the tool direction command, the movement path command and the relative movement speed command corrected by the tool direction command correcting means 2. Interpolation calculation for obtaining the position of each axis is executed for each interpolation cycle. Each axis servo 4X, 4Y, 4Z, 4B (A), 4C axis servo drives each axis motor (each axis motor is omitted) to each axis position calculated by the interpolation means 3.

Figure 2010167516
Figure 2010167516

図12は先願発明の第1の実施形態に示される工具方向指令補正を実行するアルゴリズムを示すフローチャートの例である。このフローチャートでは表1のGaaを読み込んだ後の処理を示している。なお、GaaとGbbの間には少なくとも5ブロックは指令されているとする。以下、各ステップに従って説明する。
[ステップS1]nを1にセットする。[ステップS2]nが1であるか否かを判断する。nが1である場合ステップS9に進み、nが1でない場合ステップS3に進む。[ステップS3]nが2であるか否か判断する。nが2である場合ステップS11に進み、nが2でない場合ステップS4へ進む。[ステップS4]前回読み込んだブロックはGbbであるか否か判断する。Gbbの場合ステップS16へ進み、Gbbでない場合ステップS5へ進む。
FIG. 12 is an example of a flowchart showing an algorithm for executing the tool direction command correction shown in the first embodiment of the prior invention. This flowchart shows processing after reading Gaa in Table 1. It is assumed that at least 5 blocks are commanded between Gaa and Gbb. Hereinafter, it demonstrates according to each step.
[Step S1] n is set to 1. [Step S2] It is determined whether or not n is 1. If n is 1, the process proceeds to step S9. If n is not 1, the process proceeds to step S3. [Step S3] It is determined whether n is 2. If n is 2, the process proceeds to step S11, and if n is not 2, the process proceeds to step S4. [Step S4] It is determined whether or not the previously read block is Gbb. If it is Gbb, the process proceeds to step S16. If it is not Gbb, the process proceeds to step S5.

[ステップS5]nが3であるか否か判断する。nが3である場合ステップS13へ進み、nが3でない場合ステップS6へ進む。[ステップS6]1ブロック読み込む。[ステップS7]読み込んだブロックがGbbであるか否か判断する。Gbbの場合ステップS14に進み、Gbbでない場合ステップS8へ進む。[ステップS8]数5式による工具方向指令の補正を行い、ステップS15へ移行する。[ステップS9]ステップS2でnが1である場合、1ブロック読み込み、ステップS10へ進む。   [Step S5] It is determined whether n is 3. If n is 3, the process proceeds to step S13. If n is not 3, the process proceeds to step S6. [Step S6] One block is read. [Step S7] It is determined whether or not the read block is Gbb. If it is Gbb, the process proceeds to step S14. If it is not Gbb, the process proceeds to step S8. [Step S8] The tool direction command is corrected by equation (5), and the process proceeds to step S15. [Step S9] When n is 1 in step S2, one block is read, and the process proceeds to step S10.

[ステップS10]数3式による工具方向指令の補正を行い、ステップS15へ移行する。[ステップS11]2ブロック読み込み、ステップS12へ進む。[ステップS12]数4式により工具方向指令の補正を行い、ステップS15へ移行する。[ステップS13]2ブロック読み込み、ステップS7へ移行する。[ステップS14]数6式による工具方向指令の補正を行い、ステップS15へ進む。[ステップS15]nに1を加算し、ステップS2へ戻る。[ステップS16]数7式による工具方向指令の補正を行い、終了する。   [Step S10] The tool direction command is corrected by Equation 3 and the process proceeds to Step S15. [Step S11] Read two blocks, and proceed to Step S12. [Step S12] The tool direction command is corrected by the equation (4), and the process proceeds to Step S15. [Step S13] Two blocks are read, and the process proceeds to Step S7. [Step S14] The tool direction command is corrected by the equation (6), and the process proceeds to Step S15. [Step S15] Add 1 to n and return to Step S2. [Step S16] The tool direction command is corrected by equation (7), and the process ends.

図13は先願発明の実施形態を実行する数値制御装置(CNC)100の要部ブロック図である。CPU11は数値制御装置100を全体的に制御するプロセッサである。CPU11は、ROM12に格納されたシステムプログラムをバス20を介して読み出し、該システムプログラムに従って数値制御装置全体を制御する。RAM13には一時的な計算データや表示データ及び表示器/MDIユニット70を介してオペレータが入力した各種データが格納される。   FIG. 13 is a principal block diagram of a numerical controller (CNC) 100 that executes the embodiment of the invention of the prior application. The CPU 11 is a processor that controls the numerical controller 100 as a whole. The CPU 11 reads out a system program stored in the ROM 12 via the bus 20 and controls the entire numerical control device according to the system program. The RAM 13 stores temporary calculation data, display data, and various data input by the operator via the display / MDI unit 70.

CMOSメモリ14は図示しないバッテリでバックアップされ、数値制御装置100の電源がオフされても記憶状態が保持される不揮発性メモリとして構成される。CMOSメモリ14中には、インターフェイス15を介して読み込まれた加工プログラムや表示器/MDIユニット70を介して入力された加工プログラムなどが記憶される。また、ROM12には、加工プログラムの作成及び編集のために必要とされる編集モードの処理や自動運転のための処理を実施するための各種システムプログラムがあらかじめ書き込まれている。   The CMOS memory 14 is configured as a non-volatile memory that is backed up by a battery (not shown) and that retains the memory state even when the numerical controller 100 is turned off. In the CMOS memory 14, a machining program read via the interface 15, a machining program input via the display / MDI unit 70, and the like are stored. The ROM 12 is pre-stored with various system programs for executing processing in an edit mode and processing for automatic operation required for creating and editing a machining program.

CAD/CAM装置や倣い装置などを使って作成した指令点列データおよびベクトル列データを含む加工プログラムがインターフェイス15を介して入力され、CMOSメモリ14に格納されている。先願発明の実施形態の工具方向指令補正モードを有する加工プログラムもCMOSメモリ14に格納されている。   A machining program including command point sequence data and vector sequence data created using a CAD / CAM device or a copying device is input via the interface 15 and stored in the CMOS memory 14. A machining program having a tool direction command correction mode of the embodiment of the prior invention is also stored in the CMOS memory 14.

また、数値制御装置100内で編集した加工プログラムは、インターフェイス15を介して外部記憶装置に記憶させることができる。PMC(プログラマブル・マシン・コントローラ)16は、数値制御装置100に内蔵されたシーケンスプログラムで工作機械の補助装置(例えば、工具交換用のロボットハンドのようなアクチュエータ)にI/Oユニット17を介して信号を出力し制御する。また、工作機械の本体に配備された操作盤75の各種スイッチ等の信号を受け、必要な信号処理をした後、CPU11に渡す。   Further, the machining program edited in the numerical controller 100 can be stored in an external storage device via the interface 15. The PMC (programmable machine controller) 16 is a sequence program built in the numerical control device 100 and is connected to an auxiliary device of a machine tool (for example, an actuator such as a robot hand for tool change) via an I / O unit 17. Output signal and control. In addition, it receives signals from various switches of the operation panel 75 provided in the machine tool body, performs necessary signal processing, and then passes them to the CPU 11.

表示器/MDIユニット70はディスプレイやキーボード等を備えた手動データ入力装置であり、インターフェイス15は表示器/MDIユニット70のキーボードからの指令、データを受けてCPU11に渡す。インターフェイス19は手動パルス発生器などを備えた操作盤75に接続されている。   The display / MDI unit 70 is a manual data input device having a display, a keyboard, and the like. The interface 15 receives commands and data from the keyboard of the display / MDI unit 70 and passes them to the CPU 11. The interface 19 is connected to an operation panel 75 having a manual pulse generator and the like.

各軸の軸制御回路30〜34はCPU11からの各軸の移動指令量を受けて、各軸の指令をサーボアンプ40〜44に出力する。サーボアンプ40〜44はこの指令を受けて、各軸のサーボモータ50〜54を駆動する。各軸のサーボモータ50〜54は位置・速度制御検出器を内蔵し、この位置・速度検出器からの位置・速度フィードバック信号を軸制御回路30〜34にフィードバックし、位置・速度のフィードバック制御を行なう。   The axis control circuits 30 to 34 for each axis receive the movement command amount for each axis from the CPU 11 and output the command for each axis to the servo amplifiers 40 to 44. In response to this command, the servo amplifiers 40 to 44 drive the servo motors 50 to 54 of the respective axes. The servo motors 50 to 54 for each axis have built-in position / speed control detectors. The position / speed feedback signals from the position / speed detectors are fed back to the axis control circuits 30 to 34 for position / speed feedback control. Do.

サーボモータ50〜54は、5軸加工機のX、Y、Z、B(A)、C軸を駆動するものである。また、スピンドル制御回路60は主軸回転指令を受け、スピンドルアンプ61にスピンドル速度信号を出力する。スピンドルアンプ61はスピンドル速度信号を受けて、主軸モータ62を指令された回転速度で回転させる。ポジションコーダ63は、主軸モータ62の回転に同期して帰還パルスをスピンドル制御回路60にフィードバックし、速度制御を行う。
以上のような数値制御装置100によって、図10に示される5軸加工機を駆動制御することができる。
The servo motors 50 to 54 are for driving the X, Y, Z, B (A), and C axes of the 5-axis processing machine. The spindle control circuit 60 receives a spindle rotation command and outputs a spindle speed signal to the spindle amplifier 61. The spindle amplifier 61 receives the spindle speed signal and rotates the spindle motor 62 at the commanded rotational speed. The position coder 63 feeds back a feedback pulse to the spindle control circuit 60 in synchronization with the rotation of the spindle motor 62 to perform speed control.
The numerical control device 100 as described above can drive and control the 5-axis processing machine shown in FIG.

次に、本発明の数値制御装置の実施形態を図面と共に説明する。
先願発明の数値制御装置Aに、加工プログラムの各ブロックにおいて最適な工具方向と元の工具方向との差(以下、「理想補正量」という)を計算し、理想補正量の度数分布を作成して出力する機能を付加する。また、必要に応じて理想補正量の度数分布の統計量(最小値、最大値、平均値、分散など)も計算し出力する機能、実際の補正量の度数分布を作成して出力する機能を付加したり、実際の補正量の度数分布の統計量(最小値、最大値、平均値、分散など)も計算し出力する機能を付加してもよい。なお、本発明における数値制御装置Aを以降、数値制御装置Bという。
Next, an embodiment of a numerical controller of the present invention will be described with reference to the drawings.
Calculate the difference between the optimal tool direction and the original tool direction in each block of the machining program (hereinafter referred to as "ideal correction amount") in the numerical control device A of the prior invention, and create a frequency distribution of the ideal correction amount Added to the output function. In addition, a function for calculating and outputting the frequency distribution statistics (minimum value, maximum value, average value, variance, etc.) of the ideal correction amount as needed, and a function for creating and outputting the frequency distribution of the actual correction amount A function of calculating and outputting a frequency distribution statistic (minimum value, maximum value, average value, variance, etc.) of the actual correction amount may be added. The numerical control device A in the present invention is hereinafter referred to as a numerical control device B.

作業者はこれらの情報や機械構成の情報などを元に適切な許容補正量を設定することができる。ここで機械構成の情報について説明する。許容補正量は大きい方が補正がかかり易いため、大きい値の方が望ましい。一般的に、許容補正量が大きいと実際にかかる補正量も大きくなる。機械によっては工具方向に大きな補正をかけると工具が治具やワークに干渉してしまう場合がある。作業者は、加工プログラム中の工具方向が治具やワークに干渉するまでの余裕を考慮してそれが許す限りのできるだけ大きい値を指定するのが望ましい。つまり、機械構成の情報とは、端的には、加工プログラム中において工具が治具やワークに干渉するまでに、工具方向にどれほど変化可能な余裕があるかという情報である。   An operator can set an appropriate allowable correction amount based on such information and machine configuration information. Here, the machine configuration information will be described. Since a larger allowable correction amount is more likely to be corrected, a larger value is desirable. Generally, when the allowable correction amount is large, the correction amount actually applied also increases. Depending on the machine, if a large correction is applied in the tool direction, the tool may interfere with the jig or workpiece. It is desirable for the operator to specify as large a value as possible, considering the allowance until the tool direction in the machining program interferes with the jig or workpiece. That is, the machine configuration information is simply information on how much the tool direction can be changed before the tool interferes with the jig or the workpiece in the machining program.

理想補正量のばらつきが大きい場合、全てのブロックを最適な工具方向に十分近づけるためには、許容補正量に非常に大きな値を設定しなければならなくなる。そのため、本発明において数値制御装置Bは、理想補正量の度数分布において、累積相対度数が指定された値(0.0以上1.0以下)になる補正量の値(以下、「推奨補正量」という)を出力する。例えば累積相対度数が0.9の場合の推奨補正量を許容補正量に設定することで、加工プログラム全体の90%のブロックにおいて、補正後の工具方向が最適な工具方向に十分に近づく。作業者は、これらの情報と機械構成の情報を元に適切な許容補正量を設定することができる。また、数値制御装置Bの計算した推奨補正量を自動で許容補正量として設定することもできる。   When the variation of the ideal correction amount is large, it is necessary to set a very large value for the allowable correction amount in order to bring all the blocks sufficiently close to the optimum tool direction. Therefore, in the present invention, the numerical controller B has a correction amount value (hereinafter referred to as “recommended correction amount”) in which the cumulative relative frequency becomes a specified value (0.0 to 1.0) in the frequency distribution of the ideal correction amount. Is output). For example, by setting the recommended correction amount when the cumulative relative frequency is 0.9 as the allowable correction amount, the corrected tool direction is sufficiently close to the optimal tool direction in 90% of the blocks of the entire machining program. The operator can set an appropriate allowable correction amount based on the information and the machine configuration information. Further, the recommended correction amount calculated by the numerical controller B can be automatically set as the allowable correction amount.

本発明において数値制御装置Bは、補正後の工具方向と元の工具方向との差である実際の補正量の度数分布表または度数分布図も出力する機能を付加することにより、工具方向の補正がどのように施されたかを確認することができる。   In the present invention, the numerical controller B corrects the tool direction by adding a function of outputting a frequency distribution table or frequency distribution diagram of the actual correction amount, which is the difference between the corrected tool direction and the original tool direction. It can be confirmed how was applied.

前述した表1は加工プログラムにおけるプログラム指令例である。ここでは、Gaaが工具方向指令補正モード、Gbbが工具方向指令補正モード解除を指令するGコードである。GaaからGbbの間は10ブロックの指令の例としているが、ブロック数に制限はない。X、Y、Zは直線3軸を表し、B、Cは回転2軸を示す。各軸位置指令はアブソリュート指令としている。また、回転軸2軸をB軸、C軸で表しているが他の軸名称、例えば、A、B軸、あるいはA、C軸であっても同様である。   Table 1 described above is an example of a program command in the machining program. Here, Gaa is a tool direction command correction mode, and Gbb is a G code for instructing to release the tool direction command correction mode. An example of a command of 10 blocks is given between Gaa and Gbb, but the number of blocks is not limited. X, Y, and Z represent three linear axes, and B and C represent two rotational axes. Each axis position command is an absolute command. Further, although the two rotation axes are represented by the B axis and the C axis, the same applies to other axis names such as the A and B axes or the A and C axes.

数値制御装置Bは、Gaaを読み込んで工具方向指令補正モードに入り、Gbbを読み込んで工具方向指令補正モードが解除されるまでの間、読み込んだ各ブロックにおいて、最適な工具方向を計算する。また、指定された補正許容量に基づいて、準最適な工具方向も計算する。各ブロックの工具方向をアドレスB、Cの値の組で表し、Vn(Pbn、Pcn)(n=1〜10)とする。数値制御装置Bの計算した各ブロックでの工具方向Vnに対応する最適な工具方向をVn’(Pbn’、Pcn’)(n=1〜10)とし、準最適な工具方向をVn’’(Pbn’’、Pcn’’)(n=1〜10)とする。   The numerical controller B reads Gaa and enters the tool direction command correction mode, and calculates the optimum tool direction in each read block until Gbb is read and the tool direction command correction mode is canceled. Also, a sub-optimal tool direction is calculated based on the specified correction allowance. The tool direction of each block is represented by a set of values of addresses B and C, and is assumed to be Vn (Pbn, Pcn) (n = 1 to 10). The optimum tool direction corresponding to the tool direction Vn in each block calculated by the numerical controller B is Vn ′ (Pbn ′, Pcn ′) (n = 1 to 10), and the suboptimal tool direction is Vn ″ ( Pbn ″, Pcn ″) (n = 1 to 10).

数値制御装置Bは、次のように各ブロックの理想補正量βn’、γn’を計算し、それを度数分布表(図14参照)にまとめる。
1)βn’=|Pbn’―Pbn|、γn’=|Pcn’―Pcn|(n=1〜10)を計算する。
2)βn’(n=1〜10)を元に、B軸の理想補正量の度数分布表を作成する。
3)γn’(n=1〜10)を元に、C軸の理想補正量の度数分布表を作成する。
数値制御装置Bは、作成した度数分布表に基づき各統計量を計算する。
4)B軸、C軸の理想補正量の度数分布表それぞれの平均値、最大値、最小値を計算する。
5)B軸、C軸の理想補正量の度数分布表において、指定された累積相対度数となる理想補正量の値を計算する。
また、数値制御装置Bは次のように各ブロックでの実際の補正量を計算し、それを度数分布表にまとめる。
6)βn’’=|Pbn’’―Pbn|、γn’’=|Pcn’’―Pcn|(n=1〜10)を計算する。
7)βn’’(n=1〜10)を元に、B軸の実際の補正量の度数分布表を作成する。
8)γn’’(n=1〜10)を元に、C軸の実際の補正量の度数分布表を作成する。
The numerical controller B calculates ideal correction amounts βn ′ and γn ′ for each block as follows and summarizes them in a frequency distribution table (see FIG. 14).
1) βn ′ = | Pbn′−Pbn | and γn ′ = | Pcn′−Pcn | (n = 1 to 10) are calculated.
2) Based on βn ′ (n = 1 to 10), a frequency distribution table of ideal correction amounts for the B axis is created.
3) Based on γn ′ (n = 1 to 10), a frequency distribution table of ideal correction amounts for the C axis is created.
The numerical controller B calculates each statistic based on the created frequency distribution table.
4) Calculate the average value, maximum value, and minimum value of the frequency distribution table of the ideal correction amount for the B-axis and C-axis.
5) In the frequency distribution table of ideal correction amounts on the B axis and C axis, the value of the ideal correction amount that becomes the specified cumulative relative frequency is calculated.
Further, the numerical control device B calculates the actual correction amount in each block as follows, and summarizes it in the frequency distribution table.
6) βn ″ = | Pbn ″ −Pbn | and γn ″ = | Pcn ″ −Pcn | (n = 1 to 10) are calculated.
7) Based on βn ″ (n = 1 to 10), a frequency distribution table of actual correction amounts for the B axis is created.
8) Based on γn ″ (n = 1 to 10), a frequency distribution table of the actual correction amount of the C axis is created.

図14は、本発明における理想補正量の度数分布表を説明する図である。横軸は補正量(角度)であり、縦軸は各補正量に対応した工具方向指令の数である。横軸は0.1度刻みで工具方向指数の数の度数分布を示している。図14では0.7度までの範囲で工具方向の補正が行われることを示している。図14では補正量が大きくなるに従って工具方向指令の数は減少している。   FIG. 14 is a diagram for explaining a frequency distribution table of ideal correction amounts according to the present invention. The horizontal axis is the correction amount (angle), and the vertical axis is the number of tool direction commands corresponding to each correction amount. The horizontal axis shows the frequency distribution of the number of tool direction indices in increments of 0.1 degrees. FIG. 14 shows that the tool direction is corrected within a range of 0.7 degrees. In FIG. 14, the number of tool direction commands decreases as the correction amount increases.

図15は、ファンクションキーを押して度数分布のデータを外部装置に出力することを説明する図である。符号70は数値制御装置Bが備える入力装置付き表示装置の概略図である。
キーボード73は数字キー、アルファベットキーなどを備えている。累積相対度数(%)を入力するためにプロンプト74が表示画面71に表示される。外部装置は例えばパーソナルコンピュータのように度数分布のデータを記憶する記憶手段と度数分布を表示する表示装置を備えている。
例えば、ファンクションキー72の「F5」に、工具方向指令の何パーセントを十分に補正したいかを作業者が設定する命令が割り当てられている。キーボード73の数字キーで入力した値はプロンプト74に表示され、F5を押して数値を設定することができる。また、ファンクションキー72の「F6」に度数分布のデータを外部装置(図示省略)に出力する命令が割り当てられ、F6を押して度数分布のデータを外部装置に送信することができる。
FIG. 15 is a diagram for explaining that frequency function data is output to an external device by pressing a function key. Reference numeral 70 is a schematic diagram of a display device with an input device included in the numerical controller B.
The keyboard 73 includes numeric keys, alphabet keys, and the like. A prompt 74 is displayed on the display screen 71 to input the cumulative relative frequency (%). The external device includes storage means for storing frequency distribution data and a display device for displaying the frequency distribution, such as a personal computer.
For example, an instruction for the operator to set what percentage of the tool direction command to sufficiently correct is assigned to “F5” of the function key 72. The value entered with the numeric keys of the keyboard 73 is displayed at the prompt 74, and the value can be set by pressing F5. Further, an instruction to output frequency distribution data to an external device (not shown) is assigned to “F6” of the function key 72, and the frequency distribution data can be transmitted to the external device by pressing F6.

図16は、図15においてプロンプトに50%を入力しファンクションキーのF5により設定したとき、0.2度までの累積度数が全体分布の50%を超え、0.2度が許容補正量として自動的に設定されることを示している。本発明の数値制御装置Bは、許容補正量を何度にすればその許容補正量と同値の補正値までの累積度数が度数分布全体の指定された割合を超えるか最小値を計算し、その値を最適な許容補正量として自動設定する機能を有する。   FIG. 16 shows that when 50% is input to the prompt in FIG. 15 and is set by F5 of the function key, the cumulative frequency up to 0.2 degrees exceeds 50% of the entire distribution, and 0.2 degrees is automatically set as the allowable correction amount. It is shown that it is set automatically. The numerical control device B according to the present invention calculates the minimum value or the cumulative frequency up to the correction value equal to the allowable correction amount exceeds the specified ratio of the entire frequency distribution if the allowable correction amount is any number. It has a function of automatically setting a value as an optimum allowable correction amount.

図17は、理想補正量の累積度数分布を表すグラフである。このグラフは図14に示される理想補正量の度数分布を元にして求められる。横軸は補正量、0.1度刻みの所定補正量毎の工具方向指令の数を縦軸としている。図18は、理想補正量の累積相対度数分布を表すグラフである。図17に示される累積度数分布のグラフを元に縦軸として0から1.0の累積相対度数で表す。   FIG. 17 is a graph showing the cumulative frequency distribution of ideal correction amounts. This graph is obtained based on the frequency distribution of the ideal correction amount shown in FIG. The horizontal axis represents the correction amount and the number of tool direction commands for each predetermined correction amount in increments of 0.1 degrees. FIG. 18 is a graph showing the cumulative relative frequency distribution of the ideal correction amount. Based on the graph of the cumulative frequency distribution shown in FIG. 17, the vertical axis represents the cumulative relative frequency from 0 to 1.0.

次に、本発明の処理のアルゴリズムのフローチャートを説明する。この処理は図13に示される数値制御装置のプロセッサ(CPU)で実行される。
図19および図20は、毎回ブロックを補正する度に補正量の度数分布を更新し度数分布の統計量を計算し直す処理のアルゴリズムを示すフローチャートである。このフローチャートでは、毎回ブロックを補正する度に補正量の度数分布を更新し、度数分布の統計量を計算しなおす。このフローチャートではどの時点で中断しても、それまでのブロックの度数分布の統計量を知ることができる。また、このフローチャートでは表1のGaaを読み込んだ後の処理を示している。なお、GaaとGbbの間には少なくとも5ブロックは指令されているとする。以下、各ステップに従って説明する。
Next, a flowchart of the processing algorithm of the present invention will be described. This process is executed by the processor (CPU) of the numerical controller shown in FIG.
FIG. 19 and FIG. 20 are flowcharts showing an algorithm of processing for updating the frequency distribution of the correction amount and recalculating the statistical amount of the frequency distribution every time the block is corrected. In this flowchart, every time a block is corrected, the frequency distribution of the correction amount is updated, and the statistics of the frequency distribution are recalculated. In this flowchart, the statistics of the frequency distribution of the blocks up to that point can be known at any time. Further, this flowchart shows processing after reading Gaa in Table 1. It is assumed that at least 5 blocks are commanded between Gaa and Gbb. Hereinafter, it demonstrates according to each step.

●[ステップSA1]nを1にセットする。ここでnは工具方向指令の数に対応する。
●[ステップSA2]nが1であるか否かを判断する。nが1である場合ステップSA9に進み、nが1でない場合ステップSA3に進む。
●[ステップSA3]nが2であるか否か判断する。nが2である場合ステップSA11に進み、nが2でない場合ステップSA4へ進む。
●[ステップSA4]前回読み込んだブロックはGbbであるか否か判断する。Gbbの場合ステップSA20へ進み、Gbbでない場合ステップSA5へ進む。
[Step SA1] n is set to 1. Here, n corresponds to the number of tool direction commands.
[Step SA2] It is determined whether or not n is 1. If n is 1, the process proceeds to step SA9, and if n is not 1, the process proceeds to step SA3.
[Step SA3] It is determined whether n is 2. If n is 2, the process proceeds to step SA11. If n is not 2, the process proceeds to step SA4.
[Step SA4] It is determined whether or not the previously read block is Gbb. If it is Gbb, the process proceeds to Step SA20. If it is not Gbb, the process proceeds to Step SA5.

●[ステップSA5]nが3であるか否か判断する。nが3である場合ステップSA13へ進み、nが3でない場合ステップSA6へ進む。
●[ステップSA6]1ブロック読み込む。
●[ステップSA7]読み込んだブロックがGbbであるか否か判断する。Gbbの場合ステップSA14に進み、Gbbでない場合ステップSA8へ進む。
●[ステップSA8]数5式による工具方向指令の補正を行い、ステップSA15へ進む。
●[ステップSA9]ステップSA2でnが1である場合、1ブロック読み込み、ステップSA10へ進む。
[Step SA5] It is determined whether n is 3. If n is 3, the process proceeds to step SA13. If n is not 3, the process proceeds to step SA6.
[Step SA6] One block is read.
[Step SA7] It is determined whether or not the read block is Gbb. If it is Gbb, the process proceeds to Step SA14, and if it is not Gbb, the process proceeds to Step SA8.
[Step SA8] The tool direction command is corrected by the equation (5), and the process proceeds to Step SA15.
[Step SA9] When n is 1 in Step SA2, one block is read, and the process proceeds to Step SA10.

●[ステップSA10]数3式による工具方向指令の補正を行い、ステップSA15へ進む。
●[ステップSA11]2ブロック読み込み、ステップSA12へ進む。
●[ステップSA12]数4式により工具方向指令の補正を行い、ステップSA15へ移行する。
●[ステップSA13]2ブロック読み込み、ステップSA7へ移行する。
●[ステップSA14]数6式による工具方向指令の補正を行い、ステップSA15へ進む。
[Step SA10] The tool direction command is corrected by the equation (3), and the process proceeds to Step SA15.
[Step SA11] Two blocks are read, and the process proceeds to Step SA12.
[Step SA12] The tool direction command is corrected by the equation (4), and the process proceeds to Step SA15.
[Step SA13] Two blocks are read, and the process proceeds to Step SA7.
[Step SA14] The tool direction command is corrected by Equation 6 and the process proceeds to Step SA15.

●[ステップSA15]nに1を加算する。
●[ステップSA16]許容範囲の設定値を読み込む。
●[ステップSA17]工具方向指令の理想補正量はステップSA16で読み込んだ予め設定された許容範囲内であるか否か判断し、許容範囲内の場合にはステップSA19へ進み、許容範囲外であればステップSA18へ進む。
●[ステップSA18]準最適な工具方向を計算する。
●[ステップSA19]今回計算された元の工具方向、最適な工具方向、および準最適な工具方向のデータを用いて、理想補正量、実際の補正量を求め、メモリに記憶する。理想補正量と実際の補正量について所定補正量毎の度数分布、累積度数分布を更新する。各度数分布の統計量を再計算し、メモリに記憶し、ステップSA2へ移行する。
●[ステップSA20]数7式による工具方向指令の補正を行い、終了する。
[Step SA15] 1 is added to n.
[Step SA16] The set value of the allowable range is read.
[Step SA17] It is determined whether or not the ideal correction amount of the tool direction command is within the preset allowable range read in Step SA16. If it is within the allowable range, the process proceeds to Step SA19 and is outside the allowable range. If so, the process proceeds to step SA18.
[Step SA18] A sub-optimal tool direction is calculated.
[Step SA19] Using the original tool direction, the optimum tool direction, and the suboptimal tool direction data calculated this time, the ideal correction amount and the actual correction amount are obtained and stored in the memory. The frequency distribution and cumulative frequency distribution for each predetermined correction amount are updated for the ideal correction amount and the actual correction amount. The statistics of each frequency distribution are recalculated, stored in the memory, and the process proceeds to step SA2.
[Step SA20] The tool direction command is corrected by the equation (7), and the process ends.

ここで、ステップSA19の処理について説明する。元の工具方向は、工具方向指令によって指令される工具補正を行う前の工具方向である。最適な工具方向は、数3式から数6式により工具方向指令が補正された工具方向である。準最適な工具方向は、予め設定された許容範囲内で工具方向の補正を行う場合の工具方向である。準最適な工具方向は例えば、最適な工具方向が許容範囲を超える場合には許容範囲の限度の補正量で制限した工具方向とする演算によって求める。
また、許容範囲を実質的に制限しない、または、予め設定しないようにし、最適な工具方向に関する理想補正量の算出と理想補正量の度数分布を求め、実際の補正量に関する度数分布を求めない処理の形態もある。
なお、理想補正量と実際の補正量の算出方法は前述したとおりである。
Here, the process of step SA19 will be described. The original tool direction is the tool direction before performing the tool correction commanded by the tool direction command. The optimum tool direction is the tool direction in which the tool direction command is corrected by the formulas 3 to 6. The quasi-optimal tool direction is the tool direction when the tool direction is corrected within a preset allowable range. For example, when the optimum tool direction exceeds the allowable range, the sub-optimal tool direction is obtained by calculation with the tool direction limited by the correction amount at the limit of the allowable range.
In addition, processing that does not substantially limit the allowable range or does not set in advance, calculates the ideal correction amount for the optimal tool direction and obtains the frequency distribution of the ideal correction amount, and does not calculate the frequency distribution for the actual correction amount There are also forms.
The calculation method of the ideal correction amount and the actual correction amount is as described above.

図21および図22は、指定したmブロックを読み込むまで補正量度数分布を更新し指定したmブロックを読み込んだ時点で度数分布の統計量を計算し、それ以降は度数分布の更新をしない処理のアルゴリズムを示すフローチャートである。
このフローチャートでは、Gaaを読み込んだ後、指定したmブロックを読み込むまで補正量度数分布を更新し、mブロックを読み込んだ時点で度数分布の統計量を計算し、それ以降は度数分布の更新を行わない例である。このフローチャートでは毎ブロックでの統計量の計算は行わないため、図19および図20に示されるフローチャートに比較して毎回の計算量が少なく済み、統計量の計算を行うブロック数mを設定できる効果がある。
また、このフローチャートでは表1のGaaを読み込んだ後の処理を示している。なお、GaaとGbbの間には少なくとも5ブロックは指令されているとする。以下、各ステップに従って説明する。
FIG. 21 and FIG. 22 show processing for updating the correction amount frequency distribution until the designated m block is read, calculating the statistics of the frequency distribution when the designated m block is read, and thereafter not updating the frequency distribution. It is a flowchart which shows an algorithm.
In this flowchart, after Gaa is read, the correction amount frequency distribution is updated until the designated m block is read, and the frequency distribution statistic is calculated when the m block is read, and thereafter the frequency distribution is updated. There is no example. In this flowchart, since the calculation of statistics is not performed for each block, the calculation amount for each block can be reduced as compared with the flowcharts shown in FIGS. 19 and 20, and the number m of blocks for calculating statistics can be set. There is.
Further, this flowchart shows processing after reading Gaa in Table 1. It is assumed that at least 5 blocks are commanded between Gaa and Gbb. Hereinafter, it demonstrates according to each step.

●[ステップSB1]nを1にセットする。ここでnは工具方向指令の数に対応する。
●[ステップSB2]nが1であるか否かを判断する。nが1である場合ステップSB9に進み、nが1でない場合ステップSB3に進む。
●[ステップSB3]nが2であるか否か判断する。nが2である場合ステップSB11に進み、nが2でない場合ステップSB4へ進む。
●[ステップSB4]前回読み込んだブロックはGbbであるか否か判断する。Gbbの場合ステップSB24へ進み、Gbbでない場合ステップSB5へ進む。
[Step SB1] n is set to 1. Here, n corresponds to the number of tool direction commands.
[Step SB2] It is determined whether or not n is 1. If n is 1, the process proceeds to step SB9, and if n is not 1, the process proceeds to step SB3.
[Step SB3] It is determined whether n is 2. If n is 2, the process proceeds to step SB11. If n is not 2, the process proceeds to step SB4.
[Step SB4] It is determined whether or not the previously read block is Gbb. If it is Gbb, the process proceeds to Step SB24, and if it is not Gbb, the process proceeds to Step SB5.

●[ステップSB5]nが3であるか否か判断する。nが3である場合ステップSB13へ進み、nが3でない場合ステップSB6へ進む。
●[ステップSB6]1ブロック読み込む。
●[ステップSB7]読み込んだブロックがGbbであるか否か判断する。Gbbの場合ステップSB14に進み、Gbbでない場合ステップSB8へ進む。
●[ステップSB8]数5式による工具方向指令の補正を行い、ステップSB15へ進む。
●[ステップSB9]ステップSB2でnが1である場合、1ブロック読み込み、ステップSB10へ進む。
[Step SB5] It is determined whether n is 3. If n is 3, the process proceeds to step SB13. If n is not 3, the process proceeds to step SB6.
[Step SB6] One block is read.
[Step SB7] It is determined whether or not the read block is Gbb. If it is Gbb, the process proceeds to step SB14. If it is not Gbb, the process proceeds to step SB8.
[Step SB8] The tool direction command is corrected by the equation (5), and the process proceeds to Step SB15.
[Step SB9] When n is 1 in Step SB2, 1 block is read, and the process proceeds to Step SB10.

●[ステップSB10]数3式による工具方向指令の補正を行い、ステップSB15へ進む。
●[ステップSB11]2ブロック読み込み、ステップSB12へ進む。
●[ステップSB12]数4式により工具方向指令の補正を行い、ステップSB15へ移行する。
●[ステップSB13]2ブロック読み込み、ステップSB7へ移行する。
●[ステップSB14]数6式による工具方向指令の補正を行い、ステップSB15へ進む。
●[ステップSB15]nに1を加算する。
[Step SB10] The tool direction command is corrected by Equation 3 and the process proceeds to Step SB15.
[Step SB11] Two blocks are read, and the process proceeds to Step SB12.
[Step SB12] The tool direction command is corrected by the equation (4), and the process proceeds to Step SB15.
[Step SB13] Two blocks are read, and the process proceeds to Step SB7.
[Step SB14] The tool direction command is corrected by the equation (6), and the process proceeds to Step SB15.
[Step SB15] 1 is added to n.

●[ステップSB16]許容範囲の設定値を読み込む。
●[ステップSB17]mを読み込む。mは何ブロック読み込んだら度数分布の統計量の計算を実行するかを設定する数値である。
●[ステップSB18]工具方向指令の理想補正量はステップSB16で読み込んだ予め設定された許容範囲内であるか否か判断し、許容範囲内の場合にはステップSB20へ進み、許容範囲外であればステップSB19へ進む。
●[ステップSB19]準最適な工具方向を計算する。
●[ステップSB20]nはm+1より大きいか否か判断し、大きい場合にはステップSB2へ進み、大きくない場合にはステップSB21へ進む。
●[ステップSB21]今回計算された元の工具方向、最適な工具方向、および準最適な工具方向のデータを用いて、理想補正量、実際の補正量を求め、メモリに記憶する。理想補正量と実際の補正量について所定補正量毎の度数分布、累積度数分布を更新する。
●[ステップSB22]nはm+1であるか否か判断し、nがm+1でない場合にはステップSB2へ進み、nがm+1である場合にはステップSB23へ進む。
●[ステップSB23]各度数分布の統計量を計算する。
●[ステップSB24]数7式による工具方向指令の補正を行い、終了する。
[Step SB16] The set value of the allowable range is read.
[Step SB17] m is read. m is a numerical value for setting how many blocks are read before calculating the statistics of the frequency distribution.
[Step SB18] It is determined whether or not the ideal correction amount of the tool direction command is within the preset allowable range read in Step SB16. If the ideal correction amount is within the allowable range, the process proceeds to Step SB20. If so, the process proceeds to step SB19.
[Step SB19] A sub-optimal tool direction is calculated.
[Step SB20] It is determined whether or not n is larger than m + 1. If larger, the process proceeds to Step SB2, and if not larger, the process proceeds to Step SB21.
[Step SB21] Using the original tool direction, optimum tool direction, and suboptimal tool direction data calculated this time, the ideal correction amount and the actual correction amount are obtained and stored in the memory. The frequency distribution and cumulative frequency distribution for each predetermined correction amount are updated for the ideal correction amount and the actual correction amount.
[Step SB22] It is determined whether or not n is m + 1. If n is not m + 1, the process proceeds to step SB2, and if n is m + 1, the process proceeds to step SB23.
[Step SB23] The statistics of each frequency distribution are calculated.
[Step SB24] The tool direction command is corrected according to Equation 7, and the process ends.

ここで、ステップSB21の処理について説明する。元の工具方向は、工具方向指令によって指令される工具補正を行う前の工具方向である。最適な工具方向は、数3式から数6式により工具方向指令が補正された工具方向である。準最適な工具方向は、予め設定された許容範囲内で工具方向の補正を行う場合の工具方向である。準最適な工具方向は例えば、最適な工具方向が許容範囲を超える場合には許容範囲の限度の補正量で制限した工具方向とする演算によって求める。またステップSB23の各度数分布とは、理想補正量の度数分布、実際の補正量の度数分布である。   Here, the process of step SB21 will be described. The original tool direction is the tool direction before performing the tool correction commanded by the tool direction command. The optimum tool direction is the tool direction in which the tool direction command is corrected by the formulas 3 to 6. The quasi-optimal tool direction is the tool direction when the tool direction is corrected within a preset allowable range. For example, when the optimum tool direction exceeds the allowable range, the sub-optimal tool direction is obtained by calculation with the tool direction limited by the correction amount at the limit of the allowable range. Each frequency distribution in step SB23 is a frequency distribution of ideal correction amounts and a frequency distribution of actual correction amounts.

図23および図24は、プログラムの終了時に度数分布の統計量を計算する処理のアルゴリズムを示すフローチャートである。このフローチャートでは、加工プログラムの終了時に度数分布の統計量を計算する。毎ブロックの統計量を計算する場合に比較して処理が少なく済む効果がある。なお、表1のGaaを読み込んだ後の工具方向指令が読み込まれた後の処理を示している。以下、各ステップに従って説明する。   FIG. 23 and FIG. 24 are flowcharts showing an algorithm of processing for calculating the statistics of the frequency distribution at the end of the program. In this flowchart, the statistics of the frequency distribution are calculated at the end of the machining program. Compared with the case of calculating the statistics for each block, there is an effect that processing is reduced. In addition, the process after the tool direction command after reading Gaa of Table 1 is read is shown. Hereinafter, it demonstrates according to each step.

●[ステップSC1]nを1にセットする。ここでnは工具方向指令の数に対応する。
●[ステップSC2]nが1であるか否かを判断する。nが1である場合ステップSC9に進み、nが1でない場合ステップSC3に進む。
●[ステップSC3]nが2であるか否か判断する。nが2である場合ステップSC11に進み、nが2でない場合ステップSC4へ進む。
●[ステップSC4]前回読み込んだブロックはGbbであるか否か判断する。Gbbの場合ステップSC20へ進み、Gbbでない場合ステップSC5へ進む。
[Step SC1] n is set to 1. Here, n corresponds to the number of tool direction commands.
[Step SC2] It is determined whether or not n is 1. If n is 1, the process proceeds to step SC9. If n is not 1, the process proceeds to step SC3.
[Step SC3] It is determined whether n is 2. If n is 2, the process proceeds to step SC11. If n is not 2, the process proceeds to step SC4.
[Step SC4] It is determined whether or not the previously read block is Gbb. If it is Gbb, the process proceeds to step SC20. If it is not Gbb, the process proceeds to step SC5.

●[ステップSC5]nが3であるか否か判断する。nが3である場合ステップSC13へ進み、nが3でない場合ステップSC6へ進む。
●[ステップSC6]1ブロック読み込む。
●[ステップSC7]読み込んだブロックがGbbであるか否か判断する。Gbbの場合ステップSC14に進み、Gbbでない場合ステップSC8へ進む。
●[ステップSC8]数5式による工具方向指令の補正を行い、ステップSC15へ進む。
●[ステップSC9]ステップSC2でnが1である場合、1ブロック読み込み、ステップSC10へ進む。
[Step SC5] It is determined whether n is 3. If n is 3, the process proceeds to step SC13. If n is not 3, the process proceeds to step SC6.
[Step SC6] One block is read.
[Step SC7] It is determined whether or not the read block is Gbb. If it is Gbb, the process proceeds to step SC14. If it is not Gbb, the process proceeds to step SC8.
[Step SC8] The tool direction command is corrected by the equation (5), and the process proceeds to Step SC15.
[Step SC9] If n is 1 in step SC2, read one block and proceed to step SC10.

●[ステップSC10]数3式による工具方向指令の補正を行い、ステップSC15へ進む。
●[ステップSC11]2ブロック読み込み、ステップSC12へ進む。
●[ステップSC12]数4式により工具方向指令の補正を行い、ステップSC15へ移行する。
●[ステップSC13]2ブロック読み込み、ステップSC7へ移行する。
●[ステップSC14]数6式による工具方向指令の補正を行い、ステップSC15へ進む。
●[ステップSC15]nに1を加算する。
[Step SC10] The tool direction command is corrected by the equation (3), and the process proceeds to Step SC15.
[Step SC11] Read two blocks, and proceed to Step SC12.
[Step SC12] The tool direction command is corrected by the equation (4), and the process proceeds to Step SC15.
[Step SC13] Two blocks are read, and the process proceeds to Step SC7.
[Step SC14] The tool direction command is corrected by the equation (6), and the process proceeds to Step SC15.
[Step SC15] 1 is added to n.

●[ステップSC16]許容範囲の設定値を読み込む。
●[ステップSC17]工具方向指令の理想補正量はステップSC16で読み込んだ予め設定された許容範囲内であるか否か判断し、許容範囲内の場合にはステップSC19へ進み、許容範囲外であればステップSC18へ進む。
●[ステップSC18]準最適な工具方向を計算する。
●[ステップSC19]今回計算された元の工具方向、最適な工具方向、および準最適な工具方向のデータを用いて、理想補正量、実際の補正量を求め、メモリに記憶する。理想補正量と実際の補正量について所定補正量毎の度数分布、累積度数分布を更新する。
●[ステップSC20]数7式による工具方向指令の補正を行い、ステップSC21へ進む。
●[ステップSC21]ステップSC19の各度数分布の統計量を計算し、終了する。
[Step SC16] The set value of the allowable range is read.
[Step SC17] It is determined whether or not the ideal correction amount of the tool direction command is within the preset allowable range read in Step SC16. If the ideal correction amount is within the allowable range, the process proceeds to Step SC19. If so, the process proceeds to step SC18.
[Step SC18] A sub-optimal tool direction is calculated.
[Step SC19] Using the original tool direction, optimum tool direction, and sub-optimal tool direction data calculated this time, an ideal correction amount and an actual correction amount are obtained and stored in the memory. The frequency distribution and cumulative frequency distribution for each predetermined correction amount are updated for the ideal correction amount and the actual correction amount.
[Step SC20] The tool direction command is corrected by the equation (7), and the process proceeds to Step SC21.
[Step SC21] The statistics of each frequency distribution in step SC19 are calculated, and the process ends.

ここで、ステップSC19の処理について説明する。元の工具方向は、工具方向指令によって指令される工具補正を行う前の工具方向である。最適な工具方向は、数3式から数6式により工具方向指令が補正された工具方向である。準最適な工具方向は、予め設定された許容範囲内で工具方向の補正を行う場合の工具方向である。準最適な工具方向は例えば、最適な工具方向が許容範囲を超える場合には許容範囲の限度の補正量で制限した工具方向とする演算によって求める。   Here, the process of step SC19 will be described. The original tool direction is the tool direction before performing the tool correction commanded by the tool direction command. The optimum tool direction is the tool direction in which the tool direction command is corrected by the formulas 3 to 6. The quasi-optimal tool direction is the tool direction when the tool direction is corrected within a preset allowable range. For example, when the optimum tool direction exceeds the allowable range, the sub-optimal tool direction is obtained by calculation with the tool direction limited by the correction amount at the limit of the allowable range.

また、許容範囲を実質的に制限しない、または、予め設定しないようにし、最適な工具方向に関する理想補正量の算出と理想補正量の度数分布を求め、実際の補正量に関する度数分布を求めない処理の形態もある。なお、理想補正量と実際の補正量の算出方法は前述したとおりである。   In addition, processing that does not substantially limit the allowable range or does not set in advance, calculates the ideal correction amount for the optimal tool direction and obtains the frequency distribution of the ideal correction amount, and does not calculate the frequency distribution for the actual correction amount There are also forms. The calculation method of the ideal correction amount and the actual correction amount is as described above.

なお、上述のフローチャートで「n」の積算は工具方向指令の数を累積する累積手段に対応する。図15に示されるプロンプト74への累積度数の割合の入力は、工具指令の数に対する割合を指定する割合指定手段に対応する。累積度数分布は、所定補正量毎の工具方向指令の数を累積することにより求めることができる。プロンプト74から入力された値に対応する累積度数を求めることは工具方向指令の理想補正量を取得する取得手段に対応する。許容範囲として設定する設定手段は前記取得手段により取得された値を数値制御装置のメモリに格納される。   In the above flowchart, “n” integration corresponds to an accumulating unit that accumulates the number of tool direction commands. The input of the ratio of the cumulative frequency to the prompt 74 shown in FIG. 15 corresponds to a ratio specifying means for specifying a ratio with respect to the number of tool commands. The cumulative frequency distribution can be obtained by accumulating the number of tool direction commands for each predetermined correction amount. Obtaining the cumulative frequency corresponding to the value input from the prompt 74 corresponds to an acquisition unit that acquires the ideal correction amount of the tool direction command. The setting means for setting as the allowable range stores the value acquired by the acquisition means in the memory of the numerical controller.

1 指令読み取り手段
2 工具方向指令補正手段
3 補間手段
4X、4Y、4Z、4B(A)、4C 各軸サーボ
70 表示器/MDIユニット
71 表示画面
72 ファンクションキー
73 キーボード
74 プロンプト
DESCRIPTION OF SYMBOLS 1 Command reading means 2 Tool direction command correction means 3 Interpolation means 4X, 4Y, 4Z, 4B (A), 4C Each axis servo 70 Display / MDI unit 71 Display screen 72 Function key 73 Keyboard 74 Prompt

Claims (5)

テーブルに取付けられた加工物に対して加工を行う直線軸3軸と回転軸2軸によって構成される5軸加工機を制御し、該直線軸の移動経路指令、該加工物と工具との相対移動速度指令および該テーブルに対する工具方向として工具方向指令を読み取る指令読み取り手段と、
該工具方向指令から最適な工具方向を計算し、該工具方向指令と該計算して求めた最適な工具方向の差が予め設定される許容範囲内となるように準最適な工具方向を計算し、該準最適な工具方向を該工具方向指令の工具方向とすることにより該工具方向指令を補正する工具方向指令補正手段と、
該工具方向指令補正手段によって補正された工具方向指令、前記移動経路指令および前記相対移動速度指令に基づいて工具先端点が指令され移動経路上を指令された相対移動速度で移動するよう補間周期ごとに各軸位置を求める補間手段と、該補間手段により求められた各軸位置へ移動するように各軸モータを駆動する手段を有する5軸加工機の数値制御装置において、
前記工具方向指令と前記工具方向指令補正手段によって計算される最適な工具方向との差である理想補正量を算出する理想補正量算出手段と、
前記理想補正量算出手段により算出された前記理想補正量を記憶する理想補正量記憶手段と、
前記理想補正量記憶手段に記憶された前記理想補正量を所定補正量毎に前記工具方向指令の度数分布として出力する出力手段と、
を有することを特徴とする5軸加工機の数値制御装置。
Controls a 5-axis processing machine composed of 3 linear axes and 2 rotary axes for processing a workpiece mounted on a table, and moves the linear axis relative to the workpiece and tool. Command reading means for reading a tool direction command as a moving speed command and a tool direction with respect to the table;
An optimum tool direction is calculated from the tool direction command, and a sub-optimal tool direction is calculated so that a difference between the tool direction command and the calculated optimum tool direction is within a preset allowable range. Tool direction command correcting means for correcting the tool direction command by setting the quasi-optimal tool direction as the tool direction of the tool direction command;
A tool tip point is commanded on the basis of the tool direction command corrected by the tool direction command correcting means, the movement path command, and the relative movement speed command, and is moved every interpolation cycle so as to move at the commanded relative movement speed. In the numerical control device of a 5-axis processing machine, which has interpolation means for obtaining each axis position and means for driving each axis motor so as to move to each axis position obtained by the interpolation means,
Ideal correction amount calculation means for calculating an ideal correction amount that is a difference between the tool direction command and the optimum tool direction calculated by the tool direction command correction means;
Ideal correction amount storage means for storing the ideal correction amount calculated by the ideal correction amount calculation means;
Output means for outputting the ideal correction amount stored in the ideal correction amount storage means as a frequency distribution of the tool direction command for each predetermined correction amount;
A numerical control device for a 5-axis machine characterized by comprising:
前記出力手段は、該理想補正量記憶手段に記憶された理想補正量を所定補正量毎に前記工具方向指令の度数分布として表示する前記数値制御装置に設けられた表示装置あるいは前記数値制御装置に接続された外部装置の表示装置であることを特徴とする請求項1に記載の5軸加工機の数値制御装置。   The output unit displays the ideal correction amount stored in the ideal correction amount storage unit as a frequency distribution of the tool direction command for each predetermined correction amount, or a display device provided in the numerical control device or the numerical control device. The numerical control device for a 5-axis machining apparatus according to claim 1, wherein the numerical control device is a display device of a connected external device. 前記工具方向指令の数を累積する累積手段と、
前記工具方向指令の数に対する割合を指定する割合指定手段と、
前記工具方向指令の理想補正量の小さい値から順に前記工具方向指令の数を累積し累積度数分布を求める累積度数分布取得手段と、
該累積した前記工具方向指令の数が前記割合指定手段により指定された割合に対応する工具方向指令の数と一致したときの工具方向指令の理想補正量を取得する取得手段と、
該取得手段により取得した理想補正量を前記予め設定される許容範囲として設定する設定手段と、
を有することを特徴とする請求項1または2のいずれか1つに記載の5軸加工機の数値制御装置。
Accumulating means for accumulating the number of tool direction commands;
A ratio specifying means for specifying a ratio with respect to the number of the tool direction commands;
Cumulative frequency distribution obtaining means for accumulating the number of tool direction commands in order from a small value of the ideal correction amount of the tool direction command to obtain a cumulative frequency distribution;
Obtaining means for obtaining an ideal correction amount of the tool direction command when the accumulated number of the tool direction commands coincides with the number of tool direction commands corresponding to the proportion designated by the proportion designation means;
Setting means for setting the ideal correction amount acquired by the acquisition means as the preset allowable range;
The numerical control device for a 5-axis machining apparatus according to claim 1, wherein:
前記数値制御装置は、前記工具方向指令が前記準最適な工具方向に補正された場合の実際の補正量を求める実際の補正量算出手段と、
前記実際の補正量算出手段により算出された前記実際の補正量を記憶する実際の補正量記憶手段と、
前記実際の補正量記憶手段に記憶された前記実際の補正量を所定補正量毎に前記工具方向指令の度数分布として前記出力手段に出力することを特徴とする請求項1〜3のいずれか1つに記載の5軸加工機の数値制御装置。
The numerical control device includes an actual correction amount calculating means for obtaining an actual correction amount when the tool direction command is corrected to the semi-optimal tool direction;
Actual correction amount storage means for storing the actual correction amount calculated by the actual correction amount calculation means;
4. The actual correction amount stored in the actual correction amount storage unit is output to the output unit as a frequency distribution of the tool direction command for each predetermined correction amount. A numerical control device for a five-axis processing machine according to claim 1.
前記理想補正量と前記実際の補正量のそれぞれの前記工具方向指令の度数分布に基づく統計量を演算する統計量演算手段と、
前記統計量演算手段により演算された統計量を前記出力手段に出力することを特徴とする請求項4に記載の5軸加工機の数値制御装置。
Statistic calculation means for calculating a statistic based on the frequency distribution of the tool direction command for each of the ideal correction amount and the actual correction amount;
The numerical control device for a 5-axis machining apparatus according to claim 4, wherein the statistical amount calculated by the statistical amount calculation means is output to the output means.
JP2009010730A 2009-01-21 2009-01-21 Numerical control unit for 5-axis machine Active JP5161124B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2009010730A JP5161124B2 (en) 2009-01-21 2009-01-21 Numerical control unit for 5-axis machine

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2009010730A JP5161124B2 (en) 2009-01-21 2009-01-21 Numerical control unit for 5-axis machine

Publications (2)

Publication Number Publication Date
JP2010167516A true JP2010167516A (en) 2010-08-05
JP5161124B2 JP5161124B2 (en) 2013-03-13

Family

ID=42700131

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2009010730A Active JP5161124B2 (en) 2009-01-21 2009-01-21 Numerical control unit for 5-axis machine

Country Status (1)

Country Link
JP (1) JP5161124B2 (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02279249A (en) * 1989-04-21 1990-11-15 Makino Milling Mach Co Ltd Five spindle nc machine tool
JPH04360752A (en) * 1991-06-03 1992-12-14 Yamazaki Mazak Corp Tool length correcting device in five-axis control machine tool
JPH11277468A (en) * 1998-03-30 1999-10-12 Denso Corp Control device for robot
JP2003195917A (en) * 2001-10-16 2003-07-11 Fanuc Ltd Numerical control device
WO2003064107A1 (en) * 2002-02-01 2003-08-07 Sumitomo Heavy Industries, Ltd. Method of planning machining and machining equipment
JP2006119958A (en) * 2004-10-22 2006-05-11 Matsushita Electric Ind Co Ltd Robot control device and control method

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02279249A (en) * 1989-04-21 1990-11-15 Makino Milling Mach Co Ltd Five spindle nc machine tool
JPH04360752A (en) * 1991-06-03 1992-12-14 Yamazaki Mazak Corp Tool length correcting device in five-axis control machine tool
JPH11277468A (en) * 1998-03-30 1999-10-12 Denso Corp Control device for robot
JP2003195917A (en) * 2001-10-16 2003-07-11 Fanuc Ltd Numerical control device
WO2003064107A1 (en) * 2002-02-01 2003-08-07 Sumitomo Heavy Industries, Ltd. Method of planning machining and machining equipment
JP2006119958A (en) * 2004-10-22 2006-05-11 Matsushita Electric Ind Co Ltd Robot control device and control method

Also Published As

Publication number Publication date
JP5161124B2 (en) 2013-03-13

Similar Documents

Publication Publication Date Title
JP4351281B2 (en) Numerical control device for controlling a 5-axis machine
JP4938119B2 (en) Numerical control device for multi-axis machines that controls tool tip position
JP4406034B2 (en) Numerical control device for controlling a 5-axis machine
US7274969B2 (en) Curve interpolating method
JP3671020B2 (en) Numerical controller
JP5037704B2 (en) Numerical control device with work placement error correction unit for 3-axis processing machine
JP5785224B2 (en) Numerical control device for controlling a 5-axis machine
JP4837110B2 (en) Numerical control device with tool path display function
JP5426153B2 (en) Numerical control device for a machine tool having a rotating shaft
JP4233540B2 (en) Numerical control device that drives each axis motor using table format data
EP1696290A2 (en) Conversational numerical control apparatus
JP2005182437A (en) Numerical control device and numerical control method
JP5323280B1 (en) Numerical controller
KR100284668B1 (en) Numerical control unit
JP2006301930A (en) Numerical control device
JP5187436B2 (en) Numerical control device, control method of numerical control device, and system program
JP5694431B2 (en) Numerical control device for controlling the feed rate
JP4796936B2 (en) Processing control device
JP5905521B2 (en) Numerical control device characterized by suppressing backlash generated during tool tip point control
JP2007245247A (en) Machine having program validation function
JP5161124B2 (en) Numerical control unit for 5-axis machine
JP5800884B2 (en) Chamfering machine tool and chamfering method
JP2009110223A (en) Numerical control device, numerical control program, and storage medium storing numerical control program
CN111190391B (en) Numerical controller
CN108121300B (en) Numerical controller

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20110824

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20121213

R150 Certificate of patent or registration of utility model

Ref document number: 5161124

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20151221

Year of fee payment: 3