JPH0228703A - Numeric controller - Google Patents

Numeric controller

Info

Publication number
JPH0228703A
JPH0228703A JP17843288A JP17843288A JPH0228703A JP H0228703 A JPH0228703 A JP H0228703A JP 17843288 A JP17843288 A JP 17843288A JP 17843288 A JP17843288 A JP 17843288A JP H0228703 A JPH0228703 A JP H0228703A
Authority
JP
Japan
Prior art keywords
tool
program
movement amount
axis
remaining
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.)
Pending
Application number
JP17843288A
Other languages
Japanese (ja)
Inventor
Masato Ochi
越智 正人
Masayoshi Uneme
采女 政義
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.)
DMG Mori Co Ltd
Original Assignee
Mori Seiki 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 Mori Seiki Co Ltd filed Critical Mori Seiki Co Ltd
Priority to JP17843288A priority Critical patent/JPH0228703A/en
Publication of JPH0228703A publication Critical patent/JPH0228703A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/30Nc systems
    • G05B2219/35Nc in input of data, input till input file format
    • G05B2219/35349Display part, programmed locus and tool path, traject, dynamic locus

Abstract

PURPOSE:To facilitate usage by visually displaying the present position of a tool. CONSTITUTION:The position detector 6 of an encoder and the like detects the moving quantity of at least one direction among the X-axis, Y-axis and Z-axis of the tool 3 installed on an NC machine tool 1. An NC program execution part 22 consisting of a micro processor integrates the detected shifting quantity of the tool 3 at every moment and operates the difference of the objective value of the tool to be shifted and the present position, namely, the residual shifting quantity of the tool. An NC data graphic signal conversion part 24 consisting of the micro processor, a video plotter and the like converts the objective value of the tool 3, a whole distance to be shifted, and the rate of the residual shifting quantity with respect to the whole distance into video signals. The converted video signals and the content of the program in the middle of execution are visually displayed on a display device 50 consisting of a CRT display device and the like by a graph and a character.

Description

【発明の詳細な説明】 [産業上の利用分野] この発明は数値制御装置に関するものである。[Detailed description of the invention] [Industrial application field] This invention relates to a numerical control device.

[従来の技術] 数値制御装置、例えはNC工作機械等においては、NC
プログラムにより自動運転される。一般にNCプログラ
ム作成においては熟練度を必要とし、しかも熟練したプ
ログラマが作成したプログラムであっても、ワークと工
具の干渉を未然に防止するために必す実際に動作テスト
を行ねなけれはならない。
[Prior art] Numerical control devices, for example NC machine tools, etc.
It is automatically operated by the program. Generally, creating an NC program requires skill, and even programs created by skilled programmers must undergo actual operation tests to prevent interference between the workpiece and the tool.

確実にしかも早くプログラミングする方法として、自動
プロゲラミンク装置の活用や、CRT画面上でグラフィ
ックシュミレーション可能な対話形自動プログラミング
機能付きNC装置(以下、対話形NC装置)が活用され
ている。旋盤などのような2次元的な動作を行うNC装
置においては、グラフィックシュミレーションによりほ
ぼ確実に動作チエツクが可能である。ところが、3次元
的な動作を主体とするマシニングセンタにおいては動作
が複雑であり、しかも使用する工具が多いことからグラ
フィックシュミレーションでは充分なチエツクが困難で
ある。また、工具とオフセット番号の対応を間違えたり
、オフセット量の設定を間違えるとワークと工具の干渉
を生じる。
As a reliable and quick programming method, an automatic progeramink device or an NC device with an interactive automatic programming function (hereinafter referred to as an interactive NC device) that can perform graphic simulation on a CRT screen is used. In an NC device that performs two-dimensional operations such as a lathe, it is possible to almost certainly check the operation using graphic simulation. However, in a machining center that mainly performs three-dimensional operations, the operations are complex and many tools are used, so it is difficult to perform a sufficient check using graphic simulation. Furthermore, if the correspondence between the tool and the offset number is incorrect or the offset amount is incorrectly set, interference between the workpiece and the tool will occur.

そこで、実機にてプログラムチエツクを行いやすくする
ため、例えば、特開昭60−14159号公報に記載さ
れたように、工具が目標位置に向かって接近しつつある
のかあるいは目標位置から遠ざかりつつあるのかをCR
T画面上に表示するもの、あるいは、特開昭61−22
0004号公報に記載されたようにCRT画面上を2分
割し、2分割された画面の一方に指令プログラムを表示
し、他方にオフセットデータ等を表示させるものなどが
提案されている。
Therefore, in order to make it easier to perform a program check on the actual machine, for example, as described in Japanese Patent Laid-Open No. 60-14159, it is necessary to check whether the tool is approaching the target position or moving away from the target position. CR
What is displayed on the T screen or JP-A-61-22
As described in Japanese Patent No. 0004, it has been proposed to divide the CRT screen into two, display a command program on one of the two divided screens, and display offset data, etc. on the other.

第10図に従来のNC工作機械のCRT表示装置を示す
。図において、CRT画面100は実行中のプログラム
の指令を表示するプログラム表示部52と、現在位置情
報として、工具の刃先位置を表示するワーク座標値や、
プログラム1ステツプ文の残り移動量を表示するNCデ
ータ表示部51とで構成されている。
FIG. 10 shows a CRT display device for a conventional NC machine tool. In the figure, a CRT screen 100 includes a program display section 52 that displays commands of the program being executed, workpiece coordinate values that display the position of the cutting edge of the tool as current position information,
It is composed of an NC data display section 51 that displays the remaining movement amount of one step statement of the program.

作業者はこの画面を見なから1ステツプずつプログラム
を進めて作業をチエツクする。残移動量の表示部分には
、プログラム1ステツプごとに対する残移動量が表示さ
れ、作業者はCRTに表示された数値と実際の工具位置
を見比べながらチエツクする。
The operator advances the program step by step and checks the work without looking at this screen. In the remaining movement amount display area, the remaining movement amount for each step of the program is displayed, and the operator checks the value while comparing the value displayed on the CRT with the actual tool position.

