JPH06119025A - Numerical controller - Google Patents

Numerical controller

Info

Publication number
JPH06119025A
JPH06119025A JP4271324A JP27132492A JPH06119025A JP H06119025 A JPH06119025 A JP H06119025A JP 4271324 A JP4271324 A JP 4271324A JP 27132492 A JP27132492 A JP 27132492A JP H06119025 A JPH06119025 A JP H06119025A
Authority
JP
Japan
Prior art keywords
tool
distance
storage means
current position
present position
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
JP4271324A
Other languages
Japanese (ja)
Other versions
JP3075861B2 (en
Inventor
Maki Seki
真樹 関
Masako Sudo
雅子 須藤
Shuji Matsuura
周二 松浦
Koji Yamamuro
幸二 山室
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.)
Fanuc Corp
Original Assignee
Fanuc Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fanuc Corp filed Critical Fanuc Corp
Priority to JP04271324A priority Critical patent/JP3075861B2/en
Priority to PCT/JP1993/001414 priority patent/WO1994009418A1/en
Priority to EP93921104A priority patent/EP0624833B1/en
Priority to DE69315682T priority patent/DE69315682T2/en
Priority to KR1019940701924A priority patent/KR0145347B1/en
Publication of JPH06119025A publication Critical patent/JPH06119025A/en
Priority to US08/685,801 priority patent/US5920170A/en
Application granted granted Critical
Publication of JP3075861B2 publication Critical patent/JP3075861B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

PURPOSE:To obtain distance between the present position of a tool and a designated form so as to display it for easily working a trial piece through the use of a general-purpose machine tool. CONSTITUTION:A graphic storage means 1 stores the designated forms of an obliquely straight line and an arc, which are inputted by operating a keyboard 17 by an operator, in accordance with guidance information displayed in the display device 16 through a graphic control circuit 15. A present position storage means 2 updates and stores the present position of the tool in accordance with a pulse signal HP when the pulse signal HP from a shift command means is detected by permitting the operator to execute an operation. When reset signals for respective are detected from the axis command means, the present position of the tool for the axis is initialized to '0'. A distance calculation means 3 calculates distance between the designated form stored in the graphic storage means 1 with the present position of the tool stored in the present position storage means 2, and it is displayed on the display device 16 through the graphic control circuit 15.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は工作機械を制御する数値
制御装置に関し、特に試作品等を加工するための工作機
械を制御するための数値制御装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a numerical control device for controlling a machine tool, and more particularly to a numerical control device for controlling a machine tool for machining a prototype or the like.

【0002】[0002]

【従来の技術】数値制御工作機械の技術的な進展は目覚
ましく、複雑な形状のワークを高速で、精度良く加工で
きる。また、現在では複雑な形状のワークは数値制御工
作機械なくしては加工できない。
2. Description of the Related Art The technological progress of numerically controlled machine tools is remarkable, and it is possible to machine workpieces with complicated shapes at high speed and with high precision. Further, at present, a workpiece having a complicated shape cannot be processed without a numerically controlled machine tool.

【0003】また、加工のための加工プログラムを作成
するために、数値制御装置に対話形プログラム作成機能
を付加した対話形数値制御装置や、複雑な加工プログラ
ムを簡単に作成するための、自動プログラミング装置等
が広く使用されている。
Further, in order to create a machining program for machining, an interactive numerical control device in which an interactive program creating function is added to a numerical control device, and automatic programming for easily creating a complicated machining program Devices are widely used.

【0004】勿論、これらの数値制御装置を使用するに
は、機械座標、機械原点、プログラム座標、加工原点等
を正確に定義して、厳密な加工プログラムを作成する必
要がある。そして、多数のワークを加工する場合はこれ
らの対話形数値制御装置、自動プログラミング装置を使
用できるが、試作品あるいは型を作成するための一部加
工では、ワークの着脱、工具の取り付け及び加工プログ
ラムの作成等の段取りに要する時間が少ない汎用のフラ
イス盤、汎用の旋盤等が使用されている。
Of course, in order to use these numerical control devices, it is necessary to precisely define machine coordinates, machine origins, program coordinates, machining origins, etc., and create a rigorous machining program. Then, when machining a large number of workpieces, these interactive numerical control devices and automatic programming devices can be used, but in some machining to create prototypes or molds, work attachment / detachment, tool attachment and machining programs General-purpose milling machines, general-purpose lathes, etc. are used which require less time for setup such as making.

【0005】ところが、これらの汎用の工作機械を使用
できるオペレータは、数が少なくなりつつある。また、
直線加工等は問題ないが、斜め直線加工、円弧加工等に
なるとこれらの汎用の工作機械では加工が困難である。
However, the number of operators who can use these general-purpose machine tools is decreasing. Also,
Straight line machining is not a problem, but diagonal straight line machining, arc machining, etc. are difficult to machine with these general-purpose machine tools.

