JPH06161534A - Cutter pass inspecting method - Google Patents

Cutter pass inspecting method

Info

Publication number
JPH06161534A
JPH06161534A JP31808192A JP31808192A JPH06161534A JP H06161534 A JPH06161534 A JP H06161534A JP 31808192 A JP31808192 A JP 31808192A JP 31808192 A JP31808192 A JP 31808192A JP H06161534 A JPH06161534 A JP H06161534A
Authority
JP
Japan
Prior art keywords
data
machine
read
block
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.)
Pending
Application number
JP31808192A
Other languages
Japanese (ja)
Inventor
Masakazu Sekino
雅和 関野
Hiroshi Terao
博 寺尾
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.)
Mitsubishi Heavy Industries Ltd
Original Assignee
Mitsubishi Heavy Industries 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 Mitsubishi Heavy Industries Ltd filed Critical Mitsubishi Heavy Industries Ltd
Priority to JP31808192A priority Critical patent/JPH06161534A/en
Publication of JPH06161534A publication Critical patent/JPH06161534A/en
Pending legal-status Critical Current

Links

Landscapes

  • Numerical Control (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

PURPOSE:To beforehand simulate the working status of parts by reading com mand data, NC machine constant files and tool information, respectively, deter mining the motions of a machine in accordance with an NC program every block and performing a drawing and a display. CONSTITUTION:Command data is read in a step (hereafter omitted) S1, machine information is read to realize a machine perculiar operations and NC machine constant files are read in an S2. In an S3, tool information for substituting tool operations for the machine operations is read and tool information files are read. In an S4, NC data files designated by the command data are searched and they are read one block by one block. In an S5, this NC data is decomposed into various kinds of codes for machine control and each code is digitized. Namely, the analysis of this NC data is performed. In an S6, the calcuation of the machine operations determining start point data and end point data, etc., one block by one block in this data is performed. In an S7, this calculation result is converted into drawing or display data.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、NCデータによる部品
加工シミュレーションが行なえるNCカッターパス検証
方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an NC cutter path verification method capable of performing a part machining simulation based on NC data.

【0002】[0002]

【従来の技術とその課題】従来NC機械を制御するNC
データは、図2に示すように、NCプログラムから、そ
の計算処理、工具先端動作データ(CLデータ)、ポス
トプロセッサ処理、NCデータの流れを経由して得ら
れ、NC機械を制御する。この場合、NC機械を1台ご
とにあるいは機種ごとにNCプログラムが作成され、N
Cデータ処理のソフトウェア開発が必要である。また、
NCプログラムのチェックは、CLデータを利用して工
具先端の動作のみにてチェックを行なっていた。
2. Description of the Related Art Conventional NCs for controlling NC machines
As shown in FIG. 2, the data is obtained from the NC program through its calculation processing, tool tip operation data (CL data), post processor processing, and NC data flow, and controls the NC machine. In this case, an NC program is created for each NC machine or for each model.
Software development for C data processing is required. Also,
The NC program was checked only by the operation of the tool tip using CL data.

【0003】本発明は、上述の問題に鑑み、例えば10
軸NC機械まではどのNC機械のNCデータでも一つの
ソフトウェアで処理できるようにし、また、NCデータ
を用いてNC機械の動きを再現できるようにして部品の
加工状況の事前シミュレーションを可能としたカッター
パス検証方法の提供を目的とする。
In view of the above problems, the present invention provides, for example, 10
A cutter that can process NC data of any NC machine up to the axis NC machine with one software, and can reproduce the motion of the NC machine by using the NC data to enable pre-simulation of the machining situation of parts. The purpose is to provide a path verification method.

【0004】[0004]

【課題を解決するための手段】上述の目的を達成する本
発明は、コマンドデータを読み込み、機械固有の動きを
再現するため機械の情報を読み込むNC機械定数ファイ
ルの読み込み、機械の動きを工具の動きに置換するため
の工具の情報を読み込む工具情報ファイルの読み込み、
上記コマンドデータにて指定されたNCデータファイル
を捜して1ブロックずつ読み込むNCデータの読み込
み、このNCデータを機械を制御する各種コードに分解
し各コードを数値化するNCデータの解析、このNCデ
ータの1ブロックずつの始点データ及び終点データ等を
求める機械の動きの計算、この計算結果の作図又は表示
データへの変換を行なうことを特徴とする。
According to the present invention for achieving the above object, an NC machine constant file is read in which command data is read and machine information is read in order to reproduce machine-specific movements. Read the tool information file to read the tool information to replace with the motion,
The NC data file specified by the above command data is searched and the NC data that is read block by block is read, the NC data is decomposed into various codes that control the machine, and the NC data that digitizes each code is analyzed. It is characterized in that the movement of the machine for calculating the start point data and the end point data for each block of 1 is calculated, and the calculation result is converted into drawing or display data.

【0005】[0005]

【作用】4軸でも5軸でもあるいは10軸のNC機械そ
れぞれのNC機械仕様の差により入力項目が同じでも入
力数値が異なることから機種ごとの機械定数ファイルを
設定するだけで新たなソフトウェアの開発は不要とな
り、また、NCデータを用いて機械の動きを再現してい
るため、NC機械で試削りを行なう前に事前シミュレー
ションを紙上又は3次元グラフィック上にて行なうこと
ができる。
[Function] Even if the input items are the same due to differences in NC machine specifications of 4-axis, 5-axis, or 10-axis NC machines, the input numerical values are different, so new software development can be performed simply by setting the machine constant file for each model. Is unnecessary, and the movement of the machine is reproduced using the NC data, so that a pre-simulation can be performed on paper or on a three-dimensional graphic before trial cutting with the NC machine.

【0006】[0006]

【実施例】ここで、図1を参照して本発明の実施例を説
明する。図1は、NC機械の動きを再現させるためのソ
フトウェアを示しており、カッターパスの紙上作図プロ
グラムもしくはカッターパス3次元グラフィックス表示
プログラムを示している。図1において、作図プログラ
ムにあってはまず作図条件のデータ読み込みを、3次
元グラフィックス表示にあっては表示条件のデータ読み
込みを行なう。ここでは、データベース化したNCデー
タのファイル名や工具ベクトル表示、工具径表示等の各
種条件の設定データ(コマンドデータ)を読み込む。
EXAMPLE An example of the present invention will now be described with reference to FIG. FIG. 1 shows software for reproducing the movement of the NC machine, and shows a cutter path paper drawing program or a cutter path three-dimensional graphics display program. In FIG. 1, first of all, in the drawing program, data of drawing conditions are read, and in three-dimensional graphics display, data of display conditions are read. Here, the setting data (command data) of various conditions such as the file name of NC data in the database, tool vector display, tool diameter display, etc. is read.

【0007】次に、機械固有の動きを再現するため各
軸早送り速度、各軸のホームポジション位置、工具交換
方式、制御軸数及びタイプ等の情報であるNC機械定数
ファイルを読み込む。
Next, in order to reproduce the movement peculiar to the machine, the NC machine constant file, which is information such as the rapid feed rate of each axis, the home position position of each axis, the tool replacement method, the number of control axes, and the type, is read.

【0008】ついで、工具情報ファイルの読み込みで
は、機械の動きを工具の動きに置換するため工具No. 、
工具長、工具径、工具先端形状、テーパとかストレート
など工具全体形状等の情報の読み込みを行なう。
Next, in reading the tool information file, the tool No.
Information such as tool length, tool diameter, tool tip shape, and overall tool shape such as taper or straight is read.

【0009】NCデータの読み込みでは、作図条件や
表示条件にて指定されたNCデータファイル名を捜し
出してNCデータを1ブロックずつ読み込む。
In reading the NC data, the NC data file name specified by the drawing conditions and display conditions is searched for and the NC data is read block by block.

【0010】NCデータ解析では、NCデータの読み
込みにて読み込んだNCデータ(1ブロック)をNC
機械を制御する各コード(Gコード、Mコード、Tコー
ド、Xコード、Yコード等)に分解し、各コードの数字
(文字)を数値化する。
In the NC data analysis, the NC data (1 block) read by reading the NC data is NC.
The code (G code, M code, T code, X code, Y code, etc.) for controlling the machine is disassembled, and the numbers (characters) of each code are digitized.

【0011】NCデータ解析に求めた各コードの数
値を用いてNCデータ1ブロックずつ始点データと終点
データ、円弧補間情報及び使用中の工具No. 情報等機械
の動きを計算で求める。この場合、始点データ、終点デ
ータとは、NCデータ(ピボットポイントでの機械制御
データ)から工具先端の座標値(X,Y,Z座標値)と
工具ベクトルを計算で求めたものである。このため、機
械の動きを工具の動きに置換したデータを作成すること
により部品の加工状況を再現している。
Using the numerical values of the respective codes obtained in the NC data analysis, the movements of the machine such as the start point data and the end point data, the circular arc interpolation information, the tool No. information in use, etc., are calculated for each block of NC data. In this case, the start point data and the end point data are obtained by calculating the coordinate values (X, Y, Z coordinate values) of the tool tip and the tool vector from the NC data (machine control data at the pivot point). For this reason, the machining status of parts is reproduced by creating data in which the movement of the machine is replaced with the movement of the tool.

【0012】計算で求めた機械の動きのデータを紙
上作図ではプロッタデータに、3次元グラフィックス表
示では3次CAD/CAM表示データにそれぞれ、変換
しファイルする。 上述の工程〜は1ブロックごとに行なわれるので全
ブロックが処理されるまで繰返す。
The machine motion data obtained by the calculation is converted into a plotter data for a paper drawing and a tertiary CAD / CAM display data for a three-dimensional graphic display, and the converted data is stored. Since steps 1 to 3 described above are performed for each block, they are repeated until all blocks are processed.

【0013】図3は、作成したNCデータの加工前の事
前チェックに適用した紙上作図の適用例を示しており、
被加工物に対して細線で示した円や線の表示は、カッタ
ーパスを示しており、細線の早送り、及び破線の切削送
りの工具先端軌跡を示しており、工具の進行矢印が付さ
れている。したがって、工具が部品のサーフェスに接す
るか食い込んでいるかを目で確認してNCプログラムの
形状不具合を見出すことができる。
FIG. 3 shows an application example of the paper drawing applied to the pre-check of the created NC data before processing.
The circles and lines indicated by thin lines for the work piece indicate the cutter path, the tool tip trajectory of the fast feed of the thin line and the cutting feed of the broken line, and the progress arrow of the tool is attached. There is. Therefore, it is possible to visually confirm whether the tool is in contact with or cut into the surface of the part, and find out the shape defect of the NC program.

【0014】[0014]

【発明の効果】以上説明したように本発明では、NCデ
ータから加工状況の事前シミュレーションが可能とな
り、この結果、回転軸の移動時に発生する削り込み不具
合、首振り(A軸、B軸、C軸回転)時の直線補間定義
不具合から発生する削り込み、穴明け深さの指示不具合
等部品形状・寸法に関する不具合を削減する。また、機
械仕様が変っても機械定数ファイルの設定にソフトウェ
ア全体の変更は不要となる。
As described above, according to the present invention, it is possible to perform a pre-simulation of a machining situation from NC data, and as a result, a shaving defect that occurs when the rotary shaft is moved and a swing (A axis, B axis, C axis). Reduces defects related to the shape and dimensions of parts such as shaving and drilling depth indication problems that occur due to linear interpolation definition defects during axis rotation). Moreover, even if the machine specifications change, it is not necessary to change the entire software to set the machine constant file.

