JPS6115205A - Drawing method of graphic display for numerical controller - Google Patents

Drawing method of graphic display for numerical controller

Info

Publication number
JPS6115205A
JPS6115205A JP59136275A JP13627584A JPS6115205A JP S6115205 A JPS6115205 A JP S6115205A JP 59136275 A JP59136275 A JP 59136275A JP 13627584 A JP13627584 A JP 13627584A JP S6115205 A JPS6115205 A JP S6115205A
Authority
JP
Japan
Prior art keywords
screen
program
maximum
tool
command
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
JP59136275A
Other languages
Japanese (ja)
Inventor
Atsushi Shima
淳 島
Hideaki Inoue
秀明 井上
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 JP59136275A priority Critical patent/JPS6115205A/en
Priority to DE8585903369T priority patent/DE3584364D1/en
Priority to PCT/JP1985/000364 priority patent/WO1986000429A1/en
Priority to EP85903369A priority patent/EP0188619B1/en
Priority to US06/832,715 priority patent/US4725960A/en
Publication of JPS6115205A publication Critical patent/JPS6115205A/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/4068Verifying part programme on screen, by drawing or other means
    • 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/35326Scale image automatically to display whole tool locus or indicated area

Abstract

PURPOSE:To set early an optimum drawing scale by drawing the locus of a tool, etc. in a magnification ratio set temporarily to obtain a desired drawing magnification ratio and drawing the locus of a tool of a program selected by said magnification ratio. CONSTITUTION:An MDI15 is first operated to call a set value alteration screen to a display screen 25 and sets a program number together with a drawing screen, the maximum/mininum drawing values, the drawing start/end blocks, etc. When these setting actions are over, a drawing start key is turned on the MDI 15. Thus a microcomputer 10 decides first the correspondence between the drawing coordinates and the NC command program coordinates according to the set drawing plane and drawing maximum/minimum values. The one block of the NC command program corresponding to a parameter set program number is read out of a CMOS memory 14. The contents of said block are analyzed to calculate the tool locus data. This data is written to a graphic RAM21. This processing is carried out continuously until the program ends. Then the contents of the RAM21 are read out to a control circuit 23, and the tool locus is displayed on a screen 25.

Description

【発明の詳細な説明】 産業上の利用分野 本発明はNC指令プログラムの内容を解読して工具軌跡
等をディスプレイ画面に描画する数値制御装置用グラフ
ィックディスプレイの描画方法に関するものである。
DETAILED DESCRIPTION OF THE INVENTION Field of Industrial Application The present invention relates to a method for drawing a graphic display for a numerical control device, which decodes the contents of an NC command program and draws tool trajectories and the like on a display screen.

従来の技術 今日の数値制御(NC)装置では、単に数値制御技術に
より工作機械を制御するだけでなく、いかに簡単かつ確
実にNC指令プログラムを作成し得るか或はNC指令プ
ログラムをチェックし得るかが重要な要素となっている
Conventional Technology Today's numerical control (NC) devices not only control machine tools using numerical control technology, but also how to easily and reliably create NC command programs or check NC command programs. is an important element.

描画機能は、この問題に対する技術的な回答であるが、
実際の利用形態に応じ、各種の操作方法や機能の改善が
必要である。
The drawing function is a technical answer to this problem, but
Various operating methods and functions need to be improved depending on the actual usage pattern.

NC装置における描画機能は、主にNC指令プログラム
の編集(作成、修正)後に、プログラムの動作状態を確
認する目的で使用される。この方法は、実際に工作機械
を動かして確認する方法より以下の点で優れている。
The drawing function in the NC device is mainly used for the purpose of checking the operating state of the program after editing (creating or modifying) the NC command program. This method is superior to the method of checking by actually operating the machine tool in the following points.

1)NC指令プログラムに誤りがあっても、機械が動作
していないので、機械と加工物の衝突等の危険がない。
1) Even if there is an error in the NC command program, the machine is not operating, so there is no risk of collision between the machine and the workpiece.

2)実際に機械を動かすより、描画の方が短時間で確認
が終了する。
2) Confirmation can be completed in a shorter time by drawing than by actually operating the machine.

3)描画中も加工を行なうことが可能であるので、機械
の使用効率が良い。
3) Since processing can be performed even during drawing, the machine is used more efficiently.

