[go: up one dir, main page]

JPH07160317A - Tool path plotting method - Google Patents

Tool path plotting method

Info

Publication number
JPH07160317A
JPH07160317A JP33983793A JP33983793A JPH07160317A JP H07160317 A JPH07160317 A JP H07160317A JP 33983793 A JP33983793 A JP 33983793A JP 33983793 A JP33983793 A JP 33983793A JP H07160317 A JPH07160317 A JP H07160317A
Authority
JP
Japan
Prior art keywords
tool
display attribute
speed
data
cutting feed
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
JP33983793A
Other languages
Japanese (ja)
Inventor
Maki Seki
真樹 関
Takashi Takegahara
隆史 竹ヶ原
Shigetoshi Takagi
成年 高木
Osamu Hanaoka
修 花岡
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 JP33983793A priority Critical patent/JPH07160317A/en
Publication of JPH07160317A publication Critical patent/JPH07160317A/en
Withdrawn legal-status Critical Current

Links

Landscapes

  • Numerical Control (AREA)

Abstract

PURPOSE:To easily know the feed speed of a tool by selecting the display attribute of a movement track according to a tool moving speed commanded with NC data and plotting the path. CONSTITUTION:In a tool path plotting process by an interactive numerical control unit wherein NC data for machining are already stored in a nonvolatile memory 34 and the tool path of machining is plotted, a processor 31 which has detected a display attribute corresponding to the parameter set value of a noncutting feed speed after setting the display attribute in a display attribute storage register for noncutting feed reads the parameter set value of a cutting feed speed out of a nonvolatile memory 14 and temporarily stores it in a command speed storage register. A similar process is repeated for the parameter set value of the cutting feed speed and then a display attribute corresponding to the parameter set value of the cutting feed speed is detected to set the display attribute corresponding to the parameter set value in a display attribute storage register for cutting feed. Then the tool path is plotted with the display attribute (color, etc.) corresponding to the tool moving speed.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は工具軌跡描画方法の改良
に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to improvement of a tool trajectory drawing method.

【0002】[0002]

【従来の技術】工具の移動軌跡を非切削送りと切削送り
とに分けて点線および実線により描画するようにした工
具軌跡描画方法が公知である。しかし、従来の工具軌跡
描画方法では、移動指令が非切削送りであるか切削送り
であるかに応じて点線もしくは実線のいずれか一方を選
択して描画していたに過ぎず、この結果、非切削送りや
切削送りに関する速度パラメータの設定値を変更しても
ディスプレイ画面上からこれを知ることはできない。ま
た、切削送りの場合には荒取りや仕上げ等といった切削
条件の相違に応じて切削送りの速度を加工プログラム中
で様々に変更することがあるが、ディスプレイ画面上か
ら切削送りに関する速度の情報を知ることはできない。
2. Description of the Related Art A tool locus drawing method is known in which a tool moving locus is divided into non-cutting feed and cutting feed and drawn by dotted lines and solid lines. However, in the conventional tool path drawing method, only one of the dotted line and the solid line is selected and drawn according to whether the movement command is the non-cutting feed or the cutting feed. Even if the cutting feed or the setting value of the speed parameter related to the cutting feed is changed, this cannot be known from the display screen. In the case of cutting feed, the cutting feed speed may be changed variously in the machining program according to the difference in cutting conditions such as rough cutting and finishing. I can't know.

【0003】[0003]

【発明が解決しようとする課題】本発明の目的は、前記
従来技術の欠点を解消し、グラフィックディスプレイ上
の工具移動軌跡により、その区間で設定されている工具
の送り速度を容易に知ることのできる工具軌跡描画方法
を提供することにある。
SUMMARY OF THE INVENTION An object of the present invention is to solve the above-mentioned drawbacks of the prior art and to easily know the feed rate of the tool set in the section by the tool movement trajectory on the graphic display. It is to provide a tool trajectory drawing method that can be performed.

【0004】[0004]

【課題を解決するための手段】本発明は、NCデータに
より指令される工具移動速度に応じて移動軌跡の表示属
性を選択して描画する構成により前記目的を達成した。
The present invention has achieved the above object by a configuration in which the display attribute of a movement path is selected and drawn according to the tool movement speed instructed by NC data.

【0005】一実施態様としての工具軌跡描画方法で
は、工具送り速度に応じた色彩で工具移動軌跡を描画す
ることにより、この目的を達成した。
In the tool locus drawing method as one embodiment, this object is achieved by drawing the tool movement locus in a color according to the tool feed speed.

【0006】[0006]

【作用】NCデータにより指令される工具送り速度に応
じて移動軌跡の表示属性を選択してグラフィックディス
プレイ上に描画させることにより、その区間で設定され
ている工具の送り速度を目視確認する。
By selecting the display attribute of the movement trajectory according to the tool feed speed instructed by the NC data and drawing it on the graphic display, the tool feed speed set in the section is visually confirmed.

【0007】[0007]

