JPH0253108A - Numerical controller and its automatic programming device - Google Patents
Numerical controller and its automatic programming deviceInfo
- Publication number
- JPH0253108A JPH0253108A JP20437188A JP20437188A JPH0253108A JP H0253108 A JPH0253108 A JP H0253108A JP 20437188 A JP20437188 A JP 20437188A JP 20437188 A JP20437188 A JP 20437188A JP H0253108 A JPH0253108 A JP H0253108A
- Authority
- JP
- Japan
- Prior art keywords
- numerical control
- control data
- data
- maximum
- coordinate value
- 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
Links
Landscapes
- Numerical Control (AREA)
Abstract
Description
【発明の詳細な説明】
[産業上の利用分野]
この発明は、数値制御装置用の数値制御データ(NOデ
ータ)の作成、数値制御データの内容確認のための描画
(作図表示)をすることができる数値制御装置のための
自動プログラミング装置及びこのような自動プログラミ
ング装置により作成した数値制御データによって描画動
作する数値制御装置に関するものである。[Detailed Description of the Invention] [Industrial Application Field] The present invention is directed to creating numerical control data (NO data) for a numerical control device and drawing (drawing and displaying) to confirm the contents of the numerical control data. The present invention relates to an automatic programming device for a numerical control device that can perform the following steps, and a numerical control device that performs a drawing operation using numerical control data created by such an automatic programming device.
[従来の技術]
第5図は従来の自動プログラミング装置によって作成し
た数値制御データにより動作する数値制御装置で描画倍
率自動設定を行ったうえで描画を行うフローチャートで
ある。また、第、6図は従来の数値制御データを作成す
る数値制御装置の自動プログラミング装置を示すブロッ
ク図でおる。そして、第7図は極めて簡単な数値制御デ
ータの内容例を示す説明図であり、また、第8図は数値
制御データ中の諸元から描画用の諸元を求める方法を示
す説明図である。[Prior Art] FIG. 5 is a flowchart in which drawing is performed after automatically setting a drawing magnification using a numerical control device that operates based on numerical control data created by a conventional automatic programming device. FIG. 6 is a block diagram showing a conventional automatic programming device for a numerical control device that creates numerical control data. FIG. 7 is an explanatory diagram showing an example of the contents of extremely simple numerical control data, and FIG. 8 is an explanatory diagram showing a method for obtaining drawing specifications from specifications in the numerical control data. .
第6図において、(1)はパートプログラムまたは対話
式に入力される図形情報等の入力データである。(2)
は入力データ(1)の入力装置、(3)は中央処理装置
、(4)は出力装置、(5a)は数値制御データである
。In FIG. 6, (1) is input data such as part program or graphic information inputted interactively. (2)
is an input device for input data (1), (3) is a central processing unit, (4) is an output device, and (5a) is numerical control data.
この数値制御データ描画時の入力となる数値制御データ
は、上記のような自動プログラミング装置で作成される
。The numerical control data that is input when drawing this numerical control data is created by the automatic programming device as described above.
即ち、パートプログラムまたは対話人力、CAD入力等
として、入力装置(2)から入力された入力データは、
中央処理装置(3)で解釈され、その結果が、出力装@
(4)から数値制御データ(5a)として出力される。That is, the input data input from the input device (2) as a part program, human interaction, CAD input, etc.
It is interpreted by the central processing unit (3) and the result is sent to the output device @
(4) is output as numerical control data (5a).
このような数値制御データの極めて簡単な例を、第7図
に示す。この例は、10mm角の正方形を描くためのも
のである。An extremely simple example of such numerical control data is shown in FIG. This example is for drawing a 10 mm square.
次に、上記のように構成された従来の数値制御装置の制
御動作について説明する。Next, the control operation of the conventional numerical control device configured as described above will be explained.
第5図において、数値制御データの描画が指定されると
、ステップ31でその数値制御データでおる移動輪金て
に対して、最大値、最小値を設定(セット)する(例え
ば、最大値= −9999,999、最小値= + 9
999.999 )。次に、ステップ32で数値制御デ
ータを1ブロツク(1行分)入力する。続いて、ステッ
プ33で、今、読み込んだ数値制御データに移動指令が
市れば、ステップ34の処理に、なければステップ36
の処理に入る。ステップ34ではいずれかの軸が最大値
、最小値を越えたか判定する。その結果、越えていれば
ステップ35へ、越えていなければステップ36の処理
に入る。ステップ35では最大値或いは最小値を更新す
る。ステップ36では数値制御データの続きがあれば、
ステップ32へ、終了ならばステップ37へ行く。ステ
ップ37で最大値及び最小値から、描画のための倍率及
び表示の中心位@(中心座標値)を計算する。In FIG. 5, when drawing of numerical control data is specified, in step 31, maximum and minimum values are set for the moving wheel metal that is based on the numerical control data (for example, maximum value = -9999,999, minimum value = +9
999.999). Next, in step 32, one block (one line) of numerical control data is input. Next, in step 33, if the movement command is entered in the numerical control data read just now, the process goes to step 34; if not, the process goes to step 36.
Start processing. In step 34, it is determined whether any axis exceeds the maximum value or minimum value. As a result, if it has been exceeded, the process proceeds to step 35, and if it has not been exceeded, the process proceeds to step 36. In step 35, the maximum value or minimum value is updated. In step 36, if there is a continuation of the numerical control data,
Go to step 32; if finished, go to step 37. In step 37, the magnification for drawing and the center position of display @ (center coordinate value) are calculated from the maximum and minimum values.
具体的には、第8図の説明図に示すように、X軸方向の
最大値をxmax、最小値をXm1n、 Y軸方向の最
大値をYmax、最小値をYmin、描画装置の描画可
能範囲の横方向(X軸方向)の長さをA1また、縦方向
の長さをBとすると、A/ (Xmax−Xmin)と
3/ (Ymax−Ymin)の小さい方の倍率、即ち
、m1n(A/ (Xmax−Xmin) 、B/ (
Ymax−Ymin))が描画のための倍率となる。ま
た、描画の中心座標値は数値制御データの中点が移動輪
金ての最大値、最小値から、X軸方向では(Xmax−
Xmin)/2 、Y軸方向では(Ymax−Ymin
)/2であり、描画装置の描画可能範囲の中点が、横方
向(X軸方向)ではA/2、縦方向(Y軸方向)ではB
/2であるため、上記数値制御データの中点を上記描画
装置の描画可能範囲の中点に一致ざぜれば良い。次に、
ステップ38で数値制御データを巻き戻し、先頭から再
度読取りながら描画を行う。この際、ステップ37で求
めた倍率及び中心座標値を使用する。Specifically, as shown in the explanatory diagram of Fig. 8, the maximum value in the X-axis direction is xmax, the minimum value is Xm1n, the maximum value in the Y-axis direction is Ymax, the minimum value is Ymin, and the drawable range of the drawing device. Let A1 be the horizontal length (X-axis direction) and B be the vertical length of A/ (Xmax-Xmin), B/ (
Ymax-Ymin)) is the magnification for drawing. In addition, the center coordinate value of the drawing is such that the midpoint of the numerical control data is the maximum value and minimum value of the moving wheel, and in the X-axis direction (Xmax-
Xmin)/2, in the Y-axis direction (Ymax-Ymin
)/2, and the midpoint of the drawing device's drawable range is A/2 in the horizontal direction (X-axis direction) and B in the vertical direction (Y-axis direction).
/2, it is sufficient to match the midpoint of the numerical control data to the midpoint of the drawing range of the drawing device. next,
In step 38, the numerical control data is rewound and drawing is performed while reading it again from the beginning. At this time, the magnification and center coordinate values obtained in step 37 are used.
なお、前記描画装置としては、グラフィックデイスプレ
ィ、XYプロッタ、CRT等の周知の装置が使用可能で
ある。Note that as the drawing device, well-known devices such as a graphic display, an XY plotter, and a CRT can be used.
[発明が解決しようとする課題]
従来の数値制御装置及び数値制御装置のための自動プロ
グラミング装置は、以上のように構成されているので、
上記グラフィックデイスプレィの表示画面サイズ、上記
XYプロッタの作画範囲サイズ等の数値制御装置の描画
装置の適切な描画(表示)倍率、作画中心座標値を、描
画装置に自動決定させようとすると、この自動゛プログ
ラミング装置で作成した数値制御データを最低1回は、
余分に読み取る必要があるために、描画のための処理時
間が長くなる。[Problem to be Solved by the Invention] Since the conventional numerical control device and the automatic programming device for the numerical control device are configured as described above,
If you try to have the drawing device automatically determine the appropriate drawing (display) magnification and drawing center coordinate values of the drawing device of the numerical control device, such as the display screen size of the graphic display, the drawing range size of the XY plotter, etc. Numerical control data created with an automatic programming device must be processed at least once.
The extra reading required increases the processing time for drawing.
そこで、この発明は、数値制御データ中に最大移動範囲
を示す情報を出力可能とする数値制611装置のための
自動プログラミング装置と、前記自動プログラミング装
置により作成された数値制御データを入力として、描画
倍率と描画中心座標値を詐出し、高速に数値制御データ
の描画ができる描画装置を有する数値制御装置の提供を
課題とするものである。Therefore, the present invention provides an automatic programming device for a numerical system 611 device that is capable of outputting information indicating the maximum movement range in numerical control data, and a drawing device that uses numerical control data created by the automatic programming device as input. It is an object of the present invention to provide a numerical control device having a drawing device that can deceive magnification and drawing center coordinate values and draw numerical control data at high speed.
[課題を解決するための手段]
この第一の発明にかかる数値制御装置のための自動プロ
グラミング装置は、図形情報入力データを入力する入力
装置と、この入力装置の出力である図形情報データから
各種の幾何学的計算し、図形情報データの内容を解釈す
る中央処理装置と、前記入力装置の出力である図形情報
データと前記中央処理装置の出力をもとに、各移動軸の
最大座標値、最小座標値を算出する数値制御装置の最大
移動範囲算出手段と、前記中央処理装置の出力に基づい
て数値制御データを出力し、その際、数値制御データの
有効情報部先頭行に、前記数値制御装置の最大移動範囲
算出手段からの各移動軸の最大座標値、最小座標値情報
を設定する出力装置とを億えたものである。[Means for Solving the Problems] An automatic programming device for a numerical control device according to the first invention includes an input device for inputting graphic information input data, and various kinds of programming from the graphic information data output from this input device. A central processing unit that performs geometric calculations and interprets the contents of the graphic information data, and a maximum coordinate value of each movement axis based on the graphic information data output from the input device and the output of the central processing unit, The maximum movement range calculating means of the numerical control device that calculates the minimum coordinate value and the output of the central processing unit output numerical control data, and at this time, the numerical control data is written in the first row of the effective information section of the numerical control data. It also includes an output device for setting the maximum coordinate value and minimum coordinate value information of each movement axis from the maximum movement range calculation means of the device.
また、第二の発明にかかる数値制御装置は、有効情報部
先頭行に、数値制all装置の各移動軸の最大座標値、
最小座標値情報が設定された数値制御データが入力する
数値制御データ入力装置と、この数値制御データ入力装
置に入力された数値制御データの先頭行のデータから数
値制611装置の最大移動範囲を抽出する最大移動範囲
抽出手段と、この最大移動範囲情報に基づいて描画装置
の画面サイズに応じた描画倍率と描画中心座標値を算出
する描画倍率・描画中心座標値算出手段と、この描画倍
率・描画中心座標値算出手段の出力である描画倍率と描
画中心座標値に基づいて描画を行う描画装置とを備えた
ものである。Further, the numerical control device according to the second invention includes, in the first line of the effective information section, the maximum coordinate value of each movement axis of the numerical control all device;
Extract the maximum movement range of the numerical system 611 device from the numerical control data input device into which the numerical control data in which the minimum coordinate value information is set is input, and the data in the first row of the numerical control data input to this numerical control data input device. a drawing magnification/drawing center coordinate value calculation means that calculates a drawing magnification and drawing center coordinate value according to the screen size of the drawing device based on this maximum movement range information; This apparatus includes a drawing device that performs drawing based on the drawing magnification output from the center coordinate value calculation means and the drawing center coordinate value.
[作用]
第一の発明における数値制御装置の最大移動範囲算出手
段は、数値制御装置の各移動軸の最大座標値、最小座標
値を算出し、数値制御データの有効情報部先頭行に、こ
の最大移動範囲情報が設定される。[Operation] The maximum movement range calculation means of the numerical control device in the first invention calculates the maximum coordinate value and minimum coordinate value of each movement axis of the numerical control device, and writes this value in the first line of the effective information part of the numerical control data. Maximum movement range information is set.
第二の゛発明の数値制御装置においては、前記最大移動
範囲情報に基づいて、描画倍率・描画中心座標値算出手
段が、描画装置の画面サイズに応じた描画倍率と描画中
心座標値を算出する。そして、この描画倍率・描画中心
座標値算出手段の出力である描画倍率と描画中心座標値
に基づいて、描画装置が描画を行う。In the numerical control device of the second invention, the drawing magnification/drawing center coordinate value calculation means calculates the drawing magnification and drawing center coordinate value according to the screen size of the drawing device based on the maximum movement range information. . Then, the drawing device performs drawing based on the drawing magnification and drawing center coordinate value that are output from the drawing magnification/drawing center coordinate value calculation means.
[実施例] 以下、この発明の一実施例を説明する。[Example] An embodiment of this invention will be described below.
第1図はこの第一の発明の一実施例の数値制御装置の自
動プログラミング装置の描画諸元を自動決定して描画を
行う方法を示すフローチャートである。また、第2図は
この第一の発明の一実施例の数値制御lIl装置の自動
プログラミング装置において数値制御データ作成のブロ
ック図である。そして、第3図は上記第1図及び第2図
で示した実施例で作成した極めて簡単な数値制御データ
例の説明図でおる。FIG. 1 is a flowchart showing a method for automatically determining drawing specifications and drawing by an automatic programming device for a numerical control device according to an embodiment of the first invention. Further, FIG. 2 is a block diagram of numerical control data creation in an automatic programming device for a numerically controlled device according to an embodiment of the first invention. FIG. 3 is an explanatory diagram of an extremely simple example of numerical control data created in the embodiment shown in FIGS. 1 and 2 above.
第2図において、(1)はパートプログラムまたは対話
式に入力される図形情報等の入力データでおる。(2)
は入力データ(1)の入力装置、(3〉は中央51!l
理装置、(4)は出力装置、(5)は数値制御データで
おる。また、(6)は各移動軸の最大座標値及び最小座
標値を算出する最大移動範囲算出手段である。In FIG. 2, (1) is input data such as graphic information inputted through a part program or interactively. (2)
is the input device for input data (1), (3> is the center 51!l
(4) is an output device, and (5) is numerical control data. Further, (6) is a maximum movement range calculation means that calculates the maximum coordinate value and minimum coordinate value of each movement axis.
この実施例における数値制御データは、上記のように構
成された第2図のブロック図に示す装置で作成される。The numerical control data in this embodiment is created by the apparatus shown in the block diagram of FIG. 2, configured as described above.
即ち、図形情報等の入力データ(1)は、入力装置(2
)に入力され、中央処理装置(3)で各種の幾何学的計
算等を行ない、その内容を解釈されると、それに基づい
て出力装置(4)から数値制御データとして出力される
。また、最大移動範囲算出手段(6)は図形情報入力デ
ータ(1)と中央処理装置(3)の出力をもとに、各移
動軸の最大座標値、最小座標値を算出し、数値制御デー
タの有効情報部先頭行に、その結果を注釈の形式で出力
する。注釈の形式とすることにより、通常の数値制御装
置の動作には、何等影響を与えないことになり、従来の
数値制御データと互換性を持たせることができる。That is, input data (1) such as graphic information is input to the input device (2).
), the central processing unit (3) performs various geometrical calculations, the contents of which are interpreted, and outputted as numerical control data from the output device (4) based on the content. Further, the maximum movement range calculation means (6) calculates the maximum and minimum coordinate values of each movement axis based on the graphic information input data (1) and the output of the central processing unit (3), and calculates the maximum coordinate value and minimum coordinate value of each movement axis. The result is output in the form of a comment on the first line of the effective information section. By using the annotation format, the operation of a normal numerical control device is not affected in any way, and compatibility with conventional numerical control data can be achieved.
この数値制御データの極めて簡単な例を第3図に示す。An extremely simple example of this numerical control data is shown in FIG.
この例は、数値制御装置にとっては、第7図に示す従来
の数値制御データと等価なものである。そして、この数
値制御データの第1行目が、数値制御データによる数値
制御装置の最大移動範囲情報でおる。This example is equivalent to the conventional numerical control data shown in FIG. 7 for the numerical control device. The first line of this numerical control data is maximum movement range information of the numerical control device based on the numerical control data.
なお、上記実施例では、数値制御装置の最大移動範囲を
示す情報として、(#AREA=XOYO,X10.
Ylo)という文字列を用いたが、この文字列は、もち
ろん他の形式であっても同等の結果が得られる。In the above embodiment, as information indicating the maximum movement range of the numerical control device, (#AREA=XOYO, X10.
Although the character string Ylo) was used, the same result can be obtained even if this character string is in other formats.
また、実際に、他の数値制御装置にこの数値制御データ
を使用するときでも、数値制御装置の最大移動範囲を示
す情報を削除するか、或いは、数値制御装置で読み飛ば
し可能であれば、注釈の形式をとる必要はない。In addition, even when actually using this numerical control data for another numerical control device, it is necessary to delete the information indicating the maximum movement range of the numerical control device, or add a note if the numerical control device can skip it. It is not necessary to take the form
そして、描画諸元を自動決定ではなく、このような数値
制御データによる数値制御装置の最大移動範囲を示す情
報に基づいて、操作者が端末等から指示することも可能
である。Instead of automatically determining the drawing specifications, it is also possible for the operator to instruct the drawing specifications from a terminal or the like based on information indicating the maximum movement range of the numerical control device based on such numerical control data.
第4図は第二の発明の一実施例の上記数値制御データに
基づいて描画を行う描画装置を有する数値制御装置を示
すブロック図である。なお、この説明で使用する第8図
は上記従来例と同様の数値制御データ中の諸元から描画
用の諸元、即ち、描画の倍率と描画の中心座標値を求め
る説明図である。FIG. 4 is a block diagram showing a numerical control device having a drawing device that performs drawing based on the above-mentioned numerical control data according to an embodiment of the second invention. FIG. 8 used in this explanation is an explanatory diagram for determining the drawing specifications, that is, the drawing magnification and the drawing center coordinate value, from the specifications in the numerical control data similar to the conventional example.
次に、前記数値制御データ(5)を用いて描画を行う数
値制御装置(12)について、前記第4図を用いて説明
する
図において、(5)は上記数値制御データ、(7)は数
値制御データ入力装置、°(8)は最大移動範囲抽出手
段、(9)は描画装置の画面サイズデータ、(10)は
描画倍率・描画中心座標値算出手段、(11)は描画装
置である。Next, in a diagram explaining the numerical control device (12) that performs drawing using the numerical control data (5) using the aforementioned FIG. 4, (5) is the numerical control data, and (7) is the numerical value. Control data input device, °(8) is maximum movement range extraction means, (9) is screen size data of the drawing device, (10) is drawing magnification/drawing center coordinate value calculation means, and (11) is the drawing device.
次に、この第4図に示した数値制御データに基づいて描
画を行う描画装置を有する数値制御装置の動作を説明す
る。Next, the operation of the numerical control device having a drawing device that performs drawing based on the numerical control data shown in FIG. 4 will be explained.
数値制御データ(5)が数値制御データ入力装置(7)
に入力すると、最大移動範囲抽出手段(8)は、・第3
図に示すような数値制御データ(5)の先頭行のデータ
から、数値制御データ(5)による数値制御装置の最大
移動範囲情報を抽出し、この最大移動範囲情報と描画装
置の画面サイズデータ(9)とから、描画倍率・描画中
心座標値締出手段(10)は、描画倍率と描画中心座標
値を算出し、この描画倍率と描画中心座標値に基づいて
、描画装置(11)が描画を行う。The numerical control data (5) is the numerical control data input device (7)
When the maximum movement range extraction means (8) is inputted, the third
The maximum movement range information of the numerical control device based on the numerical control data (5) is extracted from the data in the first row of the numerical control data (5) as shown in the figure, and this maximum movement range information and the screen size data of the drawing device ( 9), the drawing magnification/drawing center coordinate value locking means (10) calculates the drawing magnification and the drawing center coordinate value, and the drawing device (11) calculates the drawing magnification and the drawing center coordinate value based on the drawing magnification and the drawing center coordinate value. I do.
なお、前記描画装置としてはグラフィックデイスプレィ
、XYプロッタ、CRT等、周知のどのようなものも採
用可能でおる。It should be noted that any well-known device such as a graphic display, an XY plotter, a CRT, etc. can be used as the drawing device.
更に、第1図のフローチャートを用いて、数値IIII
I!装置が数値制御データに基づいて描画を行う制御を
説明する。Furthermore, using the flowchart in Figure 1, the numerical value III
I! The control by which the device performs drawing based on numerical control data will be explained.
まず、ステップ21で数値制御データの先頭行を読み込
む。続いて、ステップ22で描画倍率、描画中心座標値
を算出する。具体的には、ステップ21で読んだ数値制
御データの先頭行に設定されている、数値制御装置の各
移動軸の最大座標値、最小座標値の情報に基づいて、第
8図に示すように、X軸方向の最大値をxmax 、最
小値をXm1n、 Y軸方向の最大値をymax、最小
値をYmin、描画装置の描画可能範囲の横方向(X軸
方向)の長さをA、縦方向の長さをBとすると、A/
(Xmax−Xmin)と3/ (Ymax−Ymin
)の小さい方の倍率、即ち、lll1n(A/ (Xm
ax−Xmin) 、B/ (Ymax−Ymin))
が、描画のための倍率となる。また、描画の中心座標値
は、数値制御データの中点が、移動輪金ての最大値、最
小値から、X軸方向では、(Xmax−Xmin)/2
、Y軸方向では、(YmaX−Ymin)/2 、であ
り、描画装置の描画可能範囲の中点が、横方向(X軸方
向)ではA/2、縦方向(Y軸方向)で゛はB/2、で
あるため、上記数値制御データの中点を上記描画装置の
描画可能範囲の中点に一致させれば良い。First, in step 21, the first line of numerical control data is read. Subsequently, in step 22, the drawing magnification and drawing center coordinate values are calculated. Specifically, based on the information on the maximum and minimum coordinate values of each movement axis of the numerical control device, which is set in the first line of the numerical control data read in step 21, as shown in FIG. , the maximum value in the X-axis direction is xmax, the minimum value is Xm1n, the maximum value in the Y-axis direction is ymax, the minimum value is Ymin, the length of the drawing device's drawable range in the horizontal direction (X-axis direction) is A, and the length is If the length in the direction is B, then A/
(Xmax-Xmin) and 3/ (Ymax-Ymin
), i.e., lll1n(A/(Xm
ax-Xmin), B/ (Ymax-Ymin))
is the magnification for drawing. In addition, the center coordinate value of the drawing is (Xmax-Xmin)/2 in the X-axis direction, since the midpoint of the numerical control data is the maximum value and minimum value of the moving ring.
, in the Y-axis direction, is (YmaX-Ymin)/2, and the midpoint of the drawable range of the drawing device is A/2 in the horizontal direction (X-axis direction) and A/2 in the vertical direction (Y-axis direction). B/2, so it is sufficient to match the midpoint of the numerical control data to the midpoint of the drawing range of the drawing device.
次に、ステップ23でステップ22で求めた描画諸元に
従って、2行目以降の数値制御データを描画する。Next, in step 23, numerical control data from the second line onward is drawn according to the drawing specifications obtained in step 22.
このように、図形情報等の入力データ(1)を入力する
入力装置(2)と、この入力装置(2)の出力である図
形情報データから各種の幾何学的計算を行なうと共に、
図形情報データの内容を解釈する中央処理装置(3)と
、前記入力装置(2)の出力である図形情報データと前
記中央処理装置(3)の出力をもとに、各移動軸の最大
座標値及び最小座標値を算出する最大移動範囲算出手段
(6)と、前記中央処理装置(3)の出力に基づいて数
値制御データ(5)を出力し、その数値制御データ(5
)の有効情報部先頭行に、前記数値制御装置の最大移動
範囲算出手段(6)からの各移動軸の最大座標値及び最
小座標値情報を設定する出力装置(4)を具備する数値
制m装置の自動プログラミング装置を第一の発明とする
ことができる。In this way, various geometric calculations are performed from the input device (2) that inputs input data (1) such as graphic information, and the graphic information data that is the output of this input device (2),
A central processing unit (3) that interprets the contents of graphic information data, and a maximum coordinate of each axis of movement based on the graphic information data output from the input device (2) and the output of the central processing unit (3). and a maximum movement range calculating means (6) for calculating a value and a minimum coordinate value, and outputs numerical control data (5) based on the output of the central processing unit (3), and outputs the numerical control data (5).
) is provided with an output device (4) for setting the maximum coordinate value and minimum coordinate value information of each movement axis from the maximum movement range calculating means (6) of the numerical control device in the first row of the effective information section. A first invention may be an automatic programming device for a device.
上記構成によれば、数値制御データ(5)の有効情報部
先頭行に各移動軸の最大座標値及び最小座標値情報を設
°定するものであるから、数値制御装置で数値制御デー
タ(5)を描画する場合に、この数値制御データ(5)
の先頭行に存在する数値制m装置の最大移動範囲を示す
情報を読取り、描画倍率と描画中心座標値を求めること
ができるので、結果的に、これを使用して数値制御装置
が描画を開始する時間を大幅に短縮できる。According to the above configuration, since the maximum coordinate value and minimum coordinate value information of each movement axis are set in the first row of the effective information section of the numerical control data (5), the numerical control data (5) is set in the numerical control data (5). ), this numerical control data (5)
It is possible to read the information indicating the maximum movement range of the numerical control device present in the first row of , and determine the drawing magnification and drawing center coordinate values, so the numerical control device starts drawing using this information. This can significantly reduce the time required.
また、この第二の発明の数値制御装置によれば、有効情
報部先頭行に数値制御装置(12)の各移動軸の最大座
標値及び最小座標値情報が設定された数値制御データ(
5)を入力する数値制御データ入力装置(7)と、この
数値制御データ(5)を入力する数値制御データ入力装
置(7)に入力された数値制御データ(5)の先頭行の
データから数値制御装置(12)の最大移動範囲を抽出
する最大移動範囲抽出手段(8)と、この最大移動範囲
情報に基づいて描画装置(11’)の画面サイズに応じ
た描画倍率と描画中心座標値を算出する描画倍率・描画
中心座標値算出手段(10)と、この描画倍率・描画中
心座標値算出手段(10)の出力でおる描画倍率と描画
中心座標値に基づいて描画を行う描画装置(11)とを
具備する数値制御装置を第二の発明とすることができる
。Further, according to the numerical control device of the second invention, the numerical control data (
5), and a numerical control data input device (7) for inputting this numerical control data (5) from the first row data of the numerical control data (5) input to the numerical control data input device (7) for inputting this numerical control data (5). A maximum movement range extracting means (8) for extracting the maximum movement range of the control device (12), and a drawing magnification and drawing center coordinate value according to the screen size of the drawing device (11') based on this maximum movement range information. A drawing magnification/drawing center coordinate value calculation means (10) to calculate, and a drawing device (11) that performs drawing based on the drawing magnification and drawing center coordinate value output from the drawing magnification/drawing center coordinate value calculation means (10). ) can be made into a second invention.
上記構成によれば、有効情報部先頭行に数値制御装置(
12)の各移動軸の最大座標値及び最小座標値情報が設
定された数値制御データ(5)により、直接描画領域を
決定できるから、数値制御装置(12)で数値制御デー
タ(5)を描画する場合、上記数値制御データ(5)の
先頭行に存在する数値制御装@ (12)の最大移動範
囲を示す情報を読取り、描画倍率と描画中心座標値を求
めることができるので、全体の数値制御データ(5)を
読取る必要がないから、描画装置(11)が描画を開始
する時間を大幅に短縮できる。According to the above configuration, the numerical control device (
Since the drawing area can be directly determined using the numerical control data (5) in which the maximum and minimum coordinate value information of each movement axis is set in step 12), the numerical control data (5) can be drawn using the numerical control device (12). When doing so, the information indicating the maximum movement range of the numerical control device @ (12) present in the first row of the numerical control data (5) can be read and the drawing magnification and drawing center coordinate values can be determined, so the overall numerical value Since there is no need to read the control data (5), the time it takes for the drawing device (11) to start drawing can be significantly shortened.
[発明の効果]
以上のように、この第一の発明の数値制6Il装置の自
動プログラミング装置によれば、図形情報等の入力デー
タを入力する入力装置と、この入力装置の出力である図
形情報データから各種の幾何学的計算を行なうと共に、
図形情報データの内容を解釈する中央処理装置と、前記
入力装置の出力でおる図形情報データと前記中央処理装
置の出力をもとに、各移動軸の最大座標値及び最小座標
値を算出する最大移動範囲算出手段と、前記中央処理装
置の出力に基づいて数値制御データを出力し、その数値
制御データの有効情報部先頭行に、前記最大移動範囲算
出手段からの各移動軸の最大座標値及び最小座標値情報
を設定する出力装置を具備し、数値制御データの有効情
報部先頭行に各移動軸の最大座標値及び最小座標値情報
を設定するものであるから、数値制御装置で数値制御デ
ータを描画する場合、上記数値制御データの先頭行に存
在する数値制御装置の最大移動範囲を示す情報を読取り
、描画倍率と描画中心座標値を求めることができるので
、結果的に、描画装置が描画を開始する時間を大幅に短
縮できる。[Effects of the Invention] As described above, according to the automatic programming device for the numerical system 6Il device of the first invention, there is an input device for inputting input data such as graphical information, and a graphical information output from this input device. In addition to performing various geometric calculations from the data,
A central processing unit that interprets the contents of graphic information data, and a maximum coordinate value that calculates the maximum and minimum coordinate values of each axis of movement based on the graphic information data output from the input device and the output of the central processing unit. A movement range calculation means outputs numerical control data based on the output of the central processing unit, and the maximum coordinate value of each movement axis from the maximum movement range calculation means and the It is equipped with an output device for setting the minimum coordinate value information, and sets the maximum coordinate value and minimum coordinate value information of each movement axis in the first line of the effective information section of the numerical control data. When drawing, the information indicating the maximum movement range of the numerical control device present in the first row of the numerical control data can be read and the drawing magnification and drawing center coordinate values can be determined.As a result, the drawing device can draw The time it takes to start can be significantly reduced.
また、この第二の発明の数値制御装置によれば、有効情
報部先頭行に各移動軸の最大圧゛標値及び最小座標値情
報が設定された数値制御データを入力する数値制御デー
タ入力装置と、この数値制御データ入力装置に入力され
た数値制御データの先頭行のデータから最大移動範囲を
抽出する最大移動範囲抽出手段と、この最大移動範囲情
報に基づいて描画装置の画面サイズに応じた描画倍率と
描画中心座標値を算出する描画倍率・描画中心座標値算
出手段と、この描画倍率・描画中心座標値算出手段の出
力である描画倍率と描画中心座標値に基づいて描画を行
う描画装置とを具備し、有効情報部先頭行に数値制御装
置の各移動軸の最大座標値及び最小座標値情報が設定さ
れた数値制御データにより、直接描画領域を決定できる
から、数値制御l装置で数値制御データを描画する場合
、上記数値制御データの先頭行に存在する数値制御装置
の最大移動範囲を示す情報を読取り、描画倍率と描画中
心座標値を求めることができるので、全体の数値制御デ
ータを読取る必要がないから、描画装置が描画を開始す
る時間を大幅に短縮できる。Further, according to the numerical control device of the second invention, the numerical control data input device inputs the numerical control data in which the maximum pressure target value and minimum coordinate value information of each moving axis are set in the first line of the effective information section. and maximum movement range extraction means for extracting the maximum movement range from the data in the first row of the numerical control data input to the numerical control data input device; A drawing magnification and drawing center coordinate value calculation means for calculating a drawing magnification and drawing center coordinate value, and a drawing device that performs drawing based on the drawing magnification and drawing center coordinate value that are output from the drawing magnification and drawing center coordinate value calculation means. Since the drawing area can be directly determined by the numerical control data in which the maximum and minimum coordinate value information of each movement axis of the numerical control device is set in the first row of the effective information section, the numerical control data can be directly determined by the numerical control device. When drawing control data, the information indicating the maximum movement range of the numerical control device present in the first row of the numerical control data can be read and the drawing magnification and drawing center coordinate values can be determined. Since there is no need for reading, the time it takes for the drawing device to start drawing can be significantly shortened.
第1図はこの第一の発明の一実施例の数値制御装置の描
画動作を示すフローチャート、第2図はこの第一の発明
の一実施例の数値制御l装置のための自動プログラミン
グ装置を示ずブロック図、第3図はこの第一の発明の一
実施例の数値制御装置のための自動プログラミング装置
により作成した極めて簡単な数値制御データの内容例を
示す説明図、第4図はこの第二の発明の実施例の数値制
御データを用いて描画を行う数値制御装置を示すブロッ
ク図、第5図は従来の数値制御装置の描画動作を示すフ
ローチャート、第6図は従来の数値制御装置のための自
動プログラミング装置を示すブロック図、第7図は従来
の極めて簡単な数値制御データの内容例を示す説明図、
第8図はこの発明の実施例及び従来例の描画のための倍
率及び中心座標値の算出を示す説明図である。
図において、
1:図形情報等の入力データ、2:入力装置、3:中央
処理装置、 4:出力装置、5:数値制御デー
タ、
6:数値制御装置の最大移動範囲算出手段、7:数値制
御データ入力装置、
8:最大移動範囲抽出手段、
9:描画装置の画面サイズデータ、
10:描画倍率・描画中心座標値算出手段、11:描画
装置、 12:数値制御装置、である。
なお、図中、同−符号及び同一記号は同一または相当部
分を示すものである。
代理人 弁理士 大台 地相 外2名
第6図
手
続
補
正
書
(自発)
5゜
補正の対象
平成
1”s”3m
図面FIG. 1 is a flowchart showing the drawing operation of a numerical control device according to an embodiment of the first invention, and FIG. 2 shows an automatic programming device for the numerical control device according to an embodiment of the first invention. 3 is an explanatory diagram showing an example of the contents of extremely simple numerical control data created by an automatic programming device for a numerical control device according to an embodiment of the first invention, and FIG. 4 is a block diagram of this example. A block diagram showing a numerical control device that performs drawing using numerical control data according to the embodiment of the second invention, FIG. 5 is a flowchart showing the drawing operation of the conventional numerical control device, and FIG. FIG. 7 is an explanatory diagram showing an example of the content of conventional extremely simple numerical control data;
FIG. 8 is an explanatory diagram showing calculation of magnification and center coordinate values for drawing in the embodiment of the present invention and the conventional example. In the figure, 1: Input data such as graphic information, 2: Input device, 3: Central processing unit, 4: Output device, 5: Numerical control data, 6: Maximum movement range calculation means of numerical control device, 7: Numerical control Data input device; 8: maximum movement range extraction means; 9: screen size data of the drawing device; 10: drawing magnification/drawing center coordinate value calculation means; 11: drawing device; 12: numerical control device. In the drawings, the same reference numerals and the same symbols indicate the same or equivalent parts. Agent: Patent attorney Odai, Geographical Minister, and 2 others Figure 6 procedural amendment (voluntary) 5° Amendment subject Heisei 1"s" 3m drawing
Claims (1)
この入力装置の出力である図形情報データから各種の幾
何学的計算を行なうと共に、図形情報データの内容を解
釈する中央処理装置と、前記入力装置の出力である図形
情報データと前記中央処理装置の出力をもとに、各移動
軸の最大座標値及び最小座標値を算出する最大移動範囲
算出手段と、前記中央処理装置の出力に基づいて数値制
御データを出力し、その数値制御データの有効情報部先
頭行に、前記最大移動範囲算出手段からの各移動軸の最
大座標値及び最小座標値情報を設定する出力装置とを具
備することを特徴とする数値制御装置の自動プログラミ
ング装置。(2)有効情報部先頭行に各移動軸の最大座
標値及び最小座標値情報が設定された数値制御データを
入力する数値制御データ入力装置と、この数値制御デー
タ入力装置に入力された数値制御データの先頭行のデー
タから最大移動範囲を抽出する最大移動範囲抽出手段と
、この最大移動範囲情報に基づいて描画装置の画面サイ
ズに応じた描画倍率と描画中心座標値を算出する描画倍
率・描画中心座標値算出手段と、この描画倍率・描画中
心座標値算出手段の出力である描画倍率と描画中心座標
値に基づいて描画を行う描画装置とを具備することを特
徴とする数値制御装置。(1) An input device for inputting input data such as graphic information,
A central processing unit that performs various geometric calculations from the graphical information data that is the output of the input device and interprets the contents of the graphical information data; Maximum movement range calculating means for calculating the maximum and minimum coordinate values of each movement axis based on the output, and outputting numerical control data based on the output of the central processing unit, and valid information of the numerical control data. An automatic programming device for a numerical control device, comprising: an output device for setting maximum coordinate value and minimum coordinate value information of each movement axis from the maximum movement range calculation means in the first row of the section. (2) A numerical control data input device for inputting numerical control data in which the maximum coordinate value and minimum coordinate value information of each movement axis are set in the first row of the effective information section, and the numerical control data input to this numerical control data input device. A maximum movement range extraction means that extracts the maximum movement range from the data in the first row of data, and a drawing magnification/drawing that calculates the drawing magnification and drawing center coordinate value according to the screen size of the drawing device based on this maximum movement range information. A numerical control device comprising: a center coordinate value calculation means; and a drawing device that performs drawing based on the drawing magnification and drawing center coordinate value that are output from the drawing magnification/drawing center coordinate value calculation means.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP20437188A JPH0253108A (en) | 1988-08-17 | 1988-08-17 | Numerical controller and its automatic programming device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP20437188A JPH0253108A (en) | 1988-08-17 | 1988-08-17 | Numerical controller and its automatic programming device |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH0253108A true JPH0253108A (en) | 1990-02-22 |
Family
ID=16489409
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP20437188A Pending JPH0253108A (en) | 1988-08-17 | 1988-08-17 | Numerical controller and its automatic programming device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH0253108A (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US5506683A (en) * | 1990-04-30 | 1996-04-09 | Kumho & Co., Inc. | Non-contact measuring apparatus for the section profile of a tire and its method |
-
1988
- 1988-08-17 JP JP20437188A patent/JPH0253108A/en active Pending
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US5506683A (en) * | 1990-04-30 | 1996-04-09 | Kumho & Co., Inc. | Non-contact measuring apparatus for the section profile of a tire and its method |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JPH0253108A (en) | Numerical controller and its automatic programming device | |
| JPH0549993B2 (en) | ||
| JP2663967B2 (en) | Information storage control method | |
| JP2777628B2 (en) | Graphic processing method and apparatus | |
| JP2956089B2 (en) | Pictogram creation device for figure editor | |
| JPH0334098B2 (en) | ||
| JP3246361B2 (en) | Display device | |
| JPH01194075A (en) | Cad device | |
| JPH0250768A (en) | Expanded drawing method | |
| JPH02311905A (en) | Nc data display method | |
| JPH05242261A (en) | Method for displaying graph | |
| JPH06202796A (en) | Information storage method | |
| JPH04342084A (en) | Method and device for plotting curve | |
| JPH0546707A (en) | Information processor | |
| JPH04156694A (en) | Character recognition system | |
| JPS63211466A (en) | Graphic input device | |
| JPH05165938A (en) | Drawing device and drawing method | |
| JPH0611363A (en) | Display device data reading method | |
| JPH0546706A (en) | Information processor | |
| JPH04188280A (en) | Picture display method for cad drawing data | |
| JPH0831095B2 (en) | Table editing method | |
| JPH08115351A (en) | Plant screen design equipment | |
| JPH0793577A (en) | Fill processing method when changing closed figure | |
| JPS63271575A (en) | Automatic generation system for graphic size line | |
| JPS61115122A (en) | Input system |