4)描画スケールを変化させることにより、任意の倍率
で描画することができるので、全体から部分の確認まで
容易に行なえる。
4) By changing the drawing scale, it is possible to draw at any magnification, making it easy to check both the whole and the parts.

ところで、第3図の曲線−で示すような形状。By the way, the shape shown by the curve - in FIG.

大きさの工具軌跡の全体を確認する為には、曲線lが画
面内に全て含まれるようなスケールAを設定する必要が
あるが、未知のNC指令プログラムの場合、工具軌跡の
描画軸(図示例ではX、Y軸)における最大値、最小値
は不明であるので、直ちにはスケールAを決定すること
は困難である。
In order to check the entire tool path of the size, it is necessary to set the scale A so that the entire curve l is included in the screen, but in the case of an unknown NC command program, the drawing axis of the tool path (Fig. In the illustrated example, since the maximum and minimum values on the X and Y axes are unknown, it is difficult to immediately determine the scale A.

一般に、描画のスケールは、描画対象(NC指令プログ
ラム)に応じた描画空間〈各描画空間軸の最大、Jl小
値)を設定することで行なわれ、その為の従来の方法と
しては、次のような方法が知られている。
Generally, the scale of drawing is done by setting the drawing space (maximum of each drawing space axis, Jl small value) according to the drawing target (NC command program).The conventional method for this is as follows. Such methods are known.

1)オペレータが予めNC指令プログラムの内容を判断
し、描画時の最大、最小値を設定する。
1) The operator judges the contents of the NC command program in advance and sets the maximum and minimum values at the time of drawing.

2)「開始自動」の機能を用いて、装置自身に該当プロ
グラムの最大、最小値を先ず求めさせ、しかる後にこの
最大9最小値が画面に含まれるようなスケール、画面中
心座標で描画を行なわせる。
2) Use the "start auto" function to first have the device itself find the maximum and minimum values of the corresponding program, and then draw at a scale and screen center coordinates that include these maximum and 9 minimum values on the screen. let

3)仮の最大、最小値を与え、描画させる。その結果を
オペレータが見て、「拡大、縮小」、「図形移動」等の
機能を用いて順次最適な設定値を求める。
3) Give temporary maximum and minimum values and draw them. The operator looks at the results and uses functions such as "enlargement, reduction" and "shape movement" to sequentially determine the optimal setting values.

しかしながら、これらの方法には次のような欠点がある
However, these methods have the following drawbacks.

1)の方法の欠点 オペレータがプログラム内容を解析するのは、前述した
ように本来この種の機能とは異質なものである。即ち、
プログラミングに必要な知識を軽減し、専門の教育を受
けていない者であっても容易にNC装置を操作できるよ
うにするという開発方向とそぐわない。また、そのよう
な知識を持つ者であっても、最大、最小値を求める作業
は繁雑であり、長大なNC指令プログラムに対しては事
実上試みることは不可能である。従って、この方法は既
に最大、最小を知っている場合や、プログラムが極めて
簡単な場合にしか適用できない。
Disadvantages of Method 1) The operator's analysis of program content is originally a different function from this type of function, as described above. That is,
This is inconsistent with the development direction of reducing the knowledge required for programming and making it easier for even those without specialized training to operate the NC device. Further, even for those who have such knowledge, the task of finding the maximum and minimum values is complicated, and it is virtually impossible to attempt it for a long NC command program. Therefore, this method can only be applied when the maximum and minimum values are already known or when the program is extremely simple.

2)の方法の欠点 装置自身に最大、最小値を求めさせるのは最も確実な方
法である。しかし、この為には描画範囲を知る為だけに
プログラムを一度実行する必要があり、一般には描画時
間に匹敵する時間がかかる。
Disadvantages of method 2) The most reliable method is to have the device itself find the maximum and minimum values. However, for this purpose, it is necessary to run the program once just to know the drawing range, which generally takes a time comparable to the drawing time.

この為、長いNC指令プログラムでは描画が開始される
までの時間が長く、実用的ではなくなってしまう。
For this reason, a long NC command program takes a long time to start drawing, making it impractical.

