JPS63213003A - Nc device with pre-reading picture drawing function - Google Patents

Nc device with pre-reading picture drawing function

Info

Publication number
JPS63213003A
JPS63213003A JP4516487A JP4516487A JPS63213003A JP S63213003 A JPS63213003 A JP S63213003A JP 4516487 A JP4516487 A JP 4516487A JP 4516487 A JP4516487 A JP 4516487A JP S63213003 A JPS63213003 A JP S63213003A
Authority
JP
Japan
Prior art keywords
data
movement
memory
program
unit
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
JP4516487A
Other languages
Japanese (ja)
Inventor
Takeshi Tanaka
毅 田中
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.)
Yaskawa Electric Corp
Original Assignee
Yaskawa Electric Manufacturing Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Yaskawa Electric Manufacturing Co Ltd filed Critical Yaskawa Electric Manufacturing Co Ltd
Priority to JP4516487A priority Critical patent/JPS63213003A/en
Publication of JPS63213003A publication Critical patent/JPS63213003A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/30Nc systems
    • G05B2219/35Nc in input of data, input till input file format
    • G05B2219/35338Display virtual tool, locus, part to check possibility of execution next block

Landscapes

  • Numerical Control (AREA)

Abstract

PURPOSE:To check a preceding block concurrently with an actual cutting process by drawing the movements following a position which is under execution or the movement preceding by several blocks of a working program before its actual execution. CONSTITUTION:An NC unit 1 analyzes an NC program stored in a CMOS memory 11 by a CPU 10 and outputs the shift command pulses to servo systems 5A and 5B. At the same time, the shift data are written into a dual port memory 3. While the CPU 10 calculates the pre-read data from the NC program and writes it to the memory 3. Both the shift data and the pre-read data written into the memory 3 are stored in a RAM 21 of a graphic data processing part 2 and analyzed. Then the graphic data is drawn on a display part 4 by a graphic controller 22 via a video RAM 23.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は描画機能付NC装置に関する。[Detailed description of the invention] [Industrial application field] The present invention relates to an NC device with a drawing function.

〔従来の技術〕[Conventional technology]

従来、描画機能付工作機械用NC装置では、NC言語を
用いてNC装置を動作させ、移動する工具ポジションを
サンプリングして、軌跡を描画していた。
Conventionally, an NC device for a machine tool with a drawing function operates the NC device using an NC language, samples moving tool positions, and draws a trajectory.

第4図は描画機能を有するNC装置の従来例のブロック
図である。
FIG. 4 is a block diagram of a conventional example of an NC device having a drawing function.

NC装置はNOユニット1と表示部4によって構成され
、さらにNCユニット1はマンマシンインタフェース部
15、NCデータ解析部16および関数発生部I7によ
って構成されている。マンマシンインタフェース部15
に入力されたNcプログラム18または手動入力データ
(MDI)19はNCデータ解析部16で演算され、関
数発生部17はその演算結果を入力して移動指令パルス
を発生させてサーボ部5に出力する。表示部4は、サー
ボ部5から、工具の移動が行われた現在値ポジションデ
ータを受け、これを一定周期でサンプリングして軌跡と
して描画する。通常、NOデータ解析部16と関数発生
部17の機能はCPUによって果されている。
The NC device is composed of an NO unit 1 and a display section 4, and the NC unit 1 is further composed of a man-machine interface section 15, an NC data analysis section 16, and a function generation section I7. Man-machine interface section 15
The NC program 18 or manual input data (MDI) 19 input to the servo unit 5 is calculated by the NC data analysis unit 16, and the function generation unit 17 inputs the calculation result to generate a movement command pulse and output it to the servo unit 5. . The display section 4 receives the current position data of the tool movement from the servo section 5, samples it at regular intervals, and draws it as a trajectory. Normally, the functions of the NO data analysis section 16 and the function generation section 17 are performed by a CPU.

ワークの加ニブログラムを作成したときには、機械部の
動きをロックさせたままNCブロクラム上8を走らせ、
ソフトウェア上の工具の移動を表示部4に描画させて、
そのプログラムが正しいがどうかをチェックし、それか
ら機械部のロックを解除して実際の切削に入る。
When creating a Canadian program for the workpiece, run the NC program 8 while locking the movement of the mechanical part.
The movement of the tool on the software is drawn on the display unit 4,
Check whether the program is correct, then unlock the mechanical part and start the actual cutting.

