JPH03125201A - Nc data generating system for cutting of curved surface - Google Patents

Nc data generating system for cutting of curved surface

Info

Publication number
JPH03125201A
JPH03125201A JP26310589A JP26310589A JPH03125201A JP H03125201 A JPH03125201 A JP H03125201A JP 26310589 A JP26310589 A JP 26310589A JP 26310589 A JP26310589 A JP 26310589A JP H03125201 A JPH03125201 A JP H03125201A
Authority
JP
Japan
Prior art keywords
diameter
curved surface
cutter
cutting information
surface cutting
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
JP26310589A
Other languages
Japanese (ja)
Inventor
Maki Seki
関 真樹
Osamu Hanaoka
修 花岡
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 JP26310589A priority Critical patent/JPH03125201A/en
Publication of JPH03125201A publication Critical patent/JPH03125201A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To secure the maximum dimensional accuracy within a range where no cut-in pnenomenon occurs by replacing the diameter of a concave circular arc with the cutter diameter and defining automatically again a concave circular arc of the least size where no cut-in phenomenon occurs when a cutter diameter is designated in a size larger than a concave circular arc defined by the curved surface cutting information which is obtained previously. CONSTITUTION:A designated working cutter diameter is inputted to an automatic programming device together with the curved surface cutting information obtained previously. The programming device detects a concave circular arc 30 defined by the curved surface cutting information and compares the size of the arc 30 with the working cutter diameter (r). When the former size is smaller than the latter one, the diameter of the arc 30 is replaced with the diameter (r) and the curved surface cutting information is defined again. Then the working path of the cutter is calculated based on the redefined cutting information. As a result, a cut-in phenomenon can be prevented regardless of the size of the diameter (r). Then the shape precision of a work is maintained.

Description

【発明の詳細な説明】 産業上の利用分野 本発明は、曲面切削におけるNCデータ作成方式に関す
る。
DETAILED DESCRIPTION OF THE INVENTION Field of Industrial Application The present invention relates to an NC data creation method for cutting a curved surface.

従来の技術 予め作成された曲面切削情報と共に加工用カッタ径を指
定して自動プログラミング装置に人力することにより、
上記曲面切削情報によって定義される曲面を加工するた
めのNCデータ、即ち、カッタの加工経路を示すNCデ
ータを自動的に算出するようにしたNCデータ作成方式
は既に公知である。
Conventional technology By specifying the cutter diameter for machining along with the curved surface cutting information created in advance and manually inputting it to the automatic programming device,
An NC data creation method that automatically calculates NC data for machining a curved surface defined by the curved surface cutting information, ie, NC data indicating a machining path of a cutter, is already known.

曲面切削情報に基いてカッタの加工経路を算出するため
には、工具となるカッタと上記曲面切削情報によって定
義される曲面との間のオフセット量を考慮する必要があ
るが、凹状円弧の内側を切削する場合、自動プログラミ
ング装置によって算出される加工経路のNCデータは、
通常、次のようなものとなる。
In order to calculate the machining path of the cutter based on the curved surface cutting information, it is necessary to consider the amount of offset between the cutter as a tool and the curved surface defined by the above curved surface cutting information. When cutting, the NC data of the machining path calculated by the automatic programming device is
Usually it will be something like this:

〔カッタ径が凹状円弧の径よりも小さい以場合〕第3図
および第6図は、カッタ半径rが、平面や曲面10.2
0を連絡する凹状円弧30の半径Rより小さい場合の加
工経路Pを示す一例であり、この例においては加工経路
Pのオフセット量rがカッタ半径rに等しく設定されて
いるので、凹状円弧30の内側を切削する加工経路Pの
部分、即ち、凹状円弧40の半径をR−rとし、かつ、
凹状円弧40の曲率中心を凹状円弧30の曲率中心0と
一致させることにより、カッタ先端の移動軌跡が凹状円
弧30の形状と完全に一致し、平面や曲面10.20お
よび凹状円弧30を正確に加工することができる。
[When the cutter diameter is smaller than the diameter of the concave arc] Figures 3 and 6 show that the cutter radius r is 10.2 mm on a flat or curved surface.
This is an example showing the machining path P when the radius R of the concave arc 30 that connects the Let Rr be the portion of the machining path P that cuts the inside, that is, the radius of the concave arc 40, and
By aligning the center of curvature of the concave arc 40 with the center of curvature 0 of the concave arc 30, the locus of movement of the cutter tip completely matches the shape of the concave arc 30, and it is possible to precisely cut a flat or curved surface 10.20 and the concave arc 30. Can be processed.

