JP2010262528A - Automatic programming device and operation program for the same - Google Patents

Automatic programming device and operation program for the same Download PDF

Info

Publication number
JP2010262528A
JP2010262528A JP2009113727A JP2009113727A JP2010262528A JP 2010262528 A JP2010262528 A JP 2010262528A JP 2009113727 A JP2009113727 A JP 2009113727A JP 2009113727 A JP2009113727 A JP 2009113727A JP 2010262528 A JP2010262528 A JP 2010262528A
Authority
JP
Japan
Prior art keywords
surface shape
shape
ridge line
processing unit
data
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
JP2009113727A
Other languages
Japanese (ja)
Inventor
Yuka Mitani
由香 三谷
Akira Miyata
宮田  亮
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 JP2009113727A priority Critical patent/JP2010262528A/en
Publication of JP2010262528A publication Critical patent/JP2010262528A/en
Pending legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide an automatic programming device that allows various machining area shape to be defined with a smaller amount of information. <P>SOLUTION: The automatic programming device includes: an input device 111 receiving data; a storage device storing the data; a base shape definition processing part 131 defining a base shape by ridgeline data of a series of ridge lines constituting the contour of the base shape stored in the storage device, and attribute data of the ridgeline specifying a side face shape related to the ridgeline; a side face shape generation processing part 132 generating a face specified from the attribute data and the ridgeline data of the base shape as the side face shape; and a machining area shape generation processing part 134 generating the machining area shape based on the side face shape generated by the side face shape generation processing part and the base shape defined by the base shape definition processing part 131, and storing it into the storage part. <P>COPYRIGHT: (C)2011,JPO&INPIT

Description

この発明は、NC工作機械の動作を制御するNC自動プログラムを効率的に生成するための自動プログラミング装置及びその動作プログラムに関するものである。   The present invention relates to an automatic programming apparatus for efficiently generating an NC automatic program for controlling the operation of an NC machine tool, and an operation program therefor.

上記のようなNC工作機械用の自動プログラミング装置では、従来、加工領域を定義する際に、以下のような方法を採用していた。すなわち、加工領域を定義する際に輪郭形状を用い、同一寸法の丸み付け円弧または面取り形状を挿入する際には、所定範囲内のコーナの1つ1つを指定していた。そして、このようにしてコーナを指定した後も、寸法を入力する設問文に対して同じ数値を1つ1つ入力しなければならず、コーナ部形状の挿入操作に多大の時間を要するという問題があった。   In the automatic programming apparatus for NC machine tools as described above, conventionally, the following method has been adopted when defining the machining area. That is, the contour shape is used when defining the machining area, and each corner within the predetermined range is specified when inserting a rounded arc or chamfered shape of the same size. And even after designating a corner in this way, the same numerical value must be entered one by one for the question text for entering dimensions, and it takes a lot of time to insert the corner shape. was there.

この問題を解決する方法としては、輪郭形状を特定するためのパートプログラムを予め作成しておき、そのパートプログラムから得られる形状を画面に表示し、タブレット装置を用いて、画面上でコーナ指定したい所定範囲内の形状を複数ピックし、さらに丸み付けの寸法とコーナの角度範囲を一括して入力するという方法が従来提案されている(例えば、特許文献1)。   To solve this problem, create a part program for specifying the contour shape in advance, display the shape obtained from the part program on the screen, and specify the corner on the screen using the tablet device. A method has been proposed in which a plurality of shapes within a predetermined range are picked and a rounding dimension and a corner angle range are collectively input (for example, Patent Document 1).

しかし、この方法においても問題を有しており、その問題は、加工領域を輪郭形状のみで定義しているため、加工領域形状としてはその輪郭形状を指定経路に沿って押出した、指定経路に垂直な断面が同一形状であり、また上面と下面が同一形状であるような押出し形状しか定義できないことである。   However, this method also has a problem, and the problem is that the machining area is defined only by the contour shape. Therefore, as the machining area shape, the contour shape is extruded along the designated path. Only an extruded shape in which the vertical cross section has the same shape and the upper surface and the lower surface have the same shape can be defined.

さらに特許文献1に開示の方法については、事前に所望の輪郭形状を特定するための形状を定義し、そのパートプログラムを作成したうえで改めて所望の輪郭形状を定義しなければならない、といった問題や、コーナ部形状の挿入操作にはタブレット装置が必要である、といった問題もある。   Furthermore, with respect to the method disclosed in Patent Document 1, there is a problem that a shape for specifying a desired contour shape must be defined in advance, and the desired contour shape must be defined again after creating the part program. There is also a problem that a tablet device is necessary for the insertion operation of the corner shape.

特開平2−59803号公報(図3〜図7)Japanese Patent Laid-Open No. 2-59803 (FIGS. 3 to 7)

このように、従来の自動プログラミング装置における加工領域定義方法では、加工領域を輪郭形状のみで定義しているため、加工領域形状としてはその輪郭形状を指定経路に沿って押出した、指定経路に垂直な断面が同一形状であるような押出し形状しか定義できないという問題点があった。   As described above, in the machining area defining method in the conventional automatic programming apparatus, the machining area is defined only by the contour shape. Therefore, the contour shape is extruded along the designated path as the machining area shape. There is a problem that only the extruded shape having a uniform cross section can be defined.

この発明は、上記のような問題点を解決するためになされたものであり、操作者の手間を軽減し、従来のものより少ない情報量で多様な加工領域形状を定義することができる自動プログラミング装置及びその動作プログラムを提供することを目的としている。   The present invention has been made to solve the above-described problems, and reduces the labor of an operator and can automatically define various machining area shapes with a smaller amount of information than conventional ones. An object is to provide an apparatus and an operation program thereof.

上述した課題を解決し、目的を達成するために、本発明の自動プログラミング装置は、データを取り込む入力装置と、データを記憶する記憶装置と、記憶装置に記憶された底面形状の輪郭を構成する一連の稜線の稜線データ、及び稜線に関連した側面形状を特定する稜線の属性データにより、底面形状を定義する底面形状定義処理部、底面形状の稜線データ及び属性データとから特定される面を側面形状として生成する側面形状生成処理部、及び底面形状定義処理部により定義された底面形状、及び側面形状生成処理部により生成された側面形状に基づいて加工領域形状を生成して記憶装置に記憶する加工領域形状生成処理部を含む加工領域定義部と、を備えたことを特徴とする。   In order to solve the above-described problems and achieve the object, an automatic programming device of the present invention comprises an input device for capturing data, a storage device for storing data, and a contour of a bottom shape stored in the storage device. By using the ridge line data of the series of ridge lines and the attribute data of the ridge line that specifies the side surface shape related to the ridge lines, the bottom surface shape definition processing unit that defines the bottom surface shape, the surface specified from the ridge line data and attribute data of the bottom surface is the side surface. A processing region shape is generated based on the side surface shape generated by the side surface shape generation processing unit, the bottom surface shape defined by the bottom surface shape definition processing unit, and the side surface shape generated by the side surface shape generation processing unit, and stored in the storage device. A machining area defining unit including a machining area shape generation processing unit.

この発明の自動プログラミング装置によれば、底面形状だけでなく側面形状の形状幾何データを定義できることから、従来の加工領域形状として生成される押出し形状のように指定経路に垂直な断面が同じとなるような形状以外の形状も定義でき、所望の加工に適した多様な形状を加工領域形状として定義できるという効果を奏する。   According to the automatic programming device of the present invention, not only the shape of the bottom surface but also the shape geometric data of the side surface shape can be defined, so that the cross section perpendicular to the designated path is the same as the extruded shape generated as the conventional processing region shape. Shapes other than such shapes can be defined, and various shapes suitable for desired machining can be defined as machining region shapes.

