JPH05108130A - Nc device and nc program preparing method - Google Patents

Nc device and nc program preparing method

Info

Publication number
JPH05108130A
JPH05108130A JP29491391A JP29491391A JPH05108130A JP H05108130 A JPH05108130 A JP H05108130A JP 29491391 A JP29491391 A JP 29491391A JP 29491391 A JP29491391 A JP 29491391A JP H05108130 A JPH05108130 A JP H05108130A
Authority
JP
Japan
Prior art keywords
program
machine tool
machining
work
measuring
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
Application number
JP29491391A
Other languages
Japanese (ja)
Other versions
JP3176397B2 (en
Inventor
Tomoo Matsumoto
倫雄 松本
Tomoo Hayashi
智夫 林
Motoyuki Miyauchi
基行 宮内
Kenji Kato
健二 加藤
Takao Adachi
隆男 足立
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.)
Shibaura Machine Co Ltd
Original Assignee
Toshiba Machine Co 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 Toshiba Machine Co Ltd filed Critical Toshiba Machine Co Ltd
Priority to JP29491391A priority Critical patent/JP3176397B2/en
Priority to DE4134750A priority patent/DE4134750C2/en
Priority to US07/779,193 priority patent/US5291393A/en
Publication of JPH05108130A publication Critical patent/JPH05108130A/en
Application granted granted Critical
Publication of JP3176397B2 publication Critical patent/JP3176397B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Numerical Control (AREA)

Abstract

PURPOSE:To efficiently and correctly prepare an NC machining program and to efficiently machine a work. CONSTITUTION:The device is an NC device equipped with NC control parts 14, 50 and 52 drive and control an NC machine tool 30 having a mechanism part, and an NC control part is equipped with a storing means 14 to store a program which becomes a base which is the set of a macro instruction for NC control to drive a measuring means in accordance with the plane machining shape of the work, measuring means 50, 52b, and 26 to measure the machining shape of the work which becomes the object of the measuring and machining based on the program of the base, program data preparing means 50 and 52c to prepare the NC program data based on the result measured by the measuring means and store them in the storing means 14 and driving control parts 50 and 52g to driven and control the NC machine tool.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、数値制御(NC)加工
プログラムを作成する機能を有するNC装置、およびそ
のNC加工プログラム作成方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an NC device having a function of creating a numerical control (NC) machining program, and an NC machining program creating method thereof.

【0002】[0002]

【従来の技術】ワークを加工するための複数の軸とその
駆動機構部、および制御部を有するNC装置を作動させ
てワークを加工するには、その加工形状、加工方向、工
具の送り速度等に関するデータを予め所定のフォームに
プログラム化し、その加工プログラムをNC装置内の記
憶部に装荷しなければならない。従来におけるかかるN
C加工プログラムの作成方法としては、まず、理論計算
の容易なワーク形状の場合は理論計算によって加工形状
の座標値を求めており、そうでない場合は計測器を用い
て人手によって加工形状の複数の座標値を求めていた。
この作業に次いで、これらの座標値データを基にNC加
工プログラムを紙テープ等に作成し、これをオペレータ
がNC装置内の記憶部に装荷していた。
2. Description of the Related Art In order to machine a work by operating an NC device having a plurality of axes for machining the work, its drive mechanism section, and a control section, the machining shape, machining direction, tool feed rate, etc. It is necessary to program the data regarding the above into a predetermined form in advance and load the machining program in the storage unit in the NC device. Conventional N
As a method of creating a C machining program, first, in the case of a work shape that is easily theoretically calculated, the coordinate values of the machining shape are obtained by theoretical calculation. If not, a plurality of machining shapes are manually used by using a measuring instrument. I was looking for coordinate values.
Subsequent to this work, an NC processing program was created on a paper tape or the like based on these coordinate value data, and the operator loaded this into a storage unit in the NC device.

【0003】[0003]

【発明が解決しようとする課題】然しながら、一種類の
ワークの加工に関するこうしたNC加工プログラムの作
成作業は相当な手間を要するものであるうえ、ワークの
加工に使用されるNC装置にNC加工プログラムを装荷
することも手数を要し、効率的ではなかった。更には、
ワークの種類が異なる毎にNC加工プログラムを作り替
えなければならず、その労力は更に増大するため、NC
加工プログラム作りの効率化を図る必要があった。ま
た、作成されたNC加工プログラムの内容を事前に充分
チェックしなければならず、こうしたチェックにも相当
の時間と労力を要していた。更に、上記各作業では、ワ
ークの加工に使用されるNC装置とは異なる別の、専用
のNC加工プログラム作成装置を用いる必要があった。
依って本発明は、NC加工プログラムを効率的、かつ、
正確に作成することを目的とする。また、本発明はこの
ように効率的に作成されたNC加工プログラムを用いて
効率的に、一台または複数台のNC装置において同一加
工作業を行うことを目的とする。更に、本発明は特別の
NC加工プログラム作成装置を用いずに、ワークをNC
加工するNC装置によっても作成可能とすることを目的
とする。
However, the work of creating such an NC machining program relating to machining of one kind of work requires a considerable amount of work, and the NC machining program must be installed in the NC device used for machining the work. Loading was also laborious and inefficient. Furthermore,
The NC machining program must be recreated each time the type of work is different, and the labor increases further.
It was necessary to improve the efficiency of creating the machining program. Further, the contents of the created NC machining program must be thoroughly checked in advance, and such checking also requires a considerable amount of time and labor. Furthermore, in each of the above-mentioned operations, it is necessary to use a dedicated NC machining program creating device different from the NC device used for machining the work.
Therefore, the present invention makes the NC machining program efficient and
It is intended to be created accurately. Another object of the present invention is to efficiently perform the same machining operation in one or a plurality of NC devices by using the NC machining program created in this way. Furthermore, the present invention does not use a special NC machining program creation device to NC the workpiece.
The purpose is to be able to create even with an NC device for processing.

【0004】[0004]

【課題を解決するための手段】上記目的に鑑みて本発明
は、ワークの平面加工形状に応じて計測手段を駆動する
NC制御用マクロ命令の集合体である基となるプログラ
ムを格納した記憶手段と、該基のプログラムに基づいて
対象となるワークの加工形状を計測する計測手段と、該
計測手段によって計測された結果に基づいて新たなNC
プログラムデータを作成するプログラムデータ生成手段
とを具備したことを特徴とするNCプログラム作成装置
を提供する。
In view of the above-mentioned object, the present invention has a storage means for storing a basic program which is an aggregate of NC control macro instructions for driving a measuring means in accordance with a planar machining shape of a work. And a measuring means for measuring the machining shape of the target work based on the basic program, and a new NC based on the result measured by the measuring means.
Provided is an NC program creating device comprising: a program data creating means for creating program data.

【0005】また、ワークの平面加工形状に応じて計測
手段を駆動するNC制御用マクロ命令の集合体である基
となるプログラムを設定入力する工程と、この基のプロ
グラムの命令に応じて対象となるワークの加工形状を計
測する工程と、この計測値に基づいて新たなNCプログ
ラムデータを作成する工程とを具備することを特徴とす
るNCプログラム作成方法を提供する。
Further, a step of setting and inputting a base program which is a set of NC control macro instructions for driving the measuring means in accordance with the planar machining shape of the work, and a target in accordance with the instruction of the base program. There is provided an NC program creating method characterized by comprising a step of measuring a machining shape of a workpiece and a step of creating new NC program data based on the measured value.

【0006】また、機構部分を有するNC工作機械を駆
動制御するNC制御部を具備したNC装置であって、前
記NC制御部はワークの平面加工形状に応じて計測手段
を駆動するNC制御用マクロ命令の集合体である基とな
るプログラムを格納した記憶手段と、該基のプログラム
に基づいて計測並びに加工の対象となるワークの加工形
状を計測する計測手段と、該計測手段によって計測され
た結果に基づいてNCプログラムデータを作成し、前記
記憶手段に格納するプログラムデータ生成手段と、前記
NC工作機械を駆動制御する駆動制御部とを具備し、該
駆動制御部が前記計測手段により計測されたワーク(W
M)の加工形状を基に前記プログラムデータ生成手段に
よって生成されたNCプログラムに従って前記ワークを
加工すべく前記NC工作機械をNC制御するNCプログ
ラム作成機能を備えたことを特徴とするNC装置を提供
する。
Further, there is provided an NC device having an NC control unit for driving and controlling an NC machine tool having a mechanical portion, wherein the NC control unit drives a measuring means according to a planar machining shape of a workpiece. A storage unit that stores a basic program that is a set of instructions, a measuring unit that measures a machining shape of a workpiece that is a target of measurement and machining based on the basic program, and a result measured by the measuring unit. And a drive control unit for driving and controlling the NC machine tool, the drive control unit being measured by the measuring unit. Work (W
An NC device having an NC program creating function for NC controlling the NC machine tool to machine the work according to the NC program generated by the program data generating means based on the machining shape of M). To do.

【0007】また、ワークの平面加工形状に応じて計測
手段を駆動するNC制御用マクロ命令の集合体である基
となるプログラムを格納した記憶手段と、該基のプログ
ラムに基づいて計測対象となるワークの加工形状を計測
する計測手段と、該計測手段によって計測された結果に
基づいてNCプログラムデータを作成し、前記記憶手段
に格納するプログラムデータ生成手段と、機構部分を有
するNC工作機械と、該NC工作機械を駆動制御する駆
動制御部とを具備し、該駆動制御部が前記プログラムデ
ータ生成手段によって生成されたNCプログラムに従っ
て前記NC工作機械をNC制御することを特徴とするN
Cプログラム作成機能を備えたNC工作機械システムを
提供する。
Further, a storage means for storing a base program which is a set of NC control macro commands for driving the measurement means in accordance with the planar machining shape of the work, and a measurement target based on the base program. Measuring means for measuring the machining shape of the work; program data generating means for creating NC program data based on the result measured by the measuring means and storing it in the storage means; and an NC machine tool having a mechanical part, A drive control unit for controlling the drive of the NC machine tool, the drive control unit performing NC control of the NC machine tool according to an NC program generated by the program data generating means.
Provided is an NC machine tool system having a C program creating function.

【0008】また、ワークの平面加工形状に応じて計測
手段を駆動するNC制御用マクロ命令の集合体である基
となるプログラムを装荷し、この基のプログラムの命令
に応じて対象となるワークの加工形状を計測し、この計
測値に基づいて新たなNCプログラムデータを作成し、
該作成されたNCプログラムによってワークを加工する
ことを特徴とするNC加工方法を提供する。
Further, a basic program, which is a set of NC control macro-commands for driving the measuring means in accordance with the planar machining shape of the work, is loaded, and the target work is processed in accordance with the command of the basic program. Measure the machining shape, create new NC program data based on this measurement value,
There is provided an NC machining method characterized by machining a work by the created NC program.

【0009】[0009]

【作用】上記本発明に係るNCプログラム作成装置によ
れば、記憶手段に格納された基となるプログラムを読
み、そのプログラムの指令に基づいて計測手段を駆動し
てワークの加工形状の座標値が求まる。そしてこの計測
された座標値に基づいて、プログラムデータ生成手段に
よって新たなNCプログラムデータが自動的に作成され
る。即ち、基となるプログラムは、ワークの平面加工形
状が同じならばワークの形状に係わらず汎用的に使用す
ることができるため、NCプログラム作成効率が向上す
る。
According to the NC program creating apparatus of the present invention, the basic program stored in the storage means is read, the measuring means is driven based on the instruction of the program, and the coordinate value of the machining shape of the workpiece is calculated. I want it. Then, new NC program data is automatically created by the program data generation means based on the measured coordinate values. That is, since the base program can be used universally regardless of the shape of the workpiece if the planar machining shape of the workpiece is the same, the NC program creation efficiency is improved.

【0010】上記NCプログラム作成方法によれば、新
たなNCプログラムデータが自動的に作成されるためN
Cプログラム作成効率が向上する。
According to the above NC program creating method, since new NC program data is automatically created, N
C program creation efficiency is improved.

【0011】上記NC装置によれば、NC制御部が基と
なるプログラムを格納し、このプログラムに基づいて計
測手段を駆動しつつワークの加工すべき形状を計測し、
この結果に基づいてプログラムデータ生成手段がNCプ
ログラムを自動的に作成し、このNCプログラムに従っ
て当該NC装置の機構部分を有するNC工作機械を駆動
することができるため、効率よくNCプログラムが作成
されると共に効率よくワークの加工が行われる。
According to the above NC device, the NC control unit stores a basic program, and based on the program, the measuring means is driven to measure the shape of the workpiece to be machined,
The program data generating means automatically creates an NC program based on this result, and the NC machine tool having the mechanical part of the NC device can be driven according to this NC program, so that the NC program is created efficiently. Together with this, the work is efficiently processed.