【0006】逆に、一般の数値制御工作機械を使用する
と、機械座標、機械原点、プログラム座標、加工原点等
を正確に定義する必要があり、それは不可能ではない
が、1個だけのワークの一部を加工するにはあまりにも
プログラミングの手間が大きい。
On the contrary, if a general numerical control machine tool is used, it is necessary to accurately define the machine coordinates, machine origin, program coordinates, machining origin, etc. It takes too much programming to process a part.

【0007】こうした問題を解決するために、本出願人
は汎用の工作機械を使用して、試作品等の簡単な加工を
行うことができる数値制御装置を特願平4−23183
6号として出願している。
In order to solve such a problem, the applicant of the present invention has proposed a numerical control device capable of performing a simple machining of a prototype or the like by using a general-purpose machine tool in Japanese Patent Application No. 4-23183.
I am applying for No. 6.

【0008】[0008]

【発明が解決しようとする課題】しかし、試作品等の簡
単な加工を行う場合、一般に手動パルス発生器やジョグ
送り釦を操作して、加工過程を順に確認しながら加工を
行う際に、定義した斜め直線や円弧等の指定形状と工具
の現在位置との距離が分からなかった。このため、手動
パルス発生器やジョグ送り釦を操作して指定形状まで工
具をアプローチさせるのが困難であった。
However, in the case of simple machining of a prototype or the like, in general, when the machining is performed while operating the manual pulse generator or the jog feed button to confirm the machining process in order, The distance between the specified shape such as a diagonal straight line or arc and the current position of the tool was unknown. Therefore, it is difficult to approach the tool to the designated shape by operating the manual pulse generator or the jog feed button.

【0009】本発明はこのような点に鑑みてなされたも
のであり、汎用の工作機械を使用して、試作品等の簡単
な加工を容易に行うために、指定形状と工具の現在位置
との距離が分かる数値制御装置を、提供することを目的
とする。
The present invention has been made in view of the above point, and in order to easily perform a simple machining of a prototype or the like by using a general-purpose machine tool, a designated shape and a current position of the tool are set. It is an object of the present invention to provide a numerical control device that can know the distance of.

【0010】[0010]

【課題を解決するための手段】本発明では上記課題を解
決するために、少なくとも2軸以上の工作機械を制御す
る数値制御装置において、ガイダンス情報により対話的
に入力された斜め直線及び円弧等の指定形状を記憶する
図形記憶手段と、工具の移動を指令するパルス信号を出
力する移動指令手段と、前記パルス信号を受けて、工具
の現在位置を記憶する現在位置記憶手段と、前記工具の
現在位置と前記指定形状との間の距離を計算して表示装
置に表示する距離演算手段と、を有することを特徴とす
る数値制御装置が提供される。
In order to solve the above problems, the present invention provides a numerical controller for controlling a machine tool having at least two axes, such as a diagonal straight line and a circular arc interactively input by guidance information. A graphic storage means for storing the designated shape, a movement command means for outputting a pulse signal for instructing the movement of the tool, a current position storage means for receiving the pulse signal and storing the current position of the tool, and a current position of the tool. There is provided a numerical control device comprising: a distance calculation means for calculating a distance between a position and the designated shape and displaying the distance on a display device.

【0011】[0011]

【作用】図形記憶手段はガイダンス情報により対話的に
入力された斜め直線及び円弧等の指定形状を記憶する。
移動指令手段は工具の移動を指令するパルス信号を出力
する。現在位置記憶手段は移動指令手段からのパルス信
号を受けて、工具の現在位置を記憶する。そして、距離
演算手段は工具の現在位置と斜め直線及び円弧等の指定
形状との間の距離を計算して表示装置に表示する。
The graphic storage means stores the specified shapes such as the diagonal straight line and the arc which are interactively input by the guidance information.
The movement command means outputs a pulse signal that commands the movement of the tool. The current position storage means receives the pulse signal from the movement command means and stores the current position of the tool. Then, the distance calculation means calculates the distance between the current position of the tool and the specified shape such as an oblique straight line and a circular arc and displays it on the display device.

【0012】これによって、試作品等の一部の簡単な加
工を容易に行うために、指定形状と工具の現在位置との
距離が分かる。
Thus, the distance between the designated shape and the current position of the tool can be known in order to easily perform a simple machining of a part such as a prototype.

【0013】[0013]

【実施例】以下、本発明の一実施例を図面に基づいて説
明する。図1は本発明の数値制御装置の概要を示す図で
ある。なお、移動指令手段は工具の移動を指令するパル
ス信号を出力する手段であって、機械操作盤40及び手
動パルス発生器41に相当する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described below with reference to the drawings. FIG. 1 is a diagram showing an outline of a numerical controller according to the present invention. The movement instructing means is means for outputting a pulse signal instructing the movement of the tool, and corresponds to the machine operation panel 40 and the manual pulse generator 41.

