JPS59189413A - Numerical control device provided with graphic display device - Google Patents

Numerical control device provided with graphic display device

Info

Publication number
JPS59189413A
JPS59189413A JP58064976A JP6497683A JPS59189413A JP S59189413 A JPS59189413 A JP S59189413A JP 58064976 A JP58064976 A JP 58064976A JP 6497683 A JP6497683 A JP 6497683A JP S59189413 A JPS59189413 A JP S59189413A
Authority
JP
Japan
Prior art keywords
tool path
display
block
display information
information
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
JP58064976A
Other languages
Japanese (ja)
Inventor
Atsushi Shima
淳 島
Takao Sasaki
隆夫 佐々木
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 JP58064976A priority Critical patent/JPS59189413A/en
Publication of JPS59189413A publication Critical patent/JPS59189413A/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
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/18Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of programme data in numerical form
    • G05B19/406Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of programme data in numerical form characterised by monitoring or safety
    • G05B19/4069Simulating machining process on screen
    • 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/35349Display part, programmed locus and tool path, traject, dynamic locus

Landscapes

  • Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Manufacturing & Machinery (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Automation & Control Theory (AREA)
  • Testing And Monitoring For Control Systems (AREA)
  • Numerical Control (AREA)

Abstract

PURPOSE:To obtain a device which is capable of foreknowing a tool path by drawing in advance a tool path of the following block, when a tool path of a block being in the course of execution is drawn in parallel to the actual movement of a machine. CONSTITUTION:A titled device is provided with a means for drawing in advance a tool path of the following block, when a tool path of a block being in the course of execution is drawn in parallel to the actual movement of a machine. For instance, an operating information of plural blocks is decoded from an NC working program by a block decoding means DEC and stored in an operating information storing means MEM. Subsequently, a display information required for displaying a tool path of a block being in the course of execution at present is generated by keeping pace with a command to a mechanical system based on the operating information, by a present tool path information generating means CNT1, and also a display information required for displaying a tool path to be displayed in the next time is generated by a following tool path display information generating means CNT2. Also, by a display means DPY, such display information is inputted, and the present tool path and the following tool path are displayed.

Description

【発明の詳細な説明】 発明°の技術分野 本発明は、実際の加工と並行してその工具の移動径路を
表示するグラフィック表示装置を備えた数値制御装置の
改良に関するものである。
DETAILED DESCRIPTION OF THE INVENTION TECHNICAL FIELD OF THE INVENTION The present invention relates to an improvement in a numerical control device equipped with a graphic display device that displays the travel path of a tool in parallel with actual machining.

従来技術と問題点 最近、実際の加工と並行して、プログラム指令された工
具の移動径路を備え付けのグラフィック表示装置に描画
させるようにした数値制御装置が提案され、これによシ
実際の加工の状態の把握が視覚的によシ容易となシ、ま
た加工物の近くで加工状態を観察する必要も少なくなる
ので、オペレータが加工物に接近して性状をするといっ
た危険性も低減された。しかしながら、従来のこの種装
置は、実行中のブロックの工具径路を実際の機械の動き
と並行して描画しているだけなので、オペレータは、次
のブロックではどのような工具径路になるかを予め知る
ことはできなかった。
Prior Art and Problems Recently, a numerical control device has been proposed that draws the programmed tool movement path on a built-in graphic display device in parallel with the actual machining. Since it is easier to visually grasp the condition, and there is less need to observe the machining condition near the workpiece, the risk of the operator approaching the workpiece and characterizing it is also reduced. However, conventional devices of this type only draw the tool path of the block being executed in parallel with the actual machine movement, so the operator has to know in advance what kind of tool path the next block will take. I couldn't know.

発明の目的 本発明はこのような従来の欠点を改善したものでラシ、
その目的は、実行中のブロックの工具径路を実際の機械
の動きと平行して描画しているときに、予め次のブロッ
クの工具径路を描画させておくことによって、工具径路
の予知を可能にした数値制御装置を提供することにおる
OBJECT OF THE INVENTION The present invention improves these conventional drawbacks.
The purpose is to make it possible to predict the tool path by drawing the tool path for the next block in advance while drawing the tool path for the block in progress in parallel with the actual machine movement. The purpose of this invention is to provide a numerical control device.

発明の構成 第1図は本発明の構成説明図である。ブロック解読手段
DIICで解読して得られた複数ブロック分の運転情報
が運転情報記憶手段MEMに記憶され、現工具径路表示
情報作成手段CNT 1では、運転情報に基づく機械系
への指令と並行して現実行中のブロックの工具径路を表
示させるに必要な表示情報を作成し、次工具径路表示情
報作成手段CNT 2では、現実行中のブロックの工具
径路の次に表示すべき工具径路を現実行中のブロックの
工具径路と区別し得る表示態様で表示させるに必要な表
示情報を前記運転情報から作成する。表示手段DPY嬬
、これらの表示情報全入力して現工具径路および次工具
径路を画面に表示する。
Structure of the Invention FIG. 1 is an explanatory diagram of the structure of the present invention. The operation information for a plurality of blocks obtained by decoding by the block decoding means DIIC is stored in the operation information storage means MEM, and the current tool path display information creation means CNT1 executes instructions to the mechanical system based on the operation information in parallel. The next tool path display information creation means CNT 2 creates the display information necessary to display the tool path of the block currently being executed. Display information necessary for displaying in a display manner that can be distinguished from the tool path of the block in progress is created from the operation information. The display means DPY inputs all of this display information and displays the current tool path and the next tool path on the screen.

発明の実施例 第2図は本発明のグラフィック表示装置を備えた数値制
御装置のハードウェア構成例を示す要部ブロック図、第
3図はその動作フローチャート例である。なお、第3図
において、81〜S6はステップを示し、ステップS2
におけるGコード欄はGoo(位置決め)、GOl(直
線補間) 、 G02.GO5(円弧補間)のいずれで
あるかを示すフラグが格納され、XC,YCはGQ2.
 GO5が指令されたときのみ有意となる。またXM、
YMは工具のY軸、Y軸の位置、0UTX、 0UTY
はブロックの実行開始からY軸、Y軸モータに与えた移
動量の総和をそれぞれ示す。
Embodiment of the Invention FIG. 2 is a block diagram of a main part showing an example of the hardware configuration of a numerical control device equipped with a graphic display device of the invention, and FIG. 3 is an example of an operation flowchart thereof. In addition, in FIG. 3, 81 to S6 indicate steps, and step S2
The G code fields are Goo (positioning), GOl (linear interpolation), G02. A flag indicating which one is GO5 (circular interpolation) is stored, and XC and YC are GQ2.
It becomes significant only when GO5 is commanded. Also XM,
YM is the Y axis of the tool, the position of the Y axis, 0UTX, 0UTY
indicates the total amount of movement given to the Y-axis and Y-axis motor from the start of execution of the block, respectively.

マイクロプロセッサ10に所定の処理を実行させル るのに必要なシステムプログラムROM12に格納され
ておF)、NC加ニブログラムは紙テープ16の形で与
えられる場合はテープリーダ13ヲ介して、磁気バブル
メモリ等の外部メモリ15の形で与えられる場合はその
外部メモリ15から直接にそれぞれ1ブロツクずつマイ
クロプロセッサ10によシ読み取られてRAM19のバ
ッフ1領域19aに記憶される。
A system program necessary for causing the microprocessor 10 to execute a predetermined process is stored in the ROM 12 (F), and if the NC program is provided in the form of a paper tape 16, it is transferred to a magnetic bubble memory via the tape reader 13. If the external memory 15 is provided in the form of an external memory 15, one block each is directly read by the microprocessor 10 from the external memory 15 and stored in the buffer 1 area 19a of the RAM 19.