【0012】また、上記NC工作機械システムによれ
ば、記憶手段が基となるプログラムを格納し、このプロ
グラムに基づいて計測手段を駆動しつつワークの加工す
べき形状を計測し、この結果に基づいてプログラムデー
タ生成手段が自動的にNCプログラムを作成し、駆動制
御部が前記プログラムデータ生成手段によって生成され
たNCプログラムに従ってNC工作機械をNC制御する
ことができるため、効率よくNCプログラムが作成され
ると共に何台でもNC工作機械を同時に作動させること
ができるため効率よくワークの加工が行われる。
Further, according to the NC machine tool system, the storage means stores a basic program, the measuring means is driven based on the program to measure the shape of the workpiece to be machined, and the result is based on the result. The program data generating means automatically creates the NC program, and the drive control section can NC-control the NC machine tool according to the NC program generated by the program data generating means. Therefore, the NC program is efficiently created. In addition, as many NC machine tools can be simultaneously operated as possible, so that the work can be efficiently processed.

【0013】また、上記NC加工方法によれば、自動的
に作成された新たなNCプログラムによって即座にワー
クを加工することができるのでワークの加工効率が向上
する。
Further, according to the NC machining method, the workpiece can be immediately machined by the automatically created new NC program, so that the machining efficiency of the workpiece is improved.

【0014】[0014]

【実施例】以下、本発明を添付図面に示す実施例に基づ
き、更に詳細に説明する。図1は本発明の第1実施例と
してのNC装置の構成を示す図である。図1に示すNC
装置は,ワーク(図示せず)を加工するための工具が装
着された主軸,それを駆動する駆動部などの駆動機構部
を有するNC工作機械30と,NC加工プログラムが記
憶されたNC加工プログラム記憶ブロック14Fを有す
るメモリ14と,このNC工作機械30をNC加工プロ
グラムに従って制御駆動するため,NC加工プログラム
記憶ブロック14Fに記憶されたNC加工プログラムの
内容を解読するNCマクロ命令解読部50と,このマク
ロ命令命令解読部50で解読されたNC加工制御命令に
従ってワークを加工させる加工実行部52gとを有して
いる。従来,NCマクロ命令解読部50と加工実行部5
2gがマイクロコンピュータなどによってNC制御部と
して構成されている。
DESCRIPTION OF THE PREFERRED EMBODIMENTS The present invention will be described below in more detail based on the embodiments shown in the accompanying drawings. FIG. 1 is a diagram showing a configuration of an NC device as a first embodiment of the present invention. NC shown in FIG.
The device is an NC machine tool 30 having a spindle equipped with a tool for machining a work (not shown), a drive mechanism unit such as a drive unit for driving the spindle, and an NC machining program storing an NC machining program. A memory 14 having a memory block 14F, an NC macro instruction decoder 50 for decoding the contents of the NC machining program stored in the NC machining program memory block 14F in order to control and drive the NC machine tool 30 according to the NC machining program, It has a machining execution unit 52g for machining the work according to the NC machining control command decoded by the macro command command decoding unit 50. Conventionally, the NC macro instruction decoding unit 50 and the processing execution unit 5
2 g is configured as an NC control unit by a microcomputer or the like.

【0015】図1に示すNC装置のメモリ14はまた,
新たなNC加工プログラムを生成するための基になるプ
ログラムを記憶するブロック14C,新たに生成される
NC加工プログラムを記憶する新NC加工プログラム記
憶ブロック14E,および,これら基のプログラムおよ
びNC加工プログラムの記憶状態を管理するディレクト
リテーブル15を有する。
The memory 14 of the NC device shown in FIG.
A block 14C that stores a base program for generating a new NC machining program, a new NC machining program storage block 14E that stores a newly generated NC machining program, and a base program and an NC machining program It has a directory table 15 for managing the storage state.

【0016】図1に示すNC装置はさらに,基のプログ
ラムが記憶されたブロック14Cからの基のプログラム
に基づいて,加工の対象となるワーク(図示せず)を実
測し,新たなNC加工プログラムを実時間で生成して新
NC加工プログラム記憶ブロック14Eに新たなNC加
工プログラムを記憶させるための,オープン処理部52
a,計測部52b,NC加工プログラム生成部52c,
クローズ処理部52dを有する。
The NC device shown in FIG. 1 further measures a workpiece (not shown) to be machined based on the base program from the block 14C in which the base program is stored, and newly creates a new NC machining program. Open processing unit 52 for generating a new NC machining program in the new NC machining program storage block 14E in real time.
a, measuring unit 52b, NC machining program generating unit 52c,
It has a close processing unit 52d.

【0017】またNC装置は,タッチセンサ26を有す
る。このタッチセンサ26は後述する新たなNC加工プ
ログラム生成モードにおいて,NC工作機械30に搭載
され計測部52bによって測定対象となるワークの形状
を測定するために使用される。
The NC device also has a touch sensor 26. The touch sensor 26 is used to measure the shape of a workpiece to be measured by the measuring unit 52b mounted on the NC machine tool 30 in a new NC machining program generation mode described later.

【0018】さらに好適には,NC装置は,生成された
新たなNC加工プログラムをワークの加工前にシミュレ
ーションするシミュレーション部52e,さらに,実際
にワークを加工する前に所定のオフセットをかけてNC
工作機械30を駆動するオフセット処理部52fを有す
る。
More preferably, the NC device is a simulation unit 52e for simulating the generated new NC machining program before machining a workpiece, and further, by applying a predetermined offset before actually machining the workpiece, NC.
It has an offset processing unit 52f for driving the machine tool 30.

【0019】本実施例におけるNCマクロ命令解読部5
0は従来のように,単にNC加工プログラム記憶ブロッ
ク14Fに記憶されたNC加工プログラムの内容を解読
して加工実行部52gでワークの加工を制御駆動させる
だけでなく,上述した,オープン処理部52a,計測部
52b,NC加工プログラム生成部52c,クローズ処
理部52d,シミュレーション部52eおよびオフセッ
ト処理部52fに対するマクロ命令の解読をも行う。
NC macro instruction decoding unit 5 in this embodiment
0 not only decodes the contents of the NC machining program stored in the NC machining program storage block 14F and controls the machining of the work by the machining executing unit 52g as in the conventional case, but also the open processing unit 52a described above. The macro instruction for the measuring unit 52b, the NC machining program generating unit 52c, the close processing unit 52d, the simulation unit 52e, and the offset processing unit 52f is also decoded.

【0020】また上述したNCマクロ命令解読部50に
よってマクロ命令を実行するオープン処理部52a〜加
工実行部52gはNCマクロ命令実行部52を構成して
いる。より具体的には,NCマクロ命令実行部52の処
理内容はそれぞれ制御プログラムとしてリードオンリー
メモリ(ROM)に記憶され,NCマクロ命令解読部5
0がマイクロコンピュータの中央演算処理ユニット(C
PU)で実現され,対応する制御プログラム,たとえ
ば,オープン処理プログラムがCPUで実行されること
によって,対応する制御部,たとえば,オープン処理部
52aとして機能する。
The open processing section 52a to the modification executing section 52g for executing the macro instruction by the NC macro instruction decoding section 50 described above constitute an NC macro instruction executing section 52. More specifically, the processing contents of the NC macro instruction execution unit 52 are stored in a read-only memory (ROM) as a control program, and the NC macro instruction decoding unit 5
0 is the central processing unit (C
When a corresponding control program, for example, an open processing program is implemented by the CPU, the CPU functions as a corresponding control unit, for example, the open processing unit 52a.

【0021】図2に図1に示したNC装置の全体動作モ
ードを示す。NC装置には,先ず,メモリ14のブロッ
ク14Cに基のプログラムが記憶される(ステップ6
0)。次いで,NC工作機械30の主軸に装着されてい
る工具に代えてタッチセンサ26を装着し,ブロック1
4C内の基のプログラムに基づいて,オープン処理部5
2a,計測部52b,NC加工プログラム生成部52c
およびクローズ処理部52dを動作させて新たなNC加
工プログラムを生成してメモリ14内の記憶ブロック1
4Eに記憶する(ステップ61)。このように本発明に
おいては,新たなNC加工プログラムがワークを加工す
るNC装置において生成される。
FIG. 2 shows the overall operation mode of the NC device shown in FIG. The NC device first stores a program based on the block 14C of the memory 14 (step 6).
0). Next, the touch sensor 26 is mounted in place of the tool mounted on the spindle of the NC machine tool 30, and the block 1
Based on the basic program in 4C, the open processing unit 5
2a, measuring unit 52b, NC machining program generating unit 52c
And the close processing unit 52d is operated to generate a new NC machining program to generate the storage block 1 in the memory 14.
It is stored in 4E (step 61). As described above, in the present invention, the new NC machining program is generated in the NC device for machining the workpiece.

【0022】もし必要があれば,オペレータは上記生成
された新たなNC加工プログラムの内容をテストするこ
とができる(ステップ62)。このテスト内容として
は,新たなNC加工プログラムの内容を図形表示させる
シミュレーション動作,NC工作機械30の主軸に工具
を装着し実際のワークから所定のオフセットだけ離して
工具を駆動するオフセット動作がある。このように,本
発明によれば,実際にワークを加工するNC装置を用い
てシミュレーション動作およびオフセット動作を行うこ
とができる。
If necessary, the operator can test the contents of the newly created NC machining program (step 62). The test contents include a simulation operation for graphically displaying the contents of the new NC machining program, and an offset operation for mounting the tool on the spindle of the NC machine tool 30 and driving the tool away from the actual work by a predetermined offset. As described above, according to the present invention, the simulation operation and the offset operation can be performed using the NC device that actually processes the work.

【0023】その後,加工実行部52gを動作させてワ
ークを実際に加工する(ステップ63)。以下,上記ス
テップ61およびステップ62の内容の詳細を中心に述
べる。
Thereafter, the machining execution unit 52g is operated to actually machine the work (step 63). Hereinafter, the details of the contents of step 61 and step 62 will be mainly described.

【0024】NCマクロ命令の集合体であり新たなNC
加工プログラムを生成する基となるプログラムの1例を
図7に示す。この基のプログラムはメモリ14内のブロ
ック14Cに記憶される。また、既に作成されたワーク
加工用のNC加工プログラムが他のブロック14Fに格
納されている。さらに上記基となるプログラムに基づい
て生成される新しいNCプログラムは後述するオープン
処理部52aによって探索されたブロック14Eに格納
される。
A new NC that is a collection of NC macro instructions
FIG. 7 shows an example of a program that is a basis for generating a machining program. This base program is stored in block 14C in memory 14. Further, the NC machining program for machining the workpiece which has already been created is stored in another block 14F. Further, a new NC program generated based on the above-mentioned base program is stored in the block 14E searched by the open processing unit 52a described later.

【0025】これらの各NC加工プログラムは、図6を
参照して後述するディレクトリテーブル15によって管
理されている。これらのメモリ14内のNC加工プログ
ラムはNCマクロ命令解読部50によって解読され,そ
の解読結果に応じてNCマクロ命令実行部52内の対応
する処理部を作動させる。
Each of these NC machining programs is managed by a directory table 15 which will be described later with reference to FIG. The NC processing program in the memory 14 is decoded by the NC macro instruction decoding unit 50, and the corresponding processing unit in the NC macro instruction execution unit 52 is operated according to the decoding result.

【0026】図3は図2に示した処理の流れを詳細に示
している。ステップ70 NCマクロ命令解読部50はメモリ14のブロック14
Cに装荷された基となるプログラムから逐次1ブロック
ごと(以下,1ステップという)にNC文又は狭義のマ
クロ命令を読み出す。以下においては,NC文と狭義の
マクロ命令とを含めて(NC)マクロ命令という。NC
マクロ命令解読部50は読み出したマクロ命令を以下に
述べるように解読してNCマクロ命令実行部52内の該
当する処理部を駆動する。
FIG. 3 shows in detail the flow of processing shown in FIG. Step 70: NC macro instruction decoding unit 50 causes block 14 of memory 14 to
An NC statement or a macro instruction in a narrow sense is sequentially read from the base program loaded in C for each block (hereinafter referred to as one step). In the following, the NC statement and the macro instruction in the narrow sense are collectively referred to as (NC) macro instruction. NC
The macro instruction decoding unit 50 decodes the read macro instruction as described below and drives the corresponding processing unit in the NC macro instruction execution unit 52.