【図面の簡単な説明】[Brief description of drawings]

【図1】カッターパスの作図又は表示プログラムフロー
チャート。
FIG. 1 is a flowchart of a cutter path drawing or display program.

【図2】NCプログラムからNCデータに到るフローチ
ャート。
FIG. 2 is a flowchart from an NC program to NC data.

【図3】紙面作図例の適用図。FIG. 3 is an application diagram of a paper drawing example.

【符号の説明】 〜 処理ブロック。[Explanation of Codes] -Processing block.

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 コマンドデータの読み込み、 機械固有の動きを再現するため機械の情報を読み込むN
C機械定数ファイルの読み込み、 機械の動きを工具の動きに置換するための工具の情報を
読み込む工具情報ファイルの読み込み、 上記コマンドデータにて指定されたNCデータファイル
を捜して1ブロックずつ読み込むNCデータの読み込
み、 このNCデータを機械を制御する各種コードに分解し各
コードを数値化するNCデータの解析、 このNCデータの1ブロックずつの始点データ及び終点
データ等を求める機械の動きの計算、 この計算結果の作図又は表示データへの変換を行なうよ
うにしたカッターパス検証方法。
1. Reading of command data and machine information for reproducing machine-specific movements N
C Machine constant file read, tool information file for replacing machine movement with tool movement read tool information file, NC data file specified by the above command data is searched, and NC data is read block by block Reading, analyzing the NC data that decomposes this NC data into various codes for controlling the machine, and digitizing each code, calculating the movement of the machine to obtain the start point data and end point data for each block of this NC data, A cutter path verification method that converts the calculation result into drawing or display data.
JP31808192A 1992-11-27 1992-11-27 Cutter pass inspecting method Pending JPH06161534A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP31808192A JPH06161534A (en) 1992-11-27 1992-11-27 Cutter pass inspecting method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP31808192A JPH06161534A (en) 1992-11-27 1992-11-27 Cutter pass inspecting method