3)の方法の欠点 仮の設定値で散散えず描画する方法は、現実的には良く
用いられる方法である。この場合、第3図のスケールC
の如く画面上に少しでも図形が描かれていれば、多くの
場合次回の描画で良好な設定値とすることが可能である
。特に、NC装置の場合、プログラム指令は制御対象で
ある工作機械の可動範囲を越えることはないので、仮の
設定値として、その値を設定すれば良い。但し、仮の設
定値が不適切で、例えば第3図のスケールBの如く画面
上に図形が殆ど又は全く表示されなかったときには当該
描画は全く無駄になる。
Disadvantages of method 3) The method of drawing without scattering using temporary setting values is a method that is often used in practice. In this case, scale C in Figure 3
If even a small figure is drawn on the screen, it is often possible to set good settings for the next drawing. In particular, in the case of an NC device, since the program command does not exceed the movable range of the machine tool to be controlled, the value may be set as a temporary setting value. However, if the temporary setting values are inappropriate and, for example, as in scale B in FIG. 3, little or no figure is displayed on the screen, the drawing will be completely wasted.

発明が解決しようとする問題点 本発明はこのような従来の問題点を解決したもので、そ
の目的は、最適な描画スケールをでき得る限り早期に設
定し得るようにすることにある。
Problems to be Solved by the Invention The present invention solves these conventional problems, and its purpose is to enable the optimum drawing scale to be set as early as possible.

問題点を解決するための手段 本発明は上記問題点を解決するために、NC指令プログ
ラムの内容を解読して工具軌跡等をディスプレイ画面に
描画する数値制御装置用グラフィックディスプレイの描
画方法を、選択されたNC指令プログラムの工具軌跡等
を先ずキー入力手段より与えられた最大座標値、最小座
標値が画面内に収まる描画倍率5描画画面中心座標を求
めてこれでFfti画すると共に、該描画処理と平行し
て前記選択されたNC指令プログラムの最大座標値、最
小座標値を求め、該描画終了後に所定の指令が入力され
ると、前記で求めた最大座標値5最小座標値が画面内に
収まる描画倍率、描画画面中心座標を求めこれに従って
前記選択されたプログラムの工具軌跡等を描画するよう
に構成する。
Means for Solving the Problems In order to solve the above problems, the present invention selects a drawing method for a graphic display for a numerical control device that decodes the contents of an NC command program and draws tool trajectories, etc. on a display screen. First, the center coordinates of the drawing screen with a drawing magnification of 5 are determined so that the maximum coordinate value and minimum coordinate value given by the key input means fit within the screen, and the drawing screen center coordinates are drawn using this Ffti image. In parallel, the maximum and minimum coordinate values of the selected NC command program are calculated, and when a predetermined command is input after the drawing is completed, the maximum coordinate value and minimum coordinate value calculated above are displayed on the screen. The drawing magnification and center coordinates of the drawing screen are found to fit, and the tool locus, etc. of the selected program is drawn accordingly.

作用 最初にキー入力手段より与えた仮の最大座標値2最小座
標値が選択したNC指令プログラムに対応した適切な設
定値であれば、1度目の描画で満足する描画結果が得ら
れることになり、設定値が不適切なものであれば最悪の
場合は全く画面に工具軌跡等が表示されないものとなる
が、この描画中に当該NC指令プログラムの最大座標値
、最小座標値が求められているので、次に所定の指令を
入力して再度描画させた場合には、求められた最大座標
値、最小座標値が画面内に収まる描画倍率。
Operation If the temporary maximum coordinate value 2 minimum coordinate value initially given by the key input means are appropriate setting values corresponding to the selected NC command program, a satisfactory drawing result will be obtained in the first drawing. If the setting values are inappropriate, in the worst case, the tool path etc. will not be displayed on the screen at all, but during this drawing, the maximum and minimum coordinate values of the relevant NC command program are determined. Therefore, when a predetermined command is input next time and the drawing is performed again, the drawing magnification is such that the obtained maximum and minimum coordinate values fit within the screen.

描画画面中心座標で工具軌跡等が描画され、少なくも2
度目には工具軌跡等の全体を確実に描画させることが可
能となる。
The tool trajectory, etc. is drawn at the center coordinates of the drawing screen, and at least 2
At the same time, it is possible to reliably draw the entire tool trajectory, etc.