NC装置の描画機能のもう一つの従来例として、第5図
に示されているように、表示部4Aの内部にNC言語と
その解析部16Aを備えているものがある。この装置で
描画を行うときには、NCユニット1をまったく動作さ
せることなく表示部4A内部でそのすべてを行っている
。新しい加ニブログラムで切削を行うときには、まずそ
のプログラムが正しいかどうかの判別をするため表示部
4Aのみの描画機能で描画させ、それからNCユニット
を動作させて実際の切削に入る。
Another conventional example of the drawing function of an NC device is one that includes an NC language and its analysis section 16A inside a display section 4A, as shown in FIG. When this device performs drawing, all drawing is performed inside the display section 4A without operating the NC unit 1 at all. When cutting with a new Canadian program, first the drawing function of the display section 4A is used to determine whether the program is correct or not, and then the NC unit is operated to start actual cutting.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

上述した従来の軌跡描画機能付NC装置は、移動指令を
実行中においては移動が終了した部分の軌跡を表示する
だけで現在値ポジションより先にはどのような移動をす
るか、NC言語でいう1ブロツク先はどのような移動を
するのかを画像で表示することができないので、移動の
予測がまったく出来ないという欠点がある。すなわち、
新しく加工テープを作成したときや、刃物の切削条件を
変更し、または補正をしたとき、とような方法にせよ、
一度NCプログラムを実行させなければ工具の動きを把
握することが出来°ない。したがって、それだけの段と
り作業と時間が必要となってくる。
The above-mentioned conventional NC device with a trajectory drawing function only displays the trajectory of the part where the movement has been completed while a movement command is being executed, but does not indicate what kind of movement will be performed beyond the current position, which is called in NC language. Since it is not possible to display an image of how a block will move one block ahead, there is a drawback that movement cannot be predicted at all. That is,
Whether it is when creating a new processing tape, changing or making corrections to the cutting conditions of the blade,
Unless you run the NC program once, you will not be able to understand the movement of the tool. Therefore, a considerable amount of setup work and time are required.

本発明は、この用な事情に鑑みてなされたもので現在実
行中のポジション以後の動き、もしくは加ニブログラム
での数ブロック先の動きを実行前に描画することにより
、実際に切削しながら同時に先ブロックのチェックを行
うことができる先読み描画機能付NC装置を提供するこ
とを目的とする。
The present invention has been made in view of this situation, and by drawing the movement after the currently executed position or the movement several blocks ahead in the cannibal program before execution, it is possible to simultaneously perform cutting while actually cutting. An object of the present invention is to provide an NC device with a look-ahead drawing function that can check blocks.

〔問題点を解決するための手段〕[Means for solving problems]

本発明の先読み描画機能付NC装置は、NCブロクラム
が格納されているメモリを有し、該メモリの内容を解析
して、移動データと、該移動データに対応する移動を実
行した以後の、NCブロクラム上の補間通路に関するデ
ータである先読みデータを算出して出力するNCユニッ
トと、前記NCユニットから出力された移動データおよ
び先読みデータが格納されるデュアルポートメモリと、
前記デュアルポートメモリに格納された内容を入力して
グラフィックデータとして出力するグラフィックデータ
処理部と、前記グラフィックデータな表示する表示部を
有する。
The NC device with a look-ahead drawing function of the present invention has a memory in which an NC block diagram is stored, and analyzes the contents of the memory to determine movement data and an NC block diagram after executing movement corresponding to the movement data. an NC unit that calculates and outputs look-ahead data that is data related to interpolation paths on the block diagram; a dual port memory that stores movement data and look-ahead data output from the NC unit;
It has a graphic data processing section that inputs the contents stored in the dual port memory and outputs it as graphic data, and a display section that displays the graphic data.

