JP5734228B2 - Automatic programming apparatus and method - Google Patents

Automatic programming apparatus and method Download PDF

Info

Publication number
JP5734228B2
JP5734228B2 JP2012053676A JP2012053676A JP5734228B2 JP 5734228 B2 JP5734228 B2 JP 5734228B2 JP 2012053676 A JP2012053676 A JP 2012053676A JP 2012053676 A JP2012053676 A JP 2012053676A JP 5734228 B2 JP5734228 B2 JP 5734228B2
Authority
JP
Japan
Prior art keywords
shape
machining
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.)
Active
Application number
JP2012053676A
Other languages
Japanese (ja)
Other versions
JP2012198887A (en
Inventor
入口 健二
健二 入口
宮田 亮
宮田  亮
晋 松原
晋 松原
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 JP2012053676A priority Critical patent/JP5734228B2/en
Publication of JP2012198887A publication Critical patent/JP2012198887A/en
Application granted granted Critical
Publication of JP5734228B2 publication Critical patent/JP5734228B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Numerical Control (AREA)

Description

本発明は、加工領域形状、加工方法、使用工具、加工条件などのデータを含む部分的な加工を行う為の加工単位データが入力され、入力された加工単位データから工作機械を動作させる為の制御指令情報を生成する自動プログラミング装置および方法に関するものである。   The present invention inputs machining unit data for performing partial machining including data such as machining area shape, machining method, tool used, machining conditions, etc., and operates a machine tool from the inputted machining unit data. The present invention relates to an automatic programming apparatus and method for generating control command information.

従来、加工領域形状、加工方法、使用工具、加工条件などのデータを含む部分的な加工を行うための加工単位データが入力され、この入力された加工単位データから工作機械を動作させる制御指令情報を生成する自動プログラミング装置としては、加工の順番に従って加工単位データを入力するもので、加工領域を定義する形状情報を共有できるようにしたものや、加工領域形状間に親子関係を持たせることで加工領域形状の関連した修正を同時に行えるようにしたものなどが知られている。   Conventionally, processing unit data for performing partial machining including data such as machining area shape, machining method, tool used, machining conditions, etc. has been input, and control command information for operating the machine tool from this input machining unit data As an automatic programming device that generates data, the processing unit data is input according to the processing order, and the shape information that defines the processing region can be shared, or by having a parent-child relationship between the processing region shapes There are known ones that can simultaneously modify the machining area shape.

特開昭62−224550号公報Japanese Patent Laid-Open No. 62-224550 特開平01−311372号公報Japanese Patent Laid-Open No. 01-311372

しかしながら、上記のような従来の自動プログラミング装置では、加工図面を基に作業者は、加工対象形状の各加工部位に対して加工工程の種類や使用工具などを割り当てることで加工工程を抽出し、抽出した加工工程の順番を適切に決定しておくといった工程設計作業を、プログラミング装置へのデータ入力前に予め実施しておく必要があり、非熟練者にとってはこの作業が難しいことから、この作業自体や適切に加工工程の抽出や順番決定が行えていないことからの入力データの修正作業に多く時間が費やされるといった問題があった。   However, in the conventional automatic programming device as described above, an operator based on the machining drawing extracts the machining process by assigning the type of machining process or the tool to be used to each machining part of the machining target shape, It is necessary to carry out process design work such as appropriately determining the order of the extracted machining processes before inputting data to the programming device, and this work is difficult for non-experts. There is a problem that a lot of time is spent on the correction work of the input data because the processing process is not properly extracted or the order is not determined properly.

また、関連する加工形状間の独立した修正における手間を削減するため、加工形状間に親子関係を定義しておき、親の加工形状が修正された時に子供の加工形状の関連部分を連動して修正するようにした従来の方式では、加工形状間に親子関係を与えるための定義操作が必要で、親子関係の追加・修正に手間がかかるといった問題があった。   In addition, in order to reduce the trouble of independent correction between related machining shapes, a parent-child relationship is defined between the machining shapes, and when the parent machining shape is corrected, the related parts of the child machining shape are linked. In the conventional method to be corrected, there is a problem that a definition operation for giving a parent-child relationship between machining shapes is necessary, and it takes time to add / correct the parent-child relationship.

本発明は、上記に鑑みてなされたものであって、加工形状の配置情報の入力の手間を削減し、さらに素材形状や加工形状間の関連した寸法・位置の調整を容易にするための素材形状と加工形状あるいは加工形状間に依存関係を与える手間も省くことができる自動プログラミング装置および方法を提供することを目的とする。   The present invention has been made in view of the above, and is a material for reducing the labor of inputting processing shape arrangement information and further facilitating adjustment of the material shape and the related dimensions and positions between the processing shapes. It is an object of the present invention to provide an automatic programming apparatus and method that can save the labor of giving a dependency between a shape and a machining shape or a machining shape.

上述した課題を解決し、目的を達成するために、本発明の自動プログラミング装置は、加工領域形状、加工方法、使用工具、加工条件などのデータを含んだ部分的な加工を行うための加工単位データが入力され、入力された加工単位データを解析して工作機械を動作させるための制御指令データを生成する自動プログラミング装置において、素材形状データを入力・記憶する素材形状入力手段と、加工形状データを入力・記憶する加工形状入力手段と、加工形状毎に加工単位を展開する加工単位展開手段と、使用工具の割当てと加工単位の実行順番を設定する加工単位調整手段と、を備え、前記加工形状入力手段が、素材形状から既定義済みの加工形状を除去した加工素材形状を生成・記憶する加工素材形状生成手段と、加工形状を定義する寸法・位置情報を入力する加工形状定義情報入力手段と、加工形状の種類に応じた加工形状の特定方向の位置を、前記寸法・位置情報と前記加工素材形状とから決定し、位置を決定するための基準となった前記加工素材形状上の部位に対応する素材形状または既定義済みの加工形状の部位と加工形状とに依存関係を設定する加工形状配置決定手段と、前記寸法・位置情報を修正した際に、修正した加工形状に依存する加工形状についても配置を修正し、さらに配置を修正した加工形状に依存する加工形状についても同様に配置を修正することを繰り返す加工形状連動修正手段と、を含むことを特徴とする。   In order to solve the above-described problems and achieve the object, the automatic programming device of the present invention is a machining unit for performing partial machining including data such as a machining area shape, a machining method, a tool used, and machining conditions. Material shape input means for inputting / storing material shape data, machining shape data in an automatic programming device that receives data and analyzes the inputted machining unit data and generates control command data for operating the machine tool Machining shape input means for inputting / storing, machining unit expansion means for developing machining units for each machining shape, and machining unit adjustment means for assigning tools to be used and setting the execution order of machining units. The shape input means defines the machining shape and the machining material shape generation means for generating and storing the machining material shape obtained by removing the predefined machining shape from the material shape. Processing shape definition information input means for inputting method / position information, and a position in a specific direction of the processing shape corresponding to the type of processing shape is determined from the dimension / position information and the processing material shape, and the position is determined. Machining shape arrangement determining means for setting a dependency relationship between a material shape corresponding to a part on the machining material shape that is a reference for the machining material or a part of a predefined machining shape and a machining shape, and the dimension / position information Machining shape interlocking correction means for repeatedly correcting the machining shape depending on the modified machining shape and repeatedly modifying the layout of the machining shape depending on the machining shape after the modification , Including.

また、上述した課題を解決し、目的を達成するために、本発明の自動プログラミング方法は、加工領域形状、加工方法、使用工具、加工条件などのデータを含んだ部分的な加工を行うための加工単位データが入力され、入力された加工単位データを解析して工作機械を動作させるための制御指令データを生成する自動プログラミング方法において、素材形状データを入力・記憶する素材形状入力工程と、加工形状データを入力・記憶する加工形状入力工程と、加工形状毎に加工単位を展開する加工単位展開工程と、使用工具の割当てと加工単位の実行順番を設定する加工単位調整工程と、を備え、前記加工形状入力工程では、素材形状から既定義済みの加工形状を除去した加工素材形状を生成・記憶し、加工形状を定義する寸法・位置情報を入力し、加工形状の種類に応じた加工形状の特定方向の位置を、前記寸法・位置情報と前記加工素材形状とから決定し、位置を決定するための基準となった前記加工素材形状上の部位に対応する素材形状または既定義済みの加工形状の部位と加工形状とに依存関係を設定し、前記寸法・位置情報を修正した際に、修正した加工形状に依存する加工形状についても配置を修正し、さらに配置を修正した加工形状に依存する加工形状についても同様に配置を修正することを繰り返す、ことを特徴とする。   In order to solve the above-described problems and achieve the object, the automatic programming method of the present invention is for performing partial machining including data such as a machining area shape, a machining method, a tool used, and machining conditions. Material shape input process that inputs and stores material shape data in an automatic programming method that inputs machining unit data and generates control command data for operating the machine tool by analyzing the input machining unit data, and machining A machining shape input process for inputting / storing shape data, a machining unit expansion process for developing machining units for each machining shape, and a machining unit adjustment process for assigning tools to be used and setting the execution order of machining units, In the machining shape input step, a machining material shape obtained by removing a predefined machining shape from the material shape is generated and stored, and dimension / position information defining the machining shape is obtained. The position of the machining shape in a specific direction according to the type of machining shape is determined from the dimension / position information and the machining material shape, and the position on the machining material shape serving as a reference for determining the position is determined. Dependencies are set for the material shape corresponding to the part or the part of the predefined machining shape and the machining shape, and when the dimension / position information is modified, the machining shape that depends on the modified machining shape is also arranged. It is also characterized in that the modification of the arrangement is repeated in the same manner for the machining shape depending on the machining shape that has been modified and further modified.

本発明によれば、素材形状データ、加工形状データを入力することで加工形状毎の加工単位情報が生成され、さらに加工単位の使用工具の割当てと実行順番調整を行うことができる。これにより、データ入力前の加工工程の抽出や順番決定を予め作業者が行う必要がなく加工図面を基に即座にデータ入力作業が行うことができ、さらに入力した加工単位の使用工具や実行順番の調整をデータ入力後に行えることから非熟練者であっても容易に作業でき、加工図面を基にした工程検討からデータ入力とその調整に要するトータルな作業時間が削減されるといった効果を奏する。   According to the present invention, machining unit information for each machining shape is generated by inputting material shape data and machining shape data, and further, assignment of tools to be used in machining units and adjustment of execution order can be performed. This eliminates the need for the operator to extract and determine the order of machining steps prior to data entry, and allows data entry work to be performed immediately based on the machining drawing. Since this adjustment can be performed after the data is input, even an unskilled person can easily work. From the process examination based on the machining drawing, the total work time required for the data input and the adjustment can be reduced.

また、加工形状の種類に応じた加工形状の特定方向の位置が、加工形状の定義情報である寸法・位置情報と加工素材形状とから決定され、位置を決定するための基準となった加工素材形状上の部位に対応する素材形状または既定義済みの加工形状の部位と加工形状とに依存関係が設定され、また、加工形状の定義情報を修正した際に、修正した加工形状に依存する加工形状についても配置を修正し、さらに配置を修正した加工形状に依存する加工形状についても同様に配置を修正することが繰り返される。これにより、加工形状の定義情報を入力する際に加工形状の種類に応じた特定方向の位置情報が自動決定されることから入力の手間が削減され、また、加工形状の定義情報を修正する際にも関連する加工形状の配置も連動して自動修正されるので修正の手間が削減されるといった効果を奏する。   In addition, the machining material used as the reference for determining the position is determined from the dimension / position information and machining material shape, which are the machining shape definition information, and the position of the machining shape in a specific direction according to the type of machining shape. Dependency is set for the material shape corresponding to the part on the shape or the part of the predefined machining shape and the machining shape, and when the machining shape definition information is modified, machining that depends on the modified machining shape It is repeated that the arrangement is corrected for the shape, and the arrangement is similarly corrected for the machining shape depending on the machining shape whose arrangement is corrected. As a result, when inputting machining shape definition information, position information in a specific direction corresponding to the type of machining shape is automatically determined, reducing the labor of input, and when modifying machining shape definition information In addition, since the arrangement of the processing shape related to the above is automatically corrected in conjunction with it, there is an effect that the labor of correction is reduced.

図1は、本発明の自動プログラミング装置の構成図である。FIG. 1 is a block diagram of an automatic programming apparatus according to the present invention. 図2は、本発明の自動プログラミング装置の全体の流れを示すフローチャートの図である。FIG. 2 is a flowchart showing the overall flow of the automatic programming apparatus of the present invention. 図3は、加工図面の1例を示す図である。FIG. 3 is a diagram illustrating an example of a processed drawing. 図4は、素材形状の定義イメージを示す図である。FIG. 4 is a diagram showing a definition image of the material shape. 図5は、加工形状入力の流れを示すフローチャートの図である。FIG. 5 is a flowchart showing the flow of machining shape input. 図6は、加工形状入力の説明をする為の図である。FIG. 6 is a diagram for explaining the machining shape input. 図7は、加工形状入力の説明をする為の図である。FIG. 7 is a diagram for explaining machining shape input. 図8は、加工形状入力の説明をする為の図である。FIG. 8 is a diagram for explaining the machining shape input. 図9は、加工形状入力の説明をする為の図である。FIG. 9 is a diagram for explaining the machining shape input. 図10は、加工形状入力の説明をする為の図である。FIG. 10 is a diagram for explaining the machining shape input. 図11は、加工形状入力の説明をする為の図である。FIG. 11 is a diagram for explaining the machining shape input. 図12は、加工形状入力の説明をする為の図である。FIG. 12 is a diagram for explaining the machining shape input. 図13は、加工形状入力の説明をする為の図である。FIG. 13 is a diagram for explaining the machining shape input. 図14は、加工形状入力の説明をする為の図である。FIG. 14 is a diagram for explaining the machining shape input. 図15は、加工形状入力の説明をする為の図である。FIG. 15 is a diagram for explaining the machining shape input. 図16は、工程生成の説明をする為の図である。FIG. 16 is a diagram for explaining the process generation. 図17は、工具・加工順番編集の説明をする為の図である。FIG. 17 is a diagram for explaining tool / machining order editing. 図18は、形状表示の説明をする為の図である。FIG. 18 is a diagram for explaining the shape display. 図19は、形状表示の説明をする為の図である。FIG. 19 is a diagram for explaining the shape display. 図20は、形状表示の説明をする為の図である。FIG. 20 is a diagram for explaining the shape display. 図21は、加工形状入力の説明をする為の図である。FIG. 21 is a diagram for explaining the machining shape input. 図22は、加工形状入力の説明をする為の図である。FIG. 22 is a diagram for explaining the machining shape input. 図23は、加工形状入力の説明をする為の図である。FIG. 23 is a diagram for explaining the machining shape input. 図24は、加工形状入力の説明をする為の図である。FIG. 24 is a diagram for explaining the machining shape input.

以下に、本発明にかかる自動プログラミング装置および方法の実施の形態を図面に基づいて詳細に説明する。なお、この実施の形態によりこの発明が限定されるものではない。   Embodiments of an automatic programming apparatus and method according to the present invention will be described below in detail with reference to the drawings. Note that the present invention is not limited to the embodiments.

実施の形態.
図1(a)は、この発明に係わる自動プログラミング装置の実施の形態の構成図である。図1(b)は、図1(a)の自動プログラミング装置の持つ機能的手段を示す図である。図1(a)において、素材形状データ入力部1は、素材形状の種類、位置、寸法など素材形状を定義するデータを外部から入力(外部入力)し、素材形状データ記憶部9および加工素材形状データ記憶部10にデータを記憶する。
Embodiment.
FIG. 1A is a configuration diagram of an embodiment of an automatic programming apparatus according to the present invention. FIG. 1B is a diagram showing functional means of the automatic programming apparatus of FIG. In FIG. 1A, the material shape data input unit 1 inputs data defining the material shape such as the type, position and dimensions of the material shape from the outside (external input), and the material shape data storage unit 9 and the processed material shape Data is stored in the data storage unit 10.

加工形状データ入力部2は、加工形状の種類、位置、寸法など加工形状を定義するデータを、外部入力するかまたは加工素材形状データ記憶部10に記憶された加工素材形状データを参照して決定し、加工形状データ記憶部11にデータを記憶する。   The machining shape data input unit 2 inputs data defining the machining shape, such as the type, position, and dimensions of the machining shape, with reference to the machining material shape data stored in the machining material shape data storage unit 10. Then, the data is stored in the machining shape data storage unit 11.

加工単位データ生成・編集部3は、加工領域形状、加工方法、使用工具、加工条件などの加工単位を定義するデータを、素材形状データ記憶部9に記憶されている素材形状データ、加工形状データ記憶部11に記憶されている加工形状データなどを参照して加工単位を生成し、加工単位データ記憶部12にデータを記憶する。また、加工単位データ記憶部12に記憶されている加工単位データを外部から入力した指示(外部指示)を基に修正し、修正データで加工単位データ記憶部12に記憶されたデータを更新する。   The processing unit data generation / editing unit 3 uses the material shape data and processing shape data stored in the material shape data storage unit 9 to define data such as the processing region shape, processing method, tool used, and processing conditions. A machining unit is generated with reference to machining shape data stored in the storage unit 11, and the data is stored in the machining unit data storage unit 12. Further, the machining unit data stored in the machining unit data storage unit 12 is corrected based on an instruction (external instruction) input from the outside, and the data stored in the machining unit data storage unit 12 is updated with the corrected data.

工具・加工順番編集部4は、加工単位データ記憶部12に記憶されている加工単位データから加工単位に対する使用工具の一覧を示すリストを表示し、外部指示を基に加工単位の使用工具の変更や加工単位の実行順番の変更を行い、修正データで加工単位データ記憶部12に記憶されたデータを更新する。   The tool / machining order editing unit 4 displays a list showing a list of tools used for the machining units from the machining unit data stored in the machining unit data storage unit 12, and changes the tools used for the machining units based on external instructions. Or the execution order of the machining units is changed, and the data stored in the machining unit data storage unit 12 is updated with the correction data.

加工素材形状生成部5は、素材形状データ記憶部9に記憶された素材形状データと加工形状データ記憶部11に記憶された加工形状データとから、素材形状から加工形状を除去した加工素材形状データを生成し、加工素材形状データ記憶部10に生成データを記憶する。また、加工素材形状データの生成と共に、加工素材形状に応じて領域の寸法が決定される加工形状について領域の寸法を決定して加工形状データを修正し、修正データで加工形状データ記憶部11に記憶されたデータを更新する。   The machining material shape generation unit 5 removes the machining shape from the material shape from the material shape data stored in the material shape data storage unit 9 and the machining shape data stored in the machining shape data storage unit 11. And the generated data is stored in the processed material shape data storage unit 10. In addition to the generation of the machining material shape data, the machining shape data is corrected by determining the size of the area for the machining shape in which the dimension of the area is determined according to the machining material shape, and the machining data is stored in the machining shape data storage unit 11 with the correction data. Update stored data.

形状表示部6は、プログラム構成要素一覧表示部7から得られる表示対象データを基に、素材形状データ記憶部9に記憶された素材形状データ、加工素材形状データ記憶部10に記憶された加工素材形状データおよび加工形状データ記憶部11に記憶された加工形状データを合成して表示する。   The shape display unit 6 is based on the display target data obtained from the program component list display unit 7, the material shape data stored in the material shape data storage unit 9, and the processing material stored in the processing material shape data storage unit 10. The shape data and the machining shape data stored in the machining shape data storage unit 11 are synthesized and displayed.

プログラム構成要素一覧表示部7は、加工形状データ記憶部11に記憶された加工形状データと加工単位データ記憶部12に記憶された加工単位データとの一覧と素材形状および加工素材形状を選択するための項目を表示し、外部指示から表示対象を決定して表示対象情報を形状表示部6に送る。   The program component list display unit 7 is for selecting a list of the machining shape data stored in the machining shape data storage unit 11 and the machining unit data stored in the machining unit data storage unit 12, the material shape, and the machining material shape. Are displayed, the display target is determined from the external instruction, and the display target information is sent to the shape display unit 6.

制御指令生成部8は、加工単位データ記憶部12に記憶された加工単位データを実行の順番に読み出して工作機械を制御するための制御指令データを生成し、生成データを制御
装置の制御部へ出力する。
The control command generation unit 8 reads the processing unit data stored in the processing unit data storage unit 12 in the order of execution, generates control command data for controlling the machine tool, and sends the generated data to the control unit of the control device. Output.

素材形状データ記憶部9は、素材形状データを記憶する。加工素材形状データ記憶部10は、加工素材形状のデータを記憶する。加工形状データ記憶部11は、加工形状データを、加工素材形状を生成する際の素材形状から除去される順番で記憶する。加工単位データ記憶部12は、加工単位データを、制御指令を生成する際の実行される順番で記憶する。   The material shape data storage unit 9 stores material shape data. The processed material shape data storage unit 10 stores processed material shape data. The machining shape data storage unit 11 stores the machining shape data in the order of removal from the material shape when the machining material shape is generated. The machining unit data storage unit 12 stores the machining unit data in the order of execution when generating the control command.

また、この実施の形態の自動プログラミング装置は、図1(b)に示すように以下の機能的手段を備えている。素材形状データを入力・記憶する素材形状入力手段31と、加工形状データを入力・記憶する加工形状入力手段32と、加工形状毎に加工単位を展開する加工単位展開手段33と、使用工具の割当てと加工単位の実行順番を設定する加工単位調整手段34とを備えている。   Moreover, the automatic programming device of this embodiment includes the following functional means as shown in FIG. Material shape input means 31 for inputting / storing material shape data, machining shape input means 32 for inputting / storing machining shape data, machining unit expanding means 33 for expanding a machining unit for each machining shape, and allocation of used tools And processing unit adjusting means 34 for setting the execution order of processing units.

そしてさらに、加工形状入力手段32は、加工素材形状生成手段32aと、加工形状定義情報入力手段32bと、加工形状配置決定手段32cと、加工形状連動修正手段32dとを備えている。   Further, the machining shape input unit 32 includes a machining material shape generation unit 32a, a machining shape definition information input unit 32b, a machining shape arrangement determination unit 32c, and a machining shape interlock correction unit 32d.

加工素材形状生成手段32aは、加工形状の入力において素材形状から加工形状を除去した加工素材形状を生成・記憶する。   The processed material shape generation unit 32a generates and stores a processed material shape obtained by removing the processed shape from the material shape in the input of the processed shape.

加工形状定義情報入力手段32bは、加工形状を定義する寸法・位置情報を入力する。
加工形状配置決定手段32cは、加工形状定義情報入力手段32bで入力された加工形状の定義情報(寸法・位置情報)と加工素材形状とから加工形状の種類に応じた加工形状の特定方向の位置を決定するための基準となる加工素材形状上の部位を抽出し、抽出した部位を基準として加工形状の特定方向の位置を決定すると共に、抽出した加工素材形状上の部位に対応する素材形状または加工形状の部位と加工形状とに依存関係を設定する。
The machining shape definition information input means 32b inputs dimension / position information that defines the machining shape.
The machining shape arrangement determining means 32c is a position in a specific direction of the machining shape corresponding to the type of machining shape from the machining shape definition information (dimension / position information) input by the machining shape definition information input means 32b and the machining material shape. The part on the machining material shape that is the reference for determining the machining shape is extracted, the position of the machining shape in a specific direction is determined based on the extracted part, and the material shape corresponding to the part on the extracted machining material shape or A dependency relationship is set between the machining shape portion and the machining shape.

加工形状連動修正手段32dは、加工形状の修正の際に、修正対象の加工形状に依存する加工形状群の配置を連動して修正する。   When the machining shape is corrected, the machining shape interlock correction unit 32d corrects the arrangement of the machining shape group depending on the machining shape to be corrected in conjunction with the machining shape.

また、加工単位調整手段34は、加工単位名とその加工単位で使用する工具名とを含む情報を加工単位の実行順に表示させる加工単位リスト表示手段34aと、加工単位に対する工具を割当て・変更する工具編集手段34bと、加工単位リストの加工単位の順番を編集する加工単位順番編集手段34cとを備えている。   Further, the machining unit adjustment unit 34 assigns / changes a machining unit list display unit 34a for displaying information including a machining unit name and a tool name used in the machining unit in the execution order of the machining units, and a tool for the machining unit. Tool editing means 34b and machining unit order editing means 34c for editing the order of machining units in the machining unit list are provided.

このように構成された自動プログラミング装置は、図2に示すフローチャートに従って動作する。図2において、まず、ステップS201ではプログラム入力を行うかのオペレータ指示をチェックしており、プログラム入力を実施する指示の場合は、ステップS202へ進み、そうでない場合は、ステップS210へ進む。   The automatic programming apparatus configured as described above operates according to the flowchart shown in FIG. In FIG. 2, first, in step S201, an operator instruction as to whether to input a program is checked. If the instruction is to execute program input, the process proceeds to step S202, and if not, the process proceeds to step S210.

ステップS202では、素材形状データの入力を行うか否かのオペレータ指示をチェックしており、素材形状データ入力を実施する指示の場合はステップS203へ進み、そうでない場合はステップS204へ進む。   In step S202, the operator's instruction as to whether or not to input material shape data is checked. If the instruction is to execute material shape data input, the process proceeds to step S203, and if not, the process proceeds to step S204.

図2のステップS203では、図1(a)の素材形状データ入力部1において素材形状を定義するデータがオペレータからの指示等で外部入力され、入力されたデータが素材形状データ記憶部9および加工素材形状データ記憶部10へ格納される。ステップS203の処理後はステップS216へ進む(素材形状入力工程:図1(b)の素材形状入力手段31)。   In step S203 of FIG. 2, data defining the material shape is externally input by an instruction from an operator or the like in the material shape data input unit 1 of FIG. 1A, and the input data is stored in the material shape data storage unit 9 and the processing. It is stored in the material shape data storage unit 10. After step S203, the process proceeds to step S216 (material shape input step: material shape input means 31 in FIG. 1B).

図3は、加工図面の一例を示す図である。図4は、図3に示す図面の加工品を加工する際の直方体形状の素材形状データの入力の例を示す図である。図4(b)は素材形状の定義データを入力するためのウィンドウ(画面上にポップアップ表示される枠)の例であり、入力項目としては、素材形状の位置を指定するための素材形状上の基準点位置、素材形状上の基準点のワーク座標系上での位置(位置X、位置Y、位置Z)、素材形状のX、YおよびZ軸方向の寸法(長さX、長さY、長さZ)がある。素材形状上の基準点は、図4(c)に示すウィンドウ上で、X、YおよびZ軸方向それぞれにおいて素材形状の範囲中の最小、中心、最大のいずれかの位置を選択することで指定される。図4(b)では、基準点としてXC−YC−ZH(XおよびY軸方向で範囲の中心、Z軸方向で範囲の最大の点)が選択され、直方体形状のZ軸に垂直でZ軸方向側の面の中心点が基準点となっており、図3に示す図面上の基準点と一致させている。これは、ステップS205における加工形状データの入力の際にも加工形状上の基準点として同様に選択することで、素材形状に対する加工形状の位置指定を容易にするためである。図4(b)の設定により図4(a)に示すようにワーク原点に基準点が一致するように素材形状が設定される。また、素材形状の各面には、素材形状の面であることを示す属性情報(FW(1)〜FW(6))が付加される。   FIG. 3 is a diagram illustrating an example of a processed drawing. FIG. 4 is a diagram illustrating an example of input of material shape data having a rectangular parallelepiped shape when the processed product illustrated in FIG. 3 is processed. FIG. 4B shows an example of a window (a frame pop-up displayed on the screen) for inputting material shape definition data. As an input item, the shape on the material shape for specifying the position of the material shape is shown. Reference point position, position of the reference point on the material shape on the workpiece coordinate system (position X, position Y, position Z), dimensions of the material shape in the X, Y and Z axis directions (length X, length Y, There is a length Z). The reference point on the material shape is specified by selecting the minimum, center, or maximum position in the range of the material shape in the X, Y, and Z axis directions on the window shown in FIG. Is done. In FIG. 4B, XC-YC-ZH (the center of the range in the X and Y axis directions and the maximum point in the Z axis direction) is selected as the reference point, and the Z axis is perpendicular to the Z axis of the rectangular parallelepiped shape. The center point of the surface on the direction side is a reference point, which coincides with the reference point on the drawing shown in FIG. This is to facilitate the designation of the position of the machining shape with respect to the material shape by similarly selecting the reference point on the machining shape when inputting the machining shape data in step S205. 4B, the material shape is set so that the reference point coincides with the work origin as shown in FIG. 4A. Further, attribute information (FW (1) to FW (6)) indicating that the surface is a material shape is added to each surface of the material shape.

ステップS204では加工形状データの入力を行うかのオペレータ指示をチェックしており、加工形状データの入力を実施する場合はステップS205へ進み、そうでない場合はステップS206へ進む。   In step S204, the operator's instruction on whether to input machining shape data is checked. If machining shape data is input, the process proceeds to step S205. Otherwise, the process proceeds to step S206.

ステップS205では図1(a)の加工形状データ入力部2において加工形状データがオペレータからの指示で入力され、入力されたデータが加工形状データ記憶部11へ記憶される。ステップS205の処理後はステップS216へ進む(加工形状入力工程:図1(b)の加工形状入力手段32)。   In step S205, the machining shape data input unit 2 in FIG. 1A inputs machining shape data according to an instruction from an operator, and the inputted data is stored in the machining shape data storage unit 11. After step S205, the process proceeds to step S216 (machining shape input step: machining shape input means 32 in FIG. 1B).

ステップS205における動作の詳細は図5のフローチャートに従うものとなる。図5のフローチャートのステップS501では新規加工形状の追加を行うかのオペレータ指示をチェックしており、新規加工形状の追加を行う場合はステップS502へ進み、そうでない場合はステップS507へ進む。   Details of the operation in step S205 follow the flowchart of FIG. In step S501 in the flowchart of FIG. 5, an operator instruction for adding a new machining shape is checked. If a new machining shape is to be added, the process proceeds to step S502. Otherwise, the process proceeds to step S507.

ステップS502では、追加する加工形状の種類をオペレータ指示により選択している。加工形状の種類を選択することで、種類に応じた定義データの入力ウィンドウが表示され、入力作業が開始される。   In step S502, the type of machining shape to be added is selected by an operator instruction. By selecting the type of machining shape, an input window for definition data corresponding to the type is displayed, and input work is started.

ステップS503では、データ入力または修正作業を終了するか否かのオペレータ指示をチェックしており、終了する場合はステップS508へ進み、そうでない場合はステップS504へ進む。   In step S503, an operator instruction for checking whether or not to end the data input or correction work is checked. If it is to be ended, the process proceeds to step S508, and if not, the process proceeds to step S504.

ステップS504では、これから行う入力項目が加工形状の種類に応じた自動決定対象のものでありかつ、空白(値が入っていない状態)となっているかをチェックしており、自動決定対象の項目でありかつ値が空白の場合はステップS505へ進み、そうでない場合はステップS506へ進む。   In step S504, it is checked whether the input items to be performed are to be automatically determined according to the type of machining shape and are blank (no value is entered). If yes and the value is blank, the process proceeds to step S505, and if not, the process proceeds to step S506.

ステップS505では、自動決定対象として位置に関する項目の値の計算と素材形状と加工形状または加工形状間の依存関係の設定が実施される。   In step S505, the value of the item relating to the position is automatically calculated and the material shape and the machining shape or the dependency relationship between the machining shapes are set.

図6および図7に図3に示す加工品における中央のポケット部に対する加工形状を定義する様子を示す。図6(b)〜(d)はコーナーに円弧の付いた長方形領域の加工形状を定義するための入力ウィンドウの例であり、入力項目として、加工形状の位置を指定するための加工形状上の基準点選択、基準点のワーク座標系上でのXY方向位置(位置X、位置Y)、加工形状のXおよびY軸方向の寸法(長さX、長さY)、コーナー円弧の半径、加工形状の上面Z位置(上面Z)、加工形状の上面から下面(加工形状のZ軸に垂直でZ軸−方向側の面)までの距離(深さ)がある。   FIG. 6 and FIG. 7 show how the processing shape for the central pocket portion in the processed product shown in FIG. 3 is defined. FIGS. 6B to 6D are examples of an input window for defining a machining shape of a rectangular area with a circular arc at a corner. On the machining shape for designating the position of the machining shape as an input item. Reference point selection, XY direction position (position X, position Y) of the reference point on the workpiece coordinate system, X and Y axis direction dimensions (length X, length Y) of the machining shape, radius of corner arc, machining There is an upper surface Z position (upper surface Z) of the shape, and a distance (depth) from the upper surface of the processed shape to the lower surface (surface perpendicular to the Z axis of the processed shape and on the Z axis-direction side).

基準点は、素材形状データ入力の際と同様な設定方法であり、初期値として素材形状データ入力の際の値が入る。これにより、素材形状と加工形状とで基準点の取り方を同じとすることで加工形状の位置の入力が容易になる多くの場合にて、基準点を指定する手間を省くことができる。   The reference point is a setting method similar to that at the time of material shape data input, and a value at the time of material shape data input is entered as an initial value. Thereby, it is possible to save the trouble of designating the reference point in many cases where the input of the position of the machining shape is facilitated by making the reference point the same in the material shape and the machining shape.

図6(b)では、入力ウィンドウにおいて、加工形状のZ軸に垂直な平面上における領域形状(図6(a))の位置および寸法が決まる項目について値が入っている。次の入力項目である加工形状の上面Z位置(上面Z)は、加工形状の種類「ポケット(四角)」において自動決定の対象となっている項目であり、値が空白であることから上面Z位置の計算が実行される。   In FIG. 6B, values are entered for items in which the position and dimensions of the region shape (FIG. 6A) on the plane perpendicular to the Z-axis of the processed shape are determined in the input window. The upper surface Z position (upper surface Z) of the machining shape, which is the next input item, is an item that is automatically determined in the machining shape type “pocket (square)”, and since the value is blank, the upper surface Z A position calculation is performed.

この計算では、加工形状のZ軸に垂直な平面上における領域形状を加工素材形状からZ軸方向に離れた位置からZ軸−方向へ移動させた時に、加工素材形状に最初に接したとき(図7(a)に、図6(a)の領域形状が加工素材形状に最初に接したときの様子を示す)の領域形状のZ位置が抽出され、上面Z位置の値として設定される(図6(c))。   In this calculation, when the region shape on the plane perpendicular to the Z-axis of the machining shape is moved in the Z-axis direction from the position away from the machining material shape in the Z-axis direction, the workpiece shape is first contacted ( In FIG. 7A, the Z position of the region shape in FIG. 6A (showing the state when the region shape in FIG. 6A first contacts the workpiece shape) is extracted and set as the value of the upper surface Z position ( FIG. 6 (c)).

また、加工形状のZ軸に垂直な平面上における領域形状が最初に接した加工素材形状の面が基準の部位として抽出され、面に付属する属性から素材形状の面であるかあるいはどの加工形状の面であるかが認識され、認識された素材形状または加工形状の面に設定中の加工形状が依存するという関係が設定される(図7(b))。   In addition, the surface of the processed material shape that the region shape on the plane perpendicular to the Z-axis of the processed shape first touches is extracted as the reference part, and from the attribute attached to the surface, the surface of the material shape or which processed shape And the relationship that the machining shape being set depends on the recognized material shape or machining shape surface is set (FIG. 7B).

図6(d)では、加工形状の上面から下面までの距離(深さ)が入力された入力ウィンドウを示しており、このとき加工素材形状と加工形状との位置関係は図8(a)に示すようになる。   FIG. 6D shows an input window in which the distance (depth) from the upper surface to the lower surface of the processed shape is input. At this time, the positional relationship between the processed material shape and the processed shape is shown in FIG. As shown.

図21〜図24に旋削加工品の場合の例を示す。   21 to 24 show examples in the case of a turning product.

図21は加工品の図面の例である。図22に外径旋削加工の加工形状定義後に図21の図面の詳細部Aの外径ヌスミ部加工の加工形状を定義する場合の例を示す。図22(a)は加工形状を定義する場合の定義情報の入力ウィンドウを示しており、図22(a)の入力情報で定義される形状を図22(b)に示す。外径ヌスミ部加工の加工形状の場合は、X方向およびZ方向の位置が自動決定の対象となり、この位置は、加工素材形状の法線方向(面の外側に向く方向)がX軸方向に向いた面と法線方向がZ軸方向に向いた面との交差した位置(図中のV(1)とV(2))が候補となり、位置の候補から外部入力の選択指示により位置が選択され決定される。決定された位置に対して図22(b)に示す加工形状の基準点が合わせられることで加工形状の位置が決定する。このように加工形状の種類によっては加工素材形状の特定の形状特長部位を抽出し、それに基づいて加工形状の位置を決定することができる。   FIG. 21 is an example of a drawing of a processed product. FIG. 22 shows an example in the case of defining the machining shape of the outer diameter blank portion machining of the detailed portion A of the drawing of FIG. 21 after the machining shape definition of the outer diameter turning processing. FIG. 22A shows an input window for definition information when defining a machining shape, and FIG. 22B shows the shape defined by the input information of FIG. In the case of the machining shape of the outer diameter part, the positions in the X and Z directions are subject to automatic determination, and the normal direction of the workpiece material shape (the direction facing the outside of the surface) is the X axis direction. The position where the surface that faces and the surface whose normal direction faces the direction of the Z-axis (V (1) and V (2) in the figure) is a candidate, and the position is determined by the external input selection instruction from the position candidate. Selected and determined. The machining shape position is determined by adjusting the machining shape reference point shown in FIG. 22B to the determined position. In this way, depending on the type of machining shape, a specific shape feature portion of the machining material shape can be extracted, and the position of the machining shape can be determined based on the extracted shape feature portion.

図23および図24はそれぞれ外径溝加工および正面溝加工の加工形状を定義する場合の例を示しており、外径溝加工の場合は加工形状の寸法とZ軸方向の位置を入力するとでX軸方向の位置が自動決定され、正面溝加工の場合は加工形状の寸法とX軸方向の位置を入力することでZ軸方向の位置が自動決定され、加工形状の種類に応じて位置情報の入力を最低限とすることができる。   FIG. 23 and FIG. 24 show examples in the case of defining the outer grooving and front grooving shapes, respectively. In the case of outer grooving, the dimensions of the machining shape and the position in the Z-axis direction are The position in the X-axis direction is automatically determined, and in the case of front grooving, the position in the Z-axis direction is automatically determined by inputting the dimension of the machining shape and the position in the X-axis direction, and position information according to the type of machining shape Input can be minimized.

図5のステップS506では、入力ウィンドウの現在の入力項目について、オペレータからの指示により値が入力・修正される。ステップS506からはステップS503へ戻る。   In step S506 of FIG. 5, values are input / corrected in accordance with an instruction from the operator for the current input item in the input window. From step S506, the process returns to step S503.

ステップS507では、既存の加工形状データの修正を行うかのオペレータ指示をチェックしており、修正を行う指示の場合はステップS503へ進み、そうでない場合は加工形状データの入力を終了する。   In step S507, the operator's instruction on whether to correct the existing machining shape data is checked. If the instruction is to make correction, the process proceeds to step S503, and if not, the input of the machining shape data is terminated.

ステップS508では入力ウィンドウの全項目が入力済みであるかをチェックしており、全項目入力済みの場合はステップS509へ進み、そうでない場合は加工形状データの入力を終了する。   In step S508, it is checked whether all items in the input window have been input. If all items have been input, the process proceeds to step S509. If not, the input of the machining shape data ends.

ステップS509では入力対象の加工形状に依存する加工形状が存在するかをチェックしており、存在する場合はステップS510へ進み、そうでない場合はステップS511へ進む。   In step S509, it is checked whether or not there is a machining shape depending on the machining shape to be input. If it exists, the process proceeds to step S510, and if not, the process proceeds to step S511.

ステップS510では引数で指定された加工形状に依存する加工形状について位置の更新を再帰的に実施する関数が、入力対象の加工形状を引数として呼び出される。   In step S510, a function that recursively updates the position of the machining shape depending on the machining shape specified by the argument is called with the machining shape to be input as an argument.

ステップS521〜ステップS524は、指定された加工形状に依存する加工形状について位置の更新を再帰的に実施する関数における、指定された加工形状に依存する加工形状を一つずつ取り出して位置の更新を実行するループ処理を構成している。   Steps S521 to S524 are for updating the position by taking out the machining shapes depending on the designated machining shape one by one in the function that recursively updates the position of the machining shape depending on the designated machining shape. The loop process to be executed is configured.

ステップS522では、取り出された加工形状の位置が依存する加工形状の状態に合わせて再計算される。ステップS523では、加工位置が再計算された加工形状を引数として依存する加工形状について位置の更新を実施する関数が再帰的に呼び出されている。   In step S522, recalculation is performed according to the machining shape state on which the position of the taken machining shape depends. In step S523, a function that renews the position of a machining shape that depends on the machining shape whose machining position is recalculated as an argument is recursively called.

ステップS511では、図1(a)の加工素材形状生成部5において素材形状データと加工形状データとから加工素材形状データが生成され加工素材形状データ記憶部10に生成データが格納される。この処理は次のようにして実施される。まず、素材形状データのコピーが加工素材形状データとして設定される。そして、加工形状を順番に一つずつ取り出しながら、取り出した加工形状が加工素材形状を基に領域が決まるものの場合には加工素材形状を基に領域が確定され、加工素材形状から領域が確定済みの加工形状を除去することで加工素材形状データを更新してゆく。図8(b)に図8(a)のポケット加工形状が除去された加工素材形状の例を示す。加工素材形状の各面には、素材形状の面であることを示す属性やポケット加工形状の転写された面であることを示す属性が付属する。   In step S511, the machining material shape data is generated from the material shape data and the machining shape data in the machining material shape generation unit 5 of FIG. 1A, and the generated data is stored in the machining material shape data storage unit 10. This process is performed as follows. First, a copy of the material shape data is set as the processed material shape data. Then, while taking out the processed shapes one by one in order, if the extracted processed shape is determined based on the processed material shape, the area is determined based on the processed material shape, and the area is determined from the processed material shape The processed material shape data is updated by removing the processed shape. FIG. 8B shows an example of a processed material shape from which the pocket processed shape of FIG. 8A is removed. Each surface of the processed material shape is attached with an attribute indicating that it is a surface of the material shape and an attribute indicating that it is a surface transferred with the pocket processed shape.

図9、図10、図11に単純穴で貫通するタイプの加工形状を追加する際の様子を示す。図9(a)は、図9(b)の入力ウィンドウで設定された加工形状のZ軸に垂直な平面上における領域形状である。図9(c)は、入力ウィンドウの単純穴で貫通するタイプの加工形状において自動決定の対象となっている項目の加工形状上面のZ位置が自動設定されたもので、図9(a)の領域形状と図8(b)の加工素材形状を基に図10(a)に示す位置が抽出される。また、領域形状の接する面が素材形状の面であることを示す属性の付属する面FW(1)であることから、図10(b)に示すように素材形状と単純穴の加工形状との間に依存関係が構築される。   9, 10, and 11 show a state when a machining shape of a type that penetrates through a simple hole is added. FIG. 9A shows a region shape on a plane perpendicular to the Z axis of the machining shape set in the input window of FIG. 9B. FIG. 9C is a diagram in which the Z position on the upper surface of the machining shape of the item to be automatically determined in the machining shape of the type that penetrates through the simple hole of the input window is automatically set. The position shown in FIG. 10A is extracted based on the region shape and the processed material shape shown in FIG. In addition, since the surface in contact with the region shape is a surface FW (1) with an attribute indicating that the surface is a material shape surface, as shown in FIG. Dependencies are built between them.

さらに、加工素材形状の生成の際に、単純穴の加工形状が貫通するタイプのもので加工素材形状を基に深さ方向の領域が決まるものであるから、図11(a)に示すように加工素材形状を貫通する深さが加工素材形状を基に決定され、図11(b)に示す加工素材形状が結果として得られる。   Further, when the workpiece material shape is generated, the depth direction region is determined based on the workpiece material shape in the type in which the machining shape of the simple hole penetrates, as shown in FIG. The depth penetrating the workpiece material shape is determined based on the workpiece material shape, and the workpiece material shape shown in FIG. 11B is obtained as a result.

図12、図13、図14にさらにねじ穴で貫通するタイプの加工形状を追加する際の様子を示す。図12(a)は、図12(b)の入力ウィンドウで設定された加工形状のZ軸に垂直な平面上における領域形状である。図12(c)は、入力ウィンドウのねじ穴で貫通するタイプの加工形状において自動決定の対象となっている項目の加工形状上面のZ位置が自動設定されたもので、図12(a)の領域形状と図11(b)の加工素材形状を基に図13(a)に示す位置が抽出される。また、領域形状の接する面がポケット加工形状の面であることを示す属性の付属する面FP(1)であることから、図13(b)に示すようにポケット加工形状とねじ穴の加工形状との間に依存関係が構築される。   FIG. 12, FIG. 13 and FIG. 14 show a state when a machining shape of a type penetrating through a screw hole is further added. FIG. 12A shows a region shape on a plane perpendicular to the Z-axis of the machining shape set in the input window of FIG. FIG. 12 (c) is an example in which the Z position on the upper surface of the machining shape of the item to be automatically determined in the machining shape of the type penetrating through the screw hole of the input window is automatically set. The position shown in FIG. 13A is extracted based on the region shape and the processed material shape shown in FIG. Further, since the surface in contact with the region shape is the surface FP (1) having an attribute indicating that the surface is a pocket processing shape, the pocket processing shape and the screw hole processing shape as shown in FIG. 13B. Dependency is established between

さらに、加工素材形状の生成の際に、ねじ穴の加工形状が貫通するタイプのもので加工素材形状を基に深さ方向の領域が決まるものであるから、図14(a)に示すように加工素材形状を貫通する深さが決定され、図14(b)に示す加工素材形状が結果として得られる。   Furthermore, when the workpiece material shape is generated, the depth direction region is determined on the basis of the workpiece material shape in the type in which the machining shape of the screw hole penetrates, as shown in FIG. The depth penetrating the workpiece material shape is determined, and the workpiece material shape shown in FIG. 14B is obtained as a result.

図15にさらに加工形状データの修正を実施した様子を示す。図15(a)は既存の加工形状であるポケット加工形状の深さの変更(10.000[mm]→15.000[mm])を指示したものである。そして、ポケット加工形状の修正を終了した際に図15(b)に示す素材形状および加工形状間の依存関係から、ポケット加工形状に依存する加工形状であるねじ穴加工形状が抽出されその位置修正が実施される。そして、加工素材生成の際にねじ穴加工形状の深さが自動計算され、図15(c)に示す加工素材形状が結果として得られる。   FIG. 15 shows a state where the machining shape data is further corrected. FIG. 15A shows an instruction to change the depth of a pocket machining shape which is an existing machining shape (10.000 [mm] → 15.000 [mm]). When the correction of the pocket machining shape is completed, the screw hole machining shape that is the machining shape depending on the pocket machining shape is extracted from the dependency relationship between the material shape and the machining shape shown in FIG. Is implemented. Then, the depth of the threaded hole machining shape is automatically calculated when the machining material is generated, and the machining material shape shown in FIG. 15C is obtained as a result.

以上の加工形状データの入力においては、加工形状のZ軸に垂直な平面上の領域形状のデータを与えるだけで、加工形状の上面Z位置と共に素材形状および加工形状間の依存関係が設定されるので、加工形状の上面Z位置の入力の手間が省かれると共に、加工形状の修正を連動させるための追加の手間を必要としないで加工形状の連動した修正が可能となる。   In the input of the machining shape data described above, the dependency relationship between the material shape and the machining shape is set together with the upper surface Z position of the machining shape only by giving data of the area shape on the plane perpendicular to the Z axis of the machining shape. Therefore, the labor of inputting the upper surface Z position of the machining shape can be saved, and the correction of the machining shape can be performed without requiring additional labor for interlocking the modification of the machining shape.

図2のステップS206では、加工単位の入力を実施するか否かのオペレータ指示をチェックしており、加工単位の入力を実施する指示の場合はステップS207へ進み、そうでなければステップS208へ進む。   In step S206 in FIG. 2, an operator instruction for checking whether or not to input a machining unit is checked. If the instruction is to input a machining unit, the process proceeds to step S207. Otherwise, the process proceeds to step S208. .

ステップS207では、図1(a)の加工単位データ生成・編集部3において加工形状データ記憶部11に記憶された加工形状データを基に加工単位データが生成され加工単位データ記憶部12に格納される。図16に加工単位データ生成の様子を示す(加工単位展開工程:図1(b)の加工単位展開手段33)。加工単位は図16(b)に示すように加工領域形状、加工方法、使用工具、加工条件などの部分的な加工を実行するためのデータを含んだものである。図16(a)は加工形状と生成される加工単位との関係の例を示したものであり、ポケットの加工形状からは、ポケット荒加工とポケット仕上げ加工の加工単位が生成され、単純穴の加工形状からは、スポットドリル加工、ドリル加工の加工単位が生成され、ねじ穴の加工形状からは、スポットドリル加工、ドリル加工、タップ加工の加工単位が生成される。図2のステップS207の後は、ステップS216へ進む。   In step S207, machining unit data is generated based on the machining shape data stored in the machining shape data storage unit 11 in the machining unit data generation / editing unit 3 in FIG. 1A and stored in the machining unit data storage unit 12. The FIG. 16 shows a state of processing unit data generation (processing unit development step: processing unit development means 33 in FIG. 1B). The processing unit includes data for executing partial processing such as a processing region shape, a processing method, a tool used, and processing conditions as shown in FIG. FIG. 16A shows an example of the relationship between the machining shape and the machining unit to be generated. From the machining shape of the pocket, the machining unit for the pocket rough machining and the pocket finishing machining is generated. A processing unit for spot drilling and drilling is generated from the processing shape, and a processing unit for spot drilling, drilling, and tapping is generated from the processing shape of the screw hole. After step S207 in FIG. 2, the process proceeds to step S216.

ステップS208では、加工単位の使用工具や実行順番の編集を実施するか否かのオペレータ指示をチェックしており、編集を実施する指示の場合はステップS209へ進み、そうでない場合はステップS215へ進む。   In step S208, an operator instruction as to whether or not to edit the tool to be used in the processing unit and the execution order is checked. If the instruction is to perform editing, the process proceeds to step S209. If not, the process proceeds to step S215. .

ステップS209では、図1(a)の工具・加工順番編集部4において加工単位データ記憶部12に記憶された加工単位データから加工単位に対する使用工具のリストが加工単位の実行順番に表示され、オペレータからの指示に基づいて加工単位の使用工具の変更や加工単位の実行順番の変更が行われ、変更した加工単位データが加工単位データ記憶部12に格納される(加工単位調整工程:図1(b)の加工単位調整手段34)。   In step S209, the tool / machining order editing unit 4 in FIG. 1A displays a list of tools used for the machining units from the machining unit data stored in the machining unit data storage unit 12 in the order of execution of the machining units. Change of the tool used for the machining unit and the change of the execution order of the machining units are performed based on the instructions from, and the changed machining unit data is stored in the machining unit data storage unit 12 (machining unit adjustment step: FIG. b) processing unit adjusting means 34).

図17(a)は、加工単位と使用工具のリストを表示したものであり、加工単位の順番は図16(a)に示した加工形状から加工単位を生成した際のものとなっている。このままの順序で加工単位を実行した場合、単純穴のスポットドリル加工〜ねじ穴のドリル加工まで3回の直接加工に関与しない工具交換動作が必要となる。そこで、ねじ穴のスポットドリル加工と単純穴のドリル加工の順番を入れ替えることで同様の加工を1回の工具交換動作で行うことが可能となり、加工時間が短縮される。このように工具の交換動作を最小限に抑えることは加工時間を短縮する上で重要であり、この作業を図17に示すリスト表示上で行えるようにすることで使用工具の変更も含め作業が容易になる。図2のステップS209の後は、ステップS216へ進む。   FIG. 17A shows a list of machining units and tools used, and the order of machining units is that when machining units are generated from the machining shape shown in FIG. When the machining units are executed in this order, a tool change operation that does not involve three direct machining operations from spot drilling of a simple hole to drilling of a screw hole is required. Therefore, by changing the order of spot drilling of screw holes and drilling of simple holes, it is possible to perform the same processing with one tool change operation, and the processing time is shortened. In this way, minimizing the tool change operation is important for shortening the machining time, and by performing this work on the list display shown in FIG. It becomes easy. After step S209 in FIG. 2, the process proceeds to step S216.

ステップS215では、図1(a)のプログラム構成要素一覧表示部7上で表示対象を変更するか否かのオペレータ指示をチェックしており、表示対象を変更する指示の場合は図2のステップS216へ進み、そうでない場合はステップS201へ進む。   In step S215, an operator instruction for checking whether or not to change the display target is checked on the program component list display unit 7 in FIG. 1A, and in the case of an instruction to change the display target, step S216 in FIG. If not, the process proceeds to step S201.

ステップS216では、図1(a)の形状表示部6においてプログラム構成要素一覧表示部7から得られる表示対象情報を基に素材形状、加工素材形状あるいは加工素材形状と加工形状との組合せが3次元表示される。ステップS216の後はステップS201へ進む。   In step S216, based on the display target information obtained from the program component list display unit 7 in the shape display unit 6 in FIG. 1A, the material shape, the processed material shape, or the combination of the processed material shape and the processed shape is three-dimensional. Is displayed. After step S216, the process proceeds to step S201.

図18〜図19に本発明の自動プログラミング装置における表示画面の例を示す。図18(a)に示すように画面はプログラム構成要素一覧表示部7と形状表示部6とから構成され、プログラム構成要素一覧表示部7で選択状態の構成要素(素材形状、加工素材形状、加工形状、加工単位)に対応する形状が形状表示部6に3次元表示される。   18 to 19 show examples of display screens in the automatic programming apparatus of the present invention. As shown in FIG. 18 (a), the screen is composed of a program component list display unit 7 and a shape display unit 6. The program component list display unit 7 selects components (material shape, machining material shape, machining). The shape corresponding to the shape and processing unit) is three-dimensionally displayed on the shape display unit 6.