現在の工具の位置がワーク座標系でZ=50の位置にあ
り、プログラム指令でZOを実行すると残移動量はZ 
=−50,000となり、工具がワーク座標のZ−0ま
で移動する。Z−0まで達すると残移動量はOとなる。
The current tool position is at Z = 50 in the workpiece coordinate system, and when ZO is executed with a program command, the remaining movement amount is Z
= -50,000, and the tool moves to the workpiece coordinate Z-0. When it reaches Z-0, the remaining movement amount becomes O.

[発明が解決しようとする課題] 従来の数値制御装置は以上のように構成されているため
、現在実行中のプログラムがCRT画面上に表示されて
いても、それらが特定のプログラミング言語で表示され
ているので、プログラムの内容を理解していなければ作
業者にとって全く意味をなさないばかりでなく、また現
在の工具位置を数値を用いてCRT画面上に表示しても
、その表示値が時々刻々変化するため視覚でとらえ難く
、工具干渉等の緊急の事態に対処することは事実上大変
困難であった。
[Problems to be Solved by the Invention] Since the conventional numerical control device is configured as described above, even if the currently running program is displayed on the CRT screen, it is not possible to display it in a specific programming language. Therefore, if the operator does not understand the contents of the program, it will not only be meaningless to the operator, but also, even if the current tool position is displayed numerically on the CRT screen, the displayed value will change from moment to moment. Because of the changes, it is difficult to visually detect them, and it is actually very difficult to deal with emergency situations such as tool interference.

この発明は、以上のような問題点を解決するためになさ
れたものであり、現在の工具位置を視覚的に表示し、作
業者がプログラム言語等を理解していない場合でも容易
に取り扱うことができる数値制御装置を提供することを
目的としている。
This invention was made to solve the above-mentioned problems, and it visually displays the current tool position so that it can be easily handled even if the operator does not understand the programming language etc. The purpose is to provide a numerical control device that can

[課題を解決するための手段] 第1の発明に係る数値制御装置は、 工具のY軸、Y軸、Z軸の少なくとも一方向の移動量を
検出する工具移動量検出手段と、工具移動量検出手段に
より検出された工具の移動量から現在の工具位置および
工具の移動すべき目標値との差すなわち工具の残移動量
を演算する残移動量演算手段と、 工具の移動すべき目標値、工具の移動すべき全行程およ
び工具の移動すべき全行程に対する残移動量の割合をそ
れぞれグラフィック表示するために所定のビデオ信号に
変換するグラフィック信号変換手段と、 現在実行中のプログラムの内容、工具の現在位置および
移動すべき目標値の座標、グラフィック信号変換手段に
より変換された工具の移動すべき全行程および工具の移
動すべき全行程に対する残移動量の割合を視覚表示する
表示手段とを具備している。
[Means for Solving the Problems] A numerical control device according to a first invention includes: a tool movement amount detection means for detecting the movement amount of a tool in at least one direction of the Y axis, the Y axis, and the Z axis; a remaining movement amount calculation means for calculating the difference between the current tool position and a target value to which the tool should move, that is, the remaining movement amount of the tool, from the amount of tool movement detected by the detection means; and a target value to which the tool should move; a graphic signal converting means for converting into a predetermined video signal for graphically displaying the total stroke to be moved by the tool and the ratio of the remaining travel amount to the total stroke to be moved by the tool; and the contents of the program currently being executed and the tool. display means for visually displaying the current position of the tool, the coordinates of the target value to be moved, the total travel of the tool converted by the graphic signal conversion means, and the ratio of the remaining travel distance to the total travel of the tool. are doing.

第2の発明に係る数値制御装置は、 工具のY軸、Y軸、Z軸の少なくとも一方向の移動量を
検出する工具移動量検出手段と、工具移動量検出手段に
より検出された工具の移動量から現在の工具位置および
工具の移動すべき目標値との差すなわち工具の残移動量
を演算する残移動量演算手段と、 工具の移動すべき目標値、工具の移動すべき全行程およ
び工具の移動すべき全行程に対する残移動量の割合をそ
れぞれグラフィック表示するために所定のビデオ信号に
変換するグラフィック信号変換手段と、 工具の種類、工具径等の工具情報、NCプログラムおよ
び対話パートプログラムを記憶する記憶手段と、 対話パートプログラムの実行において工具、工作方法お
よび工具の移動目標値などの指定等を入力する入力手段
と、 現在使用されているまたは入力手段により指定された工
具の種類、工作方法およびプログラムの指令の種類を判
別する動作判別手段と、動作判別手段により判別された
工具の種類、工作方法、プロクラムの指令の種類を文字
、図形、記号、もしくはこれらの結合からなるシンボル
に変換するシンボル信号変換手段と、 現在実行中のプログラムの内容、工具の現在位置および
移動すべき目標値の座標、グラフィック信号変換手段に
より変換された工具の移動すべき全行程および工具の移
動すべき全行程に対する残移動量の割合およびシンボル
信号変換手段により変換された工具の種類、工作方法お
よびプログラムの指令の種類を視覚表示する表示手段と
を具備している。
A numerical control device according to a second invention includes a tool movement amount detection means for detecting the movement amount of the tool in at least one direction of the Y-axis, the Y-axis, and the Z-axis; and a tool movement detected by the tool movement amount detection means. remaining movement amount calculation means for calculating the difference between the current tool position and a target value to which the tool should move, that is, the remaining movement amount of the tool; a graphic signal converting means for converting into a predetermined video signal in order to graphically display the ratio of the amount of remaining movement to the total stroke to be moved; and tool information such as tool type and tool diameter, NC program and dialogue part program. a storage means for storing information, an input means for inputting specifications such as tools, machining methods, tool movement target values, etc. during execution of the dialogue part program; and input means for inputting specifications such as tools, machining methods, and tool movement target values, etc., and information on the type of tool and machining currently being used or specified by the input means. A motion determining means for determining the method and type of program command, and converting the tool type, work method, and program command type determined by the motion determining means into characters, figures, symbols, or symbols consisting of combinations thereof. The content of the program currently being executed, the current position of the tool and the coordinates of the target value to be moved, the total stroke to be moved by the tool converted by the graphic signal conversion means, and the total distance to be moved by the tool. The present invention includes display means for visually displaying the ratio of the remaining movement amount to the stroke, the type of tool, the machining method, and the type of program command converted by the symbol signal conversion means.