(作  用〕 NCユニットは、該ユニット内のメモリにNCプログラ
ムを格納し、該NCブロクラムを解析して移動データお
よび所望の先読みデータを算出し、グラフィックデータ
処理部は、移動データおよび所望の先読みデータをデュ
アルポートメモリを介して入力し、グラフィックデータ
処理をして表示部に表示する。
(Function) The NC unit stores the NC program in the memory within the unit, analyzes the NC program to calculate movement data and desired preread data, and the graphic data processing section stores the movement data and desired preread data. Data is input via dual port memory, processed graphically, and displayed on the display.

このように、移動データと先読みデータを同一ディスプ
レイ」二に同時に描画することにより、現在実行されて
いる移動以後のプロクラム上の補間通路をチェックしな
がら切削することができる。
In this way, by simultaneously drawing the movement data and the pre-read data on the same display, it is possible to cut while checking the interpolation path on the program after the movement currently being executed.

〔実施例〕〔Example〕

次に、本発明の実施例について図面を参照して説明する
Next, embodiments of the present invention will be described with reference to the drawings.

第1図は本発明の先読み描画機能付NC装置の一実施例
のブロック図、第2図は第1図の装置による描画処理の
フローチャートである。
FIG. 1 is a block diagram of an embodiment of an NC device with a prefetch drawing function according to the present invention, and FIG. 2 is a flowchart of drawing processing performed by the device shown in FIG.

木実流側は、第4図の装置のように、サーボ部5から転
送された移動データを表示するのではなく、移動データ
を先読みデータと共に、NCユニット1からグラフィッ
クデータ処理部2に転送し、グラフィックデータ処理す
ることにより、表示部4に表示するようにしたものであ
る。
The Kinomi style side does not display the movement data transferred from the servo section 5 like the device shown in FIG. 4, but transfers the movement data together with the pre-read data from the NC unit 1 to the graphic data processing section 2. , which is displayed on the display section 4 by processing the graphic data.

NCユニット1は、NCブロクラムを記憶するCMOS
メモリ11を有し、CPUl0は、CMOSメモリ1】
にNCブロクラムを格納した後、NCプログラムを解析
し、移動指令パルスをサーボ系5八、 5Bに払い出す
とともに移動データを、デュアルポートメモリ3に書込
む。また、にPIIIOはNCブロクラムから先読みデ
ータを算出し、デュアルポートメモリ3に書込む。グラ
フィックデータ処理部2はCPU20 。
NC unit 1 is a CMOS that stores the NC block diagram.
It has a memory 11, and the CPU 10 has a CMOS memory 1]
After storing the NC program in the controller, it analyzes the NC program, issues movement command pulses to the servo systems 58 and 5B, and writes movement data to the dual port memory 3. Further, the PIIIO calculates pre-read data from the NC block diagram and writes it into the dual port memory 3. The graphic data processing section 2 is a CPU 20.

RAM2] 、グラフィックコントローラ22、ビデオ
RへM23を有し、(:PU20はデュアルポートメモ
リ3に保持されている移動データおよび先読みデータを
RAM21に格納した後、このデータを解析してグラフ
ィッコントローラ22を動作させ、ビデオRAM23を
経由してグラフィックデータを表示部4に描画する。描
画はサーボモータ(図示せず)に同期して実行される。
RAM2], graphics controller 22, and M23 to video R; (:PU20 stores movement data and preread data held in dual port memory 3 in RAM21, analyzes this data, and sends graphics controller 22 to It is operated to draw graphic data on the display unit 4 via the video RAM 23.The drawing is executed in synchronization with a servo motor (not shown).

次に、本実施例の動作について説明する。Next, the operation of this embodiment will be explained.

本実施例においては、実際に実行されている、現在値ポ
ジションデータ(移動データ)の他に先読みデータとし
て、NCプログラムにおける現ブロックおよび次ブロッ
クの移動およびそれぞれのブロックの終点の描画処理が
付加されていて、それぞれのデータが区別できる形に描
画されている。
In this embodiment, in addition to the current position data (movement data) that is actually executed, the movement of the current block and the next block in the NC program and the drawing process of the end point of each block are added as pre-read data. Each piece of data is drawn in a distinguishable form.

描画処理は次のようになる。The drawing process is as follows.

まず、初期設定値がセットされる(ステップ31)。次
に、素材形状が初期設定されているか否かを判断しくス
テップ32)、初期設定されている場合には描画範囲を
設定しくステップ34)、初期設定されていない場合に
は素材形状を入力(ステップ33)シた後、描画範囲を
設定(ステップ34)する。次に、ステップ34で設定
された描画範囲内で素材形状が描画される(ステップ3
5)。
First, initial setting values are set (step 31). Next, it is determined whether the material shape has been initialized (step 32), and if it has been initialized, the drawing range is set (step 34), and if it has not been initialized, the material shape is input (step 34). After step 33), the drawing range is set (step 34). Next, the material shape is drawn within the drawing range set in step 34 (step 3
5).

以上の設定は手動データ入力(MDI)される。The above settings are entered manually (MDI).

