JPH03263105A - Numerical controller having store managing function of working information - Google Patents
Numerical controller having store managing function of working informationInfo
- Publication number
- JPH03263105A JPH03263105A JP6228890A JP6228890A JPH03263105A JP H03263105 A JPH03263105 A JP H03263105A JP 6228890 A JP6228890 A JP 6228890A JP 6228890 A JP6228890 A JP 6228890A JP H03263105 A JPH03263105 A JP H03263105A
- Authority
- JP
- Japan
- Prior art keywords
- information data
- data
- memory
- tool
- program
- 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.)
- Granted
Links
- 230000015654 memory Effects 0.000 claims abstract description 79
- 238000003754 machining Methods 0.000 claims description 23
- 238000006243 chemical reaction Methods 0.000 claims description 10
- 230000006870 function Effects 0.000 claims description 7
- 238000007726 management method Methods 0.000 description 15
- 238000010586 diagram Methods 0.000 description 7
- 238000000034 method Methods 0.000 description 4
- 238000013500 data storage Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 1
Landscapes
- Numerical Control (AREA)
Abstract
Description
【発明の詳細な説明】
〔産業上の利用分野〕
本発明は、NC加工プログラムを実行するのに必要な工
具情報データやマクロ変数情報データを被加工物の種類
ごとにNC加工プログラムと対応づけて各メモリに格納
することにより数値制御装置自体がシステム管理を行う
ことを可能とした数値制御装置に関する。[Detailed Description of the Invention] [Industrial Application Field] The present invention associates tool information data and macro variable information data necessary for executing an NC machining program with an NC machining program for each type of workpiece. The present invention relates to a numerical control device that enables the numerical control device itself to perform system management by storing information in each memory.
最近、数値制m (NC)装置はCN C(commp
uterized NC)と呼ばれるコンピュータを組
み込んだ構成になっており、プロセッサはシステム制御
プログラムの制御に基づいてNC加工プログラムが指令
する所定の動作をNC工作機械に実行させ、所望の部品
加工を行う。Recently, numerical m (NC) equipment has been
The processor is configured to incorporate a computer called a uterized NC, and the processor causes the NC machine tool to execute predetermined operations instructed by the NC machining program based on the control of the system control program, thereby machining the desired parts.
かかるNC装置におけるNC加工プログラムは、ある特
定の種類の被加工物(ワーク)を加工するためにメイン
プログラムや、サブプログラム、カスタムマクロプログ
ラムなどの複数本のNC加工プログラムで構成されるの
が一般的である。また、この複数本のNG加工プログラ
ムの指令でNC工作機械を動作させるためには、工具情
報メモリのデータ(工具オフセット量、工具寿命、予備
工具ファイルデータ)やマクロ変数情報メモリのデータ
(マクロ変数)も必要となる。なお、メインプログラム
には移動命令、送り速度指令、主軸回転数指令、補助機
能指令、サブプログラム呼出し指令、マクロプログラム
呼出し指令、工具交換指令等がプログラミングされてい
る。The NC machining program in such an NC device is generally composed of multiple NC machining programs such as a main program, subprograms, and custom macro programs for machining a specific type of workpiece. It is true. In addition, in order to operate the NC machine tool with the commands of these multiple NG machining programs, data in the tool information memory (tool offset amount, tool life, spare tool file data) and data in the macro variable information memory (macro variables ) is also required. The main program is programmed with movement commands, feed rate commands, spindle rotational speed commands, auxiliary function commands, subprogram call commands, macro program call commands, tool exchange commands, and the like.
そして、サブプログラム呼出し指令により、その指令で
特定されたプログラム番号のサブプログラムが呼び出さ
れ、マクロプログラム呼出し指令により、その指令で特
定されたプログラム番号のカスタムマクロプログラムが
呼び出される。The subprogram call command calls the subprogram with the program number specified by the command, and the macro program call command calls the custom macro program with the program number specified by the command.
このカスタムマクロプログラム内では、あるアドレスに
直接数値データを与えるかわりにマクロ変数の型式でプ
ログラムしておき、このブロックが実行されると、マク
ロ変数情報メモリ内のプログラムで特定された番号のマ
クロ変数のデータを読み出してそのアドレスのデータ止
して実行することができる。In this custom macro program, instead of giving numerical data directly to a certain address, it is programmed in the format of a macro variable, and when this block is executed, the macro variable with the number specified by the program in the macro variable information memory It is possible to read the data at that address, stop the data at that address, and execute it.
また、メインプログラムやサブプログラムに工具長(径
)補正指令があると、工具情報メモリ内のその指令で特
定された補正番号のデータに従って工具長(径)補正が
実行される。Further, if a tool length (diameter) correction command is included in the main program or subprogram, the tool length (diameter) correction is executed according to the data of the correction number specified by the command in the tool information memory.
そして、従来のNC工作機械をシステム運転する場合に
は、NC装置をホストコンピュータと接続し、加工スケ
ジュールに基づいて被加工物の種類が変更となるたびに
、ホストコンピュータ側よりNC装置側へNC加工プロ
グラムと工具情報データがロードされ、NC加工をおこ
なっていた。When operating a conventional NC machine tool as a system, the NC device is connected to the host computer, and each time the type of workpiece changes based on the machining schedule, the host computer sends an NC message to the NC device. The machining program and tool information data were loaded, and NC machining was performed.
また、NC装置に外部記憶装置を接続し、パレッ)No
、などによりNC装置が特定した被加工物の加工情報(
NC加工プログラム、工具情報データ)を外部記憶装置
よりNC装置へ送信し、NC加工を行う方法もあった。You can also connect an external storage device to the NC device and
, processing information of the workpiece identified by the NC device (
There is also a method of transmitting NC machining programs, tool information data) from an external storage device to an NC device to perform NC machining.
ところで、最近のNC装置は高機能化し、メモリ容量も
増大する傾向にあり、NC装置自体がシステム管理を行
える構成のNC装置の実現が望まれている。Incidentally, recent NC devices are becoming more sophisticated and their memory capacity tends to increase, and it is desired to realize an NC device having a configuration in which the NC device itself can perform system management.
しかしながら、従来のNC装置は、内部メモリに被加工
物のNC加工プログラムに対応させて、工具情報データ
を格納・管理することができなかった・
また、マクロ変数情報データは、NC装置に付属された
入力手段(キーボード等)を使用して、マクロ変数情報
メモリ内の数値を書き替えるしか変更できなかった。However, conventional NC devices were unable to store and manage tool information data in the internal memory in correspondence with the NC machining program for the workpiece.In addition, macro variable information data was not attached to the NC device. The only way to change the value was to rewrite the value in the macro variable information memory using an input method (keyboard, etc.).
このように、NC加工に必要な工具情報データ、マクロ
変数情報データをNC装置自体がNC加工プログラムに
対応させて格納・管理することができないため、NC装
置自体がシステム管理を行うことができないという問題
があった。In this way, the NC device itself cannot store and manage the tool information data and macro variable information data necessary for NC machining in accordance with the NC machining program, so the NC device itself cannot perform system management. There was a problem.
本発明は、前記問題点を解決するためになされたもので
、NC装置自体が内部メモリに、NC加工プログラム、
工具情報データ、マクロ変数情報データを対応づけて格
納・管理することを可能として特定された被加工物の種
類に応じて、NC加工に必要な加工情報を管理すること
により、システム管理をも行うことができるNC装置を
提供することを目的とする。The present invention has been made to solve the above problems, and the NC device itself stores the NC machining program in the internal memory.
System management is also performed by managing the machining information necessary for NC machining according to the type of workpiece that has been identified by making it possible to store and manage tool information data and macro variable information data in association. The purpose of the present invention is to provide an NC device that can perform the following functions.
前記課題を解決するために、本発明の加工情報の格納管
理機能ををする数値制御装置は、数値制御工作機械を制
御する数値制御装置であって、工具オフセット量、工具
寿命など工具情報データを数値データとして格納する型
式である第1の格納型式で格納する工具情報メモリと、
被加工物のN類により特定され、この被加工物の加工の
ためのNC加工プログラムと、前記工具情報データを文
字データとして格納する型式である第2の格納型式で格
納するNCプログラムメモリと、
前記工具情報データを前記第1の格納型式と前記第2の
格納型式との間で相互に変換する格納型式変換手段と、
前記工具情報データを前記NCプログラムメモリに転送
して格納する際には前記特定されたNC加工プログラム
と対応づけて格納するとともに、前記工具情報データを
前記工具情報メモリに格納する際には、前記特定された
NC加工プログラムと対応づけされた前記工具情報デー
タを転送して格納されるよう管理する格納管理手段と、
前記各メモリおよび前記各手段を統轄する中央処理装置
とを有し、
前記数値制御装置が前記NC加工プログラムと前記工具
情報データを対応づけて管理可能にするように構成され
る。In order to solve the above problems, the numerical control device of the present invention having a processing information storage management function is a numerical control device that controls a numerically controlled machine tool, and is capable of storing tool information data such as tool offset amount and tool life. a tool information memory that is stored in a first storage format that is a format that is stored as numerical data;
An NC program memory that is specified by the N type of the workpiece and stores an NC machining program for machining the workpiece and a second storage format that is a format that stores the tool information data as character data; storage format conversion means for mutually converting the tool information data between the first storage format and the second storage format; and when transferring and storing the tool information data to the NC program memory; The tool information data is stored in association with the specified NC machining program, and when the tool information data is stored in the tool information memory, the tool information data associated with the specified NC machining program is transferred. storage management means for managing the storage so that the
It has a central processing unit that controls each of the memories and each of the means, and is configured such that the numerical control unit can manage the NC machining program and the tool information data in association with each other.
また、本発明の数値制御装置は、カスタムマクロプログ
ラムで使用するマクロ変数情報データを数値データとし
て格納する型式である第1の格納型式で格納するマクロ
変数情報メモリと、被加工物種類により特定され、この
被加工の加工のためのNC加工プログラムと、前記マク
ロ変数情報データを文字データとして格納する型式であ
る第2の格納型式で格納するNCプログラムメモリと、
前記マクロ変数情報データを前記第1の格納型式と前記
第2の格納型式との間で相互に変換する格納型式変換手
段と、
前記マクロ変数情報データを前記NCプログラムメモリ
に転送して格納する際には前記特定されたNC加工プロ
グラムと対応づけて格納するとともに、前記マクロ変数
情報データを前記マクロ変数情報メモリに格納する際に
は、前記特定されたNC加工プログラムと対応づけされ
た前記マクロ変数情報データを転送して格納されるよう
管理する格納管理手段と、
前記各メモリおよび前記各手段を統轄する中央処理装置
とを有し、
前記数値制御装置が前記NC加工プログラムと前記マク
ロ変数情報データを対応づけて管理可能にするように構
成される。The numerical control device of the present invention also includes a macro variable information memory that stores macro variable information data in a first storage format, which is a format for storing macro variable information data used in a custom macro program as numerical data; , an NC machining program for machining this workpiece, an NC program memory that stores the macro variable information data in a second storage format that is a format for storing the macro variable information data as character data, and an NC program memory that stores the macro variable information data in the first storage format. storage format conversion means for mutually converting between the storage format of the first storage format and the second storage format; When storing the macro variable information data in the macro variable information memory, the macro variable information data associated with the specified NC machining program is transferred and stored. and a central processing unit that controls each of the memories and each of the means, so that the numerical control device can manage the NC machining program and the macro variable information data in association with each other. It is composed of
さらに、本発明の数値制御装置において、第1の格納型
式はIEEE規格の実数型で各メモリ内の番豊毎にデー
タを格納する格納型式であり、第2の格納型式はアスキ
ーでメモリ内番号のデータを順次並べて格納する格納型
式である加工情報の格納管理機能を有する。Further, in the numerical control device of the present invention, the first storage format is a real number type according to the IEEE standard and stores data for each number in each memory, and the second storage format is an ASCII number in the memory. It has a storage management function for processing information, which is a storage format that stores data in sequential order.
前記手段により、別途に外部記憶装置やインタフェース
等のハードウェアを設けることなく、NC装置自体がN
C装置内部メモリにNC加工プログラム、工具情報デー
タ、マクロ変数情報データを被加工物の種類ごとに対応
させて、格納・管理することができる。By using the above means, the NC device itself can perform
NC machining programs, tool information data, and macro variable information data can be stored and managed in the internal memory of the C device in association with each type of workpiece.
以下、本発明の一実施例を図面に基づいて説明する。 Hereinafter, one embodiment of the present invention will be described based on the drawings.
第1図は本発明を実施するNC装置のブロック図、第2
図はNCプログラムメモリとマクロ変数情報メモリのデ
ータ格納状態の説明図、第3図は本発明の実施説明図で
ある。FIG. 1 is a block diagram of an NC device implementing the present invention, and FIG.
The figure is an explanatory diagram of the data storage state of the NC program memory and the macro variable information memory, and FIG. 3 is an explanatory diagram of the implementation of the present invention.
第1図において、1はNC装置であり、このNC装置l
は、プロセッサ(CPU)11を有し、パスライン20
が接続されている。このパスライン20には、処理結果
等を記憶するRAM12と、NC装置1のシステム制御
プログラムを記憶するROM13と加工用のNC加工プ
ログラム等を格納するNCプログラムメモリ19と、各
種データを表示するための表示手段であるデイスプレィ
装置(CRT)18aと、各種指令を入力するための入
力手段であるキーボード18bとが接続されている。In FIG. 1, 1 is an NC device, and this NC device l
has a processor (CPU) 11 and a pass line 20
is connected. This pass line 20 includes a RAM 12 for storing processing results, etc., a ROM 13 for storing a system control program for the NC device 1, an NC program memory 19 for storing an NC processing program for machining, etc., and for displaying various data. A display device (CRT) 18a, which is a display means, and a keyboard 18b, which is an input means for inputting various commands, are connected.
そして、工具に関する工具情報データ(工具オフセット
量、工具寿命、予備工具テーブル等)を数値データとし
て格納する第1の格納型式で格納する工具情報メモリ1
4と、カスタムマクロプログラムのマクロ変数に関する
マクロ変数情報データを前記第1の格納型式で格納する
マクロ変数情報メモリ15がパスライン20に接続され
ている。A tool information memory 1 stores tool information data related to the tool (tool offset amount, tool life, spare tool table, etc.) as numerical data in a first storage format.
4 and a macro variable information memory 15 that stores macro variable information data regarding macro variables of the custom macro program in the first storage format are connected to the path line 20.
同様に、工具情報メモリ14、マクロ変数情報メモリ1
5内の各データを前記第1の格納型式から、NCプログ
ラムメモリ19内のNC加工プログラム(’a++Pb
+・・・)と同一の文字データとして格納する第2の格
納型式に、または、この第2の格納型式で格納されたデ
ータを前記第1の格納型式に変換する格納型式変換手段
16と、この格納型式に変換されたデータを被加工物の
種類などに対応させて、NCプログラムメモリ19に、
あるいは工具情報メモリ14、マクロ変数情報メモリ1
5に格納するよう管理する格納管理手段17も前記パス
ライン20に接続されている。Similarly, tool information memory 14, macro variable information memory 1
5 from the first storage format to the NC machining program ('a++Pb) in the NC program memory 19.
+...) into a second storage format in which the data is stored as the same character data, or a storage format conversion means 16 that converts data stored in the second storage format into the first storage format; The data converted into this storage format is stored in the NC program memory 19 in correspondence with the type of workpiece, etc.
Or tool information memory 14, macro variable information memory 1
A storage management means 17 for managing the storage in the path line 20 is also connected to the path line 20.
工具情報メモリ14、マクロ変数情報メモリ15には、
被加工物の種類などで、特定されるデータがメモリ内番
号(例えば、第2図の#i、#2゜#3・・・、参照)
ごとに第1の格納型式であるIEEE(アメリカ電気電
子学会)規格の長語長実数型で格納されている。そして
、NC加工プログラムやカスタムマクロプログラムが実
行されると、特定されたメモリ内番号のデータ(第2図
のa″ b。In the tool information memory 14 and the macro variable information memory 15,
The data specified by the type of workpiece, etc. is a number in the memory (for example, see #i, #2, #3, etc. in Figure 2).
Each is stored in the first storage format, which is the long word long real number type according to the IEEE (Institute of Electrical and Electronics Engineers) standard. Then, when the NC machining program or custom macro program is executed, the data of the specified memory number (a″ b in FIG. 2).
c l 、・・、参照)などが、各メモリより読み出さ
れて実行される。c l , . . .) are read from each memory and executed.
また、NCプログラムメモリ19には、ワークA用のN
C加工プログラムPal+ワークB用のNC加工プログ
ラムPblが格納されている。同様に、ワークAやワー
クBのように被加工物の種類などで特定されたマクロ変
数情報データ(第2図のallblo、C″・・・、参
照)、工具情報データが前記第1の格納型式により文字
データとして格納する第2の格納型式すなわちアスキー
コードによる格納型式に変換され、格納管理手段17に
よって、この被加工物を加工するためのNC加工プログ
ラムと対応づけされて格納されている。Further, the NC program memory 19 contains N for work A.
C machining program Pal+NC machining program Pbl for workpiece B is stored. Similarly, macro variable information data (see allblo, C'', etc. in Fig. 2) and tool information data specified by the type of workpiece, such as workpiece A and workpiece B, are stored in the first storage. Depending on the format, the data is converted into a second storage format in which it is stored as character data, that is, a storage format in ASCII code, and is stored by the storage management means 17 in association with the NC machining program for machining this workpiece.
そして、前記第1の格納型式と、前記第2の格納型式と
の間で相互に変換するのが格納型式変換手段16である
。この格納型式変換手段16による格納型式の変換は、
以下のように行われる。The storage type conversion means 16 mutually converts between the first storage type and the second storage type. The storage format conversion by this storage format conversion means 16 is as follows:
This is done as follows.
マクロ変数情報データと工具情報データは同じ方式で変
換されるため、マクロ変数情報データを例にして説明す
る。Since macro variable information data and tool information data are converted using the same method, explanation will be given using macro variable information data as an example.
マクロ変数情報データは、マクロ変数情報メモリ15上
ではIEEE規格の長語長実数型で格納されている0例
えば、14.2857という数値は0X35.0Xef
、 ()X3B、 0X45 、0X47 、0X9
2.0X2c 、 0X40として記憶されている。こ
れを、第2の格納型式に変換するためには、マクロ変数
情報メモリ15よりデータを1ニブルずつ読み出し、ア
スキーコードに変換する。すなわち、前記したデータは
、0X330X350X450X460X330X38
0X340X350X340X370X390X320
X320X430X340X30と変換される。The macro variable information data is stored in the macro variable information memory 15 as a long word length real number type according to the IEEE standard.For example, the numerical value 14.2857 is 0X35.0Xef.
, ()X3B, 0X45 , 0X47 , 0X9
2.0X2c, stored as 0X40. In order to convert this into the second storage format, the data is read nibble by nibble from the macro variable information memory 15 and converted into ASCII code. That is, the above data is 0X330X350X450X460X330X38
0X340X350X340X370X390X320
It is converted to X320X430X340X30.
このように、格納型式を変換されて、データはマクロ変
数情報メモリ15よりNCプログラムメモリ19に転送
される。また、NCプログラムメモリ19内のデータを
マクロ変数情報メモリ15に転送する場合には、この手
順を逆に行えばよい。In this way, the storage format is converted and the data is transferred from the macro variable information memory 15 to the NC program memory 19. Furthermore, when transferring the data in the NC program memory 19 to the macro variable information memory 15, this procedure may be performed in reverse.
このように、NCプログラムメモリ19には、例えば、
ワークA用のNC加工プログラムPa++ワークA用の
マクロ変数情報データPag、ワークA用の工具情報デ
ータPa3が1セツトに対応づけられて、同じNC加工
プログラム(またはメインプログラム)のプログラム番
号のもとに同一の格納型式で格納管理されている。同様
に、ワークB用のNC加工プログラムPb、、ワークB
用のマクロ変数情報データpb、、ワークB用の工具情
報データPb。In this way, the NC program memory 19 contains, for example,
The NC machining program Pa++ for workpiece A, the macro variable information data Pag for workpiece A, and the tool information data Pa3 for workpiece A are associated as one set, and are based on the program number of the same NC machining program (or main program). They are stored and managed using the same storage format. Similarly, NC machining program Pb for workpiece B, workpiece B
Macro variable information data pb for work B, tool information data Pb for work B.
が対応づけされて格納管理されている(第1図および第
3図参照)。are stored and managed in association with each other (see Figures 1 and 3).
次に、本発明の作用について詳しく説明する。Next, the operation of the present invention will be explained in detail.
NC装置1のプロセッサ11は、次に加工を行う被加工
物がワークAと特定すると、NCプログラムメモリ19
内のマクロ変数情報データP a z +工具情報デー
タPa=を各メモリに転送するように指令を出力する。When the processor 11 of the NC device 1 specifies that the workpiece to be machined next is the workpiece A, the processor 11 of the NC device 1 stores the NC program memory 19.
A command is output to transfer the macro variable information data P a z + tool information data Pa= in each memory.
すなわち、アスキーコードでメモリ内番号順に直列状に
並んでいるデータ(aパbIF、cIf・・・)を順次
、IEEE規格の長語長実数型に変換するとともに、各
メモリ内番号ごとに、そのメモリ内番号のメモリ領域に
データ(a f 、 b ICo・・・)を格納する
ように格納型式変換手段16ど格納管理手段17を動作
させる。そして、NC加工プログラムPa、を1ブロツ
クずつ読み取り、NC加工を行う。In other words, the data (a, bIF, cIf, etc.) that are arranged in series in the order of numbers in memory using ASCII code are sequentially converted into the long word long real number type of the IEEE standard, and for each number in memory, the data is The storage type conversion means 16 and storage management means 17 are operated to store data (a f , b ICo...) in the memory area of the internal memory number. Then, the NC machining program Pa is read one block at a time and NC machining is performed.
また、ワークAの加工が終了して、次の被加工物、例え
ば、ワークBを加工する場合には、マクロ変数情報メモ
リ15、工具情報メモリ14内にあるワークA用のデー
タがI EEE規格の長語長実数型からアスキーコード
に変換されたNC加工プログラムPa、と対応づけされ
てNCプログラムメモリ19に転送格納される。In addition, when machining workpiece A is finished and the next workpiece, for example workpiece B, is to be machined, the data for workpiece A in the macro variable information memory 15 and tool information memory 14 conforms to the I EEEE standard. It is transferred and stored in the NC program memory 19 in association with the NC machining program Pa converted from the long word length real number type to ASCII code.
このことにより、NC加工中に、各メモリ内のデータが
書き替えられていても、常に最新のデータがNC加工プ
ログラムと対応づけされて格納管理されることになる。As a result, even if the data in each memory is rewritten during NC machining, the latest data is always stored and managed in association with the NC machining program.
そして、第3図に示すように、プロセッサ11が被加工
物のaimを特定すると、その加工に必要な加工情報(
NC加工プログラム、マクロ変数情報データ、工具情報
データ)が選択され、NC加工プログラムに対応づけさ
れているマクロ変数情報データ、工具情報データはマク
ロ変数情報メモリ15、工具情報メモリ14に転送され
て、NC加工が実行されるため、NC装置自体でシステ
ム管理を行うことが可能となる。As shown in FIG. 3, when the processor 11 identifies the aim of the workpiece, the processing information (
NC machining program, macro variable information data, tool information data) is selected, and the macro variable information data and tool information data associated with the NC machining program are transferred to the macro variable information memory 15 and the tool information memory 14. Since NC machining is performed, system management can be performed by the NC device itself.
以上のように本発明では、別途に外部記憶装置やインタ
フェース等のハードウェアを設けることなく、NC装置
内メモリにNC加工に必要な加工情報を被加工物のNC
加工プログラムに対応づけさせて管理記憶することがで
きるため、NC装置自体がシステム管理を行うことが可
能となる。As described above, in the present invention, processing information necessary for NC processing of the workpiece can be transferred to the memory in the NC device without separately providing hardware such as an external storage device or an interface.
Since the information can be managed and stored in association with the machining program, the NC device itself can perform system management.
以上本発明によれば、被加工物の種類ごとに特定された
各種加工情報(NC加工プログラム、マクロ変数情報デ
ータ、工具情報データ)をNC装置内メモリに対応づけ
て格納管理することができるため、NC装置自体により
システム管理を行うことができる。そして、別途に外部
記憶装置やインタフェース等のハードウェアを設けるこ
となく、システム管理ができるため、経済的効果も多大
である。As described above, according to the present invention, various machining information (NC machining program, macro variable information data, tool information data) specified for each type of workpiece can be stored and managed in association with the internal memory of the NC device. , system management can be performed by the NC device itself. Furthermore, since system management can be performed without separately providing hardware such as an external storage device or an interface, the economical effects are also significant.
第1図は本発明を実現するNC装置のブロック図、第2
図はNCプログラムメモリとマクロ変数情報メモリのデ
ータ格納状態の説明図、第3図は発明の実施説明図であ
る。
1・・・NC装置本体、
11−・・プロセッサ、
12・・・RAM。
13・・・ROM。
14・・・工具情報メモリ、
15・・・マクロ変数情報メモリ、
16・・・格納型式変換手段、
17・・・格納管理記憶手段、
18a・・・CRT。
18b・・・キーボード、
19・・・NGプログラムメモリ。
第2図
マクロ変数情報メモリ
第3図Figure 1 is a block diagram of an NC device that implements the present invention, Figure 2 is a block diagram of an NC device that implements the present invention;
The figure is an explanatory diagram of the data storage state of the NC program memory and the macro variable information memory, and FIG. 3 is an explanatory diagram of the implementation of the invention. 1... NC device body, 11-... Processor, 12... RAM. 13...ROM. 14... Tool information memory, 15... Macro variable information memory, 16... Storage type conversion means, 17... Storage management storage means, 18a... CRT. 18b...Keyboard, 19...NG program memory. Figure 2 Macro variable information memory Figure 3
Claims (3)
て、 工具オフセット量、工具寿命など工具情報データを数値
データとして格納する型式である第1の格納型式で格納
する工具情報メモリと、 被加工物の種類により特定され、この被加工物の加工の
ためのNC加工プログラムと、前記工具情報データを文
字データとして格納する型式である第2の格納型式で格
納するNCプログラムメモリと、 前記工具情報データを前記第1の格納型式と前記第2の
格納型式との間で相互に変換する格納型式変換手段と、 前記工具情報データを前記NCプログラムメモリに転送
して格納する際には前記特定されたNC加工プログラム
と対応づけて格納するとともに、前記工具情報データを
前記工具情報メモリに格納する際には、前記特定された
NC加工プログラムと対応づけされた前記工具情報デー
タを転送して格納されるよう管理する格納管理手段と、 前記各メモリおよび前記各手段を統轄する中央処理装置
とを有し、 前記数値制御装置が前記NC加工プログラムと前記工具
情報データを対応づけて管理可能にすることを特徴とす
る加工情報の格納管理機能を有する数値制御装置。(1) A numerical control device for controlling a numerically controlled machine tool, comprising: a tool information memory that stores tool information data such as tool offset amount and tool life as numerical data; an NC program memory that is specified by the type of workpiece and stores an NC machining program for machining the workpiece, and a second storage format that is a format that stores the tool information data as character data; storage format conversion means for mutually converting information data between the first storage format and the second storage format; When storing the tool information data in the tool information memory, the tool information data associated with the specified NC machining program is transferred and stored. and a central processing unit that controls the respective memories and the respective means, the numerical control unit being able to manage the NC machining program and the tool information data by associating them with each other. A numerical control device having a processing information storage management function.
て、 カスタムマクロプログラムで使用するマクロ変数情報デ
ータを数値データとして格納する型式である第1の格納
型式で格納するマクロ変数情報メモリと、 被加工物種類により特定され、この被加工の加工のため
のNC加工プログラムと、前記マクロ変数情報データを
文字データとして格納する型式である第2の格納型式で
格納するNCプログラムメモリと、 前記マクロ変数情報データを前記第1の格納型式と前記
第2の格納型式との間で相互に変換する格納型式変換手
段と、 前記マクロ変数情報データを前記NCプログラムメモリ
に転送して格納する際には前記特定されたNC加工プロ
グラムと対応づけて格納するとともに、前記マクロ変数
情報データを前記マクロ変数情報メモリに格納する際に
は、前記特定されたNC加工プログラムと対応づけされ
た前記マクロ変数情報データを転送して格納されるよう
管理する格納管理手段と、 前記各メモリおよび前記各手段を統轄する中央処理装置
とを有し、 前記数値制御装置が前記NC加工プログラムと前記マク
ロ変数情報データを対応づけて管理可能にすることを特
徴とする加工情報の格納管理機能を有する数値制御装置
。(2) a numerical control device that controls a numerically controlled machine tool, and a macro variable information memory that stores macro variable information data used in a custom macro program in a first storage format, which is a format that stores macro variable information data as numerical data; An NC machining program that is specified by the type of workpiece and is for machining the workpiece, and an NC program memory that stores the macro variable information data in a second storage format that is a format that stores the macro variable information data as character data; storage format conversion means for mutually converting variable information data between the first storage format and the second storage format; and when transferring and storing the macro variable information data to the NC program memory; When storing the macro variable information data in association with the specified NC machining program, and storing the macro variable information data in the macro variable information memory, the macro variable information data associated with the specified NC machining program is stored. a storage management means for managing the data to be transferred and stored; and a central processing unit for controlling each of the memories and each of the means, and the numerical control device corresponds the NC machining program and the macro variable information data. A numerical control device having a storage and management function for processing information, which is characterized in that it can be managed by storing processing information.
納型式はIEEE規格の実数型で各メモリ内の番号毎に
データを格納する格納型式であり、第2の格納型式はア
スキーでメモリ内番号のデータを順次並べて格納する格
納型式である加工情報の格納管理機能を有することを特
徴とする数値制御装置。(3) In claims 1 and 2, the first storage format is a real number type according to the IEEE standard and stores data for each number in each memory, and the second storage format is an ASCII storage format. A numerical control device characterized by having a storage management function for processing information, which is a storage type in which data of numbers in a memory are sequentially arranged and stored.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2062288A JP2632064B2 (en) | 1990-03-13 | 1990-03-13 | Numerical control device with storage management function for machining information |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2062288A JP2632064B2 (en) | 1990-03-13 | 1990-03-13 | Numerical control device with storage management function for machining information |
Publications (2)
Publication Number | Publication Date |
---|---|
JPH03263105A true JPH03263105A (en) | 1991-11-22 |
JP2632064B2 JP2632064B2 (en) | 1997-07-16 |
Family
ID=13195784
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2062288A Expired - Fee Related JP2632064B2 (en) | 1990-03-13 | 1990-03-13 | Numerical control device with storage management function for machining information |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2632064B2 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2008204410A (en) * | 2007-02-23 | 2008-09-04 | Brother Ind Ltd | Numerical control device, control program and storage medium |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS59146308A (en) * | 1983-02-10 | 1984-08-22 | Mitsubishi Electric Corp | Numerical controller |
JPH029552A (en) * | 1988-06-29 | 1990-01-12 | Fanuc Ltd | Tool managing device |
-
1990
- 1990-03-13 JP JP2062288A patent/JP2632064B2/en not_active Expired - Fee Related
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS59146308A (en) * | 1983-02-10 | 1984-08-22 | Mitsubishi Electric Corp | Numerical controller |
JPH029552A (en) * | 1988-06-29 | 1990-01-12 | Fanuc Ltd | Tool managing device |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2008204410A (en) * | 2007-02-23 | 2008-09-04 | Brother Ind Ltd | Numerical control device, control program and storage medium |
Also Published As
Publication number | Publication date |
---|---|
JP2632064B2 (en) | 1997-07-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10870203B2 (en) | Machine tool control device and production system | |
JP4119372B2 (en) | Numerical control method and numerical control system | |
US5844804A (en) | Configurable machine-tool control | |
US8948902B2 (en) | Method for operation of an automation device and apparatus for carrying out the method | |
JPH04232509A (en) | Controlling method for machine tool or robot | |
JPH03263105A (en) | Numerical controller having store managing function of working information | |
US5060133A (en) | Transputer CNC processor | |
US6999842B2 (en) | Numerical controller | |
EP0275325B1 (en) | Numerical controller | |
US20040261056A1 (en) | Programming tool and programming method | |
JPS58109905A (en) | Robot controlling system | |
WO2023199408A1 (en) | Numerical control device, and computer-readable storage medium | |
JPH0336606A (en) | Numerical controller | |
JPH02202604A (en) | External part extending type programmable controller | |
JP2942812B2 (en) | Device for creating a variant and variable production program | |
JPH0487761A (en) | Nc data feed method for dnc system | |
JP2005131775A (en) | Axially processing system of machine tool | |
JPS61199112A (en) | Program transfer method of fa system | |
JPS6354605A (en) | Numerical controller | |
JPH0863219A (en) | Numerical controller with fast program check function | |
JP2004074349A (en) | Nc machine tool | |
JP3890462B2 (en) | Equipment operation control apparatus and method | |
JPS61114313A (en) | Machine controller | |
JP2004145641A (en) | Forwarding system of machining program for nc unit and its method | |
JPS6353605A (en) | Numerical controller |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
S533 | Written request for registration of change of name |
Free format text: JAPANESE INTERMEDIATE CODE: R313533 |
|
R350 | Written notification of registration of transfer |
Free format text: JAPANESE INTERMEDIATE CODE: R350 |
|
LAPS | Cancellation because of no payment of annual fees |