実施例 第2図は本発明を実施するグラフィックディスプレイを
有する数値制御装置の要部ブロック図であり、IOはマ
イクロコンピュータで、周辺回路とはデータバス、アド
レスバス、コントロールバスを含むバスにより相互に接
続される。また、11はマイクロコンピュータ10が所
定の動作を実行するのに必要なプログラム等を記憶する
ROM、12はポインタや演算用等に使用するRAM、
13はメモリ等をアクセスするためのアドレスデコーダ
、14はNC指令プログラムを記憶するCMOSメモリ
、15はNC装置の前面パネルに設けられた手動デコー
ダ入力装置(MDI)で、各種のキーを有する。
Embodiment FIG. 2 is a block diagram of a main part of a numerical control device having a graphic display that implements the present invention. IO is a microcomputer, and peripheral circuits are interconnected through buses including a data bus, an address bus, and a control bus. Connected. Further, 11 is a ROM that stores programs necessary for the microcomputer 10 to execute predetermined operations, and 12 is a RAM that is used for pointers, calculations, etc.
13 is an address decoder for accessing a memory, etc.; 14 is a CMOS memory for storing an NC command program; and 15 is a manual decoder input device (MDI) provided on the front panel of the NC device, which has various keys.

16は水平、垂直同期信号やスキャン用アドレスを発生
するCRTコントローラ、17はパルス発振回路、18
はCPUアドレスとCRTコントローラ16からのスキ
ャン用アドレスを切換えるアドレス切換回路、19はア
ドレスデコーダ、20は表示画面の位置に対応して表示
文字を記憶するキャラクタRAM、21は画面の各表示
ドツトに対応する記憶領域を有するグラフィックRAM
、22はキャラクタRA M 20の出力を文字パター
ンデータに変換するキャラクタジェネレータROM、2
3はキャラクタRAM20.グラフィックRAM2]の
出力に基づきビデオ信号を出力する表示コン]・ロール
回路、24はディスプレイ部、25は表示画面である。
16 is a CRT controller that generates horizontal and vertical synchronizing signals and scanning addresses; 17 is a pulse oscillation circuit; 18
19 is an address decoder, 20 is a character RAM that stores display characters corresponding to the position of the display screen, and 21 corresponds to each display dot on the screen. Graphic RAM with storage area for
, 22 is a character generator ROM that converts the output of the character RAM 20 into character pattern data.
3 is character RAM 20. 24 is a display unit, and 25 is a display screen.

CMOSメモリ14には複数のNC指令プログラムが記
憶されており、どのプログラムの工具軌跡を描画させる
かは設定値変更により指定する。設定値の変更は、公知
のようにMD115の設定値変更キーを押すことにより
設定値変更画面を表示画面25に表示させ、設定値変更
画面中のプログラム番号挿入箇所にMD115から表示
したいプログラムの番号を書込むことで行なわれる。設
定値変更画面には、他に、描画平面に関するパラメータ
、描画最大値、最小値に関するパラメータ、画面中心座
標に関するパラメータ、描画開始点に関するパラメータ
、描画開始ブロック、最終プロ・ツク等を設定する領域
があり、MDI+5よりこれらに必要なデータを設定す
る。ここで、描画平面に関するパラメータには、例えば
工具軌跡をXY平面で表示したい場合はXY平面の番号
例えば0を設定し、YZ平面で表示したい場合にはlを
設定する。
A plurality of NC command programs are stored in the CMOS memory 14, and which program's tool locus is to be drawn is designated by changing set values. To change the set value, press the set value change key on the MD115 as is well known, to display the set value change screen on the display screen 25, and enter the number of the program you want to display from the MD115 in the program number insertion place on the set value change screen. This is done by writing . The setting value change screen also has areas for setting parameters related to the drawing plane, maximum and minimum values for drawing, parameters related to screen center coordinates, parameters related to the drawing start point, drawing start block, final project, etc. Yes, set the necessary data for these from MDI+5. Here, for the parameters related to the drawing plane, for example, if the tool path is to be displayed on the XY plane, the number of the XY plane is set to 0, for example, and when it is desired to be displayed on the YZ plane, it is set to l.

また、描画最大値、最小値には、指定した平面の各軸に
対し最大値、最小値を設定する。このように最大値、最
小値が設定されると、この最大値。
Furthermore, the maximum and minimum values for each axis of the specified plane are set as the maximum and minimum values for drawing. If the maximum and minimum values are set like this, this maximum value.

