JPH0772845B2 - NC data creation device - Google Patents

NC data creation device

Info

Publication number
JPH0772845B2
JPH0772845B2 JP61297272A JP29727286A JPH0772845B2 JP H0772845 B2 JPH0772845 B2 JP H0772845B2 JP 61297272 A JP61297272 A JP 61297272A JP 29727286 A JP29727286 A JP 29727286A JP H0772845 B2 JPH0772845 B2 JP H0772845B2
Authority
JP
Japan
Prior art keywords
data
machine
code
standard
conversion
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.)
Expired - Lifetime
Application number
JP61297272A
Other languages
Japanese (ja)
Other versions
JPS63149705A (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.)
Toyota Motor Corp
Original Assignee
Toyota Motor 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 Toyota Motor Corp filed Critical Toyota Motor Corp
Priority to JP61297272A priority Critical patent/JPH0772845B2/en
Publication of JPS63149705A publication Critical patent/JPS63149705A/en
Publication of JPH0772845B2 publication Critical patent/JPH0772845B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Description

【発明の詳細な説明】 技術分野 本発明は数値制御機械(以下、NC機械という)を制御す
るためのNCデータを作成する装置に係り、特に複数種類
のNC機械のそれぞれのフォーマットに適合したNCデータ
をそのNC機械毎に作成し得るNCデータ作成装置に関する
ものである。
TECHNICAL FIELD The present invention relates to an apparatus for creating NC data for controlling a numerical control machine (hereinafter referred to as NC machine), and in particular, an NC suitable for each format of a plurality of types of NC machines. The present invention relates to an NC data creation device that can create data for each NC machine.

従来技術 近年、自動加工機などにおいてNC機械が多用されている
が、かかるNC機械を制御するためのNCデータを作成する
手段として、自動プログラミングと称するものがある。
これは、コンピュータを利用して行うもので、NC機械の
具体的動作内容を表す工程データ、例えばNC機械に工具
交換穴あけなどの一連の動きをさせるために必要な工具
の使用順序,座標値,切削条件等の情報を、予め定めら
れたプログラムに従って処理することにより、そのNC機
械(コントローラを含む)のフォーマットに適合したNC
データに変換するものである。このような自動プログラ
ミングによれば、人手によるマニュアルプログラミング
に比較して、短時間で正確なNCデータを作成することが
できる。実開昭58−32505号公報に記載されいる装置は
その一例である。
2. Description of the Related Art In recent years, NC machines have been widely used in automatic processing machines and the like. As a means for creating NC data for controlling such NC machines, there is what is called automatic programming.
This is done by using a computer, and process data showing the specific operation contents of the NC machine, for example, the order of use of tools, coordinate values, and the like, which are necessary for causing the NC machine to make a series of movements such as tool exchange drilling. An NC suitable for the format of the NC machine (including the controller) by processing information such as cutting conditions according to a predetermined program
It is to be converted into data. According to such automatic programming, accurate NC data can be created in a shorter time than manual programming by hand. The device described in Japanese Utility Model Laid-Open No. 58-32505 is an example.

発明が解決しようとする問題点 ところで、上記NCデータのフォーマット、すなわちNCデ
ータに使用されるNCコードの符号や配置などはNC機械毎
に異なるため、たとえば特開昭61−25212号公報に記載
されているように、NC加工情報を異機種間で用いるため
に、NC加工情報のうちの符号的な部分を所望機種の符号
に置換し、NC加工情報のうちの数値的な部分を所望機種
の数値に置換するNC加工情報の変換機が提案されてい
る。
Problems to be Solved by the Invention By the way, since the format of the NC data, that is, the code and arrangement of the NC code used for the NC data is different for each NC machine, it is described in, for example, JP-A-61-25212. As described above, in order to use the NC machining information between different models, the code part of the NC machining information is replaced with the code of the desired model, and the numerical part of the NC machining information is converted to the desired model. A converter for NC machining information that replaces numerical values has been proposed.

しかしながら、このようなNC加工情報の変換機によれ
ば、NC加工情報すなわちNCデータを異機種のためのNCデ
ータに変換するものであるため、専門知識のない作業者
では、異機種のためのNCデータを作成することができな
かった。
However, such a NC machining information converter converts NC machining information, that is, NC data, into NC data for different models. NC data could not be created.

問題点を解決するための手段 本発明は上記問題点を解決するために為されたものであ
り、その要旨とするところは、複数種類のNC機械を制御
するための複数種類のNCデータを個々のNC機械毎のフォ
ーマットに合わせて作成する装置であって、(a)使用
するNC機械の具体的動作内容を表す工程データを予め定
められた一定のフォーマットの標準データに変換する標
準データ変換手段と、(b)その標準データを個々のNC
機械のフォーマットに適合したNCデータに変換するため
に必要な諸元データをそれ等のNC機械毎に記憶している
機械諸元データ記憶手段と、(c)その機械諸元データ
記憶手段に記憶された前記諸元データに基づいて前記標
準データを前記NCデータに変換するNCデータ変換手段と
を有することにある。
Means for Solving Problems The present invention has been made to solve the above problems, and the gist thereof is to provide a plurality of types of NC data for controlling a plurality of types of NC machines individually. (A) Standard data conversion means for converting process data representing specific operation contents of the NC machine to be used into standard data of a predetermined fixed format. And (b) the standard data for each NC
Machine specification data storage means for storing, for each NC machine, specification data necessary for converting into NC data suitable for the machine format, and (c) stored in the machine specification data storage means. And NC data conversion means for converting the standard data into the NC data based on the specified data.

