JPH09120308A - Tool path plotting method - Google Patents

Tool path plotting method

Info

Publication number
JPH09120308A
JPH09120308A JP29889695A JP29889695A JPH09120308A JP H09120308 A JPH09120308 A JP H09120308A JP 29889695 A JP29889695 A JP 29889695A JP 29889695 A JP29889695 A JP 29889695A JP H09120308 A JPH09120308 A JP H09120308A
Authority
JP
Japan
Prior art keywords
tool
machining
display
display screen
displayed
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
JP29889695A
Other languages
Japanese (ja)
Inventor
Takashi Takegahara
隆史 竹ヶ原
Shigetoshi Takagi
成年 高木
Koji Suzuki
康治 鈴木
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 JP29889695A priority Critical patent/JPH09120308A/en
Publication of JPH09120308A publication Critical patent/JPH09120308A/en
Withdrawn legal-status Critical Current

Links

Landscapes

  • Numerical Control (AREA)

Abstract

PROBLEM TO BE SOLVED: To easily plot a tool path by storing previously plural partial machining areas to be displayed with magnification, switching these machining areas to display them with magnification according to the moving positions of a tool, and plotting the moving path of the tool. SOLUTION: When a tool path, etc., is plotted together with production and simulation of a machining program, a CPU 1 produces a machining program equivalent to a single block based on the machining shape, the cutting conditions, etc., and repetitively plots the tool path on the moving locus of the tool display position on a graphic display 2 based on a moving command, etc. Then plural partial machining areas of a work are previously set s by a mouse 4 to be displayed with magnification. Thus the CPU 1 stores these machining areas in a RAM 7. Then the partial machining area including the tool position is automatically switched and displayed on the display 2 with magnification according to the moving positions of the tool. The moving path of the tool is plotted on a magnified display screen.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、工具経路描画方法
の改良に関する。
TECHNICAL FIELD The present invention relates to an improvement in a tool path drawing method.

【0002】[0002]

【従来の技術】CAD/CAMシステムや自動プログラ
ミング装置に入力された加工形状や工具データ等から加
工プログラムを自動作成する場合や、作成済みの加工プ
ログラムを走らせてシミュレーションを行いながら加工
プログラムのチェックを行う場合、または、実際に加工
プログラムに基いてNC装置でNC工作機械を駆動しな
がら表示画面上で加工の進行状態を確認する場合等にお
いて、表示画面上にワークの全容や加工形状と共に工具
の移動位置や工具経路を描画するようにした工具経路描
画方法が利用されており、そのための各種装置も公知で
ある。
2. Description of the Related Art When a machining program is automatically created from a machining shape or tool data input to a CAD / CAM system or an automatic programming device, or a machining program is checked while running a simulation by running the created machining program. When performing, or when actually checking the progress of machining on the display screen while driving the NC machine tool by the NC device based on the machining program, etc. A tool path drawing method that draws a moving position and a tool path is used, and various devices therefor are also known.

【0003】そして、工具経路が複雑となる場合や微小
加工部分の表示に際しては、工具経路や工具の現在位置
が見にくくなる場合があり、これを解消するためには、
更に、ワーク上の部分領域の拡大表示が望まれる。
When the tool path is complicated or when the micro-machining portion is displayed, the tool path or the current position of the tool may be difficult to see. To solve this,
Further, it is desired to display an enlarged partial area on the work.

【0004】このような要求に応えるため、表示画面上
のカーソルで対角線を指定して矩形の領域を設定し、一
旦ワークの全容の表示を消去した後、改めて前記矩形領
域を新画面として表示画面一杯に拡大表示し、この新画
面に工具経路を描画するようにした工具経路描画方法が
既に提案されている。
In order to meet such a demand, a diagonal line is designated by a cursor on the display screen to set a rectangular area, the display of the entire work is once erased, and then the rectangular area is newly displayed as a new screen. A tool path drawing method has been already proposed in which the tool path is drawn in a fully enlarged display and the tool path is drawn on this new screen.

【0005】しかし、この工具経路描画方法では、拡大
表示したい領域が複数ある場合、その都度、領域の再設
定操作を行って工具経路を描画させなければならないと
いう煩わしさがある。
However, in this tool path drawing method, when there are a plurality of areas to be enlarged and displayed, the tool path must be drawn by performing the area reset operation each time.

【0006】また、この工具経路描画方法では、新画面
が選択された後、常に、新画面に表示されている領域の
加工手順に従ってその領域の工具経路のみが描画される
ようになっているので、ワーク全体に関連した加工の流
れを把握することはできず、これを行うためには、拡大
による部分的な確認とは別に、改めて、ワークの全容を
表示画面上に表示して、全体的な工具経路を表示させな
ければならないという煩わしさがある。
Further, in this tool path drawing method, after the new screen is selected, only the tool path of the area is always drawn according to the processing procedure of the area displayed on the new screen. However, it is not possible to grasp the processing flow related to the whole work.To do this, apart from the partial confirmation by enlargement, the whole work is displayed again on the display screen and the whole work is displayed. There is the annoyance of displaying different tool paths.

【0007】[0007]

【発明が解決しようとする課題】本発明の目的は、前記
従来技術の欠点を解消し、面倒な領域の設定操作をその
都度行わなくても、ワーク全体の加工の流れに従って、
拡大表示が必要とされるワーク上の部分加工領域を次々
と自動的に表示して工具経路を描画することのできる工
具経路描画方法を提供することにある。
SUMMARY OF THE INVENTION An object of the present invention is to solve the above-mentioned drawbacks of the prior art, and according to the flow of machining of the whole work, without performing a troublesome area setting operation each time.
It is an object of the present invention to provide a tool path drawing method capable of automatically displaying, one after another, partial machining areas on a workpiece that need to be enlarged and drawing a tool path.

【0008】[0008]

