JPS63163606A - System for generating nc program with fixed cycle function of automatic programming device - Google Patents

System for generating nc program with fixed cycle function of automatic programming device

Info

Publication number
JPS63163606A
JPS63163606A JP31027686A JP31027686A JPS63163606A JP S63163606 A JPS63163606 A JP S63163606A JP 31027686 A JP31027686 A JP 31027686A JP 31027686 A JP31027686 A JP 31027686A JP S63163606 A JPS63163606 A JP S63163606A
Authority
JP
Japan
Prior art keywords
data
fixed cycle
format
program
generating
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
JP31027686A
Other languages
Japanese (ja)
Inventor
Tomohiro Suzuki
智博 鈴木
Takeharu Maeta
前多 岳春
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.)
Okuma Corp
Original Assignee
Okuma Machinery Works Ltd
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 Okuma Machinery Works Ltd filed Critical Okuma Machinery Works Ltd
Priority to JP31027686A priority Critical patent/JPS63163606A/en
Publication of JPS63163606A publication Critical patent/JPS63163606A/en
Pending legal-status Critical Current

Links

Landscapes

  • Numerical Control (AREA)

Abstract

PURPOSE:To generate an NC program with an arbitrary format even when the generating systems of the NC programs are different. CONSTITUTION:When a data corresponding to a process method and fixed cycle format and the data of fixed cycle are inputted to a data input part 1, those data are fixed cycle format in a fixed cycle generating format data 2000, and fixed cycle data format areas 2201, 2202,...220n in a data group 2200 of the fixed cycle format, via a fixed cycle generating data input means 10. Next, the fixed cycle format data corresponding to the process method of a tool locus data area is selected at the control part 1100 of a fixed cycle generating part in an NC program generating part 1000 by a switching signal SF. In such a way, it is possible to easily and rapidly respond to even a new NC machine tool only by setting the data which stipulates a program generating format of fixed cycle.

Description

【発明の詳細な説明】 (発明の技術分野) 本発明は、NC工作機械を制御するためのNCプログラ
ムを作成する自動プログラミング装置における固定サイ
クル機能NCプログラムの作成方式に関する。
DETAILED DESCRIPTION OF THE INVENTION (Technical Field of the Invention) The present invention relates to a method for creating a fixed cycle function NC program in an automatic programming device that creates an NC program for controlling an NC machine tool.

(発明の技術的背景とその問題点) NG(数値制御)工作機械を制御するためのNCプログ
ラムを自動プログラミング装置て作成すれば複雑な加工
を簡単な加工データの人力で指令でき、またNC工作機
械を変更する場合でも、その変更したNC工作機械の指
令方式に合ったNCプログラムを自動プログラミング装
置て作成てきる。そして、自動プログラミング装置は、
NC工作機械がたとえは穴加工のような固定的な動作を
固定サイクル機能として実現してくれる場合には、NC
工作機械が持つ固定サイクル機能を使用してNCプログ
ラムを作成する。この固定サイクル機能を指令するNC
プログラムはトリルサイクル、タップサイクル等の機能
種類毎に書式が決まっており、機能種類を指定するGコ
ードに続けて一連の機械動作を指定するデータを、X、
Y、I、J等の各コードと共に機能種類毎に定められた
順に指令することによフて構成される。ところが、従来
の自動プログラミング装置が、固定サイクル機能のNC
プログラムを作成する方式に於いては、1つの固定サイ
クル作成部か1つの形式のNCプログラムしか作成でき
ず、対象とするNC工作機械が変更になって固定サイク
ルのNCプログラムの形式が変ったときには、固定サイ
クル作成部を新しく追加又は変更しなければ対応できず
容易でなかった。
(Technical background of the invention and its problems) If an NC program for controlling an NG (numerical control) machine tool is created using an automatic programming device, complex machining can be commanded manually using simple machining data. Even when changing the machine, an automatic programming device can create an NC program that matches the command system of the changed NC machine tool. And the automatic programming device
If an NC machine tool can perform a fixed operation such as hole drilling as a fixed cycle function, then
Create an NC program using the machine tool's fixed cycle function. NC that commands this fixed cycle function
The format of the program is determined for each function type, such as trill cycle, tap cycle, etc. Following the G code that specifies the function type, the data specifying a series of machine operations is
It is configured by issuing commands in a predetermined order for each function type together with each code such as Y, I, J, etc. However, conventional automatic programming devices do not have a fixed cycle function.
In the method of creating a program, only one fixed cycle creation part or one type of NC program can be created, and when the target NC machine tool changes and the format of the fixed cycle NC program changes. However, it was not easy to deal with this problem without adding or changing the fixed cycle creation section.