図1は、本発明にかかる自動プログラミング装置の装置構成をデータ処理の流れに沿って示すブロック図である。FIG. 1 is a block diagram showing the configuration of an automatic programming apparatus according to the present invention along the flow of data processing. 図2は、一例として示す製品形状の斜視図である。FIG. 2 is a perspective view of a product shape shown as an example. 図3−1は、図2の加工除去領域の底面形状を定義する稜線定義表を示す図である。FIG. 3A is a diagram illustrating a ridge line definition table that defines the shape of the bottom surface of the processing removal region in FIG. 2. 図3−2は、図3−1の稜線定義表に定義された底面形状の詳細を示す図である。FIG. 3B is a diagram illustrating details of the bottom surface shape defined in the ridge line definition table of FIG. 3A. 図4は、稜線定義表で定義された側面形状を説明するための図である。FIG. 4 is a diagram for explaining the side surface shape defined in the ridge line definition table. 図5は、稜線定義表で定義される加工領域形状を説明するための図である。FIG. 5 is a diagram for explaining a machining area shape defined in the ridge line definition table. 図6−1は、側面形状に関する属性データが装置により自動的に設定される様子を示す図のうち、所定の稜線に対して次の稜線が接線連続である一例を示す図である。FIG. 6A is a diagram illustrating an example in which the next ridge line is tangent continuous with respect to a predetermined ridge line in a diagram illustrating a state in which attribute data regarding the side surface shape is automatically set by the apparatus. 図6−2は、同じく、所定の稜線に対して次の稜線が接線連続である他の例を示す図である。FIG. 6B is a diagram illustrating another example in which the next ridge line is tangent continuous with respect to the predetermined ridge line. 図6−3は、所定の稜線とこれに隣接する次の稜線の稜線定義表を示す図である。FIG. 6C is a diagram illustrating a ridge line definition table of a predetermined ridge line and the next ridge line adjacent thereto. 図6−4は、同一Rチェックボタンの正面図である。FIG. 6-4 is a front view of the same R check button. 図7−1は、側面形状に関する属性データを設定する様子を示す図のうち、隣接する稜線間のコーナ部を滑らかにするために形状修正を行う様子を説明するための図である。7-1 is a figure for demonstrating a mode that shape correction is performed in order to smooth the corner part between adjacent ridgelines among the figures which show a mode that the attribute data regarding a side surface shape is set. 図7−2は、図7−1に示す稜線の稜線定義表を示す図である。FIG. 7B is a diagram illustrating a ridge line definition table of the ridge lines illustrated in FIG. 図7−3は、形状判定ボタンの正面図である。FIG. 7C is a front view of the shape determination button. 図8は、不正形状を説明するための縦断面図である。FIG. 8 is a longitudinal sectional view for explaining an irregular shape. 図9−1は、図8に示す不正形状の稜線定義表である。FIG. 9A is an irregularly shaped ridge line definition table shown in FIG. 図9−2は、表示装置の画面にアラーム表示する様子を示す図である。FIG. 9B is a diagram illustrating a state where an alarm is displayed on the screen of the display device. 図10−1は、実施の形態2の製品形状及び加工領域形状を示す斜視図である。FIG. 10A is a perspective view illustrating a product shape and a processing region shape according to the second embodiment. 図10−2は、図10−1の加工領域形状を含む部分の断面図である。FIG. 10-2 is a cross-sectional view of a part including the shape of the processing region of FIG. 10-1.

以下に、本発明にかかる自動プログラミング装置の実施の形態を図面に基づいて詳細に説明する。なお、本発明は以下の記述に限定されるものではなく、本発明の要旨を逸脱しない範囲において適宜変更可能である。   Embodiments of an automatic programming apparatus according to the present invention will be described below in detail with reference to the drawings. In addition, this invention is not limited to the following description, In the range which does not deviate from the summary of this invention, it can change suitably.

実施の形態1.
図1は、本発明にかかる自動プログラミング装置の装置構成をデータ処理の流れに沿って示すブロック図である。図中矢印はデータの流れを示す。図1において、自動プログラミング装置101は、入力装置111、対話式操作処理部121、加工領域定義部130、及びNCプログラム生成部140から構成されている。さらに加工領域定義部130は、底面形状定義処理部131、側面形状生成処理部132、上面形状生成処理部133、及び加工領域形状生成処理部134から構成されている。また、NCプログラム生成部140は、加工工程分割処理部141、加工ユニット定義処理部142、及びNCプログラム生成処理部143から構成されている。
Embodiment 1 FIG.
FIG. 1 is a block diagram showing the configuration of an automatic programming apparatus according to the present invention along the flow of data processing. The arrows in the figure indicate the data flow. In FIG. 1, the automatic programming device 101 includes an input device 111, an interactive operation processing unit 121, a machining area definition unit 130, and an NC program generation unit 140. Further, the processing region definition unit 130 includes a bottom surface shape definition processing unit 131, a side surface shape generation processing unit 132, a top surface shape generation processing unit 133, and a processing region shape generation processing unit 134. The NC program generation unit 140 includes a machining process division processing unit 141, a machining unit definition processing unit 142, and an NC program generation processing unit 143.

自動プログラミング装置101は、入力装置111及び表示装置112に加えて、図1には示さないが、演算装置(CPU)や記憶装置といったハードウェアを備えている。そして、上記各処理部は、実際には所定のプログラムが記憶装置に記憶された状態で装置に搭載されている。つまり、各処理部の動作は、演算装置によって動作する所定のプログラム動作と考えてよい。   Although not shown in FIG. 1, the automatic programming device 101 includes hardware such as an arithmetic device (CPU) and a storage device, in addition to the input device 111 and the display device 112. Each processing unit is actually mounted on the apparatus in a state where a predetermined program is stored in the storage device. That is, the operation of each processing unit may be considered as a predetermined program operation that is operated by the arithmetic device.

自動プログラミング装置101は、入力装置111から、製品形状、素材形状や材質、工具データ、加工条件データ、加工領域を定義するための底面形状データなどNCプログラム生成に関するデータを取り込み、必要に応じて記憶装置にこれらデータを記憶させながら、対話式操作処理部121において、操作者との対話方式による編集を行って、これらの取り込んだ各種データを用いて素材から製品を機械加工するためのNCプログラムを生成する。   The automatic programming device 101 fetches data related to NC program generation from the input device 111, such as product shape, material shape and material, tool data, machining condition data, and bottom shape data for defining a machining area, and stores it as necessary. While storing these data in the apparatus, the interactive operation processing unit 121 performs editing in an interactive manner with the operator, and an NC program for machining the product from the raw material using these various types of data. Generate.

なお、図1の自動プログラミング装置101により生成されたNCプログラムは、NCプログラム解析処理部151により解析され、NC装置を動作させるNC指令としてNC装置102に渡され、NC指令に基づいた処理が実行される。   The NC program generated by the automatic programming device 101 in FIG. 1 is analyzed by the NC program analysis processing unit 151 and passed to the NC device 102 as an NC command for operating the NC device, and processing based on the NC command is executed. Is done.

このように本実施の形態の自動プログラミング装置101においては、入力装置111から取り込まれた各種データを基に、対話式操作処理部121により対話形式でデータを編集・生成し、加工領域形状の底面形状データのように加工領域に関するデータは加工領域定義部130に、一方、工具データ、加工条件データなどのようにNCプログラム生成に関するデータはNCプログラム生成部140に渡される。   As described above, in the automatic programming device 101 according to the present embodiment, the interactive operation processing unit 121 edits and generates data interactively based on various types of data fetched from the input device 111, and the bottom surface of the machining area shape. Data relating to the machining area such as shape data is passed to the machining area defining unit 130, while data relating to NC program generation such as tool data and machining condition data is passed to the NC program generating unit 140.

そして、加工領域定義部130では、対話式操作処理部121より渡された加工領域に関するデータから、素材から製品を得るために素材から除去される領域である加工除去領域を含む、加工の対象となる加工領域を定義する。   Then, in the processing area definition unit 130, processing data including a processing removal area that is an area to be removed from the material in order to obtain a product from the material from the data regarding the processing area passed from the interactive operation processing unit 121. Define the machining area.

〈底面形状定義処理部〉
底面形状定義処理部131では、対話式操作処理部121から渡された、底面形状の輪郭を構成する一連の稜線データである以下のデータにより、まず、底面形状の基準となる輪郭形状を生成する。すなわち、
・底面形状を構成する稜線の種類(直線、円弧、など)、
・稜線の領域範囲(直線の場合は始点と終点の座標値、円弧の場合は始点と終点と中心点の座標値と半径値、など)、
・生成される側面形状と上面形状のチェックのための製品形状、
・各々の稜線に関連した形状変形のためのデータ(隣接する稜線のコーナ部を滑らかに繋げたい場合に挿入する丸み形状データ)、
・側面形状を特定するためのデータ(面の種類、傾き、など)、
・上面形状を特定するためのデータ(面の種類、底面形状との距離、など)、
が設定された稜線の属性データ、
により、底面形状の基準となる輪郭形状を生成する。
<Bottom shape definition processing section>
The bottom surface shape definition processing unit 131 first generates a contour shape serving as a reference for the bottom surface shape based on the following data, which is a series of ridge line data constituting the contour of the bottom surface shape passed from the interactive operation processing unit 121. . That is,
-Types of ridgelines that make up the bottom surface shape (straight lines, arcs, etc.)
・ Ridge area range (start point and end point coordinate values for straight lines, start point, end point and center point coordinate values and radius values for arcs, etc.),
・ Product shape for checking the side shape and top shape generated,
・ Data for shape deformation related to each ridge line (round shape data inserted when corner parts of adjacent ridge lines are smoothly connected),
・ Data to identify the side shape (surface type, inclination, etc.)
・ Data for identifying the top surface shape (type of surface, distance from bottom surface shape, etc.)
Ridge attribute data for which is set,
Thus, a contour shape serving as a reference for the bottom surface shape is generated.