【0027】ステップ71,72 NCマクロ命令解読部50は,読み出したマクロ命令が
オープン命令か否か判断し、オープン命令であればオー
プン処理部52aを駆動する。駆動されたオープン処理
部52aはオープン処理を行う。その後NCマクロ命令
実行部52の制御はステップ70に戻る。
Steps 71 and 72 The NC macro instruction decoding unit 50 determines whether the read macro instruction is an open instruction, and if it is an open instruction, it drives the open processing unit 52a. The driven open processing unit 52a performs open processing. Thereafter, the control of the NC macro instruction execution section 52 returns to step 70.

【0028】オープン命令とは,基のプログラムに基づ
いて新たなNC加工プログラムの記憶ブロックを探索
し,そのブロックを使用することを宣言し登録する処理
である。
The open command is a process of searching a memory block of a new NC machining program based on the original program, declaring that the block is used, and registering the block.

【0029】ステップ73〜76 オープン命令でなければNCマクロ命令解読部50はス
テップ73の判断処理を進め,プログラム生成命令か否
か判断する(ステップ73)。プログラム生成命令であ
れば,計測部52bを駆動して計測の対象となるワーク
を計測し(ステップ74),NC加工プログラム生成部
52cを駆動してこの計測結果からNC加工プログラム
を生成させ(ステップ75),さらに生成されたNC加
工プログラムを上記探索された新たなNC加工プログラ
ム記憶ブロックに書き込む(ステップ76)。その後,
NCマクロ命令実行部52の制御はステップ70に戻
る。
Steps 73 to 76 If it is not an open instruction, the NC macro instruction decoding section 50 advances the decision processing of step 73 to decide whether it is a program generation instruction (step 73). If it is a program generation command, the measuring unit 52b is driven to measure the workpiece to be measured (step 74), and the NC machining program generating unit 52c is driven to generate an NC machining program from this measurement result (step 75), and further writes the generated NC machining program in the searched new NC machining program storage block (step 76). afterwards,
The control of the NC macro instruction execution unit 52 returns to step 70.

【0030】これにて,NC装置内において,対象とな
るワークについてのNC加工プログラムが生成できる。
As a result, an NC machining program for the target work can be generated in the NC device.

【0031】ステップ77,78 NCマクロ命令解読部50は解読したマクロ命令がプロ
グラム生成命令でなければ、クローズ命令か否か判断し
(ステップ77)、クローズ命令であればクローズ処理
部52dを駆動する(ステップ78)。クローズ処理部
52dはクローズ処理として,上記新たなNC加工プロ
グラム記憶ブロック14Eに記憶された新たなNC加工
プログラムの終了であることを示すコードを上記新たな
NC加工プログラムの最後に書き込む。その後,NCマ
クロ命令実行部52の制御はステップ70に戻る。
Steps 77 and 78 The NC macro instruction decoding unit 50 judges whether the decoded macro instruction is a close instruction or not if it is not a program generation instruction (Step 77). If it is a close instruction, it drives the close processing unit 52d. (Step 78). As the close processing, the close processing unit 52d writes a code indicating the end of the new NC machining program stored in the new NC machining program storage block 14E at the end of the new NC machining program. Thereafter, the control of the NC macro instruction execution part 52 returns to step 70.

【0032】ステップ79,80 NCマクロ命令解読部50はさらにシミュレーション動
作モードか否か判断し(ステップ79),シミュレーシ
ョン動作モードであればシミュレーション部52eを駆
動して新たなNC加工プログラムの内容をシミュレーシ
ョンする(ステップ80)。このシミュレーション動作
をさせる場合は,予めオペレータがキーボード等の操作
盤によってシミュレーション動作を行わせる旨の指令を
入力し,その場合のフラグがメモリ14内にストアされ
ている。このフラグがシミュレーション動作指令であれ
ばシミュレーション部52eを駆動するのである。この
シミュレーションの内容としては,新たなNC加工プロ
グラムを3次元状態の図形表示させる。これによって,
ワークを加工する前に三次元図形の状態で新たなNC加
工プログラムの内容を確認することができる。NCマク
ロ命令実行部52の制御はその後ステップ70に戻る。
Steps 79 and 80 The NC macro instruction decoding section 50 further judges whether or not it is the simulation operation mode (step 79). If it is the simulation operation mode, the simulation section 52e is driven to simulate the contents of a new NC machining program. (Step 80). In order to perform this simulation operation, the operator inputs a command instructing the simulation operation to be performed using an operation panel such as a keyboard in advance, and the flag in that case is stored in the memory 14. If this flag is a simulation operation command, the simulation unit 52e is driven. As the contents of this simulation, a new NC machining program is displayed in a three-dimensional graphic form. by this,
The contents of the new NC machining program can be confirmed in the state of the three-dimensional figure before machining the work. The control of the NC macro instruction execution unit 52 then returns to step 70.

【0033】ステップ81,82,85 シミュレーション命令でなければ、NCマクロ命令解読
部50はステップ81に進み、オフセット命令か否か判
断し、オフセット命令であればステップ82でオフセッ
ト処理部52fを駆動し,NC工作機械30の主軸に装
着した工具を所定の高さだけオフセット上昇させて記憶
ブロック14Eに記憶された新しく作成されたNCプロ
グラムを試行する。このオフセットによって工具はワー
クより所定の高さだけ離れているので実際にワークは加
工されないが,その加工軌跡に従って工具が移動するの
で,実際にワークを加工する前の動作確認を行うことが
できる。その後NCマクロ命令実行部52の制御はステ
ップ70に戻る。
If it is not a simulation instruction in steps 81, 82 and 85 , the NC macro instruction decoding unit 50 proceeds to step 81 and determines whether it is an offset instruction. If it is an offset instruction, it drives the offset processing unit 52f in step 82. , NC The tool mounted on the spindle of the machine tool 30 is offset up by a predetermined height to try the newly created NC program stored in the storage block 14E. Since the tool is separated from the work by a predetermined height due to this offset, the work is not actually machined, but the tool moves according to the machining trajectory, so that it is possible to confirm the operation before actually machining the work. Thereafter, the control of the NC macro instruction execution section 52 returns to step 70.

【0034】ステップ83,84,85 NCマクロ命令実行部52は解読マクロ命令が加工命令
か否かを判断する(ステップ83)。加工命令の場合,
従来と同様,加工実行部52gを駆動して,新たなNC
加工プログラムに基づいて実際にワークを加工させる
(ステップ84)。そして再びステップ70へ戻る。加
工命令でなければステップ85において加工完了か否か
判断し,完了でなければやはりステップ70ヘ戻る。こ
の新たなNC加工プログラムに基づくワークの加工処理
もNCマクロ命令解読部50によって逐次1ステップご
とマクロ命令が解読されてワークがNC工作機械30の
主軸に装着された工具によって加工される。
Steps 83, 84 and 85 The NC macro instruction execution section 52 judges whether or not the decoding macro instruction is a modification instruction (step 83). For processing instructions,
As in the conventional case, the machining execution unit 52g is driven to create a new NC.
The workpiece is actually machined based on the machining program (step 84). Then, the process returns to step 70 again. If it is not a machining command, it is judged in step 85 whether the machining is completed. If it is not completed, the process returns to step 70. In the machining processing of the work based on this new NC machining program, the macro command is sequentially decoded by the NC macro command decoding unit 50 step by step, and the work is processed by the tool mounted on the spindle of the NC machine tool 30.

【0035】図4は本発明の第2実施例としてのNC工
作機械システムの構成を示す。このNC工作機械システ
ムは,マイクロコンピュータ10,テープリーダ18,
CRTディスプレイ20,キーボード等の操作盤22,
計測装置24,1台または複数台の工作機械31を有し
ている。
FIG. 4 shows the configuration of an NC machine tool system as a second embodiment of the present invention. This NC machine tool system includes a microcomputer 10, a tape reader 18,
CRT display 20, operation panel 22 such as a keyboard,
The measuring device 24 has one or a plurality of machine tools 31.

【0036】各々の工作機械31は従来の工作機械と同
様,NC工作機械30,工具Tが装着された主軸30
S,ワークWが載置されたワークテーブル30T,NC
制御部32を有している。NC制御部32はNC加工プ
ログラムを記憶するメモリ,この記憶されたNC加工プ
ログラムの内容を解読するNC加工命令解読部および加
工実行部52gに該当するマクロ命令実行部を有してい
る。工作機械31はさらにマイクロコンピュータ10か
ら新たなNC加工プログラムを受信する入力部32Iを
有している。工作機械31は1台以上,複数台配設する
ことができる。工作機械30の工具Tを取り付けている
主軸30Sと、ワークWを載置するワークテーブル30
Tとは周知の機構によって三次元的に相対移動すること
ができる。
Each of the machine tools 31 is an NC machine tool 30 and a spindle 30 on which a tool T is mounted, like the conventional machine tools.
Work table 30T, NC on which S and work W are placed
It has a controller 32. The NC control unit 32 has a memory for storing an NC machining program, an NC machining instruction decoding unit for deciphering the contents of the stored NC machining program, and a macro instruction execution unit corresponding to the machining execution unit 52g. The machine tool 31 further has an input unit 32I for receiving a new NC machining program from the microcomputer 10. One or more machine tools 31 can be arranged. A spindle 30S to which a tool T of the machine tool 30 is attached, and a work table 30 on which a work W is placed.
It is possible to three-dimensionally move relative to T by a known mechanism.

【0037】マイクロコンピュータ10と計測装置24
とは協働してテーブル24Tに載置された測定対象とな
るワークWMをランダムアクセスメモリ(RAM)14
Aに記憶された基のプログラムに基づいてタッチセンサ
26を移動させ、その移動結果に基づいて新たなNC加
工プログラムを生成する。
Microcomputer 10 and measuring device 24
And the work WM to be measured placed on the table 24T in cooperation with the random access memory (RAM) 14
The touch sensor 26 is moved based on the original program stored in A, and a new NC machining program is generated based on the movement result.

【0038】計測装置24は,タッチセンサ26が装着
された主軸24S,測定の対象となるワークWMが載置
されたテーブル24Tおよび制御部25を有している。
この測定の対象となるワークWMは後述するように,計
測装置24が通常のNC装置として動作するとき実際に
加工の対象となるワークWでもある。
The measuring device 24 has a spindle 24S to which a touch sensor 26 is attached, a table 24T on which a work WM to be measured is placed, and a controller 25.
As will be described later, the work WM to be measured is also the work W to be actually processed when the measuring device 24 operates as a normal NC device.

【0039】計測装置24は加工対象であるワークWま
たはそれと全く同じ形状、寸法の計測対象となるワーク
WMの加工輪郭の座標値群を計測によって得る装置であ
る。この装置の主軸24Sとテーブル24Tとは、一般
の工作機械等における周知の機構と同様の機構によって
駆動され、三次元的に相対移動することができるように
構成されており、その主軸にはタッチセンサ26を装着
している。
The measuring device 24 is a device for obtaining the coordinate value group of the machining contour of the workpiece W to be machined or the workpiece WM to be measured which has exactly the same shape and dimensions. The main shaft 24S and the table 24T of this device are driven by a mechanism similar to a well-known mechanism in a general machine tool or the like, and are configured to be capable of three-dimensional relative movement, and the main shaft is touched. The sensor 26 is attached.

【0040】マイクロコンピュータ10は,CPU1
2,RAM14A,リードオンリーメモリ(ROM)1
5A,および,入出力部(I/O)16を有している。
この実施例においては,図1に示したメモリ14がマイ
クロコンピュータ10内のRAM14Aで実現され,図
1に示したNCマクロ命令解読部50がマイクロコンピ
ュータ10内にNCマクロ命令解読部50Aとして組み
込まれ,図1に示したオープン処理部52aの制御プロ
グラム,計測部52bの制御プログラム,NC加工プロ
グラム生成部52cの制御プログラム,クローズ処理部
52dの制御プログラム,シミュレーション部52eの
制御プログラム,および,オフセット処理部52fの制
御プログラムがそれぞれリードオンリーメモリ(RO
M)15Aに記憶されている。
The microcomputer 10 includes a CPU 1
2, RAM 14A, read only memory (ROM) 1
It has 5A and an input / output unit (I / O) 16.
In this embodiment, the memory 14 shown in FIG. 1 is realized by the RAM 14A in the microcomputer 10, and the NC macro instruction decoding unit 50 shown in FIG. 1 is incorporated in the microcomputer 10 as the NC macro instruction decoding unit 50A. The control program of the open processing unit 52a, the control program of the measuring unit 52b, the control program of the NC machining program generating unit 52c, the control program of the closing processing unit 52d, the control program of the simulation unit 52e, and the offset processing shown in FIG. The control programs of the part 52f are read-only memories (RO
M) 15A.

