JPH01300306A - Automatic programming method - Google Patents

Automatic programming method

Info

Publication number
JPH01300306A
JPH01300306A JP13214088A JP13214088A JPH01300306A JP H01300306 A JPH01300306 A JP H01300306A JP 13214088 A JP13214088 A JP 13214088A JP 13214088 A JP13214088 A JP 13214088A JP H01300306 A JPH01300306 A JP H01300306A
Authority
JP
Japan
Prior art keywords
tool
data
machining
working
uncut
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
JP13214088A
Other languages
Japanese (ja)
Inventor
Takahiko Endo
貴彦 遠藤
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fanuc Corp
Original Assignee
Fanuc Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fanuc Corp filed Critical Fanuc Corp
Priority to JP13214088A priority Critical patent/JPH01300306A/en
Publication of JPH01300306A publication Critical patent/JPH01300306A/en
Pending legal-status Critical Current

Links

Landscapes

  • Numerical Control (AREA)

Abstract

PURPOSE:To shorten the operating time needed for production of the numerical control NC data by selecting another tool out of a tooling file and producing the NC data for the working of an uncut form in case this uncut form is produced in the working carried out based on the NC data. CONSTITUTION:Both a parts form and a working process are specified and a tool TL1 used for said working process is selected from among a tooling file. Then the NC data (tool path) PL1 is produced so that the working is performed by the tool TL1 with no interference caused with a work W. If an uncut form RMP is caused in the working carried out on the line PL1, another tool TL2 is selected form among the tooling file for production of another tool path PL2 where the form RMP is worked. These two paths PL1 and PL2 are synthesized for production of the NC data for working of the parts form. As a result, the NC data is automatically produced for working of the form RMP and the NC data producing time is shortened.

Description

【発明の詳細な説明】 〈産業上の利用分野〉 本発明は自動プログラミング方法に係り、特にツーリン
グファイルから使用工具を自動的に選択してNCデータ
を作成する自動プログラミング方法に関する。
DETAILED DESCRIPTION OF THE INVENTION <Field of Industrial Application> The present invention relates to an automatic programming method, and more particularly to an automatic programming method for automatically selecting a tool to be used from a tooling file and creating NC data.

〈従来技術〉 複数のデータ入力ステップの各ステップに応じて対話画
面と機能キー(ソフトキー)画面をそれぞれデイスプレ
ィ装置に表示し1機能キー画面における特定の機能に応
じた機能キー(ソフトキー)が押圧されることにより該
機能に応じた処理を実行すると共に、対話画面を参照し
て入力されたデータを用いてNCプログラムを作成する
自動プログラミングシステムがある。
<Prior art> A dialog screen and a function key (soft key) screen are displayed on a display device according to each step of a plurality of data input steps, and a function key (soft key) corresponding to a specific function on one function key screen is displayed. There is an automatic programming system that executes processing according to the function when pressed, and creates an NC program using data input by referring to an interactive screen.

かかる自動プログラミングシステムは第6図を参照する
と以下のステップ (1)「自動プログラミング」の実行を選択する第1ス
テツプ、 (2)入力すべきデータ(次に実行すべきステップ)を
選択する第2ステツプ。
Referring to FIG. 6, such an automatic programming system includes the following steps: (1) a first step of selecting execution of "automatic programming"; (2) a second step of selecting data to be input (step to be executed next). Step.

(3)素材の材質を選択する第3ステツプ。(3) Third step of selecting the material.

(4)面粗さを設定する第4ステツプ、(5)図面形式
を選択する第5ステツプ。
(4) Fourth step of setting surface roughness, (5) Fifth step of selecting drawing format.

(6)素材形状とその寸法を入力する第6ステツプ。(6) Sixth step of inputting the material shape and its dimensions.

(7)部品形状とその寸法を入力する第7ステツプ、(
8)機械原点とタレット位置入力の第8ステツプ、(9
)加工工程を選択する第9ステツプ。
(7) Seventh step of inputting the part shape and its dimensions, (
8) 8th step of inputting machine origin and turret position, (9
) Ninth step to select the processing process.

