JPH0446732A - Processing program preparation method - Google Patents

Processing program preparation method

Info

Publication number
JPH0446732A
JPH0446732A JP15229290A JP15229290A JPH0446732A JP H0446732 A JPH0446732 A JP H0446732A JP 15229290 A JP15229290 A JP 15229290A JP 15229290 A JP15229290 A JP 15229290A JP H0446732 A JPH0446732 A JP H0446732A
Authority
JP
Japan
Prior art keywords
hole
intersection
machining program
drill
point
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
JP15229290A
Other languages
Japanese (ja)
Inventor
Teruyuki Matsumura
松村 輝幸
Hideaki Maeda
英朗 前田
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 JP15229290A priority Critical patent/JPH0446732A/en
Publication of JPH0446732A publication Critical patent/JPH0446732A/en
Pending legal-status Critical Current

Links

Landscapes

  • Numerical Control (AREA)

Abstract

PURPOSE:To facilitate preparation of a program for processing a hole in a notched plane, by generating such a processing program which feeds a drill quickly up to a notched plane and makes the drill process a hole to a specified depth in accordance with the inputted definition of the notched plane and data for hole processing. CONSTITUTION:When a programmer inputs Z-axis coordinate value Zd, angle 0 degree, hole diameter d and hole depth l, an interactive numerical control device judges whether a notched plane 2 is defined or not, determines a point of intersection P between the notched plane 2 and the center axis of a hole 4, and if the point of intersection P is found, generates a processing program for quickly feeding a drill to the point of intersection P which is defined as the entrance of the hole, then generates a processing program, in which the point of intersection between the raw material plane defined first and the center axis of the hole is taken as the entrance of the hole. Since a program is generated referring to the point of intersection between a notched plane and the center axis of a hole to the entrance of the hole, the depth of the hole can be directly specified. Moreover, since a generated processing program allows quick feed of a drill up to the entrance of a hole, processing program can be made in a short time.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は円筒ワークの加工プログラム作成方法に関し、
特に切り欠き面上での穴加工用の加工プログラム作成方
法に関する。
[Detailed Description of the Invention] [Industrial Application Field] The present invention relates to a method for creating a machining program for a cylindrical workpiece.
In particular, the present invention relates to a method for creating a machining program for drilling holes on a notched surface.

〔従来の技術〕[Conventional technology]

円筒のワークに溝加工、穴あけ加工等を行う場合はC軸
加工と称する加工方法が使用されている。
When processing grooves, holes, etc. on a cylindrical workpiece, a processing method called C-axis processing is used.

C軸加工では、円筒上のある点をZ軸と、C軸の角度で
定義する。C軸の角度とは、円筒の中心軸の真上を0度
とし、その点を垂直線からの角度で定義する。
In C-axis machining, a certain point on the cylinder is defined by the angle between the Z-axis and the C-axis. The angle of the C-axis is defined as the angle from the vertical line, with the point directly above the central axis of the cylinder being 0 degrees.

一方、円筒ワークに穴あけ加工を行うときは、穴の中心
位置のZ軸と角度を指定し、さらに、穴の深さ、穴径を
指定する。これらの指定は対話形式で、表示画面の質問
に対してデータを人力すればよい。
On the other hand, when drilling a hole in a cylindrical workpiece, the user specifies the Z-axis and angle of the center position of the hole, and also specifies the depth and diameter of the hole. These specifications can be made interactively, and data can be entered manually in response to questions on the display screen.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

しかし、従来の穴加工では、穴の深さは円筒表面からの
穴の深さのみしか定義できなかった。この結果、ワーク
に切り欠き面があり、切り欠き面に穴加工を行うときは
、実際の穴の深さの指定を円筒面からの深さで指定しな
ければならない。さらに、できあがった加工プログラム
は、円筒面までドリルを早送りで送り、切り欠き面まで
は切削送りとなる加工プログラムが作成されている。こ
の結果、加工時間の長い加工プログラムとなっている。
However, in conventional hole machining, the depth of the hole could only be defined as the depth of the hole from the cylindrical surface. As a result, when a workpiece has a notched surface and a hole is to be drilled in the notched surface, the actual depth of the hole must be specified by the depth from the cylindrical surface. Furthermore, the completed machining program is a machining program in which the drill is fed in rapid traverse up to the cylindrical surface and in cutting feed until it reaches the notch surface. As a result, the machining program requires a long machining time.

本発明はこのような点に鑑みてなされたものであり、切
り欠き面上の大船ニブログラムが簡単にできる加工プロ
グラム作成方法を提供することを目的とする。
The present invention has been made in view of these points, and it is an object of the present invention to provide a method for creating a machining program that can easily create an Ofuna nibogram on a notched surface.

