JPS6324307A - Nc data checking method - Google Patents

Nc data checking method

Info

Publication number
JPS6324307A
JPS6324307A JP16756786A JP16756786A JPS6324307A JP S6324307 A JPS6324307 A JP S6324307A JP 16756786 A JP16756786 A JP 16756786A JP 16756786 A JP16756786 A JP 16756786A JP S6324307 A JPS6324307 A JP S6324307A
Authority
JP
Japan
Prior art keywords
data
tool
view
shape
axis
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
JP16756786A
Other languages
Japanese (ja)
Inventor
Teruyuki Matsumura
松村 輝幸
Hideaki Maeda
英朗 前田
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 JP16756786A priority Critical patent/JPS6324307A/en
Publication of JPS6324307A publication Critical patent/JPS6324307A/en
Pending legal-status Critical Current

Links

Landscapes

  • Numerical Control (AREA)

Abstract

PURPOSE:To check the state of working of a C axis by displaying the respective X-Z side view and X-C front view on a CRT in the course of the final working, based on a data from an automatic programming part or an NC control part. CONSTITUTION:When an automatic programming part 11 is selected by controlling the switching units 15, 16 by a keyboard 14, an X-Z side view SDV and an X-C front view FRV of the final shape are displayed on a CRT 13, based on a data of the programming part 11. On the other hand, when an NC control part 12 is selected, the side view SDV and the front view FRV in the course of working are displayed together with a tool, based on a data from a RAM 12a of a built-in working memory. In this way, a state of working of a C axis can also be executed easily and exactly.

Description

【発明の詳細な説明】 〈産業上の利用分野〉 本発明はNCデータチェック方法に係り、特に旋削加工
とC軸加工の両方の加工の様子を描画することにより作
成したNCデータのチェックを行うNCデータのチェッ
ク方法に関する。
[Detailed Description of the Invention] <Industrial Application Field> The present invention relates to an NC data checking method, and in particular checks NC data created by drawing machining states of both turning machining and C-axis machining. This relates to a method of checking NC data.

〈従来技術〉 最近のNG装置は、NCデータによる数値制御機能に加
えて、対話画面より必要なデータを入力させてNCデー
タを自動作成する自動プログラミング機能を備えている
<Prior Art> In addition to a numerical control function using NC data, recent NG devices are equipped with an automatic programming function that automatically creates NC data by inputting necessary data from an interactive screen.