図2のステップS203における素材形状データの入力・設定の後では、図18(a)に示すようにプログラム構成要素一覧表示部7で素材形状が選択状態となり、形状表示部6に素材形状が表示される。   After the input and setting of the material shape data in step S203 of FIG. 2, the material shape is selected in the program component list display unit 7 as shown in FIG. 18A, and the material shape is displayed on the shape display unit 6. Is done.

図2のステップS205における加工形状データの入力・設定の後では、図18(b)に示すようにプログラム構成要素一覧表示部7で入力・設定された加工形状が選択状態となり、形状表示部6に加工素材形状と共に加工形状が表示される(加工素材形状のみを確認したい場合は、図19(a)に示すように、プログラム構成要素一覧表示部7で加工素材形状を選択することで形状表示部6に加工素材形状を表示させることができる)。加工素材形状と共に加工形状を表示することで、加工素材形状に対する加工形状の位置関係の確認が容易となり、確実な加工形状の入力・設定するためのオペレータの負担が軽減される。   After the input / setting of the machining shape data in step S205 in FIG. 2, the machining shape input / set in the program component list display unit 7 is selected as shown in FIG. 18B, and the shape display unit 6 The machining shape is displayed together with the machining material shape. (If only the machining material shape is to be confirmed, the shape is displayed by selecting the machining material shape in the program component list display section 7 as shown in FIG. 19A.) The processed material shape can be displayed on the part 6). By displaying the machining shape together with the machining material shape, it is easy to confirm the positional relationship of the machining shape with respect to the machining material shape, and the burden on the operator for inputting and setting a certain machining shape is reduced.

