JPH08161018A - Machining simulation system - Google Patents

Machining simulation system

Info

Publication number
JPH08161018A
JPH08161018A JP29993994A JP29993994A JPH08161018A JP H08161018 A JPH08161018 A JP H08161018A JP 29993994 A JP29993994 A JP 29993994A JP 29993994 A JP29993994 A JP 29993994A JP H08161018 A JPH08161018 A JP H08161018A
Authority
JP
Japan
Prior art keywords
data
diameter data
workpiece
diameter
machining
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
JP29993994A
Other languages
Japanese (ja)
Inventor
Satoru Shinozaki
了 篠崎
Koichi Murata
耕一 村田
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 JP29993994A priority Critical patent/JPH08161018A/en
Publication of JPH08161018A publication Critical patent/JPH08161018A/en
Pending legal-status Critical Current

Links

Landscapes

  • Testing And Monitoring For Control Systems (AREA)
  • Numerical Control (AREA)

Abstract

PURPOSE: To speed up a three-dimensional display of machining simulation by decoding a machining program, updating diameter data on a circle of cutting when a work and a tool interferes with each other, concerting a circle found from the diameter data into an ellipse, and generating three-dimensional image data obtained by representing the work as a set of ellipses. CONSTITUTION: A diameter data calculating means 2 inputs figure shape data 1, divides a cylindrical shape in the direction of its axis of rotation and recognizes it as plural circles, and calculates diameter data on the respective circles. A diameter data update means 3 decodes the machining program and updates diameter data on the circle of an interference part when confirming the interference between the tool and work. The circles found from the update diameter data are converted by a three-dimensional image data calculating means 5 into ellipses, and three-dimensional image data 6 representing the work as the set of ellipses are generated and displayed on a display device 22. Consequently, the three-dimensional display of the machining simulation can be speeded up.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は加工状況をグラフィック
表示装置に表示する数値制御装置の加工シミュレーショ
ン方式に関し、特に旋盤系の加工シミュレーションを行
う数値制御装置の加工シミュレーション方式に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a machining simulation system of a numerical control device for displaying a machining status on a graphic display device, and more particularly to a machining simulation system of a numerical control device for carrying out a lathe system machining simulation.

【0002】[0002]

【従来の技術】加工物を数値制御装置により加工する場
合には、グラフィック表示装置を用いて加工状況をシミ
ュレーションすることが一般的に行われている。このシ
ミュレーションを行うことにより、加工の進行状況を簡
単に把握することができる。また、新たに作成した加工
プログラムのシミュレーションを行うことにより、実際
の加工を行わずにそのプログラムの実行結果を知ること
ができる。
2. Description of the Related Art When a workpiece is machined by a numerical control device, it is common practice to use a graphic display device to simulate the machining situation. By performing this simulation, it is possible to easily grasp the progress of processing. Further, by simulating the newly created machining program, it is possible to know the execution result of the program without actually machining.

【0003】このような加工シミュレーションは、作業
者が加工状況を認識し易いようにアニメーションで表示
される。従来の旋盤系のアニメーションでは、素材、工
具共に2次元(X−Z平面)で表示されており、加工シ
ミュレーションは常に2次元平面で実行される。この場
合、加工物を表示するための視点の位置を変えるには表
示画面を切り換えて表示させなければならない。
Such a machining simulation is displayed in animation so that the operator can easily recognize the machining situation. In the conventional lathe system animation, both the material and the tool are displayed in two dimensions (XZ plane), and the machining simulation is always executed in the two dimensional plane. In this case, in order to change the position of the viewpoint for displaying the workpiece, it is necessary to switch and display the display screens.

【0004】また、加工状況を3次元的なイメージで表
示することにより、より正確に加工状況を把握すること
ができる。3次元的に表示させる方法としては、素材を
細かいキュービックの集まりとして定義する方法があ
る。
Further, by displaying the processing status as a three-dimensional image, the processing status can be grasped more accurately. As a method of displaying in three dimensions, there is a method of defining a material as a collection of fine cubics.

