JPH05241644A - Numerical controller - Google Patents

Numerical controller

Info

Publication number
JPH05241644A
JPH05241644A JP4042895A JP4289592A JPH05241644A JP H05241644 A JPH05241644 A JP H05241644A JP 4042895 A JP4042895 A JP 4042895A JP 4289592 A JP4289592 A JP 4289592A JP H05241644 A JPH05241644 A JP H05241644A
Authority
JP
Japan
Prior art keywords
display
ruler
scale
length
work
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
JP4042895A
Other languages
Japanese (ja)
Inventor
Sekiko Akao
世紀子 赤尾
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric 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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP4042895A priority Critical patent/JPH05241644A/en
Publication of JPH05241644A publication Critical patent/JPH05241644A/en
Pending legal-status Critical Current

Links

Landscapes

  • Numerical Control (AREA)

Abstract

PURPOSE:To accurately measure the size of a work displayed in a picture regardless of the direction of a display coordinate axis. CONSTITUTION:A numerical controller 1 is provided with a graphic display means 11 for displaying the work and equipped with a scale display means 10 to display a scale parallel to the display coordinate axis and a scale moving means 9 to move the displayed scale in the direction of the display coordinate axis. Therefore, not only a graphic on a program but also the size of the machined work can be more correctly grasped, much information can be obtained, and accurate and precise numerical control is enabled.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、数値制御装置に関し、
さらに詳しくは、ワークの大きさを示すための物差しを
画面中に表示し且つ移動できるようにした数値制御装置
に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a numerical controller,
More specifically, the present invention relates to a numerical control device in which a ruler for indicating the size of a work can be displayed on the screen and moved.

【0002】[0002]

【従来の技術】従来の数値制御装置では、ワークを画面
に表示するためのグラフィック表示手段を備えると共
に、表示画面の一定幅がどれだけの論理幅かを示すスケ
ールを画面の一部に表示している。
2. Description of the Related Art A conventional numerical control device is provided with a graphic display means for displaying a work on a screen, and a scale showing how much a certain width of the display screen is logical is displayed on a part of the screen. ing.

【0003】図13に、従来の数値制御装置の画面例を
示す。この図において、113は表示画面、114は表
示座標軸、115はワーク、116はスケールである。
このスケール116は、表示画面113の画面枠に平行
である。ワーク115の表示倍率を変更すると、スケー
ル116の示す数値も連動して変更される。ワーク11
5の大体の大きさは、ワーク115とスケール116を
比較すれば分る。
FIG. 13 shows an example of a screen of a conventional numerical control device. In this figure, 113 is a display screen, 114 is a display coordinate axis, 115 is a work, and 116 is a scale.
The scale 116 is parallel to the screen frame of the display screen 113. When the display magnification of the work 115 is changed, the numerical value indicated by the scale 116 is also changed in conjunction. Work 11
The approximate size of 5 can be known by comparing the work 115 and the scale 116.

【0004】図14に、CAD/CAM装置の画面例を
示す。この図において、117は表示画面、118はス
ケールである。このスケール118は、表示画面117
の画面枠に平行である。表示画面117上に表示された
立体の図形の辺の長さは、その立体の図形を回転させ、
前記辺を画面枠に平行に表示させ、スケール118と比
較すれば正確に分る。
FIG. 14 shows a screen example of a CAD / CAM device. In this figure, 117 is a display screen and 118 is a scale. This scale 118 is displayed on the display screen 117.
Is parallel to the screen frame of. The length of the side of the solid figure displayed on the display screen 117 is determined by rotating the solid figure,
If the side is displayed in parallel with the screen frame and compared with the scale 118, it can be accurately known.

【0005】図15に、特開昭64−82106号公報
に開示された「軌跡表示画面における移動スケール表示
方式」における移動スケールの表示例を示す。この図に
おいて、119は移動スケール、120は軌跡表示画面
である。この移動スケール119によって軌跡表示画面
120上における任意の2点間の軌跡表示画面120に
平行な軸上の距離を読みとることが可能である。
FIG. 15 shows a display example of a moving scale in the "moving scale display method on a locus display screen" disclosed in Japanese Patent Laid-Open No. 64-82106. In this figure, 119 is a moving scale and 120 is a locus display screen. It is possible to read the distance on the axis parallel to the locus display screen 120 between any two points on the locus display screen 120 by the moving scale 119.

【0006】[0006]

【発明が解決しようとする課題】CAD/CAM装置に
おいて画面上に表示される図形は、画面上で作図された
図形である。このため、全ての形状データが分ってお
り、図形を回転させ、スケールに平行にすることは容易
である。
The graphic displayed on the screen in the CAD / CAM device is a graphic drawn on the screen. Therefore, all the shape data are known, and it is easy to rotate the figure so that it is parallel to the scale.