【課題を解決するための手段】本発明は、拡大表示すべ
きワークの部分加工領域を予め複数箇所設定して記憶し
ておき、工具の移動位置に応じ、該工具位置が属する部
分加工領域を自動的に切り替えて拡大表示させ、この拡
大表示画面に工具の移動経路を描画するようにしたこと
を特徴とする構成により前記目的を達成した。
According to the present invention, a plurality of partial machining areas of a work to be enlarged and displayed are set and stored in advance, and the partial machining areas to which the tool position belongs are set according to the moving position of the tool. The above object is achieved by a configuration characterized in that the tool is automatically switched to be enlarged and displayed, and the movement path of the tool is drawn on the enlarged display screen.

【0009】更に、表示画面を任意の大きさの2つの画
面に分割してワークの全容を表示する全体表示画面を設
け、工具位置が属する部分加工領域の拡大表示に併せ、
全体表示画面に加工経路を描画することにより、ワーク
全体に関連した加工の流れをより容易に把握できるよう
にした。
Further, the display screen is divided into two screens of arbitrary size to provide an entire display screen for displaying the whole work, and in addition to the enlarged display of the partial machining area to which the tool position belongs,
By drawing the machining path on the whole display screen, the machining flow related to the whole work can be grasped more easily.

【0010】拡大表示すべき部分加工領域の設定操作
は、ワークの全容を表示画面上に表示させたまま、入力
装置からの手動入力で行うようにすることができる。
The setting operation of the partial processing area to be enlarged and displayed can be carried out by manual input from the input device while the entire work is displayed on the display screen.

【0011】[0011]

【発明の実施の形態】以下、図面を参照して本発明の一
実施形態について説明する。図1は本発明の方法を適用
した一実施形態のNC装置の要部を示すブロック図であ
る。1はマイクロプロセッサ(以下、CPUという)、
6は該NC装置の起動プログラムを格納したROM、8
は各種の制御プログラムやシステムプログラム等を保存
したハードディスク、7は演算や表示処理の過程で利用
されるデータ等を一時記憶するRAM、9はフロッピー
ディスク10に記憶された加工形状のデータおよび加工
プログラム等の読み込みや新たなデータの書き込みに使
用されるディスクドライブユニット、3はキーボード
(手動入力装置)、2はグラフィックディスプレイ(表
示画面)、4はカーソルの移動やピック操作等のための
マウス(手動入力装置)であり、これらの各要素はバス
5を介してCPU1に接続されている。
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 block diagram showing a main part of an NC device according to an embodiment to which the method of the present invention is applied. 1 is a microprocessor (hereinafter referred to as CPU),
Reference numeral 6 is a ROM storing a start-up program for the NC device, 8
Is a hard disk storing various control programs and system programs, 7 is a RAM for temporarily storing data used in the process of calculation and display processing, and 9 is machining shape data and machining programs stored in the floppy disk 10. Such as a disk drive unit used for reading data and writing new data, 3 is a keyboard (manual input device), 2 is a graphic display (display screen), 4 is a mouse for moving the cursor, picking, etc. (manual input) These devices are connected to the CPU 1 via the bus 5.

【0012】このNC装置は、自動プログラミング装置
に要求される各種の機能、例えば、キーボード3やマウ
ス4を利用した入力操作によって加工形状を作成するた
めの形状入力機能や、作成された加工形状や指定された
工具および切削条件、更には、指定された加工順序等に
従って一連の加工プログラムを自動作成するための自動
プログラミング機能、また、加工プログラムを自動作成
しながら、もしくは、作成済みの加工プログラムを走ら
せながらシミュレーションを行って、工具経路や工具位
置を描画する描画機能等を従来の自動プログラミング装
置と同様に備え、これを実現するためのシステムプログ
ラムはハードディスク8に格納されている。
The NC device has various functions required for an automatic programming device, for example, a shape input function for creating a machining shape by an input operation using the keyboard 3 and the mouse 4, and the created machining shape and Automatic programming function to automatically create a series of machining programs according to the specified tool and cutting conditions, and also the specified machining sequence, etc.Also, while creating the machining program automatically, or the already created machining program Like the conventional automatic programming device, a drawing function for drawing a tool path and a tool position by performing a simulation while running is provided in the same manner as the conventional automatic programming device, and a system program for realizing this is stored in the hard disk 8.

【0013】これらの各種機能の選択は、マウス4でグ
ラフィックディスプレイ2上のカーソルを移動させ、メ
ニュー表示から対応するメニュー項目をピックすること
で行う。
These various functions are selected by moving the cursor on the graphic display 2 with the mouse 4 and picking the corresponding menu item from the menu display.

【0014】なお、図1では専ら自動プログラミング装
置に要求される各種の機能を実現するための構成要素に
ついて示しており、NC工作機械の駆動制御に関連する
部分に関しては記載を省略している。
Incidentally, FIG. 1 shows only the constituent elements for realizing the various functions required of the automatic programming device, and the description relating to the drive control of the NC machine tool is omitted.

【0015】作成済みの加工プログラムを走らせながら
シミュレーションを行う場合には、加工プログラム中の
移動指令や送り速度等に応じたパルス分配処理がNC工
作機械の駆動制御の場合と同様にしてCPU1により実
施され、これによりグラフィックディスプレイ2上の工
具表示位置に送りが掛けられ、更に、工具表示位置の移
動跡に工具経路が描画されるようになっている。この場
合、グラフィックディスプレイ2上ではあたかも工具が
工具経路を描いて行くように見える。また、加工プログ
ラムを全て先読みして移動指令の目標位置等を一括して
分析することにより、最初に工具経路の全てをグラフィ
ックディスプレイ2上に描画させてから、前記と同様の
処理を行って工具表示位置の移動のみを行うようにして
もよい。この場合、グラフィックディスプレイ2上で
は、予め設定された工具経路に沿って工具が移動して行
くように見える。
When performing a simulation while running a machining program that has already been created, the CPU 1 performs the pulse distribution processing according to the movement command, feed rate, etc. in the machining program in the same manner as the drive control of the NC machine tool. As a result, the tool display position on the graphic display 2 is fed, and the tool path is drawn on the trace of movement of the tool display position. In this case, it looks as if the tool draws the tool path on the graphic display 2. Further, by pre-reading all the machining programs and collectively analyzing the target position of the movement command, etc., all the tool paths are first drawn on the graphic display 2, and then the same processing as described above is performed to execute the tool. You may make it move only a display position. In this case, it appears on the graphic display 2 that the tool is moving along the preset tool path.