【0041】ただし,図1に示した加工実行部52g,
およびこの加工実行部52gにおいて実行されるNC加
工プログラムの内容を解読するNCマクロ命令解読部5
0の一部が制御部25に収容されている。
However, the processing execution unit 52g shown in FIG.
And an NC macro instruction decoding unit 5 which decodes the contents of the NC processing program executed by the processing execution unit 52g.
A part of 0 is stored in the control unit 25.

【0042】マイクロコンピュータ10に接続されてい
るテープリーダ18は基のプログラムが記録されている
磁気テープ、また、紙テープ等からその基のプログラム
を読み取り,RAM14A内の基のプログラム記憶ブロ
ック14Cに記憶させるものである。なお,操作盤22
によってオペレータが基のプログラムを逐次装荷すると
きはテープリーダ18は不要である。CRTディスプレ
イ20はシミュレーション結果を3次元的に図形表示さ
せるものであり,さらに記録用としてプロッタを設けて
もよく,CRTディスプレイ20に代えてプロッタを設
けてもよい。図1に示したNC工作機械30,タッチセ
ンサ26および計測部52bの機構部分が計測装置24
に対応している。
The tape reader 18 connected to the microcomputer 10 reads the base program from a magnetic tape on which the base program is recorded, a paper tape or the like, and stores it in the base program storage block 14C in the RAM 14A. It is a thing. The operation panel 22
Therefore, the tape reader 18 is not necessary when the operator sequentially loads the original program. The CRT display 20 is for three-dimensionally displaying a simulation result graphically, and a plotter may be provided for recording and a plotter may be provided instead of the CRT display 20. The mechanical part of the NC machine tool 30, the touch sensor 26, and the measuring section 52b shown in FIG.
It corresponds to.

【0043】図4に示した本実施例のNC工作機械シス
テムは,計測装置24とマイクロコンピュータ10とが
協働して基のプログラムに基づいて新たなNC加工プロ
グラムを生成し,得られた新たなNC加工プログラムに
基づいて,1台または複数台の工作機械31においてワ
ークWを加工する例を示す。すなわち,この実施例は,
1台の工作機械を計測装置24として動作させ,マイク
ロコンピュータ10と計測装置24とを協働させて新た
なNC加工プログラムを生成し,この新たなNC加工プ
ログラムに基づいて一台の工作機械31で,あるいは,
複数台の工作機械31,31Aでほぼ同時に複数のワー
クWを加工可能にする構成を示している。 RAM14
Aに記憶された新たなNC加工プログラムがI/O16
を介して入力部32Iに入力され,NC制御部32で実
行されることにより,工作機械31において,主軸30
Sに載置されたワークWを加工する。
In the NC machine tool system of this embodiment shown in FIG. 4, the measuring device 24 and the microcomputer 10 cooperate to generate a new NC machining program based on the original program, and the new NC machining program is obtained. An example in which the work W is machined by one or a plurality of machine tools 31 based on the NC machining program will be described. That is, this embodiment is
One machine tool is operated as the measuring device 24, the microcomputer 10 and the measuring device 24 are made to cooperate with each other to generate a new NC machining program, and one machine tool 31 is generated based on this new NC machining program. Or
A configuration is shown in which a plurality of machine tools 31, 31A can process a plurality of works W at substantially the same time. RAM14
The new NC machining program stored in A is I / O16.
Is input to the input unit 32I through the NC control unit 32 and is executed by the NC control unit 32.
The work W placed on S is processed.

【0044】またこの実施例は,通常のNC装置の一部
を計測装置24として機能させ,このNC装置にマイク
ロコンピュータ10を接続して基のプログラムから新た
なNC加工プログラムを生成するNCプログラム作成装
置を構成することが可能なことを示している。
Further, in this embodiment, a part of a normal NC device is made to function as the measuring device 24, the microcomputer 10 is connected to this NC device, and a new NC machining program is created from the original program. It shows that the device can be configured.

【0045】さらにこの実施例は,基のプログラムから
新たなNC加工プログラムを生成したのち,元々存在し
ている制御部25を活用して,計測装置24においてタ
ッチセンサ26に代えて工具Tを装着させることによ
り,マイクロコンピュータ10のRAM14Aに記憶さ
れた新たなNC加工プログラムに基づいて,制御部25
と計測装置24とで工作機械31と同様に並列してほぼ
同時に複数のワークWの加工が可能なことを示してい
る。
Further, in this embodiment, after a new NC machining program is generated from the original program, the control unit 25 existing originally is utilized to mount the tool T in place of the touch sensor 26 in the measuring device 24. As a result, the control unit 25 is operated based on the new NC machining program stored in the RAM 14A of the microcomputer 10.
2 and the measuring device 24 are capable of processing a plurality of works W in parallel at substantially the same time as the machine tool 31.

【0046】以下においては具体的な例として図11と
図12に示すように,測定の対象となる円筒状ワークW
Mに他の円筒部材を取り付けるための、平面形状が円C
である孔CHを加工する例について説明する。上記平面
はX軸とY軸とを含む平面と平行なものをいい、これに
垂直な軸をZ軸とする。
In the following, as a concrete example, as shown in FIGS. 11 and 12, a cylindrical work W to be measured is shown.
The plane shape for attaching another cylindrical member to M is circle C
An example of processing the hole CH that is The plane is parallel to the plane including the X axis and the Y axis, and the axis perpendicular to the plane is the Z axis.

【0047】上述した基のプログラムは,加工すべき孔
の平面形状が同じワークの場合は共通して新たなNC加
工プログラム生成に使用でき,ワークWの加工孔の平面
形状が異なれば,基のプログラムもその加工孔の平面の
形状に合わせて異なるものを用いる。つまり,本発明に
係る方法並びに装置では,上記円筒状のワークWが,立
方体等のように他の形状のワークであっても以下におけ
る説明は不変であるが,形成すべき孔CHの形状が異な
れば基となるプログラムの内容が異なる。
The above-described basic program can be commonly used to generate a new NC machining program for workpieces having the same planar shape of the hole to be machined. If the planar shape of the machined hole of the workpiece W is different, Different programs are used according to the shape of the plane of the processed hole. In other words, in the method and apparatus according to the present invention, the shape of the hole CH to be formed is not changed even though the cylindrical work W is a work of other shape such as a cube, although the description below is unchanged. If they are different, the contents of the underlying program will be different.

【0048】円筒状ワークWMの側面に平面形状が円形
の孔CHを工作機械31によって加工するためのNCプ
ログラムを自動作成させるためのマクロ命令からなる基
のプログラムMMMの具体例を図7に示す。左端の記号
N01からN17は図11に示した形状の新たなNC加
工プログラムを生成させるための基のプログラムのプロ
グラムのステップ番号を示す。この基のプログラムの内
容をフローチャートによって示したものが図8と図9で
ある。
FIG. 7 shows a specific example of the basic program MMM consisting of macro commands for automatically creating an NC program for machining the hole CH having a circular planar shape on the side surface of the cylindrical work WM by the machine tool 31. .. The symbols N01 to N17 at the left end indicate the program step numbers of the base program for generating a new NC machining program having the shape shown in FIG. FIGS. 8 and 9 show the contents of this base program by a flow chart.

【0049】図11に基のプログラムに基づいて新たな
NC加工プログラムを生成した結果を示す。以下,図7
〜図13を参照して基のプログラムから新たなNC加工
プログラムを生成する動作について述べる。
FIG. 11 shows the result of creating a new NC machining program based on the original program. Below, Figure 7
The operation of generating a new NC machining program from the original program will be described with reference to FIGS.

【0050】プログラムステップN01 このプログラムステップN01はオープンマクロ命令: POPN,101 を示している。すなわち,このマクロ命令:POPN
(Program Open),101は,新たなNC
加工プログラム番号101の作成開始を行うことを示し
ている。このときの所要メモリサイズは,たとえば,図
4の操作盤22を介してオペレータによって与えられ
る。
Program Step N01 This program step N01 shows an open macro instruction: POPN, 101. That is, this macro command: POPN
(Program Open), 101 is a new NC
This indicates that the creation of the machining program number 101 is started. The required memory size at this time is given by the operator via the operation panel 22 of FIG. 4, for example.

【0051】マイクロコンピュータ10内のCPU12
内のNCマクロ命令解読部50AがRAM14Aのブロ
ック14Cに記憶されているこのオープンマクロ命令を
解読して,ROM15Aに記憶されているオープン処理
制御プログラムを駆動する。このオープン処理制御プロ
グラムはCPU12で動作し,RAM14A内のディレ
クトリテーブル15(図6)を参照して,その新たなN
C加工プログラムを格納するに充分なメモリ領域を探索
する。
CPU 12 in the microcomputer 10
The NC macro instruction decoding unit 50A therein decodes the open macro instruction stored in the block 14C of the RAM 14A and drives the open processing control program stored in the ROM 15A. This open processing control program runs on the CPU 12 and refers to the directory table 15 (FIG. 6) in the RAM 14A to create a new N
C Search for a sufficient memory area to store the machining program.

【0052】ディレクトリテーブル15は新たなプログ
ラムの番号,そのプログラムが記憶されている先頭番
地,および,そのプログラムの大きさを記憶している。
空いているディレクトリテーブルはプログラム番号,先
頭番地,その大きさが全て“0”となっている。使用済
みのプログラムはオペレータが操作盤22を介して指示
することにより,対応するディレクトリテーブル15の
内容がクリアされる。
The directory table 15 stores a new program number, a head address where the program is stored, and the size of the program.
In the empty directory table, the program number, the start address, and the size are all "0". The contents of the corresponding directory table 15 are cleared by the operator instructing the used program via the operation panel 22.

【0053】RAM14Aは、例えば、512バイトを
1セクタとしてディレクトリテーブル15を用いて管理
されている。この例においては,図5に示すように,既
にセクタ14BA,14BB,14C,14D,14E
には各種NC加工プログラムが格納されている。たとえ
ば,NC加工プログラムXXXはその容量が2ブロック
分あり,2つのセクタ14BAと14BBとに亘って格
納されている。また、他のNC加工プログラムYYYは
セクタ14Dに格納されている。ここで説明している基
のプログラムMMMは1セクタの大きさのセクタ14C
に格納されている。
The RAM 14A is managed using the directory table 15 with 512 bytes as one sector, for example. In this example, as shown in FIG. 5, sectors 14BA, 14BB, 14C, 14D, 14E have already been added.
Stores various NC machining programs. For example, the NC machining program XXX has a capacity of 2 blocks and is stored over two sectors 14BA and 14BB. Further, another NC machining program YYY is stored in the sector 14D. The base program MMM described here is a sector 14C having a size of one sector.
It is stored in.

【0054】プログラムYYYは、以下において説明す
る作成される新たなNC加工プログラム101のテスト
のために、工作機械31において、工具TをワークWか
ら所定高さだけオフセットさせて試行的に作動させるた
めのものである。
The program YYY offsets the tool T from the work W by a predetermined height in the machine tool 31 for the purpose of testing a new NC machining program 101 to be created, which will be described below. belongs to.

【0055】オープン処理制御プログラムはディレクト
リテーブル15を参照して,RAM14A内の新たなN
C加工プログラムを記憶させるブロック14Eを決定
し,ディレクトリテーブル15にそのプログラム番号=
101,先頭番地=401および大きさ=1ブロックを
登録する。さらに,オープン処理制御プログラムは図1
0に示すように,確保されたブロック14Eの先頭番地
401にオープンコード:O101を書き込む。以上に
より,プログラムステップN01のオープンマクロ命令
の処理が終了する。
The open processing control program refers to the directory table 15 and creates a new N in the RAM 14A.
The block 14E for storing the C machining program is determined, and the program number in the directory table 15 =
101, head address = 401 and size = 1 block are registered. Furthermore, the open processing control program is shown in Figure 1.
As shown in 0, the open code: O101 is written in the head address 401 of the secured block 14E. This completes the processing of the open macro instruction in program step N01.

【0056】プログラムステップN02 図7にプログラムステップN02に示すプログラム書き
込みマクロ命令: PWRT,(G92X0Y0Z100) がNCマクロ命令解読部50において解読され,ROM
15Aに記憶された計測制御プログラムの一部によって
実行され,図10に示した番地402にこの内容が記憶
される。ここで,PWRTはProgram Writ
eを示し,G92は座標系の設定指令を示し,X0は設
定されるX座標の値が絶対座標で0(mm)であること
を示し,Y0は設定されるY座標の値が絶対座標で0
(mm)であることを示し,Z100は設定されるZ座
標の値が絶対座標で100(mm)であることを示して
いる。
[0056] Program step N02 7 program write macro instruction shown in the program step N02 to: PWRT, is decrypted in the NC macro instruction decode unit 50 (G92X0Y0Z100), ROM
It is executed by a part of the measurement control program stored in 15A, and this content is stored in the address 402 shown in FIG. Here, PWRT is Program Writ
e, G92 indicates a coordinate system setting command, X0 indicates that the set X coordinate value is 0 (mm) in absolute coordinates, and Y0 indicates the set Y coordinate value in absolute coordinates. 0
(Mm), and Z100 indicates that the set Z coordinate value is 100 (mm) in absolute coordinates.

