JPH06138933A - Program check screen display device - Google Patents

Program check screen display device

Info

Publication number
JPH06138933A
JPH06138933A JP31122592A JP31122592A JPH06138933A JP H06138933 A JPH06138933 A JP H06138933A JP 31122592 A JP31122592 A JP 31122592A JP 31122592 A JP31122592 A JP 31122592A JP H06138933 A JPH06138933 A JP H06138933A
Authority
JP
Japan
Prior art keywords
screen
displaying
display device
program check
display
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
JP31122592A
Other languages
Japanese (ja)
Inventor
Shinichiro Yao
真一郎 八尾
Masayoshi Uneme
政義 采女
Hideyuki Morioka
秀行 森岡
Koji Matsuoka
興治 松岡
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.)
DMG Mori Co Ltd
Original Assignee
Mori Seiki 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 Mori Seiki Co Ltd filed Critical Mori Seiki Co Ltd
Priority to JP31122592A priority Critical patent/JPH06138933A/en
Publication of JPH06138933A publication Critical patent/JPH06138933A/en
Pending legal-status Critical Current

Links

Landscapes

  • Numerical Control (AREA)

Abstract

PURPOSE:To provide a program check screen display device which can draw the animations and also can show the moving destination of a tool in a symbol. CONSTITUTION:A memory 100 is provided to store an NC sentence together with an NC part processor 101 which extracts the absolute value coordinates and the remaining shift value out of the drawing coordinates described in the NC sentence and then calculates the moving destination end point position of the cutting edge of a tool based on those absolute value coordinates and remaining shift value, and an animation drawing part 102 which shows simultaneously its drawn animation and the moving destination end point symbol on a program check screen of a CRT 103.

Description

【発明の詳細な説明】Detailed Description of the Invention

【産業上の利用分野】本発明は、少なくともNC文、絶
対座標、残移動量を表示するプログラムチェック画面を
表示するプログラムチェック画面表示装置、また、本発
明は、オフセット番号とオフセット値を表示する表示装
置、また、本発明は、バックグラウンド表示装置、ま
た、本発明は、アニメ描画の自動倍率決定方法に関する
ものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a program check screen display device for displaying a program check screen for displaying at least an NC sentence, absolute coordinates and remaining movement amount. Further, the present invention displays an offset number and an offset value. BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a background display device, and the present invention relates to a method for automatically determining the magnification of animation drawing.

【従来の技術】従来、プログラムチェック画面を用いて
ユーザーが入力データ等のチェックを行う場合、画面に
表示される情報としては、図11に示すように、絶対座
標、残移動量、指令F,S,T等の指令コードがあっ
た。一方、別画面によって加工シュミレーションの様子
をアニメ描画によって確認することは可能であったが、
このアニメ描画における図形表示では、実行プログラム
を始めとする情報の表示が乏しく、したがってユーザー
は必要に応じて画面を切り換え、必要な情報を得てい
た。そしてこれらのデータに基づいて、ユーザーは加工
チェックや干渉チェックを行っていた。又、従来、NC
工作機械の専用のプログラムチェック画面において、加
工を行おうとしている、あるいは加工運転中の加工プロ
グラム・機械位置等を総合的に表示していた。また、F
S−16シリーズのように、ポジション画面で[PRO
G]を押すと、ポジション画面にプログラム表示を合成
するものもあった。このとき、例えばプログラムチェッ
ク画面の上記の表示(フォアグラウンドという)の代わ
りに、他の加工プログラムの作成等を行う場合、バック
グラウンドによる方法が用いられる。また、従来、ワー
クの加工状況などをアニメ描画出来る表示装置を有する
CNC旋盤において、ワークの素材長さ・素材外形(+
爪)に対して何倍の表示を行うかを、図12に示すよう
に、Nで定義し、長さ方向・外径方向の倍率の小さい方
を描画倍率とする方法がある。又、加工プログラムを解
析し、描画領域を計算し、描画倍率を決定する方法もあ
る。
2. Description of the Related Art Conventionally, when a user checks input data or the like using a program check screen, the information displayed on the screen is, as shown in FIG. There were command codes such as S and T. On the other hand, it was possible to check the state of the processing simulation by animation drawing on another screen,
In the figure display in this animation drawing, the information such as the execution program is scarcely displayed, and therefore the user switches the screen as necessary to obtain the necessary information. Then, based on these data, the user performed a processing check and an interference check. Conventionally, NC
On the dedicated program check screen of the machine tool, the machining program, machine position, etc., which is about to be machined or is being machined, are displayed comprehensively. Also, F
Like the S-16 series, on the position screen, click [PRO
In some cases, the program display was synthesized on the position screen when G] was pressed. At this time, for example, instead of the above-mentioned display of the program check screen (referred to as foreground), when a different machining program is created, a background method is used. In addition, conventionally, in a CNC lathe that has a display device that can draw the processing status of the work in animation, the material length and material outer shape of the work (+
As shown in FIG. 12, there is a method of defining how many times to display with respect to a nail) with N, and setting the drawing magnification to be the one with the smaller magnification in the length direction and the outer diameter direction. There is also a method of analyzing the processing program, calculating the drawing area, and determining the drawing magnification.