[作用] 第1の発明においては、 工具移動量検出手段は例えば、数値制御装置、例えばN
C工作機械に装着されたエンコーダ等の位置検出手段で
あり、NC工作機械に装着された工具のY軸、Y軸(水
平方向)およびZ軸方向(垂直方向)の少なくとも一方
向の移動量を検出する。
[Operation] In the first invention, the tool movement amount detection means is, for example, a numerical control device, for example, N
A position detection means such as an encoder installed on a C machine tool, which detects the amount of movement of a tool installed on an NC machine tool in at least one of the Y-axis, Y-axis (horizontal direction), and Z-axis direction (vertical direction). To detect.

残移動量演算手段は例えば、マイクロプロセッサであり
、工具移動量検出手段により検出された時々刻々の工具
の移動量を積算し、現在の工具位置、工具の移動すべき
目標値との差すなわち工具の残移動量を演算する。
The remaining movement amount calculation means is, for example, a microprocessor, and integrates the momentary tool movement amount detected by the tool movement amount detection means, and calculates the difference between the current tool position and the target value at which the tool should be moved, that is, the tool. Calculate the remaining movement amount.

グラフィック信号変換手段は例えば、マイクロプロセッ
サおよびビデオプロッタ等であり、工具の移動すべき目
標値、工具の移動すべき全行程および工具の移動すべき
全行程に対する残移動量の割合をそれぞれCRT画面上
にグラフィックに表示するために所定のビデオ信号に変
換する。
The graphic signal conversion means is, for example, a microprocessor, a video plotter, etc., and displays on a CRT screen the target value for which the tool should move, the total stroke that the tool should move, and the ratio of the remaining amount of movement to the total stroke that the tool should move. into a predetermined video signal for graphical display.

表示手段は例えば、CRT表示装置、液晶表示装置等で
あり、現在実行中のプログラムの内容、工具の現在位置
および移動すべき目標値の座標を文字情報として、また
、ビデオ信号に変換された工具の移動すべき目標値、工
具の移動すべき全行程および工具の移動すべき全行程に
対する残移動量の割合をグラフとして視覚表示する。
The display means is, for example, a CRT display device, a liquid crystal display device, etc., and displays the content of the program currently being executed, the current position of the tool, and the coordinates of the target value to be moved as text information, and also displays the tool converted into a video signal. The target value to be moved, the total stroke to be moved by the tool, and the ratio of the remaining movement amount to the total stroke to be moved by the tool are visually displayed as a graph.

第2の発明は、第1の発明の作用にさらに以下の作用を
有する。すなわち、 記憶手段は例えは、C−MOSメモリあるいはバフルメ
モリ等であり、NC工作機械において使用される工具の
種類、工具径等の工具情報、NCプログラムおよび対話
パートプログラムを記憶する。
The second invention has the following effects in addition to the effects of the first invention. That is, the storage means is, for example, a C-MOS memory or a baffle memory, and stores tool information such as the type of tool used in the NC machine tool, tool diameter, etc., the NC program, and the dialogue part program.

入力手段は例えはキーホード等の入力装置であり、工具
情報等は対話パートプログラム中にこの入力装置から入
力されてもよいが、プログラミング時すでに入力されて
いてもよい。
The input means is, for example, an input device such as a keyboard, and the tool information and the like may be input from this input device during the dialogue part program, but may also be input already at the time of programming.

動作判別手段は例えば、マイクロプロセッサであり、現
在使用されている工具、実行中の工作方法およびプログ
ラムの指令の種類を判別する。
The operation determining means is, for example, a microprocessor, and determines the currently used tool, the currently executed machining method, and the type of program command.

シンボル信号変換手段は例えば、マイクロプロセッサお
よびA/Dコンバータてあり、動作判別手段により判別
された工具、工作方法、プログラムの指令の種類を文字
、図形、記号、もしくはこれらの結合からなるシンボル
に変換する。
The symbol signal conversion means includes, for example, a microprocessor and an A/D converter, and converts the types of tools, work methods, and program commands determined by the operation determination means into characters, figures, symbols, or symbols consisting of combinations thereof. do.

表示手段は第1の発明における作用にざらに、シンボル
信号変換手段により変換されたシンボルを視覚表示する
The display means visually displays the symbol converted by the symbol signal conversion means, similar to the operation of the first invention.

[実施例] 第1の発明に係る数値制御装置を第1の実施例を示す第
1図、第2図、第3図、第4図(A)、(B)および(
C)を用いて説明する。
[Example] Fig. 1, Fig. 2, Fig. 3, Fig. 4 (A), (B), and () show a first embodiment of the numerical control device according to the first invention.
This will be explained using C).

第1図は第1の発明に係る数値制御装置の構成を示す図
である。図において、NC工作機械1は、少なくともZ
軸に移動可能な主軸へラド2と、主軸ヘット2に設けら
れた工具3と、主軸ヘッド2あるいは工具3の移動量を
検出する工具移動量検出手段として作用する例えばエン
コーダ等の位置検出器6と、工具あるいは主軸ヘッド2
を駆動するモータ5とを具備し、テーブル7上にワーク
(被加工物)4が固定されている。
FIG. 1 is a diagram showing the configuration of a numerical control device according to the first invention. In the figure, the NC machine tool 1 has at least Z
A spindle head 2 movable along the axis, a tool 3 provided on the spindle head 2, and a position detector 6, such as an encoder, which acts as a tool movement amount detection means for detecting the amount of movement of the spindle head 2 or the tool 3. and the tool or spindle head 2
A workpiece (workpiece) 4 is fixed on a table 7.