マイクロプロセッサ10は、バッフ1領域19aに記憶
されたブロックの解読を行ない、運転に必要な運転情報
を作成し、これをRAM19の運転情報記憶領域196
に記憶するものでラシ、実際の運転は、その運転情報に
基づく指令をY軸、Y軸、Z軸位置制御回路20〜22
に与え、Y軸、Y軸、Z軸モータ22〜24を駆動する
ことで行なわれる。上記ブロックの解読、運転情報の作
成は、実際に運転(実行)されているブロックよシも先
行したブロックに対し行なわれ、従って、RAM19の
運転情報記憶領域19bには、現在実行中のブロックの
他それ以降に実行すべき複数のブロックの運転情報が記
憶されている。
The microprocessor 10 decodes the blocks stored in the buffer 1 area 19a, creates driving information necessary for driving, and stores this in the driving information storage area 196 of the RAM 19.
During actual operation, commands based on the operation information are sent to the Y-axis, Y-axis, and Z-axis position control circuits 20 to 22.
This is done by giving the following information and driving the Y-axis, Y-axis, and Z-axis motors 22 to 24. The above-mentioned block decoding and operation information creation are performed for the block that is actually being operated (executed) as well as for the preceding block. In addition, operation information for a plurality of blocks to be executed thereafter is stored.

