JPS62231311A - Interactive automatic programming device - Google Patents

Interactive automatic programming device

Info

Publication number
JPS62231311A
JPS62231311A JP7343986A JP7343986A JPS62231311A JP S62231311 A JPS62231311 A JP S62231311A JP 7343986 A JP7343986 A JP 7343986A JP 7343986 A JP7343986 A JP 7343986A JP S62231311 A JPS62231311 A JP S62231311A
Authority
JP
Japan
Prior art keywords
tool
machining
diameter
working
magazine
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
JP7343986A
Other languages
Japanese (ja)
Inventor
Tetsuo Matsuzaki
松崎 哲夫
Shigeru Doi
茂 土井
Masaki Yamamoto
勝紀 山本
Masaaki Kobayakawa
小早川 正昭
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.)
Toyoda Koki KK
Original Assignee
Toyoda Koki KK
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 Toyoda Koki KK filed Critical Toyoda Koki KK
Priority to JP7343986A priority Critical patent/JPS62231311A/en
Publication of JPS62231311A publication Critical patent/JPS62231311A/en
Pending legal-status Critical Current

Links

Landscapes

  • Numerical Control (AREA)

Abstract

PURPOSE:To execute an automatic programming interactively and efficiently by determining a working classification from workpiece information inputted interactively, retrieving a corresponding tool from a tool magazine and displaying it at a display. CONSTITUTION:A machine tool main body 10 to be able to execute a drilling, and a numerical control device 30 including working a tool file memory part, a diameter input device, a tool selecting device and a working program preparing device are provided. First, a work piece material is interactively to a central processing unit MPU 391, the working classification is selected, and the necessary conditions of the drilling the surface working and the side surface working are set. In case of the drilling, respective types of the working hole are inputted based upon the manufacturing drawing. Thereafter, the MPU 391, when the equivalent tool is decided to be at a tool magazine 17, displays a tool control number, a tool name, etc., on display 33, and when the tool is not at the magazine, the tool of the range set by a tolerance parameter beforehand is retrieved by the magazine 17. Thereafter, the MPU 391 executes automatically the programming interactively.

Description

【発明の詳細な説明】 [産業上の利用分野] 本発明は、数値制御工作機械のプログラムを対話形式で
作成する対話形自動プログラミング装置に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to an interactive automatic programming device that creates programs for numerically controlled machine tools in an interactive manner.

し従来の技術1 数値制御工作機械と別体又は併設される従来の対話形自
動プログラミング装置は、工作機械の工具マガジンに収
納される工具の管理番8を少なくとも記憶する工具ファ
イル記憶部と、工作物加工に使用する工具の管理番号を
入力する管理番号入力手段と、管理番号入力手段から工
具の管理番号が入力されたとき管理番号に対応した加工
工具を該工具ファイル記憶部から検索する工具選択手段
と、工具選択手段からの加工工具の情報に応じて数値制
m′fj装置に指令すべき加工に関連した数値データを
作成する加工プログラム作成手段とから構成されている
Prior Art 1 A conventional interactive automatic programming device installed separately or in conjunction with a numerically controlled machine tool has a tool file storage section that stores at least the management number 8 of the tools stored in the tool magazine of the machine tool, and A control number input means for inputting a control number of a tool used for material processing, and a tool selection device for searching a processing tool corresponding to the control number from the tool file storage unit when the control number of the tool is input from the control number input means. and a machining program creation means for creating numerical data related to the machining to be instructed to the numerical control m'fj device in accordance with the machining tool information from the tool selection means.

[発明の解決しようとする問題点] この対話形自動プログラミング装置では、工作物の加工
に使用する工具を工具の管理番号で入力している。従っ
て、製作図面から穴径を読取り、この穴径に対応する工
具の情理番号をあらかじめ作られた一覧表から検索対照
し、この検索対照した管理番号を管理番号入力手段、即
ちキーボードから入力している。つまり、一種類の穴径
を入力するのに、製作図面からの読取り、検索対照、入
力の3工程を要している。これらの中でも、この検索対
照の作業が至ってやっかいな作業であるために管理番号
をキーボードから入力するのに相当の工数を必要とする
。つまり、従来の対話形自動プログラミング装置を用い
た加工の生産性がよくない場合がある。
[Problems to be Solved by the Invention] In this interactive automatic programming device, the tool used to process a workpiece is input using the tool management number. Therefore, the hole diameter is read from the manufacturing drawing, the information number of the tool corresponding to this hole diameter is searched and compared from a pre-made list, and the searched and compared control number is inputted from the control number input means, that is, the keyboard. There is. In other words, inputting one type of hole diameter requires three steps: reading from the manufacturing drawing, searching and comparing, and inputting. Among these, this search comparison operation is extremely troublesome and requires a considerable amount of man-hours to input the management number from the keyboard. In other words, the productivity of machining using the conventional interactive automatic programming device may not be good.