制御部10は、現在の位置検出器6の出力を直前のNC
プログラムのステップにおける位置検出器6の出力と比
較して、その差を検出する移動量検出部20と、移動量
検出部20からの信号を所定の数値制御(以下NCと略
称する)プログラムにおいて用いられるNCデータに変
換するNCデータ変換部21と、NCプログラムや工具
の移動すべき目標値および移動すべき全行程等を記憶す
る例えはRAMからなるNCプロクラム記憶部23と、
NCプログラムを実行し、残移動量演算手段として作用
する例えはCPUからなるNCプログラム実行部22と
、NCプログラム実行部22において演算された工具の
移動すべき全行程に対する残移動量の割合をグラフィッ
ク表示するための所定のビデオ信号に変換する例えはビ
デオプロッタ等からなるグラフィック信号変換部として
作用するNCデータグラフィック変換部24を具備して
いる。
The control unit 10 converts the current output of the position detector 6 into the immediately preceding NC.
A movement amount detection section 20 detects the difference by comparing the output of the position detector 6 at a step of the program, and a signal from the movement amount detection section 20 is used in a predetermined numerical control (hereinafter abbreviated as NC) program. an NC data conversion unit 21 that converts the NC data into NC data; an NC program storage unit 23, for example a RAM, that stores the NC program, the target value to which the tool should be moved, the total stroke to be moved, etc.;
The NC program execution unit 22, which is composed of a CPU, for example, acts as a remaining movement amount calculation means by executing the NC program, and the ratio of the remaining movement amount to the total stroke of the tool calculated by the NC program execution unit 22 is displayed graphically. It is provided with an NC data graphics converter 24 that functions as a graphic signal converter, for example, a video plotter, for converting into a predetermined video signal for display.

また、表示手段として作用する表示装置5oは、例えは
CR7表示装置あるいは液晶表示装置であり、NCデー
タ変換部21により変換された工具先端の座標等を文字
情報として表示するNCデータ表示部51と、実行中の
NCプログラムの現在のステップの前後数ステップを表
示するNCプログラム表示部52と、NCデータグラフ
ィック変換部24により変換された工具の移動すべき全
行程に対する残移動量の割合をグラフ表示するグラフィ
ック表示部53からなる。
The display device 5o that acts as a display means is, for example, a CR7 display device or a liquid crystal display device, and includes an NC data display section 51 that displays the coordinates of the tool tip converted by the NC data conversion section 21 as text information. , an NC program display section 52 that displays several steps before and after the current step of the NC program being executed, and a graph displaying the ratio of the remaining movement distance to the total stroke of the tool converted by the NC data graphic conversion section 24. It consists of a graphic display section 53.

第2図は機械座標系、ワーク座標系、工具の残移動量及
び工具刃先の現在位置の関係を示す。
FIG. 2 shows the relationship between the machine coordinate system, the workpiece coordinate system, the remaining movement of the tool, and the current position of the tool cutting edge.

機械座標系とは、NC工作機械固有の任意の位置を原点
(座標0)とした座標系であり、Z軸(すなわち垂直方
向)における主軸の最上位点を原点復帰点(以下ZRN
)とし、工具の下降方向をマイナスとしている。
The machine coordinate system is a coordinate system with the origin (coordinate 0) at an arbitrary position specific to the NC machine tool, and the highest point of the main spindle on the Z-axis (that is, vertical direction) is the origin return point (hereinafter referred to as ZRN).
), and the downward direction of the tool is negative.

ワーク座標系とは、ワークの基準面をZ−0とする座標
系であり、プログラムにおける指令値をボす。
The workpiece coordinate system is a coordinate system in which the reference plane of the workpiece is set to Z-0, and the command values in the program are excluded.

工具の残移動量とは、プログラムの1ステツプごとにお
ける工具の最終的に移動すべき目標値に対する現在の工
具の位置を差しひきした残りの移動量を表示するもので
あり、X、  Y、  Zの各軸側に表示される。
The remaining amount of tool movement indicates the remaining amount of movement after subtracting the current tool position from the target value at which the tool should ultimately move for each step of the program, and is displayed on each axis side.

例えは第2図において、工具長さ(工具オフセラ) )
 I = 200mm、  機械座標系の原点とワーク
座標系の原点との差(ワークオフセット)をm=500
mmとする。この時点において、工具の先端はワークの
基準面の上方300mmにある。
For example, in Figure 2, the tool length (tool offset)
I = 200mm, the difference between the origin of the machine coordinate system and the origin of the workpiece coordinate system (work offset) is m = 500
Let it be mm. At this point, the tip of the tool is 300 mm above the reference plane of the workpiece.

例えはここで以下のプログラムを実行する。For example, run the following program here.

第1ステップ: G90 GOOG54 XOYO第2
ステップ: G43 HI Z50゜第3ステップ: 
GOl 20 F200ここで、工具オフセットとして
、工具長さ旧=200.000、およびワークオフセッ
トとして、機械座標系の原点からワーク基準点までの距
離G54−Z−500,000を設定する。
1st step: G90 GOOG54 XOYO 2nd
Step: G43 HI Z50゜3rd step:
GOl 20 F200 Here, the tool length old=200.000 is set as the tool offset, and the distance G54-Z-500,000 from the origin of the machine coordinate system to the work reference point is set as the work offset.

まず、プログラムの第1ステツプを実行すれば、当該ワ
ークを切削するためのワーク座標系が確定する。
First, by executing the first step of the program, a workpiece coordinate system for cutting the workpiece is determined.

次に、第2ステツプを実行する。工具先端をZ50.0
00に達するまで下降させる、すなわち、工具がZ軸方
向に250mm下降したとすると、工具の残移動量はZ
 =−250,000となる。
Next, perform the second step. Set the tool tip to Z50.0
If the tool is lowered until it reaches 00, that is, the tool is lowered by 250 mm in the Z-axis direction, the remaining amount of tool movement is Z
=-250,000.

このとき表示装置50の画面上ではワーク座標系で、Z
 = 50.000、残移動量Z =−50,000が
表示されている。
At this time, on the screen of the display device 50, in the work coordinate system, Z
= 50.000 and remaining movement amount Z = -50,000 are displayed.