また、マイクロコンピュータ10は上記運転情報に基づ
く指令と並行して、実行中のブロックの工具径路を実際
の機械の動きと同期してCRT表示装置18に表示させ
るに必要な現工具径路表示情報、例えべ画面のどの位置
にドツトを表示するかを示す情報を既存の技術にて作成
してデータ出力装置17を介して表示装置たとえばCR
T表示装置18に出力すると共に、RAM19の運転情
報記憶領域196に記憶された次ブロツク以降の運転情
報に基づいて現に表示している工具径路の次の工具径路
をCRT表示装置18に表示させるに必要な次工具径路
表示情報をデータ出力装置17を介してCRT表示装置
18に出力する。この場合、現工具径路を例えば赤で表
示させるときは、次工具径路を緑で表示させるように、
両工具径路が視覚的に区別し得るようにする。色別表示
に依る場合には、データ出力装置17へ表示情報を送出
する際にそれに色指定情報を含ませておく。また、同一
色とし、一方の工具径路を実線で表示させ、他方の工具
径路を破線で表示する如く、線の形状を変えることもで
きる。
In addition to the commands based on the operation information, the microcomputer 10 also provides current tool path display information necessary for displaying the tool path of the block currently being executed on the CRT display device 18 in synchronization with the actual movement of the machine. For example, information indicating where to display a dot on the screen is created using existing technology and is sent to a display device, such as a CR, via the data output device 17.
In addition to outputting it to the T display device 18, the tool path next to the currently displayed tool path is displayed on the CRT display device 18 based on the operation information from the next block stored in the operation information storage area 196 of the RAM 19. Necessary next tool path display information is output to the CRT display device 18 via the data output device 17. In this case, when the current tool path is displayed in red, for example, the next tool path is displayed in green.
Both tool paths should be visually distinguishable. When displaying by color, color designation information is included in the display information when it is sent to the data output device 17. Alternatively, the shapes of the lines can be changed, such as using the same color and displaying one tool path as a solid line and the other tool path as a broken line.

第4図はCRT表示装置18の実施例を示す要部ブロッ
ク図でsDm  3oはマイクロプロセッサ、31はマ
イクロプロセッサ30が所定の動作を実行するのに必要
なプログラム等を記憶するROM。
FIG. 4 is a block diagram of the main parts of an embodiment of the CRT display device 18, in which sDm 3o is a microprocessor, and 31 is a ROM that stores programs and the like necessary for the microprocessor 30 to execute predetermined operations.

32はポインタや演算用等に使用するRAM、 33は
データ入力装置、54はパルス発信回路、35は水平、
垂直同期信号やスキャン用アドレスを発生すルCRTコ
ントローラ、66はアドレス切換回路、37ハアドレス
デコーダ、58〜40はデータドライバ、41は赤画面
用RAM、  42は録画面周RAM。
32 is a RAM used for pointers and calculations, 33 is a data input device, 54 is a pulse emitting circuit, 35 is a horizontal
66 is an address switching circuit, 37 is an address decoder, 58 to 40 are data drivers, 41 is a red screen RAM, and 42 is a recording screen RAM.

43は實画面用RAM、  44は表示コントロール回
路、45はカラーグラフィック部である。
43 is a RAM for the actual screen, 44 is a display control circuit, and 45 is a color graphics section.

第4図において、データ出力装置17(第2図)の表示
情報が所定量だけデータ入力装置33に入力されると、
マイクロプロセッサ30に割込みがかかシ、マイクロプ
ロセッサ30は次のような処理を実行する。先ず、デー
タ入力装置33に入力されたデータを一旦RAM52に
取シ込んだ後その内容を識別し、その色指定情報が例え
ば赤を示すときにはその表示情報に従った赤画面用RA
M41のアドレスに表示有シを示す“1”を書込み、又
、その色指定情報が例えば青を示すときにはその表示情
報に従った前画面用RAM43のアト°レスに1”を書
込む。
In FIG. 4, when a predetermined amount of display information from the data output device 17 (FIG. 2) is input to the data input device 33,
When an interrupt occurs to the microprocessor 30, the microprocessor 30 executes the following processing. First, data input to the data input device 33 is once input into the RAM 52, and its contents are identified. When the color designation information indicates red, for example, the red screen RA is set according to the display information.
``1'' is written in the address of M41 indicating that the display is present, and when the color designation information indicates blue, for example, 1'' is written in the address of the previous screen RAM 43 according to the display information.