【0007】ところが、数値制御装置においては、画面
上に表示されているワーク115は画面上で作図された
ものではなく、ワーク115を加工する工具の位置をプ
ロットし、このプロットされた点をつなぐことによって
工具の軌跡として画面上に作図されたものである。この
ため、ワーク115の形状データは一部しか分っておら
ず、ワーク115を画面上で回転させることは出来な
い。つまり、ワーク115を回転させてスケールに平行
にすることが出来ないため、ワーク115の大きさは大
体しか分らない問題点がある。これは、特開昭64−8
2106号公報に開示の技術でも同じである。
However, in the numerical control device, the work 115 displayed on the screen is not drawn on the screen, but the position of the tool for machining the work 115 is plotted and the plotted points are connected. As a result, the tool trace is drawn on the screen. Therefore, only part of the shape data of the work 115 is known, and the work 115 cannot be rotated on the screen. That is, since the work 115 cannot be rotated to be parallel to the scale, there is a problem that the size of the work 115 is roughly known. This is disclosed in JP-A-64-8
The same is true for the technique disclosed in Japanese Patent No. 2106.

【0008】この発明は、上記のような課題を解決する
ためになされたもので、表示座標軸の向きに関わらず、
画面中に表示されているワークの大きさを正確に測定で
きるようにした数値制御装置を提供することを目的とし
ている。
The present invention has been made in order to solve the above-mentioned problems, regardless of the direction of the display coordinate axes.
It is an object of the present invention to provide a numerical controller capable of accurately measuring the size of a work displayed on the screen.

【0009】[0009]

【課題を解決するための手段】第1の観点では、この発
明は、ワークを表示するためのグラフィック表示手段を
備えた数値制御装置において、表示座標軸に平行な物差
しを表示する物差し表示手段と、表示した物差しを表示
座標軸方向に移動させる物差し移動手段とを備えたこと
を特徴とする数値制御装置を提供する。
According to a first aspect of the present invention, there is provided a numerical control device equipped with a graphic display means for displaying a work, and a ruler display means for displaying a ruler parallel to a display coordinate axis. There is provided a numerical control device comprising: a ruler moving means for moving the displayed ruler in a display coordinate axis direction.

【0010】第2の観点では、この発明は、上記構成に
おいて、物差しの移動単位が、長さ単位の整数倍である
ことを特徴とする数値制御装置を提供する。
According to a second aspect, the present invention provides the numerical controller, in which the moving unit of the ruler is an integral multiple of the length unit.

【0011】第3の観点では、この発明は、上記第1の
観点の構成において、物差しの移動単位が、グラフィッ
クの表示倍率に応じて可変である物差し表示手段を備え
たことを特徴とする数値制御装置を提供する。
According to a third aspect, the present invention is characterized in that, in the configuration of the first aspect, the unit for moving the ruler is provided with a ruler display means that is variable according to a display magnification of a graphic. Provide a control device.

【0012】第4の観点では、この発明は、上記第1か
ら第3の観点の構成において、物差しの表示長が、グラ
フィックの表示倍率に応じて可変である物差し表示手段
を備えたことを特徴とする数値制御装置を提供する。
According to a fourth aspect, the present invention is characterized in that, in the constitutions of the first to third aspects, it has a ruler display means for varying the display length of the ruler according to the display magnification of the graphic. To provide a numerical controller.

【0013】[0013]

【作用】この発明の第1の観点による数値制御装置で
は、グラフィック表示機能と協同して機能する物差し表
示手段を設けることによって、表示座標軸に平行な物差
しをグラフィック画面中に表示可能にすると共に、表示
座標軸に平行に物差しを移動することを可能とする。し
たがって、画面中のワークの向きを回転できなくても、
物差しを回転させてワークの大きさを正確に測定するこ
とが出来る。
In the numerical controller according to the first aspect of the present invention, by providing the ruler display means which functions in cooperation with the graphic display function, the ruler parallel to the display coordinate axes can be displayed on the graphic screen. It is possible to move the ruler parallel to the display coordinate axis. Therefore, even if you cannot rotate the orientation of the work on the screen,
The size of the work can be accurately measured by rotating the ruler.

【0014】この発明の第2の観点による数値制御装置
では、物差しの移動単位を、長さ単位の整数倍にするこ
とにより、物差しの移動量に対し適度な幅を与え、細か
すぎる微調整をなくすことにより、測定したいワークに
対する物差しの移動,配置が行ない易くなる。
In the numerical controller according to the second aspect of the present invention, the unit of movement of the ruler is set to an integral multiple of the length unit, thereby giving a proper width to the amount of movement of the ruler and performing fine adjustments that are too fine. By eliminating it, the ruler can be easily moved and arranged with respect to the workpiece to be measured.