さらに第3ステツプを実行する。工具先端をZ=0に達
するまで下降させる。すなわち、工具の先端がワーク基
準面に到達すると、工具の残移動量はZ−0となり、次
のプログラムステップに移行する。
Furthermore, a third step is executed. Lower the tool tip until it reaches Z=0. That is, when the tip of the tool reaches the workpiece reference surface, the remaining amount of tool movement becomes Z-0, and the program moves to the next program step.

ワーク座標系の表示はワーク基準点を0とした座標位置
を表示するとともに、残移動量には位置決めまたは補間
完了するまでの距離を表示し、完了点で次のプログラム
指令における移動量を表示する。
The display of the work coordinate system displays the coordinate position with the work reference point as 0, and the remaining travel amount displays the distance until positioning or interpolation is completed, and at the completion point, the travel amount for the next program command is displayed. .

第3図に表示装置50の画面100における表示の一例
を示す。
FIG. 3 shows an example of a display on the screen 100 of the display device 50.

表示装置50の画面100は、実行中のプログラムの内
容を表示するNCプログラム表示部52と、現在の工具
の先端の座標などのNCデータを文字および数値などて
表示するNCデータ表示部51と、NOデータグラフィ
ック変換部24により変換された工具の移動すべき全行
程に対する残移動量の割合をグラフ表示するグラフィッ
ク表示部53からなる。
The screen 100 of the display device 50 includes an NC program display section 52 that displays the contents of the program being executed, and an NC data display section 51 that displays NC data such as the coordinates of the current tip of the tool as characters and numerical values. It consists of a graphic display section 53 that graphically displays the ratio of the remaining movement amount to the total travel of the tool converted by the NO data graphic conversion section 24.

さらに、画面100の下方にはプログラムチエツクや、
工具設定などの各種の補助機能を選択指定するためのフ
ァンクション機能設定キー54が設けられている。
Furthermore, at the bottom of the screen 100 there is a program check,
A function setting key 54 is provided for selecting and specifying various auxiliary functions such as tool setting.

グラフィック表示部53において、Wはワーク座標系Z
Oを基準とした工具の移動すべき全行程に対する工具先
端の現在位置(又は累積した移動量)を表し、■は工具
の残移動量を表す。グラフィック表示部53におけるス
ケールは、周知の入力手段例えは、キーボードあるいは
電荷蓄積型CRT表示装置による画面上の表示の指定に
より任意に変更が可能である。
In the graphic display section 53, W is the workpiece coordinate system Z
It represents the current position (or cumulative amount of movement) of the tool tip for the entire stroke that the tool should move with reference to O, and ■ represents the remaining amount of movement of the tool. The scale in the graphic display section 53 can be arbitrarily changed by specifying the display on the screen using a well-known input means such as a keyboard or a charge storage type CRT display device.

このグラフィック表示部53におけるグラフ表示はNC
データ表示部51における残移動量表示やワーク座標系
のデジタル表示と同様に工具3(又は主軸ヘッド2)の
動きに同期してリアルタイムに変化する。
The graph display in this graphic display section 53 is
Similar to the remaining movement amount display on the data display section 51 and the digital display of the workpiece coordinate system, it changes in real time in synchronization with the movement of the tool 3 (or spindle head 2).

第4図(ハ)、(B)および(C)に、前述のプログラ
ムを実行した場合における表示装置50のグラフィック
表示部53の表示状態を示す。
FIGS. 4(C), 4(B) and 4(C) show the display state of the graphic display section 53 of the display device 50 when the above-described program is executed.

第4図(A)はプログラムの第1ステツプを実行したと
きの状態を示す。第1ステツプにおいては、ワーク座標
系が設定されただけであり、工具はまだ移動していない
からWのスケールは何も表示しない。工具の残移動量を
示す■スケールは次のステップでZ=50まで移動すべ
きことを表している。
FIG. 4(A) shows the state when the first step of the program is executed. In the first step, the workpiece coordinate system has only been set and the tool has not yet moved, so the W scale does not display anything. The ■ scale indicating the remaining amount of tool movement indicates that the tool should be moved to Z=50 in the next step.

第4図(B)はプログラムの第2ステツプを実行したと
きの状態を示す。第2ステツプにおいては、工具がz=
50まで移動する。Wスケールは工具がZ=50まで移
動したことを示している。■スケールは次のステップで
Z=0まで移動すべきことを表している。
FIG. 4(B) shows the state when the second step of the program is executed. In the second step, the tool z=
Move up to 50. The W scale shows that the tool has moved to Z=50. ■The scale indicates that it should be moved to Z=0 in the next step.

第4図(C)はプログラムの第3ステツプを実行したと
きの状態を示す。第3ステツプにおいては、工具がZ二
〇まで移動する。Wスケールは工具がZ=0まで移動し
たことを示している。■スケールは工具が目標の位置に
到達したこと、すなわち、残移動量が0であることを示
している。
FIG. 4(C) shows the state when the third step of the program is executed. In the third step, the tool moves to Z20. The W scale indicates that the tool has moved to Z=0. (2) The scale indicates that the tool has reached the target position, that is, the remaining amount of movement is 0.

なお、上記実施例において、表示装置50としてカラー
CRT装置を用いれば、WスケールおよびIスケール等
の表示を異なった色を用いて表示することができ、作業
者に対しより判りやすい表示が可能である。
In the above embodiment, if a color CRT device is used as the display device 50, the W scale, I scale, etc. can be displayed using different colors, and the display can be more easily understood by the operator. be.

例えは、GOO(甲送り)は赤色表示、GOI(送り)
は青色とすることもできる。
For example, GOO (first-step delivery) is displayed in red, GOI (first-order delivery)
can also be blue.

次に、第2の発明に係る数値制御装置を一実施例を示す
第5図、第6図、第7図、第8図および第9図を用いて
説明する。なお、第1の発明の実施例と同一の番号を付
した要素は同一とする。
Next, a numerical control device according to the second invention will be explained using FIGS. 5, 6, 7, 8, and 9 showing one embodiment. Note that elements with the same numbers as those in the embodiment of the first invention are the same.