【0014】グラフィック制御回路15を介して表示装
置16に表示されたガイダンス情報に従って、オペレー
タがキーボード17を操作して斜め直線及び円弧等の指
定形状を入力する。こうして対話的に入力された上記指
定形状を図形記憶手段1が記憶する。
According to the guidance information displayed on the display device 16 via the graphic control circuit 15, the operator operates the keyboard 17 to input a designated shape such as an oblique straight line and a circular arc. The graphic storage means 1 stores the specified shape thus interactively input.

【0015】現在位置記憶手段2は、オペレータが操作
することによって移動指令手段からのパルス信号HPを
検知すると、このパルス信号HPに応じて工具の現在位
置を更新し、記憶する。なお、パルス信号HPは軸ごと
に入力される。また、移動指令手段から軸ごとのリセッ
ト信号RSTを検知した場合には、その軸の工具の現在
位置を「0」に初期化する。
When the operator operates the current position storage means 2 to detect the pulse signal HP from the movement command means, the current position storage means 2 updates and stores the current position of the tool in accordance with the pulse signal HP. The pulse signal HP is input for each axis. When the reset signal RST for each axis is detected from the movement command means, the current position of the tool on that axis is initialized to "0".

【0016】距離演算手段3は、図形記憶手段1に記憶
された指定形状と、現在位置記憶手段2に記憶された工
具の現在位置との距離を算出する。また、算出された結
果はグラフィック制御回路15を介して表示装置16に
表示される。
The distance calculation means 3 calculates the distance between the specified shape stored in the graphic storage means 1 and the current position of the tool stored in the current position storage means 2. Further, the calculated result is displayed on the display device 16 via the graphic control circuit 15.

【0017】なお、上記図形記憶手段1、現在位置記憶
手段2及び距離演算手段3は、後述するようにソフトウ
ェアによって実行される。図2は本発明の数値制御装置
のハードウェアの構成を示すブロック図である。
The graphic storage means 1, the current position storage means 2 and the distance calculation means 3 are executed by software as described later. FIG. 2 is a block diagram showing the hardware configuration of the numerical controller according to the present invention.

【0018】プロセッサ11はROM12に格納された
システムプログラムに従って数値制御装置全体を制御す
る。図1の図形記憶手段1、現在位置記憶手段2及び距
離演算手段3は、プロセッサ11がROM12のシステ
ムプログラムによって実行するソフトウェアによる機能
である。このROM12にはEPROMあるいはEEP
ROMが使用される。RAM13にはSRAM等が使用
され、入出力信号等の一時的なデータが格納される。不
揮発性メモリ14には図示されていないバッテリによっ
てバックアップされたCMOSが使用される。また、不
揮発性メモリ14には電源切断後も保持すべきパラメー
タ、加工プログラム等の各種データ等が格納される。
The processor 11 controls the entire numerical controller according to the system program stored in the ROM 12. The figure storage means 1, the current position storage means 2 and the distance calculation means 3 in FIG. 1 are functions of software executed by the processor 11 by the system program of the ROM 12. This ROM 12 is EPROM or EEP
ROM is used. An SRAM or the like is used as the RAM 13, and temporary data such as input / output signals is stored therein. For the non-volatile memory 14, a CMOS backed up by a battery (not shown) is used. The nonvolatile memory 14 also stores various data such as parameters and machining programs that should be retained even after the power is turned off.