底面形状の稜線データの設定においては、ある稜線を設定するときに既に設定された稜線のうちで隣接する稜線(第1の稜線と第2の稜線)がある場合に、これら第1の稜線と第2の稜線が接線連続であるか否かを判断し、接線連続であれば、ある稜線の属性データには隣接稜線の側面形状に関する属性データと同じ内容が自動的に設定され、さらに、2つの稜線を滑らかに繋げるためにコーナ部を形状変形するための丸み形状のデータが設定できないようにする。これにより、所望の加工領域形状に適した側面形状を容易に生成できる。   In the setting of the ridge line data of the bottom surface shape, when there are adjacent ridge lines (first ridge line and second ridge line) among the ridge lines already set when setting a certain ridge line, the first ridge line and It is determined whether or not the second ridge line is tangent continuous, and if it is tangent continuous, the attribute data of a certain ridge line is automatically set to the same content as the attribute data related to the side shape of the adjacent ridge line, and 2 In order to smoothly connect the two ridge lines, it is impossible to set round shape data for deforming the corner portion. Thereby, the side shape suitable for a desired processing region shape can be easily generated.

〈対話式操作処理部及び同一属性データの設定〉
底面形状のコーナ部の形状変形を全てのコーナ部に同じように適用したい場合には、対話式操作処理部121からの操作により、同一コーナ設定を例えばボタンにより選択すれば、底面形状を構成する全てのコーナ部に関連する稜線の属性データに反映される。また、側面形状の傾斜を全て同じにしたい場合には、同様にして対話式操作処理部121から同一傾き設定を選択すれば、底面形状を構成する稜線の属性データに反映される。これにより、所望の加工領域形状に適した側面形状をさらに容易に生成できる。
<Setting of interactive operation processing unit and same attribute data>
When it is desired to apply the same shape deformation of the bottom corner portion to all corner portions, the bottom corner shape is configured by selecting the same corner setting by, for example, a button by the operation from the interactive operation processing unit 121. It is reflected in the attribute data of the ridgeline related to all corner parts. Further, when it is desired to make all the slopes of the side faces the same, if the same slope setting is selected from the interactive operation processing unit 121 in the same manner, it is reflected in the attribute data of the ridge lines constituting the bottom face shape. Thereby, the side shape suitable for a desired processing region shape can be generated more easily.

〈表示装置及びアラームメッセージ〉
なお、これらのデータから特定される側面形状や上面形状が、以下に説明するような不正形状である場合には、表示処理部135により表示装置112に不正形状である旨のアラームメッセージや不正形状を回避するための適切な値が提示される。そのため、操作者は提示された内容に基づいて、入力を取りやめたり、適切な情報を入力し直したりすることができる。このデータ入力操作は、対話式操作処理部121を介して適切な情報となるまで反復可能とされている。
<Display device and alarm message>
In addition, when the side surface shape and the top surface shape specified from these data are illegal shapes as described below, the display processing unit 135 causes the display device 112 to display an alarm message or illegal shape. Appropriate values for avoiding are presented. Therefore, the operator can cancel input or input appropriate information again based on the presented contents. This data input operation can be repeated until appropriate information is obtained via the interactive operation processing unit 121.

〈不正形状〉
不正形状とは、生成される加工領域形状が幾何学的に矛盾していたり製品形状領域と干渉したりするなど実際に加工する加工形状として正しくないときのことを言い、例えば、側面形状の場合にあっては、側面形状に関する属性データとして、設定された面の種類や傾きにより生成されうる側面形状が、製品形状領域の内部と干渉するかどうかを判断する。そして、もし干渉する場合は実際に加工した際、削りすぎとなってしまう。このように形状が、加工形状として正しくないとき、不正形状と判断する。
<Illegal shape>
Illegal shape means when the generated machining area shape is geometrically contradictory or interferes with the product shape area, such as when it is not correct as the machining shape to be actually processed. In this case, it is determined whether or not the side surface shape that can be generated based on the set surface type or inclination as the attribute data related to the side surface shape interferes with the inside of the product shape region. And if it interferes, when it actually processes, it will cut too much. In this way, when the shape is not correct as the processed shape, it is determined as an incorrect shape.

〈側面形状生成処理部〉
側面形状生成処理部132は、関連する底面形状の稜線データとその属性データから側面形状を生成する。具体的には、稜線を含み、かつ、属性データに設定されている面の種類であり、傾斜角度が設定されている場合には、底面形状の法線ベクトルを基準にして傾斜角度だけ傾いた面を生成し、側面形状とする。さらに、関連する稜線データの属性に丸み形状データが設定されている場合には、隣接する稜線に関連する隣接側面との境界部分に円錐形状を挿入する。
<Side shape generation processing section>
The side surface shape generation processing unit 132 generates a side surface shape from the ridge line data of the related bottom surface shape and its attribute data. Specifically, it is the type of the surface that includes the ridge line and is set in the attribute data, and when the inclination angle is set, it is inclined by the inclination angle with respect to the normal vector of the bottom surface shape. A surface is generated to form a side surface. Further, when round shape data is set in the attribute of the related ridge line data, a conical shape is inserted at the boundary portion with the adjacent side surface related to the adjacent ridge line.

〈上面形状生成処理部〉
上面形状生成処理部133においても、関連する底面形状の稜線データとその属性データから上面形状を生成する。上面形状の生成においては、底面形状の稜線から構成される輪郭形状を含む面を基準として、設定されている種類の面であり、加工領域側(底面の法線ベクトルの正の向き)に、設定された位置に面を生成し、上面形状とする。
<Top shape generation processing unit>
The top surface shape generation processing unit 133 also generates a top surface shape from the ridge line data of the related bottom surface shape and its attribute data. In the generation of the top surface shape, it is a surface of the set type with reference to the surface including the contour shape composed of the ridge lines of the bottom surface shape, and on the processing region side (positive direction of the normal vector of the bottom surface) A surface is generated at the set position to obtain an upper surface shape.

〈加工領域形状生成処理部〉
加工領域形状生成処理部134においては、底面形状定義処理部131、側面形状生成処理部132、上面形状生成処理部133から得られた、底面形状、側面形状、上面形状データにより、加工領域形状を生成する。なお、本実施の形態において、上面形状生成処理部133は省略することができる。上面形状生成処理部133が省略された場合、加工領域形状生成処理部134は、上面形状データを得ることができない。このようなとき、加工領域形状生成処理部134は、上面形状生成処理部133に替わって、底面形状の稜線から構成される輪郭形状を含む面を基準として、加工領域側に、設定された距離だけ離れた面を生成し、上面形状とする。
<Processing area shape generation processing unit>
In the processing region shape generation processing unit 134, the processing region shape is determined based on the bottom surface shape, side surface shape, and top surface shape data obtained from the bottom surface shape definition processing unit 131, the side surface shape generation processing unit 132, and the top surface shape generation processing unit 133. Generate. In the present embodiment, the upper surface shape generation processing unit 133 can be omitted. When the upper surface shape generation processing unit 133 is omitted, the processing region shape generation processing unit 134 cannot obtain the upper surface shape data. In such a case, the processing region shape generation processing unit 134 replaces the upper surface shape generation processing unit 133 and sets the distance set on the processing region side with reference to the surface including the contour shape formed by the ridgeline of the bottom surface shape. A surface that is only a distance away from each other is generated to have a top shape.

上記のように、上記各処理部は、具体的には演算装置(CPU)によって動作する所定のプログラム動作により実現される。そして、特に加工領域定義部130を構成する、底面形状定義処理部131、側面形状生成処理部132、上面形状生成処理部133、及び加工領域形状生成処理部134は、プログラミング言語にて記載されたプログラムであり、これらプログラムは、自動プログラミング装置101を動作させるためのプログラムを構成している。   As described above, each of the processing units is specifically realized by a predetermined program operation that is operated by an arithmetic device (CPU). In particular, the bottom surface shape definition processing unit 131, the side surface shape generation processing unit 132, the top surface shape generation processing unit 133, and the processing region shape generation processing unit 134 that constitute the processing region definition unit 130 are described in a programming language. These programs constitute programs for operating the automatic programming apparatus 101.