第5図において第2の発明に係る数値制御装置は、制御
部10が、現在の位置検出器6の出力を直前のNCプロ
グラムのステップにおける位置検出器6の出力と比較し
て、その差を検出する移動量検出部20と、移動量検出
部20からの信号を所定のNCプログラムにおいて用い
られるNCデータに変換するNCデータ変換部21と、
工具の種類、工具径等の工具情報、NCプログラム、対
話パートプログラムや工具の移動すべき目標値および移
動すべき全行程等を記憶する例えばRAM(C−MOS
メモリやバブルメモリ等)からなる記憶部31と、NC
プログラムを実行し、残移動量演算手段として作用する
例えばCPUからなる演算部30と、演算部30におい
て演算された結果に基づいて主軸ヘット2やモータ5を
制御するための機械制御部26および軸制御部25と、
演算部30において演算された工具の移動すべき全行程
に対する残移動量の割合をグラフィック表示するための
所定のビデオ信号に変換する例えばビデオプロッタ等か
らなるグラフィック信号変換部として作用するNCデー
タグラフィック変換部24と、入力手段として作用する
キーボード等からなる入力部32と、動作判別手段とし
て作用する、主軸ヘッド制御部8からの信号あるいは入
力部32により入力された信号に基づいて工具の種類、
工作方法、プログラムの指令の種類を文字、図形、記号
、もしくはこれらの結合からなるシンボルに変換する制
御データシンボル変換手段33を具備している。
In the numerical control device according to the second invention in FIG. 5, the control unit 10 compares the current output of the position detector 6 with the output of the position detector 6 at the immediately previous step of the NC program, and calculates the difference. A movement amount detection section 20 that detects the movement amount, an NC data conversion section 21 that converts the signal from the movement amount detection section 20 into NC data used in a predetermined NC program,
For example, RAM (C-MOS) stores tool information such as tool type, tool diameter, NC program, dialogue part program, target value for which the tool should move, and total strokes to be moved.
memory, bubble memory, etc.), and an NC
A calculation section 30 consisting of, for example, a CPU that executes a program and acts as a remaining movement amount calculation means, a machine control section 26 and a shaft for controlling the spindle head 2 and motor 5 based on the results calculated in the calculation section 30. A control unit 25;
An NC data graphic conversion unit that functions as a graphic signal conversion unit comprising, for example, a video plotter, which converts the ratio of the remaining amount of movement of the tool to the total stroke to be moved calculated in the calculation unit 30 into a predetermined video signal for displaying graphically. 24, an input section 32 consisting of a keyboard, etc., which acts as an input means, and a type of tool, based on a signal from the spindle head control section 8 or a signal input by the input section 32, which acts as an operation determination means.
A control data symbol conversion means 33 is provided for converting the type of instruction of the work method or program into characters, figures, symbols, or symbols consisting of combinations thereof.

また、表示手段として作用する表示装置50は、例えば
CRT表示装置あるいは液晶表示装置であり、NCデー
タ変換部21により変換された工具先端の座標等を文字
情報として表示するNCデータ表示部51と、実行中の
NCプログラムの現在ステップの前後数ステップを表示
するNCプログラム2〇− 表示部52と、NCデータグラフィック変換部24によ
り変換された工具の移動すべき全行程に対する残移動量
の割合をグラフ表示するグラフィック表示部53と、制
御データシンボル変換部33により変換されたシンボル
を表示するシンボル表示部55からなる。
The display device 50 that acts as a display means is, for example, a CRT display device or a liquid crystal display device, and includes an NC data display section 51 that displays the coordinates of the tool tip converted by the NC data conversion section 21 as text information; The NC program 20- display section 52 displays several steps before and after the current step of the NC program being executed, and the graph shows the ratio of the remaining movement distance to the total stroke of the tool converted by the NC data graphic conversion section 24. It consists of a graphic display section 53 for displaying, and a symbol display section 55 for displaying symbols converted by the control data symbol conversion section 33.

対話パートプログラムには、通電のNCプログラムと異
なり、工具の種類や工具径等の工具情報がすべて含まれ
ており、表示装置50のシンボル表示部55に表示され
る。第6図に対話パートプログラム実行中の表示装置5
0の画面100の状態を示す。
Unlike the energization NC program, the dialogue part program includes all tool information such as tool type and tool diameter, and is displayed on the symbol display section 55 of the display device 50. Figure 6 shows the display device 5 during execution of the dialogue part program.
The state of the screen 100 of 0 is shown.

第3図に示した実施例と比較して工具およびプログラム
の指令を示すMコードがシンボル表示部55に表示され
ている。それ以外の構成は第3図と同様であるため説明
を省略する。
In comparison with the embodiment shown in FIG. 3, an M code indicating commands for tools and programs is displayed on the symbol display section 55. The rest of the configuration is the same as that shown in FIG. 3, so the explanation will be omitted.

第7図に工具の種類を示すシンボルを例示する。FIG. 7 shows examples of symbols indicating the types of tools.

工具としては、−船釣なセンタドリル、ドリル、タップ
、リーマ、ポーリング、面取り、エンドミル、ポールエ
ンドミル、フェイスミル、シェルカッタ、サイドカッタ
、Tスロット、アンギュラ、バックボアおよび裏座ぐり
等が記憶部31(第5図)に記憶されている。
Tools include - center drill, drill, tap, reamer, polling, chamfering, end mill, pole end mill, face mill, shell cutter, side cutter, T-slot, angular cutter, back bore, back counterbore, etc. (Fig. 5).

また第8図にNC工作機械の制御のためプログラムの指
令(Mコード)を示すシンボルを例示する。Mコードと
しては、オプショナルストップ、プログラム停止、プロ
グラム終了、主軸正転、主軸逆転、主軸停止および工具
交換等が同様に記憶部31に記憶されている。
Further, FIG. 8 illustrates symbols indicating program commands (M codes) for controlling the NC machine tool. As M codes, optional stop, program stop, program end, spindle normal rotation, spindle reverse rotation, spindle stop, tool exchange, etc. are similarly stored in the storage unit 31.