これら機能のうち自動プログラミング機能によるNCデ
ータ作成処理の流れは第16図に示すように大別すると
以下の15ステップから成っている。すなわち、 (1)  ″自動プログラミング7の実行を選択する第
1ステップ、 (2)入力すべきデータ(次に実行すべきステップ)を
選択する第2ステップ (3)素材の材質を選択する第3ステップ、(4)面粗
さを設定する第4ステップ (5)図面形式を選択する第5ステップ、(6)  素
材形状とその寸法を入力する第6ステップ、(7)部品
形状とその寸法を入力する第7ステップ、(8)機械原
点とタレット位置入力の第8ステップ、(9)加工工程
を選択する第9ステップ、fil  工具の選択と工具
データ入力の第10ステップ、 01)加工条件決定の第11ステップ、(1乃  切削
方向入力の第12ステップ、(1勇  切削範囲入力の
第13ステップ、(14]  同じ工具で切削する領域
の有無を入力する第14ステップ (同 工具通路の計算(NCデータ作成)の第15ステ
ップ よりなり、順次所定の設問画像(対話画面)をディスプ
レイ画面に表示し、該設問に応じて必要なデータをオペ
レータをしてキーボードから入力させ、最終的に入力さ
れた全データを用いてNGプログラム(NCデータ)を
作成するようになっている。
Among these functions, the flow of NC data creation processing by the automatic programming function is roughly divided into the following 15 steps as shown in FIG. That is, (1) the first step of selecting execution of the automatic programming 7, (2) the second step of selecting the data to be input (step to be executed next), and (3) the third step of selecting the material of the material. (4) Fourth step to set the surface roughness, (5) Fifth step to select the drawing format, (6) Sixth step to input the material shape and its dimensions, (7) Part shape and its dimensions. 7th step to input, (8) 8th step to input machine origin and turret position, (9) 9th step to select machining process, 10th step to select fil tool and input tool data, 01) Determine machining conditions 11th step, (1) 12th step to input cutting direction, (13th step to input cutting range, (14) 14th step to input presence or absence of area to be cut with the same tool (1) Calculation of tool path The 15th step (NC data creation) sequentially displays predetermined question images (dialogue screen) on the display screen, prompts the operator to input the necessary data from the keyboard according to the question, and finally inputs the data. An NG program (NC data) is created using all the data that has been created.

そして、NCデータの作成が終了すれば第16図の第1
6ステップにより作成したNCデータのチェックが行わ
れる。
When the creation of the NC data is completed, the first
The NC data created in 6 steps is checked.

このNCデータチェックのステップにおいては、NCデ
ータのチェック要求が発生すると、ディスプレイ画面に
素材1(第17図参照)のx−7側面図が塗り潰されて
描画される。しかる後、作成したNCデータに基づいて
マシーンロックの状態でNC制御を実行すると共に、各
軸(X、Z)軸の現在位置を監視し、該各軸現在位置を
所定時間毎にディスプレイ装置に入力する。ディスプレ
イ装置は入力されたx、Z軸の現在値に基づいて工具2
の描画位置を移動させながら塗り潰し部分を削り取って
旋削加工の様子を描画する。
In this NC data check step, when an NC data check request is generated, the x-7 side view of material 1 (see FIG. 17) is drawn filled in on the display screen. After that, NC control is executed with the machine locked based on the created NC data, and the current position of each axis (X, Z) is monitored, and the current position of each axis is displayed on a display device at predetermined intervals. input. The display device displays tool 2 based on the input current values of the x and Z axes.
While moving the drawing position, remove the filled part and draw the turning process.

〈発明が解決しようとしている問題点〉以上のように、
従来はディスプレイ画面に素材のx−Z側面図を描画し
、NCデータに基づいてディスプレイ画面上で工具を移
動させて素材が削り取られてゆく様子を描画してNCデ
ータのチェック (NC加工のシュミレーシコン)を行
うものであった。
<Problems that the invention is trying to solve> As mentioned above,
Conventionally, the X-Z side view of the material is drawn on the display screen, and the NC data is checked by drawing the material being removed by moving the tool on the display screen based on the NC data (simulation of NC machining). The purpose of the event was to conduct a

ところで、工作機械によっては旋削加工に加丸で、素材
を回転方向(C軸方向)に位置制御して該素材に穴明け
や溝切りを行うC軸加工を行えるものがある。
By the way, some machine tools are capable of performing C-axis machining, which involves drilling or grooving a material by controlling the position of the material in the rotational direction (C-axis direction) in addition to the turning process.

第18図はC軸加工の例であり、素材1において、1a
は端面穴明は加工により加工された穴、1′loは側面
穴明は加工により加工された穴、1cは端面溝切り加工
により加工された溝、1dは側面溝切り加工(円周方向
)により加工された溝、1eは側面溝切り加工(長手方
向)に加工された溝である。
Figure 18 is an example of C-axis machining, where material 1 is 1a
1'lo is a hole machined by machining, 1'lo is a hole machined by machining, 1c is a groove machined by end grooving, 1d is a side grooving process (circumferential direction). The groove 1e is a groove machined by side grooving (in the longitudinal direction).

しかし、従来方法では旋削加工に加えてC軸加工が含ま
れる場合であっても、単に旋削加工の様子のみを描画す
るだけでC軸加工の様子は描画できず、この為NCデー
タのチェック(NC加工のシュミレーション)が完全な
ものではないという問題があった。
However, in the conventional method, even when C-axis machining is included in addition to turning, only the turning process is drawn, and the C-axis process cannot be drawn. There was a problem that the simulation of NC processing was not perfect.

以上から本発明の目的は旋削加工に加えてC軸加工の様
子も描画できるNCデータチェック方法を提供すること
である。
From the above, it is an object of the present invention to provide an NC data checking method that can depict the state of C-axis machining in addition to turning machining.

く問題点を解決するための手段〉 第1図は本発明方法を実施するNC装置のブロック図で
ある。
Means for Solving the Problems> FIG. 1 is a block diagram of an NC device that implements the method of the present invention.

11は自動プログラミング部、12はNG制御部、13
はグラフィックディスプレイ装置(CRT)、14はキ
ーボード、15,16は切替ユニットである。又、ディ
スプレイ画面においてSDVは素材のX−Z側面図、 
 FRVは最終部品形状のX−C正面図である。
11 is an automatic programming section, 12 is an NG control section, 13
1 is a graphic display device (CRT), 14 is a keyboard, and 15 and 16 are switching units. Also, on the display screen, SDV shows the X-Z side view of the material,
FRV is an X-C front view of the final part shape.

く作用〉 自動プログラミング部11のプログラミング機能により
対話的にNCデータを作成し、該作成したNCデータを
NC制御部12に送り内蔵の加工メモリ (RAM)1
2aに記憶する。
Function> NC data is created interactively using the programming function of the automatic programming section 11, and the created NC data is sent to the NC control section 12 and stored in the built-in machining memory (RAM) 1.
2a.

この状態で、NCデータのチェック要求が発生すれば、
自動プログラミング部11は素材形状や最終部品形状を
特定するデータをグラフィックディスプレイ族W15に
送り、ディスプレイ画面に素材のX−Z側面図(SDV
)と最終部品形状のX−C正面図(FRV)を描画する
If an NC data check request occurs in this state,
The automatic programming section 11 sends data specifying the material shape and final part shape to the graphic display group W15, and displays an X-Z side view (SDV) of the material on the display screen.
) and the X-C front view (FRV) of the final part shape.

一方、NC制御部12はNCデータに基づいて周知のN
C制御処理を実行すると共に、各軸現在位置を監視し、
該各軸現在位置を所定時間毎にグラフインクディスプレ
イ装置13に入力し、X−2側面図では工具のx、Z軸
現在値に基づいて工具の描画位置を移動させて旋削加工
の様子を描画し、x−C正面図では工具のX軸現在位置
に基づいて工具描画位置を移動させ、かつC軸現在位置
に基づいてワークを回転させてC軸加工の様子を描画す
る。
On the other hand, the NC control unit 12 uses the well-known N on the basis of the NC data.
While executing C control processing, monitor the current position of each axis,
The current position of each axis is input to the graph ink display device 13 at predetermined time intervals, and in the X-2 side view, the drawing position of the tool is moved based on the current values of the x and Z axes of the tool to draw the turning process. However, in the x-C front view, the tool drawing position is moved based on the current X-axis position of the tool, and the workpiece is rotated based on the current C-axis position to draw the state of C-axis machining.

〈実施例〉 第1図は本発明を実施するNC装置のブロック図、第2
図はCRT&MDI装置の外観図、第3図はグラフィッ
クディスプレイ装置の概略ブロック図である。
<Embodiment> Fig. 1 is a block diagram of an NC device implementing the present invention;
The figure is an external view of the CRT&MDI device, and FIG. 3 is a schematic block diagram of the graphic display device.

第1図において、11は自動プログラミング部、 12
ばNG制御部、13はグラフィックディスプレイ装置(
CRT) 、14はキーボード、15゜16は切替ユニ
ットである。尚、切替ユニット15.16は説明の都合
上スイッチで示しているが実際にはソフト処理で切り替
えられるようになっている。
In FIG. 1, 11 is an automatic programming section; 12
13 is an NG control unit, and 13 is a graphic display device (
CRT), 14 is a keyboard, and 15 and 16 are switching units. Although the switching units 15 and 16 are shown as switches for convenience of explanation, they can actually be switched by software processing.

自動プログラミング部11及びNC制御部12はマイク
四コンピュータ構成になっており、プロセッサや制御プ
ログラムメモリ (ROM)やRAMを内蔵している。
The automatic programming section 11 and the NC control section 12 are configured with a microphone and four computers, and have a built-in processor, control program memory (ROM), and RAM.

グラフィックディスプレイ族W13とキーボード14は
第2図に示すように一体に構成され、通常CRT&MD
 I装置と称されている。ディスプレイ画面は、第1図
に示すように対話画面表示領域13aと複数のソフトキ
ー領域13bに分けられ、各ソフトキー領域に対応して
キー13c。
The graphic display group W13 and the keyboard 14 are integrally configured as shown in FIG.
It is called the I device. As shown in FIG. 1, the display screen is divided into an interaction screen display area 13a and a plurality of soft key areas 13b, and a key 13c corresponding to each soft key area.

13c・・・ (第2図参照)が設けられ、該キーを押
圧することにより対応するソフトキー領域に表示されて
いるデータを入力することができろ。
13c... (see FIG. 2) are provided, and by pressing the key, data displayed in the corresponding soft key area can be input.

NCデータチェック時には、ディスプレイ画面の左側に
素材のX−Z側面図(SDV)が、また右側に最終部品
形状のX−C正面図(FRV)が描画されるようになっ
ている。
When checking NC data, the X-Z side view (SDV) of the material is drawn on the left side of the display screen, and the X-C front view (FRV) of the final part shape is drawn on the right side.

グラフィックディスプレイ装置13は第3図に示すよう
に、ディスプレイ制御部2、、メモリ22、複数のイメ
ージバッファメモリを有するイメージバッファ部23、
水平同期信号や垂直同期信号を発生するタイミング信号
発生器24、CRTのビーム走査と同期してイメージバ
ッファがら画像データを読み取って出力する読出し制御
部25、イメージバッファメモリ23a〜23cがらそ
れぞれ読み出される画像信号に応じて輝度変調制御を行
う輝度制御部26、カラーCRT27、タイミング信号
発生器から出力されるタイミング信号に同期してビーム
を水平、垂直方向に偏向する偏向回路28を有している
As shown in FIG. 3, the graphic display device 13 includes a display control section 2, a memory 22, an image buffer section 23 having a plurality of image buffer memories,
A timing signal generator 24 that generates a horizontal synchronization signal and a vertical synchronization signal, a readout control section 25 that reads and outputs image data from an image buffer in synchronization with beam scanning of a CRT, and images that are read out from the image buffer memories 23a to 23c, respectively. It has a brightness control section 26 that performs brightness modulation control according to a signal, a color CRT 27, and a deflection circuit 28 that deflects a beam in horizontal and vertical directions in synchronization with a timing signal output from a timing signal generator.

尚1イメージバツフアメモリ23a〜23cは、それぞ
れディスプレイ画面の1絵素に対応する記憶域を有し、
NCデータチェック時(NC加工シュミレーション時)
イメージバッファメモリ23aには素材のX−2側面図
(SDv)、その他の固定図形(チャック形状。、テー
ルストック形状)が記憶され、イメージバッフ7メモリ
 23bには部品形状のx−C正面図(FRV)が記憶
さね、イメージバッファメモリ23cには工具形状と工
具通路軌跡が記憶されるようになっている。
Each of the image buffer memories 23a to 23c has a storage area corresponding to one pixel of the display screen,
When checking NC data (when simulating NC machining)
The image buffer memory 23a stores the X-2 side view (SDv) of the material and other fixed figures (chuck shape, tailstock shape), and the image buffer 7 memory 23b stores the x-C front view (SDv) of the part shape. FRV), and the image buffer memory 23c stores the tool shape and tool path locus.

す下、本発明にかかるNCデータチェック処理について
説明する。
Below, the NC data check processing according to the present invention will be explained.

(1)キーボード14上のキー14aを操作して、切替
ユニット15.16をしてグラフィックディスプレイ装
置13とキーボード14を自動プログラミング部11用
とする。
(1) By operating the key 14a on the keyboard 14, the switching units 15 and 16 are set to use the graphic display device 13 and the keyboard 14 for the automatic programming section 11.

(2)シかる後自動プログラミング部11のプログラミ
ング機能により、第16図に示す従来方法の流れと同様
に対話的にNCデータを作成し、該作成したNCデータ
をNC制御部12に送り内蔵の加工メモリ (RAM)
IZaに記憶する。
(2) After programming, the programming function of the automatic programming section 11 creates NC data interactively in the same way as the flow of the conventional method shown in FIG. Processing memory (RAM)
Store in IZa.

尚、C軸加工による部品形状は息下のように入力される
。すなわち、第16図に示す第7ステップにおいて旋削
加工部分の部品形状入力が終了し、ソフトキー「次のペ
ージ」を押圧すると、ディスプレイ画面に第4図に示す
ようにC軸加工を行うか否かの設問画像が描画されるか
ら、数字「1」を入力してC軸加工を行う旨を入力する
Note that the part shape obtained by C-axis machining is inputted as if under breath. That is, when the part shape input for the turning part is completed in the seventh step shown in Fig. 16 and the soft key "Next Page" is pressed, the display screen shows whether or not to perform C-axis machining as shown in Fig. 4. The question image will be drawn, so enter the number "1" to indicate that C-axis machining will be performed.

これにより、ディスプレイ画面に端面穴を特定するため
の設問画像が描画され、息後所定のソフトキーが押圧さ
れろ毎に順次側面穴、端面溝、側面溝(円周方向)、側
面溝(Z軸方向)を特定するための設問画像がディスプ
レイ画面に描画されろ。
As a result, a question image for identifying the end hole is drawn on the display screen, and each time a predetermined soft key is pressed after breathing, the side hole, end groove, side groove (circumferential direction), side groove (Z Draw a question image on the display screen to identify the axial direction.

第5図、第6図は端面穴を特定するためのデータ説明図
であり、第5図は等間隔に穴を明けろ場合、第6図は不
等間隔に穴を明ける場合である。
5 and 6 are explanatory diagrams of data for specifying the end holes. FIG. 5 shows the case where the holes are drilled at equal intervals, and FIG. 6 shows the case where the holes are drilled at unequal intervals.

さて、端面穴の設問画面においては以下に示すデータ、 加工種類・・K=1  (1:穴明け、2:溝切り)加
工場所・・W=1 (0:側面、1:端面)位置(X座
標値)・・DX−穴のX方向位置間隔・・AB=口(0
:等間隔、1:不等間隔)個数・・AC=大の個数 初期角度・・A1=重位置(最初の穴の角度)角度・・
A2=2番目の大泣W(不等間隔の場合)A3=3番目
の穴位置(不等間隔の場合)最終角度AE=複数個穴を
開けろ場合の最終角度深さ・ ・DT=  穴深さ センタモミ・・CG=口(1:する、0:しない)ピッ
チPT=ネジ切りの場合に設定 のうち所定のデータを入力する。
Now, on the end face hole question screen, the data shown below, Machining type: K = 1 (1: Drilling, 2: Grooving) Machining location: W = 1 (0: Side, 1: End face) Position ( X coordinate value)...DX-X direction position interval of holes...AB=Opening (0
: Evenly spaced, 1: Unequally spaced) Number of pieces... AC = Number of large pieces Initial angle... A1 = Heavy position (angle of first hole) Angle...
A2 = 2nd hole W (in the case of uneven spacing) A3 = 3rd hole position (in the case of uneven spacing) Final angle AE = Final angle depth if multiple holes are drilled・・DT= Hole depth Center fir... CG = mouth (1: Yes, 0: No) Pitch PT = Input the specified data among the settings when thread cutting.

第7図は側面穴を特定するためのデータ説明図であり、
設問画像は 加工種類・・K=1 (1:穴明け、2;溝切り)加工
場所・・W=O(0:側面、1:M4面)位置(2座漂
値)・・LZ=穴のZ方向位置以外は端面穴と同一であ
る。
Figure 7 is an explanatory diagram of data for identifying side holes.
The question image shows the processing type...K=1 (1: drilling, 2: grooving) Processing location...W=O (0: side, 1: M4 surface) position (2-seat drift value)...LZ=hole It is the same as the end face hole except for the Z direction position.

第8図は端面溝を特定するためのデータ説明図であり、
設問画面において以下に示すデータ、加工種類・・K=
2 (1:穴明け、2:溝切り)加工場所・・W=1(
0:側面、1:端面)位置(X座標値)・・DX−溝の
X方向位置間隔・・AB=口(0:等間隔、1:不等間
隔)個数・・AC−溝の個数 初期角度・・A1=重位置(最初の溝の切削開始角度) 角度・・A i == i番目の溝切削開始角度(i 
= 2 。
FIG. 8 is an explanatory diagram of data for specifying end grooves,
On the question screen, the following data, processing type...K=
2 (1: Drilling, 2: Grooving) Processing location: W = 1 (
0: side surface, 1: end surface) position (X coordinate value)...DX-X direction position interval of grooves...AB=opening (0: evenly spaced, 1: unevenly spaced) number...AC-initial number of grooves Angle...A1 = Heavy position (cutting start angle of the first groove) Angle...A i == i-th groove cutting start angle (i
= 2.

3、・・5.不等間隔の場合) 最終角度AE−複数個溝加工する場合の最終溝の切削開
始角度 深さ・・DT=  溝深さ 溝径・・WT−溝径 溝長さ・・AG=溝の長さく角度指定)のうち所定のデ
ータを入力する。
3,...5. (In the case of uneven spacing) Final angle AE - Cutting start angle depth of the final groove when machining multiple grooves...DT = Groove depth Groove diameter...WT - Groove diameter Groove length...AG = Groove length Enter the specified data (designation of cutting angle).

第9図は側面溝(円周方向)を特定するためのデータ説
明図であり、設問画像は 加工種類・・K=2 (1:穴明け、2:溝切り)加工
場所・・w=o (0:側面、1:端面)加工の方向・
・CD=1 (0:円周方向、1:Z方向) 位t(Z座標値)・・LZ=溝のZ方向位置以外は端面
溝の場合と同様である。
Figure 9 is an explanatory diagram of data for specifying side grooves (circumferential direction), and the question image is processing type: K=2 (1: drilling, 2: grooving) processing location: w=o (0: side surface, 1: end surface) Machining direction/
・CD=1 (0: circumferential direction, 1: Z direction) Position t (Z coordinate value)...LZ=Same as the end groove except for the Z direction position of the groove.

第10図は側面溝(Z方向)を特定するためのデータ説
明図であり、設問画像においては息下に示すデータ 加工種類・・K=2 (1:穴明け、2:は溝切り)加
工場所・・w=o (0:側面、1;端面)加工の方向
・・CD=1 (0:同局方向、1:Z軸方向) 位置(Z座標値)・・LZ=溝のZ方向位置間隔・・A
B=口(0:等間隔、1:不等間隔)個数・・AC=溝
の個数 初期角度・・A1=重位置(最初の溝の角度)角度・・
A i = i番目の溝の角度(i=2,3゜・・5.
不等間隔の場合) 最終角度AE−複数溝加工する場合の最終溝角度深さ・
・DT=  溝深さ 溝径・・WT=  溝径 溝長さ・・AG−溝の長さく角度指定)のうち所定のデ
ータを入力する。
Figure 10 is an explanatory diagram of data for specifying side grooves (Z direction), and in the question image, the data processing type shown below...K=2 (1: drilling, 2: grooving) processing Location: w=o (0: side surface, 1: end surface) Machining direction: CD=1 (0: same direction, 1: Z-axis direction) Position (Z coordinate value): LZ = Z-direction position of the groove Interval...A
B = Number of openings (0: evenly spaced, 1: unevenly spaced) AC = Number of grooves Initial angle A1 = Heavy position (first groove angle) Angle...
A i = angle of i-th groove (i = 2, 3°...5.
(In the case of uneven spacing) Final angle AE - Final groove angle depth when machining multiple grooves
・DT=groove depth, groove diameter...WT=groove diameter, groove length...AG-groove length and angle specification), enter the specified data.

(3) N Cデータの作成が終了するとディスプレイ
画面にはステップ選択画面が表示されるから、rNCデ
ータのチェック」を選択する(第16図の第2ステップ
参照)。
(3) When the creation of the NC data is completed, a step selection screen is displayed on the display screen, so select "Check rNC data" (see the second step in FIG. 16).

(4)これにより、自動プログラミング部11は、自動
プログラミング時に入力されて内蔵のメモリに記憶され
ている素材形状や最終部品形状を特定するデータ等をグ
ラフィックディスプレイ装置13に送る。尚、思後第1
8図に示す形状を最終部品形状とする。
(4) As a result, the automatic programming section 11 sends to the graphic display device 13 data specifying the material shape and final part shape, which are input during automatic programming and stored in the built-in memory. Furthermore, the first thought
The shape shown in Figure 8 is the final part shape.

すなわち、自動プログラミング部11はx−7側面図に
関しては、チャック形状、テールストック形状、素材形
状を特定するデータをグラフィックディスプレイ装置1
3に入力し、Z−C正面図に関しては最終部品形状デー
タを入力し、各図共通なデータとして工具チップ形状や
工具ホルダ形状を入力する。尚、これらデータはグラフ
ィックディスプレイ装置のメモリ22(第3図参照)に
記憶される。又、工具チップ形状は第15図に示す形状
であり、工具番号に応じてどのチップ形状を用いるかが
メモリ22に記憶される。
That is, for the x-7 side view, the automatic programming section 11 sends data specifying the chuck shape, tail stock shape, and material shape to the graphic display device 1.
3, input the final part shape data for the Z-C front view, and input the tool tip shape and tool holder shape as data common to each view. Note that these data are stored in the memory 22 (see FIG. 3) of the graphic display device. Further, the tool tip shape is the shape shown in FIG. 15, and which tip shape to use is stored in the memory 22 according to the tool number.

(5)シかる後、グラフィックディスプレイ装置13の
ディスプレイ処理部21は入力された形状データを用い
て各種図形を発生して各イメージバッファメモリ23a
〜23cに記憶する。すなわち為イメージバッファメモ
リ23aには素材のX−Z側面図(SDV)やチャック
形状図形、テールストック形状図形を記憶し、イメージ
バッファメモIJ 23 bには部品形状のX−C正面
図(FRV)を記憶する。尚、イメージバッファメモリ
23cには現時点では図形が記憶されないが、以後NC
制御と並行して工具形状や工具軌跡が記憶されろ。
(5) After the display, the display processing unit 21 of the graphic display device 13 generates various figures using the input shape data, and generates various figures in each image buffer memory 23a.
~23c. That is, the image buffer memory 23a stores the X-Z side view (SDV), chuck shape, and tailstock shape of the material, and the image buffer memory IJ 23b stores the X-C front view (FRV) of the part shape. remember. Note that although no figure is stored in the image buffer memory 23c at this moment, it will be
Tool shapes and tool trajectories are memorized in parallel with control.

(6)読出し制御部25は各イメージバッファメモリか
ら画像を読み取って輝度制御部に入力し、ディスプレイ
画面に第11図に示すように素材のX−2側面図(SD
V)と最終部品形状のX−C正面図(FRV)を描画す
る。
(6) The readout control unit 25 reads the image from each image buffer memory, inputs it to the brightness control unit, and displays an X-2 side view (SD) of the material on the display screen as shown in FIG.
V) and the X-C front view (FRV) of the final part shape.