マイクロプロセッサ30は、例えば割シ込みでがかかっ
ていないときにおいては、アドレス切換回路66をCR
Tコントローラ65のスキャン用アドレス側に切換えて
おくもので、これによシ赤、緑、青画面用RAM41〜
46の内容がスキャン用アドレスで同期して表示コント
ロール回路44に読み出される。表示コントロール回路
44では、赤画面用RAM41の出力は赤ビデオ信号に
、録画面周RAM42の出力は緑ビデオ信号に、前画面
用RAM43の出力は青ビデオ信号にそれぞれ変換され
る。カラーグラフィック部45はそのビデオ信号を入力
して工具径路をGET画面に描画するものでi、Fs図
(a)。
For example, when the microprocessor 30 is not interrupted by an interrupt, the address switching circuit 66 is set to CR.
This is to switch to the scan address side of the T controller 65, and this also allows the red, green, and blue screen RAM 41 to
The contents of 46 are read out to the display control circuit 44 in synchronization with the scanning address. In the display control circuit 44, the output of the red screen RAM 41 is converted into a red video signal, the output of the recording screen RAM 42 is converted into a green video signal, and the output of the previous screen RAM 43 is converted into a blue video signal. The color graphics section 45 receives the video signal and draws the tool path on the GET screen, as shown in Figure i and Fs (a).

(b)にその表示例を示す。第5図(cL)は、次のよ
うな移動指令ブロック #I  X J Y 11+  ’ N2  X 22 Y u2’ のうち、ブロックN1の実行中の表示例を示し、次ブロ
ックの工具径路%2は例えは背で表示され、現工具径路
性1は例えば赤で表示される。また、ブロックN1の実
行が終了すると、第5図(6)に示すように更に次の工
具径路n3が表示されることになる。尚、最初の工具径
路ル1は第5図(、)に示すように全く表示なしからス
タートしても良いが、第5図(c)に示すように予め別
の色で表示しておくこともできる。
An example of the display is shown in (b). FIG. 5(cL) shows a display example during execution of block N1 of the following movement command block #I X J Y 11+ ' N2 For example, the current tool path property 1 is displayed in red. Further, when the execution of block N1 is completed, the next tool path n3 is displayed as shown in FIG. 5(6). Note that the first tool path 1 may be started with no display at all as shown in Figure 5 (,), but it should be displayed in a different color in advance as shown in Figure 5 (c). You can also do it.

なお、カラーグラフィック表示装置としては前述した構
成のものに限らず、例えは同じ画面用RAMに表示有無
データと共に色指定情報を書込む構成のものでも良い。
Note that the color graphic display device is not limited to the one having the above-mentioned configuration, but may be one having a configuration in which color designation information is written in the same screen RAM together with the display presence/absence data.

発明の詳細 な説明したように、本発明に依れば、実行中のブロック
の工具径路が実際の機械の動きと並行して描画されると
共に、その工具径路と区別し得る表示態様で次のブロッ
クの工具径路が描画されるから、工具径路の予知が可能
となり、誤切削全未然に防止することができる。
As described in detail, according to the present invention, the tool path of the block being executed is drawn in parallel with the actual movement of the machine, and the following is displayed in a display manner that can be distinguished from the tool path. Since the tool path of the block is drawn, it is possible to predict the tool path, and erroneous cutting can be completely prevented.

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

第1図は本発明の構成説明図、第2図は本発明のグラフ
ィック表示装置を備えた数値制御装置のハードウェア構
成例を示す要部ブロック図、第3図は本発明のソフトウ
ェア構成例を示すフローチャート、第4図はCRT表示
装置18の実施例を示す要部ブロック図、第5図は本発
明の詳細な説明図である。 11はバス、14は手動データ入力装置、19はRAM
、  19Gはバッフ7領域、19bは運転情報記憶領
域である。 特許出願人 フ7ナック株式会社 代理人弁理士玉蟲久五部外1名 第1図 19械系への指令 第2図 10
FIG. 1 is an explanatory diagram of the configuration of the present invention, FIG. 2 is a block diagram of main parts showing an example of the hardware configuration of a numerical control device equipped with the graphic display device of the present invention, and FIG. 3 is an example of the software configuration of the present invention. 4 is a block diagram of a main part showing an embodiment of the CRT display device 18, and FIG. 5 is a detailed explanatory diagram of the present invention. 11 is a bus, 14 is a manual data input device, and 19 is a RAM.
, 19G is a buffer 7 area, and 19b is a driving information storage area. Patent Applicant Fun7nac Co., Ltd. Representative Patent Attorney Gogo Tamamushi One person outside the department Figure 1 19 Instructions for mechanical systems Figure 2 10

Claims (1)