作用および発明の効果 このようなNCデータ作成装置においては、先ず、NC機械
の具体的動作内容を表す工程データが、標準データ変換
手段によって予め定められた一定のフォーマットの標準
データに変換され、次に、NCデータ変換手段により、機
械諸元データ記憶手段に記憶された諸元データに基づい
て上記標準データが使用する機械のフォーマットに適合
したNCデータに変換される。
In the NC data creating apparatus as described above, first, the process data representing the specific operation content of the NC machine is converted into standard data in a predetermined format by the standard data converting means, and then The NC data converting means converts the standard data into NC data suitable for the format of the machine to be used, based on the specification data stored in the machine specification data storage means.

すなわち、本考案のNCデータ作成装置は、標準データを
NC機械毎のフォーマットに適合したNCデータに変換する
ために必要な諸元データを記憶している機械諸元データ
記憶手段と、その諸元データに基づいて標準データをNC
データに変換するNCデータ変換手段とが別個に構成され
ており、機械諸元データ記憶手段には複数種類のNC機械
の諸元データが記憶されているため、一台のNCデータ作
成装置で複数種類のNC機械に適合するNCデータをそれぞ
れ作成することができるのである。
That is, the NC data creation device of the present invention uses standard data.
NC machine specification data storage means that stores the specification data required to convert to NC data that conforms to the format of each machine and standard data based on the specification data.
The NC data conversion means for converting to data is configured separately, and the specification data storage means stores the specification data of multiple types of NC machines. It is possible to create NC data suitable for each type of NC machine.

従って、上記のように、専門知識のないものでも理解で
きる工程データから標準データに変換され、機械諸元デ
ータに基づいてその標準データからNCデータに変換され
るので、その工程データさえ準備すれば、専門知識のな
い作業者でも異機種のためのNCデータを容易に作成する
ことができる。
Therefore, as described above, process data that can be understood by people without specialized knowledge is converted to standard data, and the standard data is converted to NC data based on machine specification data. Even a worker without specialized knowledge can easily create NC data for different models.

また、上記NCデータ変換手段はNC機械の種類に拘らず共
通して使用されるため、工程データをNCデータに変換す
るための全ての処理手順を示す専用プログラムを複数種
類のNC機械についてそれぞれNCデータ作成装置内に記憶
させておく場合に比較して、装置が簡単かつ安価に構成
され得る利点がある。
Further, since the above NC data conversion means is commonly used regardless of the type of NC machine, a dedicated program showing all the processing procedures for converting process data into NC data is provided for each NC machine of a plurality of types. There is an advantage that the device can be configured easily and inexpensively as compared with the case of storing it in the data creating device.

一方、上記のように機械諸元データ記憶手段とNCデータ
変換手段とが別個に構成されているところから、NC機械
の諸元データをユーザー側で作成したり変更したりする
ことが容易となる。したがって、上記機械諸元データ記
憶手段を、諸元データの書込み,書換えが自由に行われ
得るものとすれば、機械諸元データ記憶手段に諸元デー
タが記憶されていない新たなNC機械を採用する際に、ユ
ーザー側でその諸元データを作成して機械諸元データ記
憶手段に記憶させることができる。また、既に記憶され
いる諸元データをユーザーの経験等に基づいて自由に変
更することが可能となり、NC機械の動きに関する設計の
自由度が向上する。
On the other hand, since the machine specification data storage means and the NC data conversion means are separately configured as described above, it becomes easy for the user to create or change the specification data of the NC machine. . Therefore, if the above-mentioned machine specification data storage means can freely write and rewrite specification data, a new NC machine in which specification data is not stored in the machine specification data storage means is adopted. In doing so, the user can create the specification data and store it in the machine specification data storage means. Further, it becomes possible to freely change the already-stored specification data based on the experience of the user, etc., and the degree of freedom in design regarding the movement of the NC machine is improved.

なお、前記標準データ,諸元データおよびNCデータの具
体的態様としては、例えば標準データは、前記複数種類
のNC機械の全ての動作に関する項目を有する一定のデー
タテーブルに前記工程データの表す動作内容が書き込ま
れたものによって構成され、諸元データは、前記データ
テーブルの全項目のうち該諸元データに対応したNC機械
に関する項目にそれぞれ該当するものを指定する情報
と、その情報により指定された項目の前記動作内容をそ
のNC機械に適合したNCコードに変換するための変換処理
方法を指定する情報と、その変換処理方法に従って、変
換された前記NCコードの配置を指定する情報とを含むも
のによって構成され、NCデータは、前記NCコードとその
NCコードの配置で表されるものによって構成される。
In addition, as a concrete mode of the standard data, the specification data, and the NC data, for example, the standard data is an operation content represented by the process data in a constant data table having items related to all operations of the plurality of types of NC machines. Is written, and the specification data is specified by the information specifying the items corresponding to the items related to the NC machine corresponding to the specification data among all the items of the data table, and the information. Including information designating a conversion processing method for converting the operation content of the item into an NC code suitable for the NC machine, and information designating the arrangement of the converted NC code according to the conversion processing method The NC data consists of the NC code and its
It is composed by what is represented by the arrangement of NC codes.

実施例 以下、本発明の一実施例を図面に基づいて詳細に説明す
る。
Embodiment Hereinafter, one embodiment of the present invention will be described in detail with reference to the drawings.