最小値が画面内に収まるようにスケールおよび画面中心
座標が自動的に決定される。画面中心座標には画面の中
心座標を描画しようとするNC指令プログラムにおける
ワーク座標系での値で設定する力゛ 最大値、最小値が
設定されていれば、この最大値、最小値の中心が画面中
心座標として自動的に設定される。描画開始点には、描
画しようとするNC指令プログラムの最初にG92が指
令されていないと、この設定値が開始位置となるので、
G92のような指令がない場合はワーク座標系で設定し
ておく。また、描画開始ブロック、終了ブロックには、
プログラム番号、シーケンス番号を指定することによっ
て描画の開始ブロックと終了ブロックを指定する。
The scale and screen center coordinates are automatically determined so that the minimum value fits within the screen. The screen center coordinates are the forces set by the values in the workpiece coordinate system in the NC command program that attempts to draw the center coordinates of the screen. If the maximum and minimum values are set, the center of these maximum and minimum values is Automatically set as screen center coordinates. If G92 is not commanded at the beginning of the NC command program to be drawn, this setting value will be the starting position.
If there is no command such as G92, set it in the work coordinate system. Also, in the drawing start block and end block,
Specify the start and end blocks of drawing by specifying the program number and sequence number.

次に本実施例の作用を説明する。例えばCMOSメモ1
月5に記憶されたプログラム番号11ONC指令プログ
ラムの工具軌跡を表示画面25に表示させる場合、先ず
MD115を操作して設定値変更画面を表示画面乙に呼
出し、プログラム番号として1番を設定し、また描画平
面、描画最大値、最小値、描画開始ブロック、最終ブロ
ック等を設定する。この場合、描画最大値、最小値はオ
ペレータが適当と判断した仮の最大値、最小値を設定す
る。必要なパラメータ設定が終了すると、MD115上
の描画開始キーをオンする。これによりマイクロコンピ
ュータ10は第1図に示すような処理を実行する。
Next, the operation of this embodiment will be explained. For example, CMOS memo 1
To display the tool path of program number 11 ONC command program stored in month 5 on the display screen 25, first operate the MD 115 to call up the set value change screen on the display screen B, set No. 1 as the program number, and Set the drawing plane, drawing maximum value, minimum value, drawing start block, final block, etc. In this case, the drawing maximum and minimum values are set to temporary maximum and minimum values that the operator determines to be appropriate. When necessary parameter settings are completed, the drawing start key on the MD 115 is turned on. As a result, the microcomputer 10 executes the processing shown in FIG.

即ち、先ず設定された描画平面、最大値、最小値に従っ
て描画座標とNC指令プログラム座標の対応(スケール
、描画中心座標等)を決定し、次に新しくNC指令プロ
グラムの最大、最小を求める為の準備をする(例えばパ
ラメータ設定された仮の最大、最小値を開始点の座標と
する等)。
That is, first, the correspondence between the drawing coordinates and the NC command program coordinates (scale, drawing center coordinates, etc.) is determined according to the set drawing plane, maximum value, and minimum value. Make preparations (for example, use temporary maximum and minimum values set as parameters as the coordinates of the starting point, etc.).

次に、パラメータ設定されたプログラム番号に対応する
NC指令プログラムの1ブロツクをCMOSメモ1月4
から読取り、内容を解析して工具軌跡データを算出し、
該データをグラフィックRAM21に書込む。また、プ
ログラム内容に従ってプログラム座標での位置を更新し
、過去の最大、最小値と比較してプログラムの最大、最
小値を軸毎に算出する。なお、図中、MAX (a、b
)はaとbの大きい方を示し、MIN (a、b)は小
さい方を示す記号である。このような処理は指定された
NC指令プログラムが終了するまで続けられる。
Next, write one block of the NC command program corresponding to the parameter-set program number in the CMOS memo.
The tool path data is calculated by reading from and analyzing the contents.
The data is written into the graphic RAM 21. Furthermore, the position in the program coordinates is updated according to the program contents, and the maximum and minimum values of the program are calculated for each axis by comparing with the past maximum and minimum values. In addition, in the figure, MAX (a, b
) indicates the larger one of a and b, and MIN (a, b) indicates the smaller one. Such processing continues until the specified NC command program is completed.