【0016】NC工作機械を動作させずに作成済みの加
工プログラムを走らせて工具移動のシミュレーションを
行いながら加工プログラムのチェックのみを行う場合の
処理と、実際に加工プログラムでNC工作機械を駆動し
ながらグラフィックディスプレイ2上で加工の進行状態
を確認する場合の確認処理との相違は、前述したパルス
分配の出力をNC工作機械側にまで出力せず、単に、分
配パルスによってグラフィックディスプレイ2上の工具
表示位置のみを移動させるか、それとも、実際にNC工
作機械側にまで分配パルスを出力してシミュレーション
表示と共にNC工作機械を駆動制御するかの相違だけで
ある。
While the NC machine tool is not operated, the created machining program is run to simulate the movement of the tool and only the machining program is checked, while the NC machine tool is actually driven by the machining program. The difference from the confirmation processing when confirming the progress of machining on the graphic display 2 is that the output of the above-mentioned pulse distribution is not output to the NC machine tool side, but the tool display on the graphic display 2 is simply displayed by the distribution pulse. Only the position is moved, or only the distribution pulse is actually output to the NC machine tool side and the NC machine tool is drive-controlled together with the simulation display.

【0017】また、加工プログラムを自動作成しながら
シミュレーションを行って工具経路や工具位置を描画す
る場合には、形状入力機能によって作成された加工形状
や指定された工具および切削条件、更には、指定された
加工順序等に基いてCPU1が1ブロック分の加工プロ
グラムを作成し、この1ブロック分の加工プログラム中
の移動指令や送り速度等に応じて前記と同様にパルス分
配処理が実施されてグラフィックディスプレイ2上の工
具表示位置に送りが掛けられ、更に、工具表示位置の移
動跡に工具経路が描画され、この1ブロック分のパルス
分配処理が終了した時点で、前記と同様にして次の1ブ
ロック分の加工プログラムが新たに作成されて、以下、
同じ動作の繰り返しとなる。この場合、グラフィックデ
ィスプレイ2上では工具が工具経路を描いて移動して行
くように見える。また、1ブロック分の加工プログラム
が作成された時点で該1ブロック分の工具経路を先に描
画させ、前記と同様の処理を行って工具表示位置の移動
のみを行うようにしてもよい。この場合、加工プログラ
ムが1ブロック作成される毎に該1ブロック分の工具経
路が描画され、その始点から終点に向けて工具が移動す
るといった動作が繰り返されることになる。
Further, when a simulation is performed while automatically creating a machining program to draw a tool path and a tool position, the machining shape created by the shape input function, the specified tool and cutting condition, and further the specified The CPU 1 creates a machining program for one block based on the machining sequence and the like, and pulse distribution processing is performed in the same manner as described above according to the movement command, the feed speed, etc. in the machining program for one block, and the graphic is executed. When the tool display position on the display 2 is fed, the tool path is drawn in the trace of the tool display position, and when the pulse distribution processing for one block is completed, the next 1 A machining program for blocks has been newly created.
The same operation is repeated. In this case, on the graphic display 2, the tool looks like moving along the tool path. Alternatively, when the machining program for one block is created, the tool path for one block may be drawn first, and the same processing as described above may be performed to move only the tool display position. In this case, each time a machining program is created for one block, the tool path for the one block is drawn, and the operation of moving the tool from the start point to the end point is repeated.

【0018】更に、加工プログラムを自動作成しながら
シミュレーションを行って工具経路や工具位置を描画す
る場合において、形状入力機能によって作成された加工
形状や指定された工具および切削条件、更には、指定さ
れた加工順序等に基いてCPU1が全ての加工プログラ
ムを作成してから工具経路や工具位置の表示を行うよう
にしてもよいが、その場合の処理操作は、作成済みの加
工プログラムを走らせながらシミュレーションを行う場
合と全く同様である。
Further, in the case of performing a simulation while automatically creating a machining program to draw a tool path and a tool position, the machining shape created by the shape input function, the specified tool and cutting condition, and the specified The CPU 1 may create all the machining programs based on the machining sequence and the like, and then display the tool path and the tool position. However, in that case, the processing operation is a simulation while running the already prepared machining program. Is exactly the same as when performing.

【0019】前述した機能や処理操作に関しては従来の
ものと全く同様であるが、この実施形態のNC装置で
は、シミュレーションの描画に際してグラフィックディ
スプレイ2の表示画面がその中央で全体表示画面Aと拡
大表示画面Bとに分けられ(図2または図3参照)、全
体表示画面Aの側ではワーク全体の加工に関する工具経
路が描画される一方、拡大表示画面Bの側では予め設定
されたワークの部分加工領域とこれに関連する工具経路
のみが描画されるようになっており、この点で、従来の
ものとは構成が相違する。
Although the above-described functions and processing operations are exactly the same as those of the conventional one, in the NC device of this embodiment, the display screen of the graphic display 2 is enlarged and displayed at the center of the display screen of the graphic display 2 when drawing a simulation. It is divided into a screen B (see FIG. 2 or FIG. 3), and a tool path related to machining of the entire work is drawn on the side of the whole display screen A, while a preset partial machining of the work is performed on the side of the enlarged display screen B. Only the area and the tool path related to the area are drawn, and in this respect, the configuration is different from the conventional one.

【0020】以下、形状入力機能を用いた加工形状の入
力操作が終わった時点で自動プログラミング機能により
加工プログラムを自動作成しながら工具経路のシミュレ
ーションを行う場合を例に取って、この実施形態の処理
動作について説明する。
In the following, the processing of this embodiment will be described by taking as an example the case of simulating a tool path while automatically creating a machining program by an automatic programming function when the machining shape input operation using the shape input function is completed. The operation will be described.