(7)この状態で、ソフトキー「チェック開始」を押圧
するとNC制御部12はRAM12aに記憶されている
NCデータを1ブロツクづつ読み取り、NCデータが工
具交換のT機能命令であれば工具番号を自動プログラミ
ング部11に入力し、また通路制御用のNCデータであ
れば周知の通路割部を行うと共に各軸現在位置を監視し
、該各軸現在位置を所定時間毎に自動プログラミング部
 11に入力する。尚、工作機械はマシンロックがかか
っており動かない。
(7) In this state, when the soft key "Start check" is pressed, the NC control unit 12 reads the NC data stored in the RAM 12a one block at a time, and if the NC data is a T function command for tool exchange, the tool number is If the NC data is for path control, it is input to the automatic programming section 11, and if it is NC data for path control, it performs a well-known path dividing section, monitors the current position of each axis, and inputs the current position of each axis to the automatic programming section 11 at predetermined intervals. do. The machine tool is locked and does not move.

(8)自動プログラミング部11は入力された工具番号
、所定時間毎の工具各軸現在位置をグラフィックディス
プレイ装置13のディスプレイ制御部21に入力する。
(8) The automatic programming section 11 inputs the input tool number and the current position of each axis of the tool at predetermined time intervals to the display control section 21 of the graphic display device 13.