(lO)工具の選択と工具データ入力の第1Oステツプ
(lO) 1st O step of tool selection and tool data input.

(11)加工条件決定の第11ステツプ。(11) Eleventh step of determining processing conditions.

(12)切削方向入力の第12ステツプ、(13)切削
範囲入力の第13ステツプ。
(12) 12th step of inputting cutting direction; (13) 13th step of inputting cutting range.

(14)同じ工具で切削する領域の有無を入力する第1
4ステツプ。
(14) The first step is to input the presence or absence of an area to be cut with the same tool.
4 steps.

(15)工具通路の計算(NCデータ作成)の第15ス
テツプ。
(15) Fifteenth step of tool path calculation (NC data creation).

に従って、順次所定の設問画面(対話画面)をデイスプ
レィ画面に表示し、該設問に応じて必要なデータをオペ
レータをしてキーボードから入力させ、最終的に入力さ
れた全データを用いてNCプログラム(NCデータ)を
作成するようになっている。尚、ツーリングファイルに
基づいて自動的に工具を選択する場合には第10ステツ
プの工具の選択及び工具データ入力はする必要がない。
According to the instructions, predetermined question screens (dialogue screens) are sequentially displayed on the display screen, the operator is asked to input the necessary data from the keyboard according to the questions, and finally all input data is used to run the NC program ( (NC data) is created. Note that when a tool is automatically selected based on the tooling file, there is no need to perform the tool selection and tool data input in the tenth step.

〈発明が解決しようとしている課題〉 ところで、上記方法で作成したNCデータにおいては、
削り残しが生じる場合がある。かかる場合において従来
は、オペレータが前記自動プログラミングステップに従
って削り残し形状を加工する別のNCデータを作成して
いた。このために削り残し形状を加工するNCデータの
作成に多大な時間を要するという問題があった。
<Problem to be solved by the invention> By the way, in the NC data created by the above method,
Uncut parts may be left behind. In such cases, conventionally, an operator has created separate NC data for machining the uncut shape according to the automatic programming step. For this reason, there is a problem in that it takes a lot of time to create NC data for processing the uncut shape.

以上から本発明の目的は、削り残し形状を加工するNC
データを自動的に作成でき、NCデータ作成時間を短縮
できる自動プログラミング方法を提供することである。
From the above, an object of the present invention is to use an NC method for machining uncut shapes.
To provide an automatic programming method that can automatically create data and shorten NC data creation time.

く課題を解決するための手段〉 第1図は本発明の概略説明図である。Means to solve problems〉 FIG. 1 is a schematic explanatory diagram of the present invention.

Wは部品形状を特定されたワーク、TLI、TL2はツ
ーリングファイルから自動的に選択された工具、PLI
は工具TLIにて加工する場合の工具通路、PL2は工
具TL2にて加工する場合の工具通路、RMPは削り残
し形状である。
W is the workpiece whose part shape is specified, TLI, TL2 is the tool automatically selected from the tooling file, PLI
PL2 is a tool path when machining is performed using tool TLI, PL2 is a tool path when machining is performed using tool TL2, and RMP is an uncut shape.

〈作用〉 部品形状と加工工程を特定後、ツーリングファイルの中
から該加工工程に用いられる工具TLIを選択し、該工
具を用いてワークWと干渉しないように加工するNCデ
ータ(工具通路)PLIを作成し、該工具通路PLIに
よる加工で削り残し形状RMPが存在すればツーリング
ファイルの中から別の工具TL2を選択して該削り残し
形状RMPを加工する工具通路PL2を作成し、前記2
つの工具通路PLI、PL2を合成して部品形状加工用
のNCデータを作成する。
<Operation> After specifying the part shape and machining process, select the tool TLI used for the machining process from the tooling file, and create NC data (tool path) PLI for machining using the tool so as not to interfere with the workpiece W. If there is an uncut shape RMP in machining using the tool path PLI, select another tool TL2 from the tooling file and create a tool path PL2 for machining the uncut shape RMP.
Two tool paths PLI and PL2 are combined to create NC data for part shape machining.

〈実施例〉 第2図は本発明を実現する自動プログラミング機能を備
えた装置のブロック図である521は不揮発性のメモリ
であり、該メモリ21の第1領域21aには予め工具毎
に工具番号と。
<Embodiment> FIG. 2 is a block diagram of a device equipped with an automatic programming function that realizes the present invention. Reference numeral 521 is a non-volatile memory, and the first area 21a of the memory 21 stores the tool number for each tool in advance. and.

該工具が用いられる加工工程の名称と、工具形状データ
とが記憶されて工具データファイルが形成されており、
又、メモリ21の第2領域21bにはツーリングファイ
ルが記憶されている。ツーリングファイルは、タレット
へ同時に装着される複数本の工具の工具番号と、工具形
状データと、タレットへの工具取付データと、使用され
る加工工程名称よりなる。22はグラフィックデイスプ
レィ装置(CRT)、23はプロセッサ、24は繰作盤
、25は制御プログラムを記憶するROM。
A tool data file is formed by storing the name of the machining process in which the tool is used and tool shape data,
Furthermore, a touring file is stored in the second area 21b of the memory 21. The tooling file consists of tool numbers of multiple tools to be installed on the turret at the same time, tool shape data, tool installation data on the turret, and machining process names to be used. 22 is a graphic display device (CRT), 23 is a processor, 24 is a production board, and 25 is a ROM that stores a control program.

26は操作盤24から入力されたデータ、処理結果、作
成されたNCデータを記憶するRAM、27は作成され
たNCデータを紙テープ、バブルカセットなどの外部記
憶媒体28に出力するNCデータ出力装置である。
26 is a RAM that stores data input from the operation panel 24, processing results, and created NC data; 27 is an NC data output device that outputs the created NC data to an external storage medium 28 such as a paper tape or a bubble cassette. be.

第3図は本発明の処理の流れ図である。以下。FIG. 3 is a flowchart of the process of the present invention. below.

第3図の流れ図に従って自動プログラミング処理を説明
する。
The automatic programming process will be explained according to the flowchart in FIG.

操作盤24から、NC旋盤加工定義用の対話画面に従っ
て従来の方法と同様に材質、設計図面の形式、素材の形
状とその寸法値(第1図(a)に破線で表示)1部品形
状とその寸法値(実線で表示)、機械原点とタレット旋
回位置を入力すると共に、加工工程を入力する1例えば
加工工程として外形荒加工を入力する(ステップ101
)。尚。
From the operation panel 24, follow the dialogue screen for NC lathe processing definition and enter the material, design drawing format, material shape, and its dimensional values (indicated by broken lines in Figure 1(a)), one part shape, and the like as in the conventional method. Input the dimension value (displayed with a solid line), the machine origin and the turret rotation position, and input the machining process.1 For example, input rough machining of the external shape as the machining process (step 101).
). still.