また、本発明の他の目的は切り欠き面まで、早送りでド
リルを送る加工プログラムを作成する加工プログラム作
成方法を提供することである。
Another object of the present invention is to provide a machining program creation method for creating a machining program for rapidly feeding a drill to a notch surface.

〔課題を解決するための手段〕[Means to solve the problem]

本発明では上記課題を解決するために、円筒上のワーク
の切り欠き面に穴加工する加工プログラムを対話形式で
作成する加工プログラム作成方法において、切り欠き面
の定義をし、穴の中心位置のZ軸座標、角度位置、穴径
、穴の深さを人力し、前記穴の中心と前記切り欠き面の
交点を求め、前記交点まで早送りでドリルを送り、穴加
工を行う加工プログラムを生成することを特徴とする加
工プログラム作成方法が、提供される。
In order to solve the above problems, the present invention uses a machining program creation method that interactively creates a machining program for drilling holes in the notch surface of a cylindrical workpiece. A machining program is generated that manually enters the Z-axis coordinate, angular position, hole diameter, and hole depth, finds the intersection of the center of the hole and the notch surface, sends the drill in rapid traverse to the intersection, and drills the hole. A machining program creation method is provided.

〔作用〕[Effect]

切り欠き面を定義し、穴加工データを人力する。 Define the notch surface and enter the hole machining data manually.

対話型数値制御装置等は穴の中心と切り欠き面の交点を
求め、切り欠き面まで、早送りでドリルを送り、指定さ
れた穴の深さの穴加工を行う加工プログラムを生成する
An interactive numerical control device or the like finds the intersection between the center of the hole and the notch surface, sends the drill in rapid traverse to the notch surface, and generates a machining program that drills the specified hole depth.

この結果、人力する穴深さは実際の穴の深さでよい。ま
た、穴の人口までドリルが早送りで送られるので、加工
時間の短い加工プログラムが作成される。
As a result, the depth of the hole manually can be the same as the actual depth of the hole. In addition, since the drill is rapidly traversed to reach the hole, a machining program with short machining time can be created.

〔実施例〕〔Example〕

以下、本発明の一実施例を図面に基づいて説明する。 Hereinafter, one embodiment of the present invention will be described based on the drawings.

第2図は切り欠き面を有するワークの加工形状を示す斜
視図である。ワーク1はその右側に切り欠き面2を有す
る。切り欠き面2に穴3を加工するものとする。穴の中
心軸を4とする。穴のZ軸座標をZdとし、角度は0度
である。
FIG. 2 is a perspective view showing the processed shape of a workpiece having a notched surface. The workpiece 1 has a cutout surface 2 on its right side. It is assumed that a hole 3 is machined in the notch surface 2. Set the center axis of the hole to 4. The Z-axis coordinate of the hole is Zd, and the angle is 0 degrees.

従って、プログラマは穴の位置Zd、O度を指定する。Therefore, the programmer specifies the hole position Zd, O degrees.

さらに、穴の深さlと直径dを指定する。Furthermore, specify the depth l and diameter d of the hole.

これらの指定は対話型数値制御装置の画面上で入力する
These specifications are entered on the screen of the interactive numerical control device.

対話型数値制御装置は穴の中心軸と、切り欠き面の交点
Pを求める。次に、点Pまで早送りで、点Pから切削送
りとなるような加工プログラムを生成する。
The interactive numerical control device determines the intersection point P between the center axis of the hole and the notch surface. Next, a machining program is generated in which rapid feed is performed to point P and cutting feed is performed from point P.

第3図は本発明を実施するための対話型数値制御装置の
ハードウェアの概略構成図である。プロセッサ11はR
OM12に格納されたシスデムプログラムに従って数値
制御装置全体を制御する。
FIG. 3 is a schematic diagram of the hardware configuration of an interactive numerical control device for implementing the present invention. The processor 11 is R
The entire numerical control device is controlled according to the system program stored in the OM12.

ROM12にはEPROMあるいはEEFROMが使用
される。RAM13はDRAM等が使用され、各種のデ
ータあるいは入出力信号が格納される。不揮発性メモリ
14にはバッテリバックアップされたCMO3が使用さ
れ、電源切断後も保持すべきパラメータ、ピッチ誤差補
正量及び工具補正量等が格納されている。
EPROM or EEFROM is used as the ROM 12. A DRAM or the like is used as the RAM 13, and various data or input/output signals are stored therein. The nonvolatile memory 14 uses a battery-backed CMO 3, and stores parameters, pitch error correction amounts, tool correction amounts, etc. that should be retained even after the power is turned off.