第6図はこのような従来の自動プログラミング装置の一
例を示すブロック図であり、オペレータ等はキーボード
及びCRTで構成されるデータ人力部lで加工の種類を
指定する加工データを人力すると、この加工データは加
工データ入力手段2を介して加工データ領域3に記f、
ρされる。工具軌跡データ作成部4で加工データ領域3
からの加工データに基づいて工具軌跡データが作成され
、工具軌跡データが工具軌跡データ領域5に記↑、0さ
れる。一方、オペレータ等はデータ人力部1で加工法・
固定サイクル対応データを人力すると、この対応データ
は加工法・固定サイクル対応データ入力手段6を介して
加工法・固定サイクル対応データ領域7に記憶される。
FIG. 6 is a block diagram showing an example of such a conventional automatic programming device, in which an operator or the like inputs machining data specifying the type of machining using a data input unit consisting of a keyboard and a CRT. The data is recorded in the processed data area 3 via the processed data input means 2,
ρ is applied. Machining data area 3 in tool path data creation section 4
Tool trajectory data is created based on the machining data from , and the tool trajectory data is written in the tool trajectory data area 5 with ↑ and 0. On the other hand, operators etc. use the data human resources department 1 to
When the fixed cycle corresponding data is input manually, this corresponding data is stored in the processing method/fixed cycle corresponding data area 7 via the processing method/fixed cycle corresponding data input means 6.

次に、NGプログラム作成部1000内にある固定サイ
クル作成部の制御部1100で、工具軌跡データ領域5
から工具軌跡データ領域の加工法SA及び加工法・固定
サイクル対応データ領域7から加工法・固定サイクル対
応データSBか続出、照合され、固定サイクル群120
0を構成するn個の固定サイクル作成部1201 、1
202 、12Onの中で工具軌跡データ領域の加工法
に対応する固定サイクル作成部が切替信号SCによって
選択される。そして、工具軌跡データ領域5からの工具
軌跡データSDによって、固定サイクル以外のNGプロ
グラム作成部1300及び固定サイクル群1200内の
選択された固定サイクル作成部でNCプログラムが作成
されてNCプログラム領域8に記憶され、紙テープ等9
に出力される。
Next, in the control unit 1100 of the fixed cycle creation unit in the NG program creation unit 1000, the tool path data area 5
The machining method SA in the tool path data area and the machining method/canned cycle corresponding data SB from the machining method/canned cycle corresponding data area 7 are successively retrieved and compared, and the canned cycle group 120
n fixed cycle creation units 1201 , 1 configuring 0
Among 202 and 12On, the fixed cycle generation section corresponding to the machining method of the tool path data area is selected by the switching signal SC. Then, an NC program is created by the tool path data SD from the tool path data area 5 in the NG program creation section 1300 for non-canned cycles and the selected canned cycle creation section in the canned cycle group 1200, and is stored in the NC program area 8. Memorized, paper tape, etc. 9
is output to.

このように、従来の自動プログラミング装置では個々の
固定サイクル作成部は、一定の形式の固定サイクルのN
Cプログラムしか作成できないという欠点があった。
In this way, in conventional automatic programming devices, each canned cycle generator can generate N of canned cycles in a certain format.
The drawback was that only C programs could be created.