ツーリングファイルには、第4図の(a)〜(h)に示
す形状を有する複数本の工具が記憶されているものとす
る。但し、RNは刃先半径、ACは切り刃角、ANは刃
先角、XN、ZNは仮想刃先位置を意味し、切り刃角A
Cの正方向は主切り刃(図中、太線部分)を基準に反時
計回り、刃先角ANの正方向は主切り刃を基準に時計回
りである。
It is assumed that the tooling file stores a plurality of tools having shapes shown in FIGS. 4(a) to 4(h). However, RN is the radius of the cutting edge, AC is the cutting edge angle, AN is the cutting edge angle, XN and ZN are the virtual cutting edge positions, and the cutting edge angle A
The positive direction of C is counterclockwise with respect to the main cutting edge (bold line portion in the figure), and the positive direction of the cutting edge angle AN is clockwise with respect to the main cutting edge.

外形荒加工の入力により、該外形荒加工に使用する工具
がツーリングファイルの中から選択される。尚、工具選
択の基準は特定された加工工程に使用される工具が部品
形状に沿って移動する時。
In response to the input of external rough machining, a tool to be used for the external rough machining is selected from the tooling file. The criterion for tool selection is when the tool used in the specified machining process moves along the part shape.

ワークに干渉しないことであり、かつ、削り残しが少な
いことである。そこで、プロセッサ23はツーリングフ
ァイルの中から荒加工用の工具(第4図)を4本ずつ取
り出して部品形状に沿って移動させる時、ワークに干渉
するかをチエツクする。
There is no interference with the workpiece, and there is little uncut material. Therefore, when the processor 23 takes out four tools for rough machining (FIG. 4) from the tooling file and moves them along the part shape, it checks whether they will interfere with the workpiece.