【0019】グラフィック制御回路15はガイダンス情
報や入力された指定形状等を表示用可能な信号に変換
し、表示装置16に与える。表示装置16にはCRTあ
るいは液晶表示装置が使用される。軸制御回路18(3
軸分)はプロセッサ11からの補間パルスCPを含む軸
の移動指令を受けて、軸の移動指令をサーボアンプ19
(3軸分)に出力制御する。サーボアンプ19はこの移
動指令を受けて、工作機械20の図示されていないサー
ボモータを駆動する。なお、工作機械20はこのサーボ
モータの他に、移動指令を行うために操作する機械操作
盤40を備えており、これは後述する。これらの構成要
素はバス30によって互いに結合されている。
The graphic control circuit 15 converts the guidance information, the input designated shape and the like into a displayable signal and gives it to the display device 16. A CRT or a liquid crystal display device is used as the display device 16. Axis control circuit 18 (3
(For the axis) receives a movement command of the axis including the interpolation pulse CP from the processor 11, and transmits the movement command of the axis to the servo amplifier 19
The output is controlled (for 3 axes). The servo amplifier 19 receives this movement command and drives a servo motor (not shown) of the machine tool 20. In addition to the servomotor, the machine tool 20 includes a machine operation panel 40 that is operated to issue a movement command, which will be described later. These components are coupled to each other by a bus 30.

【0020】PMC(プログラマブル・マシン・コント
ローラ)22は加工プログラムの実行時に、バス30経
由でT機能信号(工具選択指令)等を受け取る。そし
て、この信号をシーケンス・プログラムで処理して、動
作指令として信号を出力し、工作機械20を制御する。
また、対話形数値制御装置では工作機械20から状態信
号を受けて、シーケンス処理を行い、バス30を経由し
てプロセッサ11に必要な入力信号を転送する。
A PMC (Programmable Machine Controller) 22 receives a T function signal (tool selection command) or the like via the bus 30 when executing a machining program. Then, this signal is processed by the sequence program, a signal is output as an operation command, and the machine tool 20 is controlled.
Further, the interactive numerical control device receives a status signal from the machine tool 20, performs a sequence process, and transfers a necessary input signal to the processor 11 via the bus 30.

【0021】なお、バス30には更に、システムプログ
ラム等によって機能が変化するソフトウェアキー23が
接続されている。このソフトウェアキー23は、上記表
示装置16、キーボード17とともに、CRT/MDI
パネル25に設けられる。
The bus 30 is further connected with a software key 23 whose function is changed by a system program or the like. This software key 23 is used together with the display device 16 and the keyboard 17 in the CRT / MDI.
It is provided on the panel 25.

【0022】図3は、工作機械20に備えられた機械操
作盤40の一例を示す図である。図に示す機械操作盤4
0には、手動パルス発生器41、選択スイッチ41b、
ジョグ送り釦42、設定スイッチ42a及び切換スイッ
チ43が設けられている。
FIG. 3 is a view showing an example of the machine operation panel 40 provided in the machine tool 20. Machine control panel 4 shown
0 is a manual pulse generator 41, a selection switch 41b,
A jog feed button 42, a setting switch 42a, and a changeover switch 43 are provided.

【0023】手動パルス発生器41はハンドル41aを
左又は右に回転させると、その回転に応じてパルス信号
を発生させる。このパルス信号は回転方向を判別するた
めの二相のパルスであって、バス30を介してプロセッ
サ11に送られ、工具を移動させる。選択スイッチ41
bは手動パルス発生器41において発生させるパルス信
号が、X軸方向(X)、Y軸方向(Y)、Z軸方向
(Z)及び指定形状に対応した方向(G)のうち、いず
れの方向のパルス信号かを選択するためのスイッチであ
る。
When the handle 41a is rotated left or right, the manual pulse generator 41 generates a pulse signal according to the rotation. This pulse signal is a two-phase pulse for determining the rotation direction and is sent to the processor 11 via the bus 30 to move the tool. Selection switch 41
b indicates which direction the pulse signal generated by the manual pulse generator 41 is, the X-axis direction (X), the Y-axis direction (Y), the Z-axis direction (Z), or the direction (G) corresponding to the designated shape. This is a switch for selecting whether or not the pulse signal.

【0024】ジョグ送り釦42には「+X」,「−
X」,「+Y」,「−Y」,「+Z」,「−Z」の各軸
についてプラス及びマイナス方向の送り釦と、「+G
J」,「−GJ」の指定形状に対応してプラス及びマイ
ナス方向の送り釦との、全部で8つの釦が設けられてい
る。
The jog feed button 42 has "+ X", "-"
"+ G", "+ Y", "-Y", "+ Z", and "-Z" axis feed buttons in the plus and minus directions and "+ G"
Eight buttons in total, which are plus and minus feed buttons, are provided corresponding to the designated shapes of "J" and "-GJ".

【0025】設定スイッチ42aは、ジョグ送り釦42
をオペレータが押した際に発生する一定時間内のパルス
数を設定する。具体的には、設定スイッチ42aは図示
されていない水晶発振器からのパルスを分周したパルス
を入力して、オペレータによって設定された目盛りに応
じた分周比でパルスを出力する。
The setting switch 42a is a jog feed button 42.
Sets the number of pulses generated within a certain period of time when the operator presses. Specifically, the setting switch 42a inputs a pulse obtained by dividing a pulse from a crystal oscillator (not shown), and outputs the pulse at a division ratio according to the scale set by the operator.

【0026】切換スイッチ43は、工具の現在位置と前
記指定形状との距離を保持しつつ移動する並行移動
(H)又は工具の現在位置から前記指定形状への法線線
分で示される方向の前後へ移動する垂直移動(V)を切
り換え、切り換えた側に応じた切換信号を出力する。
The changeover switch 43 moves in parallel (H), which moves while maintaining the distance between the current position of the tool and the specified shape, or in the direction indicated by a normal line segment from the current position of the tool to the specified shape. The vertical movement (V) for moving back and forth is switched, and a switching signal according to the switched side is output.

【0027】したがって、オペレータは、手動で工具を
移動させる場合には、まず選択スイッチ41b及び切換
スイッチ43を所望の移動方向になるように設定した
後、ハンドル41aを回転させることによって行える。
また、ジョグ送りで工具を移動させる場合には、設定ス
イッチ42aで送り速度を設定した後、ジョグ送り釦4
2のうち所望の移動方向の釦を押すことによって行え
る。
Therefore, the operator can manually move the tool by setting the selection switch 41b and the changeover switch 43 to the desired movement direction and then rotating the handle 41a.
When the tool is moved by jog feed, after setting the feed speed with the setting switch 42a, the jog feed button 4
It can be performed by pressing the button in the desired movement direction out of the two.

【0028】次に、上記機械操作盤40において、ハン
ドル41aを回転させた場合と、又はジョグ送り釦42
のうち指定形状に対応してプラス及びマイナス方向の送
り釦である「+GJ」,「−GJ」を押した場合の、指
定形状と工具の現在位置との距離について図4及び図5
を用いて説明する。なお、ハンドル41aを回転させた
場合とジョグ送り釦42を押した場合とでは同一の動作
をするので、ここではハンドル41aを回転させた場合
について説明する。
Next, in the machine operation panel 40, when the handle 41a is rotated, or when the jog feed button 42 is used.
4 and 5 about the distance between the specified shape and the current position of the tool when "+ GJ" and "-GJ", which are the feed buttons in the plus and minus directions corresponding to the specified shape, are pressed.
Will be explained. Since the same operation is performed when the handle 41a is rotated and when the jog feed button 42 is pressed, the case where the handle 41a is rotated will be described here.

【0029】図4は工具と指定形状との間の距離を示す
図である。また、図5は法線方向距離を表示する表示画
面の一例を示す図である。図4において、XY座標軸平
面上には、指定形状として斜め直線100が定義されて
いる。この斜め直線100は、図1に示す図形記憶手段
1によって入力され、記憶された図形(指定形状)であ
る。また、工具110は現在その中心が点P1、すなわ
ち(X,Y)=(80,25)にある。
FIG. 4 is a diagram showing the distance between the tool and the specified shape. Further, FIG. 5 is a diagram showing an example of a display screen for displaying the distance in the normal direction. In FIG. 4, an oblique straight line 100 is defined as a designated shape on the XY coordinate axis plane. The diagonal straight line 100 is a graphic (designated shape) input and stored by the graphic storage means 1 shown in FIG. Further, the center of the tool 110 is currently at the point P1, that is, (X, Y) = (80,25).

【0030】まず、図3の選択スイッチ41bを指定形
状に対応した方向(G)に、かつ、切換スイッチ43を
「V(垂直移動)」側に設定する。そして、ハンドル4
1aを左側へ回転させると、工具はその回転角に応じて
斜め直線100に対して法線方向に方向110aへ移動
する。また、選択スイッチ41bをX軸方向(X)に設
定してハンドル41aを左側へ回転させると、工具はそ
の回転角に応じてX軸と平行な方向110bへ移動す
る。
First, the selection switch 41b of FIG. 3 is set in the direction (G) corresponding to the designated shape, and the changeover switch 43 is set to the "V (vertical movement)" side. And handle 4
When 1a is rotated to the left, the tool moves in the direction 110a in the direction normal to the oblique straight line 100 according to the rotation angle. When the selection switch 41b is set in the X-axis direction (X) and the handle 41a is rotated leftward, the tool moves in the direction 110b parallel to the X-axis according to the rotation angle.

【0031】図5において、表示画面16aは図2の表
示装置16に表示される画面である。この表示画面16
aは、図4の工具110が点P1にある場合に表示され
る画面であって、工具の現在位置と記憶された指定形状
とが表示されている。
In FIG. 5, a display screen 16a is a screen displayed on the display device 16 of FIG. This display screen 16
4A is a screen displayed when the tool 110 in FIG. 4 is located at the point P1, in which the current position of the tool and the stored designated shape are displayed.

【0032】表示画面16aの画面左上部には工具の現
在位置、すなわち点P1の工具の中心位置がX軸
(X)、Y軸(Y)及びZ軸(Z)の軸ごとの位置が表
示される。同様に、画面右上部に工具と指定形状との間
の距離(D)及び工具径(φ)が表示されている。この
画面右上部に工具と指定形状との間の距離(D)には、
点P1と斜め直線100との間の距離である距離D1の
値が表示される。
At the upper left portion of the display screen 16a, the current position of the tool, that is, the center position of the tool at the point P1 is displayed for each of the X axis (X), Y axis (Y) and Z axis (Z) axes. To be done. Similarly, the distance (D) between the tool and the designated shape and the tool diameter (φ) are displayed in the upper right part of the screen. The distance (D) between the tool and the specified shape is displayed in the upper right part of this screen.
The value of the distance D1 which is the distance between the point P1 and the diagonal straight line 100 is displayed.

【0033】また、表示画面16aの画面左下部には、
図4に示される斜め直線100の定義情報が始点(X
1,Y1)、終点(X2,Y2)、角度(A)及び工具
径(φ)の値が表示される。同様に、画面右下部には指
定形状を視覚的に判別するために、斜め直線がグラフィ
ックで定義情報とともに描画されている。
Further, in the lower left part of the screen of the display screen 16a,
The definition information of the diagonal straight line 100 shown in FIG.
1, Y1), end point (X2, Y2), angle (A) and tool diameter (φ) are displayed. Similarly, an oblique straight line is graphically drawn together with the definition information in the lower right part of the screen in order to visually distinguish the designated shape.