【0015】この発明の第3の観点による数値制御装置
では、物差し表示手段により表示される物差しの移動単
位が、グラフィックの表示倍率に応じて変るので、物差
しの移動量に対し適度な幅を与え、細かすぎる微調整を
なくすことにより、測定したいワークに対する物差しの
移動,配置を容易に行うことが出来る。
In the numerical controller according to the third aspect of the present invention, since the unit of movement of the ruler displayed by the ruler display means changes according to the display magnification of the graphic, an appropriate width is given to the amount of movement of the ruler. By removing the fine adjustment that is too fine, the ruler can be easily moved and arranged with respect to the workpiece to be measured.

【0016】この発明の第4の観点による数値制御装置
では、物差し表示手段において表示される物差しの表示
長および目盛が、グラフィックの表示倍率に応じて変る
ので、適切で測定しやすい物差しを表示できる。
In the numerical controller according to the fourth aspect of the present invention, since the display length and scale of the ruler displayed on the ruler display means change according to the display magnification of the graphic, it is possible to display an appropriate and easy-to-measure ruler. ..

【0017】[0017]

【実施例】以下、この発明の一実施例を図に基づいて説
明する。図1は、この発明の一実施例に係る数値制御装
置1の外観図である。2はデータ入力キー、13はCR
Tである。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described below with reference to the drawings. FIG. 1 is an external view of a numerical controller 1 according to an embodiment of the present invention. 2 is a data input key, 13 is CR
T.

【0018】図2は、数値制御装置1の主要部のブロッ
ク図である。2は物差しに関するデータを入力するデー
タ入力キー、3はデータ入力キー2から入力されたデー
タをワークの表示倍率に応じて処理する表示倍率処理手
段、4は物差しの目盛単位を演算する目盛単位演算手
段、5はワーク15の長さに合わせて物差しの表示長さ
を決定する表示長演算手段である。
FIG. 2 is a block diagram of the main part of the numerical controller 1. Reference numeral 2 is a data input key for inputting data concerning a ruler, 3 is a display magnification processing means for processing the data inputted from the data input key 2 according to the display magnification of the work, and 4 is a scale unit calculation for calculating a scale unit of the ruler. Means 5 are display length calculation means for determining the display length of the ruler in accordance with the length of the work 15.

【0019】6はワークの論理長から物差しの表示単位
を決定する表示単位演算手段、7は表示座標軸のうちの
物差しを表示したい座標系(X軸,Y軸,Z軸のいずれ
か)に合わせて物差しの表示データを変換する座標系変
換手段、8は物差しを1回で移動できる長さを決定する
移動単位演算手段、9は物差しを移動する際のデータ処
理を行なう移動手段である。
Reference numeral 6 is a display unit calculation means for determining the display unit of the ruler from the logical length of the work, and 7 is adjusted to the coordinate system (X-axis, Y-axis or Z-axis) of the display coordinate axes where the ruler is desired to be displayed. The coordinate system converting means for converting the display data of the ruler, the moving unit calculating means 8 for determining the length by which the ruler can be moved at one time, and the moving means 9 for performing the data processing when the ruler is moved.

【0020】10は指定位置に指定形状の物差しを表示
する物差し表示手段、11はワークや画面枠などの表示
データを与えるグラフィック表示手段、12は表示デー
タによる画面表示を制御するグラフィック表示装置、1
3はCRTである。
Reference numeral 10 is a ruler display means for displaying a ruler of a specified shape at a specified position, 11 is a graphic display means for giving display data such as a work or a screen frame, 12 is a graphic display device for controlling screen display by the display data, 1
3 is a CRT.

【0021】図3に、CRT13の画面例を示す。17
は、物差しである。18は、物差しの表示単位(この場
合はmm)である。Cは物差しの幅、Eは物差しの表示
長、Gは物差しの表示単位、Hは物差しの目盛単位であ
る。Fは、ワーク15の最大幅である。Dは、最大表示
幅である。C〜Hは、全て論理長である。
FIG. 3 shows a screen example of the CRT 13. 17
Is a ruler. 18 is a display unit (in this case, mm) of the ruler. C is the ruler width, E is the ruler display length, G is the ruler display unit, and H is the ruler scale unit. F is the maximum width of the work 15. D is the maximum display width. C to H are all logical lengths.

【0022】データ入力キー2には、通常のキーに加え
て、物差し17を移動するための矢印キー(“→”,
“←”,“↓”,“↑”)や,物差し17の表示座標を
設定するための座標設定キー(“X”,“Y”,
“Z”)などが設けられている。
In addition to the usual keys, the data input key 2 includes arrow keys ("→",) for moving the ruler 17.
“←”, “↓”, “↑”) and coordinate setting keys (“X”, “Y”, for setting the display coordinates of the ruler 17)
“Z”) and the like are provided.