【0021】まず、形状入力操作が終了した時点では、
グラフィックディスプレイ2の表示画面一杯に図2に示
すような全体表示画面Aが表示され、ワークfのプレー
ト形状と形状入力機能により作成されたポケット加工の
加工形状a,b,c,d,eが描画されている。なお、
加工順序はa,b,c,d,eの順で既に設定され、使
用すべき工具の選択や切削条件の設定も終わっているも
のとする。
First, when the shape input operation is completed,
The entire display screen A as shown in FIG. 2 is displayed on the full screen of the graphic display 2, and the plate shape of the work f and the machining shapes a, b, c, d, e of pocket machining created by the shape input function are displayed. Is drawn. In addition,
It is assumed that the processing order has already been set in the order of a, b, c, d, e, and the selection of tools to be used and the setting of cutting conditions have been completed.

【0022】オペレータは、この段階で、シミュレーシ
ョンに際して拡大表示すべき部分加工領域を設定する。
この操作は、マウス4を用いたカーソル移動と指示操作
により対角線を指定して矩形の領域を設定することによ
り行う。いわゆるラバーバンドの操作であって、カーソ
ルにより指示された2点を対角とする矩形内の領域が部
分加工領域として定義される。部分加工領域は複数の箇
所に設定可能であって、マウス4による部分加工領域の
設定操作が行われる度、CPU1はその部分加工領域の
範囲を示す座標データを、設定操作の実行毎に自動的に
更新される領域ナンバー(初期値零)に対応させてRA
M7に記憶し、設定操作終了キーの操作により、領域ナ
ンバーの最終値Nの値をRAM7に記憶する。
At this stage, the operator sets a partial processing area to be enlarged and displayed in the simulation.
This operation is performed by moving the cursor using the mouse 4 and designating a diagonal line by designating a diagonal line. This is a so-called rubber band operation, and an area within a rectangle whose two points designated by the cursor are diagonal is defined as a partial processing area. The partial machining area can be set at a plurality of locations, and whenever the setting operation of the partial machining area is performed by the mouse 4, the CPU 1 automatically sets the coordinate data indicating the range of the partial machining area every time the setting operation is executed. RA corresponding to the area number (initial value zero) updated to
The value of the final value N of the area number is stored in the RAM 7 by being stored in M7 and by operating the setting operation end key.

【0023】図2に示す全体表示画面Aでは、加工形状
a,b,c,d,eの各々に対し、この順番で部分加工
領域を設定した場合について例示している。つまり、領
域ナンバー1の座標データは、加工形状aを拡大表示す
るための部分加工領域のデータであり、以下同様に、領
域ナンバー2,3,4,5の座標データは、各々、加工
形状b,c,d,eを拡大表示するための部分加工領域
のデータである。領域ナンバーの最終値Nの値は当然5
(領域数に一致)である。
In the overall display screen A shown in FIG. 2, a case is illustrated in which partial machining areas are set in this order for each of the machining shapes a, b, c, d, and e. That is, the coordinate data of the area number 1 is data of the partial processing area for enlarging and displaying the processed shape a, and similarly, the coordinate data of the area numbers 2, 3, 4, and 5 are respectively processed shape b. , C, d, and e are data of a partial processing area for enlarged display. The final value N of the area number is naturally 5
(Matches the number of areas).

【0024】次いで、オペレータがマウス4を操作して
加工プログラム作成指令を入力し、自動プログラミング
機能とシミュレーションのための描画機能を作動させる
と、CPU1は、まず、グラフィックディスプレイ2の
表示画面を中央で2つの表示領域に分割し、全体表示画
面Aの側にワークfのプレート形状と加工形状a,b,
c,d,eを描画して、加工プログラムの自動作成と、
グラフィックディスプレイ2上における工具の現在位置
表示および工具経路表示に関する処理を開始する。
Next, when the operator operates the mouse 4 to input a machining program creation command to activate the automatic programming function and the drawing function for simulation, the CPU 1 first moves the display screen of the graphic display 2 in the center. It is divided into two display areas, and the plate shape of the work f and the processing shapes a, b,
Draw c, d, e to automatically create a machining program,
Processing for displaying the current position of the tool and displaying the tool path on the graphic display 2 is started.

【0025】その処理動作に関しては既に説明した通り
であるが、この実施形態においては、全体表示画面Aの
工具経路表示に併せて拡大表示画面Bでの工具経路表示
を実施する必要があるので、加工プログラムの自動作成
と全体表示画面A上における従来通りの工具経路表示の
処理に加え、図4に示す切り替え表示処理をタスク処理
により所定周期毎に繰り返し実行するようにしている。
全体表示画面Aにおける工具経路表示に関しては従来の
シミュレーション表示と全く同様であるので、ここで
は、図4の切り替え表示処理に関してのみ説明する。
Although the processing operation is as described above, in this embodiment, it is necessary to display the tool path on the enlarged display screen B in addition to the tool path display on the entire display screen A. In addition to the processing for automatically creating a machining program and the conventional tool path display on the overall display screen A, the switching display processing shown in FIG. 4 is repeatedly executed at predetermined intervals by task processing.
Since the tool path display on the entire display screen A is completely the same as the conventional simulation display, only the switching display processing of FIG. 4 will be described here.

【0026】切り替え表示処理を開始したCPU1は、
まず、領域ナンバーの最終値Nの値が零であるか否か、
つまり、シミュレーションに際して拡大表示すべき部分
加工領域が設定されているか否かを判別する(ステップ
S1)。
The CPU 1, which has started the switching display process,
First, whether the final value N of the area number is zero,
That is, it is determined whether or not a partial processing area to be enlarged and displayed in the simulation is set (step S1).

