[go: up one dir, main page]

JPH0592349A - Numerically controlled device - Google Patents

Numerically controlled device

Info

Publication number
JPH0592349A
JPH0592349A JP24928791A JP24928791A JPH0592349A JP H0592349 A JPH0592349 A JP H0592349A JP 24928791 A JP24928791 A JP 24928791A JP 24928791 A JP24928791 A JP 24928791A JP H0592349 A JPH0592349 A JP H0592349A
Authority
JP
Japan
Prior art keywords
program
axis
measurement
measuring
command
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.)
Withdrawn
Application number
JP24928791A
Other languages
Japanese (ja)
Inventor
Hideki Ichihashi
秀樹 市橋
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.)
Mitsubishi Heavy Industries Ltd
Original Assignee
Mitsubishi Heavy Industries 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 Mitsubishi Heavy Industries Ltd filed Critical Mitsubishi Heavy Industries Ltd
Priority to JP24928791A priority Critical patent/JPH0592349A/en
Publication of JPH0592349A publication Critical patent/JPH0592349A/en
Withdrawn legal-status Critical Current

Links

Landscapes

  • Automatic Control Of Machine Tools (AREA)
  • Numerical Control (AREA)

Abstract

PURPOSE:To dispense with a measuring NC program by preparing a locus for the approaching of measured value to a workpiece on the basis of the coordinate value of each axis when measuring command appears in the machining NC program, measuring its dimensions, and storing the results of measurement. CONSTITUTION:After a NC program is read in the NC device of a machine tool from a NC program memory 8, a measuring command signal is added into a moving command block in the NC program by a command signal adding apparatus 14, and stored in the memory 8 again. The NC program is read in from a NC program reading out apparatus 9 and then analized to calculate moving quantity and speed on each axis. In addition, the presence of the measuring command signal is judged, and a measuring command is issued in the case of the existing of the measuring command signal, and the moving quantity on the each axis is read in from a NC program interpreting apparatus 18 through a coordinate value calculating apparatus 15, and the coordinate value on each axis in the NC program is calculated from the above moving quantity, and the coordinate value measured by a coordinate measuring instrument 19 when a detector 22 attains the workpiece is stored in a measured value memory 16.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は工作機械の数値制御(N
C)装置に関し、特に、加工と測定を同一のNCプログ
ラムで行うことができるようにするための改良に関す
る。
BACKGROUND OF THE INVENTION The present invention relates to numerical control of machine tools (N
C) The present invention relates to an apparatus, and more particularly, to an improvement for enabling processing and measurement to be performed by the same NC program.

【0002】[0002]