【0005】[0005]

【発明が解決しようとする課題】しかし、加工物を2次
元で表示したのでは、加工物形状を正確に認識するのが
困難であるという問題点があった。
However, if the workpiece is displayed in two dimensions, it is difficult to accurately recognize the shape of the workpiece.

【0006】一方、加工物を3次元で表示するために、
素材を細かいキュービックの集まりとして定義すると、
データ処理に非常に時間がかかり、実用に耐えうる加工
シミュレーションを行うことができないという問題点が
あった。
On the other hand, in order to display the workpiece in three dimensions,
If you define a material as a collection of small cubics,
There is a problem in that it takes a very long time to process data and it is impossible to perform a machining simulation that can be put to practical use.

【0007】本発明はこのような点に鑑みてなされたも
のであり、加工シミュレーションの3次元的表示を高速
にできる数値制御装置の加工シミュレーション方式を提
供することを目的とする。
The present invention has been made in view of the above circumstances, and an object of the present invention is to provide a machining simulation method of a numerical control device capable of high-speed three-dimensional display of machining simulation.

【0008】[0008]

【課題を解決するための手段】本発明では上記課題を解
決するために、旋盤加工の加工状況をグラフィック表示
装置に表示する数値制御装置の加工シミュレーション方
式において、図形形状データを取り込み、加工物を中心
軸方向に分割した円の集合で認識し、各円の直径データ
を算出する直径データ算出手段と、前記直径データを格
納する直径データ記憶手段と、加工プログラムを解読す
ることにより加工物と工具が干渉すると判断すると、切
削される円の前記直径データを更新する直径データ更新
手段と、前記直径データより求められる円を楕円に変換
することにより、前記加工物を楕円の集合で表した3次
元イメージデータを作成する3次元イメージデータ作成
手段と、を有することを特徴とする加工シミュレーショ
ン方式が提供される。
According to the present invention, in order to solve the above-mentioned problems, in a machining simulation method of a numerical control device for displaying a machining status of lathe machining on a graphic display device, graphic shape data is taken in and a workpiece is processed. The diameter data calculation means for recognizing the circle data divided in the central axis direction and calculating the diameter data of each circle, the diameter data storage means for storing the diameter data, and the workpiece and the tool by decoding the machining program When it is determined that the workpieces interfere with each other, the diameter data updating means for updating the diameter data of the circle to be cut, and the circle obtained from the diameter data are converted into an ellipse, whereby the workpiece is represented by a set of ellipses. A three-dimensional image data creating means for creating image data is provided, and a machining simulation method is provided. .

【0009】[0009]

【作用】直径データ算出手段は、図形形状データにより
与えられた加工物を中心軸方向に分割した円の集合で認
識し、各円の直径データを算出する。直径データ記憶手
段は、各円の直径データを格納する。直径データ更新手
段は、加工プログラムを解読することにより加工物と工
具が干渉すると判断すると、切削される円の前記直径デ
ータを更新する。3次元イメージデータ作成手段は、直
径データより求められる円を楕円に変換することによ
り、前記加工物を楕円の集合で表した3次元イメージデ
ータを作成する。この3次元イメージデータを表示装置
に描画することにより、加工状況をシミュレーションす
ることができる。
The diameter data calculating means recognizes the workpiece given by the graphic shape data as a set of circles divided in the central axis direction, and calculates the diameter data of each circle. The diameter data storage means stores the diameter data of each circle. The diameter data updating means updates the diameter data of the circle to be cut when it judges that the workpiece and the tool interfere with each other by decoding the machining program. The three-dimensional image data creating means creates three-dimensional image data in which the workpiece is represented by a set of ellipses by converting a circle obtained from the diameter data into an ellipse. By drawing this three-dimensional image data on the display device, the processing situation can be simulated.

【0010】[0010]