(発明の目的) 本発明は上述のような事情からなされたものであり、本
発明の目的は、NCプログラムの作成方式が異なる場合
にも任意形式で作成可能とすることにより、自動プログ
ラミング装置が対象とするNC工作機械を容易に拡大可
能にした自動プログミング装置における固定サイクル機
能NCプログラムの作成方式を提供することにある。
(Object of the Invention) The present invention was made in view of the above-mentioned circumstances, and an object of the present invention is to enable an automatic programming device to create an NC program in an arbitrary format even when the creation method of the NC program is different. An object of the present invention is to provide a method for creating a fixed cycle function NC program in an automatic programming device, which enables easy expansion of target NC machine tools.

(発明の概要) ・木発明は自動プログラミング装置における固定サイク
ル機能NCプログラムの作成方式に関するもので、NC
工作機械を制御するためのNCプログラムを作成する自
動プログラミング装置において、複数の固定サイクル刑
式データを外部より変更できるように予め格納しておき
、指定された加工法に対応して前記格納された固定サイ
クル形式データの1つを選択し、工具軌跡データと前記
選択された固定サイクル形式データとを照合することに
より、前記NCプログラムの作成を任意形式としたもの
である。
(Summary of the invention) - The invention relates to a method for creating a fixed cycle function NC program in an automatic programming device.
In an automatic programming device that creates an NC program for controlling a machine tool, a plurality of fixed cycle data are stored in advance so that they can be changed from the outside, and the stored data is stored in accordance with a specified machining method. The NC program can be created in any format by selecting one of the fixed cycle format data and comparing the tool trajectory data with the selected fixed cycle format data.

(発明の実施例) 第1図は本発明方式を実現する装置のブロック図を第6
図に対応させて示すものであり、木発明では新しく固定
サイクル作成データ入力手段lOと、固定サイクル作成
形式データ2000内の加工法・固定サイクル形式対応
データ領域2100と、固定サイクル形式データ群22
00内の固定サイクル形式データ領域2201,220
2.・・・、 22Onと、NGプログラム作成部10
00内の固定サイクル作成部1400とを設けている。
(Embodiment of the invention) Figure 1 is a block diagram of an apparatus for realizing the system of the present invention.
This is shown in correspondence with the figure, and in the tree invention, a new fixed cycle creation data input means 1O, a processing method/fixed cycle format corresponding data area 2100 in the fixed cycle creation format data 2000, and a fixed cycle format data group 22 are shown.
Fixed cycle format data area 2201, 220 in 00
2. ..., 22On and NG program creation section 10
A fixed cycle creation section 1400 in 00 is provided.

ここに、オペレータ等はデータ人力部1で加工法・固定
サイクル形式対応データ及び固定サイクル形式データを
人力すると、これらのデータは固定サイクル作成データ
人力手段lOを介して、固定サイクル作成形式データ2
000内の加工法・固定サイクル形式対応データ領域2
100及び固定サイクル形式データ群2200内の固定
サイクル形式データ領域2201.2202.・” 、
22Onに、それぞれ第2図及び第3図で示す様な形式
で記憶される。なお、これらのデータの詳細な説明は後
述する。
Here, when the operator etc. manually enters processing method/fixed cycle format corresponding data and fixed cycle format data in the data human power section 1, these data are converted into fixed cycle creation format data 2 via the fixed cycle creation data human power means IO.
Processing method/fixed cycle format compatible data area 2 within 000
100 and the fixed cycle format data area 2201.2202 in the fixed cycle format data group 2200.・” ,
22On in the format shown in FIGS. 2 and 3, respectively. Note that a detailed explanation of these data will be given later.