〈NCプログラム生成部〉
一方、NCプログラム生成部140では、対話式操作処理部121より渡されたNCプログラム生成に関するデータと加工領域定義部130で定義された加工領域からNCプログラムを生成する。
<NC program generator>
On the other hand, the NC program generation unit 140 generates an NC program from the data related to NC program generation passed from the interactive operation processing unit 121 and the machining area defined by the machining area definition unit 130.

〈加工工程分割処理部〉
加工工程分割処理部141は、例えば、工作機械がメイン主軸とサブ主軸を有する場合に、メイン主軸で行う第1工程およびサブ主軸で行う第2工程のように主軸ごとに加工工程を分割し、メイン主軸のみを有する場合には、メイン主軸が把持する素材の箇所により工程を分割する。
<Processing process division processing section>
For example, when the machine tool has a main spindle and a sub spindle, the machining process division processing unit 141 divides the machining process for each spindle as in the first process performed on the main spindle and the second process performed on the sub spindle, In the case of having only the main spindle, the process is divided according to the location of the material gripped by the main spindle.

〈加工ユニット定義処理部〉
加工ユニット定義処理部142は、加工工程分割処理部141で定義された各加工工程に対して、加工モードと呼ばれる旋削加工、点加工、面加工、面取り加工などで構成される加工作業を連続的な加工が行われる加工単位(以下、加工ユニットという)に定義する。
<Machining unit definition processing section>
The processing unit definition processing unit 142 continuously performs processing operations including turning processing, point processing, surface processing, and chamfering processing, which are referred to as processing modes, for each processing step defined by the processing step division processing unit 141. It is defined as a processing unit (hereinafter, referred to as a processing unit) in which an appropriate processing is performed.

〈NCプログラム生成処理部〉
NCプログラム生成処理部143においては、加工ユニット定義処理部142で定義された各加工ユニットに対してNCプログラムを生成し、さらに必要ならばNC装置の動作がスムーズに行われるように生成したプログラムを編集する。
<NC program generation processing unit>
In the NC program generation processing unit 143, an NC program is generated for each processing unit defined by the processing unit definition processing unit 142, and if necessary, a program generated so that the operation of the NC apparatus can be performed smoothly. To edit.

〈稜線定義表〉
図2は、一例として示す製品形状の斜視図であり、直方体状の被工作物に対して図2中上方から概略四角錐台形状の穴を削る所謂ポケット形状の加工領域形状として、加工除去領域R10を定義する加工領域形状を例として説明する。本実施の形態では、加工領域形状の定義データを設定する際には表形式で行う。この表を本明細書では稜線定義表と呼ぶ。
<Ridge line definition table>
FIG. 2 is a perspective view of a product shape shown as an example, and a machining removal region as a so-called pocket-shaped machining region shape that cuts a substantially square frustum-shaped hole from above in FIG. 2 on a rectangular parallelepiped workpiece The machining area shape that defines R10 will be described as an example. In the present embodiment, the definition data of the machining area shape is set in a table format. This table is referred to as a ridge line definition table in this specification.

図3−1は、加工除去領域R10の底面形状を定義する稜線定義表の定義例を示す図である。図3−2は、図3−1の稜線定義表に定義された底面形状の詳細を示す図である。図3−1及び図3−2において、
・稜線定義表の1段目のデータが表す点(Px11、Py11、Z0)を点P11、
・稜線定義表の2段目のデータが表す点(Px12、Py12、Z0)を点P12、
・稜線定義表の3段目のデータが表す点(Px13、Py13、Z0)を点P13、
・稜線定義表の4段目のデータが表す点(Px14、Py14、Z0)を点P14、
・点P11と点P12からなる直線をE11、
・点P12と点P13からなる直線をE12、
・点P13と点P14からなる直線をE13、
・点P14と点P11からなる直線をE14、
・稜線E11に関連する側面形状を定義する面形状が平面であり、底面形状を含む平面の法線ベクトルに対する傾きの大きさがT11、同様に、
・稜線E12に関連する側面形状が平面であり傾きがT12、
・稜線E13に関連する側面形状が平面であり傾きがT13、
・稜線E14に関連する側面形状が平面であり傾きがT14、
であり、これら側面形状を定義する面形状のデータはそれぞれの稜線の属性データとして設定される。
FIG. 3A is a diagram illustrating a definition example of a ridge line definition table that defines the bottom shape of the processing removal region R10. FIG. 3B is a diagram illustrating details of the bottom surface shape defined in the ridge line definition table of FIG. 3A. In FIGS. 3-1 and 3-2,
A point (Px11, Py11, Z0) represented by the first stage data in the ridge line definition table is a point P11,
A point (Px12, Py12, Z0) represented by the second-stage data in the ridge line definition table is a point P12,
A point (Px13, Py13, Z0) represented by the data in the third row of the ridge line definition table is a point P13,
The point (Px14, Py14, Z0) represented by the fourth row data in the ridge line definition table is the point P14,
-A straight line consisting of points P11 and P12 is E11,
-A straight line consisting of points P12 and P13 is E12,
-A straight line consisting of points P13 and P14 is E13,
-A straight line consisting of point P14 and point P11 is E14,
The surface shape that defines the side surface shape related to the ridge line E11 is a plane, the magnitude of the inclination with respect to the normal vector of the plane including the bottom surface shape is T11,
-The side surface shape related to the ridge line E12 is a plane and the inclination is T12,
-The side surface shape related to the ridge line E13 is a plane and the inclination is T13,
-The side surface shape related to the ridge line E14 is a plane and the inclination is T14.
The surface shape data defining these side surface shapes is set as attribute data of each ridge line.

図4は、底面形状を含む平面SB1に対して傾きがT11である側面SS11を表した図である。図5は底面形状を含む平面SB1に対して平行、かつ加工領域側(底面の法線ベクトルの正の向き)にL0の距離だけ離れた位置にある、面の種類が平面であるような上面形状ST1の説明図であり、さらに、斜線部分の領域は、本例での加工除去領域R10に相当する加工領域形状に相当する。図5に矢印で示す取り代L0は加工深さ方向及び加工深さの大きさを示し、底面形状に対する上面形状の位置により定義され、図5の例では底面形状と上面形状の距離に相当し、上面形状を定義する面形状のデータとして稜線の属性データに含まれる。   FIG. 4 is a diagram illustrating the side surface SS11 having an inclination T11 with respect to the plane SB1 including the bottom surface shape. FIG. 5 shows a top surface whose surface type is a plane parallel to the plane SB1 including the bottom surface shape and located at a distance of L0 on the processing region side (positive direction of the normal vector of the bottom surface). It is explanatory drawing of shape ST1, and also the area | region of a shaded part is corresponded to the process area | region shape corresponded to process removal area | region R10 in this example. The machining allowance L0 indicated by an arrow in FIG. 5 indicates the machining depth direction and the machining depth, and is defined by the position of the top surface shape with respect to the bottom surface shape, and corresponds to the distance between the bottom surface shape and the top surface shape in the example of FIG. The edge shape attribute data is included as surface shape data defining the upper surface shape.

〈自動的に設定される側面形状に関する属性データ〉
図6は、側面形状に関する属性データが装置により自動的に設定される様子を説明する図であり、そのうち、図6−1は、稜線E41に対して次の稜線E42が接線連続である一例を示す図である。図6−2は、稜線E41に対して次の稜線E42が接線連続である他の例を示す図である。図6−3は、稜線E41と稜線E42の属性データの稜線定義表を示す図である。図6−4は、同一Rチェックボタンの正面図である。
<Attribute data related to automatically set side shape>
FIG. 6 is a diagram for explaining how the attribute data related to the side surface shape is automatically set by the apparatus. FIG. 6A is an example in which the next ridge line E42 is tangent continuous with respect to the ridge line E41. FIG. FIG. 6B is a diagram illustrating another example in which the next ridge line E42 is tangential to the ridge line E41. FIG. 6C is a diagram of a ridge line definition table of attribute data of the ridge line E41 and the ridge line E42. FIG. 6-4 is a front view of the same R check button.