【発明が解決しようとする課題】しかしながら、上記し
た従来のプログラムチェック方法では、アニメ描画画面
において工具刃先が次にどこまで移動するのか前もって
知るには、別画面に表示されたNC文、絶対座標、残移
動量から判断するしかなく、経験の乏しい初心者ユーザ
ーにとってはその判断は極めて困難なことであった。ま
た、初心者に限らず、NC文に精通したユーザーにとっ
ても、NC文に記載されたデータを認識し、工具刃先の
移動先を判断しなければならないというのは、煩雑な作
業であった。また、上記した従来のバックグラウンドに
よる対話のプログラミング中には、フォアグラウンドの
機械運転状態等がその画面では確認できないという課題
がある。また、上記した従来の、長さ方向・外径方向の
倍率の小さい方を描画倍率とする方法の場合、Nを大き
くするとツールパスの表示されない主軸中心より下の領
域に無駄が発生し、表示領域を有効に使用できない。
又、加工プログラムを解析し、描画領域を計算し、描画
倍率を決定する方の場合、解析に時間がかかるという課
題がある。本発明は、以上のような従来のアニメ形式プ
ログラムチェック画面表示装置に係る課題を考慮し、ア
ニメ描画を行うとともに、工具の移動先を記号表示する
ことのできるアニメ形式プログラムチェック画面表示装
置を提供することを目的とする。また、本発明は、従来
のバックグラウンド表示装置のこのような課題を考慮
し、バックグラウンドによるプログラム作成中でもフォ
アグラウンドの機械運転中の状況が確認できるバックグ
ラウンド表示装置を提供することを目的とするものであ
る。また、本発明は、従来の自動倍率決定方法のこのよ
うな課題を考慮し、表示領域を有効に利用でき、倍率の
決定に時間がかからないアニメ描画の自動倍率決定方法
を提供することを目的とするものである。
However, in the above-mentioned conventional program check method, in order to know in advance how far the tool edge will move on the animation drawing screen, the NC sentence, the absolute coordinates, and the like displayed on another screen will be displayed. It is extremely difficult for a novice user, who has little experience, to make a judgment based on the amount of remaining movement. Further, not only for beginners but also for users who are familiar with NC sentences, it is a complicated task to recognize the data described in the NC sentences and determine the movement destination of the tool cutting edge. Further, there is a problem that the machine operation state in the foreground cannot be confirmed on the screen during the programming of the conventional background dialogue described above. Further, in the case of the above-described conventional method in which the drawing magnification is the one with the smaller magnification in the length direction and the outer diameter direction, if N is increased, waste occurs in the area below the center of the spindle where the tool path is not displayed. The area cannot be used effectively.
Further, in the case of analyzing the machining program, calculating the drawing area, and determining the drawing magnification, there is a problem that the analysis takes time. The present invention provides an animation type program check screen display device capable of performing animation drawing and symbolizing the moving destination of a tool in consideration of the above-mentioned problems associated with the conventional animation type program check screen display device. The purpose is to do. Another object of the present invention is to provide a background display device capable of confirming the situation during machine operation in the foreground even while a program is being created in the background in consideration of such problems of the conventional background display device. Is. Another object of the present invention is to provide an automatic magnification determination method for animation drawing in which such a problem of the conventional automatic magnification determination method is taken into consideration, the display area can be effectively used, and the determination of the magnification does not take time. To do.

【課題を解決するための手段】請求項1の本発明は、少
なくともNC文、絶対座標、残移動量を表示するプログ
ラムチェック画面を表示するプログラムチェック画面表
示装置において、前記NC文と絶対座標と残移動量から
工具の、実行中ブロックの移動先終点位置を計算する演
算手段と、その移動先終点位置を前記プログラムチェッ
ク画面に記号表示する表示手段とを備えたプログラムチ
ェック画面表示装置である。請求項2の本発明は、各工
具の多数のオフセット値、そのオフセット番号を表示す
る表示装置において、前記オフセット番号を選択する選
択手段と、選択されたオフセット番号に選択記号を付与
する選択記号付与手段と、選択確定後、その選択された
オフセット番号とオフセット値のみを表示する表示手段
とを備えた表示装置である。請求項3の本発明は、バッ
クグラウンドを表示する画面を有するバックグラウンド
表示装置において、フォアグラウンドの情報の一部をバ
ックグラウンド表示画面の一部に同時に表示できるバッ
クグラウンド表示装置である。請求項4の本発明は、ワ
ークと爪の組合せ体を、その長さ方向を横方向(又は縦
方向)に、又その径方向を縦方向(又は横方向)に描画
する画面において、組合せ体を拡大して表示する際の自
動倍率決定方法において、組合せ体の軸を中心とする半
分部分の拡大を、残る半分部分の拡大と異ならせるアニ
メ描画の自動倍率決定方法である。請求項5の本発明
は、X方向及びZ方向に対するフルストロークで示され
る所定範囲を、そのZ方向を横方向(又は縦方向)に、
又そのX方向を縦方向(又は横方向)に描画する画面に
おいて、所定範囲を拡大して表示する際の自動倍率決定
方法において、所定範囲のX方向における半分部分の拡
大を、残る半分部分の拡大と異ならせるアニメ描画の自
動倍率決定方法である。
According to a first aspect of the present invention, there is provided a program check screen display device for displaying a program check screen for displaying at least an NC sentence, an absolute coordinate, and a remaining movement amount. A program check screen display device is provided with a calculating means for calculating a movement destination end point position of a block under execution of a tool from a remaining movement amount and a display means for displaying the movement destination end point position in a symbol on the program check screen. According to the present invention of claim 2, in a display device for displaying a large number of offset values of each tool and their offset numbers, selection means for selecting the offset number and addition of a selection symbol for giving a selection symbol to the selected offset number. And a display unit for displaying only the selected offset number and offset value after the selection is confirmed. The present invention according to claim 3 is a background display device having a screen for displaying a background, wherein a part of the foreground information can be simultaneously displayed on a part of the background display screen. According to a fourth aspect of the present invention, a combination of a work and a claw is drawn on a screen in which the length direction is drawn in the horizontal direction (or the vertical direction) and the radial direction is drawn in the vertical direction (or the horizontal direction). In the automatic magnification determination method for enlarging and displaying, the half enlargement centered on the axis of the combination is different from the remaining half enlargement. According to the present invention of claim 5, a predetermined range indicated by a full stroke in the X direction and the Z direction is defined as a horizontal direction (or a vertical direction) in the Z direction.
Further, in the automatic magnification determination method when enlarging and displaying the predetermined range on the screen in which the X direction is drawn in the vertical direction (or the horizontal direction), the half of the predetermined range in the X direction is enlarged and the remaining half is enlarged. This is a method of automatically determining the magnification of animation drawing that is different from enlargement.