先ず、第1図は本実施例のNCデータ作成装置のハードウ
ェア構成を示すブロック線図であり、入力装置10,CPU
(中央演算処理装置)12,第1記憶装置14,第2記憶装置
16,プリンタ18およびテープパンチャー20から構成され
ている。第1記憶装置14は、工程データを標準データに
変換したのち更にその標準データをNCデータに変換する
ための一連のNCデータ変換処理ロジックが記憶されてい
るプログラムメモリ22と、標準データを個々のNC機械の
フォーマットに適合したNCデータに変換するために必要
な諸元データがNC機械毎に記憶されている諸元データメ
モリ24とから成り、第2記憶装置16は、複数種類のNC機
械および加工すべき製品毎の工程データが予め記憶され
ている工程データメモリ26と、その工程データが変換処
理された標準データが記憶される標準データメモリ28
と、その標準データが変換処理されたNCデータが記憶さ
れるNCデータメモリ30とから成る。また、上記CPU12
は、第1記憶装置14のプログラムメモリ16に記憶されて
いるNCデータ変換処理ロジックに従って、信号処理を行
い、その結果得られたNCデータを表す信号をプリンタ18
およびテープパンチャー20に出力する。本実施例では上
記諸元データメモリ24が機械諸元データ記憶手段に相当
する。
First, FIG. 1 is a block diagram showing the hardware configuration of the NC data creating apparatus of this embodiment.
(Central processing unit) 12, first storage device 14, second storage device
It consists of a printer 18 and a tape puncher 20. The first storage device 14 stores a program memory 22 in which a series of NC data conversion processing logic for converting the process data into standard data and then further converting the standard data into NC data, and the standard data into individual data. The specification data memory 24 stores, for each NC machine, the specification data required to convert the NC data suitable for the NC machine format. The second storage device 16 stores a plurality of types of NC machines and A process data memory 26 in which process data for each product to be processed is stored in advance, and a standard data memory 28 in which standard data obtained by converting the process data is stored.
And an NC data memory 30 that stores NC data obtained by converting the standard data. Also, the above CPU12
Performs signal processing according to the NC data conversion processing logic stored in the program memory 16 of the first storage device 14 and outputs a signal representing the NC data obtained as a result to the printer 18
And output to the tape puncher 20. In this embodiment, the specification data memory 24 corresponds to machine specification data storage means.

ここで、上記工程データは、特定のNC機械を用いて一つ
の製品を加工する際に必要な情報を備えたもので、例え
ば、マシニングセンタ等のNC機械に工具交換,穴あけ,
ねじ立てなどの一連の動きをさせる場合には、工具No.
やマガジンNo.などの工具情報、加工開始点,切削送り
開始点,切削送り終了点,加工終了点等の座標値情報、
工具の回転数,送り速度,切削油の要否等の切削条件な
どの情報から成り、NC機械の種類および加工すべき製品
毎に予め入力装置10により工程データメモリ26内に記憶
されている。
Here, the above-mentioned process data is provided with information necessary for processing one product using a specific NC machine. For example, tool exchange, drilling,
When performing a series of movements such as tapping, the tool No.
And tool information such as magazine number, machining start point, cutting feed start point, cutting feed end point, machining end point, and other coordinate value information,
It is made up of information such as tool rotation speed, feed rate, cutting conditions such as necessity of cutting oil, etc., and is stored in the process data memory 26 in advance by the input device 10 for each type of NC machine and each product to be machined.

また、標準データは、NC機械の種類や加工すべき製品毎
に内容が異なる上記工程データを、予め定められた一定
のフォーマットで表したもので、例えば第4図に示され
ているように、複数種類のNC機械の全ての動作に関する
項目を有する一定のデータテーブルに上記工程データの
表す動作内容が書き込まれたものである。標準データ
は、工具交換,穴あけ,ねじ立てなどの一つのモーショ
ンコード毎に作成される。また、座標値については、NC
機械の仕様によりアブソリュート方式,インクリメンタ
ル方式の何れにも対処し得るように絶対値および増減値
の両方をデータとして持たせてあり、その座標値は、ワ
ークを載置するテーブルのターン/チルトに伴ってワー
ク側の座標は回転するため、スピンドル側を基準として
定められている。なお、上記第4図は、理解を容易とす
るために標準データの内容を視覚的に示したものであ
る。
Further, the standard data is the above-mentioned process data having different contents depending on the type of NC machine or the product to be machined, which is expressed in a predetermined fixed format. For example, as shown in FIG. The operation content represented by the process data is written in a constant data table having items related to all operations of a plurality of types of NC machines. Standard data is created for each motion code such as tool change, drilling, and tapping. For coordinate values, NC
Depending on the machine specifications, both absolute value and incremental value are provided as data so that both absolute method and incremental method can be dealt with, and the coordinate values are associated with the turn / tilt of the table on which the work is placed. Since the coordinates on the workpiece side rotate, the spindle side is set as a reference. The above-mentioned FIG. 4 is a visual representation of the contents of standard data for easy understanding.

また、諸元データは、NCコードデータと、NCコード変換
テーブルと、フォーマット変換指示データとから成り、
予め入力装置10により諸元データメモリ24に記憶されて
いるとともに、必要に応じて書込み,書換えが可能とさ
れている。NCコードは、前記標準データにおける一つの
項目の動作内容を、諸元データに対応するNC機械のフォ
ーマットに適合するようにコード化したもので、このNC
コードおよびその配置により当該NC機械のフォーマット
に適合したNCデータが作成される。
Further, the specification data consists of NC code data, an NC code conversion table, and format conversion instruction data,
It is stored in the specification data memory 24 by the input device 10 in advance, and can be written and rewritten if necessary. The NC code is a code that encodes the operation content of one item in the standard data to match the format of the NC machine corresponding to the specification data.
By the code and its arrangement, NC data suitable for the format of the NC machine is created.