【従来の技術】図9に工作機械の一例の外観を示す。図
9の工作機械では、テーブル1が前後方向(X軸方向:
紙面に垂直)に移動し、サドル2が左右方向(Y軸方
向)に移動し、サドル2から出たラム3が上下方向(Z
軸方向)に移動し、サドル2が配置されたブリッジ4が
上下方向(W方向:Z軸に平行)に移動することによ
り、テーブル1上に設置したワーク5に対し、ラム3先
端に取付けられた工具6で切削等の加工を行う。図9
中、7は工具ホルダである。
2. Description of the Related Art FIG. 9 shows the appearance of an example of a machine tool. In the machine tool of FIG. 9, the table 1 is in the front-back direction (X-axis direction:
The saddle 2 moves in the left-right direction (Y-axis direction), and the ram 3 ejected from the saddle 2 moves in the vertical direction (Z direction).
The bridge 4 on which the saddle 2 is arranged moves in the vertical direction (W direction: parallel to the Z axis) to be attached to the tip of the ram 3 with respect to the work 5 installed on the table 1. Processing such as cutting is performed with the tool 6. Figure 9
Inside, 7 is a tool holder.

【0003】このような工作機械の軸移動は、数値制御
装置(NC装置)により制御される。数値制御装置の一
般的構成を図10を参照して説明する。
The axial movement of such a machine tool is controlled by a numerical controller (NC device). A general configuration of the numerical controller will be described with reference to FIG.

【0004】図10において、工具の移動軌跡は予め加
工用NCプログラムとして記述されており、NCプログ
ラム記憶器8に記憶される。このNCプログラム記憶器
8からNCプログラム読出し器9がNCプログラムを逐
次読み出し、NCプログラム解釈器10へ出力する。N
Cプログラム解釈器10はNCプログラムを解釈し、N
Cプログラムの各指令単位毎に、各軸の移動量及び移動
速度を求める。移動指令作成器11は各軸の移動量及び
移動速度を基に、サーボ回路12を駆動するために微小
単位時間毎の各軸移動量を求め、これをサーボ回路12
に出力する。サーボ回路12はこの微小単位時間毎の各
軸移動量に従い、各軸の送りモータ13を駆動する。
In FIG. 10, the movement locus of the tool is described in advance as a machining NC program and stored in the NC program storage unit 8. The NC program reader 9 sequentially reads the NC programs from the NC program memory 8 and outputs them to the NC program interpreter 10. N
The C program interpreter 10 interprets the NC program,
The moving amount and moving speed of each axis are obtained for each command unit of the C program. The movement command generator 11 obtains the movement amount of each axis for each minute unit time for driving the servo circuit 12 based on the movement amount and movement speed of each axis, and uses this for the servo circuit 12
Output to. The servo circuit 12 drives the feed motor 13 for each axis according to the movement amount of each axis for each minute unit time.

【0005】上述の如く工作機械の軸移動を数値制御装
置で制御することにより、即ち、工具の移動軌跡を予め
加工用NCプログラムとして数値制御装置に記憶し、も
しくは加工中に逐次供給することにより、工作機械がワ
ークを所望の形状に切削する。
By controlling the axial movement of the machine tool by the numerical control device as described above, that is, by storing the movement locus of the tool in the numerical control device as a machining NC program in advance, or by successively supplying it during machining. The machine tool cuts the work into a desired shape.

【0006】更に、切削後は、ワークが所望の寸法に加
工されたことを確認するため、ワークの寸法を測定した
い場合が多い。このような場合、一般に下記(1),
(2)のようにして寸法測定を行っている。 (1)ワークを工作機械に設置したまま、ラム先端の工
具をタッチセンサ等の測定器に置換した後、各軸を測定
用NCプログラムで移動させることにより、寸法を測定
する。 (2)ワークを工作機械から測定専用機械に設置し直
し、この測定専用機械の各軸を測定用プログラムで移動
させることにより、寸法を測定する。
Further, after cutting, it is often desired to measure the size of the work in order to confirm that the work has been machined to the desired size. In such a case, the following (1),
The dimension is measured as in (2). (1) While the workpiece is installed in the machine tool, the tool at the ram tip is replaced with a measuring device such as a touch sensor, and then each axis is moved by the NC program for measurement to measure the dimension. (2) The workpiece is re-installed from the machine tool to the measurement-dedicated machine, and the axes of the measurement-dedicated machine are moved by the measurement program to measure the dimensions.

【0007】[0007]

【発明が解決しようとする課題】上記(1),(2)い
ずれの寸法測定でも、加工用と測定用の2つのNCプロ
グラムを作成しなければならず、非常に手間がかかるの
が現状である。そこで、本発明は、測定用NCプログラ
ムを独立して作成する必要がない数値制御装置を提供す
ることを目的とする。
In any of the above (1) and (2) dimension measurement, it is necessary to create two NC programs for processing and measurement, which is very time-consuming. is there. Therefore, it is an object of the present invention to provide a numerical controller that does not need to independently create a measuring NC program.

【0008】[0008]

【課題を解決するための手段】本発明による数値制御装
置の構成は、加工用NCプログラムに測定命令記号を付
加する手段と、NCプログラム上の移動量から逐次各軸
の座標値を算出する手段と、ワークの寸法の測定結果を
記憶する手段と、ワークに干渉しないように測定器をア
プローチする軌跡を作成する手段と、NCプログラム上
の測定命令記号を解釈して測定命令として出力する手段
と、この測定命令を選択的に除去する手段とを具備する
ことを特徴とするものである。
The numerical controller according to the present invention has a structure in which a measuring command symbol is added to a machining NC program and a coordinate value of each axis is sequentially calculated from a moving amount on the NC program. A means for storing the measurement result of the dimension of the work, a means for creating a trajectory for approaching the measuring device so as not to interfere with the work, and a means for interpreting a measurement command symbol on the NC program and outputting it as a measurement command. And means for selectively removing the measurement instruction.

【0009】[0009]

【作用】従来の加工用NCプログラムに測定命令記号を
付加することにより、測定命令がNCプログラム中に現
われた時に、各軸の座標値をもとに測定器をワークにア
プローチするための軌跡を作成し、測定器を移動させて
寸法を測定し、測定結果を記憶する。加工の場合は、測
定命令を除去し、従来と同様に制御を行う。従って、加
工用NCプログラムに測定命令記号を付加するだけで、
ワークの寸法を測定し、その結果を記憶できる。
By adding the measurement command symbol to the conventional NC program for machining, when the measurement command appears in the NC program, the trajectory for approaching the measuring instrument to the workpiece based on the coordinate values of each axis is set. Create, move the measuring instrument to measure the dimensions, and store the measurement results. In the case of processing, the measurement command is removed and control is performed in the same manner as in the past. Therefore, simply add the measurement command symbol to the machining NC program,
The size of the work can be measured and the result can be stored.

【0010】[0010]

【実施例】以下、本発明の一実施例を図1〜図8を参照
して説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described below with reference to FIGS.

【0011】図1は本発明の一実施例に係る数値制御装
置の構成を示し、図9に示した従来例とは、NCプログ
ラム解釈器18の機能が異なる他、測定命令記号付加器
14、座標値算出器15、測定値記憶器16、アプロー
チ軌跡作成器17、測定命令除去器21が追加されてい
る。また、付帯的に、座標測定器19、モード切換スイ
ッチ20、タッチセンサなどの検出器22が用いられ
る。
FIG. 1 shows the configuration of a numerical controller according to an embodiment of the present invention. The NC program interpreter 18 has a different function from the conventional example shown in FIG. A coordinate value calculator 15, a measurement value memory 16, an approach trajectory generator 17, and a measurement command remover 21 are added. Further, additionally, a coordinate measuring device 19, a mode changeover switch 20, and a detector 22 such as a touch sensor are used.

【0012】測定命令記号付加器14はNCプログラム
記憶器8に記憶されている工具の移動軌跡を記述した加
工用NCプログラムに測定命令を意味する記号、即ち測
定命令記号を付加する。例えば、CRT表示・入力装置
を用い、これにNCプログラム記憶器8内のNCプログ
ラムを表示させて、その編集機能により測定命令記号を
NCプログラム中の移動ブロックに付加する。測定命令
記号の例としては、下記(a)や(b)が考えられる。 (a)NC機能を規定するGコードと呼ばれるコード
に、特定の番号を付番したもの。例えば、下表左欄の記
号など。 (b)NCプログラムのブロック先頭につけるシーケン
スNO.(番号)に特定の記号を付加したもの。例え
ば、下表右欄の記号など。
The measurement command symbol adder 14 adds a symbol indicating a measurement command, that is, a measurement command symbol, to the machining NC program stored in the NC program memory 8 in which the movement locus of the tool is described. For example, a CRT display / input device is used to display the NC program in the NC program storage unit 8 and the measurement command symbol is added to the moving block in the NC program by its editing function. The following (a) and (b) can be considered as examples of the measurement instruction symbol. (A) A code called a G code that defines the NC function with a specific number. For example, the symbols in the left column of the table below. (B) Sequence No. added at the beginning of the block of the NC program (Number) with a specific symbol added. For example, the symbols in the right column of the table below.

【0013】[0013]

【表1】 [Table 1]

【0014】NCプログラム解釈器18は、NCプログ
ラム記憶器8からNCプログラム読出し器9が逐次読み
出した測定命令記号の付加されたNCプログラムを解釈
し、従来と同様に各軸の移動量および移動速度を出力し
ながら、更に新しい機能として、NCプログラム中に測
定命令記号が現われると、これを解釈して測定命令を出
力する。
The NC program interpreter 18 interprets the NC program to which the measurement command symbols are sequentially read by the NC program reader 9 from the NC program memory 8 and interprets the moving amount and moving speed of each axis as in the conventional case. As a new function, when a measurement command symbol appears in the NC program, it is interpreted and the measurement command is output.

【0015】モード切換スイッチ20は、2つの接点
A,Bを切換えることにより、加工モード(接点B)と
本発明特有の測定モード(接点A)とを切換える。
The mode selector switch 20 switches between the machining mode (contact B) and the measurement mode (contact A) peculiar to the present invention by switching between the two contacts A and B.

【0016】加工モード(接点B)の場合は、NCプロ
グラム解釈器18の出力が測定命令除去器21に入力さ
れる。測定命令除去器21は測定命令のみを除去し、各
軸の移動量及び移動速度を従来と同様に移動指令作成器
11に与える。これにより、移動指令作成器11は微小
単位時間毎の各軸移動量を求めてサーボ回路12に与
え、各軸送りモータ13を駆動させるため、従来と同様
の加工が実現する。
In the machining mode (contact B), the output of the NC program interpreter 18 is input to the measurement command remover 21. The measurement command remover 21 removes only the measurement command and gives the movement amount and movement speed of each axis to the movement command generator 11 as in the conventional case. As a result, the movement command generator 11 obtains the amount of movement of each axis for each minute unit time and gives it to the servo circuit 12 to drive each axis feed motor 13, so that the same machining as in the conventional case is realized.

【0017】測定モード(接点A)の場合は、NCプロ
グラム解釈器18の出力が座標値算出器15に入力され
る。但し、事前に工具をタッチセンサ等の検出器22に
置換しておく。
In the measurement mode (contact A), the output of the NC program interpreter 18 is input to the coordinate value calculator 15. However, the tool is replaced with the detector 22 such as a touch sensor in advance.

【0018】座標値算出器15はNCプログラム解釈器
18から出力される各軸の移動量をもとに現在のプログ
ラム上の各軸の座標値を逐次算出し、測定命令が入力さ
れた時のみ、その時の座標値をアプローチ軌跡作成器1
7と測定値記憶器16に出力する。
The coordinate value calculator 15 sequentially calculates the coordinate value of each axis on the current program based on the movement amount of each axis output from the NC program interpreter 18, and only when the measurement command is input. , The coordinate value at that time is approach trajectory generator 1
7 and the measured value storage 16 are output.

【0019】アプローチ軌跡作成器17は座標値算出器
15からの座標値をもとに、検出器22を干渉なくワー
クにアプローチするための軌跡を作成し、移動指令作成
器11に各軸の移動量及び移動速度を逐次出力する。例
えば図2に示すように、Z軸についてはワーク5から検
出器22を十分離したまま、目的のX軸、Y軸の座標値
に早送りで検出器22を移動し、その後、Z軸について
目的のZ軸座標値より或る適度な距離だけ手前まで早送
りし、最後に検出器22をワーク5に達するまで微小送
りで移動するようなアプローチ軌跡を作成し、このアプ
ローチ軌跡での各軸の移動量及び移動速度を求めて逐
次、移動指令作成器11に出力する。
The approach locus creator 17 creates a locus for approaching the workpiece without interference by the detector 22 based on the coordinate values from the coordinate value calculator 15, and causes the movement command creator 11 to move each axis. The amount and the moving speed are sequentially output. For example, as shown in FIG. 2, while the detector 22 is sufficiently separated from the work 5 with respect to the Z-axis, the detector 22 is rapidly moved to the target X-axis and Y-axis coordinate values, and then the Z-axis is used. The Z-axis coordinate value is used to fast-forward a certain distance to the front, and finally, an approach trajectory is created in which the detector 22 is moved by a minute feed until reaching the workpiece 5, and the movement of each axis on this approach trajectory is created. The amount and the moving speed are calculated and sequentially output to the moving command generator 11.

【0020】これにより、移動指令作成器11は微小単
位時間毎の各軸移動量を求めてサーボ回路12に与え、
各軸送りモータ13を駆動させるため、検出器22は干
渉することなくワーク5に達する。
As a result, the movement command generator 11 obtains the amount of movement of each axis for each minute unit time and gives it to the servo circuit 12,
Since each axis feed motor 13 is driven, the detector 22 reaches the work 5 without interference.

【0021】検出器22はワークに達すると、その旨を
表わすワーク到達信号23を測定値記憶器16とアプロ
ーチ軌跡作成器17に出力する。
When the detector 22 reaches the work, the detector 22 outputs a work arrival signal 23 to that effect to the measured value storage 16 and the approach trajectory generator 17.

【0022】測定値記憶器16は、ワーク到達信号23
を受け取った時、その時の座標測定器19の測定値、例
えば従来の工作機械に備えられている各軸の位置測定器
の測定値を記憶する。この測定値がワークの実寸法であ
り、前述の座標値算出器15から測定値記憶器16に入
力されて記憶した座標値がNCプログラム上のワーク寸
法となり、両者の比較により加工精度が判る。
The measured value memory 16 stores the work arrival signal 23.
When receiving, the measurement value of the coordinate measuring device 19 at that time, for example, the measurement value of the position measuring device of each axis provided in the conventional machine tool is stored. This measured value is the actual size of the workpiece, and the coordinate value input from the coordinate value calculator 15 to the measured value storage unit 16 and stored is the workpiece size on the NC program, and the machining accuracy can be known by comparing the two.

【0023】なお、アプローチ軌跡作成器17は、ワー
ク到達信号23を受け取った時から移動指令作成器11
に移動量ゼロを出力し、測定値記憶器16が測定値を記
憶したことを信号24で確認し、次の測定開始まで待機
する。
The approach locus creator 17 starts moving from the time the work arrival signal 23 is received, the move command creator 11 starts.
A zero movement amount is output to, and it is confirmed by the signal 24 that the measured value storage 16 stores the measured value, and the process waits until the next measurement starts.

【0024】上述した各機器9,18,15,16,1
7,11,12,13,22,19はNCプログラムが
終了するまでそれぞれの動作を繰り返し、ワーク寸法の
測定を行う。
Each of the above-mentioned devices 9, 18, 15, 16, 1
7, 11, 12, 13, 22, and 19 repeat the respective operations until the NC program ends, and measure the work size.

【0025】以上説明した実施例の数値制御装置は、マ
イクロコンピュータ等の中央処理装置(CPU)を用
い、ソフトウェアを実行することにより実現することが
できる。図3〜図8にこれらのフローチャートを示す。
The numerical control device of the above-described embodiment can be realized by executing software using a central processing unit (CPU) such as a microcomputer. 3 to 8 show these flowcharts.

【0026】図3は測定命令記号付加器のソフトウェア
のフローチャートを示す。まず、ステップS1にてNC
プログラム記憶器8からNCプログラムを読み込み、次
のステップS2でNCプログラム中の移動命令ブロック
に測定命令記号を付加する。そして、ステップS3にて
測定命令記号の付加を続行するか否か判断し、付加続行
でなければステップS4にて、NCプログラム記憶器8
に測定命令記号が付加されたNCプログラムを出力し、
記憶させる。
FIG. 3 shows a software flowchart of the measurement command symbol adder. First, in step S1, NC
The NC program is read from the program memory 8, and in the next step S2, the measurement command symbol is added to the movement command block in the NC program. Then, in step S3, it is determined whether or not the addition of the measurement command symbol is continued. If the addition is not continued, in step S4, the NC program memory 8
Output NC program with measurement instruction symbol added to
Remember.

【0027】図4はNCプログラム解釈器18のソフト
ウェアのフローチャートを示す。まず、ステップS1に
てNCプログラム読出し器9からのNCプログラムを読
み込み、ステップS2でNCプログラムを解釈して、各
軸の移動量及び移動速度の算出(ステップS3)と、出
力(ステップS4)を行う。そして、ステップS5で測
定命令記号の有無を判断し、有ればステップS6にて測
定命令を出力する。測定命令記号が無い場合、あるいは
測定命令を出力した場合いずれの場合も、ステップS7
にてNCプログラムが終了したか否か判断し、終了しな
い限りステップS1に戻る。
FIG. 4 shows a flow chart of the software of the NC program interpreter 18. First, the NC program from the NC program reader 9 is read in step S1, and the NC program is interpreted in step S2 to calculate the moving amount and moving speed of each axis (step S3) and output (step S4). To do. Then, in step S5, it is determined whether or not there is a measurement command symbol, and if there is, a measurement command is output in step S6. In either case where there is no measurement command symbol or when a measurement command is output, step S7
At, it is determined whether the NC program is completed, and if it is not completed, the process returns to step S1.

【0028】図5は座標値算出器15のソフトウェアの
フローチャートを示す。まず、ステップS1にてNCプ
ログラム解釈器18から各軸の移動量を読み込み、次の
ステップS2で移動量からNCプログラム上の各軸の座
標値を算出し、ステップS3にて測定命令が入力された
か否か判断し、入力されたらその時の座標値をステップ
S4にて出力し、ステップS1に戻る。ステップS3に
て測定命令が入力されない場合も、NCプログラムが終
了しない限り(ステップS5)、ステップS1に戻り処
理を繰り返す。
FIG. 5 shows a flowchart of the software of the coordinate value calculator 15. First, the moving amount of each axis is read from the NC program interpreter 18 in step S1, the coordinate value of each axis on the NC program is calculated from the moving amount in the next step S2, and the measurement command is input in step S3. If it is input, the coordinate value at that time is output in step S4, and the process returns to step S1. Even if the measurement command is not input in step S3, the process returns to step S1 and repeats the process unless the NC program ends (step S5).

【0029】図6は測定値記憶器16のソフトウェアの
フローチャートを示す。まず、ステップS1にてNCプ
ログラムが終了したか否かを判断し、終了でなければス
テップS2にて測定開始即ち測定命令があったか否かを
判断する。測定開始でなければステップS1に戻り、測
定開始であればステップS3にてNCプログラム上の各
軸の座標値を記憶する。その後は、ステップS4にて検
出器22がワークに到達したか否かを判断し、到達した
場合はステップS5にて、その時の座標測定器19の測
定座標値を記憶し、ステップS1に戻りNCプログラム
が終了するまで繰り返す。
FIG. 6 shows a software flow chart of the measured value storage 16. First, it is determined in step S1 whether or not the NC program is completed, and if not, it is determined in step S2 whether or not there is a measurement start, that is, a measurement command. If the measurement is not started, the process returns to step S1, and if the measurement is started, the coordinate values of each axis on the NC program are stored in step S3. After that, in step S4, it is determined whether or not the detector 22 has reached the workpiece, and if it has reached, in step S5, the measured coordinate value of the coordinate measuring device 19 at that time is stored, and the process returns to step S1. Repeat until the program ends.

【0030】図7はアプローチ軌跡作成器17のソフト
ウェアのフローチャートを示す。まず、ステップS1に
てNCプログラムが終了したか否かを判断し、終了でな
ければステップS2にて測定開始か否かを判断する。測
定開始でなければステップS1に戻り、測定開始であれ
ばステップS3にてNCプログラム上の各軸の座標値を
もとに検出器22のアプローチ軌跡を作成する。そこ
で、ステップS4にて検出器22がワークに到達したか
否かを判断し、到達するまでステップS5にて各軸の移
動量及び移動速度を移動指令作成器11に出力し、検出
器22を移動させる。検出器22がワークに到達した
ら、ステップS6にて移動量ゼロを出力して検出器22
を止め、次のステップS7にて測定値記憶器16におけ
る測定座標値の記憶を確認してからステップS1に戻
り、NCプログラムが終了するまで繰り返す。
FIG. 7 shows a flow chart of the software of the approach trajectory generator 17. First, it is determined in step S1 whether or not the NC program is completed, and if not, it is determined in step S2 whether or not the measurement is started. If the measurement is not started, the process returns to step S1, and if the measurement is started, the approach locus of the detector 22 is created based on the coordinate value of each axis on the NC program in step S3. Therefore, in step S4, it is determined whether or not the detector 22 has reached the work. In step S5, the movement amount and movement speed of each axis are output to the movement command generator 11 until the detector 22 reaches the work. To move. When the detector 22 reaches the work, the detector 22 outputs the movement amount of zero in step S6.
Is stopped, and in the next step S7 the storage of the measured coordinate values in the measured value storage 16 is confirmed, then the process returns to step S1 and is repeated until the NC program ends.

【0031】図8は測定命令除去器21のソフトウェア
のフローチャートを示す。まず、ステップS1にてNC
プログラム解釈器18の出力を読み込み、そのうち測定
命令をステップS2にて除去し、ステップS3にて各軸
の移動量と移動速度を出力する。ステップS4にてNC
プログラムが終了したか否か判断し、終了するまではス
テップS1に戻り、処理を繰り返す。
FIG. 8 shows a software flowchart of the measurement instruction remover 21. First, in step S1, NC
The output of the program interpreter 18 is read, the measurement command is removed in step S2, and the movement amount and movement speed of each axis are output in step S3. NC in step S4
It is judged whether or not the program is completed, and the process is repeated by returning to step S1 until it is completed.

【0032】[0032]

【発明の効果】本発明によれば、加工用NCプログラム
に測定命令記号を付加するだけで測定用NCプログラム
として作用させることができる。従って、測定専用のN
Cプログラムを別途作成する必要がなくなり、作業の簡
素化に多いに寄与する。
According to the present invention, the measurement NC program can be made to act by simply adding a measurement command symbol to the machining NC program. Therefore, N dedicated to measurement
It is not necessary to create a C program separately, which contributes to simplification of work.

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

【図1】本発明の一実施例を示すブロック構成図。FIG. 1 is a block diagram showing an embodiment of the present invention.

【図2】アプローチ軌跡作成の説明図。FIG. 2 is an explanatory diagram of creating an approach trajectory.

【図3】測定命令記号付加器のフローチャート。FIG. 3 is a flowchart of a measurement command symbol adder.

【図4】NCプログラム解釈器のフローチャート。FIG. 4 is a flowchart of an NC program interpreter.

【図5】座標値算出器のフローチャート。FIG. 5 is a flowchart of a coordinate value calculator.

【図6】測定値記憶器のフローチャート。FIG. 6 is a flowchart of a measurement value storage device.

【図7】アプローチ軌跡作成器のフローチャート。FIG. 7 is a flowchart of an approach trajectory generator.

【図8】測定命令除去器のフローチャート。FIG. 8 is a flowchart of a measurement instruction remover.

【図9】工作機械の例を示す図。FIG. 9 is a diagram showing an example of a machine tool.

【図10】従来例を示す図。FIG. 10 is a diagram showing a conventional example.

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

8 NCプログラム記憶器 9 NCプログラム読出し器 11 移動指令作成器 12 サーボ回路 13 各軸送りモータ 14 測定命令記号付加器 15 座標値算出器 16 測定値記憶器 17 アプローチ軌跡作成器 18 NCプログラム解釈器 19 座標測定器 20 モード切換スイッチ 21 測定命令除去器 22 検出器 8 NC program memory 9 NC program reader 11 Movement command generator 12 Servo circuit 13 Each axis feed motor 14 Measurement command symbol adder 15 Coordinate value calculator 16 Measured value memory 17 Approach trajectory generator 18 NC program interpreter 19 Coordinate measuring instrument 20 Mode selector switch 21 Measurement command remover 22 Detector

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 加工用NCプログラムに測定命令記号を
付加する手段と、NCプログラム上の移動量から逐次各
軸の座標値を算出する手段と、ワークの寸法の測定結果
を記憶する手段と、ワークに干渉しないように測定器を
アプローチする軌跡を作成する手段と、NCプログラム
上の測定命令記号を解釈して測定命令として出力する手
段と、この測定命令を選択的に除去する手段とを具備す
ることを特徴とする数値制御装置。
1. A means for adding a measurement command symbol to a machining NC program, a means for sequentially calculating coordinate values of each axis from a moving amount on the NC program, and a means for storing a measurement result of a dimension of a work. A means for creating a trajectory for approaching the measuring device so as not to interfere with the work, a means for interpreting a measuring instruction symbol on the NC program and outputting as a measuring instruction, and a means for selectively removing this measuring instruction. A numerical control device characterized by:
JP24928791A 1991-09-27 1991-09-27 Numerically controlled device Withdrawn JPH0592349A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP24928791A JPH0592349A (en) 1991-09-27 1991-09-27 Numerically controlled device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP24928791A JPH0592349A (en) 1991-09-27 1991-09-27 Numerically controlled device

Publications (1)

Publication Number Publication Date
JPH0592349A true JPH0592349A (en) 1993-04-16

Family

ID=17190728

Family Applications (1)

Application Number Title Priority Date Filing Date
JP24928791A Withdrawn JPH0592349A (en) 1991-09-27 1991-09-27 Numerically controlled device

Country Status (1)

Country Link
JP (1) JPH0592349A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2001002914A1 (en) * 1999-07-05 2001-01-11 Mitutoyo Corporation Method for writing nc program and nc machining system
JP2011096276A (en) * 2003-02-13 2011-05-12 Renishaw Plc Method for controlling machine tool and device therefor
JP2011100210A (en) * 2009-11-04 2011-05-19 Fanuc Ltd Numerical controller for controlling machine tool having measuring device
JP2016173788A (en) * 2015-03-18 2016-09-29 ファナック株式会社 Numerical control device for inspecting screw hole

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2001002914A1 (en) * 1999-07-05 2001-01-11 Mitutoyo Corporation Method for writing nc program and nc machining system
US6671571B1 (en) 1999-07-05 2003-12-30 Mitutoyo Corporation Method for NC- programming and system for NC- machining
JP2011096276A (en) * 2003-02-13 2011-05-12 Renishaw Plc Method for controlling machine tool and device therefor
US9235205B2 (en) 2003-02-13 2016-01-12 Renishaw Plc Method for producing a measurement probe path on a numerically controlled machine tool
JP2011100210A (en) * 2009-11-04 2011-05-19 Fanuc Ltd Numerical controller for controlling machine tool having measuring device
JP2016173788A (en) * 2015-03-18 2016-09-29 ファナック株式会社 Numerical control device for inspecting screw hole
US10061291B2 (en) 2015-03-18 2018-08-28 Fanuc Corporation Numerical control device inspecting screw holes

Similar Documents

Publication Publication Date Title
KR850000328B1 (en) Numerical control method
EP1195665B1 (en) Apparatus and method for setting control parameters of machining apparatus
WO1989006174A1 (en) Laser device for three-dimensional machining
US20190079488A1 (en) Machining time prediction device, cutting system, and machining time prediction method
US20080201010A1 (en) Punch machining program generating device, recording medium storing a program for generating a punch machining program, and wire-cut electric discharge machine
JPH03178731A (en) Electric discharge machining equipment
JPH0592349A (en) Numerically controlled device
EP0107794A1 (en) Numerical control system
KR20190068858A (en) Tool path changing device of cycle processing of machine tool and method thereof
JPH0659717A (en) Nc device having tool locus data plotting function and plotting method thereof
JPH08263116A (en) Interference checking method for nc lathe
KR0132901B1 (en) Numerical control apparatus
JPS6211728B2 (en)
JP3405797B2 (en) Laser output control system
JPH04307605A (en) Numerical controller
JPH0563749U (en) Numerical control device with processing time calculation function
JPH05309546A (en) Method and apparatus for calculating machining time of numerically controlled machine tool
JP2000284820A (en) Shape engraving electric discharge machine and method for creating nc program for shape engraving electric discharge machine
JP2898994B2 (en) Playback type NC machine tool
JP2780446B2 (en) Electric discharge machine
JP2514808B2 (en) Moving point setting device for machine tools
JPH08150540A (en) Interference preventing device for machine tool
JPH09117827A (en) Diesinking electric discharge machine controller and contouring work of diesinking electric discharge machine
JPH08206940A (en) Numerical control device
JP2985988B2 (en) Numerical control information creation device

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 19981203