【0027】領域ナンバーの最終値Nの値が零である場
合、つまり、拡大表示すべき部分加工領域が全く設定さ
れていない場合においては、ステップS2以降の処理は
非実行とされる。この切り替え表示処理は、既に述べた
通り、加工プログラムの自動作成とグラフィックディス
プレイ2の全体表示画面A上における従来通りの工具経
路表示が行われている間、所定周期毎に繰り返し実行さ
れるが、この間に領域ナンバーの最終値Nの値が変わる
ことはないので、結局、切り替え表示処理においては、
この間にステップS1の判別処理が繰り返し実行される
のみであって、拡大表示領域Bには最後まで何も表示さ
れない。
When the final value N of the area number is zero, that is, when the partial processing area to be enlarged and displayed is not set at all, the processing after step S2 is not executed. As described above, this switching display processing is repeatedly executed at predetermined intervals while the automatic creation of the machining program and the conventional tool path display on the entire display screen A of the graphic display 2 are being performed. Since the final value N of the area number does not change during this time, in the end, in the switching display processing,
During this period, only the determination process of step S1 is repeatedly executed, and nothing is displayed in the enlarged display area B until the end.

【0028】一方、領域ナンバーの最終値Nの値が零以
外の値であって、シミュレーションに際して拡大表示す
べき何らかの部分加工領域が設定されている場合、CP
U1は、指標iに初期値1を設定した後(ステップS
2)、指標iの値に基いて領域ナンバーiに対応する部
分加工領域の範囲を示す座標データをRAM7から読み
込むと共に、別タスクで行われている従来通りの工具経
路表示処理により算出されている工具表示の現在位置を
読み込んで、工具表示の現在位置が領域ナンバーiの座
標データで示される部分加工領域内に含まれているか否
かを判別する(ステップS3)。
On the other hand, when the final value N of the area number is a value other than zero and some partial processing area to be enlarged and displayed in the simulation is set, CP
U1 sets the initial value 1 to the index i (step S
2) The coordinate data indicating the range of the partial machining area corresponding to the area number i is read from the RAM 7 on the basis of the value of the index i, and is calculated by the conventional tool path display processing performed in another task. The current position of the tool display is read and it is determined whether or not the current position of the tool display is included in the partial machining area indicated by the coordinate data of the area number i (step S3).

【0029】工具表示の現在位置が領域ナンバーiの座
標データで示される部分加工領域内に含まれていなけれ
ば、CPU1は指標iの値を1インクリメントし(ステ
ップS4)、該指標iの値が領域ナンバーの最終値Nの
値を越えているか否かを判別する(ステップS5)。指
標iの値が領域ナンバーの最終値Nの値を越えていなけ
れば、前述のステップS3の処理で判別対象となった部
分加工領域以外にも他の部分加工領域が設定されている
ことを意味する。
If the current position of the tool display is not included in the partial machining area indicated by the coordinate data of the area number i, the CPU 1 increments the value of the index i by 1 (step S4), and the value of the index i is changed. It is determined whether or not the final value N of the area number is exceeded (step S5). If the value of the index i does not exceed the value of the final value N of the area number, it means that another partial processing area is set in addition to the partial processing area that is the determination target in the process of step S3. To do.

【0030】従って、この場合、CPU1は、工具表示
の現在位置を含む部分加工領域がステップS3の判別処
理で検出されるか、または、指標iの値が領域ナンバー
の最終値Nの値を越えたことがステップS5の判別処理
で確認されるまでの間、前記と同様にしてステップS3
〜ステップ5の処理を繰り返し実行することになる。
Therefore, in this case, the CPU 1 detects the partial machining area including the current position of the tool display in the discrimination processing in step S3, or the value of the index i exceeds the final value N of the area number. Until it is confirmed by the determination processing in step S5 that the same as above is performed in step S3.
~ The process of step 5 is repeatedly executed.

【0031】ステップS3の判別結果が真となった場合
は、工具表示の現在位置を含む部分加工領域が検出され
たことを意味するので、CPU1は、指標iの現在値に
対応する領域ナンバーの座標データで示される部分加工
領域内の形状データ(加工形状およびワーク形状等)
と、別タスクで行われている従来通りの工具経路表示処
理により算出されている工具経路の表示データを読み込
み、グラフィックディスプレイ2の拡大表示画面Bに、
領域ナンバーiの部分加工領域内の形状データと工具現
在位置および工具経路を描画し(ステップS6)、この
処理周期における切り替え表示処理を終了する。
If the determination result of step S3 is true, it means that the partial machining area including the current position of the tool display has been detected. Therefore, the CPU 1 determines the area number corresponding to the current value of the index i. Shape data in the partial machining area indicated by the coordinate data (machining shape, workpiece shape, etc.)
Then, the display data of the tool path calculated by the conventional tool path display processing performed in another task is read, and the enlarged display screen B of the graphic display 2 is displayed.
The shape data, the current tool position, and the tool path in the partial machining area of the area number i are drawn (step S6), and the switching display processing in this processing cycle ends.

【0032】拡大表示画面Bにおける表示の一例とし
て、部分加工領域1(領域ナンバー1)に属する加工形
状aに関する加工プログラムが作成されているときの表
示状態を図2に示す。
As an example of the display on the enlarged display screen B, the display state when a machining program for the machining shape a belonging to the partial machining area 1 (area number 1) is created is shown in FIG.

【0033】図2の例では部分加工領域1が加工形状a
のみを含むかたちで設定されているので、拡大表示画面
Bに表示されるのも加工形状aの輪郭と加工形状a内の
工具経路および工具現在位置のみであるが、もし、この
領域が少し大きめに設定されて加工形状b,cの下部に
跨がるようになっていたとすれば、当然、拡大表示画面
Bには加工形状b,cの下部形状も併せて表示されるこ
とになる。
In the example of FIG. 2, the partial machining area 1 is the machining shape a.
Since only the outline of the machining shape a, the tool path and the tool current position in the machining shape a are displayed on the enlarged display screen B, the area is slightly larger than the area. If it is set so as to straddle the lower portions of the processed shapes b and c, naturally, the enlarged display screen B also displays the lower shapes of the processed shapes b and c together.