Publications (1)

Publication Number Publication Date
JPH06161534A true JPH06161534A (en) 1994-06-07

Family

ID=18095269

Family Applications (1)

Application Number Title Priority Date Filing Date
JP31808192A Pending JPH06161534A (en) 1992-11-27 1992-11-27 Cutter pass inspecting method

Country Status (1)

Country Link
JP (1) JPH06161534A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2013157081A1 (en) * 2012-04-17 2013-10-24 株式会社牧野フライス製作所 Interference determination method and interference determination device for machine tool

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2013157081A1 (en) * 2012-04-17 2013-10-24 株式会社牧野フライス製作所 Interference determination method and interference determination device for machine tool
CN104245228A (en) * 2012-04-17 2014-12-24 株式会社牧野铣床制作所 Interference determination method and interference determination device for machine tool
JPWO2013157081A1 (en) * 2012-04-17 2015-12-21 株式会社牧野フライス製作所 Machine tool interference judgment method and interference judgment device
US9873175B2 (en) 2012-04-17 2018-01-23 Makino Milling Machine Co,. Ltd. Interference determination method and interference determination device for machine tool
CN104245228B (en) * 2012-04-17 2018-04-20 株式会社牧野铣床制作所 The interference decision method and interference decision maker of lathe

Similar Documents