上記NCコードデータは、当該NC機械に使用できるNCコー
ドの情報で、例えば第5図に示されているように、当該
NC機械で使用できるNCワード(a)と、それぞれのコー
ドで使用できる最大ケタ数(b)と、回転数,送り速度
などの数値データをそのままNCコードに使用する直接指
定方式から特別のコードに変換する間接指定方式かを示
すコード変換要否(c)と、座標値や移動量の最小設定
単位(d)などから成る。また、NCコード変換テーブル
は上記間接指示方式のNC機械の場合に必要なもので、例
えば第6図はスピンドルの回転数に対応するNCコードを
示す情報の一例である。すなわち、かかる第6図におい
て、例えばスピンドルの回転数「630rpm」は「S56」のN
Cコードで表されるのである。これ等のNCコードデータ
およびNCコード変換テーブルは、個々のNC機械毎に登録
されている。
The NC code data is the information of the NC code that can be used for the NC machine. For example, as shown in FIG.
NC word (a) that can be used in NC machine, maximum digit number (b) that can be used for each code, and numerical data such as rotation speed and feed rate are used as they are for NC code. A code conversion necessity (c) indicating the indirect designation method for conversion and a minimum setting unit (d) of the coordinate value and the movement amount are included. Further, the NC code conversion table is necessary in the case of the NC machine of the above-mentioned indirect instruction system. For example, FIG. 6 is an example of information showing the NC code corresponding to the rotation speed of the spindle. That is, in FIG. 6, for example, the rotation speed of the spindle "630 rpm" is N of "S56".
It is represented by C code. These NC code data and NC code conversion table are registered for each individual NC machine.

一方、前記フォーマット変換指示データは、前記標準デ
ータにおける一つのモーションコードの一項目毎にNCデ
ータへの変換方法や配置を指示するもので、標準データ
の全項目のうち当該NC機械に関する項目にそれぞれ該当
するものを指定する取出し先情報と、その情報により指
定された項目の動作内容を当該NC機械に適合したNCコー
ドに変換するための変換処理方法を指定する変換処理情
報と、その変換処理方法に従って変換されたNCコードの
配置を指定する出力先情報とを含んでいる。第7図は、
かかるフォーマット変換指示データの一例を示すもの
で、例えばモーションコード「5181」について説明する
と、この「5181」は前記標準データの穴あけに対応する
ものであり、第1段に示されている「X2012106」は一つ
の項目のフォーマット変換指示データである。
On the other hand, the format conversion instruction data is for instructing the conversion method and the arrangement of NC data for each item of one motion code in the standard data. Extraction destination information that specifies the corresponding one, conversion processing information that specifies the conversion processing method for converting the operation content of the item specified by that information into an NC code that is compatible with the NC machine, and the conversion processing method Output destination information that specifies the arrangement of the NC code converted according to the above. Figure 7 shows
An example of such format conversion instruction data is shown. For example, when the motion code "5181" is described, this "5181" corresponds to the punching of the standard data, and "X2012106" shown in the first row. Is the format conversion instruction data for one item.

上記フォーマット変換指示データ「X2012106」について
詳しく説明すると、先頭の「X」は前記NCワードで、続
く「20」は変換処理方法を示す変換処理情報である。変
換処理方法については、全てのNC機械に関する変換処理
方法が、例えば標準データをそのまま出力するもの,NC
ワードに標準データを結合して出力するもの,前記NCコ
ード変換テーブルにより変換して出力するもの,NC機械
固有の変換処理を行って出力するものなどに分類して予
め登録されており、上記「20」はその何れかの変換処理
方法を指示するものである。また、続く「121」は標準
データからの取出し先を指示する情報で、その標準デー
タを項目のNo.すなわち先頭から何番目に入っているデ
ータを取り出すかを示しており、最後の「06」はNCコー
ドの出力先を指示する情報で、NCコードを格納するNCデ
ータテーブルの格納位置を示している。
The format conversion instruction data “X2012106” will be described in detail. The first “X” is the NC word, and the subsequent “20” is conversion processing information indicating a conversion processing method. Regarding the conversion processing method, conversion processing methods for all NC machines, such as those that output standard data as is, NC
It is pre-registered by classifying it into one that combines standard data into words and outputs, one that converts and outputs by the NC code conversion table, one that performs conversion processing specific to the NC machine and outputs. "20" indicates one of the conversion processing methods. Further, the following "121" is information for instructing the extraction destination from the standard data, and indicates the item number of the standard data, that is, the number of data from the beginning, and the last "06". Is information indicating the output destination of the NC code, and indicates the storage position of the NC data table that stores the NC code.

かかるフォーマット変換指示データは、第7図から明ら
かなように、個々のNC機械について一つのモーションコ
ード毎にまとめて登録されている。また、各モーション
コード内においては、動作内容に基づいて幾つかのブロ
ックに分けられている。第7図における各モーションコ
ード内の一行,一行はそれぞれ一つのブロックを表して
いる。
As is clear from FIG. 7, the format conversion instruction data is registered for each motion code for each NC machine. Further, in each motion code, it is divided into some blocks based on the operation content. Each line in each motion code in FIG. 7 represents one block.