【0023】図4〜図11に、上記数値制御装置1の動
作のフローチャートを示す。図4は、表示倍率処理手段
3における表示倍率処理を示すフローチャートである。
まず、ワーク15の表示倍率が“1”の場合における画
面の最大表示幅(論理長)をグラフィック表示手段11
から入力する(ステップS101)。次いで、ワーク1
5の表示倍率Bをグラフィック表示手段11から入力す
る(ステップS102)。さらに、ステップS101で
入力した最大表示幅(論理長)とステップS102で入
力した表示倍率Bから、グラフィック画面の最大表示幅
D(論理長)を求める(ステップS103)。
4 to 11 show flow charts of the operation of the numerical controller 1. FIG. 4 is a flowchart showing the display magnification processing in the display magnification processing means 3.
First, the maximum display width (logical length) of the screen when the display magnification of the work 15 is "1" is displayed by the graphic display means 11
From (step S101). Then work 1
The display magnification B of 5 is input from the graphic display means 11 (step S102). Further, the maximum display width D (logical length) of the graphic screen is obtained from the maximum display width (logical length) input in step S101 and the display magnification B input in step S102 (step S103).

【0024】図5は、表示単位演算手段6における表示
単位演算処理を示すフローチャートである。この表示単
位演算処理では、表示倍率処理におけるステップS10
4で求めた最大表示幅D(論理長)から物差し17の表
示単位Gを設定する(ステップS105)。
FIG. 5 is a flow chart showing the display unit calculation processing in the display unit calculation means 6. In this display unit calculation process, step S10 in the display magnification process is performed.
The display unit G of the ruler 17 is set from the maximum display width D (logical length) obtained in step 4 (step S105).

【0025】図6は、目盛単位演算手段4における目盛
単位演算処理を示すフローチャートである。この目盛単
位演算処理では、表示倍率処理におけるステップS10
4で求められた最大表示幅D(論理長)および表示単位
演算処理におけるステップS106で求められた表示単
位Gから物差し17の目盛単位Hを求める(ステップS
107)。さらに、図8に示すステップS117の座標
系演算処理を行うことにより、データ入力キー2により
入力された座標系に従い1目盛分の長さ(xm ,ym )
を求める(ステップS108)。
FIG. 6 is a flow chart showing the scale unit calculation processing in the scale unit calculation means 4. In this scale unit calculation process, step S10 in the display magnification process is performed.
The scale unit H of the ruler 17 is obtained from the maximum display width D (logical length) obtained in step 4 and the display unit G obtained in step S106 in the display unit calculation process (step S).
107). Further, by performing the coordinate system calculation process of step S117 shown in FIG. 8, the length of one scale (xm, ym) is calculated according to the coordinate system input by the data input key 2.
Is calculated (step S108).

【0026】図7は、表示長演算手段5における表示長
演算処理を示すフローチャートである。この表示長演算
処理では、物差し17を表示する座標系における、デー
タ入力キー2から入力されたワーク15の最大幅F(論
理長)、つまり加工前のワーク15の幅F(論理長)を
求める(ステップS110)。さらに、ステップS11
0で求めたワーク15の最大幅F(論理長)から次の式
を用いて物差し17の表示長E(論理長)を求める(ス
テップS111)。すなわち、除算において解の小数点
以下を切り捨てる演算子を¥と表す場合、物差し17の
表示長E(論理長)は、 表示長E(論理長)=ワーク15の最大幅F(論理長)
¥表示単位G+1 により求められる。
FIG. 7 is a flow chart showing the display length calculation processing in the display length calculation means 5. In this display length calculation processing, the maximum width F (logical length) of the work 15 input from the data input key 2 in the coordinate system for displaying the ruler 17, that is, the width F (logical length) of the work 15 before processing is determined. (Step S110). Further, step S11
The display length E (logical length) of the ruler 17 is obtained from the maximum width F (logical length) of the work 15 obtained by 0 using the following formula (step S111). That is, when the operator that rounds down the decimal point of the solution in division is represented as \, the display length E (logical length) of the ruler 17 is: display length E (logical length) = maximum width F (logical length) of the work 15
Calculated by the display unit G + 1.

【0027】次に、ステップS111で求められた物差
し17の表示長E(論理長)から座標系演算処理におけ
るステップS117(図8参照)を実行することによ
り、データ入力キー2により入力された座標系に従って
表示長(xl,yl)を求める(ステップS112)。
Next, by executing step S117 (see FIG. 8) in the coordinate system calculation process from the display length E (logical length) of the ruler 17 obtained in step S111, the coordinates input by the data input key 2 are displayed. The display length (xl, yl) is obtained according to the system (step S112).