【作用】請求項1の本発明によれば、NC文に記載され
た描画座標から絶対値座標,残移動量が抽出され、それ
ら絶対値座標および残移動量に基づいて工具刃先の移動
先終点座標が計算され、プログラムチェック画面上のそ
の移動終点先座標を記号で表示する。それにより、プロ
グラムチェック画面上にアニメ描画と移動先終点記号を
同時に表示することができ、NC文の解読に不慣れなユ
ーザーでも加工、干渉チェックを簡単に行うことができ
る。請求項2の本発明によれば、オフセット番号を選択
する選択手段と、選択されたオフセット番号に選択記号
を付与する選択記号付与手段と、選択確定後、その選択
されたオフセット番号とオフセット値のみを表示する表
示手段とを備えた表請求項3の本発明によれば、フォア
グラウンドの情報の一部を、バックグラウンド表示画面
の一部に同時に表示する。請求項4の本発明によれば、
ワークと爪の組合せ体の軸を中心とする半分部分の拡大
を、残る半分部分の拡大と異ならせて、その長さ方向を
横方向(又は縦方向)に、又その径方向を縦方向(又は
横方向)に描画する。請求項5の本発明によれば、X方
向及びZ方向に対するフルストロークで示される所定範
囲のX方向における半分部分の拡大を、残る半分部分の
拡大と異ならせて、そのZ方向を横方向(又は縦方向)
に、又そのX方向を縦方向(又は横方向)に描画する。
According to the present invention of claim 1, the absolute value coordinates and the remaining movement amount are extracted from the drawing coordinates described in the NC sentence, and the movement destination end point of the tool cutting edge is based on the absolute value coordinates and the remaining movement amount. Coordinates are calculated, and the coordinates of the movement end point on the program check screen are displayed as symbols. As a result, the animation drawing and the destination endpoint symbol can be displayed at the same time on the program check screen, and even a user unfamiliar with the NC sentence decoding can easily perform the processing and interference check. According to the present invention of claim 2, selecting means for selecting an offset number, selecting symbol giving means for giving a selecting symbol to the selected offset number, and after the selection is confirmed, only the selected offset number and offset value According to the present invention of claim 3, further comprising a display means for displaying, a part of the foreground information is simultaneously displayed on a part of the background display screen. According to the invention of claim 4,
The enlargement of the half part centering on the axis of the combination of the work and the claw is made different from the enlargement of the remaining half part so that the length direction is the horizontal direction (or the vertical direction) and the radial direction is the vertical direction ( Or draw horizontally. According to the present invention of claim 5, the enlargement of the half portion in the X direction of the predetermined range indicated by the full stroke in the X direction and the Z direction is made different from the enlargement of the remaining half portion, and the Z direction is changed in the lateral direction ( (Or vertical direction)
And the X direction is drawn in the vertical direction (or the horizontal direction).

【実施例】以下に、本発明の実施例を図面に基づいて説
明する。図1は、請求項1の本発明のプログラムチェッ
ク画面表示装置の基本構成を示すブロック図である。同
図において、メモリ100は入力装置から入力されたN
C文を記憶しており、このメモリ100に記憶されたN
C文はNC部のプロセッサ101によって読み出されて
解析され、工具軌跡を始めとする描画用データが生成さ
れ、その生成された描画データは、アニメ描画部102
によって表示用のデータに変換され、表示装置としての
CRT103に表示されるようになっている。NC部プ
ロセッサ101は、NC文と絶対座標と残移動量から、
工具の実行中ブロックの移動先終点位置を計算し、その
移動先終点位置を前記プログラムチェック画面に記号表
示するよう構成されており、それにより、プログラムチ
ェック画面には、加工プログラム、座標値、残移動量、
指令F,S,Tコード等が表示されるとともに、工具移
動に同期したアニメ描画が表示され、さらに、絶対座標
と残移動量に基づいて、移動先終点が*マークで表示さ
れる。以下本実施例の動作を、工具刃先移動前を示す図
2および工具刃先移動後を示す図3のプログラムチェッ
ク画面を参照して説明する。まず、図2において、NC
文中のカーソル位置“GO U−2,Z3;”の行にお
ける絶対座標“X 50.000”および残移動量“X
−2.000”の値から*マークの座標位置を計算す
る。*マークの座標計算は、以下の式によって求める。 *マークのX座標=絶対座標X+残移動量X =50.000+(−2.000) =48.000 *マークのZ座標=絶対座標Z+残移動量Z =−8.511+11.511 =3.000 上記の方法で*マークの座標を求め、アニメ描画用のビ
ットマップメモリに書き込む。それにより、プログラム
チェック画面上の矢印Aの位置に、*マークが表示され
ることになる。図3は上記と同じ計算を行うことによ
り、画面上の矢印Bの位置に*マークが表示される。以
上に説明した動作は、図4のフローチャートにおける、
ステップS1及びS2の計算に相当する。その後、ステ
ップS3、S4において、工具の変化が判断され、ステ
ップS5において、上記計算された移動先データが、従
来の描画データに追加される、描画が実行される(ステ
ップS5)。なお、本実施例では移動先終点の表示に*
記号を用いたが、これに限らず、加工、干渉チェック時
にプログラムチェック画面に通常現れないような記号で
あれば、文字を含み、どのような記号を用いることもで
きる。なお、本実施例に用いられる加工プログラムは対
話形式で作成されたものに限らず、マニュアル入力で作
成したNCデータであっても良い。また、図5は請求項
2の本発明の一実施例に係るオフセット値の選択表示画
面であり、図中Oはオフセット番号、PおよびQはその
オフセット番号に対応して記憶されているオフセット値
である。また、画面下部に表示されているRは、ソフト
キーによって選択できるメニューである。メニュー“選
択/取消”に対応するソフトキーを押すことにより、ま
ず、オフセット番号の選択と取消を行う。オフセット番
号を選択すると、その選択したオフセット番号の左に*
記号(矢印S参照)が付与される。次いでメニュー“選
択表示”に対応するソフトキーを押すことにより、選択
されているオフセット番号,オフセット値のみが選択表
示される。すなわち、画面上に残される。その選択表示
された状態を図6に示す。なお、図中の符号Tはカーソ
ル位置を示している。このように、ユーザーは、書換え
を行うオフセット値に付されているオフセット番号を予
め選択することにより、書換えに不要な情報を画面上か
ら削除することができるため、オフセット値を画面上で
選択する際に、カーソルT移動操作を少なくすることが
でき、オフセット値の書換えが簡便になる。しかも、表
示される情報が少なくなることによってオフセット番号
に対応するオフセット値を見誤るということも解消でき
る。なお、メニュー“選択表示”に対応するソフトキー
を再度押すと、図5の表示内容に戻ることができる。し
かしこの表示状態に戻っても、上記選択したオフセット
番号の内容は、キャンセルされることはない。次に、請
求項3の本発明をその実施例を示す図面に基づいて説明
する。図7は、請求項3の本発明にかかる一実施例のバ
ックグラウンド表示装置を備えた制御装置の構成図であ
る。すなわち、制御装置は、機械205の操作などを行
うユニット操作盤201と、機械205に加工プログラ
ムの指令などを送る演算部203と、バックグラウンド
表示装置等により構成され、そのバックグラウンド表示
装置は、表示画面、キー入力部等を有する外部入出力機
器204と、加工プログラム、座標値などを記憶するメ
モリ領域202により構成され、メモリ領域202は、
機械運転中の状況などを表示するための情報を記憶する
フォアグラウンド領域202aと、機械運転中などに他
のプログラムを作成するため等の情報を記憶するバック
グラウンド領域202bにより構成されている。次に、
フォアグラウンドとバックグラウンドについて説明す
る。上述したように、制御装置には、プログラムを登録
するためのメモリ領域202がある。このメモリ領域2
02は2つに分けられていて、直接機械205を動かす
ことのできるフォアグラウンド領域202aと機械20
5を動かすことのできないバックグラウンド領域202
bがあり、以下のような特徴がある。 1)機械加工をするためのプログラムは、フォアグラウ
ンド領域202aへ登録する。この登録された自動運転
中のプログラムは編集できない。 2)自動運転中、プログラムを編集したい場合、一度、
バックグラウンド領域202bへプログラムを入力して
から編集する。 3)バックグラウンド領域202bで入力あるいは編集
したプログラムは、フォアグラウンド領域202aへ戻
さなければ実際の加工はできない。すなわち、フォアグ
ラウンドは、例えば、”EDT”(編集)モードでのプ
ルグラム編集、”MEM”(メモリー)・”MDI”
・”TAPE”モード等での機械運転状態を表示する。
バックグラウンドは、例えば、”MEM”・”MDI”
・”TAPE”モード等での機械運転状態で運転中以外
のプログラムを編集することをバックグラウンド編集と
いう。 次に、上記実施例の運転状態の常時表示の表示画面の一
例を図8に示す。表示画面の、 (A)上部5行に (1)サーボ軸負荷表示 (2)絶対座標位置・残移動量表示 (3)指令送り速度・実主軸回転数・選択工具番号 を表示し、 (B)6行目に実行O番号・N番号 すなわち、(B)部は、フォアグラウンドで実行中のO
番号(プログラム番号)及びN番号(シーケンス番号)
を表示する。 (C)画面下3行目にNC状態 すなわち、(C)部は、 ”HANDLE”:現在選択されているNCのモード表
示 ”EDIT”・”MEM”・”MDI”・”TAPE”
・”STEP”・”HANDLE”・”JOG”・”R
PD”のうち、いずれか1つが表示される。”MSTF
R” :運転ステータス表示 ” ”・”DWELL”又は、”M”・”S”・”
T”・”F”・”R”・”B”の内、現在実行中の指令
コードを連結して表示する。 ”BUF” :運転状態表示 ” ”・”STP”・”RST”・”BUF”のう
ちいずれかが表示される。 ”ALM” :アラームおよび警告状態表示 ” ”・”ALM”・”BAT”・”A/B”・”
BGA”・”B/B”・”WAR”のいずれかが表示さ
れる。 ”LSK” :ラベルスキップおよび入出力状態表
示 ” ”・”LSK”・”OUT”・”VER”・”
IN”のいずれかが表示される。 ”16:09:19” :現在時刻表示 を表示する。以上のように(A)、(B)、(C)部を
表示することにより、フォアグラウンドの機械稼働状況
が確認できる。一方、表示画面の残り中央部の表示がバ
ックグラウンドの表示画面を示し、この画面により他の
加工プログラムの入力、編集などを、現在運転中の加工
状況を確認しながら行うことが可能である。すなわち、
どの画面で操作および表示を行っていても、フォアグラ
ウンドの機械稼働状況を確認でき、マン・マシン・イン
ターフェイスが向上する。図9は、請求項4の本発明に
かかる一実施例のアニメ描画の自動倍率の決定方法を説
明する図である。図9に示すように、素材形状(ワー
ク)が定義されている場合、N・Mの2ヶの設定を用
い、下記の方法で描画倍率を決定する。
Embodiments of the present invention will be described below with reference to the drawings. FIG. 1 is a block diagram showing the basic configuration of a program check screen display device according to the present invention of claim 1. In the figure, the memory 100 is the N input from the input device.
The C sentence is stored and the N stored in this memory 100 is stored.
The C sentence is read and analyzed by the processor 101 of the NC unit, and drawing data including a tool path is generated. The generated drawing data is used as the animation drawing unit 102.
Is converted into display data and displayed on the CRT 103 as a display device. From the NC sentence, the absolute coordinates, and the remaining movement amount, the NC processor 101
It is configured to calculate the moving end point position of the block being executed by the tool and display the moving end point position symbolically on the program check screen, whereby the program check screen displays the machining program, the coordinate value, and the remaining value. Amount of movement,
The commands F, S, T codes and the like are displayed, animation drawing synchronized with the tool movement is displayed, and the destination end point is displayed with an * mark based on the absolute coordinates and the remaining movement amount. The operation of the present embodiment will be described below with reference to the program check screen of FIG. 2 showing the state before moving the tool edge and FIG. 3 showing the state after moving the tool edge. First, in FIG.
Absolute coordinates "X 50.000" and remaining movement amount "X" in the line of the cursor position "GO U-2, Z3;" in the sentence
The coordinate position of the * mark is calculated from the value of -2,000 ". The coordinate calculation of the * mark is obtained by the following formula: * The X coordinate of the mark = the absolute coordinate X + the remaining movement amount X = 50.000 + (-2 .000) = 48.000 * Z coordinate of mark = absolute coordinate Z + remaining movement amount Z = -8.511 + 11.511 = 3.000 The coordinates of * mark are obtained by the above method and stored in the bitmap memory for animation drawing. As a result, the * mark will be displayed at the position of arrow A on the program check screen.In Fig. 3, the * mark will be displayed at the position of arrow B on the screen by performing the same calculation as above. The operation described above is performed in the flowchart of FIG.
This corresponds to the calculation in steps S1 and S2. Then, in steps S3 and S4, a change in the tool is determined, and in step S5, the calculated destination data is added to the conventional drawing data, and drawing is executed (step S5). In this embodiment, the destination end point is displayed as *
Although the symbols are used, the present invention is not limited to this, and any symbols including characters can be used as long as they do not normally appear on the program check screen at the time of processing and interference check. The machining program used in this embodiment is not limited to the interactive program, and may be NC data created by manual input. FIG. 5 shows an offset value selection display screen according to an embodiment of the present invention as claimed in claim 2, where O is an offset number, and P and Q are offset values stored corresponding to the offset number. Is. Further, R displayed at the bottom of the screen is a menu that can be selected by a soft key. By pressing the soft key corresponding to the menu "select / cancel", first, the offset number is selected and canceled. When you select an offset number, * appears to the left of the selected offset number.
A symbol (see arrow S) is added. Then, by pressing the soft key corresponding to the menu "selection display", only the selected offset number and offset value are selectively displayed. That is, it is left on the screen. The selected and displayed state is shown in FIG. The symbol T in the drawing indicates the cursor position. In this way, the user can delete the unnecessary information from the screen by reselecting the offset number assigned to the offset value to be rewritten, so the offset value is selected on the screen. At this time, the cursor T moving operation can be reduced, and the offset value can be easily rewritten. In addition, it is possible to solve the problem that the offset value corresponding to the offset number is mistaken due to the reduced amount of displayed information. By pressing the soft key corresponding to the menu "selection display" again, it is possible to return to the display contents of FIG. However, even if the display state is returned to, the contents of the selected offset number are not canceled. Next, the present invention according to claim 3 will be described with reference to the drawings showing an embodiment thereof. FIG. 7 is a block diagram of a control device provided with a background display device of an embodiment according to the present invention of claim 3. That is, the control device includes a unit operation panel 201 that operates the machine 205 and the like, a calculation unit 203 that sends a command of a machining program to the machine 205, a background display device, and the like, and the background display device is An external input / output device 204 having a display screen, a key input unit, etc., and a memory area 202 for storing a machining program, coordinate values, etc.
The foreground area 202a stores information for displaying the status during machine operation, and the background area 202b stores information for creating other programs during machine operation. next,
Explain the foreground and background. As described above, the control device has the memory area 202 for registering the program. This memory area 2
02 is divided into two parts, the foreground area 202a where the machine 205 can be directly moved and the machine 20.
A background area 202 in which 5 cannot be moved
b, and has the following features. 1) A program for machining is registered in the foreground area 202a. This registered program during automatic operation cannot be edited. 2) If you want to edit the program during automatic operation,
The program is input to the background area 202b and then edited. 3) The program input or edited in the background area 202b cannot be actually processed unless it is returned to the foreground area 202a. That is, the foreground is, for example, the program edit in the "EDT" (edit) mode, "MEM" (memory) / "MDI".
・ Display the machine operation status in "TAPE" mode.
The background is, for example, "MEM" / "MDI"
-Editing a program other than the one in operation in the machine operation status such as "TAPE" mode is called background editing. Next, FIG. 8 shows an example of a display screen for constantly displaying the operating state of the above embodiment. (1) Servo axis load display (2) Absolute coordinate position / remaining movement amount display (3) Command feed rate / actual spindle rotation speed / selected tool number are displayed on the upper 5 lines of the display screen, and (B) ) Execution O number / N number on the 6th line. That is, part (B) is O
Number (program number) and N number (sequence number)
Is displayed. (C) NC state on the bottom 3rd line of the screen, that is, (C) part is: "HANDLE": Mode display of the currently selected NC "EDIT" / "MEM" / "MDI" / "TAPE"
-"STEP"-"HANDLE"-"JOG"-"R
One of "PD" is displayed. "MSTF
R ": Operation status display""・" DWELL "or" M "・" S "・"
The command code currently being executed among the T "," F "," R ", and" B "is linked and displayed." BUF ": Operating status display""," STP "," RST "," BUF ""ALM": Alarm and warning status display ""-"ALM"-"BAT"-"A / B"-"
Either BGA "/" B / B "/" WAR "is displayed." LSK ": Label skip and input / output status display""/" LSK "/" OUT "/" VER "/"
"IN" is displayed. "16:09:19": The current time display is displayed. By displaying parts (A), (B), and (C) as described above, the machine in the foreground is displayed. On the other hand, the operation status can be confirmed.On the other hand, the display in the center of the remaining display screen shows the background display screen, which allows you to input and edit other machining programs while checking the machining status currently in operation. It is possible to:
No matter which screen you operate and display, you can check the machine operating status in the foreground and improve the man-machine interface. FIG. 9 is a diagram for explaining a method of determining the automatic scaling factor for animation drawing according to an embodiment of the present invention of claim 4. As shown in FIG. 9, when the material shape (work) is defined, the drawing magnification is determined by the following method using two settings of N and M.