【0034】この実施形態においては全体表示画面Aと
拡大表示画面Bに工具経路や工具の現在位置を並列的に
表示するようにしているので、工具がワークf上のどの
位置にあるかは一目瞭然であるが、全体表示画面Aを設
定せずに表示画面一杯に拡大表示画面Bを表示したよう
な場合では、ワークf上のどの位置に工具が位置するか
分からなくなる場合がある。例えば、加工形状b,c,
d,eは全く同じ形状であるから、図3の例のように、
工具現在位置に応じてそのうちの1つを拡大表示して
も、実際には工具が加工形状b,c,d,eのどこに位
置するかを判断することは困難である。
In this embodiment, since the tool path and the current position of the tool are displayed in parallel on the whole display screen A and the enlarged display screen B, it is obvious which position the tool is on the work f. However, when the enlarged display screen B is displayed to fill the display screen without setting the entire display screen A, it may not be known where the tool is located on the work f. For example, the processed shapes b, c,
Since d and e have exactly the same shape, as in the example of FIG.
Even if one of them is enlarged and displayed according to the current position of the tool, it is difficult to actually determine where the tool is located in the machining shapes b, c, d, e.

【0035】全体表示画面Aを設定せずに表示画面一杯
に拡大表示画面Bを表示するようにした場合に、同一の
加工形状が複数あってワークfに対する工具現在位置が
分かりにくいような場合には、実際に拡大表示が必要と
される部分に加え、その周辺の加工形状やワーク形状等
を含めて部分加工領域を設定すると、工具位置の判定が
容易である。例えば、加工形状b,c,d,eを拡大表
示するための部分加工領域を設定する際に加工形状aの
一角を拾うようにすれば、加工形状b,c,d,eが全
く同じ形状であっても、拡大表示画面B上における加工
形状aの角と拡大表示されている加工形状との位置関係
から、加工形状b,c,d,eのどれに工具が位置する
かを容易に判断することができる。
When the enlarged display screen B is displayed to fill the display screen without setting the whole display screen A, when there are a plurality of identical machining shapes and the current position of the tool with respect to the work f is difficult to understand. The tool position can be easily determined by setting the partial machining area including the machining shape and the work shape in the periphery of the area where the enlarged display is actually required. For example, if a corner of the machining shape a is picked up when setting a partial machining area for enlarging and displaying the machining shapes b, c, d, and e, the machining shapes b, c, d, and e are exactly the same shape. However, it is easy to determine which of the machining shapes b, c, d, and e the tool is positioned from the positional relationship between the corner of the machining shape a on the enlarged display screen B and the enlarged machining shape. You can judge.

【0036】従って、必ずしも全体表示画面Aを設ける
必要はなく、拡大表示画面Bだけでもワークf全体に関
連した加工の流れを把握することは可能である。
Therefore, it is not always necessary to provide the whole display screen A, and it is possible to grasp the processing flow related to the whole work f only with the enlarged display screen B.

【0037】この切り替え表示処理は、既に述べた通
り、加工プログラムの自動作成と全体表示画面A上にお
ける従来通りの工具経路表示が行われている間、所定周
期毎に繰り返し実行されるので、工具の現在位置がステ
ップS3で一旦検出された部分加工領域iを抜けるまで
の間、拡大表示画面Bには同じ部分加工領域iが表示さ
れ続け、工具位置や工具経路の表示のみが工具の移動に
伴って順次更新して表示されて行くことになる。
As described above, this switching display process is repeatedly executed at predetermined intervals while the automatic creation of the machining program and the conventional tool path display on the entire display screen A are being performed. The same partial machining area i continues to be displayed on the enlarged display screen B until the current position of the tool exits the partial machining area i once detected in step S3, and only the tool position and the tool path are displayed for tool movement. Along with that, it will be sequentially updated and displayed.

【0038】当然、拡大表示画面Bにおける工具位置や
工具経路の表示は全体表示画面A上におけるそれと全く
同一であり(図2および図3参照)、拡大表示画面Bで
は、工具が現在位置する部分加工領域の加工形状や工具
経路および工具の大きさが拡大して表示されるに過ぎな
い。
Naturally, the display of the tool position and the tool path on the enlarged display screen B is exactly the same as that on the entire display screen A (see FIGS. 2 and 3), and in the enlarged display screen B, the portion where the tool is currently located is displayed. The machining shape of the machining area, the tool path, and the size of the tool are only enlarged and displayed.

【0039】既に述べた通り、工具経路の描画方法につ
いては、工具が工具経路を描いて行くようにするもの、
1ブロック分の工具経路を先に描画させ、この工具経路
に沿って工具が動いて行くように表示するもの、更に、
全体の工具経路を先に描画させ、この工具経路に沿って
工具が動いて行くように表示するもの等があるが、その
うちのどれを採用してもよいし、また、必要とあれば、
その全てを実施可能なように表示制御のためのプログラ
ムを組んでおいて、いずれか1つの方法を選択的に実施
させるようにすることも可能である。
As described above, the tool path drawing method is such that the tool draws the tool path,
The tool path for one block is drawn first, and the tool is displayed to move along this tool path.
There are things such as drawing the entire tool path first and displaying the tool as it moves along this tool path, but any of them may be adopted, and if necessary,
It is also possible to form a program for display control so that all of them can be executed, and selectively execute any one of the methods.

【0040】一方、ステップS5の判別処理の結果が真
となった場合は、工具の現在位置を含む部分加工領域が
設定されていないことを意味するので、CPU1は、ス
テップS6の表示処理を非実行として、この処理周期に
おける切り替え表示処理を終了することになる。
On the other hand, if the result of the discrimination processing in step S5 is true, it means that the partial machining area including the current position of the tool has not been set, so the CPU 1 does not execute the display processing in step S6. As execution, the switching display processing in this processing cycle is ended.