【実施例】以下、図面を参照して本発明の実施例を説明
する。図1は、自動プログラミング機能を有する対話形
数値制御装置の構成を一例で示すブロック図である。
Embodiments of the present invention will be described below with reference to the drawings. FIG. 1 is a block diagram showing an example of the configuration of an interactive numerical control device having an automatic programming function.

【0008】プロセッサ11はROM12に格納された
システムプログラムに従って対話形数値制御装置全体を
制御する。ROM12にはEPROMあるいはEEPR
OMが使用される。RAM13はSRAM等が使用さ
れ、各種のデータあるいは入出力信号が格納される。不
揮発性メモリ14には図示されていないバッテリによっ
てバックアップされたCMOSが使用され、一旦格納さ
れた各種のデータは電源切断後もそのまま保持される。
The processor 11 controls the entire interactive numerical controller according to the system program stored in the ROM 12. ROM12 has EPROM or EEPR
OM is used. SRAM 13 is used as the RAM 13, and various data or input / output signals are stored therein. A CMOS backed up by a battery (not shown) is used for the non-volatile memory 14, and various data once stored are retained as they are even after the power is turned off.

【0009】グラフィック制御回路15はディジタル信
号を表示用の信号に変換し、表示装置16に与える。表
示装置16におけるグラフィックディスプレイとしては
CRTあるいは液晶表示装置が使用される。表示装置1
6は対話形式で加工プログラムを作成していくときに、
形状,加工条件等を表示する。
The graphic control circuit 15 converts the digital signal into a signal for display and gives it to the display device 16. As the graphic display in the display device 16, a CRT or a liquid crystal display device is used. Display device 1
6 is when creating a machining program interactively,
Display the shape and processing conditions.

【0010】キーボード17は形状要素キー、数値キー
等からなり、必要な図形データ等をこれらのキーを使用
して入力する。
The keyboard 17 is composed of shape element keys, numerical keys and the like, and necessary graphic data and the like are input using these keys.

【0011】軸制御回路18はプロセッサ11から、軸
の移動指令を受けて、軸の指令をサーボアンプ19に出
力する。サーボアンプ19はこの移動指令を受けて、工
作機械20のサーボモータを駆動する。これらの構成要
素はバス21によって互いに結合されている。
The axis control circuit 18 receives the axis movement command from the processor 11 and outputs the axis command to the servo amplifier 19. The servo amplifier 19 receives the movement command and drives the servo motor of the machine tool 20. These components are coupled to each other by a bus 21.

【0012】PMC(プログラマブル・マシン・コント
ローラ)22はNCプログラムの実行時に、バス21経
由でT機能信号(工具選択指令)等を受け取る。そし
て、この信号をシーケンス・プログラムで処理して、動
作指令として信号を出力し、工作機械20を制御する。
また、工作機械20から状態信号を受けて、シーケンス
処理を行った後、バス21を経由して、プロセッサ11
に必要な入力信号を転送する。
A PMC (Programmable Machine Controller) 22 receives a T function signal (tool selection command) or the like via the bus 21 when executing an NC 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.
In addition, after receiving a status signal from the machine tool 20 and performing a sequence process, the processor 11 is connected via the bus 21.
Transfer the required input signal to.

【0013】更に、バス21には、システムプログラム
等によって機能が変化するソフトウェアキー23、NC
データをフロッピーディスク装置(FDD)、プリンタ
あるいは紙テープリーダ(PTR)などの外部機器に送
るシリアルインタフェース24が接続されている。この
ソフトウェアキー23は、前記表示装置16、キーボー
ド17と共にCRT/MDIパネル25に設けられる。
Further, on the bus 21, there are software keys 23 and NC whose functions are changed by a system program or the like.
A serial interface 24 is connected to send data to an external device such as a floppy disk device (FDD), printer or paper tape reader (PTR). The software key 23 is provided on the CRT / MDI panel 25 together with the display device 16 and the keyboard 17.

【0014】前記バス21には、NC用のCPUである
プロセッサ11とは別に、バス30を有する対話用のプ
ロセッサ31が接続される。バス30にはROM32、
RAM33および不揮発性メモリ34が接続されてい
る。
To the bus 21, in addition to the processor 11 which is the CPU for NC, a processor 31 for interaction having a bus 30 is connected. ROM 32 on the bus 30,
The RAM 33 and the non-volatile memory 34 are connected.

【0015】前記表示装置16に表示される対話形デー
タの入力画面は、ROM32に格納されている。この対
話形データの入力画面において、NC文の作成時にバッ
クグランドアニメーションとして、該NC文に関する情
報、例えば、工具の全体の動作軌跡などが表示される。
また、表示装置16にはその入力画面により設定可能な
作業又はデータが、メニュー形式で表示される。メニュ
ーのうちどの項目を選択するかは、メニューに対応し
て、画面下部に配置されたソフトウェアキー23により
行う。ソフトウェアキー23の意味は各画面毎に変化す
る。RAM33にはSRAM等が使用され、ここに対話
用の各種データが格納される。
The interactive data input screen displayed on the display device 16 is stored in the ROM 32. On this interactive data input screen, information relating to the NC sentence, for example, the overall movement trajectory of the tool is displayed as a background animation when the NC sentence is created.
Further, the work or data that can be set by the input screen is displayed on the display device 16 in a menu format. The item to be selected from the menu is selected by the software key 23 arranged at the bottom of the screen corresponding to the menu. The meaning of the software key 23 changes for each screen. An SRAM or the like is used as the RAM 33, and various data for dialogue are stored therein.