所望の加工領域形状が隣接する側面形状の境界部分に丸みがついているような場合は、図6−3に示すように、表中のCNR列である底面形状を構成する形状要素のコーナ部の丸み・面取り設定欄により丸み設定を行う。また、全てのコーナ部に同じ大きさの丸みをつけたい場合には、図6−4に示す同一Rチェックボタンを操作することにより、同一Rチェック欄をONにすれば、表中の1段目の形状要素データの丸み設定欄に設定されているRの大きさが全ての形状要素の丸み設定欄に反映される。   When the desired processing region shape is rounded at the boundary portion of the adjacent side surface shape, as shown in FIG. 6-3, the corner portion of the shape element that constitutes the bottom surface shape that is the CNR row in the table is used. Set the roundness in the rounding / chamfer setting field. If you want to round all corners to the same size, operate the same R check button shown in FIG. The size of R set in the round setting column of the eye shape element data is reflected in the rounding setting column of all the shape elements.

所望の加工領域形状の側面形状の傾きを設定するさいには、表中の所定の属性情報として側面形状の傾き設定欄により傾き設定を行うが、全ての側面形状において同じ傾きを設定したい場合には、図6−4に示す同一Rチェックボタンと同種の同一傾きチェックボタン(図示せず)を操作することにより、同一傾きチェック欄をONにすれば、表中の1段目の形状要素データの傾き設定欄に設定されている傾きの大きさが全ての形状要素データの傾き設定欄に反映される。   When setting the inclination of the side surface shape of the desired machining area shape, the inclination setting is made by the side surface shape inclination setting field as the predetermined attribute information in the table, but when the same inclination is to be set for all the side surface shapes If the same inclination check column is turned ON by operating the same inclination check button (not shown) of the same type as the same R check button shown in FIG. 6-4, the first-stage shape element data in the table The tilt size set in the tilt setting field is reflected in the tilt setting fields of all the shape element data.

〈隣接する稜線の接線連続〉
さらに、図6−1及び図6−2の例に示すように、底面形状を構成する稜線を定義する際に、ひとつ前に定義した稜線E41に対して隣接する次の稜線E42が接線連続であるか否かを判断する。稜線E41に対して次の稜線E42が接線連続であるか否かは、例えば、稜線E41と稜線E42との交点における稜線E41、稜線E42の接線が一致すれば稜線E41と稜線E42は接線連続であるとする判断する。
<Continuous tangent of adjacent ridgeline>
Furthermore, as shown in the example of FIGS. 6A and 6B, when defining the ridge line constituting the bottom surface shape, the next ridge line E42 adjacent to the previously defined ridge line E41 is tangent continuous. Judge whether there is. Whether the next ridge line E42 is tangent continuous with respect to the ridge line E41, for example, if the tangent line E41 at the intersection of the ridge line E41 and the ridge line E42 coincides with the tangent line E42, the ridge line E41 and the ridge line E42 are tangent continuous. Judge that there is.

稜線E41と稜線E42とが接線連続である場合には、稜線E41、稜線E42に関連する側面形状どうしも滑らかに繋がることが好ましく、そのためにはそれぞれの側面形状の面の傾きが同じになるのが望ましい。よって、稜線定義表中で稜線E41の属性データとしてTPR列である側面形状の傾き設定欄に傾きT41が設定されているならば、次の稜線である稜線E42の設定では、傾き設定欄には自動的にT41が設定される。   When the ridge line E41 and the ridge line E42 are tangent continuous, it is preferable that the side surface shapes related to the ridge line E41 and the ridge line E42 are smoothly connected to each other. Is desirable. Therefore, if the tilt T41 is set in the side surface shape tilt setting field that is the TPR row as the attribute data of the ridge line E41 in the ridge line definition table, in the setting of the ridge line E42 that is the next ridge line, the tilt setting field T41 is automatically set.

〈隣接する稜線間のコーナ部を滑らかにするために形状修正〉
図7−1は、側面形状に関する属性データを設定する様子を説明するための図であり、特に隣接する稜線間のコーナ部を滑らかにするために形状修正を行う様子を説明するための図である。図7−2は、図7−1に示す稜線の稜線定義表を示す図である。図7−3は、形状判定ボタンの正面図である。
<Shape correction to smooth corners between adjacent ridgelines>
FIG. 7A is a diagram for explaining a state in which attribute data relating to a side surface shape is set. In particular, FIG. 7-1 is a diagram for explaining a state in which shape correction is performed to smooth a corner portion between adjacent ridge lines. is there. FIG. 7B is a diagram illustrating a ridge line definition table of the ridge lines illustrated in FIG. FIG. 7C is a front view of the shape determination button.

ここでは、隣接する稜線間のコーナ部を滑らかにするために形状修正を行う動作について説明する。底面形状を構成する稜線を稜線定義表から定義する際に、隣接する稜線E51と稜線E52が接線連続であるか否かを例えば前述の方法で判断する。稜線E51と稜線E52と接線連続であるか否かの判定は、例えば操作者が図7−3に示す形状判定ボタンを押すことにより実行される。   Here, an operation for correcting the shape in order to smooth the corner portion between adjacent ridge lines will be described. When defining the ridge line constituting the bottom shape from the ridge line definition table, whether or not the adjacent ridge line E51 and the ridge line E52 are tangent continuous is determined by the above-described method, for example. The determination as to whether the ridge line E51 and the ridge line E52 are tangent continuous is executed, for example, when the operator presses a shape determination button shown in FIG.

図7−1の例に示すように、稜線E51と稜線E52が滑らかでない場合に丸み形状を挿入できるようにされている。具体的には、図7−2に示す稜線定義表のCNR列の該当するコーナ部の丸みデータ設定欄に、丸みデータであるRの半径値を設定する。   As illustrated in the example of FIG. 7A, when the ridgeline E51 and the ridgeline E52 are not smooth, a round shape can be inserted. Specifically, the radius value of R, which is round data, is set in the round data setting field of the corresponding corner portion of the CNR column of the ridge line definition table shown in FIG.

なお、図6の例に示すように、稜線E41と稜線E42が滑らかである場合には、丸み形状を施す必要がないので、稜線定義表のCNR列の該当するコーナ部の丸みデータ設定欄に対して、値を設定できないようにする。このとき、既に設定されている場合には、アラームメッセージを表示して操作者に修正を促す。   As shown in the example of FIG. 6, when the ridge line E41 and the ridge line E42 are smooth, it is not necessary to apply a round shape. Therefore, in the round data setting column of the corresponding corner portion of the CNR column of the ridge line definition table. On the other hand, the value cannot be set. At this time, if already set, an alarm message is displayed to prompt the operator to correct it.

〈不正形状によるアラームメッセージ〉
図8は、不正形状を説明するための縦断面図である。図9−1は、図8に示す不正形状の稜線定義表である。図9−2は、表示装置の画面にアラーム表示する様子を示す図である。底面形状を構成する稜線を定義する際に、属性データの傾きによって側面形状を定義するが、図8の例に示すように、設定された傾きの大きさT61によっては側面形状SS61が製品形状R61の内部に入り込んだ所謂削りすぎと呼ばれるような加工となってしまう加工領域形状となる場合がある。
<Alarm message due to illegal shape>
FIG. 8 is a longitudinal sectional view for explaining an irregular shape. FIG. 9A is an irregularly shaped ridge line definition table shown in FIG. FIG. 9B is a diagram illustrating a state where an alarm is displayed on the screen of the display device. When defining the ridgeline that forms the bottom surface shape, the side surface shape is defined by the inclination of the attribute data. As shown in the example of FIG. 8, the side surface shape SS61 may be the product shape R61 depending on the set inclination size T61. In some cases, the shape of the processed region is a so-called overcutting process that enters the inside of the machine.

このような不適切な加工領域形状を生成しないようにするために、図9−1に示す稜線定義表の稜線の属性データとしてTPR列である側面形状の傾き設定欄に設定された傾きが、製品形状と干渉するような側面形状を生成するような場合には、図9−2に示すように、表示装置の画面にアラームメッセージを表示して操作者に修正を促したり、干渉しない傾き値の範囲をガイド値として表示したりする。これにより、不正形状や矛盾を含む形状の生成を未然に防ぐことができ、適切な形状を生成するための適切な値がガイド値として示されるので、操作者の負荷も軽減される。   In order not to generate such an inappropriate machining area shape, the inclination set in the side surface shape inclination setting field as the TPR row as the edge line attribute data of the edge line definition table shown in FIG. When generating a side shape that interferes with the product shape, as shown in FIG. 9-2, an alarm message is displayed on the screen of the display device to urge the operator to correct, or an inclination value that does not interfere Or display the range as a guide value. As a result, generation of shapes including illegal shapes and inconsistencies can be prevented in advance, and an appropriate value for generating an appropriate shape is indicated as a guide value, so that the burden on the operator is reduced.

なお、隣接する稜線が接線連続であるか否かという判断や、稜線に関連する側面形状が製品形状と干渉するか否かという判断するタイミングは、稜線定義表に値が設定されるタイミング毎に判断してもよいし、或いはまた、稜線定義表への設定が全て完了したタイミングで形状全体に関して判断してもよい。   Note that the timing for judging whether adjacent ridge lines are tangent continuous and whether the side surface shape related to the ridge line interferes with the product shape is the timing at which each value is set in the ridge line definition table. Alternatively, the entire shape may be determined at the timing when all the settings in the ridge line definition table are completed.

以上のように、本実施の形態の自動プログラミング装置によれば、底面形状だけでなく側面形状や上面形状の形状幾何データを定義できることから、従来の加工領域形状として生成される押出し形状のように指定経路に垂直な断面が同じとなるような形状以外の形状も容易に定義することができ、これにより、所望の加工に適した多様な形状を加工領域形状として定義できる。   As described above, according to the automatic programming device of the present embodiment, not only the bottom surface shape but also the shape geometric data of the side surface shape and the top surface shape can be defined. Shapes other than those having the same cross section perpendicular to the designated path can be easily defined, and various shapes suitable for desired machining can be defined as machining region shapes.

そのため、従来の課題であった、同一寸法の丸み付け円弧または面取り形状を挿入するコーナ部形状の挿入操作に多大の時間を要するという問題点や、その問題を解決する例えば特許文献1に記載された方法における問題点、すなわち、事前に所望の輪郭形状を特定するための形状を定義し、そのパートプログラムを作成したうえで改めて所望の輪郭形状を定義しなければならないという問題点を解消することができる。さらには、従来の課題であった、コーナ部形状の挿入操作に、タブレット装置が必要という問題点も解消することができる。   For this reason, it is described in, for example, Patent Document 1 that solves the problem that a long time is required for the corner portion shape insertion operation for inserting the rounded arc or chamfered shape of the same size, which has been a conventional problem. To solve the problem of having to define the desired contour shape again after creating the part program after defining the shape to identify the desired contour shape in advance. Can do. Furthermore, the problem that the tablet device is required for the corner portion shape insertion operation, which has been a conventional problem, can be solved.

また、本実施の形態の自動プログラミング装置によれば、底面形状と関連して側面形状や上面形状が特定されることから、定義する加工領域形状における底面形状と側面形状や上面形状の関係を特定するデータを別に持つ必要がないという特徴や、側面形状や上面形状の定義データとして底面形状のデータを利用することができるという特徴により、より少ない情報で加工領域形状を容易に定義できる、といった従来にない効果を得ることができる。   Further, according to the automatic programming device of the present embodiment, the side surface shape and the top surface shape are specified in relation to the bottom surface shape, so the relationship between the bottom surface shape, the side surface shape, and the top surface shape in the machining area shape to be defined is specified. Conventionally, the shape of the machining area can be easily defined with less information due to the fact that there is no need to have separate data and the feature that the bottom shape data can be used as the definition data for the side and top shapes. An effect that is not present can be obtained.

さらには、底面形状定義処理部は、底面形状に関連した側面形状として、底面形状のそれぞれの稜線に対して、側面形状を特定するに必要なデータをこの稜線の属性データとして定義する際に、底面形状を含む平面を基準とした側面形状の傾斜角度を属性データの一つとするので、傾斜角度を属性データとして含む側面形状を定義することができる。   Furthermore, the bottom surface shape definition processing unit defines, as attribute data of the ridge line, data necessary for specifying the side surface shape for each ridge line of the bottom surface shape as a side surface shape related to the bottom surface shape. Since the inclination angle of the side surface shape based on the plane including the bottom surface shape is one of the attribute data, the side surface shape including the inclination angle as the attribute data can be defined.

また、側面形状の面の種類も属性データの一つとするので、面の種類を属性データとして含む側面形状を定義することができ、さらにまた、底面形状の稜線を側面形状が共有するか否かを表す識別子も属性データの一つとするので、稜線を側面形状が共有するか否かを属性データとして定義することができ、これら属性データの定義により、さらに少ない情報で加工領域形状を容易に定義できる。さらに、底面形状の稜線の属性データとして、それらの稜線に関連した上面形状を特定するデータを加えてもよく、底面形状、側面形状に加えて、上面形状も定義することにより、加工領域形状をさらに詳細に定義できる。   In addition, since the type of the surface of the side surface shape is one of the attribute data, it is possible to define a side surface shape including the surface type as the attribute data, and whether or not the side surface shape shares the ridge line of the bottom surface shape. Since the identifier that represents is one of the attribute data, it can be defined as attribute data whether or not the side shape is shared by the edge shape, and by defining these attribute data, the machining area shape can be easily defined with less information it can. Furthermore, as the attribute data of the ridgeline of the bottom surface shape, data for specifying the top surface shape related to the ridgeline may be added. More detailed definition.

実施の形態2.
図10−1は、実施の形態2の製品形状及びその加工領域形状を示す斜視図である。図10−2は、図10−1の加工領域形状を含む部分の断面図である。上記実施の形態1の例で示したポケット形状のような場合は、実際の加工除去領域の側面部分は製品形状に囲まれているため、加工領域形状が加工除去領域よりも大きくなると製品形状と干渉することとなる。そのため、加工領域形状の側面部分は、加工除去領域の側面(内面)部分と一致する場合が多い。
Embodiment 2. FIG.
FIG. 10A is a perspective view illustrating a product shape and a processing region shape according to the second embodiment. FIG. 10-2 is a cross-sectional view of a part including the shape of the processing region of FIG. 10-1. In the case of the pocket shape shown in the example of the first embodiment, since the side surface portion of the actual processing removal region is surrounded by the product shape, if the processing region shape becomes larger than the processing removal region, the product shape Will interfere. For this reason, the side surface portion of the processing region shape often coincides with the side surface (inner surface) portion of the processing removal region.

しかしながら、図10−1、図10−2の例に示すような製品形状の場合には、底面形状BS8を構成する稜線E81〜E84のうち、稜線E81に関連する側面形状SS81のみ製品形状に囲まれているため、この側面形状SS81と製品形状との干渉のみを確認すればよい。そして、加工領域形状を定義するための底面形状SB8、及び側面形状SS81〜SS84は、図10−1、図10−2の例に示すように定義してもよい。   However, in the case of the product shape shown in the example of FIGS. 10-1 and 10-2, only the side surface shape SS81 related to the ridge line E81 is surrounded by the product shape among the ridge lines E81 to E84 constituting the bottom surface shape BS8. Therefore, it is only necessary to confirm the interference between the side surface shape SS81 and the product shape. Then, the bottom surface shape SB8 and the side surface shapes SS81 to SS84 for defining the processing region shape may be defined as shown in the examples of FIGS. 10-1 and 10-2.

このような構成の自動プログラミング装置によれば、さらに多様な加工領域形状を定義することができるとともに、不要な部分の干渉の確認を容易に削減することができ、演算部の負荷を容易に軽減することができる。   According to the automatic programming device having such a configuration, it is possible to define a wider variety of machining area shapes, to easily reduce interference confirmation of unnecessary portions, and to easily reduce the load on the arithmetic unit. can do.

実施の形態3.
上記実施の形態1にて説明したように、上面形状生成処理部は省略可能である。このような、上面形状生成処理部を備えていない自動プログラミング装置の場合においては、図1の構成において、加工領域形状生成処理部134は上面形状生成処理部133に替わって、底面形状の稜線から構成される輪郭形状を含む面を基準として、加工領域側に向けて、設定された距離(加工深さだけ離れた距離)だけ離れた平面を生成し、上面形状とする。このような構成の自動プログラミング装置によれば、上面形状生成処理部を備えていないものにおいても、問題なく上面形状を定義することができ、そのような装置においても多様な加工領域形状を定義することができるとともに、不要な部分の干渉の確認を容易に削減することができる。
Embodiment 3 FIG.
As described in the first embodiment, the upper surface shape generation processing unit can be omitted. In the case of such an automatic programming apparatus that does not include the top surface shape generation processing unit, in the configuration of FIG. 1, the machining area shape generation processing unit 134 replaces the top surface shape generation processing unit 133 from the ridge line of the bottom surface shape. A plane that is separated by a set distance (distance that is separated by the machining depth) is generated toward the machining area side with respect to the surface that includes the configured contour shape, and is defined as the upper surface shape. According to the automatic programming device having such a configuration, it is possible to define the upper surface shape without any problem even if the upper surface shape generation processing unit is not provided, and even in such an apparatus, various processing region shapes can be defined. In addition, it is possible to easily check for unnecessary interference.

なお、本発明は、上述の実施の形態に限定されるものではなく、その要旨を逸脱しない範囲で、各構成要素を変形して具体化できる。また、上述の実施の形態に開示されている複数の構成要素の適宜な組み合せにより種々の発明を構成できる。例えば、上述の実施の形態に開示される全構成要素から幾つかの構成要素を削除してもよいし、異なる実施の形態の構成要素を適宜組み合わせてもよい。   In addition, this invention is not limited to the above-mentioned embodiment, In the range which does not deviate from the summary, each component can be changed and embodied. Various inventions can be configured by appropriately combining a plurality of constituent elements disclosed in the above-described embodiments. For example, some constituent elements may be deleted from all the constituent elements disclosed in the above-described embodiments, or constituent elements of different embodiments may be appropriately combined.

さらなる効果や変形例は、当業者によって容易に導き出すことができる。よって、本発明のより広範な態様は、以上のように表わしかつ記述した特定の詳細および代表的な実施形態に限定されるものではない。したがって、添付のクレームおよびその均等物によって定義される総括的な発明の概念の精神または範囲から逸脱することなく、様々な変更が可能である。   Further effects and modifications can be easily derived by those skilled in the art. Thus, the broader aspects of the present invention are not limited to the specific details and representative embodiments shown and described above. Accordingly, various modifications can be made without departing from the spirit or scope of the general inventive concept as defined by the appended claims and their equivalents.

以上のように、本発明にかかる自動プログラミング装置は、NC工作機械の動作を制御するNC自動プログラムを生成するための自動プログラミング装置に有用であり、特により少ない情報量で多様な加工領域形状を定義することが要求される自動プログラミング装置に適用して好適なものである。   As described above, the automatic programming apparatus according to the present invention is useful for an automatic programming apparatus for generating an NC automatic program for controlling the operation of an NC machine tool, and in particular, various machining area shapes with a smaller amount of information. It is suitable for application to an automatic programming device that is required to be defined.

101 自動プログラミング装置
102 NC装置
111 入力装置
112 表示装置
121 対話式操作処理部
130 加工領域定義部
131 底面形状定義処理部
132 側面形状生成処理部
133 上面形状生成処理部
134 加工領域形状生成処理部
135 表示処理部
140 NCプログラム生成部
141 加工工程分割処理部
142 加工ユニット定義処理部
143 NCプログラム生成処理部
151 NCプログラム解析処理部
R10 加工除去領域
E11〜E14 底面形状を定義する稜線
P11〜P14 稜線E11〜E14を定義する点
T11〜T14 稜線E11〜E14に関連する側面形状の傾き
SS11〜SS14 稜線E11〜E14に関連する側面形状
SB1 底面形状を含む平面
SS1 底面形状に関連する上面形状
L0 加工深さ
E41、E42 底面形状を定義する稜線
T41 稜線E41に関連する側面形状の傾き
E51、E52 底面形状を定義する稜線
E53 接線連続でないE51、E52のコーナ部についた丸み形状
E81〜E84 底面形状を定義する稜線
SS81〜SS84 稜線E81〜E84に関連する側面形状
DESCRIPTION OF SYMBOLS 101 Automatic programming apparatus 102 NC apparatus 111 Input apparatus 112 Display apparatus 121 Interactive operation processing part 130 Machining area definition part 131 Bottom surface shape definition processing part 132 Side surface shape generation processing part 133 Upper surface shape generation processing part 134 Machining area shape generation processing part 135 Display processing unit 140 NC program generation unit 141 Machining process division processing unit 142 Machining unit definition processing unit 143 NC program generation processing unit 151 NC program analysis processing unit R10 Machining removal area E11 to E14 Ridge lines defining bottom shape P11 to P14 Ridge line E11 Points to define E14 T11 to T14 Inclination of side surface shape related to edge line E11 to E14 SS11 to SS14 Side surface shape related to edge line E11 to E14 SB1 Plane surface including bottom surface shape SS1 Top surface shape related to bottom surface shape L0 Work depth E41, E42 Ridge line defining bottom face shape T41 Inclination of side face shape related to ridge line E41 E51, E52 Ridge line defining bottom face shape E53 Round shape at corners of E51, E52 that are not tangent continuous E81-E84 Bottom face shape Ridgeline SS81-SS84 Side surface shape related to ridgelines E81-E84

Claims (10)

NC自動プログラムを生成する自動プログラミング装置において、
データを取り込む入力装置と、
データを記憶する記憶装置と、
前記記憶装置に記憶された底面形状の輪郭を構成する一連の稜線の稜線データ、及び該稜線に関連した側面形状を特定する稜線の属性データにより、底面形状を定義する底面形状定義処理部、
前記底面形状の稜線データ及び属性データとから特定される面を側面形状として生成する側面形状生成処理部、及び
前記底面形状定義処理部により定義された底面形状、及び前記側面形状生成処理部により生成された側面形状に基づいて加工領域形状を生成して前記記憶装置に記憶する加工領域形状生成処理部を含む加工領域定義部と、を備えた
ことを特徴とする自動プログラミング装置。
In an automatic programming device that generates NC automatic programs,
An input device for capturing data;
A storage device for storing data;
A bottom surface shape definition processing unit that defines a bottom surface shape based on ridge line data of a series of ridge lines constituting a contour of a bottom surface shape stored in the storage device, and attribute data of a ridge line that specifies a side surface shape related to the ridge line,
A side surface shape generation processing unit that generates a surface specified from the ridge line data and attribute data of the bottom surface shape as a side surface shape, a bottom surface shape defined by the bottom surface shape definition processing unit, and a side surface shape generation processing unit An automatic programming device comprising: a processing region definition unit including a processing region shape generation processing unit that generates a processing region shape based on the formed side surface shape and stores the processing region shape in the storage device.
前記底面形状定義処理部は、底面形状に関連した側面形状として、底面形状のそれぞれの稜線に対して、該稜線を含む側面形状を特定するに必要なデータを該稜線の属性データとして定義し、
前記側面形状生成処理部は、底面形状のそれぞれの稜線データに対して、該稜線を含み、かつ該稜線の属性データから特定される面を生成して側面形状とする、
ことを特徴とする請求項1に記載の自動プログラミング装置。
The bottom surface shape definition processing unit defines, as the side surface shape related to the bottom surface shape, for each ridge line of the bottom surface shape, data necessary for specifying the side surface shape including the ridge line as attribute data of the ridge line,
The side surface shape generation processing unit generates, for each ridge line data of the bottom surface shape, a surface that includes the ridge line and is specified from the attribute data of the ridge line to form a side surface shape.
The automatic programming device according to claim 1, wherein:
前記底面形状定義処理部は、底面形状に関連した側面形状として、底面形状のそれぞれの稜線に対して、側面形状を特定するに必要なデータを該稜線の属性データとして定義する際に、底面形状を含む平面を基準とした側面形状の傾斜角度を属性データの一つとすることを特徴とする請求項2に記載の自動プログラミング装置。   The bottom surface shape definition processing unit defines a bottom surface shape when defining data necessary for specifying a side surface shape as attribute data of the ridge line for each ridge line of the bottom surface shape as a side surface shape related to the bottom surface shape. The automatic programming device according to claim 2, wherein one of the attribute data is an inclination angle of a side surface shape with respect to a plane including. 前記底面形状定義処理部は、底面形状に関連した側面形状として、底面形状のそれぞれの稜線に対して、側面形状を特定するに必要なデータを該稜線の属性データとして定義する際に、側面形状の面の種類を属性データの一つとする
ことを特徴とする請求項2に記載の自動プログラミング装置。
The bottom surface shape definition processing unit defines a side surface shape when defining data necessary for specifying a side surface shape as attribute data of the ridge line for each ridge line of the bottom surface shape as a side surface shape related to the bottom surface shape. The automatic programming device according to claim 2, wherein the type of the plane is one of the attribute data.
前記底面形状定義処理部は、底面形状に関連した側面形状として、底面形状のそれぞれの稜線に対して、側面形状を特定するに必要なデータを該稜線の属性データとして定義する際に、底面形状の稜線を側面形状が共有するか否かの識別子を属性データの一つとすることを特徴とする請求項2に記載の自動プログラミング装置。   The bottom surface shape definition processing unit defines a bottom surface shape when defining data necessary for specifying a side surface shape as attribute data of the ridge line for each ridge line of the bottom surface shape as a side surface shape related to the bottom surface shape. The automatic programming apparatus according to claim 2, wherein an identifier as to whether or not the side surface shape is shared by the side shape is one of the attribute data. 前記底面形状定義処理部は、底面形状に関連した側面形状として、底面形状のそれぞれの稜線に対して、側面形状を特定するに必要なデータを該稜線の属性データとして定義する際に、第1の稜線と該第1の稜線に隣接する第2の稜線が滑らかに繋がる場合に、前記第1の稜線及び第2の稜線に各々対応する側面形状どうしも滑らかに繋がるように属性データを自動的に定義する
ことを特徴とする請求項2に記載の自動プログラミング装置。
The bottom surface shape definition processing unit first defines the data necessary for specifying the side surface shape as attribute data of the ridge line for each ridge line of the bottom surface shape as the side surface shape related to the bottom surface shape. If the second ridge line adjacent to the first ridge line and the second ridge line adjacent to the first ridge line are smoothly connected, the attribute data is automatically connected so that the side surface shapes respectively corresponding to the first ridge line and the second ridge line are smoothly connected. The automatic programming device according to claim 2, wherein the automatic programming device is defined as follows.
前記底面形状定義処理部は、底面形状に関連した側面形状として、底面形状のそれぞれの稜線に対して、側面形状を特定するに必要なデータを該稜線の属性データとして定義する際に、第1の稜線と該第1の稜線に隣接する第2の稜線が滑らかに繋がる場合に、前記第1の稜線及び第2の稜線に各々対応する側面形状どうしが滑らかに繋がるように形状を変形するために必要な属性データを定義できるようにされている
ことを特徴とする請求項2に記載の自動プログラミング装置。
The bottom surface shape definition processing unit first defines the data necessary for specifying the side surface shape as attribute data of the ridge line for each ridge line of the bottom surface shape as the side surface shape related to the bottom surface shape. When the second ridge line adjacent to the first ridge line is smoothly connected, the shape is deformed so that the side surfaces corresponding to the first ridge line and the second ridge line are smoothly connected to each other. The automatic programming device according to claim 2, wherein the attribute data required for the device can be defined.
前記加工領域定義部は、前記底面形状の稜線データ及び属性データとから特定される面を上面形状として生成する上面形状生成処理部をさらに含み、
前記加工領域形状生成処理部は、前記底面形状定義処理部により定義された底面形状、前記側面形状生成処理部により生成された側面形状、及び前記上面形状生成処理部により生成された上面形状に基づいて前記加工領域形状を生成する
ことを特徴とする請求項1から7のいずれか1項に記載の自動プログラミング装置。
The processing region definition unit further includes an upper surface shape generation processing unit that generates a surface specified from the ridge line data and attribute data of the bottom surface shape as an upper surface shape,
The processing region shape generation processing unit is based on the bottom surface shape defined by the bottom surface shape definition processing unit, the side surface shape generated by the side surface shape generation processing unit, and the top surface shape generated by the top surface shape generation processing unit. The automatic programming device according to claim 1, wherein the machining area shape is generated.
表示装置と、
データを設定することにより、形状が不正となったり他のデータとの関連性に矛盾が生じたりする場合に、表示装置にアラームメッセージを表示したり、不正形状や矛盾を含む形状が生じないための適切な値の範囲を表示したりする表示処理部と、をさらに備えた
ことを特徴とする請求項1から8のいずれか1項に記載の自動プログラミング装置。
A display device;
By setting data, when the shape becomes illegal or there is a contradiction in the relevance with other data, an alarm message is displayed on the display device, or a shape containing an incorrect shape or inconsistency does not occur. The automatic programming device according to claim 1, further comprising: a display processing unit that displays an appropriate value range.
請求項1から9のいずれか1項に記載の自動プログラミング装置を動作させる動作プログラム。   The operation program which operates the automatic programming apparatus of any one of Claim 1 to 9.
JP2009113727A 2009-05-08 2009-05-08 Automatic programming device and operation program for the same Pending JP2010262528A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2009113727A JP2010262528A (en) 2009-05-08 2009-05-08 Automatic programming device and operation program for the same

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2009113727A JP2010262528A (en) 2009-05-08 2009-05-08 Automatic programming device and operation program for the same

Publications (1)

Publication Number Publication Date
JP2010262528A true JP2010262528A (en) 2010-11-18

Family

ID=43360529

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2009113727A Pending JP2010262528A (en) 2009-05-08 2009-05-08 Automatic programming device and operation program for the same

Country Status (1)

Country Link
JP (1) JP2010262528A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5289644B1 (en) * 2012-10-31 2013-09-11 三菱電機株式会社 Automatic programming apparatus and method

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS60211506A (en) * 1984-04-06 1985-10-23 Mitsubishi Electric Corp Automatic programming device
JP2002351517A (en) * 2001-05-25 2002-12-06 Toshiba Corp Method for expressing groove, method and device for selecting working method, method and device for preparing nc working program for groove cutting, program for preparing nc working program and storage medium
JP2003022285A (en) * 2001-07-10 2003-01-24 Honda Motor Co Ltd Computer-aided product designing device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS60211506A (en) * 1984-04-06 1985-10-23 Mitsubishi Electric Corp Automatic programming device
JP2002351517A (en) * 2001-05-25 2002-12-06 Toshiba Corp Method for expressing groove, method and device for selecting working method, method and device for preparing nc working program for groove cutting, program for preparing nc working program and storage medium
JP2003022285A (en) * 2001-07-10 2003-01-24 Honda Motor Co Ltd Computer-aided product designing device

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5289644B1 (en) * 2012-10-31 2013-09-11 三菱電機株式会社 Automatic programming apparatus and method
WO2014068715A1 (en) * 2012-10-31 2014-05-08 三菱電機株式会社 Automatic programming device and method
CN104755225A (en) * 2012-10-31 2015-07-01 三菱电机株式会社 Automatic programming device and method
DE112012006923B4 (en) * 2012-10-31 2016-03-17 Mitsubishi Electric Corporation Automatic programming device and method
US9411331B2 (en) 2012-10-31 2016-08-09 Mitsubishi Electric Corporation Automatic programming device and method
CN104755225B (en) * 2012-10-31 2016-08-31 三菱电机株式会社 Automatic programming unit and method

Similar Documents

Publication Publication Date Title
US5115400A (en) Cad/cam apparatus
TWI323834B (en)
EP0258897A2 (en) Method and system for automatically generating tool path data for automatic machining center
US8332067B2 (en) Device and method for processing a robot control program
EP0303705A1 (en) Method of entering profile information
US10437229B2 (en) Numerical controller
US6920620B2 (en) Method and system for creating test component layouts
US6957123B2 (en) Automatic programming apparatus
JP2010262528A (en) Automatic programming device and operation program for the same
JP5241917B2 (en) Control device for Die-sinker EDM
JPH07311612A (en) Method and device for editing machining program of numerical controller
JP7290452B2 (en) Grinding program generation device and grinding program generation method
US20060140474A1 (en) Apparatus and method for generating analysis data, computer-readable recording medium in which analysis data generating program is stored, analysis apparatus, analyzing method and computer-readable recording medium in which analysis program is stored
JP5037895B2 (en) Electric discharge machining apparatus and electric discharge machining method
US5063517A (en) Profile revising method
JP2007061935A (en) Machining path data generating method and machining path generating program of tool
JP4747632B2 (en) 3D CAD modeling method, program and apparatus for mixing feature-based parametric modeling and direct modeling
JPS61198305A (en) Program generating device for numerically controlled machine tool
JP3925506B2 (en) CAD / CAM equipment
JPH09311857A (en) Document composing method, electronic composing device and recording medium
JP2010272027A (en) Numerical control program creating device, numerical control program creating method and numerical control program creating program
CN116136920A (en) Automatic chamfering method and device
US6925353B2 (en) Method and device for machining contoured recesses, utilizing a graphical user interface for defining contour expressions
JP2006113846A (en) Information processor and processing method
JPH06250722A (en) Interactive numerical controller

Legal Events

Date Code Title Description
A621 Written request for application examination

Effective date: 20110928

Free format text: JAPANESE INTERMEDIATE CODE: A621

A977 Report on retrieval

Effective date: 20121109

Free format text: JAPANESE INTERMEDIATE CODE: A971007

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20121204

A02 Decision of refusal

Effective date: 20130402

Free format text: JAPANESE INTERMEDIATE CODE: A02