【0028】図10は、物差し表示手段10および移動
手段9における物差し表示処理および移動処理を示すフ
ローチャートである。物差し表示処理では、表示単位演
算処理におけるステップS106で求められた表示単位
G、目盛単位演算処理におけるステップ109で求めら
れた1目盛分の長さ(xm ,ym )、表示長演算処理に
おけるステップS113で求められた表示長(xl,y
l)に従って、物差し17を表示する。すなわち、表示
位置(xs,ys){ただし、表示位置(xs,ys)
は座標原点とする}を求める(ステップS124)。
FIG. 10 is a flowchart showing the rule display process and the move process in the rule display means 10 and the moving means 9. In the rule display process, the display unit G obtained in step S106 in the display unit calculation process, the length of one scale (xm, ym) obtained in step 109 in the scale unit calculation process, and step S113 in the display length calculation process. Display length (xl, y
Display rule 17 according to l). That is, display position (xs, ys) {however, display position (xs, ys)
Is used as the coordinate origin} (step S124).

【0029】次いで、グラフィック画面中の物差し17
を表示する部分についてのデータをメモリ中に格納する
(ステップS125)。物差し17の幅をCとした場合
のデータの大きさは、表示位置(xs,ys)〜{表示
位置(xs,ys)+表示長(xl,yl)}を底辺と
した高さCの長方形となる。このデータをセーブした部
分に、物差し17のベースとなる長方形を描画する(ス
テップS126)。さらに、目盛長に従って物差しのベ
ースとなる長方形に目盛となる線を引く(ステップS1
27)。この場合、表示単位Gの目盛の部分を他の目盛
より少し長めに引く。また、目盛は物差しのベースとな
る長方形の片端もしくは両端に引く。目盛の数値を、5
表示単位ごとに、目盛の線の少し中よりに表示する(ス
テップS128)。表示単位18は、分かりやすいよう
に、物差しの中央に表示する。
Next, the ruler 17 in the graphic screen
The data for the portion displaying is stored in the memory (step S125). When the width of the ruler 17 is C, the size of the data is a rectangle having a height C whose base is the display position (xs, ys) to {display position (xs, ys) + display length (xl, yl)}. Becomes A rectangle serving as the base of the ruler 17 is drawn in the portion where this data is saved (step S126). Further, a scale line is drawn on the rectangle serving as the base of the ruler according to the scale length (step S1).
27). In this case, the scale part of the display unit G is drawn slightly longer than the other scales. In addition, the scale is drawn on one or both ends of the rectangle that is the base of the ruler. Set the scale value to 5
Each display unit is displayed slightly in the middle of the scale line (step S128). The display unit 18 is displayed in the center of the ruler for easy understanding.

【0030】次に、物差し17を移動する場合について
説明する。図9は、移動単位演算手段8における移動単
位演算処理を示すフローチャートである。この移動単位
演算処理では、まず物差し17の移動単位を求める。物
差し17の移動単位は、物差しの目盛の整数倍に設定さ
れる。この場合、物差し17の移動単位を目盛単位演算
処理におけるステップS109で求めた目盛単位Hと同
じに設定する(ステップS118)。次いで、ステップ
S118で求めた移動単位から、図8に示すステップS
117の座標系演算処理を用いて、データ入力キー2に
より入力された物差し(17)を表示する座標系に対す
る物差し17の移動量(dx,dy)を求める(ステッ
プS119)。
Next, the case of moving the ruler 17 will be described. FIG. 9 is a flowchart showing the movement unit calculation processing in the movement unit calculation means 8. In this movement unit calculation process, the movement unit of the ruler 17 is first obtained. The moving unit of the ruler 17 is set to an integral multiple of the scale of the ruler. In this case, the movement unit of the ruler 17 is set to be the same as the scale unit H obtained in step S109 in the scale unit calculation process (step S118). Next, from the movement unit obtained in step S118, step S shown in FIG.
Using the coordinate system calculation processing of 117, the movement amount (dx, dy) of the ruler 17 with respect to the coordinate system displaying the ruler (17) input by the data input key 2 is obtained (step S119).