【0016】入力されたデータは対話用のプロセッサ3
1により処理され、ワーク加工プログラムが作成され
る。作成されたプログラムデータは、対話形式で使用さ
れる表示装置16に、逐次にバックグランドアニメーシ
ョン表示される。また、不揮発性メモリ34にNC文と
して格納されたワーク加工プログラムは、工作機械20
による加工の際にも実行され、フォアグランドアニメー
ション表示される。
The input data is the processor 3 for dialogue.
1 to process a workpiece machining program. The created program data is sequentially background-animated on the display device 16 used interactively. Further, the work machining program stored as the NC sentence in the non-volatile memory 34 is stored in the machine tool 20.
It is also executed when processing by, and the foreground animation is displayed.

【0017】図4は、本実施例の対話形数値制御装置に
おける工具軌跡描画処理の概略をフォアグランドアニメ
ーション表示の場合、即ち、対話形数値制御装置により
既に作成されているNCデータを次々と読出して工具軌
跡を描画させる場合のプロセッサ31の処理を例に取っ
て示すものである。バックグランドアニメーション表示
の場合では、ステップS1〜ステップS6の処理を一旦
行った後、NC文の作成に必要とされる形状,加工条件
等のデータが対話形式で入力され、NCデータへの翻訳
が行われて1ブロックのNCデータが作成される度にス
テップS7以降の処理が繰り返し実行されることになる
が、全体の処理内容自体は実質的に図4に示すものと同
一である。
FIG. 4 shows the outline of the tool trajectory drawing process in the interactive numerical control apparatus of this embodiment in the case of foreground animation display, that is, the NC data already created by the interactive numerical control apparatus is read one after another. The processing of the processor 31 in the case of drawing a tool locus by using the drawing is shown as an example. In the case of the background animation display, after the processes of steps S1 to S6 are once performed, the data such as the shape and the processing conditions required for creating the NC sentence are input in an interactive format and the translation into the NC data is performed. Every time one block of NC data is created, the process from step S7 is repeatedly executed, but the entire process content itself is substantially the same as that shown in FIG.

【0018】この種の対話形数値制御装置を用いたNC
データの生成過程、即ち、形状,加工条件等の入力デー
タを翻訳してNCデータに変換するための処理について
は既に公知となっているので説明を省略し、ここでは旋
盤加工の例を取って、生成されたNCデータによる工具
の移動軌跡と送り速度との対応関係について簡単に説明
する。
NC using this type of interactive numerical control device
The data generation process, that is, the process for translating the input data such as the shape and the processing conditions and converting the input data into the NC data is already known, and therefore the description thereof is omitted. Here, an example of lathe processing is taken. A brief description will be given of the correspondence relationship between the tool movement trajectory and the feed rate based on the generated NC data.

【0019】図2はワークの回転軸に対応するZ軸とこ
れに直交するX軸とで構成される座標系に座標位置を指
定して切削領域を指定することによりZ軸を中心として
回転する円柱状のワークの外周に段付のテーパ形状を加
工する場合の工具軌跡の例である。この例では、最終仕
上げ形状と切削領域の入力操作を対話形数値制御装置に
対して行うことにより、その自動プログラミング機能に
よって、図中の破線および一点鎖線で形成される矩形を
積層したような荒取り加工のための工具軌跡(一部を丸
数字で示す工具軌跡)と、最終仕上げ形状との間に一定
の仕上げ代を残して最終仕上げ形状に沿って工具を移動
させる図中の二点鎖線で示されるような中仕上げ加工の
ための工具軌跡(T−U間の工具軌跡)、および、最終
仕上げ形状に沿って工具を移動させる図中の細い実線で
示されるような仕上げ加工のための工具軌跡(Q−R間
の工具軌跡)が自動的に生成され、更に、各加工工程毎
の切削送り速度や工具の位置決めや退避のための非切削
送り速度のNCデータが対話データ入力時の設定条件や
システムパラメータの現在値等に基いて自動的に生成さ
れる。
In FIG. 2, the workpiece is rotated about the Z axis by designating the cutting position by designating the coordinate position in the coordinate system composed of the Z axis corresponding to the rotation axis of the workpiece and the X axis orthogonal to the Z axis. It is an example of a tool locus in the case of processing a stepped taper shape on the outer periphery of a cylindrical work. In this example, by inputting the final finishing shape and the cutting area to the interactive numerical control device, its automatic programming function makes it possible to perform rough operations such as stacking of rectangles formed by broken lines and dashed lines in the figure. A chain double-dashed line in the figure that moves the tool along the final finish shape leaving a certain finishing allowance between the tool trajectory for machining (the tool trajectory partially indicated by circled numbers) and the final finish shape. Tool path for semi-finishing (tool path between T-U) as shown in, and for finishing as shown by the thin solid line in the figure that moves the tool along the final finish shape. Tool locus (tool locus between QR) is automatically generated, and NC data of cutting feed rate for each machining process and non-cutting feed rate for tool positioning and withdrawal are automatically input when interactive data is input. Setting conditions It is automatically generated based on the current value or the like of the system parameters.