そこで、本発明は工作物の加工条件が容易に入力できる
対話形自動プログラミング装置を提供することを目的と
する。
SUMMARY OF THE INVENTION Therefore, an object of the present invention is to provide an interactive automatic programming device that allows easy input of machining conditions for a workpiece.

[問題点を解決するための手段] 本発明の対話形自動プログラミング装置は、対話形式で
入力された工作物の加工情報から数値制御装置に指令す
る加工プログラムを作成する対話形自動プログラミング
装置であって、 工作機械の工具マガジンに収納される工具の種別および
該工具の管理番号を少なくとも記憶する工具ファイル記
憶部と、工作物に加工される穴加工の加工径を入力する
加工径入力手段と、該加工径入力手段から穴加工の加工
径が入力されたとき、該加工径に対応した加工工具を該
工具ファイル記憶部から検索する工具選択手段と、該工
具選択手段からの加工工具の情報に応じて、数値制御装
置に指令すべき加工に関連した数値データを作成する加
工プログラム作成手段とを備えたことを特徴とする。
[Means for Solving the Problems] The interactive automatic programming device of the present invention is an interactive automatic programming device that creates a machining program to be commanded to a numerical control device from machining information of a workpiece that is input in an interactive manner. a tool file storage unit that stores at least the type of tool stored in the tool magazine of the machine tool and the management number of the tool; and a machining diameter input means that inputs the machining diameter of a hole to be machined in the workpiece. When a machining diameter for hole machining is input from the machining diameter input means, a tool selection means searches for a machining tool corresponding to the machining diameter from the tool file storage unit, and information on the machining tool from the tool selection means is provided. Accordingly, the present invention is characterized by comprising machining program creation means for creating numerical data related to machining to be instructed to the numerical control device.

即ち、本発明の対話形自動プログラミング装置は、工具
ファイル記憶部と、加工径入力手段と、工具選択手段と
、加工プログラム作成手段とから構成されている。
That is, the interactive automatic programming device of the present invention is comprised of a tool file storage section, a machining diameter input means, a tool selection means, and a machining program creation means.

工具ファイル記憶部は、工作機械の工具マガジンに収納
される工具の種別および工具の管理番号を少なくとも記
憶する装置である。この工具ファイル記憶部としては、
例えば、従来のランダムアクセスメモリ、磁気ディスク
等が利用できる。
The tool file storage unit is a device that stores at least the type of tool and the management number of the tool stored in the tool magazine of the machine tool. This tool file storage section is as follows:
For example, conventional random access memory, magnetic disks, etc. can be used.

加工径入力手段は、工作物に加工される穴加工の加工径
を入力する手段である。この加工径入力手段としては、
例えば、従来のキーボード、或は音声認識装置等が利用
できる。
The machining diameter input means is means for inputting the machining diameter of a hole to be machined on a workpiece. As a means of inputting this machining diameter,
For example, a conventional keyboard or voice recognition device can be used.

工具選択手段は、加工径入力手段から穴加工の加工径が
入力されたとき、加工径に対応した加工工具を工具ファ
イル記憶部から検索する装置である。そして、この対話
形自動プログラミング装置の機能を向上させるには、工
具選択手段が、工具ファイル記憶部に加工径入力手段か
ら入力された加工径と同一の加工工具が無いと判定した
ときは、この加工径に対して所定公差内の加工工具を選
択する機能、該当加工工具が烈いことを表示づる機能の
少なくともいずれか一方の機能をもつのが望ましい。
The tool selection means is a device that searches the tool file storage section for a machining tool corresponding to the machining diameter when the machining diameter for hole machining is input from the machining diameter input means. In order to improve the functionality of this interactive automatic programming device, when the tool selection means determines that there is no machining tool with the same machining diameter inputted from the machining diameter input means in the tool file storage section, It is desirable to have at least one of the functions of selecting a machining tool within a predetermined tolerance with respect to the machining diameter, and a function of displaying that the corresponding machining tool is sharp.

加工プログラム作成手段は、工具選択手段からの加工工
具の情報に応じて、数値制御装置に指令すべき加工に関
連した数値データを作成する装置である。
The machining program creation means is a device that creates numerical data related to machining to be commanded to the numerical control device in accordance with information on the machining tool from the tool selection means.

[作用] 本発明の対話・形自動プログラミング装置は、工具ファ
イル記憶部と、加工径入力手段と、工具選択手段と、加
工プログラム作成手段とから構成されている。
[Operation] The interactive/shape automatic programming device of the present invention is comprised of a tool file storage section, a machining diameter input means, a tool selection means, and a machining program creation means.

この対話形自動プログラミング装置で、対話形式で工作
物の加工情報を入力し、数値制御装置に指令する加工プ
ログラムを作成する場合について考えてみる。
Let us consider a case in which machining information for a workpiece is input in an interactive manner using this interactive automatic programming device to create a machining program to be commanded to a numerical control device.