【0034】ここで、図4の工具110にある工具を方
向110aの方向へ移動させ、工具の中心を点P2、す
なわち(X,Y)=(65,45)まで移動させると、
点P2と斜め直線100との間の距離は距離D2にな
る。このとき、表示画面16aの画面右上部表示される
指定形状との間の距離(D)が変化し、「11.00
0」になる。
Here, when the tool in the tool 110 in FIG. 4 is moved in the direction 110a and the center of the tool is moved to a point P2, that is, (X, Y) = (65, 45),
The distance between the point P2 and the diagonal straight line 100 is the distance D2. At this time, the distance (D) between the designated shape displayed in the upper right part of the display screen 16a changes, and "11.00" is displayed.
It becomes "0".

【0035】同様に、工具110にある工具を方向11
0bの方向へ移動させ、工具の中心を点P3、すなわち
(X,Y)=(45,25)まで移動させると、点P3
と斜め直線100との間の距離は距離D3になる。この
とき、表示画面16aの画面右上部表示される指定形状
との間の距離(D)が変化し、「13.000」にな
る。
Similarly, the tool on the tool 110 is directed 11
When the tool is moved in the direction of 0b and the center of the tool is moved to a point P3, that is, (X, Y) = (45,25), a point P3 is obtained.
And the diagonal line 100 is the distance D3. At this time, the distance (D) between the designated shape displayed in the upper right part of the display screen 16a changes and becomes "13.000".