【実施例】以下、本発明の実施例を図面に基づいて説明
する。図1は本発明の概略構成を示すブロック図であ
る。図形形状データ1は、旋盤加工を行うための円筒形
の素材形状を示すデータである。直径データ算出手段2
は、図形形状データ1を取り込み、円筒形を回転軸方向
に分割された複数の円で認識し、各円の直径データを算
出する。直径データは、直径データ記憶手段4に格納さ
れる。直径データ更新手段3は、加工プログラムを解読
することにより工具と加工物との干渉を確認すると、加
工物の削り落とされる量だけ直径データ記憶手段4に格
納された干渉部の円の直径データの値を小さくする。
Embodiments of the present invention will be described below with reference to the drawings. FIG. 1 is a block diagram showing a schematic configuration of the present invention. The graphic shape data 1 is data showing a cylindrical material shape for lathe processing. Diameter data calculation means 2
Takes in the graphic shape data 1, recognizes the cylindrical shape by a plurality of circles divided in the direction of the rotation axis, and calculates the diameter data of each circle. The diameter data is stored in the diameter data storage means 4. When the diameter data updating means 3 confirms the interference between the tool and the workpiece by reading the machining program, the diameter data updating means 3 stores the diameter data of the circle of the interference portion stored in the diameter data storage means 4 by the amount that the workpiece is scraped off. Decrease the value.

【0011】3次元イメージデータ作成手段5は、直径
データから認識される円のデータを楕円に変換し、加工
物を楕円の集合で表した3次元イメージデータ6を作成
する。このように作成された3次元イメージデータ6
が、随時表示装置22に表示される。なお、3次元イメ
ージデータ6を作成する際には、加工物を表示させる角
度に応じて座標変換を行い、楕円の形、位置を変化させ
る。楕円は、画面上の奥に位置する楕円から順に描画
し、手前の楕円を上書きしながら描画する。
The three-dimensional image data creating means 5 transforms the circle data recognized from the diameter data into an ellipse, and creates the three-dimensional image data 6 representing the workpiece as a set of ellipses. 3D image data 6 created in this way
Is displayed on the display device 22 at any time. When the three-dimensional image data 6 is created, coordinate conversion is performed according to the angle at which the workpiece is displayed, and the shape and position of the ellipse are changed. The ellipse is drawn in order from the ellipse located on the back of the screen, and the ellipse in front is overwritten.

【0012】図2は、本発明の数値制御装置のハードウ
ェアの概略構成を示すブロック図である。数値制御装置
はプロセッサ11を中心に構成されている。プロセッサ
11はROM12に格納されたシステムプログラムに従
って数値制御装置全体を制御する。このROM12には
EPROMあるいはEEPROMが使用される。
FIG. 2 is a block diagram showing a schematic configuration of hardware of the numerical controller according to the present invention. The numerical controller is mainly composed of the processor 11. The processor 11 controls the entire numerical controller according to the system program stored in the ROM 12. EPROM or EEPROM is used for the ROM 12.

【0013】RAM13にはSRAM等が使用され、加
工物の直径データ等の一時的な計算データ、、加工物の
3次元イメージデータ等の表示データ、入出力信号等が
格納される。不揮発性メモリ14には図示されていない
バッテリによってバックアップされたCMOSが使用さ
れ、電源切断後も保持すべきパラメータ、加工プログラ
ム、工具補正データ、ピッチ誤差補正データ等が記憶さ
れる。
An SRAM or the like is used for the RAM 13 and stores temporary calculation data such as diameter data of the workpiece, display data such as three-dimensional image data of the workpiece, input / output signals and the like. The non-volatile memory 14 uses a CMOS backed up by a battery (not shown), and stores parameters, machining programs, tool correction data, pitch error correction data and the like that should be retained even after the power is turned off.