次にNGプログラム作成部1000内にある固定サイク
ル作成部の制御部1100で、工具軌跡データ領域5か
ら工具軌跡データ領域の加工法SA及び加工法・固定サ
イクル形式対応データ領域2100から加工法・固定サ
イクル形式対応データSEが読出、照合され、固定サイ
クル形式データ群2200を構成するn個の固定サイク
ル形式データ領域2201.2202.・・−,22O
nの中で、工具軌跡データ領域の加工法に対応する固定
サイクル形式データが切替信号SFによフて選択される
。そして、工具軌跡データ領域5からの工具軌跡データ
SDを先の選択された固定サイクル形式データに基づい
て、固定サイクル作成部1400でNGプログラムが作
成される。上述より固定サイクル作成部1400が作成
する固定サイクルのNGプログラムの形式を変更したい
場合、従来は第6図に示す固定サイクル作成部1201
,1202.・・・、 120nの処理プログラムの変
更が必要なためオペレータ等では不可能であったが、本
発明では第1図に示す固定サイクル作成データ人力手段
lOによって固定サイクル形式データを変更すれは可能
となる。
Next, in the control unit 1100 of the fixed cycle creation unit in the NG program creation unit 1000, from the tool path data area 5 to the machining method SA of the tool path data area and the machining method/fixed from the machining method/canned cycle format corresponding data area 2100. The cycle format compatible data SE is read out and collated, and n fixed cycle format data areas 2201, 2202 . ...-, 22O
Among n, fixed cycle format data corresponding to the machining method in the tool path data area is selected by the switching signal SF. Then, based on the tool trajectory data SD from the tool trajectory data area 5 and the previously selected fixed cycle format data, the fixed cycle creation unit 1400 creates an NG program. From the above, if you want to change the format of the fixed cycle NG program created by the fixed cycle creation unit 1400, conventionally the fixed cycle creation unit 1201 shown in FIG.
, 1202. ....However, in the present invention, it is possible to change the fixed cycle format data using the fixed cycle creation data manual means lO shown in FIG. Become.

ここで、本発明の加工法・固定サイクル形式対応データ
及び固定サイクル形式データについて、第2図及び第3
図を参照して説明する。
Here, regarding the processing method/fixed cycle format compatible data and fixed cycle format data of the present invention, Figs.
This will be explained with reference to the figures.

第2図の加工法・固定サイクル形式対応データは、加工
法A、B、・・・で示す工具軌跡データ領域の加工法種
類と、形式データ1.2.・・・で示す固定サイクル形
式データ番号とが対になって登録されており、加工法に
対応する固定サイクル形式データを結び付けるものであ
る。
The data corresponding to machining methods and fixed cycle formats in FIG. 2 are machining method types in the tool path data area indicated by machining methods A, B, . . . and format data 1.2. Fixed cycle format data numbers indicated by ... are registered in pairs, and are used to link fixed cycle format data corresponding to processing methods.

第3図の固定サイクル形式データは、第1図に示す固定
サイクル作成部1400が作成する固定サイクルのNG
プログラムの形式を規定するものである。この固定サイ
クル形式データはサイクル機能コードデータ及び書式デ
ータで構成されており、次にそれぞれのデータを説明す
る。
The fixed cycle format data shown in FIG.
It defines the format of the program. This fixed cycle format data is composed of cycle function code data and format data, and each data will be explained next.

先ず、NGプログラムは一連の文字や数字、改行記号な
どから構成されており、G、X、Jなどから成る文字と
文字に続く数値とが一対になったデータをワードと呼び
、一連のワードが定められた順に並び改行記号で区切ら
れたー固まりのデータをブロックと呼ぶ。そして、固定
サイクルを指令するNGプログラムは1ブロツクから成
り、固定サイクルの機能種類毎に書式が決っている。一
般に、機能種類を指定するGコードのワードに続けて、
ある加工のX軸上の位置を指定するワード、YIiIl
l上の位置を指定するワードの順に指令し、続いて一連
の機械動作を指定するワード群を機能種類毎に定められ
た順に指令する。
First of all, an NG program consists of a series of letters, numbers, new line symbols, etc. Data consisting of a pair of letters such as G, X, J and the number following the letter is called a word, and a series of words is A block of data arranged in a specified order and separated by line feed symbols is called a block. The NG program that commands a fixed cycle consists of one block, and the format is determined for each function type of the fixed cycle. Generally, following the G code word that specifies the function type,
A word that specifies the position on the X axis of a certain process, YIiIl
The commands are given in the order of words that specify positions on the machine, and then the word groups that specify a series of machine operations are given in the order determined for each function type.