オプショナルストップ(Mol)、プログラム停止(M
OO)、プログラム終了(M2O)等の場合には作業者
に注意を法えるため、オプショナルストップ(Mol)
およびプログラム停止(MOO)の場合には黄色の点滅
を、またプログラム終了(M2O)の場合には青色の点
滅とすれば効果的である。
Optional stop (Mol), program stop (M
OO), program end (M2O), etc., an optional stop (Mol) is set to warn the operator.
It is effective to blink yellow when the program is stopped (MOO) and blink blue when the program is finished (M2O).

第9図はプログラム終了時の表示装置50の画面100
における表示を示している。
FIG. 9 shows a screen 100 of the display device 50 at the end of the program.
This shows the display.

[発明の効果コ 以上のように第1の発明に係る数値制御装置は、工具の
現在位置をグラフ表示し、また第2の発明に係る数値制
御装置は、工具の現在位置をグラフ表示し、工具の種類
、プログラムの指令の種類等をシンボル化して表示する
ため、工具干渉等の事故に容易に対処することができ、
さらに作業者がNCプログラムに精通していない場合で
も容易に数値制御装置を使用することができるという効
果を有する。
[Effects of the Invention] As described above, the numerical control device according to the first invention graphically displays the current position of the tool, and the numerical control device according to the second invention graphically displays the current position of the tool, Since the type of tool, type of program command, etc. are displayed as symbols, accidents such as tool interference can be easily dealt with.
Furthermore, even if an operator is not familiar with NC programs, the numerical control device can be easily used.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図は第1の発明に係る数値制御装置の一実施例の構
成を示す図、第2図は機械座標系、ワーク座標系、工具
の残移動量および工具刃先の位置関係を示す図、第3図
は第1の発明における表示装置の画面における表示を示
す図、第4図(A)、(B)および(C)は表示装置の
グラフィック表示部の表示状態を示す図、第5図は第2
の発明に係る数値制御装置の一実施例の構成を示す図、
第6図は第2の発明における表示装置の画面における表
示を示す図、第7図は工具の種類を示すシンボルを例示
する図、第8図はプログラムの指令を例示する図、第9
図はプログラム終了時における表示装置の画面における
表示を示す図、第10図は従来の数値制御装置の表示装
置を示す図である。 l・・NC工作機械 2・・主軸ヘッド3・・工具 4
・・ワーク 5・・モータ6・・変位検出器 7・・テ
ーブル 8・・主軸ヘッド制御部 出願人  株式会社 森精機製作所 代理人  弁理士  松1)正道 】 〉 〉
FIG. 1 is a diagram showing the configuration of an embodiment of the numerical control device according to the first invention, FIG. 2 is a diagram showing the positional relationship between the machine coordinate system, the workpiece coordinate system, the remaining travel amount of the tool, and the tool cutting edge; FIG. 3 is a diagram showing the display on the screen of the display device in the first invention, FIGS. 4(A), (B) and (C) are diagrams showing the display state of the graphic display section of the display device, and FIG. is the second
A diagram showing the configuration of an embodiment of a numerical control device according to the invention of
6 is a diagram showing the display on the screen of the display device in the second invention, FIG. 7 is a diagram illustrating symbols indicating types of tools, FIG. 8 is a diagram illustrating program instructions, and FIG.
The figure shows the display on the screen of the display device when the program ends, and FIG. 10 shows the display device of a conventional numerical control device. l...NC machine tool 2...Spindle head 3...Tool 4
...Work 5..Motor 6..Displacement detector 7..Table 8..Spindle head control unit Applicant Mori Seiki Co., Ltd. Agent Patent attorney Masamichi Matsu1) 〉 〉

Claims (2)

【特許請求の範囲】[Claims] (1)工具のX軸、Y軸、Z軸の少なくとも一方向の移
動量を検出する工具移動量検出手段と、工具移動量検出
手段により検出された工具の移動量から現在の工具位置
および工具の移動すべき目標値との差すなわち工具の残
移動量を演算する残移動量演算手段と、 工具の移動すべき目標値、工具の移動すべき全行程およ
び工具の移動すべき全行程に対する残移動量の割合をそ
れぞれグラフィック表示するために所定のビデオ信号に
変換するグラフィック信号変換手段と、 現在実行中のプログラムの内容、工具の現在位置および
移動すべき目標値の座標、グラフィック信号変換手段に
より変換された工具の移動すべき全行程および工具の移
動すべき全行程に対する残移動量の割合を視覚表示する
表示手段と、 を具備したことを特徴とする数値制御装置。
(1) A tool movement amount detection means for detecting the amount of movement of the tool in at least one direction of the X-axis, Y-axis, and Z-axis, and the current tool position and the tool from the amount of tool movement detected by the tool movement amount detection means. a remaining movement amount calculation means for calculating the difference between the target value of the tool and the remaining movement amount of the tool; A graphic signal converting means converts the movement amount ratio into a predetermined video signal to graphically display the contents of the program currently being executed, the current position of the tool, and the coordinates of the target value to be moved, the graphic signal converting means A numerical control device comprising: a display means for visually displaying the converted total stroke of the tool and the ratio of the remaining travel distance to the total stroke of the tool.
(2)工具のX軸、Y軸、Z軸の少なくとも一方向の移
動量を検出する工具移動量検出手段と、工具移動量検出
手段により検出された工具の移動量から現在の工具位置
および工具の移動すべき目標値との差すなわち工具の残
移動量を演算する残移動量演算手段と、 工具の移動すべき目標値、工具の移動すべき全行程およ
び工具の移動すべき全行程に対する残移動量の割合をそ
れぞれグラフィック表示するために所定のビデオ信号に
変換するグラフィック信号変換手段と、 工具の種類、工具径等の工具情報、NCプログラムおよ
び対話パートプログラムを記憶する記憶手段と、 所定情報を入力する入力手段と、 現在使用されているまたは入力手段により指定された工
具の種類、工作方法およびプログラムの指令の種類を判
別する動作判別手段と、 動作判別手段により判別された工具の種類、工作方法、
プログラムの指令の種類を文字、図形、記号、もしくは
これらの結合からなるシンボルに変換するシンボル信号
変換手段と、 現在実行中のプログラムの内容、工具の現在位置および
移動すべき目標値の座標、グラフィック信号変換手段に
より変換された工具の移動すべき全行程および工具の移
動すべき全行程に対する残移動量の割合およびシンボル
信号変換手段により変換された工具の種類、工作方法お
よびプログラムの指令の種類を視覚表示する表示手段と
を具備したことを特徴とする数値制御装置。
(2) A tool movement amount detection means for detecting the amount of movement of the tool in at least one direction of the X-axis, Y-axis, and Z-axis, and the current tool position and the tool from the amount of tool movement detected by the tool movement amount detection means. a remaining movement amount calculation means for calculating the difference between the target value of the tool and the remaining movement amount of the tool; Graphic signal converting means for converting into a predetermined video signal for graphically displaying the proportion of each movement amount, a storage means for storing tool information such as tool type and tool diameter, an NC program and a dialogue part program, and predetermined information. an input means for inputting the information, an operation determination means for determining the type of tool currently used or specified by the input means, a machining method, and a type of program command; the type of tool determined by the operation determination means; work method,
Symbol signal conversion means that converts the type of program command into characters, figures, symbols, or symbols consisting of combinations of these, and the contents of the program currently being executed, the current position of the tool, the coordinates of the target value to be moved, and graphics. The total stroke of the tool converted by the signal conversion means, the ratio of the remaining movement amount to the total stroke of the tool, the type of tool, the machining method, and the type of program command converted by the symbol signal conversion means. A numerical control device characterized by comprising display means for visually displaying the information.
JP17843288A 1988-07-18 1988-07-18 Numeric controller Pending JPH0228703A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP17843288A JPH0228703A (en) 1988-07-18 1988-07-18 Numeric controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP17843288A JPH0228703A (en) 1988-07-18 1988-07-18 Numeric controller