例えば第4図(c)の工具を部品形状の要素ELI。For example, the tool in FIG. 4(c) is used as an element ELI of a part shape.

EL2.EL3 (第5図(a))に沿って移動させる
と、要素ELL、要素EL3において工具とワークが干
渉することがわかる。そこで、ワークに干渉してはいけ
ないので1.干渉しないように該工具を移動させると、
削り残し形状RMPが生じる(第5図(b)参照)。同
様に、他の工具においてもチエツクを行い、削り残し形
状RMPがないか、あるいは少ない工具を選択する。例
えば第4図(a)の工具を選択する(第5図(c)参照
)。
EL2. When moving along EL3 (FIG. 5(a)), it can be seen that the tool and workpiece interfere at element ELL and element EL3. Therefore, 1. Do not interfere with the workpiece. When the tool is moved to avoid interference,
An uncut shape RMP is generated (see FIG. 5(b)). Similarly, other tools are checked, and a tool with no or a small amount of uncut shape RMP is selected. For example, select the tool shown in FIG. 4(a) (see FIG. 5(c)).

ついで、NCデータ作成に必要なデータを入力し、NC
データ作成が指示されると荒加工用のNCデータ作成時
に5選択した工具TLI  (第1図(a))を用いて
ワークに干渉しないように工具通路PLIを作成する(
第1図(a)参照、ステップ102)。
Next, enter the data necessary to create NC data, and
When data creation is instructed, a tool path PLI is created using the selected tool TLI (Fig. 1 (a)) when creating NC data for rough machining so as not to interfere with the workpiece (
See FIG. 1(a), step 102).

次に、プロセッサ23は工具通路PLIによる加工で削
り残し形状RMPが存在するかどうが判断しくステップ
103)、存在すれば削り残し形状RMPを自動的に算
出すると共に、該削り残し形状RMPを外形荒加工する
為の別の工具を前記ツーリングファイルの中から前記と
同様の手順で選択する。尚、この場合、前回選択した工
具TL1とは勝手(右勝手、左勝手)の異なる工具(第
4図(e))TL2を選択する。ついで1.該削り残し
形状RMPを加工する工具通路PLI (最初の工具と
は送り方向が逆向きになる)を作成すると共に(第1図
(b)参照)、前記2つの工具通路PL1、PL2を合
成して部品形状を外形荒加工するNCデータを作成しく
ステップ104)、ステップ103以降の処理を繰り返
す。
Next, the processor 23 determines whether or not there is an uncut shape RMP in the machining using the tool path PLI (step 103), and if it exists, it automatically calculates the uncut shape RMP, and converts the uncut shape RMP into the external shape. Another tool for rough machining is selected from the tooling file using the same procedure as above. In this case, a tool TL2 (FIG. 4(e)) having a different hand (right-hand, left-hand) from the previously selected tool TL1 is selected. Then 1. A tool path PLI (with the feed direction opposite to that of the first tool) for machining the uncut shape RMP is created (see Fig. 1(b)), and the two tool paths PL1 and PL2 are combined. Step 104) and steps 103 onwards are repeated to create NC data for rough machining the part shape.