本発明によるサイクル機能コードデータは、 、。The cycle function code data according to the present invention is as follows.

機能種類を指定するGコードのワードを登録するために
設けられたもので、任意の文字列を登録できる。
It was provided to register the G code word that specifies the type of function, and any character string can be registered.

本発明における書式データは、一連の機械動作を指定す
るワード群を登録するために設けられたもので、任意の
ワード群の形式を登録できる。このワード群は文字1.
2.・・・、数値1゜2、・・・、属性1,2.・・・
のデータで構成されており、文字データにはNGプログ
ラムのワードに出力する文字を任意の文字列として登録
てぎる。また、NGプログラムのワードに出力する数値
は数値データ及び属性データから決まり、さらに属性デ
ータはそのワードの属性を表わす。
The format data in the present invention is provided for registering a group of words specifying a series of mechanical operations, and any format of the word group can be registered. This group of words consists of character 1.
2. ..., numerical value 1゜2, ..., attribute 1, 2. ...
It consists of data, and the characters to be output to the words of the NG program are registered as arbitrary character strings in the character data. Further, the numerical value to be output to the word of the NG program is determined from numerical data and attribute data, and the attribute data represents the attribute of the word.

このワードの属性には大ぎく分けて2種類あり、一つは
ワードに出力する数値として数値データを参照するタイ
プであり、他の一つはワードに出力する数値として工具
軌跡データ領域の工具軌跡データを参照するタイプであ
る。
There are roughly two types of attributes for this word. One is a type that refers to numerical data as a numerical value to be output to the word, and the other type is a type that refers to numerical data as a numerical value to be output to a word. This type refers to data.

前者の数値データを参照するタイプは固定サイクルのN
Gプログラム中に定数のワードやコードを出力したいと
きに用いられ、後者の工具軌跡データを参照するタイプ
は工具軌跡データによって指令値を変えるワードに用い
られる。
The former type that refers to numerical data is fixed cycle N.
It is used when it is desired to output a constant word or code during a G program, and the latter type that refers to tool trajectory data is used for words that change command values based on tool trajectory data.

次に第4図のフローチャートを参照して、第1図に示す
固定サイクル作成データ人力手段10以降の新設された
部分の動作を説明する。
Next, with reference to the flowchart of FIG. 4, the operation of the newly installed portions subsequent to the fixed cycle creation data manual means 10 shown in FIG. 1 will be explained.