【0036】このように、オペレータが機械操作盤40
を操作して工具を移動させると、その工具の移動に応じ
て指定形状との間の距離(D)が変化しつつ表示され
る。したがって、試作品等の一部の簡単な加工を容易に
行うために、指定形状と工具の現在位置との距離が分か
る。
As described above, the operator operates the machine operation panel 40.
When the tool is moved by operating, the distance (D) between the tool and the designated shape is changed and displayed according to the movement of the tool. Therefore, the distance between the designated shape and the current position of the tool can be known in order to easily perform a part of simple processing such as a prototype.

【0037】次に、本発明の処理手順について述べる。
図6は本発明の処理手順を示すフローチャートである。
このフローチャートは図1に示す図形記憶手段1、現在
位置記憶手段2及び距離演算手段3が行う処理手順を示
す。なお、ステップS1を図形記憶手段1が実行し、ス
テップS2を現在位置記憶手段2が実行し、他のステッ
プは距離演算手段3が実行する。図において、Sの後に
続く数字はステップ番号を示す。 〔S1〕入力図形の記憶を行う。具体的には、表示装置
16に表示されたガイダンス情報に従って、対話的にキ
ーボード17を操作してオペレータから入力された斜め
直線及び円弧等の指定形状を記憶する。 〔S2〕パルスを入力する。すなわち、図1の手動パル
ス発生器41等の移動指令手段からのパルス信号HP及
びリセット信号RSTを検知する。また、パルス信号H
P及びリセット信号RSTに応じて工具の現在位置を更
新する。 〔S3〕距離の演算を行う。具体的には、ステップS1
で記憶された指定形状と、ステップS2で更新された
(又は「0」に初期化された)工具の現在位置との間の
距離を算出する。算出方法は従来から数学的に求められ
る点と直線又は円弧との距離を算出する方法と同じであ
るので説明を省略する。 〔S4〕距離の表示を行う。具体的には、グラフィック
制御回路15を介して表示装置16に、図5に示すよう
な表示画面16aで表示する。 〔S5〕終了指令が入力されたか否かを判別する。具体
的には、上記移動指令手段又はキーボード17から終了
指令が入力されたか否かを判別する。もし、終了指令が
入力された(YES)ならば本処理手順を終了し、終了
指令が入力されない(NO)ならばステップS2に戻
る。
Next, the processing procedure of the present invention will be described.
FIG. 6 is a flowchart showing the processing procedure of the present invention.
This flowchart shows a processing procedure performed by the graphic storage means 1, the current position storage means 2 and the distance calculation means 3 shown in FIG. The figure storage means 1 executes step S1, the current position storage means 2 executes step S2, and the distance calculation means 3 executes other steps. In the figure, the number following S indicates a step number. [S1] The input figure is stored. Specifically, according to the guidance information displayed on the display device 16, the keyboard 17 is interactively operated to store a specified shape such as an oblique straight line and an arc input by the operator. [S2] A pulse is input. That is, the pulse signal HP and the reset signal RST from the movement command means such as the manual pulse generator 41 of FIG. 1 are detected. Also, the pulse signal H
The current position of the tool is updated according to P and the reset signal RST. [S3] The distance is calculated. Specifically, step S1
The distance between the designated shape stored in step S1 and the current position of the tool updated in step S2 (or initialized to "0") is calculated. The calculation method is the same as the method for calculating the distance between a mathematically obtained point and a straight line or a circular arc in the related art, and a description thereof will be omitted. [S4] The distance is displayed. Specifically, the display screen 16a as shown in FIG. 5 is displayed on the display device 16 via the graphic control circuit 15. [S5] It is determined whether or not an end command is input. Specifically, it is determined whether or not an end instruction has been input from the movement instruction means or the keyboard 17. If the end command is input (YES), this processing procedure is ended, and if the end command is not input (NO), the process returns to step S2.