ここで描画開始キーを押下すると(ステップ36)、描
画処理が行われる(ステップ37)。まず、現在値ポジ
ションが描画され、現ブロック通路が描画され、現ブロ
ック終点が描画され、次ブロツク通路、次ブロツク終点
が描画される。その他、必要なポジション表示、コマン
ド表示が行われる。以上の描画処理がくり返され、描画
終了が判定されると(ステップ38)、手動入力で描画
がクリアされ(ステップ39)て、すべての処理が終了
する。
When the drawing start key is pressed here (step 36), drawing processing is performed (step 37). First, the current value position is drawn, the current block path is drawn, the current block end point is drawn, the next block path and the next block end point are drawn. In addition, necessary position display and command display are performed. The above drawing process is repeated, and when it is determined that the drawing has ended (step 38), the drawing is cleared by manual input (step 39), and all processing ends.

第3図(A)および(B)は移動データおよび先読みデ
ータの表示例である。
FIGS. 3(A) and 3(B) are display examples of movement data and prefetch data.

いずれの図形においても、移動が実行された軌跡は実線
で表示されている。第3図(A)は、次ブロックの移動
を点線で表示させ、移動を実行したら、その上をなぞっ
ていくようにしたものである。また、第3図(B)は、
次ブロックの終点を、ポイントをフリッカ−させて表示
し、ポイントまでの移動が終了したら、また次のブロッ
クの終点をフリッカ−させるようにしたものである。
In both figures, the locus of movement is displayed as a solid line. In FIG. 3(A), the movement of the next block is displayed as a dotted line, and after the movement is executed, the user can trace the line. In addition, FIG. 3(B) shows
The end point of the next block is displayed by flickering the point, and when the movement to the point is completed, the end point of the next block is flickered again.

なお、本実施例では一つの補間軌跡およびその先読みデ
ータを描画したが、NCユニットで複数のプログラムを
処理することにより、同一画面に複数の軌跡およびその
先読みデータを描画することができる。
In this embodiment, one interpolated locus and its pre-read data are drawn, but by processing a plurality of programs in the NC unit, it is possible to draw a plurality of trajectories and their pre-read data on the same screen.

〔発明の効果〕〔Effect of the invention〕

以上説明したように本発明は、NCユニットによって出
力される移動データと先読みデータをグラフィックデー
タ処理して同時に同一画面に表示することにより、次の
効果がある。
As described above, the present invention provides the following effects by processing the movement data and pre-read data output by the NC unit into graphic data and displaying them simultaneously on the same screen.

l)次のブロックの動きを目で見て確認することができ
る、 2) 刃物の干渉を事前にチェックすることができる、 3) ワークへのくい込み削りすぎを未然に防止するこ
とができる、 4)新しい加工テープでも実際に切削しながらテープの
チェックができる、 5)段どりの時間が節約できる、 6)刃物の先ブロックの動きを目で見て把握出来るため
安心して切削ができる。
l) You can visually check the movement of the next block, 2) You can check for interference with the cutter in advance, 3) You can prevent the workpiece from digging into the workpiece and cutting too much, 4 ) Even with new tape, you can check the tape while actually cutting it. 5) You can save time on steps. 6) You can cut with confidence because you can visually check the movement of the block at the tip of the blade.

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

第1図は本発明の先読み描画機能付NC装置の一実施例
のブロック図、第2図は第1図の装置による描画処理の
フローチャート、第3図(A)および(B)は移動デー
タおよび先読みデータの表示例、第4図は描画機能を有
するNC装置の従来例のブロック図、第5図はNO装置
の描画機能の従来例を示す図である。 1・・・NCユニット、 2・・・グラフィックデータ処理部、 3・・・デュアルポートメモリ、 4・・・表示部、 5八、 5B−・・サーボ部、 10.20・・・CPU  。 11・・・CMOSメモリ、    l8−NCプログ
ラム、19−MDI  、           21
φ・・RAM  。 22・・・グラフィックコントローラ、23・・・ビデ
オRAM 0
FIG. 1 is a block diagram of an embodiment of an NC device with a look-ahead drawing function of the present invention, FIG. 2 is a flowchart of drawing processing by the device of FIG. 1, and FIGS. A display example of pre-read data, FIG. 4 is a block diagram of a conventional example of an NC device having a drawing function, and FIG. 5 is a diagram showing a conventional example of the drawing function of an NO device. DESCRIPTION OF SYMBOLS 1...NC unit, 2...Graphic data processing part, 3...Dual port memory, 4...Display part, 58, 5B-...Servo part, 10.20...CPU. 11...CMOS memory, l8-NC program, 19-MDI, 21
φ...RAM. 22...Graphic controller, 23...Video RAM 0

Claims (1)