従って、自動プログラミング装置は曲面切削情報によっ
て定義される曲面を加工するためのNCデータとして、
オフセット量を考慮したカッタの加工経路Pを算出する
こととなる。
Therefore, the automatic programming device uses the following information as NC data for machining the curved surface defined by the curved surface cutting information.
The machining path P of the cutter is calculated in consideration of the amount of offset.

〔カッタ径が凹状円弧の径と同等もしくはそれよりも大きい場合〕[When the cutter diameter is equal to or larger than the diameter of the concave arc]

この場合、第6図からも明らかなように、凹状円弧40
の半径をR−r(≦0)とすることはできず、上記方式
で凹状円弧30を加工することは不可能となる。
In this case, as is clear from FIG. 6, the concave arc 40
The radius of R-r (≦0) cannot be set, and it is impossible to process the concave arc 30 using the above method.

この様な場合、自動プログラミング装置は、凹状円弧3
0の形状に近似した加工を実施するためのNCデータと
して、第4図に示されるように、平面や曲面10との間
にオフセット1ilrを維持して、凹状円弧30の定義
開始点Q1からの法線距離がオフセットff1rに等し
い点Q1′にまで移動し、更に、凹状円弧30の定義終
了点Q2からの法線距離がオフセット量rに等しい点Q
2’ を介して、平面や曲面20との間にオフセットi
rを維持して移動するカッタの加工経路Pを算出するこ
ととなるが、凹状円弧30の半径Rに較べてカッタ半径
rが大きいと、平面や曲面01,20および凹状円弧3
0の連絡部分に削り込み50を生じ、加工物の形状精度
を維持できなくなるという欠点がある。
In such a case, the automatic programming device will
As shown in FIG. 4, as NC data for performing processing that approximates the shape of Move to a point Q1' whose normal distance is equal to the offset ff1r, and further move to a point Q whose normal distance from the definition end point Q2 of the concave arc 30 is equal to the offset amount r.
2', there is an offset i between the plane and the curved surface 20.
The machining path P of the cutter that moves while maintaining r is calculated, but if the cutter radius r is larger than the radius R of the concave arc 30, the cutter radius r is larger than the radius R of the concave arc 30.
There is a drawback that a cut-out 50 occurs in the connecting portion of the 0, making it impossible to maintain the shape accuracy of the workpiece.

発明が解決しようとする課題 そこで、本発明の目的は、上記従来技術の欠点を解消し
、指定されたカッタ径の大きさに関わりなく削り込みの
発生を未然に防止し、加工物の形状精度を維持すること
のできるNCデータ作成方式を提供することにある。
Problems to be Solved by the Invention Therefore, the purpose of the present invention is to eliminate the drawbacks of the above-mentioned prior art, prevent the occurrence of gouges regardless of the specified cutter diameter, and improve the shape accuracy of the workpiece. The object of the present invention is to provide an NC data creation method that can maintain the following.