【0031】次に、物差し17を移動するための移動手
段9の動作を、図10を基に説明する。図10は、移動
手段9における移動処理を示すフローチャートである。
まず、物差し17の移動を行なう前に現在描画されてい
る物差し17をステップS125でメモリ中に格納され
ているデータを上書きすることによって消去する(ステ
ップS121)。次いで、移動単位演算処理におけるス
テップS120で求められた物差し117の移動量(d
x,dy)を入力し、物差し17の現在の表示位置(x
s,ys)を求める(ステップS122)。次いで、デ
ータ入力キー2から入力された物差し17を移動してい
く方向を示す矢印キーにより物差し17の移動位置を設
定する(ステップS123)。移動した物差し17の表
示は、物差し表示手段10における物差し表示処理によ
って表示する。この物差し表示処理は、ステップS12
4〜ステップS127により行われる。
Next, the operation of the moving means 9 for moving the ruler 17 will be described with reference to FIG. FIG. 10 is a flowchart showing the moving process in the moving means 9.
First, before moving the ruler 17, the ruler 17 currently drawn is erased by overwriting the data stored in the memory in step S125 (step S121). Next, the moving amount (d) of the ruler 117 determined in step S120 in the moving unit calculation process
x, dy), and the current display position of the ruler 17 (x
s, ys) is obtained (step S122). Then, the movement position of the ruler 17 is set by the arrow key indicating the direction in which the ruler 17 input from the data input key 2 is moved (step S123). The display of the moved ruler 17 is displayed by the ruler display processing in the ruler display means 10. This rule display process is step S12.
It is performed from 4 to step S127.

【0032】ここで、ステップS108、ステップS1
12、ステップS119において用いられた図8に示す
ステップS117の座標系演算処理について説明する。
まず、論理長で示されている数値を入力する(ステップ
S114)。次いで、ステップS114で入力した値を
ドット数Nに変換する(ステップS115)。このドッ
ト数Nを、2次元座標上へ投影するためのマトリクスA
を用いて、データ入力キー2から入力された物差し17
を表示する座標系にしたがって、変換する(ステップS
116)。 ドット数Nは、データ入力キー2から入力された物差し
17を表示する座標系がXならXの位置に、YならYの
位置に、ZならZの位置に入れる。指定座標系以外のも
のは“0”とする。
Here, step S108 and step S1
12, the coordinate system calculation process of step S117 shown in FIG. 8 used in step S119 will be described.
First, the numerical value indicated by the logical length is input (step S114). Next, the value input in step S114 is converted into the number of dots N (step S115). Matrix A for projecting this number of dots N on two-dimensional coordinates
The ruler 17 entered from the data entry key 2 using
Is converted according to the coordinate system displaying (step S
116). The number of dots N is set in the X position if the coordinate system for displaying the ruler 17 input from the data input key 2 is X, in the Y position if Y, and in the Z position if Z. Anything other than the designated coordinate system is "0".

【0033】マトリクスAについて図12を用いて説明
する。すなわち、論理長で示されている値をデータ入力
キー2から入力された物差し17を表示する座標系に従
って変換する場合、座標系の定義を図4のように行なう
と、マトリクスAは次のように表される。図中のオブジ
ェクト座標は2次元座標のxに平行な座標であり、αは
このオブジェクト座標に対するX軸のXY平面上の角度
を表し、βはこのオブジェクト座標に対するX軸のYZ
平面上の角度を表している。
The matrix A will be described with reference to FIG. That is, when the value represented by the logical length is converted according to the coordinate system for displaying the ruler 17 input from the data input key 2, the definition of the coordinate system is performed as shown in FIG. Represented by. Object coordinates in the figure are coordinates parallel to x of two-dimensional coordinates, α represents an angle on the XY plane of the X axis with respect to this object coordinate, and β is YZ of the X axis with respect to this object coordinate.
It represents the angle on the plane.

【0034】[0034]

【発明の効果】以上のように、この発明の数値制御装置
によれば、画面枠と平行でない座標軸に対して平行な方
向を向くと共にその軸に沿って移動可能な物差しを表示
することが出来るので、画面中に表示されているワーク
の実際の大きさを画面枠に対する表示座標軸の向きに関
わらず測定できる。このため、プログラム上の図形だけ
でなく、加工されたワークについての大きさを、より正
しく把握することができると共により多くの情報が得ら
れ、正確で精度の高い数値制御を行える効果がある。
As described above, according to the numerical controller of the present invention, it is possible to display a ruler which is oriented parallel to a coordinate axis which is not parallel to the screen frame and which is movable along the axis. Therefore, the actual size of the work displayed on the screen can be measured regardless of the orientation of the display coordinate axes with respect to the screen frame. Therefore, not only the figure on the program but also the size of the machined work can be grasped more correctly, more information can be obtained, and the numerical control can be performed accurately and with high precision.

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

【図1】この発明の一実施例による数値制御装置の外観
図である。
FIG. 1 is an external view of a numerical controller according to an embodiment of the present invention.

【図2】この発明の一実施例による数値制御装置の主要
ブロック図である。
FIG. 2 is a main block diagram of a numerical controller according to an embodiment of the present invention.