【0041】従って、工具が部分加工領域と部分加工領
域との間を移動する間、および、全ての部分加工領域に
関する表示を終え、それ以降の工具経路上には部分加工
領域が設定されていないといった場合には、実際には工
具現在位置がその部分加工領域内にはないにも関わら
ず、その直前に実行されたステップS6の処理で表示さ
れた部分加工領域の情報がそのまま拡大表示画面B上に
残ることになるが、この実施形態においては、全体表示
画面Aにも工具経路や工具の現在位置を並列的に表示す
るようにしているので、実際の工具現在位置を見失うと
いった問題は生じない。
Therefore, while the tool is moving between the partial machining areas, and the display regarding all the partial machining areas is completed, the partial machining areas are not set on the subsequent tool paths. In such a case, although the tool current position is not actually within the partial machining area, the information of the partial machining area displayed in the process of step S6 executed immediately before is actually displayed on the enlarged display screen B as it is. As will be left above, in this embodiment, since the tool path and the current position of the tool are displayed in parallel on the entire display screen A, there is a problem that the actual current position of the tool is lost. Absent.

【0042】工具が部分加工領域と部分加工領域との間
を移動する間、および、全ての部分加工領域に関する表
示を終え、それ以降の工具経路上には部分加工領域が設
定されていないといった場合に拡大表示画面B上に古い
表示情報が残る点に不都合があれば、ステップS5の判
別結果が真となった時点で(但し、ステップS6からの
合流前の時点)、拡大表示画面B上の表示を全てクリア
する指令を出力するようにすればよい。
While the tool is moving between the partial machining areas, and when all the partial machining areas have been displayed and no subsequent machining areas have been set on the tool path. If there is an inconvenience that old display information remains on the enlarged display screen B, the enlarged display screen B will be displayed when the determination result of step S5 becomes true (however, before the merge from step S6). A command to clear all the displays may be output.

【0043】以上、1つの例として加工プログラムを自
動作成しながらシミュレーションを行って工具経路や工
具位置を描画する場合の処理について述べたが、NC工
作機械を動作させずに作成済みの加工プログラムを走ら
せて工具移動のシミュレーションを行いながら加工プロ
グラムのチェックのみを行う場合や、実際に加工プログ
ラムでNC工作機械を駆動しながらグラフィックディス
プレイ2上で加工の進行状態を確認する場合において
も、これと同様の処理操作により対処することができ
る。
As one example, the processing in which the simulation is performed while the machining program is automatically created to draw the tool path and the tool position has been described. However, the machining program already created without operating the NC machine tool has been described. This is the same when checking only the machining program while simulating the tool movement by running it, or when checking the progress of machining on the graphic display 2 while actually driving the NC machine tool with the machining program. Can be dealt with by the processing operation of.

【0044】当然、その適用範囲はNC装置のみではな
く、一般的なCAD/CAMシステムや自動プログラミ
ング装置等に対しても同様にして適用することができ
る。
As a matter of course, the applicable range is not limited to the NC device, but can be similarly applied to a general CAD / CAM system or an automatic programming device.

【0045】また、加工形状や工具位置および工具経路
に関する表示は、全体表示画面Aにおいても、また、拡
大表示画面Bにおいても、第三角法における平面図を利
用するものの他、等角投影,二等角投影,不等角投影等
を初めとする立体的な表示方法を採用することができ、
この点に関しては従来のシミュレーション表示において
も公知である。
Further, the display regarding the machining shape, the tool position and the tool path is performed on the whole display screen A and the enlarged display screen B by using the plan view in the trigonometric method, as well as the isometric projection and the two-dimensional projection. It is possible to adopt a stereoscopic display method such as isometric projection and non-isometric projection.
This point is also known in the conventional simulation display.

【0046】[0046]

【発明の効果】本発明によれば、工具経路を拡大表示し
たい部分加工領域が複数ある場合でも、工具の移動位置
に応じ、拡大表示すべき部分加工領域を自動的に選択さ
せて拡大表示させることができる。
According to the present invention, even when there are a plurality of partial machining areas for which the tool path is desired to be enlarged, the partial machining areas to be enlarged are automatically selected and enlarged according to the movement position of the tool. be able to.

【0047】また、拡大表示される部分加工領域は工具
の移動する順序に従って現れるため、全体の加工の流れ
を容易に把握できる。
Further, since the enlarged and displayed partial machining areas appear in the order in which the tools move, it is possible to easily grasp the entire machining flow.

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

【図1】本発明方法を適用した一実施形態のNC装置の
要部を示すブロック図である。
FIG. 1 is a block diagram showing a main part of an NC device of an embodiment to which a method of the present invention is applied.

【図2】同装置のグラフィックディスプレイ上における
全体表示画面および拡大表示画面の表示例を示す図であ
る。
FIG. 2 is a diagram showing a display example of an entire display screen and an enlarged display screen on a graphic display of the same device.

【図3】同装置のグラフィックディスプレイ上における
全体表示画面および拡大表示画面の表示例を示す図であ
る。
FIG. 3 is a diagram showing a display example of an entire display screen and an enlarged display screen on a graphic display of the same device.

【図4】同実施形態における切り替え表示処理を概略で
示すフローチャートである。
FIG. 4 is a flowchart schematically showing a switching display process in the same embodiment.

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