【0057】プログラムステップN03 プログラムステップN03に規定されるプログラム書き
込みマクロ命令: PWRT,(G90G01F1000) もプログラムステップN02と同様にNCマクロ命令解
読部50で解読され,RAM14A内のブロック14E
の番地403に記憶される。このマクロ命令は,直線補
間によること,タッチセンサ26を移動させる送り速度
が1000(mm/分)であること示している。。
Program step N03 Program write macroinstruction defined in program step N03: PWRT, (G90G01F1000) is also decoded by NC macroinstruction decoding unit 50 in the same manner as program step N02, and block 14E in RAM 14A.
Is stored in the address 403. This macro command indicates that the linear interpolation is used and that the feed speed for moving the touch sensor 26 is 1000 (mm / min). .

【0058】プログラムステップN04,N05 プログラムステップN04におけるマクロ命令: V1=0 は第1の変数として,角度分割変数V1の初期値が0で
あることを示している。またプログラムステップN05
におけるマクロ命令: V2=70 は第2の変数として,円Cの半径が70(mm)である
ことを示している。プログラムステップN06,N07 プログラムステップN06におけるマクロ命令: G90G00X〔V2〕Y0Z150 はスタート点,X=V2,Y=0(mm),Z=150
(mm)にタッチセンサ26を位置決めすることを示し
ている。コードG00は移動指令である。これにより,
タッチセンサ26がX=V2=70(mm),X=0
(mm),Z=150(mm)に位置決めされる。プロ
グラムステップN07におけるマクロ命令: G00Z150 はX座標およびY座標をプログラムステップN06の座
標を維持しつつ,Z座標を150(mm)から100
(mm)まで下降させるマクロ命令を示す。以上に述べ
たプログラムステップ04〜N07のマクロ命令が計測
制御プログラムによって実行されることによりタッチセ
ンサ26が移動させられる。
Program steps N04, N05 Macro instruction in program step N04: V1 = 0 indicates that the initial value of the angle division variable V1 is 0 as the first variable. Also, program step N05
Macro instruction in: V2 = 70 indicates that the radius of the circle C is 70 (mm) as the second variable. Program step N06, N07 Macro instruction in program step N06: G90G00X [V2] Y0Z150 is a start point, X = V2, Y = 0 (mm), Z = 150
It indicates that the touch sensor 26 is positioned at (mm). Code G00 is a movement command. By this,
The touch sensor 26 has X = V2 = 70 (mm), X = 0.
(Mm) and Z = 150 (mm). Macro instruction in program step N07: G00Z150 maintains the X coordinate and the Y coordinate from the coordinate of program step N06, while changing the Z coordinate from 150 (mm) to 100.
Indicates a macro command to lower to (mm). The touch sensor 26 is moved by executing the macro instructions of the program steps 04 to N07 described above by the measurement control program.

【0059】──グラムステップN08,09,10,
11 プログラムステップN08におけるマクロ命令: V3=〔V2〕*COS〔V1〕 は第3の変数V3として,円形状のワークWMの円周上
の測定点としてのX座標がV2*COS〔V1〕で計算
することを示している。プログラムステップN09にお
けるマクロ命令: V4=〔V2〕*SIN〔V1〕 は第4の変数V4として,円形状のワークWMの円周上
の測定点としてのY座標がV2*SIN〔V1〕で計算
することを示している。プログラムステップN10にお
けるマクロ命令: G90G00X〔V3〕Y〔V4〕 は上記座標位置で規定される座標位置にタッチセンサ2
6を位置決めすることを示している。以上により,タッ
チセンサ26はこれらの座標位置で規定される座標に移
動させられる,プログラムステップN11におけるマク
ロ命令: G61Z50F3000 はタッチセンサ26を速度3000(mm/分)でZ軸
の方向に絶対位置50(mm)まで下降させることを示
している。このマクロ命令が実行されるとタッチセンサ
26が下降し、このタッチセンサ26がワークWMに当
接すると停止する。この場合,Z座標位置=100(m
m)で当接する。
Gram step N 08, 09, 10,
11 Macro instruction in program step N08: V3 = [V2] * COS [V1] is the third variable V3, and the X coordinate as the measuring point on the circumference of the circular work WM is V2 * COS [V1]. It indicates to calculate. Macro instruction in program step N09: V4 = [V2] * SIN [V1] is the fourth variable V4, and the Y coordinate as the measurement point on the circumference of the circular work WM is calculated as V2 * SIN [V1]. It shows that you do. Macro command in program step N10: G90G00X [V3] Y [V4] is the touch sensor 2 at the coordinate position defined by the coordinate position.
6 is to be positioned. As described above, the touch sensor 26 is moved to the coordinates defined by these coordinate positions. The macro command in the program step N11: G61Z50F3000 causes the touch sensor 26 to move at an absolute position 50 in the Z-axis direction at a speed of 3000 (mm / min). (Mm) is shown. When the macro command is executed, the touch sensor 26 descends, and when the touch sensor 26 contacts the work WM, the touch sensor 26 stops. In this case, Z coordinate position = 100 (m
a).

【0060】プログラムステップ12 プログラムステップN12におけるマクロ命令: G04F0.1 は上記タッチセンサ26が位置決めされた位置におい
て,タッチセンサ26の移動が安定する0.1秒間だけ
ドゥエル(停留)させること示している。したがって,
計測制御プログラムは上記タッチセンサ26がワークW
Mに当接して停止した後,0.1秒停留させ,その後,
タッチセンサ26のZ軸座標位置V5を読み取る。
[0060] macro in the program step 12 the program step N12 instructions: G04F0.1 in position where the touch sensor 26 is positioned, movement of the touch sensor 26 indicates possible to dwell only 0.1 seconds to stabilize (retention) .. Therefore,
In the measurement control program, the touch sensor 26 is the work W.
After contacting M and stopping, it is stopped for 0.1 second, and then
The Z-axis coordinate position V5 of the touch sensor 26 is read.

【0061】プログラムステップN13 プログラムステップN13におけるマクロ命令: PWRT,(X)V3〔53〕,(Y)V4〔53〕,
(Z)V5〔53〕 は,〔53〕は小数点以上は5桁,少数点以下は3桁
で,V5は計測したZ座標の値の入った変数V5から読
み出して、所定のアドレスに書き込むこと示している。
NCマクロ命令解読部50がこのマクロ命令を解読して
NC加工プログラム生成用制御プログラムを駆動し,こ
のNC加工プログラム生成用制御プログラムはこのマク
ロ命令に従って測定したZ座標値V5をXおよびY座標
値V3,V4とともにRAM14A内のブロック14E
の所定のアドレスに書き込む。これにより,図10に示
すように,RAM14Aのブロック14Eのアドレス4
04にX座標の値70.000(mm),Y座標の値0
(mm),Z座標の値100.000(mm)が書き込
まれる。
[0061] Macro at program step N13 program step N13 instructions: PWRT, (X) V3 [53], (Y) V4 [53],
(Z) V5 [53]: [53] has 5 digits above the decimal point and 3 digits below the decimal point. V5 is read from the variable V5 containing the measured Z coordinate value and written to the specified address. Shows.
The NC macro instruction decoding unit 50 decodes this macro instruction and drives the NC machining program generation control program, and this NC machining program generation control program measures the Z coordinate value V5 measured according to this macro instruction as the X and Y coordinate values. Block 14E in RAM 14A along with V3 and V4
Write to the specified address of. As a result, as shown in FIG. 10, the address 4 of the block 14E of the RAM 14A is
04, X coordinate value 70.000 (mm), Y coordinate value 0
(Mm), Z coordinate value 100.000 (mm) is written.

【0062】プログラムステップN14,N15 プログラムステップN14におけるマクロ命令: V1=V1+10,IF,V1 =360,GO,−7 はまず角度分割変数を示す第1の変数V1の角度を10
度加算し,その角度が360度以内のときはプログラム
ステップを7ステップだけ前のプログラムステップN0
7に戻って再び上述したプログラムステップの処理を反
復することを示している。もし,+7であれば7ステッ
プだけ先に進むことを示す。角度変数V1が360度以
内のとき,上記処理を反復することにより,図10に示
すように,37位置における座標データが計測され,3
7組の座標計測データがRAM14Aのブロック14E
内に連続して書き込まれる。角度変数V1が370度以
上になると,孔CHについての計測が終了したことにな
り,プログラムステップN15に移行する。プログラム
ステップN15におけるマクロ命令: Z150 は上記計測および新たなNC加工プログラムの終了に際
してタッチセンサ26のZ座標を150(mm)まで上
昇させて退避させることを示している。計測制御プログ
ラムはかかるマクロ命令に応答して,タッチセンサ26
をZ軸方向に上昇させる。
Program Steps N14, N15 Macro Instructions in Program Step N14: V1 = V1 + 10, IF, V1 = 360, GO, -7 first set the angle of the first variable V1 which is an angle division variable to 10
Degree is added, and when the angle is within 360 degrees, the program step N0 before the program step by 7 steps
It is shown to return to 7 and repeat the processing of the above-mentioned program steps again. If it is +7, it means that only 7 steps are taken. When the angle variable V1 is within 360 degrees, the above process is repeated to measure the coordinate data at the 37th position as shown in FIG.
7 sets of coordinate measurement data are in the block 14E of the RAM 14A
It is written continuously in. When the angle variable V1 becomes 370 degrees or more, it means that the measurement for the hole CH has been completed, and the process proceeds to the program step N15. Macro command in program step N15: Z150 indicates that the Z coordinate of the touch sensor 26 is raised to 150 (mm) and retracted at the end of the above measurement and a new NC machining program. The measurement control program responds to the macro command by the touch sensor 26.
In the Z-axis direction.

【0063】プログラムステップN16,N17 プログラムステップN16におけるマクロ命令: PCLS,101 は新たなNC加工プログラム101のクローズ処理を示
している。NCマクロ命令解読部50はこのマクロ命令
を解読すると,クローズ処理部52dを駆動する。RO
M15A内のクローズ処理制御プログラムはかかるマク
ロ命令を実行する。すなわち,次のプログラムステップ
N17に記憶されているプログラムクローズを示すコー
ドデータ: M02 を入力し,図10に示すように,上述のようにワークW
Mをタッチセンサ26が計測して生成された新たなNC
加工プログラムの最終位置にこのコードデータM02を
書き込み,このRAM14Aにおけるブロック14Eに
おける新たなNC加工プログラムの終了を明示する。し
たがって,新たなNC加工プログラム101は,図10
に示すように,アドレス401に書き込まれたO101
からアドレス411に書き込まれたM02の範囲に格納
されていることになる。
Program Steps N16, N17 Macro Instructions in Program Step N16: PCLS, 101 indicates the closing processing of the new NC machining program 101. When the NC macro instruction decoding unit 50 decodes this macro instruction, it drives the close processing unit 52d. RO
The close processing control program in M15A executes such a macro instruction. That is, the code data: M02 indicating the program close stored in the next program step N17 is input, and as shown in FIG.
A new NC generated by the touch sensor 26 measuring M.
This code data M02 is written in the final position of the machining program to clearly indicate the end of the new NC machining program in the block 14E of this RAM 14A. Therefore, the new NC machining program 101 is shown in FIG.
O101 written in address 401 as shown in
It is stored in the range of M02 written to the address 411.

【0064】以上に述べたタッチセンサ26の計測軌跡
を図11を参照して説明すると、タッチセンサ26によ
る測定の開始が測定点P01から始まり、次にタッチセ
ンサ26は時計方向に測定点P02へ移り、タッチセン
サ26は順次この方向に移動してゆく。そして測定点P
35のあとタッチセンサ26は元の測定点P01に戻っ
て計測が終了する。このタッチセンサ26の座標位置計
測の過程において新たなNC加工プログラムが生成さ
れ,RAM14A内のセクタ14Eにその新たなNC加
工プログラムが順次書き込まれる。このように,円柱状
の管の表面における円状孔加工に対する基のプログラム
を参照して,実際のワークWMとしての孔CHをタッチ
センサ26を用いてその加工形状を測定し,ワークWに
対する新たなNC加工プログラムを自動的に作成するこ
とがきる。
The measurement locus of the touch sensor 26 described above will be described with reference to FIG. 11. The measurement by the touch sensor 26 starts at the measurement point P01, and then the touch sensor 26 moves clockwise to the measurement point P02. Then, the touch sensor 26 sequentially moves in this direction. And the measurement point P
After 35, the touch sensor 26 returns to the original measurement point P01 and the measurement is completed. A new NC machining program is generated in the process of measuring the coordinate position of the touch sensor 26, and the new NC machining program is sequentially written in the sector 14E in the RAM 14A. As described above, referring to the basic program for machining the circular hole on the surface of the cylindrical pipe, the machining shape of the hole CH as the actual work WM is measured by using the touch sensor 26, and a new work W is newly measured. Automatic NC machining program can be created automatically.