【0014】CRT/MDIユニット20は、数値制御
装置の前面あるいは機械操作盤と同じ位置に配置され、
データ及び図形の表示、データ入力、数値制御装置の運
転に使用される。グラフィック制御回路21は数値デー
タ及び図形データ等のディジタル信号を表示用のラスタ
信号に変換し、表示装置22に送り、表示装置22はこ
れらの数値及び図形を表示する。表示装置22にはCR
Tあるいは液晶表示装置が使用される。
The CRT / MDI unit 20 is arranged on the front surface of the numerical controller or at the same position as the machine operation panel.
Used to display data and graphics, input data, and operate numerical control equipment. The graphic control circuit 21 converts a digital signal such as numerical data and graphic data into a raster signal for display and sends the raster signal to the display device 22, and the display device 22 displays these numerical values and graphics. CR on the display device 22
A T or liquid crystal display device is used.

【0015】キーボード23は数値キー、シンボリック
キー、文字キー及び機能キーから構成され、加工プログ
ラムの作成、編集及び数値制御装置の運転に使用され
る。ソフトウェアキー24は表示装置22の下部に設け
られ、その機能は表示装置に表示される。表示装置の画
面が変化すれば、表示される機能に対応して、ソフトウ
ェアキーの機能も変化する。
The keyboard 23 is composed of numerical keys, symbolic keys, character keys and function keys, and is used for creating and editing a machining program and operating the numerical control device. The software key 24 is provided below the display device 22, and its function is displayed on the display device. When the screen of the display device changes, the function of the software key changes corresponding to the displayed function.

【0016】軸制御回路15はプロセッサ11からの軸
の移動指令を受けて、軸の移動指令をサーボアンプ16
に出力する。サーボアンプ16はこの移動指令を増幅
し、工作機械30に結合されたサーボモータを駆動し、
工作機械30の工具とワークの相対運動を制御する。な
お、軸制御回路15及びサーボアンプ16はサーボモー
タの軸数に対応した数だけ設けられる。
The axis control circuit 15 receives the axis movement command from the processor 11, and outputs the axis movement command to the servo amplifier 16
Output to. The servo amplifier 16 amplifies this movement command and drives a servo motor coupled to the machine tool 30,
It controls the relative motion of the tool and the work of the machine tool 30. The axis control circuits 15 and the servo amplifiers 16 are provided by the number corresponding to the number of axes of the servo motor.

【0017】PMC(プログラマブル・マシン・コント
ローラ)18はプロセッサ11からバス19経由でM
(補助)機能信号、S(スピンドル速度制御)機能信
号、T(工具選択)機能信号等を受け取る。そして、こ
れらの信号をシーケンス・プログラムで処理して、出力
信号を出力し、工作機械30内の空圧機器、油圧機器、
電磁アクチュエイタ等を制御する。また、工作機械30
内の機械操作盤のボタン信号、スイッチ信号及びリミッ
トスイッチ等の信号を受けて、シーケンス処理を行い、
バス19を経由してプロセッサ11に必要な入力信号を
転送する。
A PMC (Programmable Machine Controller) 18 is M from the processor 11 via the bus 19.
Receives (auxiliary) function signal, S (spindle speed control) function signal, T (tool selection) function signal, and the like. Then, these signals are processed by a sequence program, and output signals are output, and pneumatic equipment, hydraulic equipment in the machine tool 30,
Controls electromagnetic actuators, etc. Also, the machine tool 30
In response to the signals from the machine control panel inside, such as button signals, switch signals and limit switches, sequence processing is performed,
The necessary input signals are transferred to the processor 11 via the bus 19.

【0018】なお、図2ではスピンドルモータ制御回路
及びスピンドルモータ用アンプ等は省略してある。ま
た、上記の例ではプロセッサ11は1個で説明したが、
複数のプロセッサを使用してマルチプロセッサ構成にす
ることもできる。
In FIG. 2, the spindle motor control circuit, the spindle motor amplifier, etc. are omitted. In the above example, the number of processors 11 is one, but
It is also possible to use multiple processors in a multiprocessor configuration.

