JPS6057405A - Block searching device using graphic screen - Google Patents

Block searching device using graphic screen

Info

Publication number
JPS6057405A
JPS6057405A JP58164384A JP16438483A JPS6057405A JP S6057405 A JPS6057405 A JP S6057405A JP 58164384 A JP58164384 A JP 58164384A JP 16438483 A JP16438483 A JP 16438483A JP S6057405 A JPS6057405 A JP S6057405A
Authority
JP
Japan
Prior art keywords
command
screen
block
displayed
tool
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.)
Granted
Application number
JP58164384A
Other languages
Japanese (ja)
Other versions
JPH0458044B2 (en
Inventor
Hideaki Kawamura
川村 英昭
Mitsuto Miyata
宮田 光人
Kentaro Fujibayashi
謙太郎 藤林
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 JP58164384A priority Critical patent/JPS6057405A/en
Publication of JPS6057405A publication Critical patent/JPS6057405A/en
Publication of JPH0458044B2 publication Critical patent/JPH0458044B2/ja
Granted 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

Landscapes

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

Abstract

PURPOSE:To facilitate an operation to indicate a desired tool locus by searching an NC command block in response to the presence or absence of an intersecting point between a prescribed closed loop line and a tool locus which is displayed on a screen of an NC command block read out of a memory means. CONSTITUTION:A tool locus is produced by a tool locus drawing means BG and displayed to a CRT when a series of NC command blocks stored in an NC command program memory means MEM are executed. A prescribed coordinate system at the position of a CRT screen designated by a screen position detecting means GS consisting of a cursor shift control means, a cursor position detecting means, a light pen, a light pen indicating position detecting means, etc., i.e., the coordinate position of a drawing coordinate system is calculated by a coordinate position calculating means ZT. An intersecting point detecting means DET decides the presence or absence of an intersecting point between a closed loop line of a prescribed size including said coordinate position and the tool locus displayed at the CRT screen of an NC command block read out of the means MEM. Then the contents of the NC command block having an intersecting point are displayed on the CRT screen in characters by a searching block display means SC.

Description

【発明の詳細な説明】 発明の技術分野 本発明は、グラフィック画面に表示された工具軌跡に対
応するNC指令ブロックを検索してその内容を文字で画
面に表示するグラフィック画面を用いたブロックサーチ
装置に関するものである。
DETAILED DESCRIPTION OF THE INVENTION Technical Field of the Invention The present invention provides a block search device using a graphic screen that searches for an NC command block corresponding to a tool trajectory displayed on a graphic screen and displays its contents in text on the screen. It is related to.

従来技術と問題点 従来より、NC(数値制御)指令プログラムの工具移動
!lL跡の内容をグラフィック画面に軌跡として表示す
るグラフィックディスプレイ装置が知られている。従来
のこの種装置は、工具軌跡の描画機能とは別にNC指令
プログラムの内容そのものの表示機能も白しているが、
工具→ilt跡の表示とNC指令プ1」ダラムの表示と
は別箇独立に行なわれており、両者の対応関係は明確に
されていなかった。そのため、表示された工具軌跡のあ
る部位に誤りを発見し、その部位に対応するNC指令プ
ログラムを修正しようとしても、修正すべき箇所に対応
するNcth令ブロツブロック指令プログラム中から選
び出すことが容易でなかった。特に、工具軌跡の一部を
拡大表示している場合はなおさら困難であった。
Conventional technology and problems Traditionally, tool movement using NC (numerical control) command programs! A graphic display device is known that displays the contents of an LL trace on a graphic screen as a locus. Conventional devices of this kind have a function of displaying the contents of the NC command program in addition to the function of drawing the tool path.
The display of tool → ilt traces and the display of NC command P1"Dram were performed separately and independently, and the correspondence between the two was not made clear. Therefore, even if you discover an error in a certain part of the displayed tool path and try to correct the NC command program corresponding to that part, you can easily select it from among the Ncth command block command programs corresponding to the part to be corrected. It wasn't. This is especially difficult when a part of the tool trajectory is displayed in an enlarged manner.

発明の目的 本発明はこのような従来の欠点を改善したものであり、
その目的は、注目したい工具軌跡をカーツル或いはライ
トペン等で指示しサーチ指令を入力するだけで、その指
示した工具軌跡に対応するNC11令ブロツクをNC1
1i令プログラム中から検索し且つその内容を画面に表
示し得るようにすることにある。
Purpose of the Invention The present invention improves these conventional drawbacks, and
The purpose is to simply indicate the tool trajectory you want to focus on with a cursor or light pen, input a search command, and then search the NC11 command block corresponding to the indicated tool trajectory.
The object of the present invention is to enable searching from among 1i instruction programs and displaying the contents on the screen.

発明の構成 第1図は本発明の構成説明図である。NC指令プログラ
ム記憶手段!1聞に記憶された一連のNC指令ブロック
を実行した際の工具IIIIL跡が工具軌跡描画手段1
3Gにより作成されてCRTに表示される。
Structure of the Invention FIG. 1 is an explanatory diagram of the structure of the present invention. NC command program storage means! The tool path drawing means 1 shows the traces of the tool III when executing a series of NC command blocks stored in one line.
3G and displayed on a CRT.

カーソル移動制御手段とその位置検出手段或いはライト
ペンとそのth示位置検出手段等で構成される画面位置
措定手段CSでIけ定されたC R’r両面の位置の所
定座標系、例えば描画座標系の座標位置が座標位置算出
手段ZTで算出され、交点検出手段BETはこの座標位
置を含む所定の大きさの閉ループ線とNC指令プログラ
ム記憶手段肚ト1から読出したNC指令ブロックの前記
CR’r画面に表示される工具軌跡との交点の有無を判
別する。そして、サーチブロック表示手段SCにより交
点を有しているサーチされたNC指令ブロックの内容が
文字として前記CRi”両面に表示される。
A predetermined coordinate system, for example, drawing coordinates, of the position on both sides of C R'r determined by the screen position setting means CS, which is composed of a cursor movement control means and its position detection means, or a light pen and its indicated position detection means, etc. The coordinate position of the system is calculated by the coordinate position calculation means ZT, and the intersection detection means BET calculates the closed loop line of a predetermined size including this coordinate position and the CR' of the NC command block read from the NC command program storage means 1. r Determine whether there is an intersection with the tool trajectory displayed on the screen. Then, the content of the searched NC command block having the intersection point is displayed as characters on both sides of the CRi'' by the search block display means SC.

発明の実施例 第2図は本発明装置のハードウェア構成の一例を示す概
略ブロック図である。
Embodiment of the Invention FIG. 2 is a schematic block diagram showing an example of the hardware configuration of the apparatus of the present invention.

同図において、1はマイクロコンピュータであり、ハス
2を介し′ζ周辺回路と接続されている。
In the figure, reference numeral 1 denotes a microcomputer, which is connected via a lotus 2 to peripheral circuits 'ζ.

3は磁気バブルメモリ等の書込み読出し可能なメモリで
、複数ブロックから成る−乃至複数個のNC指令プログ
ラムが記憶される。4はコントロールプログラム用のR
OMで、マイクロコンピュータlに図形作成、カーソル
制御、プログラム表示或いはサーチ制御等を実行させる
為のプログラムを内蔵する。、5はワーク用RAMであ
り、マイクロコンピュータlの演算結果を一時格納した
り、ポインタ等に使用される。6はCRTコントローラ
であり、マイクロコンピュータ1から送られてきた工具
ilt跡の情報、NC指令プログラムの内容。
Reference numeral 3 denotes a writable/readable memory such as a magnetic bubble memory, in which a plurality of blocks or a plurality of NC command programs are stored. 4 is R for the control program
The OM contains a program for causing the microcomputer l to execute graphic creation, cursor control, program display, search control, etc. , 5 is a work RAM, which is used to temporarily store the calculation results of the microcomputer 1 and as a pointer. 6 is a CRT controller, which receives tool illt trace information and contents of the NC command program sent from the microcomputer 1;

カーソルの移動情報を処理して工具軌跡、NC指令プロ
グラム、及びカーソルをCRT7に表示する為に必要な
回路、例えばグラフィックメモリ。
A circuit necessary to process cursor movement information and display the tool trajectory, NC command program, and cursor on the CRT 7, such as a graphic memory.

キャラクタメモリ、キャラクタジェネレータROM、同
期信号発生回路、カーソル制御回路等を備えている。こ
のCRTコントローラ6の構成は従来と同様である。ま
た、8はキー人力手段を構成するキーボードであり、そ
のキー人力は入出方コントロール回路9を介してマイク
ロコンピュータlで読取られる。
It is equipped with a character memory, a character generator ROM, a synchronization signal generation circuit, a cursor control circuit, etc. The configuration of this CRT controller 6 is the same as the conventional one. Reference numeral 8 denotes a keyboard constituting a key input means, and the key input is read by the microcomputer l via an input/output control circuit 9.

工具軌跡の表示は、マイクロコンピュータ1がNC指令
プログラム用メモリ3に格納されているNC指令プログ
ラムの先頭ブロック乃至指定されたブロックから順次l
ブロックずっ読取り、そのブロックが移動指令ブロック
であるとき、その移動軌跡を公知の方法でめ、その移動
軌跡が直線指令であるときは例えばその始点と終点の座
標値に関するデータを、また円弧ttt令であるときは
例えば始点、終点の座標と半径に関するデータをCRT
コントローラ6に与え、例えば第3図に示すようにCR
T7の画面30に工具軌跡31を描画させるものである
。ここで、工具軌m31の領域11〜lnはそれぞれ別
々の一個のNC指令ブロックに対応する。また、実際の
工具の移動距離と描画された工具f!IL跡の長さとの
比、即ち描画倍率はキーボード8等から庚定でき、工具
軌跡31の一部分を拡大表示させることも可能である。
The tool trajectory is displayed sequentially by the microcomputer 1 from the first block of the NC command program stored in the NC command program memory 3 or from a specified block.
When the block is a movement command block, its movement locus is determined by a known method, and when the movement locus is a straight line command, data regarding the coordinate values of the starting point and end point, for example, and circular arc ttt commands are read. For example, data regarding the coordinates and radius of the starting point and ending point can be sent to the CRT.
For example, as shown in FIG.
The tool path 31 is drawn on the screen 30 at T7. Here, the regions 11 to ln of the tool trajectory m31 each correspond to one separate NC command block. Also, the actual tool movement distance and the drawn tool f! The ratio to the length of the IL trace, that is, the drawing magnification can be determined from the keyboard 8 or the like, and it is also possible to display a portion of the tool trajectory 31 in an enlarged manner.

なお、実際の工具の移動軌跡の原点と描画座標の原点と
は予め対応付けされている。
Note that the origin of the actual tool movement trajectory and the origin of the drawing coordinates are associated in advance.

また、NCJil令プログラムの表示は、マイクロコン
ピュータIがNCfIt令プUグラム用メモリ3に格納
されているNC指令ブロックを読取り、これをCI? 
Tコンl−【」−ラ6に与えることで行なわれる。第4
図は、NC指令プログラム表示の一例を示す線図である
。以上のような構成は従来がら知られ゛(いるものであ
る。
In addition, the display of the NCJil command program is performed by the microcomputer I reading the NC command block stored in the NCfIt command program memory 3, and displaying it as CI?
This is done by giving Tconl-[''-ra6. Fourth
The figure is a diagram showing an example of NC command program display. The configuration described above has been known for some time.

例えば、第3図に示す工具軌跡31の破IJi132で
囲んだ部分に娯りを発見した場合、従来においては、そ
の部分に対応するNC指令ブロックを見付ける為に、例
えば第4図のようにNC指令プログラムを画面に呼出し
、そのブロックの内容をオペレータ自身が判萌して目的
とするブロックを発見しなければならない。しかし、本
実施例によれば以下のようにNC指令ブロックを自動的
に探知することが可能となる。
For example, when a user discovers a problem in the part of the tool path 31 surrounded by broken IJi 132 shown in FIG. 3, conventionally, in order to find the NC command block corresponding to that part, the NC The operator must call up the command program on the screen and examine the contents of the block himself to find the desired block. However, according to this embodiment, it is possible to automatically detect the NC command block as described below.

第5図は本実施例装置を使用してブロックサーチを実行
する際のオペレータの手順を示すフローチャートである
FIG. 5 is a flowchart showing the operator's procedure when executing a block search using the apparatus of this embodiment.

先ス、オペレータは、キーボード8を操作してチェック
したいNC11令プログラムの工具ldL跡をCRT7
の画面に表示させる。次に、オペレータはキーボード8
のカーソル移動キーを1や作してカーソル33を第3図
に示すようにブロックサーチしたい工具軌跡の部分へ移
動さ・Uる。そして、キーボード8を操作してサーチ続
行指令を入力すると、カーソル33で指示した工具軌跡
に対応するNC指令ブロックのサーチが行なわれる。ジ
・−チが終了すると、サーチされたNC指令ブロックが
第3図に示すように例えば画面下部領域に表示されるか
ら、オペレータはその内容を判断し、目的とするブロッ
クであればキーボード8からサーチ終了指令を入力する
とサーチ動作が終了する。また、サーチされたゾロツク
が目的のブロックでない場合には、キーボード8からサ
ーチ続行指令を入力すると、NC指令プログラムの続き
がサーチされ、見付かれば先と同様にサーチされたブロ
ックが画面に表示される。
First, the operator operates the keyboard 8 to record the tool ldL trace of the NC11 command program that he wants to check on the CRT 7.
display on the screen. Next, the operator
Press the cursor movement key 1 or cursor to move the cursor 33 to the part of the tool path for which the block search is desired, as shown in FIG. Then, when the keyboard 8 is operated to input a search continuation command, a search is performed for the NC command block corresponding to the tool trajectory designated by the cursor 33. When the search is completed, the searched NC command block is displayed, for example, in the lower area of the screen as shown in FIG. When the search end command is input, the search operation ends. In addition, if the searched block is not the target block, input the search continuation command from the keyboard 8, and the continuation of the NC command program will be searched, and if it is found, the searched block will be displayed on the screen in the same way as before. be done.

第6図はブロックサーチ機能を実現するソフトウェア構
成の一例を示すフローチャートである。
FIG. 6 is a flowchart showing an example of a software configuration for realizing the block search function.

マイクロコンピュータ1は、サーチ処理を開始すると、
先ずCRi” 7の画面に表示されているカーソル33
の両面」二の位置を判別する(Sl)、これは、CRT
コントローラ6の水平、垂直カーソル表示位置レジスタ
の内容を読取ることで行なわれる。次にマイクロコンピ
ュータ1は、カーソル表示位置がt111画座標のどの
位置にあるかを算出する(S2)。例えば、第7図に示
すように工具の移動径路の原点を原点0とする描画座標
径x−yを考えると、最初の移動指令ブロックがX軸方
向に20c++1.Y軸方向に30cImそれぞれ動か
す指令であると、描画倍率がl/10であるとき、それ
に対応する画面の]1具軌跡は同図の実線80に示すよ
うにX軸方向に201、Y軸方向に30鰭の点pと原点
0を結ぶ線分で与えられることになる。若し、カーソル
33が同図の位置にあるとするとカーソル33の画面上
の位置は前述の方法で判り月つ原点Oの位置も定まって
いるから、カーソル33の描画座標系の座標値もまるこ
とになる。
When the microcomputer 1 starts the search process,
First, click the cursor 33 displayed on the CRi” 7 screen.
(Sl), this is the CRT
This is done by reading the contents of the horizontal and vertical cursor display position registers of the controller 6. Next, the microcomputer 1 calculates where the cursor display position is in the t111 image coordinates (S2). For example, if we consider the drawing coordinate diameter x-y where the origin of the tool movement path is the origin 0 as shown in FIG. 7, the first movement command block is 20c++1. If the command is to move each tool by 30 cIm in the Y-axis direction, when the drawing magnification is l/10, the trajectory of the corresponding tool on the screen will be 201 in the X-axis direction and 201 cm in the Y-axis direction, as shown by the solid line 80 in the figure. is given by the line segment connecting the point p of the 30 fins and the origin 0. If the cursor 33 is at the position shown in the figure, the position of the cursor 33 on the screen is determined by the method described above, and the position of the moon origin O is also determined, so the coordinate values of the drawing coordinate system of the cursor 33 are also determined. It turns out.

次に、マイクロコンピュータlは、カーソル33の描画
座標位置を中心として半径Rの円を想定する(S3)。
Next, the microcomputer l assumes a circle with a radius R centered on the drawing coordinate position of the cursor 33 (S3).

第8図はこの様子を図示したもので、カーソル33が同
図で示す位置にある場合、同図に示ずような半径Rの円
Cを作る。なお、第7薗において、11〜44はそれぞ
れ第1番目〜第4番目のNC指令ブロックに対応する工
具11i1を跡、P、〜Psは工具軌跡!1〜15の始
点、終点、70〜73はカーソル33の上下左右方向へ
の最小移動可能位置を示す。上記半径Rはこのカーソル
の最小移動可能孔%!It (カーソルの分解能)の最
大値(図示例では上下方向の最小移動可能孔M)の1/
2の長さ以上とし、好ましくは1/2にほぼ一致させる
ことが望ましい。
FIG. 8 illustrates this situation. When the cursor 33 is at the position shown in the figure, a circle C with a radius R as shown in the figure is created. In addition, in the seventh field, 11 to 44 trace the tools 11i1 corresponding to the first to fourth NC command blocks, respectively, and P and ~Ps are tool trajectories! Starting points 1 to 15 and ending points 70 to 73 indicate the minimum movable positions of the cursor 33 in the vertical and horizontal directions. The radius R above is the minimum movable hole% of this cursor! 1/ of the maximum value of It (cursor resolution) (in the illustrated example, the minimum movable hole M in the vertical direction)
It is desirable that the length be equal to or more than 2, preferably approximately equal to 1/2.

次に、マイクロコンピュータ1はプログラムファイルの
頭出し、即ち現在表示している工具軌跡に対応するNC
指令プログラムの先頭指令ブロックの選定を行ない(S
4)、次いで、それに従ってNC指令プし1グラム用メ
モリ3から1ブロック分のNCjl令ブロノブロックず
(S5)。そして、そのNC指令ブロックの工具軌跡と
上述の想定した円Cとの交点の有無をめ(36)、交点
があればそのNC指令ブロックをCRTコントローラ6
へ送出し−ζ第3図に示したようにCRT7の画面下部
領域にサーチしたNC指令ブロックを表示する(37,
511)。また、交点がないときは、そのNC指令ブロ
ックの工具軌跡の始点、終点が共に円C内に含まれてい
るか否かを判別しくS9゜5IO)、含まれζいれば、
ステ・7プS8へ移行する。また含まれていなければ、
プログラムファイルポインタを次へ進め(Sll)=ス
テップS5に復帰し、サーチ処理を続行する。また、ス
テップS8を実行し終えた後、キーボード8からサーチ
続行指令が人力されると、ステップSllに復帰し、サ
ーチ処理を続行する。なお、円Cと工具軌跡との交点検
出及び包含関係の検出は、(1°11画座標系で行なっ
ても良いし、実際の機械1止標系で行なっても良い。
Next, the microcomputer 1 searches the beginning of the program file, that is, the NC corresponding to the currently displayed tool path.
Selects the first command block of the command program (S
4) Next, the NC command is read in accordance with the command, and one block worth of NC command is output from the one-gram memory 3 (S5). Then, it is determined whether or not there is an intersection between the tool trajectory of the NC command block and the above-mentioned assumed circle C (36), and if there is an intersection, the NC command block is transferred to the CRT controller 6.
Send to -ζ As shown in Figure 3, the searched NC command block is displayed in the lower area of the screen of the CRT 7 (37,
511). If there is no intersection, it is determined whether the start and end points of the tool trajectory of the NC command block are both included in the circle C (S9゜5IO), and if they are, ζ
Move to Step 7 S8. Also, if it is not included,
Advance the program file pointer to the next step (Sll) = return to step S5 and continue the search process. Further, when a search continuation command is manually input from the keyboard 8 after completing step S8, the process returns to step Sll and the search process is continued. Note that the detection of the intersection between the circle C and the tool trajectory and the detection of the inclusion relationship may be performed using the 1° 11 stroke coordinate system or may be performed using the actual machine 1 stop reference system.

例えば第8図において、工具軌跡zlは円Cと交差せず
且つ円Cにその始点1) +、終点1)2が含まれない
からサーチ動作は続行され、円Cと交点を持つ工具’J
IL跡12に対応するNC指令ブロックが処理されたと
き、そのNC指令ブロックの内容が画面に表示されるこ
とになる。また、サーチ続行指令が入力されると、次は
工具iIk跡7!3に対応するNC指令ブロックが処理
されるごとになり、工具軌跡13の始点P3.終点1〕
、が共に円Cの内部にあることから、その際には工具軌
跡β3に対応するNC1rI令ブロツクが画面に表示さ
れる。
For example, in Fig. 8, the tool path zl does not intersect the circle C, and since the circle C does not include its starting point 1) + and ending point 1) 2, the search operation continues, and the tool
When the NC command block corresponding to the IL trace 12 is processed, the contents of the NC command block will be displayed on the screen. Furthermore, when the search continuation command is input, each time the NC command block corresponding to tool iIk trace 7!3 is processed, starting point P3 of tool path 13. End point 1]
, are both inside the circle C, so at that time, the NC1rI instruction block corresponding to the tool path β3 is displayed on the screen.

