JPS63292207A - Automatic programming device - Google Patents

Automatic programming device

Info

Publication number
JPS63292207A
JPS63292207A JP12781587A JP12781587A JPS63292207A JP S63292207 A JPS63292207 A JP S63292207A JP 12781587 A JP12781587 A JP 12781587A JP 12781587 A JP12781587 A JP 12781587A JP S63292207 A JPS63292207 A JP S63292207A
Authority
JP
Japan
Prior art keywords
data
shape
input
tool path
operator
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
Application number
JP12781587A
Other languages
Japanese (ja)
Other versions
JPH0682288B2 (en
Inventor
Naoto Yamaguchi
直人 山口
Yutaka Tanaka
豊 田中
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric 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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP62127815A priority Critical patent/JPH0682288B2/en
Publication of JPS63292207A publication Critical patent/JPS63292207A/en
Publication of JPH0682288B2 publication Critical patent/JPH0682288B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Numerical Control (AREA)

Abstract

PURPOSE:To reduce the amount of information inputted by an operator and to reduce load on the operator, by constituting the construction of form data of a targeted form so that the advancing direction of a graphic element forming an input graphic can be decided automatically. CONSTITUTION:The titled device is constituted in such a way that a form direction decision part 23 which decides a form direction by a start point, an end point, and a tangent point in each element of the input graphic based on numeric data constructed at a form data construction part 22 is provided in a CPU 2, and tool path data is calculated at a tool path data calculation part 24 based on the from direction data of each element of the form direction decision part 23, and a program corresponding to the input graphic is generated. By omitting the input of information with respect to the advancing direction and the rotational direction of the graphic element at the time of inputting the targeted form, it is possible to reduce the amount of information required to input by the operator, and to reduce the load on the operator.

Description

【発明の詳細な説明】 [産業上の利用分野] この発明は、数値制御装置(以下NCという)を動作さ
せる数値制御データ(以下NCデータ)を作成する自動
プログラミング装置に関するものである。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to an automatic programming device for creating numerical control data (hereinafter referred to as NC data) for operating a numerical control device (hereinafter referred to as NC).

[従来の技術] この種の従来の自動プログラミング装置は第5図及び第
6図に示すものがあり、この第5図は従来装置の全体構
成図、第6図は目的形状の入力に必要な情報の図形態様
図である。上記各図にわいて従来の自動プログラミング
装置は、加工目的形状を入力する形状データ入力装置(
1)と、該形状データ入力装置にて入力された形状デー
タに基づき演算処理して、プログラムを作成する中央処
理装置(以下、cpU)(2)  と、該CP U (
2)の演算動作に必要なデータを格納し、上記CP U
 (2)からアクセスされプログラム・処理結果等のデ
ータを格納する記憶装置(3)と、上記CP U (2
)の出力に基づいて工具経路データを出力する工具経路
データ出力装置(4)と、該工具経路データ出力装置(
4)の工具経路データに基づいて数値制御に用いられる
データを作成し、例えば紙テープへパンチ出力等にて出
力するNCデータ出力装置(5)と、上記形状データ入
力装置(1)の形状データ及びCP U (2)の演算
結果を表示する表示装置(6)とを備える構成である。
[Prior Art] This type of conventional automatic programming device is shown in FIGS. 5 and 6. FIG. It is a diagram of the graphical form of information. In each of the above figures, the conventional automatic programming device is a shape data input device (
1), a central processing unit (hereinafter referred to as cpU) that performs arithmetic processing based on the shape data inputted by the shape data input device and creates a program (2), and the CPU (
2) Stores the data necessary for the arithmetic operation, and
A storage device (3) that is accessed from the CPU (2) and stores data such as programs and processing results;
); a tool path data output device (4) that outputs tool path data based on the output of the tool path data output device (4);
4) An NC data output device (5) that creates data used for numerical control based on the tool path data and outputs it by punching onto paper tape, for example, and a shape data input device (1) that generates data used for numerical control. The configuration includes a display device (6) that displays the calculation results of the CPU (2).