グラフィック制御回路15はディジタル信号を表示用の
信号に変換し、表示器16に与える。表示器16はCR
Tあるいは液晶表示装置が使用される。表示器16には
対話形式で加工プログラムを作成していくときに、形状
、加工条件等を表示する。
The graphic control circuit 15 converts the digital signal into a display signal and supplies it to the display 16. Display 16 is CR
A T or liquid crystal display device is used. The display 16 displays the shape, machining conditions, etc. when creating a machining program in an interactive manner.

操作盤17はキーボード等から構成される装置PMC 
(7”ログラマブル・マシン・コントローラ)18はバ
ス20経出で出力信号を受けて、出力信号をシーケンス
・プログラムで処理して、工作機械19を制御する。ま
た、機械側からの入力信号を受けて、シーケンス・プロ
グラムで処理を行い、バス20を経由して、プロセッサ
11に人力信号を転送する。
The operation panel 17 is a device PMC consisting of a keyboard, etc.
(7" programmable machine controller) 18 receives output signals from the bus 20, processes the output signals with a sequence program, and controls the machine tool 19. It also receives input signals from the machine side. Then, processing is performed using a sequence program, and the human input signal is transferred to the processor 11 via the bus 20.

これらの構成要素はバス2oによって互いに結合されて
いる。
These components are coupled to each other by a bus 2o.

なお、第3図では軸制御回路、サーボアンプ、サーボモ
ータ、スピンドルアンプ及びスピンドルモータ等の構成
要素は省略しである。また、プロセッサを複数個にして
、マルチプロセッサシステムとすることもできる。
Note that components such as an axis control circuit, a servo amplifier, a servo motor, a spindle amplifier, and a spindle motor are omitted in FIG. It is also possible to use a plurality of processors to form a multiprocessor system.

第1図は加工プログラム作成方法のフローチャートであ
る。図において、Sに続く数値はステップ番号を示す。
FIG. 1 is a flowchart of a machining program creation method. In the figure, the number following S indicates the step number.

〔S1〕プログラマは穴の2軸座標値(Zd)、角度(
0度)、穴の直径(d)、穴の深さ(1)を操作盤17
から入力する。
[S1] The programmer inputs the hole's two-axis coordinate value (Zd) and angle (
0 degrees), hole diameter (d), and hole depth (1) on the operation panel 17.
Enter from.

〔S2〕切り欠き面2が定義されているか判別し、定義
されていればS3へ、されていないときはS6へ進む。
[S2] Determine whether the cutout surface 2 is defined. If it is defined, proceed to S3; if not, proceed to S6.

〔S3〕対話型数値制御装置は切り欠き面2と穴の中心
軸4との交点Pを求める。
[S3] The interactive numerical control device determines the intersection point P between the notch surface 2 and the central axis 4 of the hole.

〔S4〕交点があるかどうか判別し、あればS5へ、な
ければS6へ進む。
[S4] Determine whether there is an intersection, and if so, proceed to S5; if not, proceed to S6.

〔S5〕交点Pがあるので、交点Pを穴の入口とし、穴
の入口まで早送りでドリルを送る加工プログラムを生成
する。
[S5] Since there is an intersection P, a machining program is generated that uses the intersection P as the entrance of the hole and sends the drill in rapid traverse to the entrance of the hole.

〔S6〕最初に定義した素材面と穴の中心線との交点を
穴の人口とする。それに従って加工プログラムを生成す
る。
[S6] The intersection of the first defined material surface and the center line of the hole is set as the population of the hole. A machining program is generated accordingly.

なお、82〜S6迄のステップは対話型数値制御装置に
よって行われる。このようにして、切り欠き面上の穴加
工を簡単に生成することができる。
Note that steps 82 to S6 are performed by an interactive numerical control device. In this way, hole machining on the cutout surface can be easily generated.

上記の説明では、切り欠き面は水平で、穴は垂直であっ
たが、傾斜した切り欠き面上の穴加工でも同様に行うこ
とができる。このときの加工は、C軸によってワークを
回転して、切り欠き面を水平にして行う。
In the above description, the notch surface was horizontal and the hole was vertical, but the same process can be performed by drilling a hole on an inclined notch surface. This machining is performed by rotating the workpiece around the C-axis so that the notch surface is horizontal.

また、上記の説明では、対話型数値制御装置で加工プロ
グラムを作成することで説明したが、自動プログラム作
成装置での対話型ブロググムの作成でも同様に行うこと
ができる。
Further, in the above explanation, the machining program is created using an interactive numerical control device, but the same can be done by creating an interactive program using an automatic program creation device.

〔発明の効果〕〔Effect of the invention〕

以上説明したように本発明では、切り欠き面と穴の中心
軸の交点を穴の入口として加工プログラムを生成するよ
うにしたので、穴の深さを直接指定することができる。
As explained above, in the present invention, the machining program is generated with the intersection of the notch surface and the central axis of the hole as the entrance of the hole, so the depth of the hole can be directly specified.