【0019】次に、上記のような数値制御装置で旋盤加
工の加工シミュレーションを実行する場合について具体
的に説明する。図3は切削する加工物の形状を示す図で
ある。素材状態の加工物40は円筒形である。円筒の中
心軸はZ軸に一致している。この形状はMDI/CRT
20(図2に示す)によって入力することができる。
Next, the case where the machining simulation of the lathe machining is executed by the numerical controller as described above will be concretely described. FIG. 3 is a diagram showing the shape of a workpiece to be cut. The work piece 40 in the material state has a cylindrical shape. The central axis of the cylinder coincides with the Z axis. This shape is MDI / CRT
20 (shown in FIG. 2).

【0020】入力された形状は、Z軸方向に分割した円
の集合として認識される。各円の直径がRAM13(図
2に示す)等に格納される。この際、各円の間隔は表示
画面の1ドット単位である。
The input shape is recognized as a set of circles divided in the Z-axis direction. The diameter of each circle is stored in the RAM 13 (shown in FIG. 2) or the like. At this time, the interval between the circles is one dot unit on the display screen.

【0021】図4は格納された図形データを示す図であ
る。分割された円(C1 ,C2 ,C 3 ,C4 ,C5 ,C
6 ,・・・)に対応付けされて、直径データ(D1 ,D
2 ,D3 ,D4 ,D5 ,D6 ,・・・)が格納されてい
る。このデータを基に、3次元の形状を描画することが
できる。
FIG. 4 is a diagram showing the stored graphic data.
It Divided circle (C1, C2, C 3, CFour, CFive, C
6, ...) and the diameter data (D1, D
2, D3, DFour, DFive, D6, ...) is stored
It It is possible to draw a three-dimensional shape based on this data.
it can.

【0022】図5は描画された加工物を示す図である。
加工物41を構成する円C1 ,C2,C3 ,・・・C
n-1 ,Cn は、楕円に変換され描画されている。描画は
Cnから順に行い、楕円が重なる場合には上書きする。
このようにして、加工物を楕円の集合で立体的に表すこ
とができる。
FIG. 5 is a view showing the drawn workpiece.
Circles C 1 , C 2 , C 3 , ... C that constitute the workpiece 41
n-1 and C n are converted into ellipses and drawn. Drawing is performed in order from Cn, and if ellipses overlap, they are overwritten.
In this way, the work piece can be three-dimensionally represented by a set of ellipses.

【0023】なお、この図では説明のために楕円の間隔
をあけているが、実際には1ドット単位の間隔である。
従って、直径が同じであり、連続した楕円の外周は、1
つの円筒面として表示される。
In this figure, elliptical intervals are provided for the sake of explanation, but the intervals are actually 1 dot unit.
Therefore, the circumference of a continuous ellipse with the same diameter is 1
Displayed as two cylindrical faces.

【0024】このような加工物の切削加工をシミュレー
ションする場合、加工プログラムを解読し、工具と加工
物の干渉部を算出する。そして、干渉部の円に対応する
直径データを、工具のX軸の値に更新する。
When simulating the cutting of such a workpiece, the machining program is read and the interference portion between the tool and the workpiece is calculated. Then, the diameter data corresponding to the circle of the interference portion is updated to the value of the X axis of the tool.

【0025】図6はデータ更新後の図形データを示す図
である。この例では、加工物の先端(Z軸正の方向)か
ら5個の円(C1 〜C5 )が切削されるものとする。切
削される円(C1 〜C5 )の直径データ(D1 a〜D5
a)が更新されている。
FIG. 6 is a diagram showing the graphic data after the data is updated. In this example, the workpiece tip (Z-axis positive direction) from five circles (C 1 -C 5) is intended to be cut. The diameter data of the cutting is the circle (C 1 ~C 5) (D 1 a~D 5
a) has been updated.