【0020】なお、図2で示される加工動作について簡
単に説明すると、まず、工具はイニシャルポイントであ
るP点からX軸方向およびZ軸方向の仕上げ代分(U/
2,W)だけ逃げてS点に退避し(の破線の動作)、
1回の切込み量Rの分だけX軸に沿って工具を突込み
(の破線の動作)、Z軸に沿って切削を行う(の一
点鎖線の動作)。そして、最終仕上げ形状に対してZ軸
方向の仕上げ代の分だけ手前の点に達すると、切込み量
Rの分だけX軸方向に退避し(の一点鎖線の動作)、
S点までZ軸に沿って戻り(の破線の動作)、再び、
S点の位置からの破線で示す切込み加え、以下、,
,・・・と同様の動作を繰り返し実行して、T点ま
での荒取り加工を行う。そして、T点まで達すると、X
軸方向およびZ軸方向に仕上げ代分だけ逃げた二点鎖線
で示す工具軌跡に沿ってU点まで中仕上げ加工を行い、
その後P点まで復帰してQ点に移行し、最終仕上げ形状
に沿ってR点まで移動して最終的な仕上げ加工を行う。
この内、破線で示す工具軌跡は工具が直接ワークと接触
しない非切削送りであり、NCデータで与えられる送り
速度も大きい。また、ワークの発熱によって生じる削り
込みや刃先の不用意な食い込みを防止するため、荒取り
加工(一点鎖線の動作)>中仕上げ加工(二点鎖線の動
作)>仕上げ加工(実線の動作)の順で工具の切削送り
速度は徐々に遅く与えられる。
The machining operation shown in FIG. 2 will be briefly described. First, the tool starts from point P, which is the initial point, in the X-axis and Z-axis finishing allowances (U /
2, W) escape and retreat to point S (the operation of the broken line),
The tool is rushed along the X axis by the amount of one cut R (the operation indicated by the broken line), and the cutting is performed along the Z axis (the operation indicated by the alternate long and short dash line). Then, when it reaches a point in front of the final finished shape by the amount of finishing allowance in the Z-axis direction, it is retracted in the X-axis direction by the cutting amount R (the operation indicated by the chain line).
Returning to the S point along the Z-axis (the operation of the broken line),
In addition to the cut shown by the broken line from the position of point S,
, And so on are repeatedly executed to perform rough cutting up to the point T. Then, when the point reaches T, X
Performs mid-finishing up to point U along the tool locus indicated by the two-dot chain line that has escaped by the finishing allowance in the axial and Z-axis directions.
After that, it returns to the point P, moves to the point Q, moves to the point R along the final finish shape, and performs the final finishing.
Among these, the tool locus shown by the broken line is a non-cutting feed in which the tool does not come into direct contact with the work, and the feed speed given by the NC data is also large. In addition, in order to prevent shaving and inadvertent biting of the cutting edge caused by heat generation of the work, rough cutting (dashed line operation)> semi-finishing (dashed line operation)> finishing (solid line operation) In order, the cutting feed rate of the tool is gradually reduced.

【0021】以下、図2に示されるような加工のための
NCデータが不揮発性メモリ34に既に格納され、この
加工の工具軌跡を描画させるものとして、実施例の対話
形数値制御装置による工具軌跡描画処理を説明する。
Hereinafter, the NC data for machining as shown in FIG. 2 is already stored in the non-volatile memory 34, and the tool trajectory of this machining is drawn by drawing the tool trajectory of this machining. The drawing process will be described.

【0022】工具軌跡描画処理を開始したプロセッサ3
1は、まず、位置決めおよび退避のための非切削送り速
度のパラメータ設定値Vjを不揮発性メモリ14から読
込んで指令速度記憶レジスタVに一時記憶し(ステップ
S1)、ステップa1〜ステップa4で示すサブルーチ
ンの処理を行って、非切削送り速度のパラメータ設定値
Vjが属する速度の範囲を予め不揮発性メモリ34内に
設定記憶されている表示属性記憶ファイルの中から検索
し、これに対応する表示属性を求める(ステップS
2)。
Processor 3 that started the tool trajectory drawing process
First, the parameter setting value Vj of the non-cutting feed speed for positioning and retracting is read from the nonvolatile memory 14 and temporarily stored in the command speed storage register V (step S1), and the subroutine 1 shown in steps a1 to a4 is executed. Is performed to search the range of the speed to which the parameter setting value Vj of the non-cutting feed speed belongs in the display attribute storage file that is preset and stored in the non-volatile memory 34, and the display attribute corresponding to this is searched. Ask (Step S
2).

