JPH08257874A - Correcting method for nc machining program - Google Patents

Correcting method for nc machining program

Info

Publication number
JPH08257874A
JPH08257874A JP6324695A JP6324695A JPH08257874A JP H08257874 A JPH08257874 A JP H08257874A JP 6324695 A JP6324695 A JP 6324695A JP 6324695 A JP6324695 A JP 6324695A JP H08257874 A JPH08257874 A JP H08257874A
Authority
JP
Japan
Prior art keywords
machining
workpiece
program
dimension
machining program
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
JP6324695A
Other languages
Japanese (ja)
Inventor
Yuji Matsumoto
祐司 松本
Hideaki Tashiro
秀昭 田代
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.)
Hitachi Zosen Corp
Original Assignee
Hitachi Zosen 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 Hitachi Zosen Corp filed Critical Hitachi Zosen Corp
Priority to JP6324695A priority Critical patent/JPH08257874A/en
Publication of JPH08257874A publication Critical patent/JPH08257874A/en
Pending legal-status Critical Current

Links

Landscapes

  • Automatic Control Of Machine Tools (AREA)
  • Numerical Control (AREA)

Abstract

PURPOSE: To decrease an air cut as small as possible so as to improve machining efficiency, by performing measuring the external dimension of a workpiece, and correcting a program so that this measured dimension makes a machining start point, described in the program, approach a side of the workpiece. CONSTITUTION: An actual workpiece A is left as held by a holding device 4, and in lieu of a machining tool, a distance measuring device 11 is mounted on a spindle 6 on the side of a machining device 8, to measure a distance to the workpiece A, that is, an actual external diametric dimension related to machining. This external diametric dimension is compared with actual external diametric dimension built in a machining program. As a result, in the case of providing a dimensional difference, a machining start position is corrected so as to be adjacent to a side of the workpiece A in accordance with this dimensional difference. This corrected machining program is used. That is, an air cut is decreased as small as possible.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、NC加工用プログラム
の修正方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a method for modifying an NC machining program.

【0002】[0002]

【従来の技術】近年、機械加工に、多くのNC工作機械
が使用されており、このNC工作機械は、プログラムに
より制御され、被加工物の加工寸法が予めプログラムに
書き込まれている。
2. Description of the Related Art In recent years, many NC machine tools have been used for machining. This NC machine tool is controlled by a program and the machining dimensions of a workpiece are written in the program in advance.

【0003】ところで、被加工物が鋳造品または鍛造品
である場合、被加工物の外形寸法にばらつきが生じてい
るため、従来、予測される最大寸法を想定して、加工用
プログラムが作成されていた。
By the way, when a workpiece is a cast product or a forged product, since the outer dimensions of the workpiece vary, a machining program is conventionally created by assuming a predicted maximum dimension. Was there.

【0004】[0004]

【発明が解決しようとする課題】上記従来の加工用プロ
グラムにおいては、切削シミュレーションなどによりエ
アカット(切削が行われているが、実際には、まだ被加
工物に接触していない状態)が最小となるようにされて
いるが、被加工物の外形寸法が、想定された寸法よりも
小さい場合には、エアカットを避けることができず、し
たがってどうしても加工能率が低下するという問題があ
った。
In the conventional machining program described above, air cutting (a state in which cutting is performed, but in reality, the workpiece is not yet in contact) is minimized by a cutting simulation or the like. However, if the outer dimension of the work piece is smaller than the expected dimension, air cutting cannot be avoided, and thus the machining efficiency is inevitably lowered.

【0005】そこで、本発明は上記問題を解消し得るN
C加工用プログラムの修正方法を提供することを目的と
する。
Therefore, the present invention can solve the above-mentioned problems.
An object of the present invention is to provide a method for modifying a C machining program.

【0006】[0006]

【課題を解決するための手段】上記課題を解決するた
め、本発明のNC加工用プログラムの修正方法は、既に
作成されているNC加工用プログラムに対し、被加工物
の外形寸法の測定を行い、この測定寸法が上記プログラ
ムに記述された加工寸法より小さい場合に、その寸法差
に応じた距離だけ加工開始点を、被加工物側に近付ける
ように、上記プログラムを修正する方法である。
In order to solve the above problems, a method for modifying an NC machining program according to the present invention measures the external dimensions of a workpiece with respect to an NC machining program that has already been created. If the measured dimension is smaller than the machining dimension described in the program, the program is modified so that the machining start point is brought closer to the workpiece side by a distance according to the dimension difference.

【0007】[0007]