【0026】図7は加工状況の表示画面を示す図であ
る。加工物42において、工具50に削り取られた部分
では、工具50の刃先のX座標値に応じて円C1 〜C5
の直径が小さくなっている。干渉していない部分の円
(C6 〜Cn )の直径は、切削前と同じである。
FIG. 7 is a diagram showing a display screen of the processing status. In the part of the work piece 42 that has been scraped off by the tool 50, circles C 1 to C 5 depending on the X coordinate value of the cutting edge of the tool 50.
Has a smaller diameter. The diameter of the circle (C 6 to C n ) in the non-interfering portion is the same as that before cutting.

【0027】このように、切削状況に応じて円を再描画
していくことにより、加工状況を3次元でシミュレーシ
ョンすることができる。また、上記のようにして描画さ
れた加工物を、画面上で回転させることも容易にでき
る。例として、Yd軸まわりに回転させた場合について
説明する。
As described above, by redrawing the circle according to the cutting situation, the machining situation can be simulated three-dimensionally. Further, it is possible to easily rotate the processed object drawn as described above on the screen. As an example, a case of rotating around the Yd axis will be described.

【0028】Yd軸回りの回転角度をθ(Yd軸の正の
方向から加工物をみて、反時計回りを正の回転方向とす
る)、変換前の座標値を(x,y,z)とすると、以下
の行列式で座標変換を行うことができる。
The rotation angle around the Yd axis is θ (the workpiece is viewed from the positive direction of the Yd axis, and the counterclockwise direction is the positive rotation direction), and the coordinate value before conversion is (x, y, z). Then, the coordinate conversion can be performed by the following determinant.

【0029】[0029]

【数1】 [Equation 1]

【0030】図8は回転前の加工物を示す図である。加
工物43は、複数の円の集合として表示されている。こ
れらの円を式(1)を用いて座標変換することにより、
任意の角度から見た加工物を描画することができる。
FIG. 8 is a diagram showing a processed product before rotation. The work piece 43 is displayed as a set of a plurality of circles. By transforming the coordinates of these circles using equation (1),
It is possible to draw a work piece viewed from an arbitrary angle.

【0031】図9は90°回転後の加工物43を示す図
である。このように、加工物43をさまざまな角度から
表示させることも容易である。図10は本発明の加工シ
ミュレーションの処置手順を示すフローチャートであ
る。 〔S1〕加工シミュレーション開始指令により、加工物
(素材状態)を構成する円を描画する。 〔S2〕工具移動指令を解読する。 〔S3〕工具と加工物が干渉しあっているか否かを判断
し、干渉しあっていればステップ4に進み、干渉しあっ
ていなければステップ8に進む。 〔S4〕工具のX座標を取り込む。 〔S5〕干渉している円の直径データを更新する。 〔S6〕干渉した円を再描画する。 〔S7〕干渉が終了したかどうかを判断し、終了してい
ればステップ8に進み、終了していなければステップ4
に進む。 〔S8〕シミュレーションが終了したかどうかを判断
し、終了していなければステップ2に進み、終了してい
れば処理を終了する。
FIG. 9 is a view showing the workpiece 43 after 90 ° rotation. In this way, it is easy to display the work piece 43 from various angles. FIG. 10 is a flowchart showing the processing procedure of the processing simulation of the present invention. [S1] A circle forming a workpiece (material state) is drawn by a machining simulation start command. [S2] The tool movement command is decoded. [S3] It is determined whether or not the tool and the workpiece interfere with each other. If they interfere with each other, the process proceeds to step 4, and if they do not interfere with each other, the process proceeds to step 8. [S4] The X coordinate of the tool is fetched. [S5] The diameter data of the interfering circle is updated. [S6] The interfering circle is redrawn. [S7] It is determined whether or not the interference has ended, and if it has ended, the process proceeds to step 8, and if not, the step 4
Proceed to. [S8] It is determined whether or not the simulation is finished. If it is not finished, the process proceeds to step 2, and if it is finished, the process is finished.