【0065】このように生成され,マイクロコンピュー
タ10内のRAM14A内に格納されている図10に示
す新たなNC加工プログラムは,I/O16から工作機
械31の入力部32Iを介してNC制御部32に入力
し,NC制御部32内のメモリに記憶して主軸30Sに
装着された工具Tを用いてワークテーブル30Tに載置
されたワークWを加工することができる。ただし,新た
なNC加工プログラム生成後,その内容をテストして加
工状況を確認することができる。テスト方法としては,
シミュレーションおよびオフセット処理がある。
The new NC machining program shown in FIG. 10 generated in this way and stored in the RAM 14A in the microcomputer 10 is the NC control unit 32 from the I / O 16 via the input unit 32I of the machine tool 31. Can be input into the memory of the NC control unit 32, and the work W placed on the work table 30T can be processed using the tool T mounted on the spindle 30S. However, after a new NC machining program is generated, its contents can be tested to confirm the machining situation. As a test method,
There is simulation and offset processing.

【0066】シミュレーションはこの例では,オペレー
タがキーボード等の操作盤22を介して新たなNC加工
プログラムの番号およびシミュレーション指令のフラグ
を入力する。NCマクロ命令解読部50がかかるシミュ
レーションフラグを読み,シミュレーション部52eを
駆動する。図4に示した実施例においては,シミュレー
ション部52eはROM15Aに記憶されたシミュレー
ション処理プログラムとして起動され,このシミュレー
ション処理プログラムがディレクトリテーブル15を参
照して,新たなNC加工プログラム101が格納されて
いるRAM14A内のセクタ14Eを検索し,その内容
をチェックして,図10に示したアドレス404〜44
0に記憶されている新たなNC加工プログラムの内容を
線形補間処理を行って表示用図形データを作成し,CR
Tディスプレイ20に表示する。図13はその表示例を
示す。オペレータはこの表示状態から正当に新たなNC
加工プログラムが生成されたことを確認できる。
In this simulation, the operator inputs a new NC machining program number and a simulation command flag via the operation panel 22 such as a keyboard. The NC macro instruction decoding unit 50 reads the simulation flag and drives the simulation unit 52e. In the embodiment shown in FIG. 4, the simulation unit 52e is activated as a simulation processing program stored in the ROM 15A, and this simulation processing program refers to the directory table 15 and stores a new NC machining program 101. The sector 14E in the RAM 14A is searched, the contents are checked, and the addresses 404 to 44 shown in FIG.
The contents of the new NC machining program stored in 0 are linearly interpolated to create display graphic data, and CR
It is displayed on the T display 20. FIG. 13 shows an example of the display. The operator can legally add a new NC from this display state.
It can be confirmed that the machining program has been generated.

【0067】このシミュレーションの後,新たなNC加
工プログラムをNC制御部32内のメモリに転送して,
ワークWの加工を行う前に,工作機械31はオフセット
動作を行い,さらに事前動作チェックを行うことができ
る。このオフセット動作チェックは,主軸30Sを新た
なNC加工プログラムで規定されたZ軸座標から所定の
高さ,たとえば,50(mm)だけ上昇させて,実際に
ワークWの上面を工具Tを移動させるものである。この
オフセット処理は工作機械31の操作パネル(図示せ
ず)を介してオペレータが指示し,NC制御部32にお
いて行われる。これにより,上述のごとく生成された新
たなNC加工プログラムについて,各工作機械31にお
いて最終的な確認動作を行うことができる。
After this simulation, a new NC machining program is transferred to the memory in the NC controller 32,
Before processing the work W, the machine tool 31 can perform an offset operation and further perform a preliminary operation check. In this offset operation check, the spindle 30S is raised by a predetermined height, for example, 50 (mm) from the Z-axis coordinate defined by the new NC machining program, and the tool T is actually moved on the upper surface of the work W. It is a thing. This offset processing is instructed by the operator via the operation panel (not shown) of the machine tool 31, and is performed by the NC control unit 32. As a result, the final confirmation operation can be performed in each machine tool 31 for the new NC machining program generated as described above.

【0068】これらのテスト後、図12に示すように,
主軸30Sに装着された工具TによりワークWを実際に
加工する。このワーク加工動作は複数の工作機械31,
31Aを同時に動作させることができる。その結果とし
て,同じ加工条件で同時的に複数のワークを加工するこ
とができる。
After these tests, as shown in FIG.
The work W is actually machined by the tool T mounted on the spindle 30S. This work machining operation is performed by a plurality of machine tools 31,
31A can be operated simultaneously. As a result, it is possible to machine a plurality of works simultaneously under the same machining conditions.

【0069】本発明の第二実施例のさらにその変形例に
ついて述べる。図4に示した第2実施例としてのNC工
作機械システムにおいては,計測装置24とマイクロコ
ンピュータ10とが基のプログラムに基づいて新たなN
C加工プログラムを生成するための専用装置として使用
することについて述べたが,計測装置24およびマイク
ロコンピュータ10の処理を工作機械31において行う
こともできる。通常,単体の工作機械31内のNC制御
部32にはNCマクロ命令を処理する機能を有してい
る。このNC制御部32に上述した基のプログラムから
新たなNC加工プログラムを生成するためのNCマクロ
命令解読部50およびNCマクロ命令実行部52の一部
を追加し,工具Tに代えてタッチセンサ26を主軸30
Sに装着すれば,上述したと同様に,単体の工作機械3
1において基のプログラムに基づいて新たなNC加工プ
ログラムを生成することができる。したがって,工作機
械31自体が基のプログラムに基づいて新たなNC加工
プログラムを生成し,オフセット動作確認をした後,実
際にワークWを加工することもできる。
Further modifications of the second embodiment of the present invention will be described. In the NC machine tool system as the second embodiment shown in FIG. 4, the measuring device 24 and the microcomputer 10 generate a new N based on a basic program.
Although the use as a dedicated device for generating the C machining program has been described, the processing of the measuring device 24 and the microcomputer 10 can be performed in the machine tool 31. Normally, the NC control unit 32 in the single machine tool 31 has a function of processing an NC macro command. A part of the NC macro instruction decoding unit 50 and the NC macro instruction execution unit 52 for generating a new NC machining program from the above-mentioned base program is added to the NC control unit 32, and the touch sensor 26 is used instead of the tool T. The spindle 30
If it is mounted on the S, as in the case described above, the single machine tool 3
In 1, the new NC machining program can be generated based on the original program. Therefore, the machine tool 31 itself can generate a new NC machining program based on the original program, confirm the offset operation, and then actually machine the work W.

【0070】さらに基のプログラムから新たなNC加工
プログラムを生成後,計測装置24の主軸24Sに装着
したタッチセンサ26を工具Tに交換して装着すること
により,計測装置24を工作機械31と同様に工作機械
としてテーブル24Tに載置されたワークWMを実際に
上述して生成された新たなNC加工プログラムに基づい
て加工することができる。
Further, after generating a new NC machining program from the basic program, the touch sensor 26 mounted on the spindle 24S of the measuring device 24 is replaced with the tool T and mounted, so that the measuring device 24 is the same as the machine tool 31. In addition, the workpiece WM placed on the table 24T as a machine tool can be actually machined based on the new NC machining program generated as described above.

【0071】基のプログラムは加工するワークの形状に
応じてマイクロコンピュータ10内のRAM14Aに入
力される。たとえば,上述した例では,ワークWは円筒
であるが、このワークWの形状は任意である。ワークW
に円形ではなく、例えば三角形の孔を形成する場合に
は、基のプログラムMMMとは異なる三角形の孔を計測
するための他の基のプログラムが必要であるが、異なる
のはタッチセンサの移動する平面座標(X,Y)の値の
指定のみであり、基本的な考え方、即ち、上述した平面
座標(X,Y)を指定してタッチセンサ26でZ座標の
値を計測するという考えは同じである。従って、本発明
は平面形状が如何なる形状のものであっても適用可能で
ある。つまり,本発明に係るNCプログラムの作成装置
並びに方法によれば、ワークWの形状によることなくN
Cプログラムを作成することができる。
The base program is input to the RAM 14A in the microcomputer 10 according to the shape of the work to be processed. For example, in the above example, the work W is a cylinder, but the shape of the work W is arbitrary. Work W
In the case of forming a hole having a triangular shape instead of a circular shape, another basic program for measuring a triangular hole different from the original program MMM is necessary, but the difference is that the touch sensor moves. It is only the designation of the value of the plane coordinate (X, Y), and the basic idea, that is, the idea of designating the plane coordinate (X, Y) and measuring the value of the Z coordinate by the touch sensor 26 is the same. Is. Therefore, the present invention can be applied regardless of the planar shape. That is, according to the NC program creating apparatus and method of the present invention, N
C programs can be created.

【0072】以上の説明においては工作機械を対象にし
てあるが,この工作機械がマシニングセンタであって
も,また,放電加工機等であっても本発明を適用するこ
とができる。
In the above description, the target is a machine tool, but the present invention can be applied whether the machine tool is a machining center or an electric discharge machine.

【0073】[0073]

【発明の効果】以上の説明から明らかなように本発明に
よれば、NC加工を行う単体の工作機械を用いてNCプ
ログラムを効率的に作成することができ,その新たなN
C加工プログラムを用いてその工作機械でワークを加工
することができる。その結果として,従来のように工作
機械の他に別途新たなNC加工プログラムを生成する専
用装置を必要としない。本発明において必要となるの
は,基のプログラムだけであり,この基のプログラムを
活用して生成される種々の形状のワークについて別途N
C加工プログラムを生成する必要がない。また本発明に
おいては生成された新たなNC加工プログラムの内容を
事前に確認することができるので,安全なワークの加工
が実現できる。さらに本発明においては,ある工作機械
において代表的なワークを計測して新たなNC加工プロ
グラムを生成した後,その新たなNC加工プログラムを
複数の工作機械でほぼ同時的に複数のワークを加工する
ことができる。その結果として,同じ条件で品質の高い
ワークの加工が効率よく行うことができる。この作業に
おいても特に専用のNC加工プログラム生成装置を必要
としない。本発明によれば,代表的なワークの形状を加
工する基のプログラムから実際のワークについての新た
なNC加工プログラムを計測しながら実時間で生成する
ことができる。
As is apparent from the above description, according to the present invention, an NC program can be efficiently created by using a single machine tool for NC machining.
A C machining program can be used to machine a workpiece with the machine tool. As a result, a dedicated device for generating a new NC machining program is not required in addition to the machine tool as in the conventional case. In the present invention, only the basic program is required, and N pieces are separately prepared for works of various shapes generated by utilizing the basic program.
There is no need to generate a C machining program. Further, in the present invention, since the contents of the new NC machining program generated can be confirmed in advance, safe machining of the work can be realized. Further, in the present invention, a typical work piece is measured on a machine tool to generate a new NC machining program, and then the new NC machining program is machined on a plurality of workpieces by a plurality of machine tools almost simultaneously. be able to. As a result, high-quality workpieces can be efficiently processed under the same conditions. Also in this work, a dedicated NC machining program generating device is not particularly required. According to the present invention, a new NC machining program for an actual workpiece can be generated in real time from a basic program for machining a typical workpiece shape.

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

【図1】図1は本発明の第1実施例のNC装置の構成図
である。
FIG. 1 is a configuration diagram of an NC device according to a first embodiment of the present invention.

【図2】図2は図1に示したNC装置の全体動作処理を
示すブロックフローチャートである。
FIG. 2 is a block flow chart showing an overall operation process of the NC device shown in FIG.

【図3】図3は図2に示す動作処理のうち新たなNC加
工プログラムを生成し,その内容を確認する動作を中心
に示したフローチャートである。
FIG. 3 is a flowchart mainly showing an operation of generating a new NC machining program and confirming its contents in the operation processing shown in FIG.

【図4】図4は本発明の第2実施例としてのNC工作機
械システムの構成図である。
FIG. 4 is a configuration diagram of an NC machine tool system as a second embodiment of the present invention.

【図5】図5は本発明の実施例としての種々のプログラ
ムが記憶されるメモリの使用方法を説明する図である。
FIG. 5 is a diagram illustrating a method of using a memory in which various programs are stored as an embodiment of the present invention.