【特許請求の範囲】[Claims] NC加ニブログラムで指令された工具の移動径路を描画
させるグラフィック表示装置を備えた数値制御装置にお
いて、前記NC加ニブログラムのブロックを解読して得
た複数ブロック分の運転情報を記憶する運転情報記憶手
段と、前記運転情報に基づく機械系への指令と並行して
現実行中のブロックの工具径路を表示させるに必要な表
示情報を作成する現工具径路表示情報作成手段と、現実
行中のブロックの工具径路の次に表示すべき工具径路を
現実行中のブロックの工具径路と区別し得る表示態様で
表示させるに必要な表示情報を前記運転情報から作成す
る次工具径路表示情報作成手段と、該次工具径路表示情
報作成手段および前記現工具径路表示情報作成手段で作
成された表示情報を入力として現工具径路および次工具
径路を画面に表示する表示装置とを具備したことを特徴
とするグラフィック表示装置を備えた数値制御装置。
In a numerical control device equipped with a graphic display device for drawing a movement path of a tool commanded by an NC machine program, an operation information storage means stores operating information for a plurality of blocks obtained by decoding blocks of the NC machine program. and current tool path display information creation means for creating display information necessary for displaying the tool path of the block currently being executed in parallel with commands to the mechanical system based on the operation information; Next tool path display information creation means for creating display information from the operation information necessary to display a tool path to be displayed next to the tool path in a display manner that can be distinguished from the tool path of the block currently being executed; A graphic display characterized by comprising a next tool path display information creating means and a display device that displays the current tool path and the next tool path on a screen by inputting the display information created by the current tool path display information creating means. Numerical control equipment with equipment.
JP58064976A 1983-04-13 1983-04-13 Numerical control device provided with graphic display device Pending JPS59189413A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP58064976A JPS59189413A (en) 1983-04-13 1983-04-13 Numerical control device provided with graphic display device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP58064976A JPS59189413A (en) 1983-04-13 1983-04-13 Numerical control device provided with graphic display device

Publications (1)

Publication Number Publication Date
JPS59189413A true JPS59189413A (en) 1984-10-27

Family

ID=13273582

Family Applications (1)

Application Number Title Priority Date Filing Date
JP58064976A Pending JPS59189413A (en) 1983-04-13 1983-04-13 Numerical control device provided with graphic display device

Country Status (1)

Country Link
JP (1) JPS59189413A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6234207A (en) * 1985-08-08 1987-02-14 Matsushita Electric Ind Co Ltd Interactive numerical controller
JPS63213003A (en) * 1987-03-02 1988-09-05 Yaskawa Electric Mfg Co Ltd Nc device with pre-reading picture drawing function
JPH01231104A (en) * 1988-03-11 1989-09-14 Ricoh Co Ltd Display method for tool locus
JPH0259256A (en) * 1988-08-26 1990-02-28 Hitachi Seiki Co Ltd Display method for movement of tool in nc machine tool

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6234207A (en) * 1985-08-08 1987-02-14 Matsushita Electric Ind Co Ltd Interactive numerical controller
JPS63213003A (en) * 1987-03-02 1988-09-05 Yaskawa Electric Mfg Co Ltd Nc device with pre-reading picture drawing function
JPH01231104A (en) * 1988-03-11 1989-09-14 Ricoh Co Ltd Display method for tool locus
JPH0259256A (en) * 1988-08-26 1990-02-28 Hitachi Seiki Co Ltd Display method for movement of tool in nc machine tool

Similar Documents

Publication Publication Date Title
JPH046006B2 (en)
US4644460A (en) Cutting direction input method in automatic programming
JPS6115205A (en) Drawing method of graphic display for numerical controller
EP0146628B1 (en) Automatic programming method
JPS59189413A (en) Numerical control device provided with graphic display device
EP0558030B1 (en) Coordinate system display guide for a numerical control apparatus
JPS62121511A (en) Numerical controller
JPH08224388A (en) Sewing data preparing device for sewing machine
JPH0991017A (en) Device for confirming robot operation route
JPS5975309A (en) Numerical control device provided with graphic display device
JPS59160181A (en) Color graphic display for nc
JPH04252307A (en) Interactive numerical controller
JPS63148307A (en) Nc information generating device
JPS6330976A (en) Macrocommand editing system
JPS59707A (en) Numerical controller
JPS62198906A (en) Check method for working program of numerical controller
JPH04233606A (en) Interactive numerical controller
JPH04174006A (en) Graphic drawing method
JPH07120181B2 (en) Display method
JPH06114678A (en) Tool locus display device of nc device
JPH06138933A (en) Program check screen display device
JPH0553636A (en) Machining locus display method for numerical controller
JPH06202906A (en) Nc program editing device
JPH10328448A (en) Automatic sewing machine
JPS6234207A (en) Interactive numerical controller