【数1】Xbairitu=Ydot/(Hankei
×(N+M))
## EQU00001 ## Xbairitu = Ydot / (Hankei
X (N + M))

【数2】Zbairitu=Xdot/(Nagasa
×(N)) Hankei:爪とワークを組み合わせた最大半径 Nagasa:爪とワークを組み合わせた長さ Xdot :ビューポートX座標(横方向)のdot
数 Ydot :ビューポートY座標(縦方向)のdot
数 N :主軸中心より上および機械Z軸方向(ビ
ューポート上ではX座標方向)の倍率設定 M :主軸中心より下の倍率設定 すなわち、N、Mは次のような意味である。 N、Mの意味 <径方向> N:爪とワークを組み合わせた最大半径を”1”とした
場合、”1”のN倍だけ主軸中心より上を表示するとい
う設定。 M:爪とワークを組み合わせた最大半径を”1”とした
場合、”1”のM倍だけ主軸中心より下を表示するとい
う設定。 <長さ方向> N:爪とワークを組み合わせた最大長さを”1”とした
場合、”1”のN倍だけ長さ方向を表示するという設
定。 Xbairitu:機械X軸方向倍率 Zbairitu:機械Z軸方向倍率 上記2式で得たXbairitu・Zbairituの
内、小さい方を描画倍率として採用する。 図10は、請求項5の本発明にかかる一実施例のアニメ
描画の自動倍率の決定方法を説明する図である。図10
に示すように、素材形状が定義されていない場合、NC
パラメータのストローク設定を読み取り、X・Z軸方向
のフルストロークが表示できる描画倍率を決定する。
(数1)のHankei及び(数2)のNagasa
を、 Hankei=((+Xストローク)−(−Xストロー
ク))/2 Nagasa= (+Zストローク)−(−Zストロー
ク) とし、前述の数1及び数2と同様の計算を行う。この場
合、加工原点は、仮想的にフルストロークの中心とみな
す。また、素材形状の定義がないためワークの削りおと
しは行わず、ツールパスのみの描画モードに自動的に変
更する。る素材の寸法により描画倍率を変更する必要が
なく、かつ、表示領域を有効に使用できる。(主軸中心
より下の部分の描画されない領域を最小限にできる。)
また、設定”M”を”O”にすることにより、アルゴリ
ズムの追加なしに主軸中心より上部のみの描画が可能で
ある。
## EQU00002 ## Zbairitu = Xdot / (Nagasa
× (N)) Hankei: Maximum radius combining nail and work Nagasa: Length combining nail and work Xdot: Dot of viewport X coordinate (horizontal direction)
Number Ydot: dot of viewport Y coordinate (vertical direction)
Number N: Setting the magnification above the center of the spindle and in the machine Z-axis direction (X coordinate direction on the viewport) M: Setting the magnification below the center of the spindle That is, N and M have the following meanings. Meaning of N and M <Radial direction> N: When the maximum radius of the combination of the claw and the work is set to "1", the setting is to display N times "1" above the center of the spindle. M: When the maximum radius of the combination of the claw and the work is set to "1", the setting is to display below the center of the spindle by M times "1". <Length direction> N: When the maximum length of the combination of the claw and the workpiece is "1", the length direction is displayed by N times "1". Xbairitu: Mechanical X-axis direction magnification Zbairitu: Mechanical Z-axis direction magnification The smaller one of Xbairitu and Zbairitu obtained by the above equation 2 is adopted as the drawing magnification. FIG. 10 is a diagram for explaining a method of determining the automatic scaling factor for animation drawing according to an embodiment of the present invention of claim 5. Figure 10
If the material shape is not defined as shown in, NC
The stroke setting of the parameter is read and the drawing magnification that can display the full stroke in the X and Z directions is determined.
Hankei of (Equation 1) and Nagasa of (Equation 2)
With Hankei = ((+ X stroke)-(-X stroke)) / 2 Nagasa = (+ Z stroke)-(-Z stroke) In this case, the processing origin is virtually regarded as the center of the full stroke. Also, since there is no definition of the material shape, the work is not trimmed, and the drawing mode is automatically changed to the tool path only. It is not necessary to change the drawing magnification according to the dimensions of the material used, and the display area can be used effectively. (The area below the center of the main axis that is not drawn can be minimized.)
Also, by setting the setting "M" to "O", it is possible to draw only above the center of the main axis without adding an algorithm.