そして、以上のように構成されたNCデータ作成装置は、
第2図のブロック線図に示されている機能を備えてい
る。この機能は前記プログラムメモリ22に記憶されてい
るNCデータ変換処理ロジックが実行されることによって
発揮されるもので、先ず、入力装置10により使用するNC
機械および製品番号が入力されると、それに対応する工
程データが工程データメモリ26から読み出され、標準デ
ータ変換ブロック32に供給される。この標準データ変換
ブロック32は標準データ変換手段を成すもので、供給さ
れた工程データを工具交換,穴あけなどの一つのモーシ
ョンコード毎に前記標準データに変換し、標準データメ
モリ28に記憶する。
And, the NC data creation device configured as described above,
It has the functions shown in the block diagram of FIG. This function is exhibited by executing the NC data conversion processing logic stored in the program memory 22. First, the NC used by the input device 10
When the machine and product number are input, the corresponding process data is read from the process data memory 26 and supplied to the standard data conversion block 32. The standard data conversion block 32 constitutes a standard data conversion means, and converts the supplied process data into the standard data for each one motion code such as tool exchange and drilling, and stores it in the standard data memory 28.

上記標準データメモリ28に記憶された標準データは、諸
元データメモリ24に記憶されている前記使用するNC機械
の諸元データと共に読み出されてNCデータ変換ブロック
34に供給される。このNCデータ変換ブロック34はNCデー
タ変換手段を成すもので、諸元データに基づいて標準デ
ータを当該NC機械に適合するフォーマットのNCデータに
変換し、NCデータメモリ30に記憶する。
The standard data stored in the standard data memory 28 is read out together with the specification data of the NC machine to be used which is stored in the specification data memory 24 and is converted into an NC data conversion block.
Supplied to 34. The NC data conversion block 34 constitutes NC data conversion means, and converts standard data into NC data of a format suitable for the NC machine based on the specification data and stores it in the NC data memory 30.

第3図は、上記NCデータ変換ブロック34の機能を実行す
るためにプログラムメモリ22に記憶されたプログラムの
フローチャートである。以下、このフローチャートに従
って更に具体的に説明する。
FIG. 3 is a flowchart of a program stored in the program memory 22 for executing the functions of the NC data conversion block 34. Hereinafter, a more specific description will be given according to this flowchart.

先ず、ステップS1では、標準データメモリ28に記憶され
ている標準データが一つのモーションコード毎に読み込
まれ、ステップS2においては、読み込まれたモーション
コードが先頭のモーションコードであるか否かが判断さ
れる。先頭のモーションコードである場合には、ステッ
プS3において諸元データメモリ24から当該NC機械に関す
る諸元データ、すなわち前記NCコードデータ,NCコード
変換テーブルおよびフォーマット変換指示データが読み
込まれた後ステップS4が実行され、フォーマット変換指
示データのなかから前記ステップS1において読み込まれ
たモーションコードに対応するデータが取り出される。
First, in step S1, the standard data stored in the standard data memory 28 is read for each motion code, and in step S2, it is determined whether or not the read motion code is the leading motion code. It If it is the head motion code, the specification data relating to the NC machine, that is, the NC code data, the NC code conversion table, and the format conversion instruction data are read from the specification data memory 24 in step S3, and then step S4 is performed. When executed, the data corresponding to the motion code read in step S1 is extracted from the format conversion instruction data.

上記フォーマット変換指示データは、前述したように一
つのモーションコード毎に幾つかのブロックに分けて登
録されており、以下、一つのブロック毎に順次そのフォ
ーマット変換指示データに従って標準データがNCデータ
に変換される。すなわち、先ずステップS5においては、
第1のブロックの最初のフォーマット変換指示データの
取出し先情報に従って標準データの所定の項目のデータ
が取り出され、ステップS6においては、そのフォーマッ
ト変換指示データの変換処理情報に示されている変換処
理方法に従って上記標準データから取り出されたデータ
がNCコードに変換され、更にステップS7においては、フ
ォーマット変換指示データの出力先情報に従ってNCデー
タテーブルの所定の位置にNCコードが格納される。かか
るステップS5〜S7は、一つのブロック内のフォーマット
変換指示データの数だけ繰り返され、NCデータテーブル
の所定の位置にNCコードが順次格納される。そして、ス
テップS8において1ブロックの変換処理が終了したと判
断されると、続いてステップS9が実行され、複数のNCコ
ードがそれぞれ所定の位置に格納されたNCデータがNCデ
ータメモリ30に記憶される。
As described above, the format conversion instruction data is registered by dividing it into several blocks for each motion code.Hereafter, standard data is converted into NC data for each block sequentially according to the format conversion instruction data. To be done. That is, first in step S5,
The data of the predetermined item of the standard data is extracted according to the extraction destination information of the first format conversion instruction data of the first block, and in step S6, the conversion processing method indicated in the conversion processing information of the format conversion instruction data. The data extracted from the standard data is converted into the NC code according to the above, and in step S7, the NC code is stored in a predetermined position of the NC data table according to the output destination information of the format conversion instruction data. The steps S5 to S7 are repeated by the number of format conversion instruction data in one block, and the NC code is sequentially stored at a predetermined position in the NC data table. Then, if it is determined in step S8 that the conversion process for one block is completed, then step S9 is executed, and NC data in which a plurality of NC codes are stored in predetermined positions are stored in the NC data memory 30. It