上記CP U (2)は装置全体に関する演算、判断、
転送等の制御の演算動作を行なう演算処理部(21)と
、該演算処理部(21)の制御に基づいて上記形状デー
タ入力装置(1)にて入力される形状データから目的形
状の数値データを構築する形状データ構築部(22)と
、該形状データ構築部(22)にて構築された数値デー
タに基づき目的形状を加工するための工具経路データを
算出する工具経路データ算出部(24)とを備える構成
である。
The CPU (2) performs calculations, judgments, etc. regarding the entire device.
An arithmetic processing section (21) that performs arithmetic operations for control such as transfer, and numerical data of the target shape from the shape data inputted by the shape data input device (1) based on the control of the arithmetic processing section (21). a shape data construction unit (22) that constructs a shape data construction unit (22), and a tool path data calculation unit (24) that calculates tool path data for machining a target shape based on the numerical data constructed by the shape data construction unit (22). The configuration includes the following.

次に上記構成に基づ〈従来装置の動作について説明する
。第3図に示す形状を加工するNCデータを作成する場
合に、まず形状データ入力装置(1)から目的形状を構
成する直線、円の図形要素、及びそれらの進行方向、回
転方向を示す情報により形状データがCP U (2)
に入力される。このc p u (2)では形状データ
構築手段(21)により目的形状のデータ、すなわち第
3図に示される形状の数値データが構築され、この数値
データを演算処理部(21)の処理により記憶装置(3
)に記憶される。
Next, the operation of the conventional device will be explained based on the above configuration. When creating NC data for machining the shape shown in Figure 3, first, the shape data input device (1) inputs information indicating the linear and circular graphic elements that make up the target shape, as well as their direction of movement and rotation direction. Shape data is sent to CPU (2)
is input. In this c p u (2), the shape data construction means (21) constructs the data of the target shape, that is, the numerical data of the shape shown in FIG. Equipment (3
).

その後操作員が適当な指示を与えると、工具経路データ
算出部(24)により第3図の形状を加工する際に工具
を移動するための工具経路データが算出され、この工具
経路データが工具経路データ出力装置(4)により出力
され、さらにこの工具経路データに基づきNCデータ出
力装置(5)よりNCデータが出力される。なお、必要
に応じて工具経路は表示装置(6)上に表示される。こ
れで形状の作成、修正の確認を行うことができる。
After that, when the operator gives an appropriate instruction, the tool path data calculation unit (24) calculates tool path data for moving the tool when machining the shape shown in Fig. 3, and this tool path data is used as the tool path. The data output device (4) outputs the data, and based on this tool path data, the NC data output device (5) outputs NC data. Note that the tool path is displayed on the display device (6) as necessary. Now you can create the shape and check the modifications.

[発明が解決しようとする問題点] 従来の自動プログラミング装置は、以上のように構成さ
れているので、目的形状の形状データを入力する際、例
えば第3図に示すような形状を入力するには、第4図に
あるように、入力情報として直線、円のデータ以外に、
それぞれ直線の進行方向、円の回転方向の2つのデータ
を同時に入力しなければならず、操作員の負担が増加す
るという問題点があった。
[Problems to be Solved by the Invention] Since the conventional automatic programming device is configured as described above, when inputting the shape data of the target shape, for example, the shape shown in FIG. As shown in Figure 4, in addition to straight line and circle data as input information,
There is a problem in that two data items, one for the traveling direction of the straight line and the other for the rotating direction of the circle, must be input at the same time, which increases the burden on the operator.

この発明は上記のような問題点を解消するためになされ
たもので、目的形状を入力する際の余分な手間を省くこ
とにより操作員の負担を軽減することができる自動プロ
グラミング装置を得ることを目的とする。
This invention was made in order to solve the above-mentioned problems, and aims to provide an automatic programming device that can reduce the burden on the operator by eliminating the extra effort when inputting the target shape. purpose.

