JPH06285748A - Nc data creation method - Google Patents
Nc data creation methodInfo
- Publication number
- JPH06285748A JPH06285748A JP9884793A JP9884793A JPH06285748A JP H06285748 A JPH06285748 A JP H06285748A JP 9884793 A JP9884793 A JP 9884793A JP 9884793 A JP9884793 A JP 9884793A JP H06285748 A JPH06285748 A JP H06285748A
- Authority
- JP
- Japan
- Prior art keywords
- tool
- data
- machining
- length
- storage device
- 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
Links
Abstract
Description
【0001】[0001]
【産業上の利用分野】本発明はコンピュータを用いてN
Cデータを作成する方法であって、一連のNCデータに
対して工具の交換に必要なNCデータを自動的に挿入す
るNCデータ作成方法に関する。BACKGROUND OF THE INVENTION 1. Field of the Invention
The present invention relates to a method of creating C data, which relates to an NC data creation method of automatically inserting NC data necessary for tool replacement into a series of NC data.
【0002】[0002]
【従来の技術】NCマシンに装備されている工具は加工
精度や寿命を考慮して適当な時期に交換する必要があ
る。従来、加工長のデータや加工時間のデータを工具毎
に集計し、これらのデータを参考にして熟練工が工具の
寿命管理を行っていた。例えば、ある加工を行うのに加
工距離から見てとても1本の工具ではとても間に合わな
いと判断した場合、まず、1本の工具で加工できる範囲
内での加工を行い、その後、性状が同じ他の工具に交換
し、全工程の加工を行うようにしていた。ただ、工具の
交換に伴って必要なNCデータを一連のNCデータに挿
入するという作業についてはCAM装置のオペレータが
行っており、熟練工からの指示に応じてNCデータをマ
ニュアルで修正あるいは作成し直すようにしていた。2. Description of the Related Art A tool installed in an NC machine needs to be replaced at an appropriate time in consideration of machining accuracy and life. In the past, machining length data and machining time data were totaled for each tool, and a skilled worker managed the life of the tool by referring to these data. For example, if it is judged that a single tool is too late for a certain machining to perform a certain machining, first perform the machining within the range that can be machined by one tool, and then use the same properties. I changed it to the tool of the above and performed the whole process. However, the operator of the CAM device is performing the work of inserting the necessary NC data into the series of NC data when the tool is changed, and the NC data is manually modified or recreated according to the instruction from the skilled worker. Was doing.
【0003】[0003]
【発明が解決しようとする課題】しかしながら、上記従
来法では、NCデータの修正等に長い時間が必要となる
上に、この際ミスの入り込む可能性が多分にあるという
欠点がある。特に、工具の種類や工作物の材質はますま
す多様化する反面、加工面精度の均一化の要求も一段と
強くなっており、従来法ではとても対応できなくなりつ
つある。However, the above-mentioned conventional method has a drawback in that it takes a long time to correct the NC data and there is a possibility that mistakes may occur at this time. In particular, while the types of tools and the materials of work pieces are diversifying more and more, the demand for uniform machining surface accuracy is becoming stronger, and the conventional method is not able to meet such requirements.
【0004】本発明は上記した背景のもとで創作された
もので、その目的とするところは、一連のNCデータに
対して工具交換に伴い必要なNCデータを自動的に挿入
するようにしたNCデータ作成方法を提供することにあ
る。The present invention was created under the above-mentioned background. The purpose of the present invention is to automatically insert the NC data necessary for tool replacement into a series of NC data. It is to provide a method for creating NC data.
【0005】[0005]
【課題を解決するための手段】本発明にかかるNCデー
タ作成方法は、NCデータ記憶装置に記録された一連の
NCデータを逐次読み出し、読み出されたNCデータの
工作物材質及び工具情報を検索キーとして、予め用意さ
れた工具寿命データファイルを検索し、これにより工具
の標準加工長を求める一方で、読み出されたNCデータ
に基づいて工具移動距離を算出し、当該工具移動距離が
多くとも標準加工長に達すれば、工具の交換が必要であ
ると判定し、当該NCデータの次に工具交換に必要なN
Cデータを追加するようにしたことを特徴としている。A method for creating NC data according to the present invention sequentially reads a series of NC data recorded in an NC data storage device and retrieves workpiece material and tool information of the read NC data. As a key, the tool life data file prepared in advance is searched, and the standard machining length of the tool is obtained by this, while the tool movement distance is calculated based on the read NC data, and the tool movement distance is at most If the standard machining length is reached, it is determined that the tool needs to be replaced, and the N required for tool replacement is next to the NC data.
The feature is that C data is added.
【0006】[0006]
【実施例】以下、本発明の実施例を図面を参照して説明
する。図1、図2はNCデータを作成するためのプログ
ラムフローチャート、図3はNCデータの構造を示す説
明図、図4は工具寿命データファイルの内容を表す説明
図、図5はプログラム処理前のNCデータの説明図、図
6はプログラム処理後のNCデータの説明図である。Embodiments of the present invention will be described below with reference to the drawings. 1 and 2 are program flowcharts for creating NC data, FIG. 3 is an explanatory view showing the structure of NC data, FIG. 4 is an explanatory view showing the contents of a tool life data file, and FIG. 5 is an NC before program processing. FIG. 6 is an explanatory diagram of data, and FIG. 6 is an explanatory diagram of NC data after the program processing.
【0007】まず、NCデータの構造について図3を参
照して説明する。工作物のデータは加工を施すべき工作
物の材質を表わす。工具番号のデータはNCマシンに装
備された工具に割り当てた番号である。工具情報のデー
タは工具の種類(荒、中、仕上、ドリル、エンドミル、
リーマ等)、工具材質、工具径、工具角半径、工具刃
長、工具刃数のデータから構成されている。First, the structure of NC data will be described with reference to FIG. The workpiece data represents the material of the workpiece to be machined. The data of the tool number is the number assigned to the tool installed in the NC machine. Tool information data is the type of tool (rough, medium, finish, drill, end mill,
Reamers, etc.), tool material, tool diameter, tool angular radius, tool blade length, and tool blade number.
【0008】加工開始情報のデータは、工具の移動開始
点、工具の回転数、方向、切削油の起動命令のデータか
ら構成されている。工具移動命令は、工具の送り速度、
工具移動点のデータから構成されている。加工終了情報
のデータは、工具の移動終了点、工具の回転停止命令、
切削油の停止命令のデータから構成されている。The data of the machining start information is composed of the movement start point of the tool, the rotational speed of the tool, the direction, and the data for starting the cutting oil. The tool movement command is the tool feed speed,
It is composed of data of tool movement points. Machining end information data includes tool movement end point, tool rotation stop command,
It is composed of the data of the cutting oil stop command.
【0009】図5はNCマシンを動作させるに必要なN
Cデータを示している。一連のNCデータはCAM装置
を用いて作成されており、シーケンシャルファイルの形
でNCデータ記憶装置に記録されている。図4に示すよ
うな工具寿命データファイルも予め用意されており、他
の記憶装置には記録されている。FIG. 5 shows the N required to operate the NC machine.
C data is shown. A series of NC data is created by using a CAM device and recorded in the NC data storage device in the form of a sequential file. A tool life data file as shown in FIG. 4 is also prepared in advance and recorded in another storage device.
【0010】工具寿命データファイルは工具寿命情報換
に関するデータベースであって、工作物材質、工具径、
工具材質、工具角半径、工具刃数、工具刃長、標準加工
長のデータから構成されている。標準加工長を除いては
NCデータの内容と対応したものとなっている(図3参
照)。ここで標準加工長とは、1本の工具で加工可能な
最長の加工距離をいう。The tool life data file is a database relating to tool life information conversion, and includes a work material, a tool diameter,
It consists of data of tool material, tool radius, tool number, tool length, and standard machining length. Except for the standard processing length, it corresponds to the contents of NC data (see FIG. 3). Here, the standard machining length refers to the longest machining distance that can be machined with one tool.
【0011】例えば、刃長50mm、刃数4枚、工具径φ20
mm、工具鋼の荒加工用エンドミルを用いて、工作物材質
がS55Cで表される工作物を加工したときには、標準
加工長がどれ位かということを予め実験的(又は経験
的)に求めておく。標準加工長が10mであるというこ
とが判れば、このデータを記憶装置に予め記憶させてお
く。このようにして得られたデータのファイルが図4に
示す工具寿命データファイルである。For example, the blade length is 50 mm, the number of blades is 4, and the tool diameter is φ20.
mm, when using the end mill for rough machining of tool steel to machine a workpiece whose workpiece material is represented by S55C, experimentally (or empirically) determine in advance how long the standard machining length is. deep. If it is found that the standard processing length is 10 m, this data is stored in the storage device in advance. The data file thus obtained is the tool life data file shown in FIG.
【0012】次に、一連のNCデータに対して工具交換
に必要なNCデータを自動的に挿入するプログラムにつ
いて図1及び図2を参照して説明する。Next, a program for automatically inserting the NC data required for tool exchange into a series of NC data will be described with reference to FIGS. 1 and 2.
【0013】まず、図1に示すNCデータ記憶装置から
NCデータを読み出す(S1)。そして加工開始情報、
工具移動命令、加工終了情報のデータに基づいて工具が
切削送りで移動する距離(工具の総移動距離とする)を
算出する(S2)。その後、工作物材質、工具情報(工
具径、工具材質、工具角半径、工具刃数、工具刃長)の
データを検索キーとして工具寿命データファイルを検索
し、これにより標準加工長のデータを求める(S3)。First, NC data is read from the NC data storage device shown in FIG. 1 (S1). And processing start information,
Based on the tool movement command and the data of the machining end information, the distance traveled by the tool by cutting feed (the total movement distance of the tool) is calculated (S2). After that, the tool life data file is searched using the data of the work material and tool information (tool diameter, tool material, tool radius, tool flute number, tool flute length) as the search key, and the standard machining length data is obtained from this. (S3).
【0014】次いで、上記した工具の総移動距離を標準
加工長で割り算し、これにより工具の交換回数を算出す
る(S4)。工具の交換回数をn、工具の総移動距離を
Mとして表すとすると、その後、M/(n+1)の演算
を行い、これにより工具の限界加工長を求める(S
5)。Next, the total movement distance of the tool is divided by the standard machining length, and the number of times the tool is replaced is calculated (S4). Assuming that the number of tool changes is n and the total movement distance of the tool is M, M / (n + 1) is then calculated to obtain the limit machining length of the tool (S
5).
【0015】例えば、工具の標準加工長が10mで、工
具の総移動距離が27mの場合、工具の交換回数nは2
回、工具の限界加工長は9mとなる。即ち、同一工具を
3本用意することが必要となることを意味している。For example, when the standard machining length of the tool is 10 m and the total moving distance of the tool is 27 m, the number of times n of changing the tool is 2
Turning, the limit machining length of the tool is 9m. That is, it means that it is necessary to prepare three identical tools.
【0016】ステップ1からステップ5までの処理を全
てのNCデータについて行い、別のの記憶装置に一時退
避させておく。この処理が終了すれば、図2に示すプロ
グラムに移行する。The processing from step 1 to step 5 is performed for all NC data, and is temporarily saved in another storage device. When this process ends, the program moves to the program shown in FIG.
【0017】まず、NCデータ記憶装置からNCデータ
(説明の都合上、NCデータ1として表すものとする)
を逐次読み出し、新NCデータ記憶装置に逐次書き込む
(S6、S7)。そしてNCデータ1に工具移動命令が
含められていることを前提に、NCデータ1の工具移動
命令等のデータに基づき工具の移動距離を求める(S
8)。First, NC data is stored in the NC data storage device (for convenience of explanation, it is represented as NC data 1).
Are sequentially read and sequentially written in the new NC data storage device (S6, S7). Then, on the assumption that the NC data 1 includes the tool movement command, the movement distance of the tool is obtained based on the data such as the tool movement command of the NC data 1 (S
8).
【0018】次に、工具の交換を行う必要があるか否か
を判定する。工具の移動距離が工具の限界加工長以下で
ある場合、工具の交換を行う必要がないと判定して(S
9)、次のNCデータ(説明の都合上、NCデータ4と
する)の読み込みを行う(S6)。その後は上記と同様
の処理を行う。Next, it is determined whether or not the tool needs to be replaced. If the movement distance of the tool is less than the limit machining length of the tool, it is determined that it is not necessary to replace the tool (S
9) Then, the next NC data (for convenience of explanation, referred to as NC data 4) is read (S6). After that, the same processing as above is performed.
【0019】一方、工具の移動距離が工具の限界加工長
を越えた場合、工具の交換を行う必要があると判定して
(S9)、工具交換に伴って必要なNCデータを作成
し、新NCデータ記憶装置のNCデータ1の次に付加す
る(S10、S11)。On the other hand, when the moving distance of the tool exceeds the limit machining length of the tool, it is judged that the tool needs to be replaced (S9), and the NC data necessary for the tool replacement is created. It is added next to NC data 1 in the NC data storage device (S10, S11).
【0020】この処理についてより詳しく説明する。ま
ず、NCデータ1の工具番号(ここでは工具番号1とす
る)等のデータからその工具の性状が同じ工具番号を決
定する。ここでは工具番号はデータ記憶装置に登録され
ておらず且つ最小の工具番号のものを選択して決定す
る。n≧2であれば、n個分の工具番号を決定する。即
ち、n=2であれば、2個分の工具番号(ここでは工具
番号2、3とする)を決定する。もっとも、工具番号を
オペレータがマニュアルで決定するようにしてもかまわ
ない(S10)。This process will be described in more detail. First, a tool number having the same property as the tool is determined from data such as the tool number of NC data 1 (here, tool number 1). Here, the tool number is not registered in the data storage device and is determined by selecting the smallest tool number. If n ≧ 2, n tool numbers are determined. That is, if n = 2, two tool numbers (here, tool numbers 2 and 3) are determined. However, the operator may manually determine the tool number (S10).
【0021】新たな工具番号が決まれば、NCデータ1
の次に付加するNCデータ2(工具番号2)、NCデー
タ3(工具番号3)を作成する。このNCデータ2、3
はNCデータ1の工具情報、開始加工情報、工具移動命
令、加工終了情報等のデータに基づいて作成される。工
具番号1の工具から工具番号2の工具へと交換させるに
必要な工具移動命令等は予め別の記憶装置に予め用意さ
れているので、このデータを参照してNCデータ2を作
成する。NCデータ3についても同様である。NCデー
タ2、3が作成されれば、新NCデータ記憶装置に転送
させて、NCデータ1の次に追加する(S11)。When a new tool number is decided, NC data 1
Next, NC data 2 (tool number 2) and NC data 3 (tool number 3) to be added are created. This NC data 2, 3
Is created on the basis of data such as tool information, start machining information, tool movement command, and machining end information of NC data 1. Since the tool movement command and the like required for exchanging the tool of the tool number 1 to the tool of the tool number 2 are prepared in advance in another storage device, the NC data 2 is created by referring to this data. The same applies to NC data 3. When the NC data 2 and 3 are created, they are transferred to the new NC data storage device and added next to the NC data 1 (S11).
【0022】このような処理が終了すると、次のNCデ
ータ4の読み込みを行い(S6)、その後は上記と同様
の処理を行う。NCデータ記憶装置内の全てのNCデー
タについて読み込みが行なわれると、これで一連のプロ
グラムが終了する。この過程で、NCデータ1とNCデ
ータ4との間に、新たに作成されたNCデータ2、3が
挿入されることになる(図6参照)。Upon completion of such processing, the next NC data 4 is read (S6), and thereafter the same processing as described above is performed. When all the NC data in the NC data storage device have been read, this completes the series of programs. In this process, the newly created NC data 2 and 3 are inserted between the NC data 1 and the NC data 4 (see FIG. 6).
【0023】この新NCデータ記憶装置に格納された一
連のNCデータを用いてNCマシンを動作させると、以
下のような動作となる。ここでは、工具の標準加工長が
10mで、工具の総移動距離が27mの場合、工具の交
換回数nは2回、工具の限界加工長は9mである例につ
いて説明する。When the NC machine is operated using the series of NC data stored in this new NC data storage device, the following operation is performed. Here, an example will be described in which the standard machining length of the tool is 10 m and the total movement distance of the tool is 27 m, the number of times n the tool is replaced is 2 and the limit machining length of the tool is 9 m.
【0024】まず、工具番号1の工具で加工距離が9m
になるまで加工し、その後一旦加工を中止し、工具番号
1と工具の性状が同じ工具である工具番号2の工具と自
動的に交換する。工具番号2の工具でも加工距離が9m
になるまで加工し、その後一旦加工を中止して、工具番
号1と工具の性状が同じ工具である工具番号3の工具に
自動的に交換する。工具番号3の工具で残りの距離(加
工距離は9m)を加工する。即ち、各工具の加工長が均
一であるので、同一性状の工具を複数本に分けて加工す
る場合でも、加工面精度の均一化や加工精度の向上とい
うメリットを期待できる。これ以後の動作についても同
様である。First, with the tool number 1, the machining distance is 9 m.
Machining is performed until, and then the machining is temporarily stopped, and the tool having the same tool property as the tool No. 1 is automatically replaced with the tool having the tool No. 2. Even with tool number 2, the processing distance is 9m
Machining is performed until, and then the machining is temporarily stopped, and the tool having the same tool property as the tool number 1 is automatically replaced with the tool having the tool number 3. The remaining distance (processing distance is 9 m) is processed with the tool of tool number 3. That is, since the machining lengths of the respective tools are uniform, it is possible to expect merits that the machining surface accuracy is uniform and the machining accuracy is improved even when a plurality of tools having the same properties are machined separately. The same applies to the subsequent operations.
【0025】なお、本実施例では工具の交換が必要か否
かを判定するに当たり、工具の限界加工長を用いたが、
標準加工長を用いてもかまわない。In this embodiment, the limit machining length of the tool is used to determine whether or not the tool needs to be replaced.
The standard processing length may be used.
【0026】[0026]
【発明の効果】以上、本発明にかかるNCデータ作成方
法による場合、工具の交換に伴って必要なNCデータを
一連のNCデータの自動的に挿入するようになってお
り、NCデータの修正等に長い時間が必要となったり、
この際にミスが入り込むというような従来法の欠点が解
消される。よって、工具の種類や工作物の材質はますま
す多様化する反面、加工面精度の均一化の要求にも十分
に対応できる。As described above, according to the NC data creating method of the present invention, a series of NC data is automatically inserted as the NC data required when the tool is changed, and the NC data can be corrected. Takes a long time,
At this time, the drawbacks of the conventional method such as making a mistake are eliminated. Therefore, while the types of tools and work materials are becoming more and more diverse, it is possible to fully meet the demands for uniform machining surface accuracy.
【図1】本発明の実施例を説明するための図であって、
NCデータを作成するためのプログラムフローチャート
である。FIG. 1 is a diagram for explaining an embodiment of the present invention,
It is a program flow chart for creating NC data.
【図2】図1に続くプログラムフローチャートである。FIG. 2 is a program flowchart following FIG.
【図3】NCデータの構造を示す説明図である。FIG. 3 is an explanatory diagram showing a structure of NC data.
【図4】工具寿命データファイルの内容を表す説明図で
ある。FIG. 4 is an explanatory diagram showing the contents of a tool life data file.
【図5】プログラム処理前のNCデータの説明図であ
る。FIG. 5 is an explanatory diagram of NC data before program processing.
【図6】プログラム処理後のNCデータの説明図であ
る。FIG. 6 is an explanatory diagram of NC data after program processing.
Claims (1)
NCデータを逐次読み出し、読み出されたNCデータの
工作物材質及び工具情報を検索キーとして、予め用意さ
れた工具寿命データファイルを検索し、これにより工具
の標準加工長を求める一方で、読み出されたNCデータ
に基づいて工具移動距離を算出し、当該工具移動距離が
多くとも標準加工長に達すれば、工具の交換が必要であ
ると判定し、当該NCデータの次に工具交換に必要なN
Cデータを追加するようにしたことを特徴とするNCデ
ータ作成方法。1. A series of NC data recorded in an NC data storage device is sequentially read, and a tool life data file prepared in advance is searched by using the work material and tool information of the read NC data as search keys. While the standard machining length of the tool is obtained by this, the tool movement distance is calculated based on the read NC data, and if the tool movement distance reaches the standard machining length at most, the tool needs to be replaced. And the N required for tool change next to the relevant NC data.
A method for creating NC data, characterized in that C data is added.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP9884793A JP2972048B2 (en) | 1993-03-31 | 1993-03-31 | How to create NC data |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP9884793A JP2972048B2 (en) | 1993-03-31 | 1993-03-31 | How to create NC data |
Publications (2)
Publication Number | Publication Date |
---|---|
JPH06285748A true JPH06285748A (en) | 1994-10-11 |
JP2972048B2 JP2972048B2 (en) | 1999-11-08 |
Family
ID=14230640
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP9884793A Expired - Fee Related JP2972048B2 (en) | 1993-03-31 | 1993-03-31 | How to create NC data |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2972048B2 (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2003039240A (en) * | 2001-07-20 | 2003-02-12 | Reishauer Ag | Method and apparatus for recording wear of tool used in gear manufacturing |
JP2012103973A (en) * | 2010-11-11 | 2012-05-31 | Bridgestone Corp | Nc program generation method and generation device |
JP2015099513A (en) * | 2013-11-19 | 2015-05-28 | ファナック株式会社 | Chamfer processing machine tool and chamfer processing method |
-
1993
- 1993-03-31 JP JP9884793A patent/JP2972048B2/en not_active Expired - Fee Related
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2003039240A (en) * | 2001-07-20 | 2003-02-12 | Reishauer Ag | Method and apparatus for recording wear of tool used in gear manufacturing |
JP2012103973A (en) * | 2010-11-11 | 2012-05-31 | Bridgestone Corp | Nc program generation method and generation device |
JP2015099513A (en) * | 2013-11-19 | 2015-05-28 | ファナック株式会社 | Chamfer processing machine tool and chamfer processing method |
US9690284B2 (en) | 2013-11-19 | 2017-06-27 | Fanuc Corporation | Machine tool for chamfering and chamfering method |
DE102014116481B4 (en) | 2013-11-19 | 2018-06-21 | Fanuc Corporation | Machine tool for folding and Abkantverfahren |
Also Published As
Publication number | Publication date |
---|---|
JP2972048B2 (en) | 1999-11-08 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US6401004B1 (en) | Method and device for analyzing NC program for NC machining | |
JP3827951B2 (en) | NC program optimization method and apparatus in NC machining | |
JPH0321299B2 (en) | ||
JP3862060B2 (en) | Workpiece machining method using composite tool | |
KR860002004B1 (en) | The processing method for numerical control | |
JPS58155101A (en) | Tool selection control in four-axis numerical control lathe | |
JPH0248378B2 (en) | ||
CN100478122C (en) | Compound processing machinery | |
JPH11129141A (en) | Automatic processing and evaluating device for machining information | |
Abdou et al. | TVCAPP, tolerance verification in computer-aided process planning | |
JPH06285748A (en) | Nc data creation method | |
JPH06155245A (en) | Control method for tool life | |
CN108693831A (en) | The display methods of simulator, program creating device, control device and computer | |
JPH0753336B2 (en) | Automatic tool selection device for machine tools | |
JPS62208858A (en) | Part programming device in machining center | |
JPH06155235A (en) | Control device for boring | |
JPH0433576B2 (en) | ||
JP3483950B2 (en) | Method of inputting tool data of interactive numerical controller | |
JP4310018B2 (en) | Tool position correction method for NC machine tools | |
JP2003140717A (en) | Automatic programming device | |
KR20020000527A (en) | Complex machining machine tool | |
JP4358595B2 (en) | Tool offset value display method for NC machine tools | |
Satine et al. | A process-oriented system for NC lathes | |
JPH0679581A (en) | Automatic cutting conditions setting device for nc machine tool | |
JPS603942B2 (en) | Grooving control method in numerically controlled machine tools |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
LAPS | Cancellation because of no payment of annual fees |