【図3】画面中に物差しを表示した例示説明図である。FIG. 3 is an exemplary explanatory view showing a ruler displayed on a screen.

【図4】表示倍率処理手段のフローチャート図である。FIG. 4 is a flowchart of display magnification processing means.

【図5】表示単位演算手段のフローチャート図である。FIG. 5 is a flowchart of display unit calculation means.

【図6】目盛単位演算手段のフローチャート図である。FIG. 6 is a flowchart of a graduation unit calculation means.

【図7】表示長演算手段のフローチャート図である。FIG. 7 is a flowchart of display length calculation means.

【図8】座標系変換手段のフローチャート図である。FIG. 8 is a flowchart of coordinate system conversion means.

【図9】移動単位演算手段のフローチャート図である。FIG. 9 is a flow chart of a moving unit calculation means.

【図10】物差し表示処理および移動処理を示すフロー
チャート図である。
FIG. 10 is a flowchart showing a rule display process and a moving process.

【図11】物差し表示処理および移動処理を示すフロー
チャート図である。
FIG. 11 is a flowchart showing a rule display process and a moving process.

【図12】論理長を2次元座標へ変換するための座標系
の説明図である。
FIG. 12 is an explanatory diagram of a coordinate system for converting a logical length into two-dimensional coordinates.

【図13】従来の数値制御装置のCRT表示画像図であ
る。
FIG. 13 is a CRT display image diagram of a conventional numerical controller.

【図14】CAD/CAM装置におけるスケールの表示
画像図である。
FIG. 14 is a display image diagram of a scale in a CAD / CAM device.

【図15】特開昭64−82106号公報における移動
スケールの表示画像図である。
FIG. 15 is a display image diagram of a moving scale disclosed in Japanese Patent Laid-Open No. 64-82106.

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

1 数値制御装置 6 目盛単位演算手段 8 移動単位演算手段 9 物差し移動手段 10 物差し表示手段 13 表示画面 14 ワークの表示座標軸 15 ワーク 17 物差し DESCRIPTION OF SYMBOLS 1 Numerical control device 6 Scale unit calculation means 8 Movement unit calculation means 9 Ruler movement means 10 Ruler display means 13 Display screen 14 Workpiece display coordinate axes 15 Workpiece 17 Ruler

─────────────────────────────────────────────────────
─────────────────────────────────────────────────── ───

【手続補正書】[Procedure amendment]

【提出日】平成4年6月11日[Submission date] June 11, 1992

【手続補正1】[Procedure Amendment 1]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】0023[Name of item to be corrected] 0023

【補正方法】変更[Correction method] Change

【補正内容】[Correction content]

【0023】図4〜図11に、上記数値制御装置1の動
作のフローチャートを示す。図4は、表示倍率処理手段
3における表示倍率処理を示すフローチャートである。
まず、ワーク15の表示倍率が“1”の場合における画
面の最大表示幅(論理長)をグラフィック表示手段11
から入力する(ステップS101)。次いで、ワーク1
5の表示倍率Bをグラフィック表示手段11から入力す
る(ステップS102)。さらに、ステップS101で
入力した最大表示幅(論理長)とステップS102で入
力した表示倍率Bから、グラフィック画面の最大表示幅
D(論理長)を求める(ステップS103)。ここで示
す最大表示幅とは画面いっぱいに表示された図形が何[m
m](論理長)の幅を表しているかを示すものである。
4 to 11 show flow charts of the operation of the numerical controller 1. FIG. 4 is a flowchart showing the display magnification processing in the display magnification processing means 3.
First, the maximum display width (logical length) of the screen when the display magnification of the work 15 is "1" is displayed by the graphic display means 11
From (step S101). Then work 1
The display magnification B of 5 is input from the graphic display means 11 (step S102). Further, the maximum display width D (logical length) of the graphic screen is obtained from the maximum display width (logical length) input in step S101 and the display magnification B input in step S102 (step S103). Shown here
What is the maximum display width?
m] (logical length).

【手続補正2】[Procedure Amendment 2]

【補正対象書類名】図面[Document name to be corrected] Drawing

【補正対象項目名】図2[Name of item to be corrected] Figure 2

【補正方法】変更[Correction method] Change

【補正内容】[Correction content]

【図2】 [Fig. 2]

【手続補正3】[Procedure 3]

【補正対象書類名】図面[Document name to be corrected] Drawing

【補正対象項目名】図4[Name of item to be corrected] Fig. 4

【補正方法】変更[Correction method] Change

【補正内容】[Correction content]