課題を解決するための手段 本発明のNCデータ作成方式は、予め作成された曲面切
削情報と指定された加工用カッタ径とを自動プログラミ
ング装置に読込み、上記曲面切削情報によって定義され
る凹状円弧を検出して加工用カッタ径との大きさを比較
し、加工用カッタ径の方が大きい場合には、該凹状円弧
の径をカッタ径に置換して上記曲面切削情報を再定義し
、該再定義された曲面切削情報に基いて加工用カッタの
加工経路を算出することにより上記目的を達成した。
Means for Solving the Problems The NC data creation method of the present invention reads curved surface cutting information created in advance and a designated machining cutter diameter into an automatic programming device, and generates a concave arc defined by the curved surface cutting information. Detect and compare the size with the machining cutter diameter, and if the machining cutter diameter is larger, replace the diameter of the concave arc with the cutter diameter, redefine the curved surface cutting information, and redefine the curved surface cutting information. The above objective was achieved by calculating the machining path of the machining cutter based on the defined curved surface cutting information.

作用 予め作成された曲面切削情報と共に加工用カッタ径を指
定して自動プログラミング装置に入力する。
Operation: Specify the machining cutter diameter along with the curved surface cutting information created in advance and input it into the automatic programming device.

自動プログラミング装置は曲面切削情報によって定義さ
れる凹状円弧を検出して加工用カッタ径との大きさを比
較し、加工用カッタ径の方が大きい場合には、該凹状円
弧の径をカッタ径に置換して上記曲面切削情報を再定義
し、該再定義された曲面切削情報に基いて加工用カッタ
の加工経路を算出する。
The automatic programming device detects the concave arc defined by the curved surface cutting information, compares the size with the machining cutter diameter, and if the machining cutter diameter is larger, sets the diameter of the concave arc to the cutter diameter. The curved surface cutting information is replaced and the curved surface cutting information is redefined, and the processing path of the processing cutter is calculated based on the redefined curved surface cutting information.

実施例 以下、図面を参照して本発明の詳細な説明する。Example Hereinafter, the present invention will be described in detail with reference to the drawings.

第2図は本発明の方式を実施する一実施例の自動プログ
ラミング装置の要部を示すブロック図であり、1はプロ
セッサ(以下、CPUという)、2は該自動プログラミ
ング装置を制御する制御プログラムを格納したROM、
3はフロッピーディスクFLからロードされた各種のシ
ステムプログラムやCPUIの演算結果等を記憶するR
AM。
FIG. 2 is a block diagram showing the main parts of an automatic programming device according to an embodiment of the present invention, in which 1 is a processor (hereinafter referred to as CPU), and 2 is a control program for controlling the automatic programming device. Stored ROM,
3 is R for storing various system programs loaded from the floppy disk FL, CPU calculation results, etc.
A.M.

4は作成されたNCデータを記憶するNCデータ記憶メ
モリ、5はキーボード、6はディスクコントローラ、7
はグラフィックデイスプレィ(以下、CRTという)で
あり、これらの各要素1〜7はバス8で接続されている
4 is an NC data storage memory for storing created NC data; 5 is a keyboard; 6 is a disk controller; 7
is a graphic display (hereinafter referred to as CRT), and each of these elements 1 to 7 are connected by a bus 8.

なお、上記自動プログラミング装置の構成は周知であり
、詳細は省略する。
Note that the configuration of the automatic programming device is well known, and the details will be omitted.

以下、3次曲面を切削するパートプログラムをNCデー
タに変換するための処理を示すフローチャート(第1図
)を参照して本実施例のNCデータ作成方式を説明する
The NC data creation method of this embodiment will be described below with reference to a flowchart (FIG. 1) showing a process for converting a part program for cutting a cubic surface into NC data.

オペレータは、まず、曲面形状を定義する曲面切削情報
と共に加工用カッタ径rを指定し、パートプログラムと
して自動プログラミング装置に入力する。この処理は、
従来と同様、キーボード5を介して自動プログラミング
言語(FAPT)を設定入力することにより実行され名
The operator first specifies the machining cutter diameter r along with curved surface cutting information that defines the curved surface shape, and inputs this into the automatic programming device as a part program. This process is
As before, the program is executed by inputting the automatic programming language (FAPT) settings via the keyboard 5.