一方、ステップ103の判断において削り残し形状RM
Pが存在しなければ1次の加工工程の為のNCデータを
同時に作成し、最後にNCデータ終了を意味するワード
(例えば「M2O」)を追加しくステップ105)、自
動プログラミング処理を終了する。
On the other hand, in the judgment at step 103, the uncut shape RM
If P does not exist, NC data for the first machining process is created at the same time, and a word (for example, "M2O") indicating the end of the NC data is added at the end (step 105), and the automatic programming process is ended.

〈発明の効果〉 以上本発明によれば1部品形状と加工工程を特定後、ツ
ーリングファイルの中がら該加工工程に用いられる工具
を選択し、前記工具を用いてワークと干渉しないように
加工するNCデータを作成し、該NCデータによる加工
で削り残し形状が存在すればツーリングファイルの中か
ら別の工具を選択して該削り残し形状を加工するNCデ
ータを作成し、前記2つのNCデータを合成して部品形
状加工用のNCデータを作成するように構成したから、
NCデータを作成するための操作時間を短縮できる。
<Effects of the Invention> According to the present invention, after specifying the shape and machining process of one part, a tool to be used in the machining process is selected from the tooling file, and the tool is used to process the part so as not to interfere with the workpiece. Create NC data, and if there is an uncut shape due to machining using the NC data, select another tool from the tooling file and create NC data for machining the uncut shape, and use the above two NC data. Because it is configured to synthesize and create NC data for part shape processing,
Operation time for creating NC data can be reduced.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図は本発明の概略説明図。 第2図は本発明を実現する自動プログラミング機能を備
えた装置のブロック図、 第3図は本発明にかかる自動プログラミング処理の流れ
図。 第4図は工具形状の説明図。 第5図は本発明の工具選択処理の説明図、第6図は従来
例の説明図である。 21・・不揮発性メモリ、 22・・グラフィックデイスプレィ装置、23・・プロ
セッサ、 24・・操作盤、 25・・ROM。 2G・・RAM、 W・・ワーク、 TL・・工具。 PL・・工具通路。 RMP・・削り残し形状 特許出願人       ファナック株式会社代理人 
        弁理士  齋藤千幹第1図(Q) 第1図(b) 第2図 第3図 第5図 (a) 筑6 図
FIG. 1 is a schematic explanatory diagram of the present invention. FIG. 2 is a block diagram of a device equipped with an automatic programming function that implements the present invention, and FIG. 3 is a flowchart of automatic programming processing according to the present invention. FIG. 4 is an explanatory diagram of the tool shape. FIG. 5 is an explanatory diagram of the tool selection process of the present invention, and FIG. 6 is an explanatory diagram of the conventional example. 21...Nonvolatile memory, 22...Graphic display device, 23...Processor, 24...Operation panel, 25...ROM. 2G...RAM, W...Work, TL...Tool. PL...Tool aisle. RMP...Uncut shape patent applicant Agent for FANUC Co., Ltd.
Patent Attorney Chiki Saito Figure 1 (Q) Figure 1 (b) Figure 2 Figure 3 Figure 5 (a) Chiku 6 Figure

Claims (2)