Publication Publication Date Title
JP4680176B2 (en) Machine tool control method and apparatus therefor
Wang et al. Real-time verification of multiaxis NC programs with raster graphics
JP2685071B2 (en) Numerical control unit
US5991528A (en) Expert manufacturing system
JP4233147B2 (en) How to determine an applicable feed rate for a machine tool
US8195310B2 (en) Generation of a CNC machine tool control program
JP2000207008A (en) Teach-in system
JPS61136104A (en) Method and apparatus for generating program for numerical control
JP2019082852A (en) Postprocessor device, processing program generation method, cnc machining system, and program for processing program generation
CN111113423A (en) Hub deburring robot programming system
Acal et al. Virtual reality simulation applied to a numerical control milling machine
JPH06161534A (en) Cutter pass inspecting method
JP2005144620A (en) Shape processing method by numerical control processing machine, numerical control device, machine tool, nc program making device and nc program making program
KR19980020028A (en) Virtual computer numerical control machine system and method
KR20050031043A (en) Method for direct controling cnc machine and record medium recorded program thereof
KR100454717B1 (en) System for direct controling CNC machine
Yakovlev et al. Software development for 3d visualization of g-code when working with CNC machines
CN109507953A (en) Machining simulation machine
JPS598842B2 (en) Mold processing automation method using copying model
JP2763923B2 (en) NC data creation device
Arthaya et al. The design and development of G-code checker and cutting simulator for CNC turning operation
CN1319201A (en) Process and system for working workpiece through numerically controlled machine tools
JP2002091526A (en) Numerical controller
Arshad et al. Flank wear simulation of a virtual end milling process
Mwinuka et al. 2D AutoCAD Geometric Data Extraction and Post-Processing for Numerical Control

Legal Events

Date Code Title Description
A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20000530