CPUIはこのパートプログラムを読み込んでRAM3
に記憶しくステップS1)、記憶された曲面切削情報を
分析して、該曲面切削情報によって定義される凹状円弧
が存在するか否かを判別しくステップS2)、一つでも
凹状円弧が存在すれば、各々の凹状円弧の径と指定され
たカッタ径rとを比較しくステップS3)、指定された
カッタ径rが凹状円弧の径よりも大きい場合には、各凹
状円弧の径を指定されたカッタ径rに置換することによ
り、RAM3の曲面切削情報を再定義する(ステップS
4)。
The CPU reads this part program and stores it in RAM3.
In step S1), the stored curved surface cutting information is analyzed to determine whether or not there is a concave arc defined by the curved surface cutting information.In step S2), if at least one concave arc exists, , the diameter of each concave arc is compared with the designated cutter diameter r; step S3); if the designated cutter diameter r is larger than the diameter of the concave arc, the diameter of each concave arc is compared with the designated cutter diameter r; By replacing it with the radius r, the curved surface cutting information in RAM3 is redefined (step S
4).

なお、ステップS2で凹状円弧が1つも存在しないと判
別された場合、および、凹状円弧が存在しても、ステッ
プS3で、各凹状円弧の径が全て指定されたカッタ径r
と同等もしくはそれよりも大きいと判別された場合には
、ステップS4の処理は非実行となる。
Note that if it is determined in step S2 that there is no concave arc, and even if there is a concave arc, in step S3, the diameter of each concave arc is set to the specified cutter diameter r.
If it is determined that the value is equal to or larger than , the process of step S4 is not executed.

従って、上記ステップ82〜ステツプS4の処理により
、カッタ径rよりも小さな径を有する凹状円弧の径は全
てカッタ径rに置換され、また、カッタ径r以上の径を
有する凹状円弧の径は初めに曲面切削情報で定義された
値に保持されることとなる。
Therefore, through the processing from step 82 to step S4, all the diameters of the concave arcs having a diameter smaller than the cutter diameter r are replaced by the cutter diameter r, and the diameters of the concave arcs having a diameter larger than the cutter diameter r are replaced with the cutter diameter r. It will be held at the value defined by the curved surface cutting information.

次いで、CPUIはステップS5に移行し、RAM3に
再定義された曲面切削情報に基づいて曲面形状を算出し
、従来と同様、指定されたカッタ径rに応じて、この曲
面形状に対し自動的に3次元オフセットを施してカッタ
の加工経路となるNCデータを算出し、作成されたNC
データを出力してNCデータ記憶メモリ4に記憶する。
Next, the CPU moves to step S5, calculates the curved surface shape based on the curved surface cutting information redefined in the RAM 3, and automatically calculates the curved surface shape according to the specified cutter diameter r, as in the past. The NC data created by applying 3D offset to calculate the NC data that becomes the machining path of the cutter.
The data is output and stored in the NC data storage memory 4.

よって、初めに曲面切削情報で定義された径がカッタ径
rよりも大きな凹状円弧に対しては、第3図および第6
図に示される従来例同様、カッタ先端の移動軌跡が曲面
切削情報で定義された凹状円弧の形状と完全に一致し、
平面や曲面10.20および凹状円弧30を正確に加工
するNCデータが作成される。
Therefore, for a concave arc whose diameter initially defined in the curved surface cutting information is larger than the cutter diameter r,
Similar to the conventional example shown in the figure, the movement locus of the cutter tip completely matches the shape of the concave arc defined by the curved surface cutting information.
NC data for accurately machining a flat or curved surface 10.20 and a concave arc 30 is created.