Publications (1)

Publication Number Publication Date
JPH0228703A true JPH0228703A (en) 1990-01-30

Family

ID=16048409

Family Applications (1)

Application Number Title Priority Date Filing Date
JP17843288A Pending JPH0228703A (en) 1988-07-18 1988-07-18 Numeric controller

Country Status (1)

Country Link
JP (1) JPH0228703A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04141702A (en) * 1990-10-03 1992-05-15 Canon Inc Robot controller
WO2021210411A1 (en) * 2020-04-13 2021-10-21 スター精密株式会社 Lathe

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS60262207A (en) * 1984-06-07 1985-12-25 Matsushita Electric Ind Co Ltd Numerical controller with crt display
JPS61220004A (en) * 1985-03-26 1986-09-30 Fanuc Ltd Screen display system of numerical controller
JPS61221905A (en) * 1985-03-28 1986-10-02 Okuma Mach Works Ltd Working monitor display system for numerical controller
JPS6250907A (en) * 1985-08-30 1987-03-05 Okuma Mach Works Ltd Machine condition display system in numerical controller
JPS62119608A (en) * 1985-11-20 1987-05-30 Fanuc Ltd Interactive programming device
JPS62199343A (en) * 1986-02-25 1987-09-03 Fanuc Ltd Machining time indication method for simultaneous four-axis lathe

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS60262207A (en) * 1984-06-07 1985-12-25 Matsushita Electric Ind Co Ltd Numerical controller with crt display
JPS61220004A (en) * 1985-03-26 1986-09-30 Fanuc Ltd Screen display system of numerical controller
JPS61221905A (en) * 1985-03-28 1986-10-02 Okuma Mach Works Ltd Working monitor display system for numerical controller
JPS6250907A (en) * 1985-08-30 1987-03-05 Okuma Mach Works Ltd Machine condition display system in numerical controller
JPS62119608A (en) * 1985-11-20 1987-05-30 Fanuc Ltd Interactive programming device
JPS62199343A (en) * 1986-02-25 1987-09-03 Fanuc Ltd Machining time indication method for simultaneous four-axis lathe

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04141702A (en) * 1990-10-03 1992-05-15 Canon Inc Robot controller
WO2021210411A1 (en) * 2020-04-13 2021-10-21 スター精密株式会社 Lathe

Similar Documents

Publication Publication Date Title
US4513366A (en) Menu programmed machine tool numerical controller with an interference checking function
JPS61255408A (en) Device for inputting list of work form
US11947332B2 (en) CAD data-based automatic operation device of machining center
JP2008111770A (en) Measurement display method and machine equipped with measuring display device
EP0529239B1 (en) Numerical control unit with position counter control and display
JPH0228703A (en) Numeric controller
US5808434A (en) Numerical control apparatus
EP0356524A1 (en) Method for part program preparation for similar shape
JP3066646B2 (en) Motion simulation system
CN110531980B (en) Intelligent interface design method of numerical control machine tool
JP2559273B2 (en) Numerical control device and screen display method of numerical control device
JPS61160108A (en) Working control method of numerically controlled machine tool
CN104656552A (en) Mobile wireless debugging terminal of six-axis computer numerical control (CNC) polishing machine system and operation method of mobile wireless debugging terminal
JPH03220604A (en) Device and method for plotting tool locus in numerical controller
EP0530364A1 (en) Interactive numerical controller
WO2023162001A1 (en) Machining surface estimation device and computer-readable storage medium
JPH01189704A (en) Numerical controller
Spur et al. Dynamic simulation system for NC-turning programs
EP0436039A1 (en) System for resuming program for automatic operation
JPH06138933A (en) Program check screen display device
JP2537325Y2 (en) Numerical control device with machine state discrimination function
KR100372367B1 (en) Controlling unit for machining plurality of areas of work
KR0155739B1 (en) Tool position indication method for nc machine and modified nc machine
JPH0659592B2 (en) Automatic programming creation device
JPH05265532A (en) Method for setting limit data in numerical controller