工具ファイル記憶部は、工作機械の工具マガジンに収納
される工具の種別および工具の管埋番号を少なくとも記
憶している。作業者は加工径入力手段から工作物に加工
しようとJる穴加工の加工径を入力する。そして、加工
径入力手段から穴加工の加工径が入力されたとき、工具
選択手段は、この加工径に対応した加工工具を工具ファ
イル記憶部から検索する。加工プログラム作成手段は、
工具選択手段からの加工工具の情報に応じて、数値制御
装置に指令すべき加工にfill連した数値データを作
成する。従って、従来のように図面上で指定された穴加
工するときに、加工工具の呼び径と工具管理番号を対照
する必要がないために工作物加工の生産性が向上する。
The tool file storage unit stores at least the type of tool and the tool number stored in the tool magazine of the machine tool. The operator inputs the machining diameter of the hole to be machined on the workpiece using the machining diameter input means. Then, when a machining diameter for hole machining is input from the machining diameter input means, the tool selection means searches the tool file storage section for a machining tool corresponding to this machining diameter. The machining program creation means is
In accordance with the machining tool information from the tool selection means, numerical data related to the machining to be instructed to the numerical control device is created. Therefore, when drilling a hole specified on a drawing as in the past, there is no need to compare the nominal diameter of the processing tool and the tool management number, thereby improving the productivity of workpiece processing.