固定サイクル作成データ入力手段10を介して、加工法
・固定サイクル形式対応データ領域2100か配子、0
した加工法・固定サイクル形式対応データ及び工具軌跡
データ領域5が記憶した工具軌跡データ領域の加工法を
固定サイクル作成部の制御部1100が読出して、この
工具軌跡データ領域の加工法に対応する固定サイクル形
式データの番号Nを決定する(ステップSl)。そして
固定サイクル作成部1400は、この番号Nの固定サイ
クル形式データ内のサイクル機能コートデータの文字列
をNCプログタム領域8に出力しくステップS2)、ま
た、工具軌跡データ領域5から工具軌跡データである加
工位置情報(X、Y)を読出して単位系処理を行ない、
X指令及びX指令のNGプログラムを作成し、NCプロ
グタム領域8に出力する(ステップS3)。さらに固定
サイクル作成部1400は、番号Nの固定サイクル形式
データ内の書式データのワードの番号をIとして■に1
を代入しくステップS4)、番号1 (1)のワードの
データが有効か否かを判断しくステップS5)、有効で
ない場合には処理を終了する。一方、判断ステップS5
において番号1 (1)のワードのデータが有効である
場合には、番号I(1)の文字の文字列をNCプログタ
ム領域8に出力しくステップS5)、番′+](1)の
属性の値が数値を参照するタイプかまたは工具軌跡デー
タを参照するタイプかを1′(j断しくステップS7)
、数値を参照するタイプの場合には番号1 (1)の数
値の値をNCプログラム領域8に出力する(ステップ5
8)。一方、判断ステップS7において属性の値が工具
軌跡データを参照するタイプの場合には、さらに、その
番号I (1)の属性が工具軌跡データのうちの何を参
照するかを判定し、参照されるべきデータをそのデータ
が存在する工具軌跡データ領域5から読出して単位系処
理を行ない、NCプログタム領域に出力する(ステップ
59)。次に書式データのワードの番号■(1)に1を
加えて(ステップ510)、番号I(2)のワードが存
在するか否かを判断しくステップ511)、存在しない
場合には処理を終了する。一方、判断ステップSllに
おいて番号■(2)のワードが存在する場合にはステッ
プ55へリターンして、ワードが無くなるまで処理を繰
返す。
Through the fixed cycle creation data input means 10, the processing method/fixed cycle format corresponding data area 2100 or the
The control unit 1100 of the fixed cycle creation unit reads out the machining method/canned cycle format corresponding data and the machining method of the tool locus data area stored in the tool locus data area 5, and reads out the machining method/fixed cycle format corresponding data and the machining method of the tool locus data area stored in the tool locus data area 5. The number N of cycle format data is determined (step Sl). Then, the fixed cycle creation unit 1400 outputs the character string of the cycle function code data in the fixed cycle format data of this number N to the NC program area 8 (step S2), and also outputs the character string of the cycle function code data from the tool trajectory data area 5. Reads the machining position information (X, Y) and performs unit system processing,
An X command and an NG program for the X command are created and output to the NC program area 8 (step S3). Further, the fixed cycle creation unit 1400 sets the number of the word of the format data in the fixed cycle format data of number N to 1 by
Step S4), it is determined whether the data of the word numbered 1 (1) is valid or not (Step S5), and if it is not valid, the process is terminated. On the other hand, judgment step S5
If the data of the word number 1 (1) is valid, the character string of the number I (1) is output to the NC program area 8. In step S5), the attribute number '+] (1) is 1' whether the value refers to numerical values or tool path data (step S7)
, in the case of the type that refers to numerical values, the numerical value of number 1 (1) is output to the NC program area 8 (step 5
8). On the other hand, if the value of the attribute is of the type that refers to tool path data in judgment step S7, it is further determined which of the tool path data the attribute with the number I (1) refers to, and The data to be processed is read out from the tool path data area 5 where the data exists, subjected to unit system processing, and output to the NC program area (step 59). Next, 1 is added to the word number ■(1) of the format data (step 510), and it is determined whether or not the word with number I(2) exists (step 511), and if it does not exist, the process ends. do. On the other hand, if the word with the number ■(2) exists in the judgment step Sll, the process returns to step 55 and the process is repeated until there are no more words.

次に、本発明における固定すrクル作成部1400の処
理の具体的−例を第5図を参照して説明する。
Next, a specific example of the processing of the fixed circle creating section 1400 in the present invention will be explained with reference to FIG.