[問題点を解決するための手段] この発明に係る自動プログラミング装置は、入力される
形状データに基づいて目的形状の数値データを形状デー
タ構築手段にて作成し、該形状データ構築手段の数値デ
ータの図形を形成する各要素に基づき形状方向を形状方
向決定手段にて決定し、該形状方向決定手段にて決定さ
れた形状方向データに基づき工具経路データのプログラ
ムを作成する構成である。
[Means for Solving the Problems] The automatic programming device according to the present invention creates numerical data of a target shape in a shape data construction means based on input shape data, and creates numerical data of the shape data construction means. The shape direction is determined by a shape direction determining means based on each element forming the figure, and a program of tool path data is created based on the shape direction data determined by the shape direction determining means.

[作用] この発明における自動プログラミング装置は、目的形状
を入力する際に図形要素の進行方向、回転方向について
の情報を入力することを省略することにより操作員が入
力する必要な情報を減らし操作員の負担が軽減される。
[Operation] The automatic programming device according to the present invention reduces the information required to be input by the operator by omitting the input of information about the direction of movement and rotation direction of the graphic element when inputting the target shape. The burden of this will be reduced.

[実施例] 以下、この発明の一実施例を第1図ないし第4図に基づ
いて説明する。この第1図は本実施例に係る自動プログ
ラミング装置の全体回路ブロック構成図、第2図は形状
方向決定の動作フローチャート、第3図は入力すべき図
形の形状図、第4図は入力図形の各要素の態様図を示す
。上記各図において本実施例に係る自動プログラミング
装置は、前記従来装置のCP U (2)に、形状デー
タ構築部(22)で構築された数値データに基づき入力
図形の各要素における始点、終点、接点により形状方向
を決定する形状方向決定部(23)を追加して備え、上
記形状方向決定部(23)にて各要素の形状方向データ
に基づぎ工具経路データを工具経路データ算出部(24
)にて算出し、入力図形に対応するプログラムを作成す
る構成である。その他は従来装置と同様であり説明を省
略する。
[Embodiment] An embodiment of the present invention will be described below with reference to FIGS. 1 to 4. FIG. 1 is an overall circuit block diagram of the automatic programming device according to this embodiment, FIG. 2 is an operation flowchart for determining shape direction, FIG. 3 is a shape diagram of a figure to be input, and FIG. 4 is a diagram of the input figure. A mode diagram of each element is shown. In each of the above figures, the automatic programming device according to the present embodiment allows the CPU (2) of the conventional device to determine the starting point, end point, and A shape direction determination section (23) is additionally provided to determine the shape direction based on the contact points, and the shape direction determination section (23) calculates tool path data based on the shape direction data of each element by a tool path data calculation section ( 24
) to create a program corresponding to the input figure. The rest is the same as the conventional device, and the explanation will be omitted.

次に上記構成に基づく本実施例装置の動作について説明
する。まず、上記形状データ入力装置(1)は第3図に
示すように操作員が入力を行おうとする形状の図形を入
力するもので、この形状を入力するために操作員は第4
図に示す直線、円のデータをそれぞれ4つずつ計8本の
情報として入力する。この入力された情報である形状デ
ータより各図形要素(直線、円)間で交点算出を数値デ
ータとして形状データ構築手段(2)により行う。
Next, the operation of the apparatus of this embodiment based on the above configuration will be explained. First, the shape data input device (1) is used to input a figure of the shape that the operator wishes to input as shown in FIG.
Input the data for the straight lines and circles shown in the figure, 4 each, as information for a total of 8 lines. The shape data constructing means (2) calculates intersections between each graphical element (straight line, circle) as numerical data based on the shape data that is this input information.