【0023】図3に示す表示属性記憶ファイルの例で
は、指令速度Vが設定値V0以下のときに属性C0、例
えば、緑色の工具軌跡が対応するようになっており、以
下、同様に、V0<V≦V1の速度範囲には属性C1
(茶色の工具軌跡)、V1<V≦V2の速度範囲には属
性C2(黄色の工具軌跡)、V2<V≦V3の速度範囲
には属性C3(紫色の工具軌跡)、V3<Vの速度範囲
には属性C4(赤色の工具軌跡)が対応するようになっ
ている。
In the example of the display attribute storage file shown in FIG. 3, when the command speed V is the set value V0 or less, the attribute C0, for example, the green tool locus is made to correspond. Attribute C1 in the speed range of <V ≦ V1
(Brown tool locus), attribute C2 (yellow tool locus) in the speed range of V1 <V ≦ V2, attribute C3 (purple tool locus), speed of V3 <V in the speed range of V2 <V ≦ V3 Attribute C4 (red tool locus) corresponds to the range.

【0024】そこで、サブルーチンの処理を開始したプ
ロセッサ31は、まず、速度範囲検索指標kの値を一旦
0に初期化した後(ステップa1)、速度範囲検索指標
kの値が表示属性記憶ファイルの設定速度範囲の上限値
の添字数3を越えるか(ステップa2)、もしくは、指
令速度V以上の速度を有する設定速度範囲の上限値Vk
が検出されるまでの間(ステップa3)、速度範囲検索
指標kの値を順次インクリメントして行く(ステップa
4)。ステップa3の判別結果が真となった場合は指令
速度Vを含む速度範囲がk≦3の範囲で検出されたこと
を意味し、この場合、その速度範囲に対応する属性はC
k、即ち、C0,C1,C2,C3のいずれかである。
また、ステップa2の判別結果が真となった場合は添字
数3を有する設定速度範囲の上限値の最大値V3よりも
指令速度Vの方が大きいことを意味し、この場合、その
速度範囲に対応する属性はCk、即ち、C4である。
Therefore, the processor 31 which has started the processing of the subroutine first initializes the value of the speed range search index k to 0 (step a1), and then the value of the speed range search index k is stored in the display attribute storage file. Whether the upper limit value of the set speed range exceeds 3 (step a2), or the upper limit value Vk of the set speed range having a speed equal to or higher than the command speed V
Is detected (step a3), the value of the speed range search index k is sequentially incremented (step a3).
4). If the determination result of step a3 is true, it means that the speed range including the command speed V is detected within the range of k ≦ 3. In this case, the attribute corresponding to the speed range is C.
k, that is, one of C0, C1, C2, and C3.
When the determination result of step a2 is true, it means that the command speed V is larger than the maximum value V3 of the upper limit value of the set speed range having the subscript number 3, and in this case, the speed range The corresponding attribute is Ck, ie C4.

【0025】このようにして非切削送り速度のパラメー
タ設定値Vjに対応する表示属性Ckを検出したプロセ
ッサ31は、非切削送り用表示属性記憶レジスタCjに
表示属性Ckを設定した後(ステップS3)、更に、切
削送り速度のパラメータ設定値Vcを不揮発性メモリ1
4から読込んで指令速度記憶レジスタVに一時記憶し
(ステップS4)、切削送り速度のパラメータ設定値V
cに対して前記のステップS2と同様の処理を繰り返し
実行することにより、切削送り速度のパラメータ設定値
Vcに対応する表示属性Ckを検出して(ステップS
5)、切削送り用表示属性記憶レジスタCcにパラメー
タ設定値Vcに対応する表示属性Ckを設定する(ステ
ップS6)。
After detecting the display attribute Ck corresponding to the parameter setting value Vj of the non-cutting feed speed in this way, the processor 31 sets the display attribute Ck in the non-cutting feed display attribute storage register Cj (step S3). Furthermore, the parameter setting value Vc of the cutting feed speed is stored in the nonvolatile memory 1
4 and temporarily store in the command speed storage register V (step S4), and the parameter setting value V of the cutting feed speed is read.
The display attribute Ck corresponding to the parameter setting value Vc of the cutting feed rate is detected by repeatedly performing the same processing as that of step S2 for c (step S
5) The display attribute Ck corresponding to the parameter setting value Vc is set in the cutting feed display attribute storage register Cc (step S6).

【0026】次いで、プロセッサ31は不揮発性メモリ
34に格納されているNCデータを1ブロック読込み
(ステップS7)、このブロックがプログラムエンドを
示すものであるか否かを判別する(ステップS8)。プ
ログラムエンドを示すものでなければ、プロセッサ31
は、更に、このブックが切削送り指令,非切削送り指
令,送り速度指令のいずれかに属するものであるのか、
または、その他の指令であるのかを判別する(ステップ
S9〜ステップS11)。
Next, the processor 31 reads one block of NC data stored in the non-volatile memory 34 (step S7), and determines whether this block indicates a program end (step S8). If it does not indicate the program end, the processor 31
Is whether the book belongs to any of the cutting feed command, non-cut feed command, and feed speed command,
Alternatively, it is determined whether the command is another command (steps S9 to S11).