また、生成された加工プログラムは穴の入口まで、ドリ
ルが早送りで送られるので、加工時間の短い加工プログ
ラムが作成される。
In addition, since the generated machining program is sent to the entrance of the hole by the drill in rapid traverse, a machining program with a short machining time is created.

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

第1図は加工プログラム作成方法のフローチャート、 第2図は切り欠き面を有するワークの加工形状を示す斜
視図、 第3図は本発明を実施するための対話型数値制御装置の
ハードウェアの概略構成図である。 ワーク 切り欠き面 穴 穴の中心軸 プロセッサ OM AM 不揮発性メモリ グラフィック制御回路 表示器 操作盤 MC 工作機械 ノイス
Fig. 1 is a flowchart of the machining program creation method, Fig. 2 is a perspective view showing the machining shape of a workpiece having a notched surface, and Fig. 3 is a schematic diagram of the hardware of an interactive numerical control device for implementing the present invention. FIG. Workpiece notch surface hole center axis processor OM AM non-volatile memory graphic control circuit display operation panel MC machine tool noise

Claims (3)

【特許請求の範囲】[Claims] (1)円筒上のワークの切り欠き面に穴加工する加工プ
ログラムを対話形式で作成する加工プログラム作成方法
において、 切り欠き面の定義をし、 穴の中心位置のZ軸座標、角度位置、穴径、穴の深さを
入力し、 前記穴の中心と前記切り欠き面の交点を求め、前記交点
まで早送りでドリルを送り、穴加工を行う加工プログラ
ムを生成することを特徴とする加工プログラム作成方法
(1) In a machining program creation method that interactively creates a machining program to drill a hole in the notch surface of a cylindrical workpiece, the notch surface is defined, and the Z-axis coordinate of the center position of the hole, the angular position, and the hole Creating a machining program characterized by inputting a diameter and a depth of a hole, finding an intersection between the center of the hole and the notch surface, sending a drill in rapid traverse to the intersection, and generating a machining program for drilling the hole. Method.
(2)前記加工プログラムの生成は対話型数値制御装置
で作成することを特徴とする請求項1記載の加工プログ
ラム作成方法。
(2) The machining program creation method according to claim 1, wherein the machining program is generated by an interactive numerical control device.
(3)前記加工プログラムは対話型自動プログラム作成
装置で行うことを特徴とする請求項1記載の加工プログ
ラム作成方法。
(3) The machining program creation method according to claim 1, wherein the machining program is executed by an interactive automatic program creation device.
JP15229290A 1990-06-11 1990-06-11 Processing program preparation method Pending JPH0446732A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP15229290A JPH0446732A (en) 1990-06-11 1990-06-11 Processing program preparation method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP15229290A JPH0446732A (en) 1990-06-11 1990-06-11 Processing program preparation method

Publications (1)

Publication Number Publication Date
JPH0446732A true JPH0446732A (en) 1992-02-17

Family

ID=15537343

Family Applications (1)

Application Number Title Priority Date Filing Date
JP15229290A Pending JPH0446732A (en) 1990-06-11 1990-06-11 Processing program preparation method

Country Status (1)

Country Link
JP (1) JPH0446732A (en)

Similar Documents

Publication Publication Date Title
US5327350A (en) Interactive type numerical control apparatus and method thereof
WO1987005845A1 (en) Method of preparing nc program for four-spindle lathe
US5383110A (en) Method of programming primary and secondary machining operations using an interactive numerical control apparatus
JPH0446732A (en) Processing program preparation method
US5060163A (en) Programming apparatus for lathes
JP2670148B2 (en) Numerical control unit
JPH04114208A (en) Animation plotting system for nc program
EP0454855A1 (en) Working method of cnc
US5583409A (en) Numerical control apparatus and method for controlling a machine
JPS58143941A (en) Numerically controlled processing system
EP0453570A1 (en) Nc program preparation method of interactive numeric controller or automatic programming apparatus
US5204810A (en) Nc sentence creation system
JPH01222304A (en) Nc sentence generation system
EP0455816A1 (en) End shape data input system
JPH03214209A (en) Cnc working method
EP0615179B1 (en) Numeric controller
JPS61257740A (en) Tool selection system
JPH0262607A (en) Program checking plotting system
JPH03256645A (en) Setting method of perforating conditions
JPH0496109A (en) Working program generating method for side face hole
EP0394454A1 (en) Surface notching
JPH0926810A (en) Numerical controller
JPH0232407A (en) Automatic programming system for c axis machining
JPH0616978B2 (en) 4-axis simultaneous machining generation method in automatic programming
JPH06175720A (en) Animation plotting system for numerical controller