同図中に示す工具軌跡データ領」或の加工データIQQ
か工具軌跡データ領域5に記憶され、工具軌跡データ1
00内の加工法Wのトリル加工にス・1応する固定サイ
クル形式データ200が固定サイクル形式データ群22
00中の1つの領域に記憶されている。まず、サイクル
機能コード作成1401か固定サイクル形式データ20
0内のサイクル機能コートデータに登録された文字列r
G811SGを読出し、NCプログラム領域8に出力す
る。次に、X指令、X指令作成1402が加工データ1
00内の加工位置X (SX)及びy (sy)を読出
し、それぞれ文字X及び文字Yと組合わせて、単位系処
理1403が数値を数字に変換した後、NCプログラム
領域8に出力する。また、ワードデータ作成+410内
の文字データ決定1411が番号1のワード内の文字l
に’fIf 6!された文字列rZJs11を読出して
文字とし、一方、数値データ決定1412が番号1のワ
ード内の属性1のデータSIを読出してそれに対応する
加工終了位置Z (SJ)を工具軌跡データ100から
読出して数値とし、単位系処理日03が数値を数字に変
換する。そしてワード作成14X3で文字と数値とを組
合わせて、NCプログラム領域8に出力する。この操作
をワードが無くなるまで繰返し行ない、NCプログラム
領域8に示すデータを作成する。
Machining data IQQ in the tool trajectory data area shown in the same figure.
is stored in the tool path data area 5, and the tool path data 1
The fixed cycle format data 200 corresponding to the trill machining of the processing method W in 00 is the fixed cycle format data group 22.
It is stored in one area in 00. First, create cycle function code 1401 or fixed cycle format data 20
Character string r registered in cycle function code data within 0
Read G811SG and output to NC program area 8. Next, the X command and the X command creation 1402 are processed data 1.
The machining positions X (SX) and y (sy) within 00 are read out, combined with the characters X and Y, respectively, and the unit system processing 1403 converts the numerical values into numbers, and then outputs them to the NC program area 8. Also, character data determination 1411 in word data creation + 410 is the character l in the word with number 1.
ni'fIf 6! The character string rZJs11 read out is read out as a character, and on the other hand, the numerical data determination 1412 reads out the data SI of attribute 1 in the word numbered 1, and reads out the corresponding machining end position Z (SJ) from the tool path data 100. As a numerical value, unit system processing date 03 converts the numerical value into a number. Then, the characters and numbers are combined using word creation 14×3 and output to the NC program area 8. This operation is repeated until there are no more words left, and the data shown in the NC program area 8 is created.

(発明の効果) 以上のように本発明のNCプログラム作成方式によれば
、固定サイクルのNGプログラム作成形式を規定するデ
ータを設定するだけで新しいトIC工作機械にも容易に
かつ迅速に対応することができ、大幅な工数低減を図る
ことができる。
(Effects of the Invention) As described above, according to the NC program creation method of the present invention, it is possible to easily and quickly adapt to new IC machine tools by simply setting the data that defines the fixed cycle NG program creation format. It is possible to significantly reduce the number of man-hours.

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

第1図は木発明方式を実現する装置の一例を示すブロッ
ク図、第2図は加工法・固定サイクル形式対応データの
一例を示す図、第3図は固定サイクル形式データの一例
を示す図、第4図は木発明方式の一部処理例を示すフロ
ーチャート、第5図は本発明のデータ流れを詳細に示す
ブロック図、第6図は従来の自動プログラミング装置の
一例を示すブロック図である。 l・・・データ入力部、2・・・加工データ人力手段、
3・・・加工データ領域、4・・・工具軌跡データ作成
部、5・・・工具軌跡データ領域、8・・・NCプログ
ラム領域、9・・・紙テープ等、10・・・固定サイク
ル作成データ人力手段、1000・・・NCプログラム
作成部、l 100・・・固定サイクル作成部の制御部
、1300・・・固定サイクル以外のNCプログラム作
成部、1400・・・固定サイクル作成部、2000・
・・固定サイクル作成形式データ、2100・・・加工
法・固定サイクル形式対応データ領域、2200・・・
固定サイクル形式データ群、2201,2202.・・
・、220口・・・固定サイクル形式データ。
FIG. 1 is a block diagram showing an example of a device that implements the tree invention method, FIG. 2 is a diagram showing an example of processing method/fixed cycle format data, and FIG. 3 is a diagram showing an example of fixed cycle format data. FIG. 4 is a flowchart showing a partial processing example of the tree invention method, FIG. 5 is a block diagram showing details of the data flow of the present invention, and FIG. 6 is a block diagram showing an example of a conventional automatic programming device. l...data input section, 2...processing data manual means,
3... Machining data area, 4... Tool trajectory data creation section, 5... Tool trajectory data area, 8... NC program area, 9... Paper tape, etc., 10... Fixed cycle creation data Human power means, 1000... NC program creation section, l 100... Control section for fixed cycle creation section, 1300... NC program creation section other than fixed cycles, 1400... Fixed cycle creation section, 2000.
... Fixed cycle creation format data, 2100... Processing method/fixed cycle format compatible data area, 2200...
Fixed cycle format data group, 2201, 2202.・・・
・, 220 units...Fixed cycle format data.