NC指令プログラムの最後まで上記処理が終了すると、
グラフィックRAM2]には指定したNC指令プログラ
ムの仮のスケールでの工具軌跡が記憶されたことになり
、マイクロコンピュータ1oはアドレス切換回路18を
スキャン用アドレス側に切換えることにより、グラフィ
ックRAM2]の内容を順次表示コントロール回路詔に
読出させ、当該工具軌跡を表示画面25に表示させる。
When the above processing is completed to the end of the NC command program,
The tool trajectory on the temporary scale of the specified NC command program is stored in the graphic RAM 2], and the microcomputer 1o changes the contents of the graphic RAM 2 by switching the address switching circuit 18 to the scanning address side. The display control circuit sequentially reads out the tool locus and displays it on the display screen 25.

オペレータは、この表示画面が満足するものであれば、
表示画面を見ながらプログラムのチェック等を行なうこ
とができる。また、仮の最大値。
If the operator is satisfied with this display screen,
You can check the program while looking at the display screen. Also, the temporary maximum value.

最小値の設定が不適切なため、画面に何も表示されない
か、何か表示されていても必要な部分が表示されないか
、或は必要な部分は表示されているが適正な最大値、最
小値を求めるのは困難な場合等には、MD(15の自動
描画キーを押せば、第1図のフローチャートに示すよう
に、今度は前回の描画時に求めておいた最大、最小値を
正式の最大。
Because the minimum value setting is inappropriate, nothing is displayed on the screen, or even if something is displayed, the necessary part is not displayed, or the necessary part is displayed but the appropriate maximum and minimum values are not displayed. If it is difficult to obtain the values, press the automatic drawing key MD (15), and as shown in the flowchart in Figure 1, the maximum and minimum values obtained during the previous drawing will be displayed in the official format. maximum.

最小値の設定値として描画処理を行なうので、今度は指
定したNC指令プログラムの工具軌跡の全体が画面内に
収まる描画倍率、描画画面中心座標で工具軌跡等が描画
されることになる。
Since the drawing process is performed using the minimum set value, the tool trajectory, etc., will be drawn at a drawing magnification that allows the entire tool trajectory of the specified NC command program to fit within the screen, and at the center coordinates of the drawing screen.

なお、一度目の描画後に従来方法1〜3の方法を選択し
得るようにしておけば(但し2の方法を選択するのは事
実上無意味である)、操作上の自由度がより大きくなっ
て好適である。
Furthermore, if it is possible to select conventional methods 1 to 3 after the first drawing (however, selecting method 2 is practically meaningless), the degree of freedom in operation will be greater. It is suitable.

発明の詳細 な説明したように、本発明によれば、最初にキー入力手
段より与えた仮の最大座標値、最小座標値が選択したN
C指令プログラムに対応した通切な設定値であれば、1
度目の描画で満足する描画結果が得られることになり、
また、設定値が不適切なものであっても多少の工具軌跡
が表示されればオペレータはプログラムに関するいくら
かの情報を得ることができ、然も上記描画中に当該NC
指令プログラムの最大座標値、i止座標値が求められて
いるので、次に所定の指令を入力して再度描画させた場
合には、求められた最大座標値。
As described in detail, according to the present invention, the temporary maximum coordinate value and minimum coordinate value initially given by the key input means are the selected N.
If it is a consistent setting value that corresponds to the C command program, it is 1.
You will be able to get a satisfactory drawing result on the second drawing,
Furthermore, even if the setting values are inappropriate, if some tool path is displayed, the operator can obtain some information about the program, and the
Since the maximum coordinate value and i-stop coordinate value of the command program have been determined, the next time a predetermined command is input and drawing is performed again, the determined maximum coordinate value will be used.

最小座標値が画面内に収まる描画倍率、描画画面中心座
標で工具軌跡等が描画され、工具軌跡等の全体を確実に
描画させることが可能となり、全体として最適な描画ス
ケールをでき得る限り早期に設定することが可能となる
The drawing magnification allows the minimum coordinate value to fit within the screen, and the tool path, etc. is drawn using the center coordinates of the drawing screen, making it possible to reliably draw the entire tool path, etc., and the optimal drawing scale as a whole can be drawn as early as possible. It becomes possible to set.

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

第1図は本発明実施例方法の処理の流れを示すフローチ
ャート、第2図は本発明を実施する数値制御装置の要部
ブロック図、第3図は描画する工具軌跡と画面スケール
の関係を説明する図である。 10はマイクロコンピュータ、11はROM、12はR
AM、14はNC指令プログラムを記憶するCMOSメ
モリ、15はMDI、16はCRTコントローラ、21
はグラフィックRAM、24はディスプレイ部、25は
表示画面である。
Fig. 1 is a flowchart showing the processing flow of the method according to the embodiment of the present invention, Fig. 2 is a block diagram of main parts of a numerical control device implementing the invention, and Fig. 3 explains the relationship between the tool trajectory to be drawn and the screen scale. This is a diagram. 10 is a microcomputer, 11 is a ROM, 12 is an R
AM, 14 is a CMOS memory that stores the NC command program, 15 is MDI, 16 is a CRT controller, 21
2 is a graphic RAM, 24 is a display unit, and 25 is a display screen.

Claims (1)

【特許請求の範囲】[Claims] NC指令プログラムの内容を解読して工具軌跡等をディ
スプレイ画面に描画する数値制御装置用グラフィックデ
ィスプレイの描画方法において、選択されたNC指令プ
ログラムの工具軌跡等を先ずキー入力手段より与えられ
た最大座標値、最小座標値が画面内に収まる描画倍率、
描画画面中心座標を求めてこれで描画すると共に、該描
画処理と平行して前記選択されたNC指令プログラムの
最大座標値、最小座標値を求め、該描画終了後に所定の
指令が入力されると、前記で求めた最大座標値、最小座
標値が画面内に収まる描画倍率、描画画面中心座標を求
めこれに従って前記選択されたプログラムの工具軌跡等
を描画することを特徴とする数値制御装置用グラフィッ
クディスプレイの描画方法。
In a drawing method for a graphic display for a numerical control device that decodes the contents of an NC command program and draws a tool trajectory, etc. on a display screen, the tool trajectory, etc. of a selected NC command program is first displayed in the maximum coordinates given by the key input means. value, the drawing magnification at which the minimum coordinate value fits within the screen,
In addition to determining the center coordinates of the drawing screen and drawing using these coordinates, in parallel with the drawing process, the maximum and minimum coordinate values of the selected NC command program are determined, and when a predetermined command is input after the drawing is completed, , a graphic for a numerical control device, characterized in that the drawing magnification and the center coordinates of the drawing screen are determined so that the maximum coordinate value and the minimum coordinate value obtained above are within the screen, and the tool path, etc. of the selected program is drawn in accordance with the drawing magnification and drawing screen center coordinates. How to draw the display.
JP59136275A 1984-06-30 1984-06-30 Drawing method of graphic display for numerical controller Pending JPS6115205A (en)

Priority Applications (5)

Application Number Priority Date Filing Date Title
JP59136275A JPS6115205A (en) 1984-06-30 1984-06-30 Drawing method of graphic display for numerical controller
DE8585903369T DE3584364D1 (en) 1984-06-30 1985-06-28 METHOD FOR GRAPHIC DISPLAY OF NUMERICALLY CONTROLLED PLANTS.
PCT/JP1985/000364 WO1986000429A1 (en) 1984-06-30 1985-06-28 Method of drawing graphic display for numerically controlled apparatus
EP85903369A EP0188619B1 (en) 1984-06-30 1985-06-28 Method of drawing graphic display for numerically controlled apparatus
US06/832,715 US4725960A (en) 1984-06-30 1985-06-28 Method of sizing an image on a graphic display for a numerical controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP59136275A JPS6115205A (en) 1984-06-30 1984-06-30 Drawing method of graphic display for numerical controller

Publications (1)

Publication Number Publication Date
JPS6115205A true JPS6115205A (en) 1986-01-23

Family

ID=15171382

Family Applications (1)

Application Number Title Priority Date Filing Date
JP59136275A Pending JPS6115205A (en) 1984-06-30 1984-06-30 Drawing method of graphic display for numerical controller

Country Status (5)

Country Link
US (1) US4725960A (en)
EP (1) EP0188619B1 (en)
JP (1) JPS6115205A (en)
DE (1) DE3584364D1 (en)
WO (1) WO1986000429A1 (en)

Families Citing this family (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0202014B1 (en) * 1985-04-13 1996-02-28 Quantel Limited Improvements in video image creation systems
JPS6332608A (en) * 1986-07-26 1988-02-12 Fanuc Ltd Numerical controller
JPS63109591A (en) * 1986-10-27 1988-05-14 Sharp Corp Optical character reader
US5072782A (en) * 1988-07-08 1991-12-17 Honda Giken Kogyo Kabushiki Kaisha Method of producing pattern for molding castings
US5268677A (en) * 1988-08-04 1993-12-07 The Grass Valley Group, Inc. Reduced viewport for graphics display
JPH02143900A (en) * 1988-11-25 1990-06-01 Fanuc Ltd Method for setting drawing output to x-y plotter
US4991022A (en) * 1989-04-20 1991-02-05 Rca Licensing Corporation Apparatus and a method for automatically centering a video zoom and pan display
JPH03233705A (en) * 1990-02-09 1991-10-17 Mitsubishi Electric Corp Display method for working locus
JPH0519837A (en) * 1991-07-10 1993-01-29 Fanuc Ltd Animation drawing system of nc device for multi-series lathe
JP2641797B2 (en) * 1990-11-08 1997-08-20 ファナック株式会社 Interactive numerical controller
JP2643596B2 (en) * 1990-11-29 1997-08-20 株式会社日立製作所 Display method of scalar quantity distribution
US5384909A (en) * 1991-12-19 1995-01-24 International Business Machines Corporation Precision automatic scrolling for an image display system
JPH06348800A (en) * 1993-06-02 1994-12-22 Canon Inc Method and device for image processing
JPH07295619A (en) * 1994-04-25 1995-11-10 Mitsubishi Electric Corp Numerical controller for machine tool
JP6434246B2 (en) * 2014-07-29 2018-12-05 ファナック株式会社 Numerical control device with machine abnormality history analysis support function

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US3867616A (en) * 1968-09-03 1975-02-18 Badger Co Automated designing
DD134895B1 (en) * 1978-03-07 1988-01-27 Akad Wissenschaften Ddr METHOD FOR DISPLAYING CURVES ON VISIBILITY DEVICES
JPS56119185A (en) * 1980-02-23 1981-09-18 Fujitsu Fanuc Ltd Picture display system
JPS58149508A (en) * 1982-02-27 1983-09-05 Fanuc Ltd Nc data generating system
JPS58158713A (en) * 1982-03-16 1983-09-21 Mitsubishi Electric Corp Numerical control processing system

Also Published As

Publication number Publication date
US4725960A (en) 1988-02-16
EP0188619A1 (en) 1986-07-30
EP0188619A4 (en) 1988-12-19
DE3584364D1 (en) 1991-11-14
WO1986000429A1 (en) 1986-01-16
EP0188619B1 (en) 1991-10-09

Similar Documents

Publication Publication Date Title
JPS6115205A (en) Drawing method of graphic display for numerical controller
JPH046006B2 (en)
US4644460A (en) Cutting direction input method in automatic programming
EP0146628B1 (en) Automatic programming method
US20050143854A1 (en) Numerical control device and method
JP2773517B2 (en) Program display device
US5359530A (en) Animated plotting method in NC apparatus for multi-system lathe
JPS5975309A (en) Numerical control device provided with graphic display device
EP0139761A1 (en) Method of specifying a machining region for automatic programming
JPH02151908A (en) Numerical controller with simulation function
JP2771701B2 (en) Interactive numerical controller
JPH07120181B2 (en) Display method
JPS60246408A (en) Working state display device
JPS61220004A (en) Screen display system of numerical controller
JPH06114678A (en) Tool locus display device of nc device
JPH0410003A (en) Drawing method for polyhedral machining
JPH0212405A (en) Picture display method for automatic programming device
JPH06309026A (en) Manual operation teaching device for programmable controller
JPS6318406A (en) Display method for element of shape to be modified
JPH0277904A (en) Nc data origination method
JPS60201406A (en) Data input device of numerical control device
JPH0498454A (en) Screen state continuing control system
JPH01142807A (en) Graphic cursor display system for numerical controller
JPH03142603A (en) Method and device for production of teaching program for laser beam machine
JPH10154040A (en) Image processor