【0027】そして、ステップS9の判別結果が真とな
って今回読込まれた1ブロックのNCデータが切削送り
指令であることが確認されれば、プロセッサ31は、切
削送り用表示属性記憶レジスタCcに現時点で記憶され
ている表示属性に基いて該1ブロック分の切削送り指令
に対応する工具軌跡を表示装置16のグラフィックディ
スプレスイ上に描画し(ステップS12)、ステップS
7の処理へと移行して不揮発性メモリ34から次のNC
データを1ブロック読込む。
When the determination result of step S9 is true and the one block of NC data read this time is confirmed to be the cutting feed command, the processor 31 stores the cutting feed display attribute storage register Cc. A tool locus corresponding to the cutting feed command for the one block is drawn on the graphic display of the display device 16 based on the display attributes currently stored (step S12), and step S12 is performed.
7 and the next NC from the non-volatile memory 34.
Read one block of data.

【0028】また、ステップS9の判別結果が偽となる
一方、ステップS10の判別結果が真となって今回読込
まれた1ブロックのNCデータが非切削送り指令である
ことが確認されれば、プロセッサ31は、非切削送り用
表示属性記憶レジスタCjに現時点で記憶されている表
示属性に基いて該1ブロック分の非切削送り指令に対応
する工具軌跡を表示装置16のグラフィックディスプレ
スイ上に描画し(ステップS13)、ステップS7の処
理へと移行して不揮発性メモリ34から次のNCデータ
を1ブロック読込む。
If the determination result of step S9 becomes false while the determination result of step S10 becomes true and it is confirmed that the NC data of one block read this time is the non-cut feed command, the processor Numeral 31 draws a tool path corresponding to the non-cutting feed command for the one block on the graphic display of the display device 16 based on the display attributes currently stored in the non-cutting feed display attribute storage register Cj. (Step S13), the process proceeds to step S7 to read one block of the next NC data from the non-volatile memory 34.

【0029】また、ステップS9およびステップS10
の判別結果が共に偽となる一方、ステップS11の判別
結果が真となって今回読込まれた1ブロックのNCデー
タが送り速度指令であることが確認されれば、プロセッ
サ31は、該ブロックにより新たに指令された切削送り
速度の値Vpを指令速度記憶レジスタVに一時記憶し
(ステップS14)、新たに指令された切削送り速度の
値Vpに対して前記のステップS2およびステップS5
と同様の処理を実行することにより、新たに指令された
切削送り速度の値Vpに対応する表示属性Ckを検出し
(ステップS15)、切削送り用表示属性記憶レジスタ
Ccに更新設定した後(ステップS16)、ステップS
7の処理へと移行して不揮発性メモリ34から次のNC
データを1ブロック読込む。
Further, step S9 and step S10
If the determination result of step S11 is true and the NC data of one block read this time is the feed speed command, the processor 31 determines that the block Is temporarily stored in the command speed storage register V (step S14), and the above-mentioned steps S2 and S5 are performed for the newly commanded cutting feed speed value Vp.
The display attribute Ck corresponding to the newly commanded value Vp of the cutting feed speed is detected by executing the same processing as in (step S15), and the cutting feed display attribute storage register Cc is updated and set (step S15). S16), step S
7 and the next NC from the non-volatile memory 34.
Read one block of data.

【0030】ステップS4〜ステップS6の処理で切削
送り用表示属性記憶レジスタCcに設定された表示属
性、即ち、予めシステムにパラメータ設定されている切
削送り速度に対応する表示属性は、NCデータによって
新たな送り速度指令が再定義されるまで切削送り用の表
示属性として有効であり、また、一旦再定義された切削
送り用の表示属性は、再び別の送り速度指令が再定義さ
れるまで有効である。
The display attribute set in the cutting feed display attribute storage register Cc in the processing of steps S4 to S6, that is, the display attribute corresponding to the cutting feed speed preset in the system by the NC data is newly added. A new feed rate command is valid as a display attribute for cutting feed until it is redefined, and a display attribute for cutting feed that is once redefined is valid until another feed rate command is redefined. is there.

【0031】また、ステップS9,ステップS10およ
びステップS11の判別結果が全て偽となった場合に
は、読込まれたNCデータが送り指令でも送り速度指令
でもないことを意味するので、プロセッサ31は当該ブ
ロックの指令に応じた処理を従来と同様にして行った後
(ステップS17)、ステップS7の処理へと移行して
不揮発性メモリ34から次のNCデータを1ブロック読
込む。
Further, when the determination results of steps S9, S10 and S11 are all false, it means that the read NC data is neither a feed command nor a feed speed command. After the processing corresponding to the block command is performed in the same manner as the conventional one (step S17), the process proceeds to step S7 to read the next NC data of one block from the nonvolatile memory 34.

【0032】以下、プロセッサ31はステップS8の処
理でプログラムエンドを示すブロックが検出されるまで
の間、NCデータを逐次1ブロックずつ読込んで前記と
同様の処理を繰り返し実行し、工具の送り速度に応じた
表示属性で工具軌跡を描画して行く。
Thereafter, the processor 31 sequentially reads the NC data one block at a time until the block indicating the program end is detected in the process of step S8, and repeatedly executes the same process as described above to determine the tool feed speed. Draw the tool locus with the display attribute according to it.