【0038】このようにして、オペレータがガイダンス
情報により指定形状を入力した後、機械操作盤40を操
作すれば指定形状と工具の現在位置との距離が分かるた
め、試作品の一部の加工等を簡単に実現することができ
る。
In this way, after the operator inputs the specified shape by the guidance information and operates the machine operation panel 40, the distance between the specified shape and the current position of the tool can be known. Can be easily realized.

【0039】なお、上記の説明ではフライス盤を想定し
て説明したが、旋盤等でも同様に適用することができ
る。また、このようなガイダンス機能は、通常の数値制
御装置に組み込むことができるし、特別安価な数値制御
装置として構成することもできる。
In the above description, the milling machine is assumed, but the same can be applied to a lathe or the like. Further, such a guidance function can be incorporated in a normal numerical control device, or can be configured as a special inexpensive numerical control device.

【0040】[0040]

【発明の効果】以上説明したように本発明では、図形記
憶手段が指定形状を記憶し、現在位置記憶手段が移動指
令手段からのパルス信号を受けて工具の現在位置を記憶
し、距離演算手段が工具の現在位置と指定形状との間の
距離を計算して表示装置に表示するので、指定形状と工
具の現在位置との距離が分かり、試作品等の一部の簡単
な加工が容易になる。
As described above, in the present invention, the figure storage means stores the designated shape, the current position storage means receives the pulse signal from the movement command means and stores the current position of the tool, and the distance calculation means. Calculates the distance between the tool's current position and the specified shape and displays it on the display device, so the distance between the specified shape and the tool's current position can be known, making it easy to perform some simple machining such as prototypes. Become.

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

【図1】本発明の数値制御装置の概要を示す図である。FIG. 1 is a diagram showing an outline of a numerical controller according to the present invention.

【図2】本発明の数値制御装置のハードウェアの構成を
示すブロック図である。
FIG. 2 is a block diagram showing a hardware configuration of a numerical controller according to the present invention.

【図3】機械操作盤の一例を示す図である。FIG. 3 is a diagram showing an example of a machine control panel.

【図4】工具と指定形状との間の距離を示す図である。FIG. 4 is a diagram showing a distance between a tool and a designated shape.

【図5】法線方向距離を表示する表示画面の一例を示す
図である。
FIG. 5 is a diagram showing an example of a display screen displaying a normal direction distance.

【図6】本発明の処理手順を示す図である。FIG. 6 is a diagram showing a processing procedure of the present invention.

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

1 図形記憶手段 2 現在位置記憶手段 3 距離演算手段 15 グラフィック制御回路 16 表示装置 17 キーボード 20 工作機械 40 機械操作盤 41 手動パルス発生器 DESCRIPTION OF SYMBOLS 1 Graphic storage means 2 Current position storage means 3 Distance calculation means 15 Graphic control circuit 16 Display device 17 Keyboard 20 Machine tool 40 Machine operation panel 41 Manual pulse generator