一方、初めに曲面切削情報で定義された径がカッタ径r
と同等もしくはそれよりも小さな凹状円弧に関しては、
その径が全てがツタ径rと同一に再定義されているので
、第5図に示されるように、再定義された凹状円弧30
aの定義開始点Qlaからの法線と該凹状円弧30aの
定義終了点Q2aからの法線とが、法線距離rの位置に
ある点Q1’  a (=Q2’  a)で略一致し、
凹状円弧30aが平面や曲面10.20とほぼ内接する
位置に定義されるので、該凹状円弧30aが平面や曲面
10.20と干渉することはない。従って、第4図に示
される従来例のような削り込みが発生することはなく、
加工物の形状精度が維持される。
On the other hand, the diameter initially defined in the curved surface cutting information is the cutter diameter r
For concave arcs equal to or smaller than,
Since all of its diameters are redefined to be the same as the ivy diameter r, the redefined concave arc 30 as shown in FIG.
The normal line from the definition start point Qla of a and the normal line from the definition end point Q2a of the concave arc 30a substantially match at a point Q1'a (=Q2'a) located at a normal distance r,
Since the concave arc 30a is defined at a position substantially inscribed with the plane or curved surface 10.20, the concave arc 30a does not interfere with the plane or curved surface 10.20. Therefore, there is no occurrence of gouging as in the conventional example shown in FIG.
The shape accuracy of the workpiece is maintained.

また、初めに曲面切削情報で定義された径がカッタ径r
よりも小さな凹状円弧に関しては、その径を不用意に大
きくすることなく、カッタ径rに置き換えるようにして
いるので、削り込みを生じない範囲で最大限の寸法精度
が保証されることとなる。
Also, the diameter initially defined in the curved surface cutting information is the cutter diameter r
As for concave arcs smaller than , the diameter is replaced with the cutter diameter r without carelessly increasing the diameter, so maximum dimensional accuracy is guaranteed within the range where cutting does not occur.

発明の効果 本発明のNCデータ作成方式によれば、予め作成された
曲面切削情報で定義された凹状円弧よりも大きいカッタ
径が指定された場合、凹状円弧の径をカッタ径に置換す
ることにより、削り込みが発生しない最小の大きさの凹
状円弧が自動的に再定義されるので、カッタ径の入力ミ
ス等によって不用意な削り込みが生じて形状精度が損な
われることはなく、しかも、削り込みを生じない範囲で
最大限の寸法精度が保証される。
Effects of the Invention According to the NC data creation method of the present invention, when a cutter diameter larger than a concave arc defined by curved surface cutting information created in advance is specified, the diameter of the concave arc is replaced with the cutter diameter. Since the concave arc of the minimum size at which no cutting occurs is automatically redefined, the shape accuracy will not be lost due to careless cutting due to input errors in the cutter diameter, etc. Maximum dimensional accuracy is guaranteed without causing any interference.

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

第1図は本発明の一実施例におけるNCデータ作成処理
の概略を示すフローチャート、第2図は本発明の方式を
実施する一実施例の自動プログラミング装置の要部を示
すブロック図、第3図および第6図はカッタ径が凹状円
弧の径より小さい場合の加工経路の一例を示す概念図、
第4図はカッタ径が凹状円弧の径よりも大きい場合の加
工経路の一例を示す概念図(従来例)、第5@はカッタ
径が凹状円弧の径と同等もしくはそれよりも大きい場合
の加工経路の一例を示す概念図(本実施例)である。 1・・・プロセッサ(CPU) 、2・・・ROM。 3・・・RAM、4・・・NCデータ記憶メモリ、5・
・・キーボード、6・・・ディスクコントローラ、7・
・・グラフィックデイスプレィ(CRT) 、8・・・
バス、10.20・・・平面もしくは曲面、30・・・
凹状円弧、30a・・・再定義された凹状円弧、50・
・・削り込み。
FIG. 1 is a flowchart showing an outline of NC data creation processing in an embodiment of the present invention, FIG. 2 is a block diagram showing main parts of an automatic programming device of an embodiment implementing the method of the present invention, and FIG. 3 and FIG. 6 is a conceptual diagram showing an example of the machining path when the cutter diameter is smaller than the diameter of the concave arc,
Figure 4 is a conceptual diagram showing an example of the machining path when the cutter diameter is larger than the diameter of the concave arc (conventional example), and Figure 5 shows the machining route when the cutter diameter is equal to or larger than the diameter of the concave arc. FIG. 2 is a conceptual diagram (present example) showing an example of a route. 1... Processor (CPU), 2... ROM. 3...RAM, 4...NC data storage memory, 5.
...Keyboard, 6...Disk controller, 7.
・Graphic display (CRT), 8...
Bus, 10.20...Flat or curved surface, 30...
Concave arc, 30a... Redefined concave arc, 50.
...Shaving.