1 マイクロプロセッサ 2 グラフィックディスプレイ(表示画面) 3 キーボード(入力装置) 4 マウス(入力装置) 5 バス 6 ROM 7 RAM 8 ハードディスク 9 ディスクドライブユニット 10 フロッピーディスク A 全体表示画面 B 拡大表示画面 a〜e 加工形状 f ワーク 1 Microprocessor 2 Graphic display (display screen) 3 Keyboard (input device) 4 Mouse (input device) 5 Bus 6 ROM 7 RAM 8 Hard disk 9 Disk drive unit 10 Floppy disk A Overall display screen B Enlarged display screen a to e Processing shape f work

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 表示画面上に工具経路を描画させて工具
経路を確認する工具経路描画方法において、拡大表示す
べきワークの部分加工領域を予め複数箇所設定して記憶
しておき、工具の移動位置に応じ、該工具位置が属する
部分加工領域を自動的に切り替えて拡大表示させ、この
拡大表示画面に工具の移動経路を描画するようにしたこ
とを特徴とする工具経路描画方法。
1. In a tool path drawing method for checking a tool path by drawing a tool path on a display screen, a plurality of partial machining areas of a work to be enlarged and displayed are set and stored in advance, and a tool is moved. According to a position, a partial machining area to which the tool position belongs is automatically switched to be enlarged and displayed, and a movement path of the tool is drawn on the enlarged display screen.
【請求項2】 表示画面上に工具経路を描画させて工具
経路を確認する工具経路描画方法において、拡大表示す
べきワークの部分加工領域を予め複数箇所設定して記憶
しておき、表示画面を任意の大きさの2つの画面に分割
し、ワークの全容を表示する全体表示画面と、部分加工
領域を表示する拡大表示画面とを設け、前記全体表示画
面に工具の移動経路を描画すると共に、工具の移動位置
に応じ、該工具位置が属する前記部分加工領域を自動的
に切り替えて前記拡大表示画面に拡大表示し、この拡大
表示画面に工具の移動経路を描画するようにしたことを
特徴とする工具経路描画方法。
2. In a tool path drawing method for confirming a tool path by drawing a tool path on a display screen, a plurality of partial machining areas of a workpiece to be enlarged and displayed are set and stored in advance, and the display screen is displayed. The display is divided into two screens of arbitrary size, and an overall display screen for displaying the whole work and an enlarged display screen for displaying the partial machining area are provided, and the movement path of the tool is drawn on the overall display screen. According to the movement position of the tool, the partial machining area to which the tool position belongs is automatically switched to be enlarged and displayed on the enlarged display screen, and the movement path of the tool is drawn on the enlarged display screen. Tool path drawing method.
【請求項3】 ワークの全容を表示画面上に表示させ、
拡大表示すべき部分加工領域を入力装置からの手動入力
操作で入力記憶させるようにしたことを特徴とする請求
項1または請求項2記載の工具経路描画方法。
3. The entire work is displayed on the display screen,
3. The tool path drawing method according to claim 1, wherein the partial machining area to be enlarged and displayed is input and stored by a manual input operation from an input device.
JP29889695A 1995-10-24 1995-10-24 Tool path plotting method Withdrawn JPH09120308A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP29889695A JPH09120308A (en) 1995-10-24 1995-10-24 Tool path plotting method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP29889695A JPH09120308A (en) 1995-10-24 1995-10-24 Tool path plotting method

Publications (1)

Publication Number Publication Date
JPH09120308A true JPH09120308A (en) 1997-05-06

Family

ID=17865565

Family Applications (1)

Application Number Title Priority Date Filing Date
JP29889695A Withdrawn JPH09120308A (en) 1995-10-24 1995-10-24 Tool path plotting method

Country Status (1)

Country Link
JP (1) JPH09120308A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0997802A1 (en) * 1998-10-21 2000-05-03 WITTMANN KUNSTSTOFFGERÄTE Ges.m.b.H. Method of carrying out a teaching path of a manipulator
JP2005001033A (en) * 2003-06-10 2005-01-06 Fanuc Ltd Machining monitor
CN100344400C (en) * 2004-03-16 2007-10-24 发那科株式会社 Machining configuration drawing apparatus and machining configuration drawing method
WO2013118179A1 (en) * 2012-02-09 2013-08-15 三菱電機株式会社 Tool-path displaying method and tool-path displaying apparatus
JPWO2013118179A1 (en) * 2012-02-09 2015-05-11 三菱電機株式会社 Tool path display method and tool path display device

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0997802A1 (en) * 1998-10-21 2000-05-03 WITTMANN KUNSTSTOFFGERÄTE Ges.m.b.H. Method of carrying out a teaching path of a manipulator
JP2005001033A (en) * 2003-06-10 2005-01-06 Fanuc Ltd Machining monitor
CN100344400C (en) * 2004-03-16 2007-10-24 发那科株式会社 Machining configuration drawing apparatus and machining configuration drawing method
US7346424B2 (en) 2004-03-16 2008-03-18 Fanuc Ltd Machining configuration drawing apparatus and machining configuration drawing method
WO2013118179A1 (en) * 2012-02-09 2013-08-15 三菱電機株式会社 Tool-path displaying method and tool-path displaying apparatus
JPWO2013118179A1 (en) * 2012-02-09 2015-05-11 三菱電機株式会社 Tool path display method and tool path display device

Similar Documents

Publication Publication Date Title
US6236399B1 (en) Display method for information setting screen along process flow and a multi-window type NC apparatus having such function
EP1189123B1 (en) Automatic programming and simulation apparatus
CN106462141B (en) Control device for machine tool
JPH02293903A (en) Cad/cam device
JPH0554129B2 (en)
JP6351738B2 (en) Machine tool controller
US20200094408A1 (en) Device which supports programming for robots
KR20120085420A (en) Cutting shape input apparatus and method using interactive program in computer numarical control machine tools
JP2883429B2 (en) Sewing machine sewing data creation device
JPH04181403A (en) Interactive numerical controller
JPH09120308A (en) Tool path plotting method
JPH07311612A (en) Method and device for editing machining program of numerical controller
KR0182393B1 (en) Assumed computer numerical value control nc system & method
KR101610386B1 (en) Cutting shape input apparatus and method using cutting program in computer numarical control machine tools
JPH01316804A (en) Contour shape defining method
JP3660038B2 (en) Numerical controller
JPH01231104A (en) Display method for tool locus
JP3977458B2 (en) Interactive automatic programming device
JP7436796B2 (en) Robot program creation support device
WO2022107822A1 (en) Controller
JPH0722875B2 (en) How to display taper angle setting of programming device
JPS63709A (en) Interactive nc device
JPH04344504A (en) Numerical controller
JP2573209Y2 (en) Tool path display device for NC equipment
JPH077839U (en) Numerical control 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: 20030107