【作用】上記の構成によると、被加工物の想定寸法より
も実測寸法の方が小さい場合、その寸法差に応じた距離
だけ加工開始点を被測定物側に近付けるように、加工用
プログラムを修正するため、エアカットを極力少なくす
ることができる。
According to the above construction, when the actually measured dimension is smaller than the assumed dimension of the workpiece, the machining program is set so that the machining start point is brought closer to the workpiece side by the distance according to the dimension difference. Since it is corrected, the air cut can be reduced as much as possible.

【0008】[0008]

【実施例】以下、本発明のプログラムの修正方法の一実
施例を図1〜図3に基づき説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the program correcting method of the present invention will be described below with reference to FIGS.

【0009】図1において、1はNC工作機械で、支持
台2の一端側には、被加工物Aを取付治具3を介して保
持する保持装置4が配置されるとともに、支持台2の他
端側には、先端に加工具5が取り付けられたスピンドル
6、このスピンドル6を回転させるモータおよびATC
7などを具備した加工装置8が配置されている。
In FIG. 1, reference numeral 1 is an NC machine tool, and a holding device 4 for holding a workpiece A via a mounting jig 3 is arranged at one end side of the support base 2 and the support base 2 is attached. On the other end side, a spindle 6 having a processing tool 5 attached to its tip, a motor for rotating the spindle 6, and an ATC
A processing device 8 including 7 and the like is arranged.

【0010】上記加工装置8において、加工具5すなわ
ちスピンドル6が、上下方向(X軸方向)、左右方向
(Y軸方向)および前後方向(Z軸方向)に移動し得る
ようにされている。
In the processing device 8, the processing tool 5, that is, the spindle 6 is movable in the up-down direction (X-axis direction), the left-right direction (Y-axis direction) and the front-rear direction (Z-axis direction).

【0011】そして、このNC工作機械1の数値制御部
には、被加工物Aを所定の形状に加工(例えば穴あけ)
するために、加工具5を三軸方向(X軸,Y軸,Z軸方
向)に移動(制御)させる加工用プログラムが記憶され
ている。
Then, the numerical control section of the NC machine tool 1 processes the workpiece A into a predetermined shape (for example, drilling).
In order to do so, a machining program for moving (controlling) the machining tool 5 in the three-axis directions (X-axis, Y-axis, Z-axis direction) is stored.

【0012】この加工用プログラムにおいては、被加工
物Aの想定される外形寸法に基づき、エアカットをでき
るだけ少なくするように、加工開始位置(例えば、R点
位置)が決定されている。
In this machining program, the machining start position (for example, the R point position) is determined on the basis of the expected external dimensions of the workpiece A so as to minimize the air cut.

【0013】ところで、上記加工用プログラムでは、被
加工物Aの想定寸法に基づいて、加工開始位置が決定さ
れているため、例えば被加工物Aが鋳造品、鍛造品であ
る場合には、その想定寸法よりも小さくなることが多
く、このため、どうしても、エアカットが大きくなつて
しまう。
By the way, in the above-mentioned machining program, the machining start position is determined based on the assumed size of the workpiece A. Therefore, for example, when the workpiece A is a cast product or a forged product, It is often smaller than the assumed size, which inevitably increases the air cut.

【0014】そこで、この加工用プログラムに修正が施
される。以下、加工用プログラムの修正方法について説
明する。すなわち、図2に示すように、実際の被加工物
Aを保持装置4により保持させておき、加工具の替わり
に、距離測定器11を加工装置8側のスピンドル6に取
り付け、被加工物Aまでの距離、すなわち加工に関係す
る実際の外形寸法を測定する。
Therefore, the machining program is modified. The method of modifying the machining program will be described below. That is, as shown in FIG. 2, the actual workpiece A is held by the holding device 4, and instead of the processing tool, the distance measuring device 11 is attached to the spindle 6 on the processing device 8 side, and the workpiece A is processed. Measure the distance to, ie the actual external dimensions related to the machining.

【0015】そして、この外形寸法と加工用プログラム
に組み込まれた想定寸法とを比較し、寸法差がある場合
には、この寸法差に応じて加工開始位置が被測定物A側
に近づくように修正され、この修正された加工用プログ
ラムが使用される。すなわち、エアカットが極力少なく
なる。
Then, the external dimensions are compared with the assumed dimensions incorporated in the machining program, and if there is a dimensional difference, the machining start position approaches the object A side according to the dimensional difference. Modified, and this modified machining program is used. That is, the air cut is reduced as much as possible.

【0016】なお、上記寸法差を解消する際に、不要な
箇所が生じた場合には、加工用プログラムから削除され
る。ここで、より具体的な修正手順を、図3のフローチ
ャートに基づき説明する。
If an unnecessary portion is generated when the above dimensional difference is eliminated, it is deleted from the machining program. Here, a more specific correction procedure will be described based on the flowchart of FIG.