また、上記ステップS5〜S9は、1モーションコード内の
ブロックの数だけ繰り返され、1ブロック毎にNCデータ
がNCデータメモリ30に順次記憶される。そして、ステッ
プS10において1モーションコードの変換処理が終了し
たと判断されると、続いてステップS11が実行され、最
終のモーションコードの変換処理が終了したか否かが判
断される。すなわち、前記ステップS1において読み込ま
れた標準データが最終のモーションコードであるか否か
が判断され、最終のモーションコードでない場合にはス
テップS11に続いてステップS1以下の実行が繰り返さ
れ、次のモーションコードの標準データが読み込まれて
NCデータに変換される。また、このようにして全てのモ
ーションコードの変換処理が終了すると、ステップS11
の判断はYESとなって一連のNCデータ変換処理が終了す
る。
Further, the above steps S5 to S9 are repeated for the number of blocks in one motion code, and the NC data is sequentially stored in the NC data memory 30 for each block. When it is determined in step S10 that the conversion process of one motion code is completed, step S11 is subsequently executed to determine whether or not the conversion process of the final motion code is completed. That is, it is determined whether or not the standard data read in step S1 is the final motion code, and if it is not the final motion code, execution of step S1 and subsequent steps is repeated following step S11, and the next motion is executed. The standard data of the code is read
Converted to NC data. When all the motion code conversion processing is completed in this way, step S11
Is YES, and a series of NC data conversion processing ends.

なお、前記ステップS6の実行に際しては、変換されたNC
コードが当該NC機械に適合するものか否かが前記NCコー
ドデータに基づいて判断される。これは、前記フォーマ
ット変換処理データをユーザー側で作成,変更した場合
に、必ずしも正確でなに場合があることを考慮したもの
である。また、このステップS6では、必要に応じて前記
NCコード変換テーブルから所定のNCコードが取り出され
る。
When executing step S6, the converted NC
Whether or not the code is suitable for the NC machine is determined based on the NC code data. This is because when the format conversion processing data is created and changed by the user, it may not always be accurate. Further, in this step S6, the
A predetermined NC code is extracted from the NC code conversion table.

第2図に戻って、前記NCデータメモリ30に記憶されたNC
データは、その後、そのNCデータを表す信号がプリンタ
18およびテープパンチャー20に供給されることにより、
NCデータリストおよび紙テープとして出力される。第8
図は上記NCデータリストの一例で、「T」,「B」,
「X」などのNCワードに連なる一連の符号が前記NCコー
ドであり、NCデータは、このNCコードおよびその配置に
よって表されている。また、上記紙テープは、作成され
たNCデータをNC機械に伝達するための媒体で、これが当
該NC機械に装着されることにより、そのNC機械は作成さ
れたNCデータに従って制御される。
Returning to FIG. 2, the NC stored in the NC data memory 30.
The data is then printed by a signal that represents that NC data.
By being supplied to 18 and tape puncher 20,
Output as NC data list and paper tape. 8th
The figure is an example of the above NC data list. "T", "B",
The NC code is a series of codes connected to NC words such as "X", and NC data is represented by this NC code and its arrangement. The paper tape is a medium for transmitting the created NC data to the NC machine, and by mounting the paper tape on the NC machine, the NC machine is controlled according to the created NC data.

このように、本実施例のNCデータ作成装置は、工程デー
タを一旦標準データに変換するとともに、諸元データメ
モリ24から該当するNC機械の諸元データを読み出してそ
のNC機械に適合するフォーマットのNCデータに変換する
ようになっているため、1台で複数種類のNC機械に適合
するNCデータをそれぞれ作成することができるのであ
る。上記工程データは専門知識のないものでも理解でき
るものであるから、その工程データさえ準備すれば、専
門知識のない作業者でも異機種のためのNCデータを容易
に作成することができる。
As described above, the NC data creating apparatus of the present embodiment temporarily converts the process data into the standard data, reads the specification data of the relevant NC machine from the specification data memory 24, and converts the specification data into a format suitable for the NC machine. Since it is designed to be converted into NC data, it is possible to create NC data suitable for multiple types of NC machines with a single machine. Since the above process data can be understood even by those without special knowledge, even if the process data is prepared, an operator without special knowledge can easily create NC data for different models.

しかも、諸元データを記憶する諸元データメモリ24と、
その諸元データに基づいて標準データをNCデータに変換
処理するNCデータ変換ブロック34とが別個に構成されて
おり、NCデータ変換ブロック34はNC機械の種類に拘らず
共通して使用されるため、工程データをNCデータに変換
するための全ての処理手順を示す専用プログラムを複数
種類のNC機械についてNCデータ作成装置内に記憶させて
おく場合に比較して、装置が簡単かつ安価に構成され得
る利点がある。
Moreover, the specification data memory 24 for storing the specification data,
The NC data conversion block 34, which converts standard data into NC data based on the specification data, is configured separately, and the NC data conversion block 34 is commonly used regardless of the type of NC machine. In comparison with the case where a dedicated program showing all the processing procedures for converting process data into NC data is stored in the NC data creation device for multiple types of NC machines, the device is simpler and cheaper to configure. There is an advantage to get.