【図6】図6は図5に示したメモリの使用を管理するデ
ィレクトリテーブルを示す図である。
6 is a diagram showing a directory table for managing the use of the memory shown in FIG.

【図7】図7は本発明の実施例して円柱状の管の表面に
孔を加工するための基のプログラムの詳細を示すであ
る。
FIG. 7 shows details of a base program for forming holes in the surface of a cylindrical tube according to an embodiment of the present invention.

【図8】図8は図7の基のプログラムの流れ図の一部で
ある。
FIG. 8 is a portion of a flow diagram of the underlying program of FIG.

【図9】図9は図7の基のプログラムの流れ図の一部で
ある。
9 is a portion of a flow chart of the underlying program of FIG. 7.

【図10】図10は図7に示した基のプログラムに基づ
いて本発明により作成された新たなNC加工プログラム
の内容を示す図である。
FIG. 10 is a diagram showing the contents of a new NC machining program created by the present invention based on the basic program shown in FIG. 7.

【図11】図11は図7の基のプログラムによって図7
の新規NCプログラムを作成している途中のタッチセン
サの動きの説明図である。
11 is a block diagram of the program of FIG. 7 based on FIG.
FIG. 6 is an explanatory diagram of the movement of the touch sensor during the creation of the new NC program of FIG.

【図12】図12は図10に示す新たなNC加工プログ
ラムにによる工具の動きを図解する図である。
12 is a diagram illustrating the movement of a tool according to the new NC machining program shown in FIG.

【図13】図13は図10に示した新たなNC加工プロ
グラムの内容をCRTディスプレイに表示した図形を示
す図である。
13 is a diagram showing a graphic in which the contents of the new NC machining program shown in FIG. 10 are displayed on a CRT display.

【符号の説明】[Explanation of symbols]

10 マイクロコンピュータ 14 メモリ 14A 加工プログラム記憶用RAM 15A マクロ命令制御プログラム記憶用ROM 15 ディレクトリテーブル 16 入出力装置 18 テープリーダ 20 ディスプレイ 22 操作盤 24 計測装置 24S 主軸 24T テーブル 26 タッチセンサ 30 NC工作機械 31 工作機械 32 NC制御部 30S 主軸 30T ワークテーブル 32I 制御装置の入力部 50 NCマクロ命令解読部 52 NCマクロ命令実行部 52a オープン処理部 52b 計測部 52c NC加工プログラム生成部 52d クローズ処理部 52e シミュレーション部 52f オフセット処理部 52g 加工実行部 T 工具 W ワーク WM 測定の対象となるワーク 10 Microcomputer 14 Memory 14A Machining program storage RAM 15A Macro command control program storage ROM 15 Directory table 16 Input / output device 18 Tape reader 20 Display 22 Operation panel 24 Measuring device 24S Spindle 24T table 26 Touch sensor 30 NC Machine tool 31 Machining Machine 32 NC control unit 30S Spindle 30T Work table 32I Control unit input unit 50 NC macro instruction decoding unit 52 NC macro instruction execution unit 52a Open processing unit 52b Measuring unit 52c NC machining program generation unit 52d Close processing unit 52e Simulation unit 52f Offset Processing part 52g Machining execution part T Tool W Work WM Work to be measured

───────────────────────────────────────────────────── フロントページの続き (72)発明者 加藤 健二 静岡県沼津市大岡2068−3 東芝機械株式 会社沼津事業所内 (72)発明者 足立 隆男 静岡県沼津市大岡2068−3 東芝機械株式 会社沼津事業所内 ─────────────────────────────────────────────────── ─── Continuation of the front page (72) Inventor Kenji Kato 2068-3 Ooka, Numazu City, Shizuoka Prefecture, Toshiba Machine Co., Ltd.Numazu Works (72) Inventor Takao Adachi 2068-3, Ooka, Numazu City, Shizuoka Toshiba Machine Co., Ltd., Numazu Business In-house

Claims (20)