【0017】まず、加工具5をスピンドル6から取り外
し、距離測定器(例えば、超音波距離計、レーザ光距離
計などなど使用される)11を取り付ける。次に、スピ
ンドル6をX軸,Y軸方向に所定間隔(例えば、5mmピ
ッチ)ごとに移動させ、それぞれの位置でZ軸方向にお
ける距離、すなわち被加工物Aまでの距離を測定する。
First, the processing tool 5 is removed from the spindle 6, and a distance measuring device (for example, an ultrasonic range finder, a laser range finder, etc.) 11 is attached. Next, the spindle 6 is moved in the X-axis and Y-axis directions at predetermined intervals (for example, a pitch of 5 mm), and the distance in the Z-axis direction, that is, the distance to the workpiece A is measured at each position.

【0018】測定が終了すると、この測定値をNC加工
用プログラムにおけるX軸,Y軸,Z軸上への展開処理
を行った後、予め想定された被加工物に対応する各座標
と比較する。
When the measurement is completed, this measured value is expanded on the X-axis, Y-axis, and Z-axis in the NC machining program, and then compared with the respective coordinates corresponding to the workpiece assumed in advance. .

【0019】この比較した結果に基づき、加工用プログ
ラムの修正を行った後、数値制御部に修正プログラムが
転送され、そして加工が開始される。例えば、図2の仮
想線にて示すように、被加工物Aの所定位置からの想定
寸法がZ軸方向で210mmであるが、実際の測定寸法で
は、200mmであった場合には、このZ軸方向での修正
が行われる。
Based on the result of this comparison, after modifying the machining program, the modification program is transferred to the numerical control section, and machining is started. For example, as shown by the phantom line in FIG. 2, the assumed dimension of the workpiece A from the predetermined position is 210 mm in the Z-axis direction, but when the actual measured dimension is 200 mm, this Z Axial corrections are made.

【0020】実際に、上記の修正方法を採用した場合、
例えば加工時間が163分かかったものが、被測定物の
測定時間を含めても約145分程度となり、約10%の
加工時間の削減となった。
In practice, if the above correction method is adopted,
For example, what took 163 minutes of processing time was about 145 minutes including the measurement time of the object to be measured, and the processing time was reduced by about 10%.

【0021】例えば、外形の加工に他に、上述したよう
に、穴あけ加工などの固定サイクルにおいても、切削加
工開始位置(R点)を、被加工物寄り位置に修正するこ
とができる。
For example, in addition to the processing of the outer shape, as described above, the cutting processing start position (point R) can be corrected to a position closer to the workpiece even in a fixed cycle such as drilling.

【0022】ところで、上記実施例においては、被加工
物を測定するのに、加工具の替わりに、スピンドルに距
離測定器を取り付けるようにしたが、例えばCCDなど
を使用して画像処理により、被加工物までの距離または
外形寸法を測定するようにしてもよい。
In the above embodiment, in order to measure the workpiece, the distance measuring device is attached to the spindle instead of the processing tool. However, for example, a CCD or the like is used to perform image processing to measure the workpiece. You may make it measure the distance or external dimension to a workpiece.

【0023】なお、このNC加工用プログラムの修正方
法を、例えば溶接ロボット装置などにも適用することが
できる。
The method for modifying the NC machining program can be applied to, for example, a welding robot device.

【0024】[0024]

【発明の効果】以上のように本発明のプログラムの修正
方法によると、被加工物の想定寸法よりも実測寸法の方
が小さい場合、その寸法差に応じた距離だけ加工開始点
を被加工物側に近付けるように、加工用プログラムを修
正するため、エアカットを極力少なくすることができ、
したがって加工能率を向上させることができる。
As described above, according to the program correcting method of the present invention, when the actually measured dimension is smaller than the assumed dimension of the workpiece, the processing start point is set at a distance corresponding to the dimension difference. Since the machining program is modified so that it comes closer to the side, the air cut can be reduced as much as possible,
Therefore, the processing efficiency can be improved.

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

【図1】本発明の一実施例に使用されるNC工作機械の
概略側面図である。
FIG. 1 is a schematic side view of an NC machine tool used in an embodiment of the present invention.

【図2】同実施例のNC工作機械における被測定物の測
定状態を示す側面図である。
FIG. 2 is a side view showing a measurement state of an object to be measured in the NC machine tool of the embodiment.

【図3】同実施例におけるNC加工用プログラムの修正
方法を説明するフローチャートである。
FIG. 3 is a flowchart illustrating a method for modifying an NC machining program according to the same embodiment.

【符号の説明】[Explanation of symbols]