【0032】このようにして、円の直径データから加工
物の形状を描画することができる。このため、描画の際
の加工物形状を非常に単純な計算で算出できる。従っ
て、数値制御装置で一般的に使用されているプロセッサ
であっても、3次元の加工シミュレーションを高速に行
うことが可能である。
In this way, the shape of the workpiece can be drawn from the diameter data of the circle. Therefore, it is possible to calculate the shape of the workpiece at the time of drawing by a very simple calculation. Therefore, even a processor that is generally used in a numerical controller can perform three-dimensional machining simulation at high speed.

【0033】また、加工物は、表示画面の1ドット単位
の円に分割されている。そのため、描画された加工物の
外周は、円の集合ではなく、1つの円筒面として表示さ
れる。従って、現実の形状に近い形で加工物が描画され
る。
Further, the work piece is divided into circles on the display screen in units of one dot. Therefore, the drawn outer circumference of the workpiece is displayed as one cylindrical surface instead of a set of circles. Therefore, the workpiece is drawn in a shape close to the actual shape.

【0034】[0034]

【発明の効果】以上説明したように本発明では、加工物
の形状を複数の円の集合で認識し、その円を描画するこ
とにより3次元加工シミュレーションを行うようにした
ため、3次元イメージデータの算出が容易であり、3次
元の旋盤加工シミュレーションを高速に行うことができ
る。
As described above, according to the present invention, the shape of a workpiece is recognized as a set of a plurality of circles, and the circles are drawn to perform a three-dimensional processing simulation. The calculation is easy and the three-dimensional lathe machining simulation can be performed at high speed.

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

【図1】本発明の概略構成を示すブロック図である。FIG. 1 is a block diagram showing a schematic configuration of the present invention.

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

【図3】切削する加工物の形状を示す図である。FIG. 3 is a diagram showing a shape of a workpiece to be cut.

【図4】格納された図形データを示す図である。FIG. 4 is a diagram showing stored graphic data.

【図5】描画された加工物を示す図である。FIG. 5 is a diagram showing a drawn workpiece.

【図6】データ更新後の図形データを示す図である。FIG. 6 is a diagram showing graphic data after data update.

【図7】加工状況の表示画面を示す図である。FIG. 7 is a diagram showing a display screen of a processing status.

【図8】回転前の加工物を示す図である。FIG. 8 is a diagram showing a workpiece before rotation.

【図9】90°回転後の加工物43を示す図である。FIG. 9 is a view showing the work piece 43 after being rotated by 90 °.

【図10】本発明の加工シミュレーションの処置手順を
示すフローチャートである。
FIG. 10 is a flowchart showing a processing procedure of processing simulation of the present invention.

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