(実施例〕 以下、本発明の対話形自動プログラミング装置を具体的
な実施例に基づいて説明づる。
(Embodiments) Hereinafter, the interactive automatic programming device of the present invention will be explained based on specific embodiments.

本実施例は、マシンニング型の数値制御工作機械に配設
され、工作機械本体を制御する数値制御装置に設けられ
る従来の対話形自動プログラミング装置に本発明の対話
形自動プログラミング装置を適用したものである。
In this embodiment, the interactive automatic programming device of the present invention is applied to a conventional interactive automatic programming device installed in a numerical control device that is installed in a machining type numerically controlled machine tool and controls the machine tool body. It is.

この数値制御工作機械は、そのブロックダイアグラムを
第1図に示すように、ドリル加工が可能な工作機械本体
10と、対話形式で加工データを入力し、工具ファイル
記憶部、加工径入力手段、工具選択手段、加工プログラ
ム作成手段をもつ数値制御装置30とから構成されてい
る。
As shown in the block diagram of FIG. 1, this numerically controlled machine tool includes a machine tool main body 10 capable of drilling, inputting machining data in an interactive manner, a tool file storage section, a machining diameter input means, a tool It is comprised of a numerical control device 30 having selection means and machining program creation means.

工作機械本体10は、マシニングセンタ形のものであり
、基台11と、この基台11の上下方向に摺動可能に保
持される主軸ヘッド13と、主軸ヘッド13に軸架され
る主軸15と、基台11に保持され、加工工具を収納す
る工具マガジン17と、回路の割り出し装置とでこの工
具マガジン17の加工工具を選択的に主軸に相互に装着
または着脱する工具交換装置19と、基台11に前後方
向に摺動可能に保持されその上面で工作物90を支持す
る工作物テーブル21と、主軸ヘッド13を上下方向に
駆動するサーボモータ23と、工作物テーブル21をそ
れぞれX軸、Y軸方向に駆動するサーボモータ25.2
7とで主として構成されている。
The machine tool main body 10 is of a machining center type, and includes a base 11, a spindle head 13 that is slidably held in the vertical direction of the base 11, and a spindle 15 that is mounted on the spindle head 13. A tool magazine 17 that is held on the base 11 and stores machining tools; a tool changer 19 that selectively attaches or detaches machining tools from the tool magazine 17 to or from the spindle using a circuit indexing device; and a base. A workpiece table 21 that is slidably held in the front and back direction by a servo motor 23 that drives the spindle head 13 in the vertical direction, and a servo motor 23 that drives the spindle head 13 in the vertical direction. Axially driven servo motor 25.2
It is mainly composed of 7.

数値制御装置30は、加工径入力手段等を兼ねるキーボ
ード31と、対話形式で加工データを入力したりアラー
ム表示等を表示するCRTディスプレイ33と、サーボ
モータ駆動回路351.353.355に指令パルスを
供給するパルス発生回路35、シーケンス回路37、こ
れら各装置と回路のインタフェースを介して接続される
中央処理装置39とで主として構成されている。
The numerical control device 30 sends command pulses to a keyboard 31 that also serves as a machining diameter input means, a CRT display 33 that inputs machining data in an interactive format and displays alarms, etc., and servo motor drive circuits 351, 353, and 355. It mainly consists of a pulse generation circuit 35, a sequence circuit 37, and a central processing unit 39 connected to each of these devices via a circuit interface.

この中央処理装置39は、キーボード31によって入力
された情報に基づいて工具ファイル記憶部、加工径入力
手段、工具選択手段、加工プログラム作成手段の機能を
備えたマイクロプロセッサ391(以下、MPU391
と略記(る)、固定サイクルプログラム(深穴穴明は加
工サイクルのプログラム)等を記憶する読出専用メモリ
393、工具ファイルを記憶しバッテリバックアップさ
れ不揮発化されたランダムアクセスメモリ395、バッ
ファ用ランダムアクセスメモリ397とで構成されてい
る。
This central processing unit 39 includes a microprocessor 391 (hereinafter referred to as MPU 391
A read-only memory 393 that stores fixed cycle programs (deep hole Akira is a machining cycle program), a random access memory 395 that stores tool files and is battery-backed and non-volatile, and a random access memory for buffers. It is composed of a memory 397.

以下、本実施例の作用をMPU391が実行するプログ
ラムを示す各種フローチャートを用いて説明する。
The operation of this embodiment will be described below using various flowcharts showing programs executed by the MPU 391.

まずMPU391がプログラミングする過程を第2図で
示される自動プログラムのフローチャート、第5図で示
される工作物加工の加工プログラムのフローチャートに
従って説明を行う。
First, the programming process performed by the MPU 391 will be explained in accordance with the flowchart of the automatic program shown in FIG. 2 and the flowchart of the machining program for machining a workpiece shown in FIG.

この自動プログラムは、各種加工データを入力するプロ
グラムである。MPU391は、この自動プログラムを
、数値制御l装置l#30で入力モードの自動プログラ
ムモードが選択されたときにステップ100より実行す
る。即ち、ステップ100.102.104でそれぞれ
素材形状定義、工作物取付位置定義、加工定義の各ザブ
プし1グラムが実行される。これらの内、ステップ10
0.102でそれぞれ実行される素材形状定義、工作物
取付位置定義のサブプログラムは、従来の対話形数値制
御工作機械で行われるものどほぼ同様である。
This automatic program is a program for inputting various processing data. The MPU 391 executes this automatic program from step 100 when the automatic program mode of the input mode is selected in the numerical control device l#30. That is, in steps 100, 102, and 104, one program each of the material shape definition, workpiece mounting position definition, and machining definition is executed. Among these, step 10
The subprograms for defining the material shape and defining the mounting position of the workpiece, respectively executed in the 0.102, are almost the same as those executed in conventional interactive numerically controlled machine tools.

従ってその説明は省略する。又、ステップ104で実行
される加工の定義サブプログラムも従来のもの同様であ
るが、これについては以下、簡単に説明する。
Therefore, the explanation thereof will be omitted. Furthermore, the machining definition subprogram executed in step 104 is the same as the conventional one, and will be briefly explained below.

この加工の定義サブプログラムは、その要部フローチャ
ートを第3図に示すように、自動プログラムからコール
されるとステップ120より実行を開始する。
The processing definition subprogram starts execution at step 120 when called from the automatic program, as shown in the main flowchart of FIG.

即ち、ステップ120で工作物の材質が対話形式で入力
され、加工種別が選択され、この加工種別の選択に応じ
てステップ122.140,142.144.146.
148で穴あけ加工、平面加工、側面加工、ポケット加
工、自動化機能、NC言語に応じて必要な加工条件が設
定される。
That is, in step 120, the material of the workpiece is inputted in an interactive format, the type of machining is selected, and steps 122, 140, 142, 144, 146, .
In step 148, necessary machining conditions are set according to hole machining, plane machining, side machining, pocket machining, automation functions, and NC language.

以下、−例として穴あけ加工に伴う作業についてのみ説
明し、他のものについては省略する。
Hereinafter, only the work associated with drilling will be explained as an example, and other work will be omitted.

穴あけ加工が選択されると、加工穴に関するデータを入
力するステップ124に移行する。このステップでは作
業者により、製作図面に基づいて加工しようとする加工
穴の各種条件が入力される。
When drilling is selected, the process moves to step 124 in which data regarding the drilled hole is input. In this step, the operator inputs various conditions for the hole to be machined based on the production drawing.

この様子はCRTディスプレイの表示である第4図で示
す。
This situation is shown in FIG. 4, which is a display on a CRT display.

ここでは、まずZ軸のおけるワーク面がZ軸における7
座標Bを定義する。通常はこの7座標Bはアブソリュト
な座標系として定義される。次にこのワーク面に明けら
れる加工穴の有効深さWをこのZ軸座標系で定義される
。そして、加工部に而取りするか否かを定義する。而取
りする場合はその外径Cが入力されるが、面取りをしな
い場合には改行キーのみを押す。そして、この1番目の
穴加工が修了して次の穴加工をするためにX座標、Y座
標に応じて移動させるために主軸を上方に復帰させる1
点復帰座標■を定義する。最後に、加工穴の穴径、即ち
、呼び径Eを定義する。
Here, first, the work surface on the Z axis is 7
Define coordinate B. Normally, these seven coordinates B are defined as an absolute coordinate system. Next, the effective depth W of the machined hole drilled in this work surface is defined using this Z-axis coordinate system. Then, it is defined whether or not to take it to the processing section. If chamfering is to be performed, the outer diameter C is input, but if chamfering is not to be performed, only the line feed key is pressed. After completing this first hole machining, the main shaft is returned upward in order to move according to the X and Y coordinates in order to perform the next hole machining.
Define the point return coordinate ■. Finally, define the hole diameter of the machined hole, that is, the nominal diameter E.

このようにして穴あけ加工の定義がCRTディスプレイ
上で対話形式で行われる。
In this way, the drilling process is defined interactively on the CRT display.

さて第3図に戻り、穴あけ加工の定義がすべて終了する
と、MPU391は次ステツプ126に移行する。ここ
では、ステップ122で入力された各データにより工具
マガジンから選択される加工工具が決定される。
Now, returning to FIG. 3, when all the definitions of the drilling process are completed, the MPU 391 moves to the next step 126. Here, the machining tool to be selected from the tool magazine is determined based on each data input in step 122.

この様子をMPU391が実行J−る工具選択プログラ
ムを示す第5図のフローチャートに従って説明する。
This situation will be explained with reference to the flowchart of FIG. 5 showing the tool selection program executed by the MPU 391.

MPU391は工具選択プログラムをコールするとステ
ップ180より実行を開始する。ステップ180では工
具の種類が判定される。その後、ステップ182に移行
し、呼び径から所定の工具が検索される。この検索は、
ランダムアクセスメモリ397上に、例えば、表のよう
に工具ファイルが記憶されている。
When the MPU 391 calls the tool selection program, execution starts from step 180. At step 180, the type of tool is determined. Thereafter, the process moves to step 182, where a predetermined tool is searched based on the nominal diameter. This search
On the random access memory 397, tool files are stored, for example, in the form of a table.

以下、この工具ファイルについて説明する。This tool file will be explained below.

工具ファイルは、各工具データをメモリへ登録したり訂
正するときに呼びだすための通し番号、ツールホルダ一
つまりマガジン番号、このマガジンに収納される工具名
および呼び径、工作物の材質、工具交換時に必要とする
Tコード、オフセット聞を設定するための径補正Dコー
ドおよび長さ補正ト1コード、小径/ピッチ、工具の刃
数、角度/定寸邑、刃長、刃先位置補正係数等の各種デ
ータから構成されている。
The tool file contains the serial number to be recalled when registering or correcting each tool data in memory, the tool holder or magazine number, the name and nominal diameter of the tool stored in this magazine, the material of the workpiece, and when changing the tool. Various information such as the required T code, diameter correction D code and length correction code for setting the offset distance, small diameter/pitch, number of tool teeth, angle/sizing, blade length, cutting edge position correction coefficient, etc. It consists of data.

−1c+− そして、ステップ184では、該当する工具がマガジン
にあるか否かを判定する。該当する工具がマガジンにあ
ると判定した時には、ステップ192にジャンプし工具
内容、即ち、工具管理番号と工具名がCRTディスプレ
イ33上に表示される。しかしキーボード31で指定さ
れた呼び径の工具が工具マガジン17に無いと判定した
ときにはステップ186が実行され、あらかじめ公差パ
ラメータで設定された範囲内の工具を同工具マガジン1
7から検索する。この公差は加工しようとする工作物に
応じて設定される。
-1c+- Then, in step 184, it is determined whether the corresponding tool is in the magazine. When it is determined that the corresponding tool is in the magazine, the process jumps to step 192 and the contents of the tool, that is, the tool management number and tool name, are displayed on the CRT display 33. However, when it is determined that the tool with the nominal diameter specified on the keyboard 31 is not in the tool magazine 17, step 186 is executed, and a tool within the range set in advance by the tolerance parameter is stored in the tool magazine 17.
Search from 7. This tolerance is set depending on the workpiece to be machined.

この結果はステップ190で判定され、該当工具があれ
ば前述したステップ192を実行するが、該当工具がな
いと判定したときにはステップ196にジャンプし、該
当工具が工具マガジン17に無いことをT=Oで表示す
る。
This result is determined in step 190, and if the applicable tool exists, the above-mentioned step 192 is executed, but if it is determined that the applicable tool does not exist, the process jumps to step 196, and it is determined that the applicable tool is not in the tool magazine 17. Display in .

このようにしてステップ126で加工工具が検索され、
その結果がCRTディスプレイ上に表示されると、MP
U391は、ステップ128の切削条件自動決定のサブ
プログラムを実行する。こ−1つ− のサブプログラムは従来のものと同様であるためその説
明を省略するが、ここでは以下に述べるようなものが決
定される。即ち、第4図でも示される切削油かエアーの
選択M1切り変え深さ7点の11A、1回の切込みff
1J1微少逃げIK、タマリ逃げ量USR点座標R,Z
点座標Z1ドウエルD1主軸回転数81送り速度Fが自
動的に求められる。
In this way, the processing tool is searched for in step 126,
When the results are displayed on the CRT display, the MP
U391 executes the subprogram of automatic determination of cutting conditions in step 128. This one subprogram is the same as the conventional one, so its explanation will be omitted, but the one described below is determined here. That is, selection of cutting oil or air as shown in FIG. 4 M1 cutting depth 7 points 11A, one cutting ff
1J1 Slight relief IK, temporary relief amount USR point coordinates R, Z
Point coordinates Z1 dwell D1 spindle rotation speed 81 feed rate F are automatically determined.

この後MPU391はステップ130を実行する。After this, the MPU 391 executes step 130.

このステップ130でこの呼び径のドリルの条件で加工
するすべての穴のX座標、Y座標が入力され、すべての
穴位置の入力が終了すると、ステップ132に移・行し
、この加工工具による入力がセットされ、ステップ12
0にジャンプする。
In this step 130, the X and Y coordinates of all the holes to be machined under the conditions of the drill with this nominal diameter are input, and when the input of all hole positions is completed, the process moves to step 132, where the input is made using this machining tool. is set and step 12
Jump to 0.

このようにして対話形式で加工データが入力される。In this way, processed data is input in an interactive manner.

次に、この実施例装置が工作物を加工する過程をMPU
391が実行する主補ニブログラムを示す第6図のフロ
ーチャートに従って説明する。
Next, the process of machining a workpiece by this example device will be explained using the MPU.
The explanation will be given in accordance with the flowchart of FIG. 6 showing the main complementary nib program executed by the H.391.

MPU391は、数値制御装置の加工起動釦が押される
と、ステップ200より実行を開始する。
The MPU 391 starts execution from step 200 when the processing start button on the numerical control device is pressed.

ステップ200では、工作物に応じて対話形式でプログ
ラミングされた工作物加工プログラムをランダムアクセ
スメモリから読み出ず。そして、ステップ202に移行
し、すべての加工が終了したか、加工停止釦が押された
か等の加工継続の有無を判定する。加工の継続必要なし
と判定したときはプログラムは終了するが、継続必要と
判定したときにはステップ204乃至その後のステップ
を実行し、その後ステップ202にジャンプし、ステッ
プ202およびその後のステップの繰返しルーチンを実
行する。
In step 200, a workpiece machining program interactively programmed according to the workpiece is not read from the random access memory. Then, the process moves to step 202, and it is determined whether or not machining is to be continued, such as whether all machining has been completed or whether a machining stop button has been pressed. The program ends when it is determined that there is no need to continue machining, but when it is determined that it is necessary to continue, it executes step 204 and subsequent steps, then jumps to step 202, and executes a repeat routine of step 202 and the subsequent steps. do.

ステップ204にプログラムが移行したときには、MP
U391は工作物の加工種別を判定する。
When the program moves to step 204, the MP
U391 determines the processing type of the workpiece.

ここで加工種別が穴あけ加工でないと判定されたときに
はプログラムはステップ2/10で平面加工か否かを判
定する。以下該当する加工種別が判定されるまで囲路の
加工種別の判定を実行し、該当する加工プログラムによ
り工作物を加工する。
If it is determined that the machining type is not drilling, the program determines whether or not it is flat machining in step 2/10. Thereafter, the processing type of the enclosure is determined until the corresponding processing type is determined, and the workpiece is processed using the corresponding processing program.

ステップ204で穴あけ加工と判定されたときには、ス
テップ206に移行し、加工しようとするX座標、Y座
標の位置に加工テーブル21、および主軸ヘッド13を
1点にそれぞれ位置決めJる。そして、ステップ208
でMPU391は加工すべき穴が深穴加工がよいか浅穴
加工でも問題がないかを判定する。前者の場合がよいと
判定したときには、次ステツプ210を実行し、後者の
場合がよいと判定したときにはステップ220を実行す
る。これらステップ210.220で実行される固定サ
イクルプログラムは従来のものと同じであるため、これ
らの説明は省略する。
When it is determined in step 204 that drilling is to be performed, the process moves to step 206, and the processing table 21 and spindle head 13 are positioned at one point at the X and Y coordinates to be processed. And step 208
Then, the MPU 391 determines whether the hole to be machined is suitable for deep hole machining or whether shallow hole machining is acceptable. When it is determined that the former case is better, the next step 210 is executed, and when it is determined that the latter case is better, step 220 is executed. The fixed cycle programs executed in these steps 210 and 220 are the same as those of the conventional program, so their explanation will be omitted.

本実施例によれば、数値制御工作機械をマシニングセン
タ型の°工作機械本体10と、数値制御装@30とで構
成し、この数値制御装置30を加工径入力手段等を兼ね
るキーボード31と、対話形式で加工データを入力した
りアラーム表示等を表示するCRTディスプレイ33と
、ザーボモータ駆動回路に指令パルスを供給覆るパルス
発生回路35、シーケンス回路37、これら各装置と囲
路のインタフェースを介して接続される中央処理袋置3
9とで主として構成し、この中央処理装置39を、キー
ボード31によって入力された情報に基づいて、工具フ
ァイル記憶部、加工径入力手段、工具選択手段、加工プ
ログラム作成手段の機能を備えたマイクロプロセッサ3
91、固定サイクルプログラム等を記憶する読出専用メ
モリ393、工具ファイルを記憶しバッテリバックアッ
プされ不揮発化されたランダムアクセスメ七り395、
バッファ用ランダムアクセスメモリ397とで構成した
ことで、従来のように画面上で指定された穴加工すると
きに、加工工具の呼び径と工具管理番号を対照とする必
要がないために工作物加工の生産性が向上する。
According to this embodiment, a numerically controlled machine tool is constructed of a machining center type machine tool main body 10 and a numerical control device @30, and this numerical control device 30 is connected to a keyboard 31 which also serves as a machining diameter input means etc. A CRT display 33 for inputting machining data and displaying alarms, etc., a pulse generation circuit 35 for supplying command pulses to the servo motor drive circuit, and a sequence circuit 37 are connected to each of these devices via an enclosure interface. central processing bag holder 3
9, and the central processing unit 39 is a microprocessor having the functions of a tool file storage section, a machining diameter input means, a tool selection means, and a machining program creation means based on the information input through the keyboard 31. 3
91, a read-only memory 393 that stores fixed cycle programs, etc., a random access memory 395 that stores tool files and is battery-backed and non-volatile;
By configuring the buffer random access memory 397, there is no need to compare the nominal diameter of the machining tool and the tool management number when machining a hole specified on the screen as in the past, making it easier to process the workpiece. productivity will improve.

[発明の効果] 本発明によれば数値制御工作機械を、対話形自動プログ
ラミング装置において、 工作機械のツールホルダーに収納される工具の種別およ
び該工具の管理番号を少なくとも記憶する工具ファイル
記憶部と、工作物に加工される穴加工の加工径を入力す
る加工径入力手段と、加ニ径入力手段から穴加工の加工
径が入力されたとき、加工径に対応した加工工具を工具
ファイル記憶部から検索する工具選択手段と、工具選択
手段からの加工工具の情報に応じて、数値制御]波装置
指令すべき加工に関連した数値データを作成する加工プ
ログラム作成手段とで構成したことで、穴加工の加工径
を入力するだけで数値制御装置に指令すべき加工に関連
した数値データが作成されるために、従来の入カッ″コ
法のように1種類の穴径を入力するのに、製作図面から
の読取り、検索対照、入力の3工程を必要としない。中
でも面倒な検索対照の作業がいらないから穴加工の生産
性が向上する。
[Effects of the Invention] According to the present invention, a numerically controlled machine tool is provided with an interactive automatic programming device that includes a tool file storage section that stores at least the type of tool stored in a tool holder of the machine tool and the management number of the tool. , a machining diameter input means for inputting the machining diameter of a hole to be machined on a workpiece, and when a machining diameter of a hole machining is input from the machining diameter input means, a machining tool corresponding to the machining diameter is stored in the tool file storage section. A tool selection means that searches from Just by inputting the machining diameter, numerical data related to machining to be commanded to the numerical control device is created, so instead of inputting one type of hole diameter as in the conventional parenthesis method, There is no need for the three steps of reading from the production drawing, search and comparison, and input.In particular, the laborious search and comparison work is not required, which improves the productivity of hole machining.

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

第1図は、本発明の具体的な実施例に係る数値制御工作
機械を示すブロックダイアグラムである。 第2図、第3図は、同実施例で用いたMPU391が実
行する自動プログラムを示すフローチャート、加工定義
のサブプログラムを示すフローチャートである。第4図
は、同実施例で用いたCRTディスプレイで対話形式で
入力されるときの表示画面である。第5図は、同実施例
でMPU391が実行し本発明の特徴とする加工J、具
選択のプログラムを示すフローチャートである。第6図
は、セ件平井同実施例でMPU391が実行する切削加
工プログラムを示すフローチャートである。 10・・・工作機械本体  30・・・数値制御装置3
1・・・キーボード(加工径入力手段)39・・・中央
処理装置(工具ファイル記憶部、加工径入力手段、工具
選択手段、加工プログラム作成手段)
FIG. 1 is a block diagram showing a numerically controlled machine tool according to a specific embodiment of the present invention. FIGS. 2 and 3 are a flowchart showing an automatic program executed by the MPU 391 used in the same embodiment, and a flowchart showing a subprogram of machining definition. FIG. 4 is a display screen when inputting information in an interactive format on the CRT display used in the same embodiment. FIG. 5 is a flowchart showing a program for machining J and tool selection, which is a feature of the present invention and is executed by the MPU 391 in the same embodiment. FIG. 6 is a flowchart showing a cutting program executed by the MPU 391 in the same embodiment. 10... Machine tool body 30... Numerical control device 3
1...Keyboard (machining diameter input means) 39...Central processing unit (tool file storage section, machining diameter input means, tool selection means, machining program creation means)

Claims (3)

【特許請求の範囲】[Claims] (1)対話形式で入力された工作物の加工情報から数値
制御装置に指令する加工プログラムを作成する対話形自
動プログラミング装置であって、工作機械の工具マガジ
ンに収納される工具の種別および該工具の管理番号を少
なくとも記憶する工具ファイル記憶部と、 工作物に加工される穴加工の加工径を入力する加工径入
力手段と、 該加工径入力手段から穴加工の加工径が入力されたこと
に応答し、該加工径に対応した加工工具を該工具ファイ
ル記憶部から検索する工具選択手段と、 該工具選択手段からの加工工具の情報に応じて、数値制
御装置に指令すべき加工に関連した数値データを作成す
る加工プログラム作成手段とを備えたことを特徴とする
対話形自動プログラミング装置。
(1) An interactive automatic programming device that creates a machining program to be commanded to a numerical control device from the machining information of a workpiece input in an interactive format, and the type of tool stored in the tool magazine of the machine tool and the tool. a tool file storage unit that stores at least a management number of the tool; a machining diameter input means for inputting a machining diameter of a hole to be machined on a workpiece; a tool selection means that responds and searches for a machining tool corresponding to the machining diameter from the tool file storage unit; An interactive automatic programming device characterized by comprising a machining program creation means for creating numerical data.
(2)工具選択手段は、工具ファイル記憶部に加工径入
力手段から入力された加工径と同一の加工工具がないと
判定した時は、該加工径に対して所定公差内の加工工具
を選択する特許請求の範囲第1項記載の対話形自動プロ
グラミング装置。
(2) When the tool selection means determines that there is no machining tool with the same machining diameter inputted from the machining diameter input means in the tool file storage section, the tool selection means selects a machining tool within a predetermined tolerance for the machining diameter. An interactive automatic programming device according to claim 1.
(3)工具選択手段は、工具ファイル記憶部に加工径入
力手段から入力された加工径と同一の加工工具がないと
判定したときは、該当加工工具が無いことを表示する特
許請求の範囲第1項記載の対話形自動プログラミング装
置。
(3) When the tool selection means determines that there is no machining tool with the same machining diameter inputted from the machining diameter input means in the tool file storage section, the tool selection means displays that there is no corresponding machining tool. The interactive automatic programming device according to item 1.
JP7343986A 1986-03-31 1986-03-31 Interactive automatic programming device Pending JPS62231311A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7343986A JPS62231311A (en) 1986-03-31 1986-03-31 Interactive automatic programming device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7343986A JPS62231311A (en) 1986-03-31 1986-03-31 Interactive automatic programming device

Publications (1)

Publication Number Publication Date
JPS62231311A true JPS62231311A (en) 1987-10-09

Family

ID=13518274

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7343986A Pending JPS62231311A (en) 1986-03-31 1986-03-31 Interactive automatic programming device

Country Status (1)

Country Link
JP (1) JPS62231311A (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS58155101A (en) * 1982-03-11 1983-09-14 Yamazaki Mazak Corp Tool selection control in four-axis numerical control lathe
JPS60186906A (en) * 1984-03-05 1985-09-24 Fanuc Ltd Automatic programming method

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS58155101A (en) * 1982-03-11 1983-09-14 Yamazaki Mazak Corp Tool selection control in four-axis numerical control lathe
JPS60186906A (en) * 1984-03-05 1985-09-24 Fanuc Ltd Automatic programming method

Similar Documents

Publication Publication Date Title
JP3694323B2 (en) NC program analysis method and apparatus in NC machining
US4750105A (en) Automatic programming system including machining accuracy optimization
US7016760B2 (en) Numerically controlled machine tool and a program transforming method therefor
JP3827951B2 (en) NC program optimization method and apparatus in NC machining
US4604705A (en) Numerical control machining method and system therefor
US11947332B2 (en) CAD data-based automatic operation device of machining center
GB2168172A (en) Machine tools
US5289382A (en) Method of and system for producing data for numerically controlled machining
JPH0321299B2 (en)
WO2000038881A1 (en) Method and apparatus for providing numerical control information
JP2811338B2 (en) NC processing data creation method and apparatus
JPH0375884B2 (en)
JP3207125B2 (en) Turret tool selection command method
JPS62231311A (en) Interactive automatic programming device
JP4286940B2 (en) NC machining program creation method and apparatus for machine tools
JPH0433576B2 (en)
JPS62228309A (en) Nc machine tool
JP2614607B2 (en) Numerical control data creation method for machine tools
JP2763923B2 (en) NC data creation device
JP2531147B2 (en) Numerical control data creation method
KR100221564B1 (en) Method and device to determine an optimal making condition
JP2603622B2 (en) Numerical control data creation method for machine tools
JPS61257740A (en) Tool selection system
CN117099061A (en) Information processing device and information processing program
JPH04315551A (en) Nc data producing device