図2のステップS207における加工単位の生成・編集の後では、図19(b)に示すようにプログラム構成要素一覧表示部7で入力・設定された加工単位と関連する加工形状が選択状態となり、形状表示部6に加工素材形状と共に関連する加工形状が表示される。   After generation / editing of the machining unit in step S207 of FIG. 2, the machining shape related to the machining unit input / set in the program component list display unit 7 is selected as shown in FIG. The shape display unit 6 displays a processing shape related to the processing material shape.

図2のステップS209における加工単位の工具と加工順番の編集の後では、図20に示すようにプログラム構成要素一覧表示部7で編集された加工単位と関連する加工形状が選択状態となり、形状表示部6に加工素材形状と共に関連する加工形状が表示される。選択された加工単位に関連する加工形状を加工素材形状と共に表示することで、加工の順番に従った加工部位の確認が容易に行え、確実な加工順番を設定するためのオペレータの負担が軽減される。   After the editing of the machining unit tool and the machining order in step S209 in FIG. 2, the machining shape related to the machining unit edited in the program component list display unit 7 is selected as shown in FIG. The processing shape related to the processing material shape is displayed in the part 6. By displaying the machining shape related to the selected machining unit along with the machining material shape, it is easy to check the machining part according to the machining order, reducing the burden on the operator to set a reliable machining order. The