【0033】図2に示されるような工具軌跡に関するN
Cデータに対して前述の処理を行う場合では、荒取り加
工のための工具軌跡や中仕上げ加工のための工具軌跡お
よび仕上げ加工のための工具軌跡に関するNCデータが
読込まれる度に送り速度指令によって切削送り速度の値
Vpが再定義されるので、各加工工程毎の切削送り速度
は全て異なる属性で描画される。例えば、工具の位置決
めや退避のための工具軌跡のように送り速度の速い区間
では最も速い速度範囲に対応する表示属性C4の赤色
(図2の破線に対応)、荒取り加工のための工具軌跡は
比較的速い速度範囲に対応する表示属性C2の黄色(図
2の一点鎖線に対応)、中仕上げ加工のための工具軌跡
はこれよりも遅い速度範囲に対応する表示属性C1の茶
色(図2の二点鎖線に対応)、また、仕上げ加工のため
の工具軌跡は最も遅い速度範囲に対応する表示属性C0
の緑色(図2の実線に対応)等としてディスプレイ画面
上に表示されることとなる。
N for the tool path as shown in FIG.
When the above-mentioned processing is performed on the C data, the feed speed command is issued every time the NC trajectory data for the tool trajectory for rough cutting, the tool trajectory for semi-finishing and the tool trajectory for finishing is read. Since the value Vp of the cutting feed rate is redefined by, the cutting feed rate for each machining process is drawn with different attributes. For example, in a section with a high feed rate such as a tool trajectory for positioning or retracting the tool, red with a display attribute C4 (corresponding to the broken line in FIG. 2) corresponding to the fastest speed range, a tool trajectory for rough machining Is a yellow attribute of the display attribute C2 corresponding to a relatively high speed range (corresponding to the alternate long and short dash line in FIG. 2), and a tool path for semi-finishing machining is a brown attribute of the display attribute C1 corresponding to a slower speed range (FIG. 2). Of the display attribute C0 corresponding to the slowest speed range.
Is displayed as green (corresponding to the solid line in FIG. 2) on the display screen.

【0034】前述の実施例では工具の送り速度に対応さ
せて工具軌跡の色彩を変えて描画するものについて説明
したが、破線,実線,一点鎖線等のように送り速度に対
応させて線種を変えて描画するようにしてもよいし、ま
た、軌跡の輝度や軌跡の幅を変えて描画するようにして
もよい。また、工具の送り速度に応じて工具軌跡の描画
に用いる属性を変えるだけでなく、非切削送りや切削送
り等の移動の種別に応じた第1の属性、例えば、線種等
を決めておき、更に、送り速度に応じて第2の属性、例
えば、工具軌跡の色彩等を変えて表示するようにしても
よい。
In the above-mentioned embodiment, the description has been made on the case where the color of the tool path is changed and drawn in accordance with the feed speed of the tool, but the line type is changed in correspondence with the feed speed such as a broken line, a solid line, and an alternate long and short dash line. The drawing may be changed, or the luminance of the locus and the width of the locus may be changed. Further, not only is the attribute used for drawing the tool path changed according to the feed speed of the tool, but the first attribute corresponding to the type of movement such as non-cutting feed or cutting feed, for example, the line type is determined in advance. Further, the second attribute, for example, the color of the tool locus or the like may be changed and displayed according to the feed speed.

【0035】[0035]

【発明の効果】本発明の工具軌跡描画方法によれば、N
Cデータにより指令される工具移動速度に応じた表示属
性で工具軌跡が描画されるので、グラフィックディスプ
レイ上の工具移動軌跡を目視するだけで工具の送り速度
を容易に知ることができる。
According to the tool trajectory drawing method of the present invention, N
Since the tool locus is drawn with the display attribute according to the tool movement speed instructed by the C data, the tool feed speed can be easily known only by visually observing the tool movement locus on the graphic display.

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

【図1】本発明を適用した一実施例の対話形数値制御装
置の構成を概略で示すブロック図である。
FIG. 1 is a block diagram schematically showing the configuration of an interactive numerical control device according to an embodiment of the present invention.

【図2】工具軌跡の一例を示す概念図である。FIG. 2 is a conceptual diagram showing an example of a tool path.

【図3】同実施例の対話形数値制御装置に設けた表示属
性記憶ファイルを示す概念図である。
FIG. 3 is a conceptual diagram showing a display attribute storage file provided in the interactive numerical control device according to the embodiment.

【図4】同実施例の対話形数値制御装置における工具軌
跡描画処理の概略を示すフローチャートである。
FIG. 4 is a flowchart showing an outline of a tool locus drawing process in the interactive numerical control apparatus according to the embodiment.

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

14 不揮発性メモリ 15 グラフィック制御回路 16 表示装置 31 プロセッサ 34 不揮発性メモリ 14 non-volatile memory 15 graphic control circuit 16 display device 31 processor 34 non-volatile memory