Claims (1)

【特許請求の範囲】[Claims] 予め作成された曲面切削情報と指定された加工用カッタ
径とを自動プログラミング装置に読込み、上記曲面切削
情報によって定義される凹状円弧を検出して加工用カッ
タ径との大きさを比較し、加工用カッタ径の方が大きい
場合には、該凹状円弧の径をカッタ径に置換して上記曲
面切削情報を再定義し、該再定義された曲面切削情報に
基いて加工用カッタの加工経路を算出することを特徴と
した曲面切削におけるNCデータ作成方式。
Load the curved surface cutting information created in advance and the specified machining cutter diameter into an automatic programming device, detect the concave arc defined by the curved surface cutting information, compare the size with the machining cutter diameter, and start machining. If the cutter diameter for processing is larger, the diameter of the concave arc is replaced with the cutter diameter, the above curved surface cutting information is redefined, and the machining path of the processing cutter is determined based on the redefined curved surface cutting information. An NC data creation method for curved surface cutting characterized by calculation.
JP26310589A 1989-10-11 1989-10-11 Nc data generating system for cutting of curved surface Pending JPH03125201A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP26310589A JPH03125201A (en) 1989-10-11 1989-10-11 Nc data generating system for cutting of curved surface

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP26310589A JPH03125201A (en) 1989-10-11 1989-10-11 Nc data generating system for cutting of curved surface

Publications (1)

Publication Number Publication Date
JPH03125201A true JPH03125201A (en) 1991-05-28

Family

ID=17384896

Family Applications (1)

Application Number Title Priority Date Filing Date
JP26310589A Pending JPH03125201A (en) 1989-10-11 1989-10-11 Nc data generating system for cutting of curved surface

Country Status (1)

Country Link
JP (1) JPH03125201A (en)

Similar Documents

Publication Publication Date Title
US4914599A (en) Method of creating NC part program laser machining
JP2007203346A (en) Laser beam control method and apparatus
JPH0457008B2 (en)
EP1909153B1 (en) Apparatus for creating a turning program
US5044842A (en) Round screw thread machining method
JPH03125201A (en) Nc data generating system for cutting of curved surface
EP0507949B1 (en) Method of calculating axial direction of tool
JPH06274219A (en) Nc working data generating device in cad device
JPH05313729A (en) Numerical controller
JPH08168925A (en) Numerical controller for wire cut electric discharge machine
JPH06119031A (en) Nc data generating method for working of cut remaining part
JP3328150B2 (en) Tool path data generation method
JP2003223208A (en) Numerical control system
JPS60180749A (en) Correction controlling method for machining reference point in numerically controlled lathe
JP3096216B2 (en) How to find the tool path
JP2966672B2 (en) How to create NC data for corners
JPS6358506A (en) Nc part programming for laser beam machining
JPH04331037A (en) Numerical control system
KR100440153B1 (en) Method of generating a roughing work program for computer numerical control
JPH07287612A (en) Numerical control information preparing device
JP2685328B2 (en) Shape definition method in numerical control information creation device
JPH054148A (en) Method for preparing multi-shaft processing operation data
JP2584366B2 (en) Taper machining method for wire electric discharge machine
JPH03185503A (en) Numerical controller
JPH0561528A (en) Feed speed control method for numerical control