また、上記のように諸元データメモリ24とNCデータ変換
ブロック34とが別個に構成されているところから、NC機
械の諸元データをユーザー側で作成したり変更したりす
ることが容易に可能で、且つ諸元データメモリ24の諸元
データは入力装置10により書込み,書換えが自由に行わ
れ得るようになっているため、新たなNC機械を採用する
際にはユーザー側でその諸元データを作成して諸元デー
タメモリ24に登録すれば良く、従来のように専用のNCポ
ストプロセッサを購入する必要がない。また、既に登録
されている諸元データをユーザーの経験等に基づいて変
更することが可能であるため、例えばX軸−Y軸平面内
で直接目標位置まで移動させる替わりに、先ずX軸方向
へ移動させた後Y軸方向へ移動させるようにするなど、
NC機械の動きに関する設計の自由度が向上する。
Further, since the specification data memory 24 and the NC data conversion block 34 are separately configured as described above, it is possible to easily create or change the specification data of the NC machine on the user side. In addition, since the specification data in the specification data memory 24 can be freely written and rewritten by the input device 10, when the new NC machine is adopted, the specification data can be changed by the user. Need only be created and registered in the specification data memory 24, and there is no need to purchase a dedicated NC post processor as in the conventional case. Moreover, since it is possible to change the already registered specification data based on the experience of the user, for example, instead of directly moving to the target position in the X-axis-Y-axis plane, first move in the X-axis direction. After moving it, move it in the Y-axis direction.
The degree of freedom in design regarding the movement of the NC machine is improved.

以上、本発明の一実施例を図面に基づいて詳細に説明し
たが、本発明は他の態様で実施することもできる。
Although one embodiment of the present invention has been described in detail with reference to the drawings, the present invention can be implemented in other modes.

例えば、前記実施例ではNC機械の種類および製品毎に工
程データが予め記憶されているが、かかる工程データを
入力装置10から直接入力するようにしても差支えない。
For example, in the above-mentioned embodiment, the process data is stored in advance for each type of NC machine and each product, but such process data may be directly input from the input device 10.

また、前記実施例の諸元データメモリ24は諸元データの
書込み,書換えが可能とされているが、諸元データの書
込みや書換えが不能であっても本発明の効果は得られ
る。
Further, although the specification data memory 24 of the above-described embodiment is capable of writing and rewriting the specification data, the effect of the present invention can be obtained even if the specification data cannot be written or rewritten.

また、前記実施例の諸元データはNCコードデータ,NCコ
ード変換テーブルおよびフォーマット変換指示データか
ら構成されているが、この諸元データの内容は必要に応
じて適宜設定される。
Further, the specification data of the above embodiment is composed of the NC code data, the NC code conversion table and the format conversion instruction data, and the content of the specification data is appropriately set as necessary.

また、前記実施例では作成されたNCデータがテープパン
チヤー20から出力されるようになっているが、NC機械に
直接出力することも可能である。
Further, in the above embodiment, the created NC data is output from the tape puncher 20, but it is also possible to output it directly to the NC machine.

その他一々例示はしないが、本発明はその精神を逸脱す
ることなく当業者の知識に基づいて種々の変更,改良を
加えた態様で実施できる。
Although not illustrated one by one, the present invention can be implemented in variously modified and improved modes based on the knowledge of those skilled in the art without departing from the spirit thereof.

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

第1図は本発明の一実施例であるNCデータ作成装置のハ
ードウェア構成を説明するブロック線図である。第2図
は第1図のNCデータ作成装置の機能を説明するブロック
線図である。第3図は第2図におけるNCデータ変換ブロ
ック機能を実行するためのフローチャートである。第4
図は標準データの一例を説明する図である。第5図はNC
コードデータの一例を説明する図である。第6図はNCコ
ード変換テーブルの一例を説明する図である。第7図は
フォーマット変換指示データの一例を説明する図であ
る。第8図は第1図のNCデータ作成装置におけるプリン
タから出力されたNCデータリストの一例を示す図であ
る。 24:諸元データメモリ(機械諸元データ記憶手段) 32:標準データ変換ブロック(標準データ変換手段) 34:NCデータ変換ブロック(NCデータ変換手段)
FIG. 1 is a block diagram illustrating a hardware configuration of an NC data creating device according to an embodiment of the present invention. FIG. 2 is a block diagram for explaining the function of the NC data creating device of FIG. FIG. 3 is a flow chart for executing the NC data conversion block function in FIG. Fourth
The figure is a diagram for explaining an example of standard data. Fig. 5 shows NC
It is a figure explaining an example of code data. FIG. 6 is a diagram for explaining an example of the NC code conversion table. FIG. 7 is a diagram illustrating an example of format conversion instruction data. FIG. 8 is a diagram showing an example of an NC data list output from the printer in the NC data creation device of FIG. 24: Specification data memory (machine specification data storage means) 32: Standard data conversion block (standard data conversion means) 34: NC data conversion block (NC data conversion means)

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】複数種類の数値制御機械を制御するための
複数種類のNCデータを個々の機械毎のフォーマットに合
わせて作成する装置であって、 使用する機械の具体的動作内容を表す工程データを予め
定められた一定のフォーマットの標準データに変換する
標準データ変換手段と、 該標準データを個々の機械のフォーマットに適合したNC
データに変換するために必要な諸元データを該機械毎に
記憶している機械諸元データ記憶手段と、 該機械諸元データ記憶手段に記憶された前記諸元データ
に基づいて前記標準データを前記NCデータに変換するNC
データ変換手段と を有することを特徴とするNCデータ作成装置。
1. A device for creating a plurality of types of NC data for controlling a plurality of types of numerically controlled machines according to the format of each individual machine, and process data representing the specific operation contents of the machine to be used. Standard data conversion means for converting the standard data into standard data of a predetermined fixed format, and an NC adapted to the standard data format of the standard data.
Machine specification data storage means for storing specification data necessary for conversion into data for each machine, and the standard data based on the specification data stored in the machine specification data storage means. NC to convert to the NC data
An NC data creation device comprising: a data conversion means.
【請求項2】前記機械諸元データ記憶手段は、前記諸元
データの書込み,書換えが自由に行われ得るものである
特許請求の範囲第1項に記載のNCデータ作成装置。
2. The NC data creation device according to claim 1, wherein the machine specification data storage means is capable of freely writing and rewriting the specification data.
【請求項3】前記標準データは、前記複数種類の機械の
全ての動作に関する項目を有する一定のデータテーブル
に前記工程データの表す動作内容が書き込まれたもので
あり、前記諸元データは、前記データテーブルの全項目
のうち該諸元データに対応した機械に関する項目にそれ
ぞれ該当するものを指定する情報と、該情報により指定
された項目の前記動作内容を該機械に適合したNCコード
に変換するための変換処理方法を指定する情報と、該変
換処理方法に従って変換された前記NCコードの配置を指
定する情報とを含むものであり、前記NCデータは、前記
NCコードと該NCコードの配置で表されるものである特許
請求の範囲第1項または第2項に記載のNCデータ作成装
置。
3. The standard data is one in which the operation content represented by the process data is written in a constant data table having items related to all operations of the plurality of types of machines, and the specification data is Information that specifies items corresponding to items related to the machine corresponding to the specification data among all items in the data table, and the operation contents of the items specified by the information are converted into NC codes suitable for the machine. For specifying a conversion processing method for the above, and information for specifying the arrangement of the NC code converted according to the conversion processing method, the NC data,
The NC data creation device according to claim 1 or 2, which is represented by an NC code and an arrangement of the NC code.
JP61297272A 1986-12-12 1986-12-12 NC data creation device Expired - Lifetime JPH0772845B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61297272A JPH0772845B2 (en) 1986-12-12 1986-12-12 NC data creation device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61297272A JPH0772845B2 (en) 1986-12-12 1986-12-12 NC data creation device