1 図形形状データ 2 直径データ算出手段 3 直径データ更新手段 4 直径データ記憶手段 5 3次元イメージデータ作成手段 6 3次元イメージデータ 22 表示装置 DESCRIPTION OF SYMBOLS 1 Graphic shape data 2 Diameter data calculation means 3 Diameter data update means 4 Diameter data storage means 5 3D image data creation means 6 3D image data 22 Display device

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 旋盤加工の加工状況をグラフィック表示
装置に表示する数値制御装置の加工シミュレーション方
式において、 図形形状データを取り込み、加工物を中心軸方向に分割
した円の集合で認識し、各円の直径データを算出する直
径データ算出手段と、 前記直径データを格納する直径データ記憶手段と、 加工プログラムを解読することにより加工物と工具が干
渉すると判断すると、切削される円の前記直径データを
更新する直径データ更新手段と、 前記直径データより求められる円を楕円に変換すること
により、前記加工物を楕円の集合で表した3次元イメー
ジデータを作成する3次元イメージデータ作成手段と、 を有することを特徴とする加工シミュレーション方式。
1. In a machining simulation method of a numerical control device for displaying a machining status of lathe machining on a graphic display device, graphic shape data is taken in and recognized as a set of circles into which a workpiece is divided in the central axis direction. Diameter data calculating means for calculating the diameter data of the circle, diameter data storing means for storing the diameter data, and when it is determined that the workpiece and the tool interfere by deciphering the machining program, the diameter data of the circle to be cut is calculated. Diameter data updating means for updating, and three-dimensional image data creating means for creating three-dimensional image data representing the workpiece by a set of ellipses by converting a circle obtained from the diameter data into an ellipse. A machining simulation method characterized in that
【請求項2】 前記直径データ記憶手段は、前記加工物
を前記グラフィック表示装置の1ドット単位の円に分割
して、直径データを算出することを特徴とする請求項1
記載の加工シミュレーション方式。
2. The diameter data storage means divides the workpiece into circles for each dot of the graphic display device to calculate diameter data.
The described processing simulation method.
【請求項3】 3次元イメージデータ作成手段は、前記
直径データより求められる円を指定された角度に応じて
座標変換し、任意の角度から見た前記加工物の3次元イ
メージデータを作成することを特徴とする前記1記載の
加工シミュレーション方式。
3. The three-dimensional image data creating means creates a three-dimensional image data of the workpiece viewed from an arbitrary angle by converting coordinates of a circle obtained from the diameter data according to a designated angle. 2. The processing simulation method described in 1 above.
JP29993994A 1994-12-02 1994-12-02 Machining simulation system Pending JPH08161018A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP29993994A JPH08161018A (en) 1994-12-02 1994-12-02 Machining simulation system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP29993994A JPH08161018A (en) 1994-12-02 1994-12-02 Machining simulation system

Publications (1)

Publication Number Publication Date
JPH08161018A true JPH08161018A (en) 1996-06-21

Family

ID=17878772

Family Applications (1)

Application Number Title Priority Date Filing Date
JP29993994A Pending JPH08161018A (en) 1994-12-02 1994-12-02 Machining simulation system

Country Status (1)

Country Link
JP (1) JPH08161018A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003025020A (en) * 2001-07-09 2003-01-28 Chiyoda Kogyo Kk Pipe bending simulation method, simulation device used in the method, and storage media for simulation used in the method
WO2003091812A1 (en) * 2002-04-24 2003-11-06 Ishida Co., Ltd. Commodity manufacturing device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003025020A (en) * 2001-07-09 2003-01-28 Chiyoda Kogyo Kk Pipe bending simulation method, simulation device used in the method, and storage media for simulation used in the method
WO2003091812A1 (en) * 2002-04-24 2003-11-06 Ishida Co., Ltd. Commodity manufacturing device

Similar Documents

Publication Publication Date Title
JPH0736191B2 (en) Graphic display method of structure
JP2000207008A (en) Teach-in system
JP5957070B2 (en) Workpiece machining surface display method, workpiece machining surface display device, tool path generation device, and workpiece machining surface display program
JPH0126112B2 (en)
JP3037881B2 (en) Numerical control unit
KR100314748B1 (en) A numerical control device and method for displaying three dimensional graphics in real time
US5610842A (en) Method of animation plotting of NC machining program
EP0460220A1 (en) Display system of numerical controller
EP0417307A1 (en) Method of plotting nc program
JPH08161018A (en) Machining simulation system
JPH06202724A (en) Numerical controller
JP2006344041A (en) Tool locus plotting method and apparatus
JPH04114208A (en) Animation plotting system for nc program
JP3075861B2 (en) Numerical control unit
JPH05216524A (en) Robot
JPH0926810A (en) Numerical controller
JPH0553636A (en) Machining locus display method for numerical controller
JP2742959B2 (en) Laser processing equipment
JPH04252307A (en) Interactive numerical controller
JPH07230312A (en) Cnc system
JPH0410003A (en) Drawing method for polyhedral machining
JP2837927B2 (en) Numerical control device with a function to display the trajectory of the rotation axis
JPH0573126A (en) Simulation plotting method for numerical controller
JPH0619526A (en) Three-dimensional shape alteration system
JPH0766396B2 (en) Graphic information processing system