【発明の効果】以上説明したことから明かなように、請
求項1の本発明は、プログラムチェック画面にアニメ描
画と工具の移動先終点を記号表示する構成を備えるた
め、NC文解読に不慣れな初心者のユーザーでも簡単に
加工、干渉チェックを行えるという長所を有する。ま
た、NC文に精通したユーザーにとってはより正確なプ
ログラムチェックを行うことが可能となる長所を有す
る。また、請求項2の本発明は、書換えをしようとする
オフセット値のみを選択的に表示する構成を備えている
ため、入力ミスをすることなくオフセット値の書換えが
簡便に行えるという長所を有している。また、請求項3
の本発明は、フォアグラウンドの情報の一部をバックグ
ラウンド表示画面の一部に同時に表示できるので、バッ
クグラウンドによるプログラム作成中でもフォアグラウ
ンドの機械運転中の状況が確認できるという長所を有す
る。また、請求項4の本発明は、組合せ体の軸を中心と
する半分部分の拡大を、残る半分部分の拡大と異ならせ
て描画するので、表示領域を有効に使用できるという長
所を有する。また、請求項5の本発明は、所定範囲のX
方向における半分部分の拡大を、残る半分部分の拡大と
異ならせて描画するので、素材形状の定義をしなくても
NC文のツールパスを表示できるという長所を有する。
As is apparent from the above description, according to the present invention of claim 1, since the program check screen is provided with an animation drawing and a symbol display of the moving destination end point of the tool, it is unfamiliar with NC sentence decoding. It has the advantage that even beginners can easily perform processing and interference checks. Further, it has an advantage that a user who is familiar with NC sentences can perform more accurate program check. Also, the present invention of claim 2 has an advantage that the offset value can be easily rewritten without making an input error because it has a configuration for selectively displaying only the offset value to be rewritten. ing. Further, claim 3
The present invention has the advantage that a part of the foreground information can be displayed on a part of the background display screen at the same time, so that the status during the machine operation of the foreground can be confirmed even during program creation by the background. Further, the present invention according to claim 4 has an advantage that the display area can be effectively used since the drawing is performed by making the enlargement of the half portion centering on the axis of the combination different from the enlargement of the remaining half portion. The present invention according to claim 5 provides X within a predetermined range.
Since the half-magnification in the direction is drawn differently from the remaining half-magnification, the tool path of the NC sentence can be displayed without defining the material shape.

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