(9)ディスプレイ制御部21は、工具番号や現在位置
(最初は工具の初期位置)が入力されれば、工具番号に
対応する工具形状をメモリ22から読み取って現在位置
に該工具形状を描画すべく図形を発生してイメージバッ
ファメモリ23cに記憶する。
(9) When the tool number and current position (initially the initial position of the tool) are input, the display control unit 21 reads the tool shape corresponding to the tool number from the memory 22 and draws the tool shape at the current position. A graphic is generated and stored in the image buffer memory 23c.

しかる後、読出し制御部25は各イメージバッファメモ
リから画像を読み取ってCRT27に削り取り前の素材
のX−Z側面図、X−C正面図、工具形状を描画する。
Thereafter, the readout control section 25 reads images from each image buffer memory and draws on the CRT 27 an X-Z side view, an X-C front view, and a tool shape of the material before being scraped.

(IO1以後、工具が移動して旋削加工が行われる場合
には、工具移動に応じてワークが削り取られてゆく様子
がX−2側面図に描画される(第12図参照)。尚、X
−C正面図は変化しない。
(After IO1, when turning is performed with the tool moving, the X-2 side view shows how the workpiece is being scraped off as the tool moves (see Figure 12).
-C Front view does not change.

すなわち、ディスプレイ制御部21は、所定時間毎に入
力されるx、z軸の工具位置座標値に基づいて該位置に
工具形状が描画されるように画像を発生してイメージバ
ッファメモリ23cに記憶すると共に、所定時間毎の工
具移動に応じて削り取られた後の素材のx−2側面図を
生成してイメージバッファメモリ23aに記憶スる。
That is, the display control unit 21 generates an image so that the tool shape is drawn at the position based on the tool position coordinate values of the x and z axes that are input at predetermined time intervals, and stores it in the image buffer memory 23c. At the same time, an x-2 side view of the material after being scraped is generated according to the movement of the tool at predetermined time intervals and is stored in the image buffer memory 23a.

この結果、ディスプレイ画面には第12図に示すように
素材が削り取られてゆく様子が描画されることになる。
As a result, the appearance of the material being scraped away is drawn on the display screen as shown in FIG.

(11)一方、C軸加工の場合(例丸ば端面溝切りの場
合)には、まず工具が移動する毎に工具形状と工具軌跡
をX−Z側面図及びX−C正面図と共にディスプレイ画
面に描画する。尚、X−Z側面図において削り取りは行
わない。
(11) On the other hand, in the case of C-axis machining (for example, in the case of round end face grooving), each time the tool moves, the tool shape and tool trajectory are displayed on the display screen together with the X-Z side view and the X-C front view. to draw. Note that no scraping is performed in the X-Z side view.

そして、工具が位置決めされて素材に所定量切り込んだ
後にC軸回転が開始して溝切りが始まると、ディスプレ
イ制御部21に所定時間毎のC軸方向現在位置(回転量
)が入力されろ。これにより、ディスプレイ制御部21
は該回転量だけX−C正面図(最終部品形状)を回転さ
せてイメージバッファメモリ23bに記憶する。
Then, after the tool is positioned and cuts a predetermined amount into the material, the C-axis rotation starts and groove cutting begins, and the current position (rotation amount) in the C-axis direction is input to the display control unit 21 at predetermined time intervals. As a result, the display control unit 21
rotates the X-C front view (final part shape) by the amount of rotation and stores it in the image buffer memory 23b.

以後各イメージバッファメモリから画像が読み出されて
合成され、ディスプレイ画面に第13図に示すように部
品形状が所定量回転した後の図形が描画され、C軸加工
(#面溝切り加工)により溝が切られてゆく様子が描画
されることになる。
Thereafter, images are read from each image buffer memory and combined, and a figure after the part shape has been rotated by a predetermined amount is drawn on the display screen as shown in Figure 13, and then processed by C-axis machining (# face grooving). The process of cutting the grooves will be depicted.

0乃又、側面溝切り加工の場合には同様にディスプレイ
画面に第14図に示すようにC軸加工(側面溝切り加工
)により溝が切られてゆく様子が描画されろ。
Furthermore, in the case of side grooving, the manner in which the groove is cut by C-axis machining (side grooving) is similarly drawn on the display screen as shown in FIG.

〈発明の効果〉 以上本発明によれば、ディスプレイ画面を2分して一方
の側に素材のx−Z側面図を描画し、旋削加工の場合に
はX−Z側面図において素材が削り取られてゆく様子を
描画すると共に、ディスプレイ画面の他方の側に最終部
品形状のX−C正面図を描画し、C軸加工の場合には最
終部品形状をC軸の回転に従って回転させろように構成
したから、旋削加工に加えてC軸加工の様子も認識でき
NCデータのチェック (NC加工のシュミレーション
)を完全とすることができる。
<Effects of the Invention> According to the present invention, the display screen is divided into two, an x-Z side view of the material is drawn on one side, and in the case of turning, the material is scraped off in the X-Z side view. At the same time, an X-C front view of the final part shape is drawn on the other side of the display screen, and in the case of C-axis machining, the final part shape is configured to be rotated according to the rotation of the C-axis. In addition to turning, C-axis machining can also be recognized, allowing complete NC data checking (NC machining simulation).

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

第1図は本発明を実施するNC装置のブロック図、 第2図はNC装置におけるCRT&MDI装置の外観図
、 第3図はグラフィックディスプレイ装置のブロック図、 第4図はC軸加工部分の形状を入力する際の対話画面例
、 第5図乃至第10図はC軸加工部分の形状を特定するデ
ータ説明図、 第11図乃至第14図は本発明にかかるNC加工シュミ
レーション時の切削状況の様子を示すディスプレイ画面
例、 第15図は工具形状説明図、 第16図はNCデータ自動プログラミングの流れ図、 第17図は従来のNC加工シュミレーション時の描画例
、 第18図は最終部品形状の斜視図である。 11・・自動プログラミング部、 12・・N CfilJ御部、 13・・グラフィックディスプレイ装置14・・キーボ
ード、 15.16・・切替ユニット、 SDV・・素材のX−Z側面図、 FRV・・最終部品形状のX−c正面図特許出願人  
      ファナック株式会社代理人       
   弁理士  齋藤千幹第4図 第5図 第6図 ((71(b) 第7図 ((7)               (bI   
      (C)第8図 (O) (Q> (C) 第10図 第15図 第16図 第17図 V 第18図 昭和61年10月21日 、、事件の表示 昭和61年特許願第167567号 2 発明の名称 NCデータチェック方法 3 補正をする者 事件との関係  特許出願人 住所 山梨県南部留郡忍野村忍草字古馬場3580番地
氏名(名称) ファナック株式会社 代表者  稲葉消右衛門 6 補正の対象 図面第2図における文字を拡大表示するために全体を別
紙の通り拡大する。
Fig. 1 is a block diagram of the NC device that implements the present invention, Fig. 2 is an external view of the CRT & MDI device in the NC device, Fig. 3 is a block diagram of the graphic display device, and Fig. 4 shows the shape of the C-axis machining part. Examples of dialogue screens when inputting data, Figures 5 to 10 are explanatory diagrams of data that specify the shape of the C-axis machined part, and Figures 11 to 14 are cutting situations during NC machining simulation according to the present invention. Fig. 15 is an explanatory diagram of the tool shape, Fig. 16 is a flow chart of automatic NC data programming, Fig. 17 is an example of drawing during conventional NC machining simulation, Fig. 18 is a perspective view of the final part shape. It is. 11...Automatic programming section, 12...N CfilJ control section, 13...Graphic display device 14...Keyboard, 15.16...Switching unit, SDV...X-Z side view of material, FRV...Final parts Shape X-c Front View Patent Applicant
Agent for FANUC Co., Ltd.
Patent Attorney Chiki Saito Figure 4 Figure 5 Figure 6 ((71(b) Figure 7 ((7) (bI
(C) Figure 8 (O) (Q> (C) Figure 10 Figure 15 Figure 16 Figure 17 Figure 18 October 21, 1985, Incident Display 1986 Patent Application No. 167567 No. 2 Name of invention NC data check method 3 Relationship with the case of the person making the amendment Patent applicant address 3580 Kobaba, Oshinomura, Oshinomura, Nanburu-gun, Yamanashi Prefecture Name (name) Fanuc Corporation Representative Inaba Sukeemon 6 Amendment In order to enlarge the characters in the target drawing, Figure 2, the entire figure is enlarged as shown in the attached sheet.

Claims (3)

【特許請求の範囲】[Claims] (1)複数のデータ入力ステップの各ステップに応じた
対話画像をディスプレイ画面に表示し、該対話画像を参
照して素材形状や、旋削加工及びC軸加工により得られ
る部品形状や、加工工程、使用工具等を特定するデータ
を入力し、該入力されたデータを用いてNCデータを作
成し、しかる後該作成されたNCデータをチェックする
NCデータチェック方法において、 NCデータのチェック要求によりディスプレイ画面に素
材のX−Z側面図と最終部品形状のX−C正面図を描画
する第1ステップ、 NCデータに基づいてNC制御を実行すると共に、各軸
現在位置を監視する第2ステップ、各軸現在位置を所定
時間毎にディスプレイ装置に入力する第3ステップ、 X−Z側面図においては工具のX、Z軸現在値に基づい
て工具の描画位置を移動させて旋削加工の様子を描画す
ると共に、X−C正面図においては工具のX軸現在位置
に基づいて工具描画位置を移動させ、かつC軸現在位置
に基づいて最終部品形状を回転させてC軸加工の様子を
描画する第4ステップとを有することを特徴とするNC
データチェック方法。
(1) Dialogue images corresponding to each of the multiple data input steps are displayed on the display screen, and the dialogue images are referred to to determine the shape of the material, the shape of the part obtained by turning and C-axis machining, the machining process, etc. In an NC data check method in which data specifying the tools used, etc. is input, NC data is created using the input data, and the created NC data is then checked, the display screen is displayed in response to a request to check the NC data. The first step is to draw an X-Z side view of the material and the X-C front view of the final part shape.The second step is to execute NC control based on the NC data and monitor the current position of each axis. The third step is to input the current position into the display device at predetermined time intervals, and in the X-Z side view, the drawing position of the tool is moved based on the current values of the X and Z axes of the tool, and the state of the turning process is drawn. In the X-C front view, the fourth step is to move the tool drawing position based on the current X-axis position of the tool and rotate the final part shape based on the current C-axis position to draw the C-axis machining state. An NC characterized by having
How to check data.
(2)第1ステップにおいて素材のX−Z側面図を塗り
潰して描画し、 第4ステップにおいて旋削加工時工具の移動に応じて塗
り潰し部分を削り取ることを特徴とする特許請求の範囲
第(1)項記載のNCデータチェック方法。
(2) In the first step, the X-Z side view of the material is filled in and drawn, and in the fourth step, the filled in portion is scraped off according to the movement of the tool during turning processing. NC data check method described in section.
(3)予め、ディスプレイ装置に工具番号と工具形状図
の対応を記憶させておき、 工具交換のNCデータの実行により該NCデータに含ま
れる工具番号をディスプレイ装置に入力するステップ、
、 ディスプレイ装置は該工具番号に応じた工具形状図を工
具現在位置に描画するステップを有することを特徴とす
る特許請求の範囲第(1)項または第(2)項記載のN
Cデータチェック方法。
(3) storing in advance the correspondence between the tool number and the tool shape diagram in the display device, and inputting the tool number included in the NC data into the display device by executing NC data for tool exchange;
N according to claim (1) or (2), characterized in that the display device has a step of drawing a tool shape diagram at the current position of the tool according to the tool number.
C Data check method.
JP16756786A 1986-07-16 1986-07-16 Nc data checking method Pending JPS6324307A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP16756786A JPS6324307A (en) 1986-07-16 1986-07-16 Nc data checking method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP16756786A JPS6324307A (en) 1986-07-16 1986-07-16 Nc data checking method

Publications (1)

Publication Number Publication Date
JPS6324307A true JPS6324307A (en) 1988-02-01

Family

ID=15852125

Family Applications (1)

Application Number Title Priority Date Filing Date
JP16756786A Pending JPS6324307A (en) 1986-07-16 1986-07-16 Nc data checking method

Country Status (1)

Country Link
JP (1) JPS6324307A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01295307A (en) * 1988-05-23 1989-11-29 Fanuc Ltd Controller for magnification/reduction of pattern
JPH04114208A (en) * 1990-09-05 1992-04-15 Fanuc Ltd Animation plotting system for nc program
JPH04284507A (en) * 1991-03-14 1992-10-09 Okuma Mach Works Ltd Working process data displaying method in numerical control information generating device
WO1994007189A1 (en) * 1992-09-16 1994-03-31 Fanuc Ltd Method for making animation for nc machining program
JP2005001033A (en) * 2003-06-10 2005-01-06 Fanuc Ltd Machining monitor

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01295307A (en) * 1988-05-23 1989-11-29 Fanuc Ltd Controller for magnification/reduction of pattern
JPH04114208A (en) * 1990-09-05 1992-04-15 Fanuc Ltd Animation plotting system for nc program
JPH04284507A (en) * 1991-03-14 1992-10-09 Okuma Mach Works Ltd Working process data displaying method in numerical control information generating device
WO1994007189A1 (en) * 1992-09-16 1994-03-31 Fanuc Ltd Method for making animation for nc machining program
US5610842A (en) * 1992-09-16 1997-03-11 Fanuc Ltd. Method of animation plotting of NC machining program
JP2005001033A (en) * 2003-06-10 2005-01-06 Fanuc Ltd Machining monitor

Similar Documents

Publication Publication Date Title
US6112133A (en) Visual system and method for generating a CNC program for machining parts with planar and curvilinear surfaces
EP1762919B1 (en) Simulation system
JP4011372B2 (en) Machining program check method and check apparatus for numerically controlled machine tool, and numerically controlled machine tool provided with the same
JPS6257852A (en) Automatic programming device
JPS62236650A (en) Preparation of nc program for 4-axis lathe
JPS5882310A (en) Numerical controlling with position display function
JPS624551A (en) Automatic drawing system of tool configuration
JPH0355259B2 (en)
JPS6324307A (en) Nc data checking method
EP0558030B1 (en) Coordinate system display guide for a numerical control apparatus
JP2005288563A (en) Method and device for creating working program
JP2002529843A5 (en)
JP2002529843A (en) Image CNC program for generating machine parts
JPH01321505A (en) Preparation of hole machining nc data
EP0509102A1 (en) Method of working simulation
JP2846320B2 (en) Interactive numerical controller
JPS62251044A (en) Nc program preparing method for four-spindle lathe
JP3248081B2 (en) Automatic program creation device with automatic cutting axis change function
JPS58143941A (en) Numerically controlled processing system
JPS6391706A (en) Two-picture drawing method
JPH079302A (en) Single item machining method of machining center or the like
JP3437218B2 (en) Method and device for confirming and editing machining data in automatic programming device
JPH07319529A (en) Cad/cam device
JPH03156506A (en) Nc program generating method for interactive numerical controller or automatic programming device
JPH01300306A (en) Automatic programming method