Claims (1)

【特許請求の範囲】[Claims] NC工作機械を制御するためのNCプログラムを作成す
る自動プログラミング装置において、複数の固定サイク
ル形式データを外部より変更できるように予め格納して
おき、指定された加工法に対応して前記格納された固定
サイクル形式データの1つを選択し、加工データと前記
選択された固定サイクル形式データとを照合することに
より、前記NCプログラムの作成を任意形式としたこと
を特徴とする自動プログラミング装置における固定サイ
クル機能NCプログラムの作成方式。
In an automatic programming device that creates an NC program for controlling an NC machine tool, a plurality of canned cycle format data are stored in advance so that they can be changed from the outside, and the stored data is stored in accordance with a designated machining method. A fixed cycle in an automatic programming device, characterized in that the NC program is created in an arbitrary format by selecting one of the fixed cycle format data and comparing machining data with the selected fixed cycle format data. How to create a functional NC program.
JP31027686A 1986-12-26 1986-12-26 System for generating nc program with fixed cycle function of automatic programming device Pending JPS63163606A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP31027686A JPS63163606A (en) 1986-12-26 1986-12-26 System for generating nc program with fixed cycle function of automatic programming device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP31027686A JPS63163606A (en) 1986-12-26 1986-12-26 System for generating nc program with fixed cycle function of automatic programming device

Publications (1)

Publication Number Publication Date
JPS63163606A true JPS63163606A (en) 1988-07-07

Family

ID=18003284

Family Applications (1)

Application Number Title Priority Date Filing Date
JP31027686A Pending JPS63163606A (en) 1986-12-26 1986-12-26 System for generating nc program with fixed cycle function of automatic programming device

Country Status (1)

Country Link
JP (1) JPS63163606A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH03177903A (en) * 1989-12-07 1991-08-01 Mazda Motor Corp Method and device for production of nc working data
US7975406B2 (en) 2006-12-07 2011-07-12 I.B.M.I., Japan Driving shoes

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH03177903A (en) * 1989-12-07 1991-08-01 Mazda Motor Corp Method and device for production of nc working data
US7975406B2 (en) 2006-12-07 2011-07-12 I.B.M.I., Japan Driving shoes

Similar Documents

Publication Publication Date Title
JPH02293903A (en) Cad/cam device
US4994957A (en) System for simultaneously displaying all ladder diagram segments in which an operator designated relay appears as an input or output
JPS63163606A (en) System for generating nc program with fixed cycle function of automatic programming device
JPS58181108A (en) Numerical control system
US20160292237A1 (en) Numerical controller with ambiguous search function in program
JPH05100730A (en) Programming device for motion controller
JP3092744B2 (en) Processing system
US5163171A (en) Method of setting nc data output format
JPS63149705A (en) Nc data forming device
JPS62147505A (en) Automatic producing method for part program
JPH0546228A (en) Method for setting and changing post processor data in automatic programming device
EP0139759B1 (en) System for connecting and controlling external devices
JP3259987B2 (en) Interactive numerical controller
JPS6249404A (en) Method and device for editing nc program
JP2724240B2 (en) Automatic program generator with block diagram processing function
JPH0728521A (en) Automatic generating method for simulation program
JP3021091B2 (en) Work instruction system
JPH05224722A (en) Method and device for automatic production programming of machining path sentence of laser machining nc program
JPS6063603A (en) Program generation system of programmable controller
JPH04299708A (en) Numerical controller
JPH0784620A (en) Conversion processing method for tool route information
JPS6142007A (en) Numerical control method
JP3195442B2 (en) Processing information management device in numerical control device
JPS61187011A (en) Graphic display system of numerical controller
JPH0720918A (en) Numerical controller with guidance function