【図1】請求項1の本発明の一実施例の構成を示すブロ
ック図である。
FIG. 1 is a block diagram showing a configuration of an embodiment of the present invention according to claim 1.

【図2】同実施例のプログラムチェック画面を示す説明
図である。
FIG. 2 is an explanatory diagram showing a program check screen of the embodiment.

【図3】同実施例のプログラムチェック画面を示す説明
図である。
FIG. 3 is an explanatory diagram showing a program check screen of the embodiment.

【図4】同実施例のプログラムチェック画面の生成動作
を説明するための図である。
FIG. 4 is a diagram for explaining a program check screen generation operation of the embodiment.

【図5】請求項2の本発明の一実施例における、オフセ
ット番号、オフセット値等を表示する画面を示す図であ
る。
FIG. 5 is a diagram showing a screen for displaying an offset number, an offset value and the like in an embodiment of the present invention according to claim 2;

【図6】請求項2の本発明の一実施例における、オフセ
ット番号、オフセット値等を表示する別の画面を示す図
である。
FIG. 6 is a diagram showing another screen for displaying an offset number, an offset value, etc. in the embodiment of the present invention according to claim 2;

【図7】請求項3の本発明にかかる一実施例のバックグ
ラウンド表示装置を備えた制御装置の構成図である。
FIG. 7 is a configuration diagram of a control device including a background display device according to an embodiment of the present invention of claim 3;

【図8】同実施例の表示画面を示す図である。FIG. 8 is a diagram showing a display screen of the embodiment.

【図9】請求項4の本発明にかかる一実施例のアニメ描
画の自動倍率の決定方法を説明する図である。
FIG. 9 is a diagram illustrating a method of determining an automatic scale for animation drawing according to an embodiment of the present invention of claim 4;

【図10】請求項5の本発明にかかる一実施例のアニメ
描画の自動倍率の決定方法を説明する図である。
FIG. 10 is a diagram for explaining a method of determining an automatic magnification for animation drawing according to an embodiment of the present invention of claim 5;

【図11】従来例のプログラムチェック画面を示す説明
図である。
FIG. 11 is an explanatory diagram showing a conventional program check screen.

【図12】従来のアニメ描画の自動倍率の決定方法を説
明する図である。
FIG. 12 is a diagram illustrating a conventional method for determining an automatic magnification for animation drawing.

【符号の説明】[Explanation of symbols]

100 メモリ 101 NC部プロセッサ(演算手段) 102 アニメ描画部 103 CRT(表示手段) 201 ユニット操作盤 202 メモリ領域 202a フォアグラウンド領域 202b バックグラウンド領域 203 演算部 204 外部入出力機器 100 memory 101 NC processor (calculation means) 102 animation drawing section 103 CRT (display means) 201 unit operation panel 202 memory area 202a foreground area 202b background area 203 calculation section 204 external input / output device

───────────────────────────────────────────────────── フロントページの続き (72)発明者 松岡 興治 奈良県大和郡山市北郡山町106番地 株式 会社森精機製作所内 ─────────────────────────────────────────────────── ─── Continuation of the front page (72) Inventor Koji Matsuoka 106 Kita-Koriyama-cho, Yamatokoriyama-shi, Nara Mori Seiki Co., Ltd.

Claims (5)