次に形状方向決定部(23)の決定動作を第2図を参照
して説明する。まず(ステップ1)で経路データの先頭
の図形要素が直線であるか、円であるかを判断し、直線
であれば(ステップ2)へ分岐する。この(ステップ2
)では直線の方向付けを行う。又円であれば(ステップ
3)へ分岐し円の回転方向が始点より終点へ向う回転方
向を、それぞれ時計回り、反時計回りの場合について求
め回転角の小さい方又は、前後の図形となめらかに接す
る方の回転方向を選択し形状データとしてセットする(
ステップ4)。その後、(ステップ5)で、入力形状を
構成する全図形要素の方向セットが終了したか否かを判
定し、終了していなければ次のデータを同様に処理し、
終了していれば形状方向決定部(23)の動作を終了す
る。
Next, the determining operation of the shape direction determining section (23) will be explained with reference to FIG. First, in step 1, it is determined whether the first graphical element of the route data is a straight line or a circle, and if it is a straight line, the process branches to step 2. This (step 2
) to orient the straight line. If it is a circle, branch to (step 3) and find the rotation direction of the circle from the start point to the end point for clockwise and counterclockwise cases, respectively, and smooth it with the smaller rotation angle or with the previous and next figures. Select the rotation direction of the contacting side and set it as shape data (
Step 4). After that, in (step 5), it is determined whether or not the direction setting of all graphical elements constituting the input shape has been completed, and if it has not been completed, the next data is processed in the same way,
If the process has been completed, the operation of the shape direction determining section (23) is completed.

なお、上記実施例においては、形状データ構築部(22
)にて入力図形の各要素を直線、円について数値データ
を構築する場合について説明したが、直線、曲線、円に
ついて数値データを構築する構成とすることもできる。
In addition, in the above embodiment, the shape data construction unit (22
), the case where numerical data is constructed for straight lines and circles for each element of an input figure has been described, but it is also possible to construct numerical data for straight lines, curves, and circles.

また形状データ構築部(22)はデータ構築を入力図形
の各要素について、交点、接点をも参照して、形状方向
を決定する構成とすることもできる。
Further, the shape data construction unit (22) may be configured to construct data by also referring to intersections and contact points for each element of the input figure to determine the shape direction.

また上記形状データ入力装置は、キーボード、マウス、
X−Yプロッター、CCD、その他の図形の形状を入力
する装置にて構成することもできる。
In addition, the shape data input device mentioned above includes a keyboard, a mouse,
It can also be configured with an X-Y plotter, CCD, or other device for inputting the shape of a figure.

[発明の効果] 以上説明したとおり、この発明によれば、目的形状の形
状データ構築を、入力図形を形成する図形要素の進行方
向の決定を自動的に行うように構成したので、操作員が
入力する情報が減少して操作員の負担を軽減することが
できる効果がある。
[Effects of the Invention] As explained above, according to the present invention, the shape data of the target shape is constructed in such a way that the direction of movement of the graphic elements forming the input shape is automatically determined. This has the effect of reducing the amount of information to be input and reducing the burden on the operator.

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

第1図はこの発明の一実施例に係る自動プログラミング
装置の全体回路ブロック構成図、第2図は形状方向決定
の動作フローチャート、第3図は加工目的形状の形状図
、第4図は加工目的形状入力のために必要な入力情報と
しての態様図、第5図は従来の自動プログラミング装置
の全体構成図、第6図は加工目的形状の入力に必要な入
力情報の図形態様図である。 図中、(1)は形状データ入力装置、(2)はcpU、
(3)は記憶装置、(4)は工具経路データ出力装置、
(5)はNCデータ出力装置、(6)は表示装置、(2
1)は演算処理部、(22)は形状データ構築部、(2
3)は形状方向決定部、(24)は工具経路データ算出
部である。 なお、図中同一符号は同一部分又は相当部分を示す。
Fig. 1 is an overall circuit block diagram of an automatic programming device according to an embodiment of the present invention, Fig. 2 is an operation flowchart for determining the shape direction, Fig. 3 is a shape diagram of the target shape for machining, and Fig. 4 is the target for machining. FIG. 5 is a diagram showing the overall configuration of a conventional automatic programming device, and FIG. 6 is a diagram showing the format of input information necessary for inputting a shape to be machined. In the figure, (1) is a shape data input device, (2) is a cpU,
(3) is a storage device, (4) is a tool path data output device,
(5) is an NC data output device, (6) is a display device, (2
1) is an arithmetic processing unit, (22) is a shape data construction unit, (2
3) is a shape direction determination section, and (24) is a tool path data calculation section. Note that the same reference numerals in the figures indicate the same or equivalent parts.

Claims (2)