【図4】 [Figure 4]

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】 ワークを表示するためのグラフィック表
示手段を備えた数値制御装置において、表示座標軸に平
行な物差しを表示する物差し表示手段と、表示した物差
しを表示座標軸方向に移動させる物差し移動手段とを備
えたことを特徴とする数値制御装置。
1. A numerical control device equipped with a graphic display means for displaying a workpiece, a ruler display means for displaying a ruler parallel to a display coordinate axis, and a ruler moving means for moving the displayed ruler in the display coordinate axis direction. A numerical control device comprising:
【請求項2】 物差しの移動単位が、長さ単位の整数倍
であることを特徴とする請求項1に記載の数値制御装
置。
2. The numerical control device according to claim 1, wherein the moving unit of the ruler is an integral multiple of the length unit.
【請求項3】 物差しの移動単位が、グラフィックの表
示倍率に応じて可変である物差し表示手段を備えたこと
を特徴とする請求項1または請求項2に記載の数値制御
装置。
3. The numerical control device according to claim 1, further comprising: a ruler display means for changing the ruler movement unit according to the display magnification of the graphic.
【請求項4】 物差しの表示長が、グラフィックの表示
倍率に応じて可変である物差し表示手段を備えたことを
特徴とする請求項1から請求項3のいずれかに記載の数
値制御装置。
4. The numerical control device according to claim 1, further comprising a ruler display means for varying the display length of the ruler according to the display magnification of the graphic.
JP4042895A 1992-02-28 1992-02-28 Numerical controller Pending JPH05241644A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4042895A JPH05241644A (en) 1992-02-28 1992-02-28 Numerical controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4042895A JPH05241644A (en) 1992-02-28 1992-02-28 Numerical controller

Publications (1)

Publication Number Publication Date
JPH05241644A true JPH05241644A (en) 1993-09-21

Family

ID=12648771

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4042895A Pending JPH05241644A (en) 1992-02-28 1992-02-28 Numerical controller

Country Status (1)

Country Link
JP (1) JPH05241644A (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS61811A (en) * 1984-06-14 1986-01-06 Mitsubishi Electric Corp Numerical controller
JPS63255708A (en) * 1987-04-13 1988-10-24 Mitsubishi Electric Corp Numerical controller
JPS6482106A (en) * 1987-09-24 1989-03-28 Okuma Machinery Works Ltd Mobile scale display system for locus display screen

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS61811A (en) * 1984-06-14 1986-01-06 Mitsubishi Electric Corp Numerical controller
JPS63255708A (en) * 1987-04-13 1988-10-24 Mitsubishi Electric Corp Numerical controller
JPS6482106A (en) * 1987-09-24 1989-03-28 Okuma Machinery Works Ltd Mobile scale display system for locus display screen

Similar Documents

Publication Publication Date Title
EP0172920B1 (en) Picture display method
US20030090483A1 (en) Simulation apparatus for working machine
EP0129092A2 (en) Numerical control device for use with a machine tool and a machine tool having such a device
US6493602B1 (en) Method of non-linear route display
JPH08249125A (en) Method for inputting numeric value by pointer
JPH05241644A (en) Numerical controller
JPH10180591A (en) Correcting method of tool correcting quantity and device thereof
EP0573962A2 (en) Numerical control device for tool driving along non-orthogonal mechanical axes
JPH0635092B2 (en) Numerical control device with tool file
JP2937918B2 (en) Image measuring device
JP2917021B2 (en) Measurement plane discriminating method and apparatus for coordinate measuring machine
EP0440904A1 (en) Method and apparatus for displaying scaled representations on a CRT or other display apparatus
JP2002277236A (en) Tolerance deciding method
JPH05318278A (en) X-y table drive control device of machine tool
JPH0519824A (en) Numerical controller and work attitude detection device
KR0160739B1 (en) Mage display method
JPS60189505A (en) Graphic display device of numerical controller
JPH04352006A (en) Method and device for calculating working dimension
JP3276534B2 (en) Shape measurement method
JPH0715642B2 (en) Moving scale display method on trajectory display screen
JPH0689312A (en) Plotter
JPH0721223A (en) Data generation device
JPH0772916A (en) Nc data generating method
JPH07168934A (en) Graphic enlarging/editing method
EP0404955A1 (en) Drawing method on an enlarged scale

Legal Events

Date Code Title Description
A131 Notification of reasons for refusal

Effective date: 20050201

Free format text: JAPANESE INTERMEDIATE CODE: A131

A601 Written request for extension of time

Effective date: 20050428

Free format text: JAPANESE INTERMEDIATE CODE: A601

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20050506

A602 Written permission of extension of time

Free format text: JAPANESE INTERMEDIATE CODE: A602

Effective date: 20050509

A131 Notification of reasons for refusal

Effective date: 20050803

Free format text: JAPANESE INTERMEDIATE CODE: A131

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20050804

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20050928

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20051028

R150 Certificate of patent (=grant) or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees