[go: up one dir, main page]

JP2004021953A - NC data tool path display method and NC data analysis method - Google Patents

NC data tool path display method and NC data analysis method Download PDF

Info

Publication number
JP2004021953A
JP2004021953A JP2002180627A JP2002180627A JP2004021953A JP 2004021953 A JP2004021953 A JP 2004021953A JP 2002180627 A JP2002180627 A JP 2002180627A JP 2002180627 A JP2002180627 A JP 2002180627A JP 2004021953 A JP2004021953 A JP 2004021953A
Authority
JP
Japan
Prior art keywords
data
display
trace
processing
axis
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
JP2002180627A
Other languages
Japanese (ja)
Other versions
JP3878516B2 (en
Inventor
Toru Yamamoto
山本 通
Takao Hasebe
長谷部 孝男
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.)
Okuma Corp
Original Assignee
Okuma Corp
Okuma Machinery Works Ltd
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 Okuma Corp, Okuma Machinery Works Ltd filed Critical Okuma Corp
Priority to JP2002180627A priority Critical patent/JP3878516B2/en
Priority to US10/438,894 priority patent/US7062352B2/en
Priority to KR1020030031307A priority patent/KR100959280B1/en
Priority to CNB031237320A priority patent/CN100421043C/en
Publication of JP2004021953A publication Critical patent/JP2004021953A/en
Application granted granted Critical
Publication of JP3878516B2 publication Critical patent/JP3878516B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Images

Landscapes

  • Numerical Control (AREA)

Abstract

【課題】加工物に痕が発生した場合、それが周期的なものであれば原因は加工機側にありNCデータに問題はないと判断できるが、複雑な形状加工に発生した痕の場合、周期的なものであるかどうか判断できないものがある。この様な痕が発生した加工プログラムに対して適切な領域に分割され色分けされた工具軌跡を表示することにより、周期的な痕であるか判別できるようにする。
【解決手段】NCデータのXYZ3軸から特定軸を選択する。この特定軸に対して所望の基点位置から所定分割幅毎に特定軸方向の領域を指定する。各領域に対して所定の表示属性を与える(22)。特定軸に対して領域毎の表示属性に従った表示形態で工具軌跡をXYZ軸の3軸に沿って表示する(25)。
【選択図】    図2
When a mark is formed on a workpiece, if the mark is periodic, the cause is on the processing machine side and it can be determined that there is no problem with the NC data. Some items cannot be determined whether they are periodic. By displaying the tool trajectory that is divided into appropriate regions and color-coded for the machining program in which such marks have occurred, it is possible to determine whether the marks are periodic marks.
A specific axis is selected from XYZ three axes of NC data. An area in the direction of the specific axis is designated for each predetermined division width from a desired base position with respect to the specific axis. A predetermined display attribute is given to each area (22). The tool trajectory is displayed along three XYZ axes in a display form according to the display attribute for each area with respect to the specific axis (25).
[Selection] Fig. 2

Description

【0001】
【発明の属する技術分野】
本発明は、NCデータの工具軌跡表示方法及びNCデータ解析方法、特にXYZの3軸送りで加工物を加工するNCデータの工具軌跡を表示するときの表示方法の改良に関する。
【0002】
【従来の技術】
加工機器を用いて複雑な加工をするときにはNC制御加工が好適であり、CAD/CAMにより作成されたNCデータを用い、高速送り機能を搭載したマシニングセンタにて高精度かつ高効率でこのような複雑な加工を行うことができる。この種の加工としては、例えば金型等の機械加工が知られている。
【0003】
このように、複雑な形状加工に対して最適な加工軌跡を与えるために、NCデータは最も重要な役割を果たす。しかしながら、NCデータはあらゆる制御指令を内蔵するようになり、そのデータ量が膨大となり、一旦作成したNCデータの良否判定を行うことが困難になるという問題が生じていた。
【0004】
もちろん従来においても、完成されたNCデータは各種の表示形式によってモニタ上に表示され、内蔵されている工具種類、面粗さ、精度許容値等の各種テーブルのチェックが行われる。また同様に、NCデータの心臓部でもあるXYZの3軸に沿った加工軌跡も同様にモニタ上に表示され、加工軌跡自体の良否あるいは工具の他部位との衝突干渉等のチェックをモニタ上でシミュレーションして、その良否が確認されている。
【0005】
【発明が解決しようとする課題】
しかしながら、前述したように、NCデータ自体のデータ量が膨大であり、また複雑精緻な加工を行う場合の微妙な加工状況を、単なるモニタ上の視覚表示にて確認するのみでは正確な良否判断を行うことが困難であった。
【0006】
更に、このようなNCデータを用いて実際に加工が行われたときに、加工物に加工痕が生じた場合、その原因である痕因究明を迅速かつ正確に行わなければならず、この痕因追求に対応するNCデータの適切な表示方法がないという問題があった。
【0007】
一般に、前述した加工痕に対しては、基本的に2種類の痕因が考えられる。第1はNCデータの不良であり、第2は加工機側の原因である。
【0008】
従来においては、加工物に加工痕が発見されたとき、いずれの側に原因があるかを直ちに判定することはできず、常に両者を並列的に調査しながら痕因の解析を行うということが一般に行われていた。しかしながら、このような従来手法によっては、痕因の解明に多大な時間が必要となり、特に前述したように近年のNCデータは膨大なデータ量を有し、これを全て解析することが極めて難しかった。
【0009】
本発明は上記従来に課題を解決するためになされたものであり、その目的は、従来にない新たな加工軌跡の表示方法を提供すること、及びこのような表示方法を用いて加工物の痕因を迅速に解析する手法を提供することにある。
【0010】
【課題を解決するための手段】
本発明は、上記課題を解決するために、XYZの3軸送りで加工物を加工するNCデータの工具軌跡を特定のルールに従った表示属性で表示することを特徴とする。
【0011】
すなわち、工具軌跡を表示するXYZの3軸から選択された1の特定軸に対して、所望の基点位置から所定分割幅毎に特定軸方向の領域を指定し、前記各領域に対して所定の好ましくはそれぞれ異なる表示属性を与え、上記特定軸に対しては前記領域毎の表示属性に従った表示形態で、工具軌跡をXYZの3軸に沿って表示することを特徴とする。
【0012】
従って、本発明によれば、特定軸に対する所定分割幅の領域毎に表示属性が異なるので、特定軸に沿った工具軌跡の周期性等を容易に判別することが可能となる。
【0013】
また、本発明によれば、上記表示方法によって表示された工具軌跡を用いてNCデータの良否判定を行うことができる。
【0014】
すなわち、当該NCデータを用いて加工された加工物に加工痕が生じた場合、前述した本発明に係る工具軌跡の表示を用いて加工痕の痕因がNCデータに起因するのかあるいは加工機側に起因するのかの判定を容易に行うことができる。
【0015】
すなわち、本発明によれば、前記加工物の加工痕から痕因被疑軸例えばXYZの3軸からZ軸を特定するとともに、このZ軸方向の痕周期を周期を有すると判断される加工物の加工痕から求める。
【0016】
そして、NCデータの工具軌跡を表示する3軸中の前記特定された例えばZ軸に対していずれか1の痕位置を基点位置として加工物の加工痕から求めた痕周期毎に特定軸方向の領域を指定し、前述したように所定の表示属性でXYZの3軸に沿った工具軌跡の表示を行う。
【0017】
本発明においては、加工物の加工痕と前記表示属性によって描かれた工具軌跡の表示パターンとが一致しているときには、加工物の加工痕は有周期痕であり、NCパターンが良性、すなわち正常であり、一方、加工機側に痕因があると推定する。
【0018】
すなわち、周期的欠点である有周期痕は加工機に特有なものであり、NCデータ自体にはほとんどありえないことから、加工痕が発生した場合、それが有周期痕であるならば、原因は加工機にあるということが経験的に断定できる。その場合NCデータの検証作業は不要で加工機の不具合のみを調べれば良い。例えば図5で示される斜面のような単純な形状を加工して発生した加工痕が有周期痕であるかどうかは容易に判断できるが、図6の様な複雑な曲面の加工で発生した場合、加工痕の形状も複雑になるためそれが有周期痕であるかどうかは目視では判別できないことが多い。
【0019】
本発明においては、前述したように、特定軸に対する所定分割の領域毎に表示特性が異なるので、特定軸に沿った工具軌跡の周期性を容易に判別することが可能となる。
【0020】
特に、図6のような複雑な形状加工の結果発生した複数の加工痕が有周期痕であるかどうか判断できないものに対しても、本発明のNCデータの表示方法を適用して判断することが可能となる。
【0021】
従って、加工機側に痕因があった場合には、NCデータの解析を行うことなく、迅速に原因追及を行うことが可能となる。
【0022】
【発明の実施の形態】
以下、図面に基づいて、本発明の好適な実施形態を説明する。
【0023】
図1には、本発明に係る表示方法を実現するための表示装置の一例が示されている。NCデータ入力部10からはXYZの3軸に関する全てのデータが入力され、軌跡情報抽出部11はこれらのデータからXYZ3軸に関する工具の加工軌跡情報のみを抽出し、その他の制御情報を除去する。これらの取り出された工具軌跡情報には更に、軌跡情報解析部12により本発明において特徴的な所望の表示属性が与えられる。
【0024】
つまり、本発明において特徴的なことは、3軸から選択された特定軸、例えばZ軸に対して所望の基点位置から所定分割幅毎に特定軸方向の領域が指定され、この各領域に対して所定の表示属性が与えられることである。
【0025】
この結果、本発明によれば、特定軸(Z軸)に対して工具軌跡が等高線のように各領域毎に色あるいは表示線種等によって識別表示されることとなる。
【0026】
従って、このような表示パターンによって特定軸に対する工具軌跡の特有な性格をモニタ上で容易に知ることができ、選択された表示属性によって描かれた工具軌跡の表示パターンに基づいて、各種のNCデータ解析が行われる。このような解析は、もちろん、当初予定した工具軌跡が正しく具現されているかの確認、実際に加工したときの加工痕との一致/不一致によるNCデータの良否判定あるいは各種の実験あるいは経験に基づいた加工種類別のパターン確認等を含む。
【0027】
前述した表示属性を定めるために、図1に示した実施形態においては、軌跡属性設定部13及び軌跡属性記憶部14が設けられている。軌跡属性設定部13は、分割された各領域に対して付与可能な表示色あるいは表示線種等を選択的に入力するものであり、これらの設定入力に基づいて軌跡属性記憶部14は領域に分割するための特定軸、分割の基準となる座標値、分割幅の値、各分割領域に指定される表示色あるいは表示線種等を記憶し、これらのデータを軌跡情報解析部12に対して供給する。
【0028】
以上のようにして、特定軸に対しては所定の領域毎に表示属性が与えられ、他の軸データと共にこれらのデータは軌跡表示部15に送られ、表示属性に従った工具軌跡のXYZ3軸表示を行うことができる。このとき、表示モード記憶部16は3軸表示に対して所望の視角、拡大率等に従った表示モードを任意に与えることができる。
【0029】
図2には、前述した表示装置を用いて本発明に係る工具軌跡表示を行う概略的な工程及び表示形態を模式的に示す。
【0030】
NCプログラム20は図1に示した表示装置によって処理され、図2に示されるように特定軸に関する領域が工程21によって解析され、また、工程22によって表示色決めが行われる。そして、この色決めに基づき、表示装置23によって分割領域毎に色分けした表示が行われる。
【0031】
図2において、符号24で示す表示は、XZ面におけるZ軸に対する分割された各領域の異なる表示属性での表示パターンを示す。図において、所望の基点位置から所定の分割幅毎にZ軸方向の領域が示され、このX軸から所定分割幅毎にZ軸方向の領域が符号E,D,C,B,Aで示されるように指定され、各領域毎に異なる属性の表示が行われる。図においては、この表示属性が表示線種の違いとして示されている。このようにして得られた工具軌跡は符号25で示されるようにXYZ軸の3軸に沿って表示され、描かれた工具軌跡の表示パターンを判定することによって、各種の解析が行われる。これらの解析は、NCデータの良否、製品に加工痕が生じたときのNCデータに痕因があるか否かの判定、あるいは経験に基づくNCデータの問題点等をデータ管理者に情報として与えることができる。
【0032】
図3には、異なる表示属性によって表示されたXYZの3軸に沿った表示パターンの他の例が示されており、その内容は図2の符号25で示したものと対応する。図3によれば、図2に示した実施形態とは異なる表示属性すなわちA色、B色の2種類にて表示属性が決定されている。
【0033】
本発明において、分割幅で割り付けられた各領域は必ずしも全ての領域がそれぞれ独自の表示属性を有する必要はなく、図3のように、分割幅で分けられた各領域毎に隣接する領域のみ異なる表示属性を与えることが現実的であり、この場合には、単に2種類の表示属性を繰り返すのみで広い範囲の領域をパターン化することが可能となる。
【0034】
以上のように、本発明によれば、工具軌跡を表示する際に、特定軸に対して所望の基点位置からの所定分割幅毎に指定した領域を異なる表示属性で表示することによって特定軸に対する特有の表示パターンが得られ、この表示パターンを解析することによって種々の有用な結論を得られることが理解される。この解析は、例えばNCデータを作成するときの良否判定に用いられ、また、経験に基づいてある種の加工に対して特定の表示パターンが得られるので、これらの表示パターンをインデックスとして膨大なNCデータの特定の部分のみを選択的に解析することが可能となる。
【0035】
すなわち、NCデータを用いて加工された複雑な形状加工の加工痕が図7で示されるように、有周期痕である可能性があると思われるものに対して、それを有周期痕と仮定して、加工痕から痕因被疑軸を例えばZ軸として特定すると共に、3軸中の前記特定された軸に対していずれか1の痕位置を基点位置図7のaで示すZ座標値とし、その痕跡と隣接する痕跡の差すなわち図7のbを周期(ピッチ)と仮定して痕周期毎に特定軸方向の領域を指定し、各領域に対して所定の表示属性を与え工具軌跡を表示する。この結果、実際の加工痕が工具軌跡の領域の境目、例えば色分けの境目、と一致した場合は、前記の仮定は正しかったと考えられ有周期痕と判断でき、一致しなかった場合は有周期痕でないと判断される。なお、この入力値は加工物の実測値で入力されることが多いため、加工痕と表示とは厳密に一致しないことが考えられるが、有意な範囲で一致していると考えられればよい。
【0036】
図4には、本発明に係る工具軌跡表示方法の更に詳細な実施形態がフローチャートで示されている。
【0037】
ステップS1では、特定軸、分割幅、基点位置が最初に入力される。
【0038】
例えば、本発明をNCデータ解析方法に用いる場合、好適な実施例としてはNCデータを用いて加工された加工物の加工痕から痕因を推定する場合が挙げられる。
【0039】
すなわち、加工物において極めて僅かな縞目あるいは引っ掻き痕が検出される場合がある。このような小さな痕は一般的にその痕因究明解析が極めて難しく、特に加工機側に原因があるかまたはNCデータに原因があるかの特定が厄介である。加工機側の原因としてしばしば発見されるのは、機械の送り軸の周期的な欠点、例えば送りネジやギアの精度、送りモータのトルクリップル、位置検出器精度等の問題であり、これらが加工面に周期的なすじを発生させる。一方、NCデータも必ずしも万全ではなく、指令される工具軌跡の座標点における座標値に誤りがある場合があり、これらは、確実に排除されなければならないが、膨大なNCデータからこのようなデータの誤りを検出することは容易ではない。
【0040】
一旦加工物に前述した僅かな縞目あるいは引っ掻き痕が生じた場合、その痕因がNCデータにはないということが簡単に判定できれば、NCデータの膨大な解析処理を行う必要がなくなり、作業を著しく簡易にすることができる。
【0041】
このような改善は、特に有周期痕のような場合に有効であり、本発明によればこのような有周期痕とNCデータとの因果関係を迅速に判定することが可能となる。
【0042】
従って、図4に示される特定軸分割幅、基点位置等は、前述した加工痕が発生したときの痕跡から痕因被疑軸を特定軸として推定することができる。また、このようにして被疑軸が特定されれば、周期を有すると判断される加工痕の痕跡の周期から前記軸方向の痕周期を求めこれを分割幅とすることができる。したがって、ステップS1においては、任意のデータ入力を行うこともできるが、同様に加工痕が発生した場合の痕跡から求められた特定のデータを入力することも可能であることが理解される。
【0043】
本実施形態において、基点位置は、加工物に印されたいずれか1の痕位置を基点位置として定め、また、痕周期は痕跡の周期を前記選択された特定軸上に変換した痕周期として定めている。
【0044】
本実施例における特定軸は、加工痕を観察することによって決定された痕因被疑軸とすることが有益であり、いずれを痕因被疑軸とするかは作業者の経験に基づいて決定される。
【0045】
次に、ステップS2では、NCデータの読み込みが行われる。一般にNCデータはブロックに分割されており、ステップS2ではブロック毎の読み込みが行われる。この読み込まれたブロックNCデータはステップS3によってエンドコードであるか否かが判定され、エンドコードである場合には、NCデータがこれ以上ないために処理を終了し、そうでない場合にはステップS4に進む。各ブロックデータは必ずしも工具軌跡データとは限らず、それ以外の制御データをも含むので、ステップS4においては軌跡データすなわち座標値のみが取り出され、それ以外の制御データである場合にはステップS10からステップS2へ戻る。
【0046】
ステップS4で抽出された軌跡データはステップS5において特定軸座標のみが座標値Hとして抽出される。ステップS6では、Z軸の全ての座標値Hに対して基点(K)との差(h1)を求める。
【0047】
次に、ステップS7において前記差分h1を分割幅Bで除し、整数部分(S)を求め、これに所定の表示属性に従って表示色を対応表から与え(ステップS8)、ステップS9にて表示装置上に読み込んだブロックの表示位置に対応する点にその色をプロットする。以上の操作をエンドブロックが出るまで繰り返すことにより、前述した図3で示した工具軌跡を描くことができる。ステップS9における表示は、所定の表示属性を与えられた特定軸ばかりではなく、他の2軸に対しても行われる。
【0048】
以上のようにして、工具軌跡は与えられた表示属性によって描かれ、この表示パターンを観察することによってNCデータの解析が行われる。
【0049】
前述したように、加工痕の解析時においては、所定の表示属性によって描かれた工具軌跡の表示パターンが、加工物の加工痕と一致したときには、加工物の加工痕は有周期痕であり、NCデータは良性すなわち正常でむしろ加工機側に痕因があると推定することが可能となる。従って、この場合には、大量のNCデータを全て分析チェックする必要がなくなり、加工痕の痕因追求を極めて短時間に行うことができるという利点がある。
【0050】
なお、本発明において、基点位置、分割幅は実測して決めても良く、またランダムな数値を入力しトライ&エラーを繰り返したり、加工機が従来から持つ経験的な値を入力することで、一致する値を求めることもできる。
【0051】
【発明の効果】
本発明によれば、特定軸に対する工具軌跡を等高線状に表示し、この表示パターンをモニタ上で極めて明瞭に観察することができ、種々のNCデータの特性を瞬時に把握することが可能となる。また、加工痕が発生した場合には、その原因がNCデータにあるか、あるいは加工機側にあるかの判定を極めて容易に行うことができる利点がある。
【0052】
また、本発明によれば、複雑な形状加工で発生した加工痕が有周期痕であるかどうかわからないものについても判別が可能になる。そして有周期痕であったものについては、その原因がNCデータではなく加工機側にあると断定できるため、NCデータを検証する必要はなく、加工機の不具合のみ調べればよいため原因追及が短時間でできるようになる。
【図面の簡単な説明】
【図1】本発明に係る工具軌跡表示方法を実現するための表示装置のブロック図である。
【図2】本発明に係る工具軌跡表示方法を実施するための簡単な工程及び表示パターンの一例を示す図である。
【図3】図2における表示パターンの更に詳細な他の実施形態を示す図である。
【図4】本発明に係る工具軌跡表示方法の更に詳細なステップを示すフローチャート図である。
【図5】加工痕の一例を示す説明図である。
【図6】複雑な加工形状における加工痕の一例を示す説明図である。
【図7】本発明における表示属性が与えられる領域の指定例を示す説明図である。
【符号の説明】
1 NCプログラム、23 表示装置、25 表示パターン。
[0001]
TECHNICAL FIELD OF THE INVENTION
The present invention relates to a method of displaying a tool path of NC data and a method of analyzing NC data, and more particularly to an improvement in a display method of displaying a tool path of NC data for machining a workpiece by XYZ 3-axis feed.
[0002]
[Prior art]
When performing complicated machining using machining equipment, NC control machining is suitable. NC data created by CAD / CAM is used, and a machining center equipped with a high-speed feed function is used for such complex machining with high accuracy and high efficiency. Processing can be performed. As this type of processing, for example, machining of a die or the like is known.
[0003]
As described above, the NC data plays the most important role in providing an optimal machining trajectory for complicated shape machining. However, since the NC data incorporates all control commands, the amount of data becomes enormous, and there has been a problem that it is difficult to determine the quality of the NC data once created.
[0004]
Of course, conventionally, the completed NC data is displayed on a monitor in various display formats, and various tables such as built-in tool types, surface roughness, and allowable values of accuracy are checked. Similarly, the machining locus along the three axes of XYZ, which is the heart of the NC data, is also displayed on the monitor, and the monitor is used to check the quality of the machining locus itself or collision interference with other parts of the tool on the monitor. By simulation, the quality is confirmed.
[0005]
[Problems to be solved by the invention]
However, as described above, the data amount of the NC data itself is enormous, and a delicate processing situation when performing complicated and precise processing can be determined by merely confirming the delicate processing status with a simple visual display on a monitor. It was difficult to do.
[0006]
Further, when processing marks are formed on a workpiece when processing is actually performed using such NC data, the cause of the processing marks must be quickly and accurately determined. There is a problem that there is no appropriate display method of NC data corresponding to the cause search.
[0007]
Generally, there are basically two types of causes for the above-mentioned processing marks. The first is a defect in the NC data, and the second is a cause on the processing machine side.
[0008]
Conventionally, when a process mark is found on a workpiece, it is not possible to immediately determine which side has the cause, and it is often necessary to analyze the cause of the trace while always investigating both in parallel. It was generally done. However, such conventional methods require a great deal of time to elucidate the causes of traces, and in particular, as described above, recent NC data has an enormous amount of data, and it has been extremely difficult to analyze all of them. .
[0009]
SUMMARY OF THE INVENTION The present invention has been made to solve the above-described problems, and an object of the present invention is to provide a new method of displaying a processing locus which has not existed in the past, and to provide a trace of a workpiece using such a display method. It is an object of the present invention to provide a method for quickly analyzing the causes.
[0010]
[Means for Solving the Problems]
In order to solve the above problem, the present invention is characterized in that a tool trajectory of NC data for processing a workpiece by three-axis feed of XYZ is displayed with a display attribute according to a specific rule.
[0011]
That is, for one specific axis selected from the three axes of XYZ for displaying the tool trajectory, an area in a specific axis direction is specified for each predetermined division width from a desired base point position, and a predetermined Preferably, different display attributes are provided, and the tool trajectory is displayed along the XYZ three axes in a display mode according to the display attribute for each area with respect to the specific axis.
[0012]
Therefore, according to the present invention, since the display attribute is different for each area having a predetermined division width with respect to the specific axis, it is possible to easily determine the periodicity of the tool trajectory along the specific axis.
[0013]
Further, according to the present invention, it is possible to determine whether the NC data is good or bad by using the tool trajectory displayed by the display method.
[0014]
That is, when a machining mark is formed on a workpiece machined using the NC data, whether the trace of the machining mark is caused by the NC data using the above-described display of the tool trajectory according to the present invention, Can easily be determined.
[0015]
That is, according to the present invention, the Z axis is specified from the trace suspect axis, for example, three axes of XYZ, from the processing trace of the workpiece, and the trace period in the Z axis direction is determined to have a period. Obtained from processing marks.
[0016]
Then, with respect to the specified axis, for example, the Z-axis among the three axes for displaying the tool trajectory of the NC data, the position of any one of the marks is set as a base position, and the mark axis is moved in the direction of the specific axis for each mark cycle obtained from the processing mark of the workpiece. An area is designated, and a tool trajectory is displayed along three axes of XYZ with predetermined display attributes as described above.
[0017]
In the present invention, when the processing trace of the workpiece matches the display pattern of the tool path drawn by the display attribute, the processing trace of the workpiece is a periodic trace, and the NC pattern is benign, that is, the NC pattern is normal. On the other hand, it is estimated that there is a trace factor on the processing machine side.
[0018]
That is, the periodic mark, which is a periodic defect, is peculiar to the processing machine and is almost impossible in the NC data itself. Therefore, if a processing mark occurs, if it is a periodic mark, the cause is processing. It can be empirically determined that it is on the machine. In that case, the verification work of the NC data is unnecessary, and only the defect of the processing machine needs to be checked. For example, it can be easily determined whether or not a processing mark generated by processing a simple shape such as a slope shown in FIG. 5 is a periodic mark. However, when a processing mark generated by processing a complicated curved surface as illustrated in FIG. In addition, since the shape of the processing mark becomes complicated, it is often impossible to visually determine whether the processing mark is a periodic mark.
[0019]
In the present invention, as described above, since the display characteristics are different for each of the predetermined division regions with respect to the specific axis, it is possible to easily determine the periodicity of the tool trajectory along the specific axis.
[0020]
In particular, even when it is not possible to determine whether or not a plurality of processing marks generated as a result of complicated shape processing as shown in FIG. 6 are periodic marks, the NC data display method of the present invention is used to make a determination. Becomes possible.
[0021]
Therefore, when there is a trace cause on the processing machine side, it is possible to promptly investigate the cause without analyzing the NC data.
[0022]
BEST MODE FOR CARRYING OUT THE INVENTION
Hereinafter, preferred embodiments of the present invention will be described with reference to the drawings.
[0023]
FIG. 1 shows an example of a display device for realizing a display method according to the present invention. The NC data input unit 10 receives all the data on the three XYZ axes, and the trajectory information extraction unit 11 extracts only the tool trajectory information on the XYZ three axes from these data and removes other control information. The extracted tool path information is further given a desired display attribute characteristic of the present invention by the path information analysis unit 12.
[0024]
That is, a characteristic of the present invention is that a region in the direction of a specific axis is specified for each predetermined division width from a desired base point position with respect to a specific axis selected from three axes, for example, the Z axis. That is, a predetermined display attribute is given.
[0025]
As a result, according to the present invention, the tool trajectory for the specific axis (Z axis) is identified and displayed by a color or a display line type for each region like a contour line.
[0026]
Therefore, the specific characteristics of the tool path with respect to the specific axis can be easily known on the monitor by such a display pattern, and various NC data can be obtained based on the display pattern of the tool path drawn by the selected display attribute. An analysis is performed. Such an analysis is based on, of course, checking whether the originally planned tool path is correctly embodied, judging the quality of NC data by matching / mismatching with the machining trace when actually machining, or based on various experiments or experiences. Includes pattern confirmation for each processing type.
[0027]
In order to determine the display attributes described above, in the embodiment shown in FIG. 1, a trajectory attribute setting unit 13 and a trajectory attribute storage unit 14 are provided. The trajectory attribute setting unit 13 is for selectively inputting a display color or a display line type that can be given to each of the divided areas, and the trajectory attribute storage unit 14 stores the trajectory attribute based on these setting inputs. A specific axis for division, a coordinate value serving as a division reference, a division width value, a display color or a display line type specified for each division area, and the like are stored in the locus information analysis unit 12. Supply.
[0028]
As described above, a display attribute is given to a specific axis for each predetermined area, and these data are sent to the trajectory display unit 15 together with other axis data, and the XYZ three axes of the tool trajectory according to the display attribute are provided. Display can be performed. At this time, the display mode storage unit 16 can arbitrarily give a display mode according to a desired viewing angle, a magnification, and the like to the three-axis display.
[0029]
FIG. 2 schematically shows a schematic process and a display form for displaying the tool trajectory according to the present invention using the above-described display device.
[0030]
The NC program 20 is processed by the display device shown in FIG. 1. As shown in FIG. 2, an area related to a specific axis is analyzed in step 21, and a display color is determined in step 22. Then, based on the color determination, the display device 23 performs color-coded display for each divided area.
[0031]
In FIG. 2, a display indicated by reference numeral 24 indicates a display pattern with different display attributes of each of the divided regions with respect to the Z axis on the XZ plane. In the drawing, a region in the Z-axis direction is shown for each predetermined division width from a desired base point position, and a region in the Z-axis direction is shown for each predetermined division width from the X axis by reference numerals E, D, C, B, and A. Is displayed, and different attributes are displayed for each area. In the figure, this display attribute is shown as a difference in display line type. The tool trajectory thus obtained is displayed along three XYZ axes as indicated by reference numeral 25, and various analyzes are performed by judging the display pattern of the drawn tool trajectory. These analyzes determine whether the NC data is good or bad, determine whether or not the NC data has a trace cause when a processing mark is formed on the product, or provide a problem of the NC data based on experience to the data manager as information. be able to.
[0032]
FIG. 3 shows another example of a display pattern along three axes of XYZ displayed with different display attributes, and the contents correspond to those shown by reference numeral 25 in FIG. According to FIG. 3, display attributes different from those of the embodiment shown in FIG. 2, that is, two types of A color and B color are determined.
[0033]
In the present invention, it is not always necessary that all the regions assigned by the division width have their own display attributes, and only the adjacent regions are different for each region divided by the division width as shown in FIG. It is realistic to give display attributes. In this case, it is possible to pattern a wide area by simply repeating two types of display attributes.
[0034]
As described above, according to the present invention, when displaying a tool trajectory, an area designated for each predetermined division width from a desired base point position with respect to a specific axis is displayed with a different display attribute, so that a specific axis is displayed. It is understood that a unique display pattern is obtained, and that various useful conclusions can be obtained by analyzing the display pattern. This analysis is used, for example, for quality determination when creating NC data, and a specific display pattern can be obtained for a certain type of processing based on experience. Only a specific part of the data can be selectively analyzed.
[0035]
That is, as shown in FIG. 7, it is assumed that a processing mark of a complicated shape processing performed using NC data is a periodic mark, assuming that the processing mark may be a periodic mark. Then, the suspect axis of the trace cause is identified from the machining traces as, for example, the Z axis, and any one of the trace positions with respect to the specified axis among the three axes is set as the Z coordinate value indicated by a in FIG. Assuming that the difference between the trace and the adjacent trace, that is, b in FIG. 7 is a cycle (pitch), a region in a specific axis direction is designated for each trace period, a predetermined display attribute is given to each region, and a tool path is defined. indicate. As a result, if the actual machining trace coincides with the boundary of the tool trajectory region, for example, the boundary of color coding, the above assumption is considered to be correct and can be determined as a periodic trace. It is determined that it is not. In addition, since the input value is often input as an actual measurement value of the workpiece, it is conceivable that the processing trace does not exactly match the display, but it is sufficient if it is considered that they match within a significant range.
[0036]
FIG. 4 is a flowchart illustrating a more detailed embodiment of the tool path display method according to the present invention.
[0037]
In step S1, a specific axis, a division width, and a base point position are input first.
[0038]
For example, when the present invention is used for an NC data analysis method, a preferred embodiment is a case where a trace factor is estimated from a processing trace of a workpiece processed using NC data.
[0039]
That is, very slight stripes or scratches may be detected on the workpiece. In general, it is extremely difficult to analyze the cause of such a small mark, and it is particularly difficult to specify whether the cause is on the processing machine side or the NC data. Often found as a cause on the processing machine side are periodic defects in the feed axis of the machine, such as problems with the accuracy of the feed screw and gear, torque ripple of the feed motor, position detector accuracy, etc. Generates periodic streaks on the surface. On the other hand, the NC data is not always perfect, and there may be errors in the coordinate values at the coordinate points of the commanded tool trajectory. These must be reliably eliminated. Is not easy to detect.
[0040]
Once the above-mentioned slight streaks or scratches are formed on the workpiece, if it is easy to determine that the cause is not in the NC data, it is not necessary to perform a huge analysis process of the NC data. It can be significantly simplified.
[0041]
Such an improvement is particularly effective in the case of periodic traces, and according to the present invention, it is possible to quickly determine the causal relationship between such periodic traces and NC data.
[0042]
Therefore, the specific axis division width, the base point position, and the like shown in FIG. 4 can be estimated from the trace at the time when the above-described processing trace occurs, using the trace suspected axis as the specific axis. Further, if the suspected axis is specified in this way, the trace period in the axial direction can be obtained from the trace period of the machining trace determined to have a period, and this can be used as the division width. Therefore, in step S1, any data can be input, but it is understood that it is also possible to input specific data obtained from a trace when a processing trace occurs.
[0043]
In the present embodiment, the base point position is set to any one of the mark positions marked on the workpiece as the base point position, and the mark period is set to a mark period obtained by converting the mark period on the selected specific axis. ing.
[0044]
The specific axis in the present embodiment is useful to be the trace cause suspected axis determined by observing the processing trace, and which of the trace cause suspected axes is determined based on the experience of the worker. .
[0045]
Next, in step S2, NC data is read. Generally, NC data is divided into blocks, and reading is performed for each block in step S2. It is determined in step S3 whether or not the read block NC data is an end code. If the block NC data is an end code, the process is terminated because there is no more NC data. If not, the process proceeds to step S4. Proceed to. Since each block data is not necessarily tool locus data but also includes other control data, only locus data, that is, coordinate values is extracted in step S4, and if it is other control data, the process proceeds from step S10. It returns to step S2.
[0046]
In the locus data extracted in step S4, only the specific axis coordinates are extracted as the coordinate values H in step S5. In step S6, a difference (h1) from the base point (K) is obtained for all coordinate values H on the Z axis.
[0047]
Next, in step S7, the difference h1 is divided by the division width B to obtain an integer part (S), and a display color is given from the correspondence table according to a predetermined display attribute (step S8). Plot the color at the point corresponding to the display position of the block read above. By repeating the above operation until the end block comes out, the tool trajectory shown in FIG. 3 described above can be drawn. The display in step S9 is performed not only for the specific axis given a predetermined display attribute but also for the other two axes.
[0048]
As described above, the tool trajectory is drawn according to the given display attributes, and the NC data is analyzed by observing the display pattern.
[0049]
As described above, when analyzing the machining trace, when the display pattern of the tool trajectory drawn by the predetermined display attribute matches the machining trace of the workpiece, the machining trace of the workpiece is a periodic trace, It is possible to estimate that the NC data is benign, that is, normal, but rather has a cause on the processing machine side. Therefore, in this case, there is no need to analyze and check a large amount of NC data, and there is an advantage that the cause of the processing trace can be pursued in a very short time.
[0050]
In the present invention, the base point position and the division width may be determined by actually measuring, or by inputting a random numerical value and repeating trial and error, or by inputting an empirical value that the processing machine has conventionally, A matching value can also be determined.
[0051]
【The invention's effect】
ADVANTAGE OF THE INVENTION According to this invention, the tool locus | trajectory with respect to a specific axis | shaft is displayed on a contour line, this display pattern can be observed very clearly on a monitor, and it becomes possible to grasp | ascertain the characteristic of various NC data instantaneously. . Further, when a processing mark is generated, there is an advantage that it is extremely easy to determine whether the cause is in the NC data or the processing machine side.
[0052]
Further, according to the present invention, it is possible to discriminate even a processing mark generated in a complicated shape processing whether it is a periodic mark or not. In the case of a periodic mark, it can be determined that the cause is not the NC data but the processing machine side. Therefore, there is no need to verify the NC data. You can do it in time.
[Brief description of the drawings]
FIG. 1 is a block diagram of a display device for realizing a tool trajectory display method according to the present invention.
FIG. 2 is a diagram showing an example of a simple process and a display pattern for implementing a tool path display method according to the present invention.
FIG. 3 is a diagram showing another embodiment of the display pattern in FIG. 2 in further detail.
FIG. 4 is a flowchart showing more detailed steps of the tool path display method according to the present invention.
FIG. 5 is an explanatory view showing an example of a processing mark.
FIG. 6 is an explanatory diagram showing an example of a processing mark in a complicated processing shape.
FIG. 7 is an explanatory diagram showing an example of specifying a region to which a display attribute is given in the present invention.
[Explanation of symbols]
1 NC program, 23 display devices, 25 display patterns.

Claims (4)

XYZの3軸送りで加工物を加工するNCデータの工具軌跡を表示する方法において、
3軸から選択された特定軸に対して所望の基点位置から所定分割幅毎に特定軸方向の領域を指定し、
各領域に対して所定の表示属性を与え、
特定軸に対しては前記領域毎の表示属性に従った表示形態で工具軌跡をXYZの3軸に沿って表示することを特徴とするNCデータの工具軌跡表示方法。
In a method of displaying a tool path of NC data for processing a workpiece by 3-axis feed of XYZ,
For a specific axis selected from the three axes, a region in a specific axis direction is specified for each predetermined division width from a desired base point position,
Give a predetermined display attribute to each area,
A tool locus display method for NC data, wherein a tool locus is displayed along a XYZ three-axis in a display form according to the display attribute of each area for a specific axis.
請求項1記載の方法において、
分割された領域は少なくとも隣接する領域に対して異なる表示属性が与えられることを特徴とするNCデータの工具軌跡表示方法。
The method of claim 1, wherein
A method for displaying a tool path of NC data, wherein different display attributes are given to at least adjacent areas of the divided areas.
XYZの3軸送りで加工物を加工するNCデータの工具軌跡からNCデータの良否判定を行うNCデータ解析方法であって、
3軸から選択された特定軸に対して所望の基点位置から所定分割幅毎に特定軸方向の領域を指定し、
各領域に対して所定の表示属性を与え、
特定軸に対しては前記領域毎の表示属性に従った表示形態で工具軌跡をXYZの3軸に沿って表示し、
加工物の加工痕と前記表示属性によって描かれた工具軌跡の表示パターンとが一致したときにはNCデータは良性で加工機側に痕因があると推定することを特徴とするNCデータ解析方法。
An NC data analysis method for determining whether NC data is good or bad from a tool trajectory of NC data for processing a workpiece by 3-axis feed of XYZ,
For a specific axis selected from the three axes, a region in a specific axis direction is specified for each predetermined division width from a desired base point position,
Give a predetermined display attribute to each area,
For a specific axis, a tool trajectory is displayed along three axes of XYZ in a display form according to the display attribute of each area,
An NC data analysis method comprising: estimating that NC data is benign and has a trace cause on a processing machine side when a processing trace of a workpiece matches a display pattern of a tool path drawn by the display attribute.
XYZの3軸送りで加工物を加工するNCデータの工具軌跡からNCデータの良否判定を行うNCデータ解析方法であって、
加工物の加工痕から痕因被疑軸を特定し、
3軸中の前記特定された軸に対していずれか1の痕位置を基点位置とし、
上記痕位置の痕跡と隣接する痕跡の差を周期と仮定して痕周期毎に特定軸方向の領域を指定し、
各領域に対して所定の表示属性を与え工具軌跡を表示し、
加工物の加工痕と前記表示属性によって描かれた工具軌跡の表示パターンとが一致した時にはNCデータは良性で加工機側に痕因があると推定することを特徴とするNCデータ解析方法。
An NC data analysis method for determining whether NC data is good or bad from a tool trajectory of NC data for processing a workpiece by 3-axis feed of XYZ,
Identify the trace cause axis from the machining trace of the workpiece,
With respect to the specified axis of the three axes, any one of the mark positions is set as a base position,
Assuming that the difference between the trace at the above-mentioned trace position and the adjacent trace is the period, specify the area in the specific axis direction for each trace period,
Give a predetermined display attribute to each area and display the tool path,
An NC data analysis method characterized by estimating that NC data is benign and has a trace cause on a processing machine side when a processing trace of a workpiece matches a display pattern of a tool path drawn by the display attribute.
JP2002180627A 2002-05-17 2002-06-20 NC data tool path display method and NC data analysis method Expired - Lifetime JP3878516B2 (en)

Priority Applications (4)

Application Number Priority Date Filing Date Title
JP2002180627A JP3878516B2 (en) 2002-06-20 2002-06-20 NC data tool path display method and NC data analysis method
US10/438,894 US7062352B2 (en) 2002-05-17 2003-05-16 Method for displaying tool locus in NC data and method for analyzing NC data
KR1020030031307A KR100959280B1 (en) 2002-05-17 2003-05-16 Tool trajectory display method of NC data and NC data analysis method
CNB031237320A CN100421043C (en) 2002-05-17 2003-05-19 Method of displaying tool path according to NC data and method of analyzing NC data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2002180627A JP3878516B2 (en) 2002-06-20 2002-06-20 NC data tool path display method and NC data analysis method

Publications (2)

Publication Number Publication Date
JP2004021953A true JP2004021953A (en) 2004-01-22
JP3878516B2 JP3878516B2 (en) 2007-02-07

Family

ID=31177679

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002180627A Expired - Lifetime JP3878516B2 (en) 2002-05-17 2002-06-20 NC data tool path display method and NC data analysis method

Country Status (1)

Country Link
JP (1) JP3878516B2 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014126939A (en) * 2012-12-25 2014-07-07 Fanuc Ltd Load display device of machine tool
JP2021144341A (en) * 2020-03-10 2021-09-24 オークマ株式会社 Machining result evaluation device
CN116507449A (en) * 2020-11-25 2023-07-28 发那科株式会社 display device
DE102024200573A1 (en) 2023-01-24 2024-07-25 Okuma Corporation Selection method and device for machining program modification parameters and control device of a machine tool

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2013118179A1 (en) * 2012-02-09 2013-08-15 三菱電機株式会社 Tool-path displaying method and tool-path displaying apparatus

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0460812A (en) * 1990-06-29 1992-02-26 Okuma Mach Works Ltd Digitized data processor
WO1994008751A1 (en) * 1992-10-09 1994-04-28 Omron Corporation Machining information determining system and method, and machining process information determining system and method
JPH07261817A (en) * 1994-03-25 1995-10-13 Fanuc Ltd Cutting path drawing method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0460812A (en) * 1990-06-29 1992-02-26 Okuma Mach Works Ltd Digitized data processor
WO1994008751A1 (en) * 1992-10-09 1994-04-28 Omron Corporation Machining information determining system and method, and machining process information determining system and method
JPH07261817A (en) * 1994-03-25 1995-10-13 Fanuc Ltd Cutting path drawing method

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014126939A (en) * 2012-12-25 2014-07-07 Fanuc Ltd Load display device of machine tool
US9483042B2 (en) 2012-12-25 2016-11-01 Fanuc Corporation Load display device for machine tool
JP2021144341A (en) * 2020-03-10 2021-09-24 オークマ株式会社 Machining result evaluation device
JP7470536B2 (en) 2020-03-10 2024-04-18 オークマ株式会社 Processing result evaluation device
CN116507449A (en) * 2020-11-25 2023-07-28 发那科株式会社 display device
DE102024200573A1 (en) 2023-01-24 2024-07-25 Okuma Corporation Selection method and device for machining program modification parameters and control device of a machine tool

Also Published As

Publication number Publication date
JP3878516B2 (en) 2007-02-07

Similar Documents

Publication Publication Date Title
EP0879674B1 (en) Generation of measurement program in nc machining and machining management based on the measurement program
US6772038B2 (en) Machining-related information generating apparatus and numerical controller having the same
US8090557B2 (en) Quality assurance method when operating an industrial machine
US6671571B1 (en) Method for NC- programming and system for NC- machining
US20130282328A1 (en) Error measurment device and error measurement method
US20030114945A1 (en) Apparatus and method for creating intermediate stage model
US6611786B1 (en) Apparatus and method concerning analysis and generation of part program for measuring coordinates and surface properties
US20030216830A1 (en) Method for displaying tool locus in NC data and method for analyzing NC data
DE102018205913A1 (en) Control system for a machine tool
EP4231103A1 (en) System and method for machining a component
EP1400881A2 (en) Method and apparatus for supporting measurement of object to be measured
JP3878516B2 (en) NC data tool path display method and NC data analysis method
US12158745B2 (en) Method and apparatus for cycle-based programming of a control program for a numerically controlled machine tool
JP2003330512A (en) NC data tool path display method
JP3834268B2 (en) NC data tool path display method
JPH07500776A (en) Machine tool fixture computer aided placement method
US20230264314A1 (en) Method of monitoring machine processes in workplace processing
JPH0883105A (en) Parts working estimating device
KR100264968B1 (en) Fixture and workpiece measuring device and method
JPH09150347A (en) Machining operation simulation method
JPH1020918A (en) CAD / CAM equipment
JPH0126817B2 (en)
Anjanappa et al. Computer-aided inspection data analyser
Woźniak et al. Reproducibility of machine tools' circularity test according to ISO 230-4 with respect to testing position
KR100264967B1 (en) Workpiece measuring method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20050106

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20060612

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20060718

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20060914

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20061102

R150 Certificate of patent or registration of utility model

Ref document number: 3878516

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

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20121110

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20151110

Year of fee payment: 9

EXPY Cancellation because of completion of term