【特許請求の範囲】[Claims] (1)ツーリングフアイルから使用工具を自動的に選択
してNCデータを作成する自動プログラミング方法にお
いて、部品形状と加工工程を特定後、ツーリングフアイ
ルの中から該加工工程に用いられる工具を選択し、前記
工具を用いてワークと干渉しないように加工するNCデ
ータを作成し、該NCデータによる加工で削り残し形状
が存在すればツーリングフアイルの中から別の工具を選
択して該削り残し形状を加工するNCデータを作成し、
前記2つのNCデータを合成して部品形状加工用のNC
データを作成することを特徴とする自動プログラミング
方法。
(1) In an automatic programming method that automatically selects the tool to be used from a tooling file and creates NC data, after specifying the part shape and machining process, selects the tool to be used for the machining process from the tooling file, Create NC data for machining using the tool so as not to interfere with the workpiece, and if there is an uncut shape due to machining based on the NC data, select another tool from the tooling file to process the uncut shape. Create NC data to
The above two NC data are combined to create an NC for part shape processing.
An automatic programming method characterized by creating data.
(2)前記別の工具として最初の工具と勝手(右勝手、
左勝手)が異なるものを選択し、最初の工具と逆方向に
送って削り残し形状を加工するNCデータを作成するこ
とを特徴とする特許請求の範囲第(1)項記載の自動プ
ログラミング方法。
(2) The first tool and hand (right hand,
The automatic programming method according to claim (1), characterized in that a tool with a different left hand (left hand) is selected and NC data for machining the uncut shape by sending the tool in the opposite direction to the first tool is created.
JP13214088A 1988-05-30 1988-05-30 Automatic programming method Pending JPH01300306A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP13214088A JPH01300306A (en) 1988-05-30 1988-05-30 Automatic programming method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP13214088A JPH01300306A (en) 1988-05-30 1988-05-30 Automatic programming method

Publications (1)

Publication Number Publication Date
JPH01300306A true JPH01300306A (en) 1989-12-04

Family

ID=15074297

Family Applications (1)

Application Number Title Priority Date Filing Date
JP13214088A Pending JPH01300306A (en) 1988-05-30 1988-05-30 Automatic programming method

Country Status (1)

Country Link
JP (1) JPH01300306A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH03251907A (en) * 1990-02-28 1991-11-11 Okuma Mach Works Ltd Producing device for numerical control information
JPH0484306A (en) * 1990-07-27 1992-03-17 Okuma Mach Works Ltd Method for preparing numerical control information
JP2015191438A (en) * 2014-03-28 2015-11-02 オークマ株式会社 Numerical control information creating device

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6215057A (en) * 1985-07-15 1987-01-23 Mitsubishi Heavy Ind Ltd Automatic programming device for cutting off unmachined portion
JPH01152510A (en) * 1987-12-09 1989-06-15 Seiko Epson Corp Automatic preparing method for part program

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6215057A (en) * 1985-07-15 1987-01-23 Mitsubishi Heavy Ind Ltd Automatic programming device for cutting off unmachined portion
JPH01152510A (en) * 1987-12-09 1989-06-15 Seiko Epson Corp Automatic preparing method for part program

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH03251907A (en) * 1990-02-28 1991-11-11 Okuma Mach Works Ltd Producing device for numerical control information
JPH0484306A (en) * 1990-07-27 1992-03-17 Okuma Mach Works Ltd Method for preparing numerical control information
JP2015191438A (en) * 2014-03-28 2015-11-02 オークマ株式会社 Numerical control information creating device

Similar Documents

Publication Publication Date Title
US5150305A (en) Numerical control system providing graphic machining simulation
JPS6257852A (en) Automatic programming device
JPH0585301B2 (en)
KR930010590B1 (en) Tool profile automatic graphic display system
EP0145934B1 (en) Tool display method and device for machining apparatus equipped with numerical control unit
EP0113682B1 (en) Numerical control system and method
KR910007258B1 (en) Nc data creation method
EP0529239B1 (en) Numerical control unit with position counter control and display
JPH01300306A (en) Automatic programming method
EP0592687A1 (en) Method of defining machining
JP2606714B2 (en) Numerical control unit
JPS61103213A (en) Production of numerical control data
JPS63153603A (en) Nc data generating system for working of part left uncut in nc data originating device
JPH06119031A (en) Nc data generating method for working of cut remaining part
JPS63196906A (en) Programming device for lathe
JP2846320B2 (en) Interactive numerical controller
JP3248081B2 (en) Automatic program creation device with automatic cutting axis change function
JPS6324307A (en) Nc data checking method
JPH06142954A (en) Control method by numerical control program of laser beam machine
JPH0512097B2 (en)
JPS6359604A (en) Method for changing working route in numerical controller
JPS61257740A (en) Tool selection system
Spur et al. Dynamic simulation system for NC-turning programs
JPH01224807A (en) Interactive type automatic programming device
JPH0248384B2 (en) SUCHISEIGYOKOSAKUKIKAINIOKERUANAAKEKAKOJOKYOHYOJISEIGYOHOHO