このように本実施例によれば、カーソルをチソエクした
い部分に移動させてサーチ1旨令を人力するだけで、そ
の部位に対応するNcJlt令ブロッタブロック出すこ
とが可能となる。また、カーソルを中心とした半径Rの
円Cを想定し、その円Cと交点を持つか或いは始点、終
点が共に含まれる工具4ilL跡のNC指令ブロックを
サーチするようにしているから、カーソル33が第8図
に示したように飛び飛びにしか移動できない場合であっ
ても、画面の任意の部位の工具軌跡を指示することが可
能となり、また正(j(Cにカーソルを目的とする部位
に位置合せする必要もなくなる。更に、条件に合致する
工具INt跡が幾つかある場合にはNC指令プログラム
の若い番号のNC指令ブロックから見付は出され、サー
チ続行指令を入力することにより条件に合致する他のN
C指令ブロックも表示させることが可能となる。
As described above, according to the present embodiment, by simply moving the cursor to the part desired to be scanned and manually inputting the search 1 command, it is possible to generate the NcJlt command blotter block corresponding to that part. In addition, assuming a circle C with radius R centered on the cursor, we search for the NC command block of the tool 4IL trace that has an intersection with the circle C or includes both the start and end points, so the cursor 33 Even if the tool can only move intermittently as shown in Fig. 8, it is possible to specify the tool trajectory at any part of the screen, and it is also possible to move the cursor to the desired part by There is no need to align.Furthermore, if there are several tool INt traces that match the conditions, they will be found from the NC command block with the lowest number in the NC command program, and by inputting a search continuation command, the conditions will be met. Other matching N
It is also possible to display the C command block.

以上の実施例では、カーソルを用いて探知したいNC指
令ブロックに対応する工具軌跡を指示する構成としたが
、ライトペン等によって同様の指示を与えることが可能
である。また、カーソル或いはライトペンで指示された
点を中心とした円を想定したが、想定領域の形状は円の
みに限らず、正方形や長方形等信の形状にしても良い。
In the above embodiment, a cursor is used to indicate the tool trajectory corresponding to the NC command block to be detected, but it is also possible to give similar instructions using a light pen or the like. Further, although a circle centered on a point indicated by a cursor or a light pen is assumed, the shape of the assumed area is not limited to a circle, and may be a square, rectangle, or other shape.

更に、この想定領域の範囲が狭い場合等には、1間の工
具軌跡がその中に含まれることがないことも考えられる
から、工具軌跡との交点の有〕!(【だりを1′す別し
て想定領域に工具軌跡が含まれるか否かの判別を省略す
る構成とするごとも可能である。また、サーチされたN
C指令ブロックに対応する工具軌跡の表示態様、例えば
色、輝度、線幅、線の連続性(破線、実線)を他の工具
軌跡と異なるように変更制御するように構成しても良い
。このような変更制御は、既存の技術にて実施すること
ができる。
Furthermore, if the range of this assumed area is narrow, it is possible that the tool path for 1 period may not be included in it, so there is an intersection with the tool path]! (It is also possible to omit the determination as to whether or not the tool path is included in the assumed area by excluding the difference by 1'.
The display mode of the tool trajectory corresponding to the C command block, such as color, brightness, line width, and line continuity (broken line, solid line), may be changed and controlled to be different from other tool trajectory. Such change control can be implemented using existing technology.

発明の詳細 な説明したように、本発明によれば、注目したい工具軌
跡をカーソル或いはライトベン等で指示しサーチ指令を
入力するだりで、その指示した工具軌跡に対応するNC
指令ブロックがNC指令プログラム中から探知され、そ
の内容が両面に表示されることになり、従来に比べて道
かに容易にNC指令プログラムの修正を行なうことが可
能となる。また、NC指令ブロックのサーチを所定の大
きさの閉ループ線とNC指令プログラム記憶手段から読
出したNC指令ブロックのCR7画面に表示される1、
!を軌跡との交点の有無で行なっているから、注目した
い工具軌跡をカーソル等で指示する操作が比較的容易に
行なうことができる利点もある。
As described in detail, according to the present invention, by indicating a desired tool trajectory with a cursor or light ben, etc., and inputting a search command, the NC corresponding to the specified tool trajectory can be searched.
The command block is detected in the NC command program and its contents are displayed on both sides, making it possible to modify the NC command program much more easily than in the past. In addition, the search for the NC command block is performed using a closed loop line of a predetermined size and the 1 displayed on the CR7 screen of the NC command block read from the NC command program storage means.
! Since this is performed based on the presence or absence of intersections with the trajectory, there is also the advantage that it is relatively easy to specify the tool trajectory of interest using a cursor or the like.

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

第1図は本発明の構成説明図、第2図は本発明のハード
ウェア構成の一例を示す概略ブロック図、第3図及び第
4図は表示画面の説明用線図、第5図はブロックサーチ
処理を実行する際のオペレータの手順の一例を示すフロ
ーチャート、第6図はゾロツクサーチ1戊能を実現する
ソフトウェア構成の一例を示すフローチャート、第7図
は描画座標の説明図、第8図はサーチ方法を説明する為
の線図である。 1はマイクロコンピュータ、2はそのハス、3はNC指
令プログラム用メモリ、7はCRT、33はカーソルで
ある。 特許出願人ファナンク株式会社 代理人弁理士玉蟲久五部外1名 第1図 第2図 第 3 日 第 4 図 第 5 図 第7図 第8図
Fig. 1 is an explanatory diagram of the configuration of the present invention, Fig. 2 is a schematic block diagram showing an example of the hardware configuration of the present invention, Figs. 3 and 4 are diagrams for explaining the display screen, and Fig. 5 is a block diagram. A flowchart showing an example of an operator's procedure when executing a search process, Fig. 6 is a flowchart showing an example of a software configuration that realizes Zorotsuku Search 1 function, Fig. 7 is an explanatory diagram of drawing coordinates, and Fig. 8 is a search It is a line diagram for explaining a method. 1 is a microcomputer, 2 is its lotus, 3 is an NC command program memory, 7 is a CRT, and 33 is a cursor. Patent applicant Fananku Co., Ltd. Representative patent attorney Gogo Tamamushi 1 person outside the department Figure 1 Figure 2 Figure 3 Day 4 Figure 5 Figure 7 Figure 8

Claims (1)

【特許請求の範囲】[Claims] CR1”画面上の位置をth定する為の画面位置指定手
段と、該手段で指定されたC Ri’画面上の位置の所
定座標系におLJる座標位置をめる座標位置算出手段と
、該座標位置を含む所定の大きさの閉ループ線とNCj
l令プロゲラJ1記憶手段から読出したNC指令ブロッ
クの前記CRi’画面に表示される工具軌跡との交点の
有無を判別する交点判別手段と、交点のあったNC指令
ブlコックの内容を文字として前記CR’I’画面に表
示するサーチブロック表示手段とを具備したことを特徴
とするグラフィック画面を用いたブロックサーチ装置。
a screen position specifying means for determining the position on the CR1'' screen, and a coordinate position calculating means for setting the LJ coordinate position in a predetermined coordinate system of the position on the CR1 screen specified by the means; A closed loop line of a predetermined size including the coordinate position and NCj
Intersection determining means for determining the presence or absence of an intersection of the NC command block read from the I-order Progera J1 storage means with the tool trajectory displayed on the CRi' screen, and the content of the NC command block at which the intersection occurred as text. A block search device using a graphic screen, characterized in that it comprises search block display means for displaying on the CR'I' screen.
JP58164384A 1983-09-07 1983-09-07 Block searching device using graphic screen Granted JPS6057405A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP58164384A JPS6057405A (en) 1983-09-07 1983-09-07 Block searching device using graphic screen

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP58164384A JPS6057405A (en) 1983-09-07 1983-09-07 Block searching device using graphic screen

Publications (2)

Publication Number Publication Date
JPS6057405A true JPS6057405A (en) 1985-04-03
JPH0458044B2 JPH0458044B2 (en) 1992-09-16

Family

ID=15792100

Family Applications (1)

Application Number Title Priority Date Filing Date
JP58164384A Granted JPS6057405A (en) 1983-09-07 1983-09-07 Block searching device using graphic screen

Country Status (1)

Country Link
JP (1) JPS6057405A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62117008A (en) * 1985-11-18 1987-05-28 Matsushita Electric Ind Co Ltd Numerical controller
US4994977A (en) * 1988-02-12 1991-02-19 Mitsubishi Denki Kabushiki Kaisha Method of detecting an interference in the control of a plurality of mechanical systems

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62117008A (en) * 1985-11-18 1987-05-28 Matsushita Electric Ind Co Ltd Numerical controller
US4994977A (en) * 1988-02-12 1991-02-19 Mitsubishi Denki Kabushiki Kaisha Method of detecting an interference in the control of a plurality of mechanical systems

Also Published As

Publication number Publication date
JPH0458044B2 (en) 1992-09-16

Similar Documents

Publication Publication Date Title
KR930008269B1 (en) Display method of multi-window
US5070534A (en) Simplified cad parametric macroinstruction capability including variational geometrics feature
US5835916A (en) Document preparing apparatus capable of relocating cells forming a table and resetting cell size
JPH03136750A (en) Method of producing manufacturing manhour programs and its system
US5384909A (en) Precision automatic scrolling for an image display system
US5159664A (en) Graphic display apparatus
JPS6057405A (en) Block searching device using graphic screen
JP2600533B2 (en) Touch input device
JPH08255221A (en) Character graphic input editing device
JPH045991B2 (en)
JPH08202856A (en) Picture processing method
JPS61267179A (en) Cursor window displaying system
JP3477769B2 (en) Figure editing device
JPS60204077A (en) Graphic selection control system
JP3209561B2 (en) CAD system
JPS61249109A (en) Interactive program generating system for numerical control device
EP0191382A2 (en) Display controller
JPH07200859A (en) Graphic moving device
JPS59142682A (en) Command input system
JPH01233510A (en) Command deciding method
JPH03202969A (en) Graphic processor
JPS62288924A (en) System for selecting function by pointer device
JPH07175941A (en) Graphicpreparation device
JPH08329044A (en) Simulation system
JPH05303478A (en) Character expanding/contracting system