ステップS210では入力したプログラムを実行するか否かのオペレータ指示をチェックしており、プログラムを実行する指示の場合はステップS212へ進み、そうでない場合はステップS211へ進む。   In step S210, an operator instruction as to whether or not to execute the input program is checked. If the instruction is to execute the program, the process proceeds to step S212. If not, the process proceeds to step S211.

ステップS212〜ステップS214では図1(a)の制御指令生成部8において加工単位データ記憶部12に記憶されている加工単位データを一つずつ取り出して制御指令データを生成するループ処理を構成しており、ステップS213で取り出された加工単位データから制御指令データが生成され、制御装置の制御部へ出力される。   In steps S212 to S214, a loop process for generating the control command data by taking out the processing unit data stored in the processing unit data storage unit 12 one by one in the control command generation unit 8 of FIG. Thus, control command data is generated from the processing unit data extracted in step S213, and is output to the control unit of the control device.

ステップS211では、プログラム入力・実行操作を終了するか否かのオペレータ指示をチェックしており、プログラム入力・実行操作を終了する指示の場合は本自動プログラミング装置の動作を終了し、そうでない場合はステップS201へ進む。   In step S211, an operator instruction for checking whether or not to end the program input / execution operation is checked. If the instruction is to end the program input / execution operation, the operation of the automatic programming apparatus is ended. Proceed to step S201.