【特許請求の範囲】[Claims] 【請求項1】 少なくともNC文、絶対座標、残移動量
を表示するプログラムチェック画面を表示するプログラ
ムチェック画面表示装置において、 前記NC文と絶対座標と残移動量から工具の、実行中ブ
ロックの移動先終点位置を計算する演算手段と、その移
動先終点位置を前記プログラムチェック画面に記号表示
する表示手段とを備えたことを特徴とするプログラムチ
ェック画面表示装置。
1. A program check screen display device for displaying a program check screen displaying at least an NC sentence, absolute coordinates, and a remaining movement amount, wherein a moving block of a tool is moved from the NC sentence, the absolute coordinates, and the remaining movement amount. A program check screen display device comprising: a computing unit that calculates a destination end position and a display unit that symbolically displays the destination end position on the program check screen.
【請求項2】 各工具の多数のオフセット値と、そのオ
フセット番号を表示する表示装置において、前記オフセ
ット番号を選択する選択手段と、選択されたオフセット
番号に選択記号を付与する選択記号付与手段と、選択確
定後、その選択されたオフセット番号とオフセット値の
みを表示する表示手段とを備えたことを特徴とする表示
装置。
2. A display device for displaying a large number of offset values of each tool and their offset numbers, and selecting means for selecting the offset numbers and selection symbol giving means for giving a selection symbol to the selected offset numbers. A display device comprising display means for displaying only the selected offset number and offset value after the selection is confirmed.
【請求項3】 バックグラウンドを表示する画面を有す
るバックグラウンド表示装置において、フォアグラウン
ドの情報の一部を前記バックグラウンド表示画面の一部
に同時に表示できることを特徴とするバックグラウンド
表示装置。
3. A background display device having a screen for displaying a background, wherein a part of the foreground information can be simultaneously displayed on a part of the background display screen.
【請求項4】 ワークと爪の組合せ体を、その長さ方向
を横方向(又は縦方向)に、又その径方向を縦方向(又
は横方向)に描画する画面において、前記組合せ体を拡
大して表示する際の自動倍率決定方法において、前記組
合せ体の軸を中心とする半分部分の拡大を、残る半分部
分の拡大と異ならせることを特徴とするアニメ描画の自
動倍率決定方法。
4. A screen for drawing a combination of a work and a claw in a lengthwise direction in a horizontal direction (or a vertical direction) and a radial direction in a vertical direction (or a horizontal direction), and enlarging the combination. In the automatic magnification determination method for displaying, the half enlargement about the axis of the combination is made different from the enlargement of the other half.
【請求項5】 X方向及びZ方向に対するフルストロー
クで示される所定範囲を、そのZ方向を横方向(又は縦
方向)に、又そのX方向を縦方向(又は横方向)に描画
する画面において、前記所定範囲を拡大して表示する際
の自動倍率決定方法において、前記所定範囲のX方向に
おける半分部分の拡大を、残る半分部分の拡大と異なら
せることを特徴とするアニメ描画の自動倍率決定方法。
5. A screen in which a predetermined range indicated by a full stroke in the X direction and the Z direction is drawn in the Z direction in the horizontal direction (or the vertical direction) and in the X direction in the vertical direction (or the horizontal direction). In the automatic magnification determination method for enlarging and displaying the predetermined range, the enlargement of a half portion of the predetermined range in the X direction is different from the enlargement of the remaining half portion. Method.
JP31122592A 1992-10-26 1992-10-26 Program check screen display device Pending JPH06138933A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP31122592A JPH06138933A (en) 1992-10-26 1992-10-26 Program check screen display device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP31122592A JPH06138933A (en) 1992-10-26 1992-10-26 Program check screen display device

Publications (1)

Publication Number Publication Date
JPH06138933A true JPH06138933A (en) 1994-05-20

Family

ID=18014603

Family Applications (1)

Application Number Title Priority Date Filing Date
JP31122592A Pending JPH06138933A (en) 1992-10-26 1992-10-26 Program check screen display device

Country Status (1)

Country Link
JP (1) JPH06138933A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2017117278A (en) * 2015-12-25 2017-06-29 ファナック株式会社 Numerical control apparatus with means confirming program execution state in function executing nc program according to handle operation
JP6971416B1 (en) * 2021-03-01 2021-11-24 Dmg森精機株式会社 Program editing equipment and programs

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2017117278A (en) * 2015-12-25 2017-06-29 ファナック株式会社 Numerical control apparatus with means confirming program execution state in function executing nc program according to handle operation
US10732616B2 (en) 2015-12-25 2020-08-04 Fanuc Corporation Numerical controller including means for checking execution status of program
JP6971416B1 (en) * 2021-03-01 2021-11-24 Dmg森精機株式会社 Program editing equipment and programs
WO2022185712A1 (en) * 2021-03-01 2022-09-09 Dmg森精機株式会社 Program editing device and program
JP2022132726A (en) * 2021-03-01 2022-09-13 Dmg森精機株式会社 Program editing device and program

Similar Documents

Publication Publication Date Title
JP2641797B2 (en) Interactive numerical controller
JP5925976B1 (en) Machining program editing support device
KR860002004B1 (en) The processing method for numerical control
JPH0554129B2 (en)
CN114174942A (en) Machine tool, tool load display method for machine tool, and program for machine tool
US7089531B2 (en) Method and device for generating or editing NC programs
EP0146628B1 (en) Automatic programming method
US5602453A (en) Coordinate system display guide for a numerical control apparatus
EP0529239B1 (en) Numerical control unit with position counter control and display
JPH07311612A (en) Method and device for editing machining program of numerical controller
CN108693837B (en) Information processing apparatus
JPH06138933A (en) Program check screen display device
JPH0659717A (en) Nc device having tool locus data plotting function and plotting method thereof
JP3066646B2 (en) Motion simulation system
EP0144427A1 (en) Method of determining sign of input data
US4669041A (en) Blank profile specifying method
JP2771701B2 (en) Interactive numerical controller
JPH07160317A (en) Tool path plotting method
JP3660038B2 (en) Numerical controller
JPH053002B2 (en)
JPH04252307A (en) Interactive numerical controller
WO2022185712A1 (en) Program editing device and program
JP3437218B2 (en) Method and device for confirming and editing machining data in automatic programming device
JPH06114678A (en) Tool locus display device of nc device
JP2573209Y2 (en) Tool path display device for NC equipment

Legal Events

Date Code Title Description
A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20040224