【特許請求の範囲】[Claims] (1)加工目的の図形に関する形状データを入力して素
材を加工する際における工具の通過点を算出して工具経
路データのプログラムを作成する自動プログラミング装
置において、上記入力される形状データに基づいて目的
形状の数値データを作成する形状データ構築手段と、該
形状データ構築手段の数値データの図形を形成する各要
素に基づき形状方向を決定する形状方向決定手段とを備
え、上記形状方向決定手段にて決定された形状方向デー
タに基づき工具経路データのプログラムを作成する構成
としたことを特徴とする自動プログラミング装置。
(1) In an automatic programming device that inputs shape data related to the shape to be machined, calculates the passing points of the tool when machining the material, and creates a program of tool path data, based on the shape data inputted above, comprising a shape data construction means for creating numerical data of a target shape, and a shape direction determining means for determining a shape direction based on each element forming a figure of the numerical data of the shape data construction means, the shape direction determining means An automatic programming device characterized in that it is configured to create a program for tool path data based on the shape direction data determined by the method.
(2)上記形状方向決定手段は、入力図形の各要素の始
点、終点、接点、交点から形状方向データを作成する構
成としたことを特徴とする特許請求の範囲第1項に記載
の自動プログラミング装置。
(2) The automatic programming according to claim 1, wherein the shape direction determining means is configured to create shape direction data from the start point, end point, contact point, and intersection of each element of the input figure. Device.
JP62127815A 1987-05-25 1987-05-25 Automatic programming equipment Expired - Lifetime JPH0682288B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62127815A JPH0682288B2 (en) 1987-05-25 1987-05-25 Automatic programming equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62127815A JPH0682288B2 (en) 1987-05-25 1987-05-25 Automatic programming equipment

Publications (2)

Publication Number Publication Date
JPS63292207A true JPS63292207A (en) 1988-11-29
JPH0682288B2 JPH0682288B2 (en) 1994-10-19

Family

ID=14969350

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62127815A Expired - Lifetime JPH0682288B2 (en) 1987-05-25 1987-05-25 Automatic programming equipment

Country Status (1)

Country Link
JP (1) JPH0682288B2 (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6081604A (en) * 1983-10-11 1985-05-09 Toshiba Corp Method for specifying pattern of numerical control tape
JPS60126710A (en) * 1983-12-14 1985-07-06 Fanuc Ltd Method for determining working process in automatic programming

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6081604A (en) * 1983-10-11 1985-05-09 Toshiba Corp Method for specifying pattern of numerical control tape
JPS60126710A (en) * 1983-12-14 1985-07-06 Fanuc Ltd Method for determining working process in automatic programming

Also Published As

Publication number Publication date
JPH0682288B2 (en) 1994-10-19

Similar Documents

Publication Publication Date Title
JPS63292207A (en) Automatic programming device
JPH04114208A (en) Animation plotting system for nc program
JPH03294906A (en) Editing system for working program
JPH02252004A (en) Tool shape plotting system
JPS61194504A (en) Automatic programming device
JPS58187269A (en) Locus controlling method of welding robot
JP2623357B2 (en) Laser processing data creation device
JP4328395B2 (en) Machining shape data input method for workpiece end face in automatic programming device of NC machine tool
JPS63113607A (en) Setting method for machining condition
JPS613206A (en) Nc program generation system with coordinate calculating function
JPH0755635Y2 (en) Small electronic calculator
JPH0734166B2 (en) Method for creating offset shape of numerical control device
JPS6081604A (en) Method for specifying pattern of numerical control tape
JP2879831B2 (en) Graphic element extraction method
JPH0212309A (en) Cad/cam device
JPS62256105A (en) Automatic programming device
JPS61105614A (en) Working area designating system of nc data generating device
JPH04174006A (en) Graphic drawing method
JPS6224307A (en) Preparing device for numerical control tape
JPH0659592B2 (en) Automatic programming creation device
JPH0659720A (en) Deburring robot program generating method
JPH07141420A (en) Angular dimension entering method
JPH0391809A (en) Generation of nc working machine program
JPH0276005A (en) Arbitrary shape outline input system
JPS6394374A (en) Graphic input device