【特許請求の範囲】[Claims] 【請求項1】 機構部分を有するNC工作機械(30)
を駆動制御するNC制御部(14,50,52)を具備
するNC装置であって、前記NC制御部(14,50,
52)はワーク(WM)の平面加工形状に応じて計測手
段を駆動するNC制御用マクロ命令の集合体である基と
なるプログラムを格納した記憶手段(14)と、 該基のプログラムに基づいて計測並びに加工の対象とな
るワーク(WM)の加工形状を計測する計測手段(5
0,52b,26)と、 該計測手段によって計測された結果に基づいてNCプロ
グラムデータを作成し、前記記憶手段(14)に格納す
るプログラムデータ生成手段(50,52c)と、 前記NC工作機械を駆動制御する駆動制御部(50,5
2g)とを具備し、該駆動制御部(52g)が前記計測
手段により計測されたワーク(WM)加工形状を基に前
記プログラムデータ生成手段(52c)によって生成さ
れたNCプログラムに従って前記ワークを加工すべく前
記NC工作機械を制御するNCプログラム作成機能を備
えたことを特徴とするNC装置。
1. An NC machine tool (30) having a mechanical portion.
An NC device comprising an NC control unit (14, 50, 52) for driving and controlling the
52) is a storage means (14) storing a basic program which is a set of NC control macro instructions for driving the measuring means in accordance with the planar machining shape of the work (WM), and a storage means (14) based on the basic program. Measuring means (5) for measuring the machining shape of the workpiece (WM) to be measured and machined.
0, 52b, 26), program data generating means (50, 52c) for creating NC program data based on the result measured by the measuring means, and storing the NC program data in the storage means (14), and the NC machine tool. Drive control section (50, 5
2g), and the drive control unit (52g) processes the work according to the NC program generated by the program data generating unit (52c) based on the work (WM) machining shape measured by the measuring unit. In order to do so, an NC device having an NC program creation function for controlling the NC machine tool.
【請求項2】 ワーク(WM)の平面加工形状に応じて
計測手段を駆動するNC制御用マクロ命令の集合体であ
る基となるプログラムを格納した記憶手段(14A)
と、 該基のプログラムに基づいて計測対象となるワーク(W
M)の加工形状を計測する計測手段(24)と、 該計測手段によって計測された結果に基づいてNCプロ
グラムデータを作成し、前記記憶手段(14A)に格納
するプログラムデータ生成手段(50A,15A)と、 機構部分を有するNC工作機械(30)と、該NC工作
機械を駆動制御する駆動制御部(32)とを具備し、該
駆動制御部(32)が前記プログラムデータ生成手段
(50A,15A)によって生成されたNCプログラム
に従って前記NC工作機械をNC制御することを特徴と
するNCプログラム作成機能を備えたNC工作機械シス
テム。
2. A storage means (14A) storing a basic program, which is a set of NC control macro instructions for driving the measuring means in accordance with the planar machining shape of the work (WM).
And a workpiece (W to be measured based on the program of the base)
M) measuring means (24) for measuring the processed shape, and program data generating means (50A, 15A) for creating NC program data based on the result measured by the measuring means and storing the NC program data in the storage means (14A). ), An NC machine tool (30) having a mechanical part, and a drive control section (32) for driving and controlling the NC machine tool, the drive control section (32) including the program data generating means (50A, 15A) is an NC machine tool system having an NC program creating function, wherein the NC machine tool is NC controlled according to the NC program generated by 15A).
【請求項3】 前記計測手段は、計測対象であるワーク
に接触することにより接触信号を出力するタッチセンサ
を有し、該タッチセンサによる接触信号を受信してその
接触位置の座標値を計測することを特徴とする請求項2
に記載のNCプログラム作成機能を備えたNC工作機械
システム。
3. The measuring means has a touch sensor that outputs a contact signal by contacting a work to be measured, receives the contact signal from the touch sensor, and measures the coordinate value of the contact position. 2. The method according to claim 2, wherein
An NC machine tool system having the NC program creation function described in 1.
【請求項4】 前記タッチセンサは前記NC工作機械の
主軸に取り付けられて作動するタッチセンサであること
を特徴とする請求項3記載のNCプログラム作成機能を
備えたNC工作機械システム。
4. The NC machine tool system having an NC program creating function according to claim 3, wherein the touch sensor is a touch sensor which is attached to a spindle of the NC machine tool to operate.
【請求項5】 前記システムは、前記NC工作機械の主
軸とは別体であって前記タッチセンサを駆動する駆動装
置を具備したことを特徴とする請求項3記載のNCプロ
グラム作成機能を備えたNC工作機械システム。
5. The NC program creating function according to claim 3, wherein the system includes a drive device that is separate from the spindle of the NC machine tool and that drives the touch sensor. NC machine tool system.
【請求項6】 前記別体の駆動装置は他のNC工作機械
の主軸を備えたことを特徴とする請求項5記載のNCプ
ログラム作成機能を備えたNC工作機械システム。
6. The NC machine tool system having an NC program creating function according to claim 5, wherein the separate drive device is provided with a spindle of another NC machine tool.
【請求項7】 前記NC工作機械と駆動制御部とを複数
ずつ有し、それぞれの駆動制御部が前記作成されたNC
プログラムを読み取って該駆動制御部に対応するNC工
作機械を制御することを特徴とする請求項2から6まで
の何れか1項記載のNCプログラム作成機能を備えたN
C工作機械システム。
7. The NC having a plurality of NC machine tools and a plurality of drive control units, each drive control unit being the created NC.
7. An NC program creation function according to any one of claims 2 to 6, characterized in that the NC machine tool corresponding to the drive control unit is controlled by reading the program.
C machine tool system.
【請求項8】 前記システムは前記作成されたNCプロ
グラムを使用して、加工軌跡を図形として表示する表示
手段を更に具備したことを特徴とする請求項2から7ま
での何れか1項記載のNCプログラム作成機能を備えた
NC工作機械システム。
8. The system according to claim 2, further comprising display means for displaying a machining trajectory as a graphic by using the created NC program. An NC machine tool system with an NC program creation function.
【請求項9】 前記システムは前記ワークに対して所定
量の高さだけオフセットした状態で前記作成されたNC
プログラムを試行するオフセット手段を更に具備したこ
とを特徴とする請求項2から8までの何れか1項記載の
NCプログラム作成機能を備えたNC工作機械システ
ム。
9. The NC created in the state where the system is offset from the work by a predetermined height.
9. An NC machine tool system having an NC program creating function according to any one of claims 2 to 8, further comprising offset means for trying a program.
【請求項10】 ワーク(WM)の平面加工形状に応じ
て計測手段を駆動するNC制御用マクロ命令の集合体で
ある基となるプログラムを格納した記憶手段(14、1
4A)と、 該基のプログラムに基づいて対象となるワーク(WM)
の加工形状を計測する計測手段(52b,26、24)
と、 該計測手段(52b,26、24)によって計測された
結果に基づいて新たなNCプログラムデータを作成し、
前記記憶手段(14、14A)に格納するプログラムデ
ータ生成手段(50,52c、50A,15A)とを具
備したことを特徴とするNCプログラム作成装置。
10. Storage means (14, 1) for storing a basic program which is a set of NC control macro-commands for driving the measuring means according to the planar machining shape of the work (WM).
4A) and the target work (WM) based on the program of the base
Measuring means (52b, 26, 24) for measuring the processed shape of
And create new NC program data based on the results measured by the measuring means (52b, 26, 24),
An NC program creating apparatus comprising: a program data generating unit (50, 52c, 50A, 15A) to be stored in the storage unit (14, 14A).
【請求項11】 前記基のプログラムは、作成すべきN
Cプログラムの格納に必要な大きさと、プログラムメモ
リ領域の番地と前記作成すべきNCプログラム名との対
応テーブルをメモリ内にストアするマクロ命令を有する
ことを特徴とする請求項10記載のNCプログラム作成
装置。
11. The base program is N to be created.
11. The NC program creation according to claim 10, further comprising a macro instruction for storing, in a memory, a correspondence table of a size required for storing a C program, an address of a program memory area and the NC program name to be created. apparatus.
【請求項12】 前記計測手段は、計測対象であるワー
クに接触することにより接触信号を出力するタッチセン
サを有し、該タッチセンサによる接触信号を受信してそ
の接触位置の座標値を計測することを特徴とする請求項
10記載のNCプログラム作成装置。
12. The measuring unit has a touch sensor that outputs a contact signal by contacting a work to be measured, and receives the contact signal from the touch sensor to measure the coordinate value of the contact position. The NC program creation device according to claim 10, wherein
【請求項13】 前記基のプログラムを記憶する記憶手
段は、 作成すべきNCプログラムの格納に必要な大きさのプロ
グラムメモリ領域を探して、該プログラムメモリ領域の
番地と前記作成すべきNCプログラムとの対応テーブル
をメモリ内にストアするオープン処理手段を作動させる
マクロ命令記憶部と、 前記計測手段を所定の高さ位置であって計測対象ワーク
の計測点の平面位置である点へ移動させるマクロ命令記
憶部と、 前記計測手段を前記高さ方向に下降させるマクロ命令記
憶部と、 前記計測手段が前記ワークと接触することにより計測す
る前記高さ方向の位置座標と前記平面位置の座標とから
NCプログラムの1ステップを作成する指令を発するマ
クロ命令記憶部と、 該1ステップを前記対応テーブルによって管理されてい
る前記プログラムメモリ領域に書き込むマクロ命令記憶
部と、 前記移動させる指令機能以降を全計測点の数だけ繰り返
すマクロ命令記憶部とを具備したことを特徴とする請求
項10記載のNCプログラム作成装置。
13. The storage means for storing the base program searches for a program memory area of a size required to store an NC program to be created, and determines the address of the program memory area and the NC program to be created. And a macroinstruction storage unit for operating the open processing means for storing the correspondence table in the memory, and a macroinstruction for moving the measuring means to a point which is a predetermined height position and is a plane position of the measurement point of the workpiece to be measured. From a memory unit, a macro command memory unit that lowers the measuring unit in the height direction, and a position coordinate in the height direction and a coordinate of the plane position measured by the measuring unit coming into contact with the workpiece, NC A macro command storage unit that issues a command to create one step of a program, and the one step is managed by the correspondence table. A macro instruction storage unit to be written into the program memory area, NC program generating device according to claim 10, characterized in that the subsequent command function of the mobile was and a macro instruction storage unit repeated by the number of total measuring points.
【請求項14】 ワークの平面加工形状に応じて計測手
段を駆動するNC制御用マクロ命令の集合体である基と
なるプログラムを設定入力する工程とし、この基のプロ
グラムの命令に応じて対象となるワークの加工形状を計
測する工程と、この計測値に基づいて新たなNCプログ
ラムデータを作成する工程とを具備することを特徴とす
るNCプログラム作成方法。
14. A step of setting and inputting a base program, which is an aggregate of NC control macro instructions for driving the measuring means in accordance with the planar machining shape of the work, and the target program is set according to the instructions of the base program. An NC program creating method, comprising: a step of measuring a machining shape of a workpiece, and a step of creating new NC program data based on the measured value.
【請求項15】 前記基のプログラムの設定入力工程
は、 作成すべきNCプログラムの格納に必要な大きさのプロ
グラムメモリ領域を探して、該プログラムメモリ領域の
番地と前記作成すべきNCプログラムとの対応テーブル
をメモリ内にストアするオープン処理手段を作動させる
命令を実行する工程と、 前記計測手段を所定の高さ位置であって計測対象ワーク
の計測点の平面位置である点へ移動させる命令を実行す
る工程と、 前記計測手段を前記高さ方向に下降させる命令を実行す
る工程と、 前記計測手段が前記ワークと接触することにより計測す
る前記高さ方向の位置座標と前記平面位置の座標とから
NCプログラムの1ステップを作成する命令を実行する
工程と、 該1ステップを前記対応テーブルによって管理されてい
る前記プログラムメモリ領域に書き込む命令を実行する
工程と、 前記移動させる命令以降を全計測点の数だけ繰り返す命
令を実行する工程とを有することを特徴とする請求項1
4記載のNCプログラム作成方法。
15. The step of inputting the setting of the base program searches for a program memory area of a size necessary for storing the NC program to be created, and sets the address of the program memory area and the NC program to be created. A step of executing an instruction to operate the open processing means for storing the correspondence table in the memory, and an instruction to move the measuring means to a point which is a predetermined height position and a plane position of the measurement point of the workpiece to be measured. A step of executing, a step of executing a command to lower the measuring means in the height direction, and a position coordinate in the height direction and a coordinate of the plane position measured by the measuring means coming into contact with the work. To execute an instruction to create one step of the NC program from the step of: Claim to a step of executing an instruction to write to the frame memory area, characterized by a step of executing an instruction to repeat the following instruction to the mobile by the number of total measuring points 1
4. The NC program creation method described in 4.
【請求項16】 ワークの平面加工形状に応じて計測手
段を駆動するNC制御用マクロ命令の集合体である基と
なるプログラムを設定入力する工程と、この基のプログ
ラムの命令に応じて対象となるワークの加工形状を計測
する工程と、この計測値に基づいて新たなNCプログラ
ムデータを作成する工程と、該作成されたNCプログラ
ムによってワークを加工する工程とを具備することを特
徴とするNC加工方法。
16. A step of setting and inputting a base program, which is an aggregate of NC control macro instructions for driving a measuring means according to a planar machining shape of a work, and a target according to the instruction of the base program. NC comprising a step of measuring a machining shape of a workpiece, a step of creating new NC program data based on the measured value, and a step of machining a workpiece by the created NC program. Processing method.
【請求項17】 新たなNCプログラムデータを作成す
る工程は、さらに、後に該NCプログラムによってワー
クを加工する前に、前記NCプログラムデータをシミュ
レーションする工程を具備し、このシミュレーションの
結果を表示することを特徴とする請求項16記載のNC
加工方法。
17. The step of creating new NC program data further comprises the step of simulating the NC program data before machining a workpiece by the NC program later, and displaying the result of this simulation. The NC according to claim 16, characterized in that
Processing method.
【請求項18】 前記記憶手段は、格納されたNCプロ
グラムが、該NCプログラムのプログラム名の記憶部
と、該NCプログラムの格納領域の先頭番地の記憶部
と、該NCプログラムの格納領域の大きさとを対応付け
たディレクトリテーブルの記憶部とを備え管理されてい
るNCプログラム管理構造としたことを特徴とする請求
項1記載のNC装置。
18. The storage means stores the stored NC program in a storage unit for the program name of the NC program, a storage unit at the head address of the storage region for the NC program, and a size for the storage region for the NC program. 2. The NC device according to claim 1, wherein the NC program management structure includes a directory table storage unit that associates with and the management unit.
【請求項19】 前記記憶手段は、格納されたNCプロ
グラムが、該NCプログラムのプログラム名の記憶部
と、該NCプログラムの格納領域の先頭番地の記憶部
と、該NCプログラムの格納領域の大きさとを対応付け
たディレクトリテーブルの記憶部とを備え管理されてい
るNCプログラム管理構造としたことを特徴とする請求
項2記載のNC工程機械システム。
19. The storage means stores the stored NC program in a storage unit for the program name of the NC program, a storage unit at the beginning address of the storage region for the NC program, and a size for the storage region for the NC program. The NC process machine system according to claim 2, wherein the NC program management structure is managed by including a storage unit of a directory table that is associated with the NC program management structure.
【請求項20】 前記記憶手段は、格納されたNCプロ
グラムが、該NCプログラムのプログラム名の記憶部
と、該NCプログラムの格納領域の先頭番地の記憶部
と、該NCプログラムの格納領域の大きさとを対応付け
たディレクトリテーブルの記憶部とを備え管理されてい
るNCプログラム管理構造としたことを特徴とする請求
項10記載のNCプログラム作成装置。
20. In the storage means, the stored NC program stores a program name storage section of the NC program, a storage section at a head address of the NC program storage area, and a size of the NC program storage area. 11. The NC program creation apparatus according to claim 10, wherein the NC program management structure is provided with a managed NC program management structure including a storage unit for a directory table associated with the above.
JP29491391A 1990-10-22 1991-10-15 NC device, NC device having NC machining program creation function, NC program creation device, and NC machining program creation method Expired - Fee Related JP3176397B2 (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
JP29491391A JP3176397B2 (en) 1991-10-15 1991-10-15 NC device, NC device having NC machining program creation function, NC program creation device, and NC machining program creation method
DE4134750A DE4134750C2 (en) 1990-10-22 1991-10-22 Method and arrangement for generating an NC work program for a numerical machine tool control of a machine tool
US07/779,193 US5291393A (en) 1990-10-22 1991-10-22 NC machine tool apparatus having means for producing NC work program and method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP29491391A JP3176397B2 (en) 1991-10-15 1991-10-15 NC device, NC device having NC machining program creation function, NC program creation device, and NC machining program creation method

Publications (2)

Publication Number Publication Date
JPH05108130A true JPH05108130A (en) 1993-04-30
JP3176397B2 JP3176397B2 (en) 2001-06-18

Family

ID=17813877

Family Applications (1)

Application Number Title Priority Date Filing Date
JP29491391A Expired - Fee Related JP3176397B2 (en) 1990-10-22 1991-10-15 NC device, NC device having NC machining program creation function, NC program creation device, and NC machining program creation method

Country Status (1)

Country Link
JP (1) JP3176397B2 (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07210228A (en) * 1994-01-13 1995-08-11 Japan Small Corp Control method for measuring system using nc machine tool
JP2013232141A (en) * 2012-05-01 2013-11-14 Amada Co Ltd Defective machining prevention system and method
JP2016115312A (en) * 2014-12-18 2016-06-23 ファナック株式会社 Numerical value control device having creation function of variable checking nc program having buried variable value used during processing
JP2019537105A (en) * 2016-10-03 2019-12-19 フィブ マシーニング Apparatus with articulated arm and machine tool and corresponding machining method
CN114515977A (en) * 2022-02-23 2022-05-20 河南航天精工制造有限公司 Automatic compensation system and method for automatic production line

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07210228A (en) * 1994-01-13 1995-08-11 Japan Small Corp Control method for measuring system using nc machine tool
JP2013232141A (en) * 2012-05-01 2013-11-14 Amada Co Ltd Defective machining prevention system and method
JP2016115312A (en) * 2014-12-18 2016-06-23 ファナック株式会社 Numerical value control device having creation function of variable checking nc program having buried variable value used during processing
US10048678B2 (en) 2014-12-18 2018-08-14 Fanuc Corporation Numerical controller
CN105717866B (en) * 2014-12-18 2018-08-28 发那科株式会社 Numerical control device
JP2019537105A (en) * 2016-10-03 2019-12-19 フィブ マシーニング Apparatus with articulated arm and machine tool and corresponding machining method
CN114515977A (en) * 2022-02-23 2022-05-20 河南航天精工制造有限公司 Automatic compensation system and method for automatic production line

Also Published As

Publication number Publication date
JP3176397B2 (en) 2001-06-18

Similar Documents

Publication Publication Date Title
EP0129091B1 (en) Numerical control system, graphics display unit and machine tool
US4446520A (en) Process of preparing and processing sewing data for an automatic sewing machine
EP1028306B1 (en) Apparatus and method concerning analysis and generation of a part program for measuring coordinates and surface properties
JPH0238342B2 (en)
JPS6057358B2 (en) Sewing machine automatic programming device
US5291393A (en) NC machine tool apparatus having means for producing NC work program and method thereof
EP2104013B1 (en) Numerical controller with machining restart function
KR100421789B1 (en) Numerical Control Instruction Writing Device and Method
JPH05108130A (en) Nc device and nc program preparing method
US4691649A (en) Input device for sewing machine
US5337249A (en) Numerical control machining animation with workpiece and tool movement
JPH0618003B2 (en) Programmably controlling the execution sequence of data blocks in a program
KR0182393B1 (en) Assumed computer numerical value control nc system & method
JPH04307605A (en) Numerical controller
JPH0653335B2 (en) Numerical control program machining simulation method
JPS58119006A (en) Program control method of numerical control machine tool
WO1985000678A1 (en) Method of inspecting machining locus control
JP2698977B2 (en) Program creation method and program data input device
JP2001075623A (en) Numerical controller and working controlling method and storage medium
JPH0592349A (en) Numerically controlled device
JPS5922103A (en) Numeric controlling method
JPS62224435A (en) Working program inspection device
JP2742959B2 (en) Laser processing equipment
JP2642451B2 (en) Numerical control unit
KR100418178B1 (en) Measuring apparatus having double measuring course and driving method thereof

Legal Events

Date Code Title Description
FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080406

Year of fee payment: 7

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080406

Year of fee payment: 7

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

FPAY Renewal fee payment (prs date is renewal date of database)

Year of fee payment: 7

Free format text: PAYMENT UNTIL: 20080406

FPAY Renewal fee payment (prs date is renewal date of database)

Year of fee payment: 8

Free format text: PAYMENT UNTIL: 20090406

FPAY Renewal fee payment (prs date is renewal date of database)

Year of fee payment: 9

Free format text: PAYMENT UNTIL: 20100406

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100406

Year of fee payment: 9

FPAY Renewal fee payment (prs date is renewal date of database)

Year of fee payment: 10

Free format text: PAYMENT UNTIL: 20110406

LAPS Cancellation because of no payment of annual fees