───────────────────────────────────────────────────── フロントページの続き (72)発明者 高木 成年 山梨県南都留郡忍野村忍草字古馬場3580番 地 ファナック株式会社内 (72)発明者 花岡 修 山梨県南都留郡忍野村忍草字古馬場3580番 地 ファナック株式会社内 ─────────────────────────────────────────────────── ─── Continuation of the front page (72) Inventor Narita Takagi 3580 Konoba, Oshinomura, Minamitsuru-gun, Yamanashi Prefecture FANUC Co., Ltd. Local FANUC Co., Ltd.

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 NCデータに基いて工具の移動軌跡をグ
ラフィックディスプレイ上に描画するようにした工具軌
跡描画方法において、NCデータにより指令される工具
送り速度に応じて移動軌跡の表示属性を選択して描画す
るようにした工具軌跡描画方法。
1. A tool locus drawing method for drawing a movement locus of a tool on a graphic display based on NC data, wherein a display attribute of the movement locus is selected according to a tool feed speed instructed by the NC data. Tool path drawing method that draws with.
【請求項2】 前記表示属性が色彩であることを特徴と
した請求項1記載の工具軌跡描画方法。
2. The tool trajectory drawing method according to claim 1, wherein the display attribute is color.
JP33983793A 1993-12-07 1993-12-07 Tool path plotting method Withdrawn JPH07160317A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP33983793A JPH07160317A (en) 1993-12-07 1993-12-07 Tool path plotting method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP33983793A JPH07160317A (en) 1993-12-07 1993-12-07 Tool path plotting method

Publications (1)

Publication Number Publication Date
JPH07160317A true JPH07160317A (en) 1995-06-23

Family

ID=18331289

Family Applications (1)

Application Number Title Priority Date Filing Date
JP33983793A Withdrawn JPH07160317A (en) 1993-12-07 1993-12-07 Tool path plotting method

Country Status (1)

Country Link
JP (1) JPH07160317A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009050904A1 (en) * 2007-10-18 2009-04-23 Sodick Co., Ltd. Simulation device
CN104062941A (en) * 2013-03-21 2014-09-24 发那科株式会社 Cutting condition display device
JP2018180734A (en) * 2017-04-06 2018-11-15 ファナック株式会社 Information processing unit
US10656621B2 (en) 2017-04-06 2020-05-19 Fanuc Corporation Information processing device
WO2022050292A1 (en) * 2020-09-07 2022-03-10 ファナック株式会社 Display device

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009050904A1 (en) * 2007-10-18 2009-04-23 Sodick Co., Ltd. Simulation device
JP2009098982A (en) * 2007-10-18 2009-05-07 Sodick Co Ltd Machining simulation apparatus and program thereof
CN104062941A (en) * 2013-03-21 2014-09-24 发那科株式会社 Cutting condition display device
DE102014103731A1 (en) 2013-03-21 2014-10-09 Fanuc Corporation Display device of cutting conditions
US9665085B2 (en) 2013-03-21 2017-05-30 Fanuc Corporation Cutting condition and tool life display device for a numerical controller
DE102014103731B4 (en) 2013-03-21 2019-05-16 Fanuc Corporation Display device of cutting conditions
JP2018180734A (en) * 2017-04-06 2018-11-15 ファナック株式会社 Information processing unit
US10546077B2 (en) 2017-04-06 2020-01-28 Fanuc Corporation Information processor for simulating operation of a tool
US10656621B2 (en) 2017-04-06 2020-05-19 Fanuc Corporation Information processing device
WO2022050292A1 (en) * 2020-09-07 2022-03-10 ファナック株式会社 Display device

Similar Documents

Publication Publication Date Title
JP2641797B2 (en) Interactive numerical controller
EP0689113B1 (en) Numerically controlled machine tool management system
JPH0444764B2 (en)
US5327350A (en) Interactive type numerical control apparatus and method thereof
JPH05282021A (en) Machining condition generation system for nc machine tool
EP1560089B1 (en) Numerical control apparatus with integrated programmable controller with adaptation of displayed text to multiple languages and views
JPH0695725A (en) Animation drawing system for nc working program
JPH0355259B2 (en)
JPH07160317A (en) Tool path plotting method
EP0113682B1 (en) Numerical control system and method
JP3217329B2 (en) NC data confirmation device
JP2654253B2 (en) Numerical control information creation device
JPH10124124A (en) Drawing method of machining program in numerical controller and numerical controller having drawing function
JPH08339215A (en) Numerical controller
JPH05297925A (en) Interactive numerical controller
JPH0643923A (en) Numerical control program editing device
EP0935179A1 (en) Numeric controller provided with teaching/playback function
JPH0673084B2 (en) Auxiliary function recovery method in numerical control device
JPH06138933A (en) Program check screen display device
JPH04252307A (en) Interactive numerical controller
JPH0697413B2 (en) Automatic program generator
JPH0985579A (en) Interactive numerical control system
JP2642451B2 (en) Numerical control unit
JP2985988B2 (en) Numerical control information creation device
JPH07334222A (en) Tool path editing system

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: 20010306