【特許請求の範囲】 NCプログラムが格納されているメモリを有し、該メモ
リの内容を解析して、移動データと、該移動データに対
応する移動を実行した以後の、NCプログラム上の補間
通路に関するデータである先読みデータを算出して出力
するNCユニットと、前記NCユニットから出力された
移動データおよび先読みデータが格納されるデュアルポ
ートメモリと、 前記デュアルポートメモリに格納された内容を入力して
グラフィックデータとして出力するグラフィックデータ
処理部と、 前記グラフィックデータを表示する表示部を有する先読
み描画機能付NC装置。
[Claims] A memory in which an NC program is stored is provided, and the contents of the memory are analyzed to obtain movement data and an interpolated path on the NC program after the movement corresponding to the movement data is executed. an NC unit that calculates and outputs pre-read data that is data related to the above, a dual port memory that stores movement data and pre-read data output from the NC unit, and a dual port memory that inputs the contents stored in the dual port memory. An NC device with a look-ahead drawing function, comprising: a graphic data processing unit that outputs graphic data; and a display unit that displays the graphic data.
JP4516487A 1987-03-02 1987-03-02 Nc device with pre-reading picture drawing function Pending JPS63213003A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4516487A JPS63213003A (en) 1987-03-02 1987-03-02 Nc device with pre-reading picture drawing function

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4516487A JPS63213003A (en) 1987-03-02 1987-03-02 Nc device with pre-reading picture drawing function

Publications (1)

Publication Number Publication Date
JPS63213003A true JPS63213003A (en) 1988-09-05

Family

ID=12711622

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4516487A Pending JPS63213003A (en) 1987-03-02 1987-03-02 Nc device with pre-reading picture drawing function

Country Status (1)

Country Link
JP (1) JPS63213003A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0511830A (en) * 1991-07-09 1993-01-22 Fanuc Ltd Display device for numeral-controlled machine tool
US7251543B2 (en) 2004-06-17 2007-07-31 Mori Seiki, Co., Ltd. Interference checking device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5882310A (en) * 1981-11-12 1983-05-17 Fanuc Ltd Numerical controlling with position display function
JPS59189413A (en) * 1983-04-13 1984-10-27 Fanuc Ltd Numerical control device provided with graphic display device
JPS60262207A (en) * 1984-06-07 1985-12-25 Matsushita Electric Ind Co Ltd Numerical controller with crt display
JPS61131853A (en) * 1984-11-28 1986-06-19 Hitachi Denshi Ltd Display method and device for processing machine
JPS62121515A (en) * 1985-11-22 1987-06-02 Mitsubishi Electric Corp Numerical controller

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5882310A (en) * 1981-11-12 1983-05-17 Fanuc Ltd Numerical controlling with position display function
JPS59189413A (en) * 1983-04-13 1984-10-27 Fanuc Ltd Numerical control device provided with graphic display device
JPS60262207A (en) * 1984-06-07 1985-12-25 Matsushita Electric Ind Co Ltd Numerical controller with crt display
JPS61131853A (en) * 1984-11-28 1986-06-19 Hitachi Denshi Ltd Display method and device for processing machine
JPS62121515A (en) * 1985-11-22 1987-06-02 Mitsubishi Electric Corp Numerical controller

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0511830A (en) * 1991-07-09 1993-01-22 Fanuc Ltd Display device for numeral-controlled machine tool
US7251543B2 (en) 2004-06-17 2007-07-31 Mori Seiki, Co., Ltd. Interference checking device

Similar Documents

Publication Publication Date Title
JPH0554129B2 (en)
JPH046006B2 (en)
JP4329248B2 (en) NC machining simulation equipment
KR20010108317A (en) Laser machining apparatus
JP6474447B2 (en) Information processing device
JPS63213003A (en) Nc device with pre-reading picture drawing function
US5043865A (en) Profile revising method
JPH02257309A (en) Plotting method for nc program
JPH06202724A (en) Numerical controller
JP2771701B2 (en) Interactive numerical controller
JPH04114208A (en) Animation plotting system for nc program
JPH03294906A (en) Editing system for working program
JPH05204438A (en) Screen display system for cnc
JPH04229307A (en) Nc data generating method
JPH0265946A (en) Teaching method for changing position of tool
JPH09120308A (en) Tool path plotting method
JP2813079B2 (en) Numerical control unit
JPH05289729A (en) Step execution system for cad/cam system
JPH09160620A (en) Numerical controller
JPH08328630A (en) Working locus display system
JP3327641B2 (en) Numerical control unit
JPH07227739A (en) Numerical control device
JPS62121515A (en) Numerical controller
JPH01140304A (en) Interactive nc input device
JPH04148306A (en) C axis working program preparing system