───────────────────────────────────────────────────── フロントページの続き (51)Int.Cl.5 識別記号 庁内整理番号 FI 技術表示箇所 G05B 19/405 M 9064−3H 19/415 S 9064−3H (72)発明者 松浦 周二 山梨県南都留郡忍野村忍草字古馬場3580番 地 ファナック株式会社内 (72)発明者 山室 幸二 山梨県南都留郡忍野村忍草字古馬場3580番 地 ファナック株式会社内─────────────────────────────────────────────────── ─── Continuation of the front page (51) Int.Cl. 5 Identification number Internal reference number FI Technical indication location G05B 19/405 M 9064-3H 19/415 S 9064-3H (72) Inventor Shuji Matsuura Minamitsuru Yamanashi Prefecture Oshino-mura, Gunma 3580 Kobaba, Fanab Co., Ltd. (72) Inventor, Koji Yamamuro 3580, Kobaba, Oshino-mura, Minamitsuru-gun, Yamanashi Prefecture Fanak Co., Ltd.

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 少なくとも2軸以上の工作機械を制御す
る数値制御装置において、 ガイダンス情報により対話的に入力された斜め直線及び
円弧等の指定形状を記憶する図形記憶手段と、 工具の移動を指令するパルス信号を出力する移動指令手
段と、 前記パルス信号を受けて、工具の現在位置を記憶する現
在位置記憶手段と、 前記工具の現在位置と前記指定形状との間の距離を計算
して表示装置に表示する距離演算手段と、 を有することを特徴とする数値制御装置。
1. A numerical control device for controlling a machine tool having at least two axes, a graphic storage means for storing a specified shape such as an oblique straight line and a circular arc interactively input by guidance information, and a command for moving a tool. Movement command means for outputting a pulse signal to perform, current position storage means for receiving the pulse signal and storing the current position of the tool, and calculating and displaying a distance between the current position of the tool and the specified shape A numerical control device comprising: a distance calculation unit that is displayed on the device.
【請求項2】 前記距離演算手段は、前記法線方向距離
を算出する際に工具径を補正する工具径補正手段を有す
ることを特徴とする請求項1記載の数値制御装置。
2. The numerical controller according to claim 1, wherein the distance calculation means has a tool diameter correction means for correcting a tool diameter when calculating the normal direction distance.
JP04271324A 1992-10-08 1992-10-09 Numerical control unit Expired - Fee Related JP3075861B2 (en)

Priority Applications (6)

Application Number Priority Date Filing Date Title
JP04271324A JP3075861B2 (en) 1992-10-09 1992-10-09 Numerical control unit
PCT/JP1993/001414 WO1994009418A1 (en) 1992-10-08 1993-10-01 Numerically controlled apparatus and numerical control method
EP93921104A EP0624833B1 (en) 1992-10-08 1993-10-01 Numerically controlled apparatus and numerical control method
DE69315682T DE69315682T2 (en) 1992-10-08 1993-10-01 NUMERICAL CONTROL DEVICE AND METHOD
KR1019940701924A KR0145347B1 (en) 1992-10-08 1993-10-01 Numerical control apparatus and numerical control method
US08/685,801 US5920170A (en) 1992-10-08 1996-07-24 Numerical control apparatus and numerical control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP04271324A JP3075861B2 (en) 1992-10-09 1992-10-09 Numerical control unit

Publications (2)

Publication Number Publication Date
JPH06119025A true JPH06119025A (en) 1994-04-28
JP3075861B2 JP3075861B2 (en) 2000-08-14

Family

ID=17498471

Family Applications (1)

Application Number Title Priority Date Filing Date
JP04271324A Expired - Fee Related JP3075861B2 (en) 1992-10-08 1992-10-09 Numerical control unit

Country Status (1)

Country Link
JP (1) JP3075861B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014503368A (en) * 2010-11-10 2014-02-13 インタラクティヴ マシーン システムズ プロプライエタリー リミテッド Support system for maneuvering machine tools
WO2021210411A1 (en) * 2020-04-13 2021-10-21 スター精密株式会社 Lathe

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014503368A (en) * 2010-11-10 2014-02-13 インタラクティヴ マシーン システムズ プロプライエタリー リミテッド Support system for maneuvering machine tools
WO2021210411A1 (en) * 2020-04-13 2021-10-21 スター精密株式会社 Lathe

Also Published As

Publication number Publication date
JP3075861B2 (en) 2000-08-14

Similar Documents

Publication Publication Date Title
EP0640900B1 (en) Apparatus and method for numeral control
US5453674A (en) Numerical control apparatus
US5808434A (en) Numerical control apparatus
US5920170A (en) Numerical control apparatus and numerical control method
WO1990012348A1 (en) Method of plotting nc program
JP3075861B2 (en) Numerical control unit
JP3491913B2 (en) Numerical control unit
JP3040263B2 (en) Numerical control device and numerical control method
EP0624833B1 (en) Numerically controlled apparatus and numerical control method
JP3263146B2 (en) Numerical control unit
KR100481032B1 (en) Setting system of the origin co-ordinates and setting method of the origin machine co-ordinates using the system
JPH06124111A (en) Numerical controller
JP2771701B2 (en) Interactive numerical controller
JP2963286B2 (en) Numerical control unit
JP2895685B2 (en) Numerical control unit
JPH06124107A (en) Numerical control system
US5583409A (en) Numerical control apparatus and method for controlling a machine
JPH0265946A (en) Teaching method for changing position of tool
JPH06119019A (en) Numerical controller
JPH06124108A (en) Numerical controller
JPH0264714A (en) Method for preparing nc data
JPH0264715A (en) Method for preparing nc data
JPH06119026A (en) Numerical controller
JPH03156506A (en) Nc program generating method for interactive numerical controller or automatic programming device
JPH0484203A (en) Generation method for work program

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20000516

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

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

Free format text: PAYMENT UNTIL: 20080609

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20090609

Year of fee payment: 9

LAPS Cancellation because of no payment of annual fees