JPH05127729A - Cnc controller - Google Patents
Cnc controllerInfo
- Publication number
- JPH05127729A JPH05127729A JP28751391A JP28751391A JPH05127729A JP H05127729 A JPH05127729 A JP H05127729A JP 28751391 A JP28751391 A JP 28751391A JP 28751391 A JP28751391 A JP 28751391A JP H05127729 A JPH05127729 A JP H05127729A
- Authority
- JP
- Japan
- Prior art keywords
- machine position
- target track
- dimensional error
- locus
- cnc controller
- 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
【0001】[0001]
【産業上の利用分野】本発明は、軌跡精度の評価機能を
搭載し、オン・ザ・マシン計測が簡単にできる、平面形
状を直線と円弧の組合せで加工する直交XY軸制御のC
NC制御装置に関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention is equipped with a trajectory accuracy evaluation function, and can perform on-the-machine measurement easily.
The present invention relates to an NC control device.
【0002】[0002]
【従来の技術】従来の連続りんかく制御(以後CP制御
と言う)のCNC制御装置においては、CP制御評価と
して切断したカットサンプルの精度は三次元測定器で精
度を計るか、円の円周または外周を回転させながら測定
することによって真円度を測定していた。ユーザーでは
上記の計測器をもっていない場合が多く精度の良い評価
が困難であった。2. Description of the Related Art In a conventional CNC controller for continuous ring control (hereinafter referred to as CP control), the accuracy of a cut sample cut as CP control evaluation is measured by a three-dimensional measuring instrument or the circumference of a circle. Alternatively, the circularity is measured by rotating the outer circumference while measuring. In many cases, users did not have the above measuring instruments, and it was difficult to perform accurate evaluation.
【0003】[0003]
【発明が解決しようとする課題】このような従来の方法
においては、CP制御評価を簡単にしかも高精度に評価
することができなかった。In such a conventional method, the CP control evaluation could not be easily and highly accurately evaluated.
【0004】本発明は、このような問題点を解決するも
ので、CNC制御装置にフィードバックパルス(以下F
Bパルスと言う)より軌跡精度の評価機能を付加するこ
とで、CP制御評価を簡単にしかも高精度に行えるCN
C制御装置を提供することを目的とする。The present invention solves such a problem, and a feedback pulse (hereinafter referred to as F
(It is referred to as B pulse). By adding the function of evaluating the locus accuracy, the CP control can be evaluated easily and accurately.
An object is to provide a C control device.
【0005】[0005]
【課題を解決するための手段】上記目的を達成するため
に、本発明のCNC制御装置は、スタート時の初期値に
サンプリング周期ごとに読み込むフィードバックパルス
を加算して機械位置を算出する手段と、目標軌跡がy=
ax+bの直線の時はa,bおよび機械位置から、また
目標軌跡が半径rの円弧の時はrと円弧中心座標と機械
位置から目標軌跡に対する機械位置の寸法誤差を機械位
置を通る目標軌跡の法線の方向に沿って算出する手段
と、目標軌跡と目標軌跡を基準として拡大した尺度で上
記寸法誤差の軌跡を表示する手段とを備えている。In order to achieve the above object, the CNC control device of the present invention comprises means for adding a feedback pulse to be read at each sampling cycle to an initial value at the start, and calculating a machine position. The target locus is y =
When the straight line is ax + b, a, b and the machine position are used. When the target trajectory is an arc having a radius r, r, the center coordinates of the arc, and the dimensional error of the machine position with respect to the target trajectory from the machine position to the target trajectory passing through the machine position. It is provided with a means for calculating along the direction of the normal line and a means for displaying the locus of the above-mentioned dimensional error on a scale enlarged based on the target locus and the target locus.
【0006】[0006]
【作用】目標軌跡と寸法誤差の軌跡によってCP制御の
精度が分かりやすく表示される。The accuracy of the CP control is displayed in an easy-to-understand manner by the target locus and the dimensional error locus.
【0007】[0007]
【実施例】以下、本発明の一実施例を図面を参照しなが
ら説明する。DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described below with reference to the drawings.
【0008】図1は本発明のCNC制御装置の実施例を
示すブロック図である。図1において、1はCNC制御
装置、2はレーザーマシン、20はX−Yテーブル、3
はX軸モータ、4はY軸モータ、5はFBパルスであ
る。まず、CNC制御装置1から出力した指令に従っ
て、X軸モータ3およびY軸モータ4を各々のモータか
ら出力されるFBパルスをフィードバックしながら駆動
してX−Yテーブル20を動かしレーザーマシン2によ
って加工する。FIG. 1 is a block diagram showing an embodiment of a CNC controller according to the present invention. In FIG. 1, 1 is a CNC controller, 2 is a laser machine, 20 is an XY table, 3
Is an X-axis motor, 4 is a Y-axis motor, and 5 is an FB pulse. First, according to the command output from the CNC control device 1, the X-axis motor 3 and the Y-axis motor 4 are driven while feeding back the FB pulse output from each motor, and the XY table 20 is moved to be processed by the laser machine 2. To do.
【0009】図2はCNC制御装置1に付加された軌跡
精度評価機能を示すフロー図である。図2において、ス
テップ8では前回の機械位置にFBパルスを加算して現
在の機械位置(xn,yn)を計算する。ステップ9で
は現在切断している軌跡が円弧または直線であるかを判
断して、直線の場合は、ステップ10で直線の傾きaと
初期値bを読み込む。次にステップ11でa,b,(x
n,yn)を使って軌跡誤差を計算する。またステップ
9で円弧の場合は、ステップ12で半径rと中心点(x
0,y0)を読み込む。次にステップ13でr,(x
0,y0),(xn,yn)を使って軌跡誤差を計算す
る。次にステップ14で画面に目標軌跡を表示し、ステ
ップ15で目標軌跡を基準として、接線方向に軌跡誤差
をn倍に拡大して表示する。ステップ16では軌跡の終
端かどうかを判定して、途中であればステップ8に戻っ
て繰り返し計算,表示を続行し軌跡の終端で表示を完了
する。FIG. 2 is a flow chart showing a trajectory accuracy evaluation function added to the CNC controller 1. In FIG. 2, in step 8, the FB pulse is added to the previous machine position to calculate the current machine position (xn, yn). In step 9, it is determined whether the locus that is currently cut is a circular arc or a straight line, and if it is a straight line, the inclination a and the initial value b of the straight line are read in step 10. Next, in step 11, a, b, (x
Compute the trajectory error using (n, yn). If it is an arc in step 9, in step 12 the radius r and the center point (x
0, y0) is read. Next, in step 13, r, (x
0, y0), (xn, yn) is used to calculate the trajectory error. Next, in step 14, the target trajectory is displayed on the screen, and in step 15, the trajectory error is magnified n times in the tangential direction with the target trajectory as a reference and displayed. In step 16, it is judged whether it is the end of the locus, and if it is in the middle, the process returns to step 8 to continue the repeated calculation and display, and the display is completed at the end of the locus.
【0010】次に図3(a),(b)によって直線部と
円弧部に分けて、実軌跡6と目標軌跡7の誤差の計算式
を説明する。 (i)直線の場合(a)の誤差lnは、 ln=(xn−yn/a+b/a)*sin(tan-1a) (ii)円弧の場合(b)の誤差lnは、 ln=r−((xn+x0)2+(yn−y0)2)1/2 であらわされる。Next, the formula for calculating the error between the actual locus 6 and the target locus 7 will be described with reference to FIGS. (I) In the case of a straight line, the error ln in (a) is ln = (xn-yn / a + b / a) * sin (tan -1 a) (ii) In the case of a circular arc, the error ln in (b) is ln = r - represented by ((xn + x0) 2 + (yn-y0) 2) 1/2.
【0011】次に、図4において、実軌跡6を画面に見
やすく表示する方法を説明する。目標軌跡7から実軌跡
6までの距離lnを、目標軌跡に対して法線方向にn倍
に延長して、誤差を拡大して表示17とし、CP制御の
精度を分かりやすくしている。Next, referring to FIG. 4, a method for displaying the actual locus 6 on the screen in an easy-to-see manner will be described. The distance ln from the target locus 7 to the actual locus 6 is extended n times in the normal direction with respect to the target locus to magnify the error and display it 17 to make the accuracy of CP control easy to understand.
【0012】[0012]
【発明の効果】以上の説明から明らかなように本発明の
CNC制御装置は、FBパルスより軌跡精度を評価する
機能を付加することで、CP制御評価を簡単にしかも高
精度に評価できる。As is apparent from the above description, the CNC control device of the present invention can easily perform CP control evaluation with high accuracy by adding the function of evaluating the trajectory accuracy from the FB pulse.
【図1】本発明のCNC制御装置の構成を示すブロック
図FIG. 1 is a block diagram showing a configuration of a CNC control device of the present invention.
【図2】本発明の実施例における軌跡精度評価のフロー
図FIG. 2 is a flow chart of trajectory accuracy evaluation in the embodiment of the present invention.
【図3】本発明の実施例における軌跡精度の計算式を示
す説明図FIG. 3 is an explanatory diagram showing a calculation formula of trajectory accuracy in the embodiment of the present invention.
【図4】本発明の実施例における軌跡精度表示の説明図FIG. 4 is an explanatory diagram of trajectory accuracy display in the embodiment of the present invention.
1 CNC制御装置 2 レーザーマシン 3 X軸モータ 4 Y軸モータ 5 FBパルス(フィードバックパルス) 6 実軌跡 7 目標軌跡 1 CNC control device 2 Laser machine 3 X-axis motor 4 Y-axis motor 5 FB pulse (feedback pulse) 6 Actual locus 7 Target locus
Claims (1)
とに読み込むフィードバックパルスを加算して機械位置
を算出する手段と、目標軌跡がy=ax+bの直線の時
はa,bおよび機械位置から、また目標軌跡が半径rの
円弧の時はrと円弧中心座標と機械位置から目標軌跡に
対する機械位置の寸法誤差を機械位置を通る目標軌跡の
法線の方向に沿って算出する手段と、目標軌跡と目標軌
跡を基準として拡大した尺度で上記寸法誤差の軌跡を表
示する手段とを備えたCNC制御装置。1. A means for calculating a machine position by adding a feedback pulse read at every sampling cycle to an initial value at the start, and when the target locus is a straight line of y = ax + b, from a, b and the machine position, When the target locus is an arc having a radius r, a means for calculating the dimensional error of the machine position relative to the target locus from r, the arc center coordinates, and the machine position along the direction of the normal line of the target locus passing through the machine position; And a means for displaying the locus of the dimensional error on an enlarged scale with the target locus as a reference.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP28751391A JPH05127729A (en) | 1991-11-01 | 1991-11-01 | Cnc controller |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP28751391A JPH05127729A (en) | 1991-11-01 | 1991-11-01 | Cnc controller |
Publications (1)
Publication Number | Publication Date |
---|---|
JPH05127729A true JPH05127729A (en) | 1993-05-25 |
Family
ID=17718317
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP28751391A Pending JPH05127729A (en) | 1991-11-01 | 1991-11-01 | Cnc controller |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH05127729A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105527924A (en) * | 2014-10-16 | 2016-04-27 | 发那科株式会社 | Time series data display device |
CN107806825A (en) * | 2017-09-29 | 2018-03-16 | 西安交通大学 | The line lathe space geometry error measure discrimination method of three face five based on plane grating |
-
1991
- 1991-11-01 JP JP28751391A patent/JPH05127729A/en active Pending
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105527924A (en) * | 2014-10-16 | 2016-04-27 | 发那科株式会社 | Time series data display device |
US9753450B2 (en) | 2014-10-16 | 2017-09-05 | Fanuc Corporation | Time series data display device converting point sequence data to time series data regarding drive axes to be displayed |
CN107806825A (en) * | 2017-09-29 | 2018-03-16 | 西安交通大学 | The line lathe space geometry error measure discrimination method of three face five based on plane grating |
CN107806825B (en) * | 2017-09-29 | 2019-04-09 | 西安交通大学 | Three faces, five line lathe space geometry error measure discrimination method based on plane grating |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JPH0360956A (en) | Non-contact profile control device | |
US4639855A (en) | Tool display method for lathe equipped with numerical control unit | |
JPH03121754A (en) | Noncontact tracing control device | |
JP2007245342A (en) | Method and device for measuring position of cutting edge in tool, work machining method, and machine tool | |
JPH05127729A (en) | Cnc controller | |
JPH0659717A (en) | Nc device having tool locus data plotting function and plotting method thereof | |
JPS61244448A (en) | Tool file | |
JPH0550361A (en) | Tool center height measuring device | |
JPH06138921A (en) | Measuring method and automatic correction method for linear interpolation feeding accuracy of numerically controlled machine tool | |
JPH10103905A (en) | Measurement method | |
JPH0780752A (en) | Numerical control method and numerical control system | |
JPS63285610A (en) | Probe angle controller for motor-driven probe | |
JP2572936B2 (en) | Shape measuring instruments | |
JPH0740193A (en) | Nc programing method and nc control system | |
JP3520631B2 (en) | Laser processing machine | |
JPH0592349A (en) | Numerically controlled device | |
JP2742959B2 (en) | Laser processing equipment | |
JPH07110706A (en) | Method and system for numerical control | |
JPH07159147A (en) | Three-dimensional measuring system | |
JPH06194139A (en) | Shape measuring method | |
JPS62130160A (en) | Automatic tool correcting device for nc machine tool | |
JPH08320718A (en) | Numerical controller | |
JPH06347255A (en) | Method and apparatus for discrimination of measuring plane of coordinate measuring machine | |
JP2005122580A (en) | Method for calculating curved surface of workpiece and its program and medium | |
JP2883671B2 (en) | Numerical controller with sizing function |