A 被加工物 1 工作機械 3 取付治具 4 保持装置 5 加工具 6 スピンドル 8 加工装置 11 距離測定器 A Workpiece 1 Machine tool 3 Mounting jig 4 Holding device 5 Processing tool 6 Spindle 8 Processing device 11 Distance measuring device

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】既に作成されているNC加工用プログラム
に対し、被加工物の外形寸法の測定を行い、この測定寸
法が上記プログラムに記述された加工寸法より小さい場
合に、その寸法差に応じた距離だけ加工開始点を、被加
工物側に近付けるように、上記プログラムを修正するこ
とを特徴とするNC加工用プログラムの修正方法。
1. An external dimension of a workpiece is measured with respect to an NC machining program that has already been created, and when the measured dimension is smaller than the machining dimension described in the program, the dimension difference is determined. A method for modifying an NC machining program, characterized in that the above-mentioned program is modified so that the machining start point comes closer to the workpiece side by a certain distance.
JP6324695A 1995-03-23 1995-03-23 Correcting method for nc machining program Pending JPH08257874A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP6324695A JPH08257874A (en) 1995-03-23 1995-03-23 Correcting method for nc machining program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP6324695A JPH08257874A (en) 1995-03-23 1995-03-23 Correcting method for nc machining program

Publications (1)

Publication Number Publication Date
JPH08257874A true JPH08257874A (en) 1996-10-08

Family

ID=13223700

Family Applications (1)

Application Number Title Priority Date Filing Date
JP6324695A Pending JPH08257874A (en) 1995-03-23 1995-03-23 Correcting method for nc machining program

Country Status (1)

Country Link
JP (1) JPH08257874A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7099738B2 (en) 2002-11-13 2006-08-29 Fujitsu Limited CAM system and program, and method for controlling CAM system
JP2010244551A (en) * 2009-04-06 2010-10-28 Dmg Electronics Gmbh Method and device for generating control data for tool control in machine tool
WO2012029435A1 (en) * 2010-08-31 2012-03-08 三菱重工業株式会社 Numerically-controlled machine tool
CN104858715A (en) * 2015-04-10 2015-08-26 沈阳飞机工业(集团)有限公司 Method for verifying correctness of computer numerical control milling cutter for part processing

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7099738B2 (en) 2002-11-13 2006-08-29 Fujitsu Limited CAM system and program, and method for controlling CAM system
JP2010244551A (en) * 2009-04-06 2010-10-28 Dmg Electronics Gmbh Method and device for generating control data for tool control in machine tool
WO2012029435A1 (en) * 2010-08-31 2012-03-08 三菱重工業株式会社 Numerically-controlled machine tool
JP2012053508A (en) * 2010-08-31 2012-03-15 Mitsubishi Heavy Ind Ltd Numerically controlled machine tool
US20130090755A1 (en) * 2010-08-31 2013-04-11 Mitsubishi Heavy Industries, Ltd. Numerically-controlled machine tool
CN104858715A (en) * 2015-04-10 2015-08-26 沈阳飞机工业(集团)有限公司 Method for verifying correctness of computer numerical control milling cutter for part processing

Similar Documents

Publication Publication Date Title
JP4531023B2 (en) Crankshaft machining method, crankshaft machining apparatus, control apparatus, and program
JP2006048244A (en) Working program generating device
JP2005074568A (en) Multiple spindle machine and workpiece machining method
JP2005074569A (en) Program, computer device, multiple spindle machine, nc program forming method, and workpiece machining method
JPH09253979A (en) Tool edge position measuring device
JP2006085486A (en) Nc working simulation method and nc working simulation device
JPH08257874A (en) Correcting method for nc machining program
JP2022049546A (en) Controller, industrial machine, and method of control
JP3173808B2 (en) Tool attitude control data generator
JP2002304203A (en) Nc machine tool and machining method
JPH0457007B2 (en)
JP2919754B2 (en) Backlash measurement and correction device for spherical or circular surface machining
JP2020019126A (en) Automatic deburring and/or edge finishing device, and automation method of deburring and/or edge finishing
JP3444072B2 (en) Method and apparatus for determining form of interfered object, method for automatically determining work supporting form, and method for automatically determining tooling form
JPH08108350A (en) Method for presetting correction quantity of tool using tool pre-setter and device thereof
JP3064043B2 (en) Machining method in which workpiece deformation due to clamp is corrected, and NC machine tool for implementing the method
JPH1142535A (en) Inner diameter machining dimension correcting method and nc lathe that can execute this correcting method
JPH10314187A (en) Manufacturing device of dental prosthetic matter
JPH11165239A (en) Numerical control data editing device and editing method of numerical control data
TWI842166B (en) Processing method of workpiece and processing system of workpiece
JP2926524B2 (en) Numerical controller with trial cutting function
JP2006021277A (en) Tool centering method and tool measuring method
JPH06246589A (en) Noncircular workpiece error correcting method by in-machine measurement
JPS60175555U (en) Processing reference point correction device for NC machine tools
JP2005034961A (en) Numerical control machining device