以上説明したように、本実施の形態の自動プログラミング装置は、素材形状データを入力・記憶する素材形状入力手段31と、加工形状データを入力・記憶する加工形状入力手段32と、加工形状毎に加工単位を展開する加工単位展開手段33と、使用工具の割当てと加工単位の実行順番を設定する加工単位調整手段34とを備えている。そのため、オペレータをプログラム入力前の加工工程の検討作業から開放し、図面を基に即座にプログラム入力を実施できるようにすることができる。   As described above, the automatic programming device according to the present embodiment includes the material shape input means 31 for inputting and storing the material shape data, the machining shape input means 32 for inputting and storing the machining shape data, and the machining shape for each machining shape. A processing unit expanding means 33 for expanding the processing units, and a processing unit adjusting means 34 for setting the allocation of used tools and the execution order of the processing units are provided. Therefore, it is possible to release the operator from the work of examining the machining process before inputting the program, and to immediately execute the program input based on the drawing.

そして、加工形状入力手段32は、加工形状の入力において、素材形状から加工形状を除去した加工素材形状を生成・記憶する加工素材形状生成手段32aと、加工形状を定義する寸法・位置情報を入力する加工形状定義情報入力手段32bと、加工形状定義情報入力手段32bで入力された定義情報と加工素材形状とから加工形状の種類に応じた特定方向位置を決定するための基準とする加工素材形状上の部位を抽出し、抽出した加工素材形状上の部位を基準として加工形状の配置を決定すると共に、抽出した加工素材形状上の部位に対応する素材形状または加工形状の部位と加工形状とに依存関係を与える加工形状配置決定手段32cと、加工形状の定義情報を修正する際に依存する加工形状の配置を連動して変更する加工形状連動修正手段32dとを備えている。そのため、プログラム入力において加工形状の種類に応じた特定方向の位置を入力する手間が省かれ、さらに加工形状間の依存関係の設定作業を行うことなく加工形状の連動した修正操作を行えるようになる。   The machining shape input means 32 inputs the machining material shape generating means 32a that generates and stores the machining material shape obtained by removing the machining shape from the material shape, and the dimension / position information that defines the machining shape when inputting the machining shape. Machining shape definition information input means 32b to be processed, and a machining material shape used as a reference for determining a specific direction position according to the type of machining shape from the definition information and machining material shape input by the machining shape definition information input means 32b The upper part is extracted, the layout of the machining shape is determined based on the extracted part on the processed material shape, and the material shape corresponding to the extracted part on the processed material shape or the processed shape part and the processed shape are determined. Machining shape interlocking correction for interlockingly changing the processing shape layout depending on the machining shape arrangement determining means 32c that gives the dependency relationship and the machining shape definition information. And a step 32d. This eliminates the need to input a position in a specific direction in accordance with the type of machining shape in program input, and allows a correction operation linked to the machining shape to be performed without setting a dependency between machining shapes. .