Publications (2)

Publication Number Publication Date
JPS63149705A JPS63149705A (en) 1988-06-22
JPH0772845B2 true JPH0772845B2 (en) 1995-08-02

Family

ID=17844372

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61297272A Expired - Lifetime JPH0772845B2 (en) 1986-12-12 1986-12-12 NC data creation device

Country Status (1)

Country Link
JP (1) JPH0772845B2 (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0224704A (en) * 1988-07-14 1990-01-26 Fanuc Ltd Robot program converter
JP2827239B2 (en) * 1988-12-28 1998-11-25 トヨタ自動車株式会社 Operation state display device, operation instruction control device, and control device
WO1999061962A1 (en) * 1998-05-28 1999-12-02 Mitsubishi Denki Kabushiki Kaisha Machining program file converter for numerically controlled equipment and computer-readable recording medium storing program for controlling computer to execute file conversion procedure
JP5123502B2 (en) * 2006-09-04 2013-01-23 三菱重工業株式会社 Post-processor development support system and CAM system using the same
US9846424B2 (en) 2013-03-29 2017-12-19 Mitsubishi Electric Corporation Numerical control apparatus

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS58161004A (en) * 1982-03-19 1983-09-24 Hitachi Ltd Method and device for teaching robot
JPS599708A (en) * 1982-07-09 1984-01-19 Hitachi Ltd Operation error compensating method of robot system
JPS60107107A (en) * 1983-11-16 1985-06-12 Nachi Fujikoshi Corp Off-line teaching method of industrial robot
JPS60118906A (en) * 1983-11-30 1985-06-26 Toshiba Eng Co Ltd Method and apparatus for injecting nc data
JPS6125212A (en) * 1984-07-12 1986-02-04 Hitachi Seiki Co Ltd Converter of nc machining information

Also Published As

Publication number Publication date
JPS63149705A (en) 1988-06-22

Similar Documents

Publication Publication Date Title
JPS62277244A (en) Accommodation control device for machine tool
JPS62267804A (en) Nc data changing method
US5299477A (en) Method of selecting a tool in a punching press machine
JP2639169B2 (en) Numerical control unit
JPH0772845B2 (en) NC data creation device
JPH0753336B2 (en) Automatic tool selection device for machine tools
JPH0283141A (en) Numerical control device
JPS61173842A (en) Numerical control device
JPH11161479A (en) Device and method for processing data and recording medium
JP3092744B2 (en) Processing system
JPH0242510A (en) Display system for working information
JPH0563749U (en) Numerical control device with processing time calculation function
JP3050991B2 (en) Tool offset shape data input type numerical control method and device
JPH02172646A (en) Numerical control device
JP2730040B2 (en) How to create NC data
JP3072918B2 (en) Schedule operation method
JP2992163B2 (en) Numerical control method and device
JP3636711B2 (en) Electrical equipment control system
JP2603219B2 (en) NC data creation device having machining process control unit
JP2642451B2 (en) Numerical control unit
JPS62292347A (en) Adaptation control device for machine tool
JPS5936809A (en) Data processor for controlling robot
JP3932751B2 (en) Production program creation device
JPS62204310A (en) Editing system for working program
JPH0883113A (en) Controller for nc machine tool

Legal Events

Date Code Title Description
EXPY Cancellation because of completion of term