即ち、加工単位の種類に応じた加工形状の特定方向の位置情報が自動決定され入力の手間が省ける。加工形状の修正において関連する加工形状の修正も自動的に連動して行われ修正の手間が省け、さらに、連動させるための素材形状と加工形状または加工形状間の依存関係の設定が特別な操作なしに行える。   That is, position information in a specific direction of the machining shape corresponding to the type of machining unit is automatically determined, saving input. The correction of the machining shape related to machining shape correction is also automatically linked to save the trouble of the correction, and the operation of setting the dependency between the material shape and the machining shape or machining shape to be linked is a special operation Can be done without.

さらに、加工形状定義情報入力手段32bが、加工素材形状を貫通するタイプの加工形状を入力する際に、貫通する方向の寸法を加工素材形状を基に決定するので、貫通する方向の寸法を入力する手間を省くことができる。即ち、加工形状の特定方向の寸法について貫通する指示を与えることで寸法が自動決定され寸法入力の手間が省ける。   Furthermore, when the machining shape definition information input means 32b inputs a machining shape of a type that penetrates the workpiece material shape, the dimension in the penetration direction is determined based on the workpiece material shape, so the dimension in the penetration direction is input. This saves you time and effort. That is, by giving an instruction for penetrating the dimension of the machining shape in a specific direction, the dimension is automatically determined and the labor of inputting the dimension can be saved.

また、加工形状配置決定手段32cが、加工形状定義情報入力手段32bで入力された情報と加工素材形状とから加工形状の種類に応じた特定方向の位置を決定するため基準とする加工素材形状上の部位を抽出する際に、加工形状定義情報入力手段32bで入力された情報から加工形状の種類に応じた特定方向に垂直な面内の加工形状の領域形状を生成し、生成した領域形状を加工形状の種類に応じた方向と反対方向に加工素材形状から離れた位置から加工形状の種類に応じた方向に移動させた際に、領域形状が最初に接触する加工素材形状上の面を基準の部位として抽出するので、プログラム入力において加工形状の種類に応じた特定方向の位置を入力する手間を省くことができる。即ち、加工形状の特定方向の位置を決定するために基準となる適当な加工形状上の部位が得られ、特定方向の位置を自動決定できる。   Further, the machining shape arrangement determining unit 32c determines the position in a specific direction according to the type of machining shape from the information input by the machining shape definition information input unit 32b and the machining material shape. When extracting the part, a region shape of the processing shape in the plane perpendicular to the specific direction corresponding to the type of the processing shape is generated from the information input by the processing shape definition information input unit 32b, and the generated region shape is When moving from a position away from the workpiece shape in a direction opposite to the direction according to the type of machining shape to the direction according to the type of machining shape, the surface on the workpiece shape that the area shape first contacts is the reference Therefore, it is possible to save the trouble of inputting a position in a specific direction corresponding to the type of machining shape in program input. That is, a site on an appropriate machining shape serving as a reference for determining the position in the specific direction of the machining shape is obtained, and the position in the specific direction can be automatically determined.

また、入力済みの素材形状または加工形状の寸法・位置を修正する際に、寸法・位置の修正によって位置の変更される素材形状または加工形状の面に工具方向位置決定手段によって依存関係が与えられた加工形状が存在する場合に、位置の変更された素材形状または加工形状の面を基準として依存関係が与えられた加工形状の位置が更新され、さらに位置が更新された加工形状の面に依存関係が与えられた加工形状の位置も再帰的に更新されるので、加工形状の修正において、依存している加工形状の修正も連動して行われるようにし、修正作業の手間を省くことができる。   In addition, when correcting the dimensions / positions of the input material shape or machining shape, the tool direction position determining means gives a dependency relationship to the surface of the material shape or machining shape whose position is changed by the dimension / position correction. If there is a processed shape, the position of the processed shape with the dependency relationship is updated based on the material shape or the surface of the processed shape whose position has been changed, and the position depends on the surface of the processed shape that has been updated. Since the position of the machining shape to which the relationship has been given is also recursively updated, the machining shape that is dependent on the machining shape can be modified in conjunction with the machining shape, thereby eliminating the need for correction work. .

加工単位調整手段34が、加工単位名とその加工単位で使用する工具名とを含む情報を加工単位の実行順に表示させる加工単位リスト表示手段34aと、加工単位に対する工具を割当て・変更する工具編集手段34bと、加工単位リストの加工単位の順番を編集する加工単位順番編集手段34cとを備えているので、加工単位の工具の割当てと実行順番の調整作業を効率よく容易にすることができる。   The machining unit adjustment unit 34 displays a processing unit list display unit 34a for displaying information including a machining unit name and a tool name used in the machining unit in the execution order of the machining units, and tool editing for assigning / changing a tool to the machining unit. Since the means 34b and the machining unit order editing means 34c for editing the order of the machining units in the machining unit list are provided, it is possible to efficiently and easily perform the assignment of the tools of the machining units and the adjustment of the execution order.

さらに、本願発明は上記実施の形態に限定されるものではなく、実施段階ではその要旨を逸脱しない範囲で種々に変形することが可能である。また、上記実施の形態には種々の段階の発明が含まれており、開示される複数の構成要件における適宜な組み合わせにより種々の発明が抽出されうる。例えば、上記実施の形態に示される全構成要件からいくつかの構成要件が削除されても、発明が解決しようとする課題の欄で述べた課題が解決でき、発明の効果の欄で述べられている効果が得られる場合には、この構成要件が削除された構成が発明として抽出されうる。更に、異なる実施の形態にわたる構成要素を適宜組み合わせてもよい。   Furthermore, the present invention is not limited to the above-described embodiment, and various modifications can be made without departing from the scope of the invention in the implementation stage. Further, the above embodiments include inventions at various stages, and various inventions can be extracted by appropriately combining a plurality of disclosed constituent requirements. For example, even if some constituent requirements are deleted from all the constituent requirements shown in the above embodiment, the problem described in the column of the problem to be solved by the invention can be solved, and is described in the column of the effect of the invention. In the case where a certain effect can be obtained, a configuration from which this configuration requirement is deleted can be extracted as an invention. Furthermore, the constituent elements over different embodiments may be appropriately combined.

以上のように、本発明にかかる自動プログラミング装置およびその方法は、加工領域形
状、加工方法、使用工具、加工条件などのデータを含んだ部分的な加工を行うための加工
単位データが入力され、入力された加工単位データから工作機械を動作させるための制御
指令情報を生成する自動プログラミング装置およびその方法に適用されて好適なものであ
る。
As described above, in the automatic programming device and method according to the present invention, machining unit data for performing partial machining including data such as a machining area shape, a machining method, a tool used, and machining conditions is input. The present invention is suitably applied to an automatic programming apparatus and method for generating control command information for operating a machine tool from input machining unit data.

1 素材形状データ入力部
2 加工形状データ入力部
3 加工単位データ生成・編集部
4 工具・加工順番編集部
5 加工素材形状生成部
6 形状表示部
7 プログラム構成要素一覧表示部
8 制御指令生成部
9 素材形状データ記憶部
10 加工素材形状データ記憶部
11 加工形状データ記憶部
12 加工単位データ記憶部
31 素材形状入力手段
32 加工形状入力手段
32a 加工素材形状生成手段
32b 加工形状定義情報入力手段
32c 加工形状配置決定手段
32d 加工形状連動修正手段
33 加工単位展開手段
34 加工単位調整手段
34a 加工単位リスト表示手段
34b 工具編集手段
34c 加工単位順番編集手段
S201・・・S524 ステップ
DESCRIPTION OF SYMBOLS 1 Material shape data input part 2 Machining shape data input part 3 Machining unit data production | generation / edit part 4 Tool and machining order edit part 5 Work material shape generation part 6 Shape display part 7 Program component list display part 8 Control command generation part 9 Material shape data storage unit 10 Processing material shape data storage unit 11 Processing shape data storage unit 12 Processing unit data storage unit 31 Material shape input unit 32 Processing shape input unit 32a Processing material shape generation unit 32b Processing shape definition information input unit 32c Processing shape Arrangement determining means 32d Machining shape interlock correcting means 33 Machining unit expanding means 34 Machining unit adjusting means 34a Machining unit list displaying means 34b Tool editing means 34c Machining unit order editing means S201... S524 Steps

Claims (6)

加工領域形状、加工方法、使用工具及び加工条件のデータを含んだ部分的な加工を行うための加工単位データが入力され、入力された加工単位データを解析して工作機械を動作させるための制御指令データを生成する自動プログラミング装置において、
素材形状データを入力記憶する素材形状入力手段と、
加工形状データを入力記憶する加工形状入力手段と、
加工形状毎に加工単位を展開する加工単位展開手段と、
使用工具の割当てと加工単位の実行順番を設定する加工単位調整手段と、を備え、
前記加工形状入力手段が、
素材形状から既定義済みの加工形状を除去した加工素材形状を、前記加工素材形状の各面に素材形状の面であることを示す属性情報または既定義済みの加工形状の転写された面であることを示す属性情報を持たせて生成して記憶する加工素材形状生成手段と、
加工形状を定義する寸法及び位置情報を入力する加工形状定義情報入力手段と、
加工形状を定義する寸法及び位置情報で自動決定対象の項目について、定義される加工形状の面が前記加工素材形状の面に接する位置の値を算出して設定し、設定した値において定義される加工形状がそれに接する前記加工素材形状の面に付属する前記属性情報から認識される素材形状または既定義済みの加工形状の面に依存するという依存関係を設定する加工形状配置決定手段と、
前記寸法及び位置情報を修正した際に、前記設定された依存関係から修正した加工形状または素材形状の面に依存する加工形状を抽出し、抽出した加工形状について位置及び寸法を修正し、さらに前記設定された依存関係から位置及び寸法を修正した加工形状の面に依存する加工形状を抽出し、抽出した加工形状について位置及び寸法を修正することを繰り返す加工形状連動修正手段と、を含む
ことを特徴とする自動プログラミング装置。
Machining area shape, the processing method, the inputted machining unit data for performing a partial processing including the data of the tool to be used and processing conditions are, for operating the machine tool by analyzing the input processing unit data has been In an automatic programming device that generates control command data,
Material shape input means for inputting and storing material shape data;
Machining shape input means for inputting and storing machining shape data;
Processing unit expansion means for expanding a processing unit for each processing shape;
Processing unit adjustment means for setting the execution order of the allocation of the tool used and the processing unit,
The machining shape input means is
The processing material shape obtained by removing the predefined machining shape from the material shape is attribute information indicating that each surface of the machining material shape is a surface of the material shape or a surface to which the predefined machining shape is transferred. a processing material's shape generation means for storing generated to have attribute information indicating that,
Machining shape definition information input means for inputting dimension and position information defining the machining shape;
For the items to be automatically determined by the dimension and position information defining the machining shape, the value of the position where the surface of the machining shape to be defined touches the surface of the machining material shape is calculated and set, and is defined by the set value Machining shape arrangement determining means for setting a dependency relationship that the machining shape depends on the material shape recognized from the attribute information attached to the surface of the machining material shape that touches the machining shape or the surface of the predefined machining shape ;
Wherein upon modifying the dimensions and location information, the extracting set machining shape that depends on the surface of the processed shape or the material shape modified from the dependency relations, and correcting the position and dimensions for the extracted machining shape, further wherein Machining shape interlocking correction means for extracting a machining shape depending on the surface of the machining shape whose position and dimension have been corrected from the set dependency relationship, and repeatedly correcting the position and dimension of the extracted machining shape. Features automatic programming device.
前記加工形状入力手段が、前記加工素材形状を基に、前記加工素材形状を貫通する指示が与えられた方向の寸法決定する
ことを特徴とする請求項1記載の自動プログラミング装置。
The machining shape input means, said processing material's shape based on the processing material's shape automatic programming apparatus according to claim 1, wherein the determining the size of the direction towards which instruction is applied which penetrates the.
前記加工形状配置決定手段が、加工形状を定義する寸法及び位置情報で自動決定対象の項目について、定義される加工形状の面が前記加工素材形状の面に接する位置の値を算出する際に、入力された前記寸法及び位置情報から定義する加工形状の領域形状を生成し、生成した領域形状を前記加工素材形状から離れた位置から前記加工素材形状に近づける方向に移動させた際に、領域形状が最初に前記加工素材形状上の面に接す位置の値を算出する
ことを特徴とする請求項1記載の自動プログラミング装置。
When the machining shape arrangement determining means calculates the value of the position where the surface of the machining shape to be defined is in contact with the surface of the machining material shape for the item to be automatically determined by the dimension and position information defining the machining shape , when generating the area shape of the machining shape defined by the dimensions and position information is inputted, from a position away the generated area shape before Symbol processing material's shape is moved in a direction closer to the processing material's shape, area shape automatic programming apparatus of the first said calculating a value of the position that Sessu the surface on processing material's shape to said claim 1, wherein.
前記加工形状配置決定手段が、加工形状を定義する寸法及び位置情報で自動決定対象の項目について、定義される加工形状の面が前記加工素材形状の面に接する位置の値を算出する際に、定義する加工形状が前記加工素材形状上2枚以上の面に接する位置の値を算出する
ことを特徴とする請求項1記載の自動プログラミング装置。
When the machining shape arrangement determining means calculates the value of the position where the surface of the machining shape to be defined is in contact with the surface of the machining material shape for the item to be automatically determined by the dimension and position information defining the machining shape , The automatic programming device according to claim 1, wherein a value of a position at which a machining shape to be defined contacts two or more surfaces on the machining material shape is calculated .
前記加工単位調整手段が、
加工単位名と前記加工単位名で示される加工単位で使用する工具名とを少なくとも含む情報を加工単位の実行順に表示させる加工単位リスト表示手段と、
加工単位に対する工具を割当て及び変更する工具編集手段と、
加工単位リストの加工単位の順番を編集する加工単位順番編集手段と、
を備える
ことを特徴とする請求項1記載の自動プログラミング装置。
The processing unit adjusting means is
A machining unit list display means for displaying information including at least a machining unit name and a tool name used in the machining unit indicated by the machining unit name in the execution order of the machining units;
Tool editing means for assigning and changing a tool for a machining unit;
Processing unit order editing means for editing the order of processing units in the processing unit list;
The automatic programming device according to claim 1, further comprising:
加工領域形状、加工方法、使用工具及び加工条件のデータを含んだ部分的な加工を行うための加工単位データが入力され、入力された加工単位データを解析して工作機械を動作させるための制御指令データを生成する自動プログラミング方法において、
素材形状データを入力記憶する素材形状入力工程と、
加工形状データを入力記憶する加工形状入力工程と、
加工形状毎に加工単位を展開する加工単位展開工程と、
使用工具の割当てと加工単位の実行順番を設定する加工単位調整工程と、を備え、
前記加工形状入力工程では、
素材形状から既定義済みの加工形状を除去した加工素材形状を、前記加工素材形状の各面に素材形状の面であることを示す属性情報または既定義済みの加工形状の転写された面であることを示す属性情報を持たせて生成して記憶し、
加工形状を定義する寸法及び位置情報を入力し、
加工形状を定義する寸法及び位置情報で自動決定対象の項目について、定義される加工形状の面が前記加工素材形状の面に接する位置の値を算出して設定し、設定した値において定義される加工形状がそれに接する前記加工素材形状の面に付属する前記属性情報から認識される素材形状または既定義済みの加工形状の面に依存するという依存関係を設定し、
前記寸法及び位置情報を修正した際に、前記設定された依存関係から修正した加工形状または素材形状の面に依存する加工形状を抽出し、抽出した加工形状について位置及び寸法を修正し、さらに前記設定された依存関係から位置及び寸法を修正した加工形状の面に依存する加工形状を抽出し、抽出した加工形状について位置及び寸法を修正することを繰り返す、
ことを特徴とする自動プログラミング方法。
Machining area shape, the processing method, the inputted machining unit data for performing a partial processing including the data of the tool to be used and processing conditions are, for operating the machine tool by analyzing the input processing unit data has been In an automatic programming method for generating control command data,
A material shape input process for inputting and storing material shape data;
Machining shape input process for inputting and storing machining shape data;
Machining unit expansion process for expanding processing units for each processing shape;
A process unit adjustment process for setting the execution order of tool allocation and process unit,
In the machining shape input step,
The processing material shape obtained by removing the predefined machining shape from the material shape is attribute information indicating that each surface of the machining material shape is a surface of the material shape or a surface to which the predefined machining shape is transferred. Generated and stored with attribute information indicating that,
Enter the dimension and position information that defines the machining shape,
For the items to be automatically determined by the dimension and position information defining the machining shape, the value of the position where the surface of the machining shape to be defined touches the surface of the machining material shape is calculated and set, and is defined by the set value Set the dependency that the machining shape depends on the material shape recognized from the attribute information attached to the surface of the machining material shape that touches it or the surface of the predefined machining shape ,
Wherein upon modifying the dimensions and location information, the extracting set machining shape that depends on the surface of the processed shape or the material shape modified from the dependency relations, and correcting the position and dimensions for the extracted machining shape, further wherein Extracting the machining shape that depends on the surface of the machining shape whose position and dimension have been corrected from the set dependency relationship , and repeatedly correcting the position and dimension for the extracted machining shape,
An automatic programming method characterized by that.
JP2012053676A 2011-03-10 2012-03-09 Automatic programming apparatus and method Active JP5734228B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2012053676A JP5734228B2 (en) 2011-03-10 2012-03-09 Automatic programming apparatus and method

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP2011053058 2011-03-10
JP2011053058 2011-03-10
JP2012053676A JP5734228B2 (en) 2011-03-10 2012-03-09 Automatic programming apparatus and method

Publications (2)

Publication Number Publication Date
JP2012198887A JP2012198887A (en) 2012-10-18
JP5734228B2 true JP5734228B2 (en) 2015-06-17

Family

ID=47180997

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2012053676A Active JP5734228B2 (en) 2011-03-10 2012-03-09 Automatic programming apparatus and method

Country Status (1)

Country Link
JP (1) JP5734228B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105103066B (en) * 2013-04-12 2017-12-15 三菱电机株式会社 Numerical control program editing device, numerical control program edit methods and program
JP6425718B2 (en) * 2014-05-20 2018-11-21 株式会社日立製作所 Assembly teaching device and method

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01311372A (en) * 1988-06-10 1989-12-15 Fanuc Ltd Method for defining working shape
JP2606460B2 (en) * 1991-02-21 1997-05-07 三菱電機株式会社 Data generation method for CAD / CAM device
JPH10268917A (en) * 1993-04-23 1998-10-09 Mitsubishi Electric Corp Numerical controller for woodworking machine
JP3347964B2 (en) * 1997-01-17 2002-11-20 三菱電機株式会社 Automatic programming device and method

Also Published As

Publication number Publication date
JP2012198887A (en) 2012-10-18

Similar Documents

Publication Publication Date Title
JP5925976B1 (en) Machining program editing support device
JP6022393B2 (en) Welding line information setting device, program, automatic teaching system, and welding line information setting method
JP6441262B2 (en) Machining program editing apparatus, method, and editing program
US20160011584A1 (en) Numerical-control machining-program creation device
JP6351738B2 (en) Machine tool controller
WO2019130412A1 (en) Machining program modification device and machining program modification method
JP5020412B1 (en) Automatic programming device and control command generation method
JP6122046B2 (en) Numerical control device that can partially correct the machining cycle
JP5734228B2 (en) Automatic programming apparatus and method
US10994381B2 (en) Controller, data generation device, control method, and control program
JP6150805B2 (en) Data processing apparatus, method executed by data processing apparatus, and non-volatile computer-readable medium in which instructions executable by data processing apparatus are encoded
JP5274714B1 (en) Machining program generation device, machining program generation method, and machining program generation program
KR20190082118A (en) Method of designing perforation of building materials with steel structure
JP6022394B2 (en) Work route information setting device, program, and work route information setting method
JP7339069B2 (en) Machining program generation support device
JP2007233762A (en) Automatic setting method and automatic setting device of metal die manufacturing process
JP7290452B2 (en) Grinding program generation device and grinding program generation method
JP2836633B2 (en) Machining process decision device in numerical control information creation function
JP6687582B2 (en) Information processing equipment
EP3336630A1 (en) Nc program transfer apparatus
JP2005266895A (en) Working shape plotting device and method therefor
JP2584356B2 (en) Method of generating machining program in CAD / CAM device
JPH02212904A (en) Programming device
JPH03201010A (en) Numerical controller
JP2019032799A (en) Design support system

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20130927

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20140624

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20140626

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20140822

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20150317

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20150414

R150 Certificate of patent or registration of utility model

Ref document number: 5734228

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250