JPH0991016A - Numerical controller - Google Patents

Numerical controller

Info

Publication number
JPH0991016A
JPH0991016A JP24419495A JP24419495A JPH0991016A JP H0991016 A JPH0991016 A JP H0991016A JP 24419495 A JP24419495 A JP 24419495A JP 24419495 A JP24419495 A JP 24419495A JP H0991016 A JPH0991016 A JP H0991016A
Authority
JP
Japan
Prior art keywords
counter
data
value
position error
absolute position
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
JP24419495A
Other languages
Japanese (ja)
Inventor
Toshiaki Otsuki
俊明 大槻
Haruhiko Kozai
治彦 香西
Masahiko Miyake
雅彦 三宅
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fanuc Corp
Original Assignee
Fanuc Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fanuc Corp filed Critical Fanuc Corp
Priority to JP24419495A priority Critical patent/JPH0991016A/en
Publication of JPH0991016A publication Critical patent/JPH0991016A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To detect a position error at an optional place and optional time other than reference point restoration. SOLUTION: An integration counter 16 integrates the interpolation pulses of moving command data 11 and the interpolation pulses of correction data 12. A machine coordinate counter 17 integrates only the interpolation pulses of the data 11. An absolute position detecting counter 18a counts up an one- rotation signal to be an absolute position detection value from a servo motor 72. A machine side position error detecting means 19 compares a value obtained by adding the integration value of the counter 16 and the initial value of the counter 18a with the count value of the counter 18a. A CNC (computerized numerical controller) side position error detecting means 20 compares the output of a machine coordinate data generating part 13 with the integration value of the counter 17. When a data difference is not included in an allowable range as the result of comparison, an alarm signal is outputted.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は数値制御装置に関
し、特に位置誤り検出制御を行う数値制御装置に関す
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a numerical control device, and more particularly to a numerical control device that performs position error detection control.

【0002】[0002]

【従来の技術】数値制御装置(CNC)では絶対位置検
出器で測定された絶対位置とNCプログラムで指令され
た移動指令の積算値とが対応しているかどうかチェック
が行われている。また、これはリファレンス点復帰時に
行われている。
2. Description of the Related Art In a numerical control device (CNC), it is checked whether or not the absolute position measured by an absolute position detector and the integrated value of movement commands instructed by an NC program correspond to each other. This is also done when returning to the reference point.

【0003】すなわち数値制御装置の各軸には絶対位置
検出器が取り付けられている。そして絶対位置検出器内
の絶対位置検出カウンタで機械の現在位置を計数し、絶
対位置が検出されている。一方、NCプログラム内の移
動指令データの補間パルスは装置内にあるリファレンス
カウンタでカウントされる。そして絶対位置検出カウン
タからのカウント値とリファレンスカウンタからのカウ
ント値とをリファレンス点において比較することにより
位置誤りが検出されている。
That is, an absolute position detector is attached to each axis of the numerical controller. Then, the absolute position detection counter in the absolute position detector counts the current position of the machine to detect the absolute position. On the other hand, the interpolation pulse of the movement command data in the NC program is counted by the reference counter in the device. Then, the position error is detected by comparing the count value from the absolute position detection counter and the count value from the reference counter at the reference point.

【0004】[0004]

【発明が解決しようとする課題】しかし、リファレンス
点復帰時に行われる位置誤り検出ではリファレンス点と
いう特定の場所、特定の時間に限られるので、それ以外
の場所や時間での位置誤り検出は行われていなかった。
However, the position error detection performed at the time of returning the reference point is limited to the reference point at a specific place and at a specific time. Therefore, the position error detection is not performed at any other place or time. Didn't.

【0005】本発明はこのような点に鑑みてなされたも
のであり、任意の場所、時間で位置誤り検出を行うこと
ができる数値制御装置を提供することを目的とする。
The present invention has been made in view of the above circumstances, and an object of the present invention is to provide a numerical controller capable of detecting a position error at an arbitrary place and time.

【0006】[0006]

【課題を解決するための手段】本発明では上記課題を解
決するために、位置誤り検出制御を行う数値制御装置に
おいて、サーボモータに対する移動指令データの補間パ
ルスと補正データの補間パルスとを積算する積算カウン
タと、前記サーボモータに対する絶対位置検出値をカウ
ントする絶対位置検出カウンタと、前記積算カウンタの
積算値及び前記絶対位置検出カウンタの初期値とを加算
した値と、前記絶対位置検出カウンタのカウント値とを
比較して、これらのデータの差が許容範囲内にない場合
は、アラーム信号を出力する機械側位置誤り検出手段
と、サーボモータに対する移動指令データの補間パルス
を積算する機械座標カウンタと、パラメータで設定され
た機械座標データと、前記機械座標カウンタの積算値と
前記機械座標データとを比較して、これらのデータの差
が許容範囲内にない場合は、アラーム信号を出力する数
値制御側位置誤り検出手段とを有することを特徴とする
数値制御装置が提供される。
In order to solve the above problems, the present invention integrates an interpolation pulse of movement command data and an interpolation pulse of correction data for a servomotor in a numerical controller for position error detection control. A total counter, an absolute position detection counter for counting the absolute position detection value for the servo motor, a value obtained by adding the total value of the total counter and the initial value of the absolute position detection counter, and the count of the absolute position detection counter If the difference between these data is not within the allowable range by comparing the values, the machine side position error detection means that outputs an alarm signal and the machine coordinate counter that integrates the interpolation pulse of the movement command data for the servo motor , Machine coordinate data set by parameters, integrated value of the machine coordinate counter and the machine coordinate data By comparing the difference in these data may not be within the allowable range, a numerical controller and having a numerical control-side position error detecting means for outputting an alarm signal is provided.

【0007】ここで、積算カウンタは移動指令データの
補間パルスと補正データの補間パルスとを積算する。機
械座標カウンタは移動指令データの補間パルスのみを積
算する。絶対位置検出器はサーボモータに取り付けられ
ており、その内部にある絶対位置検出カウンタはサーボ
モータの絶対位置検出値である1回転信号をカウントす
る。機械側位置誤り検出手段は積算カウンタからの積算
値及び絶対位置検出カウンタの初期値とを加算した値
と、絶対位置検出カウンタからのカウント値とを比較
し、そのデータ差が許容範囲内にない場合はアラーム信
号を出力する。CNC側位置誤り検出手段は機械座標カ
ウンタからの積算値と機械座標データとを比較し、その
データ差が許容範囲内にない場合はアラーム信号を出力
する。
Here, the integration counter integrates the interpolation pulse of the movement command data and the interpolation pulse of the correction data. The machine coordinate counter integrates only interpolation pulses of movement command data. The absolute position detector is attached to the servo motor, and an absolute position detection counter inside the servo motor counts one rotation signal which is an absolute position detection value of the servo motor. The machine side position error detection means compares the value obtained by adding the integrated value from the integration counter and the initial value of the absolute position detection counter with the count value from the absolute position detection counter, and the data difference is not within the allowable range. In that case, an alarm signal is output. The CNC side position error detecting means compares the integrated value from the machine coordinate counter with the machine coordinate data and outputs an alarm signal if the data difference is not within the allowable range.

【0008】[0008]

【発明の実施の形態】以下、本発明の実施の形態を図面
に基づいて説明する。図1は本発明の数値制御装置(C
NC)における主要部を示す概念図である。CNCは、
移動指令データ11及び補正データ12と、これらのデ
ータをそれぞれ補間パルスに変換する移動指令データ補
間手段14及び補正データ補間手段15と、パラメータ
で設定された機械座標データ13と、補間パルスを速度
指令信号に変換し、サーボアンプ62に出力する軸制御
回路52と、補間パルスを積算する積算カウンタ16
と、移動指令データ11の補間パルスのみを積算する機
械座標カウンタ17と、サーボモータ72に取り付けら
れている絶対位置検出器18と、絶対位置検出器18内
に含まれる絶対位置検出カウンタ18aと、絶対位置検
出カウンタ18aのカウント値及び積算カウンタ16の
積算値とを比較する機械側位置誤り検出手段19と、機
械座標カウンタ17の積算値と機械座標データとを比較
するCNC側位置誤り検出手段20とで構成される。
Embodiments of the present invention will be described below with reference to the drawings. FIG. 1 shows a numerical control device (C
It is a conceptual diagram which shows the principal part in NC. CNC is
The movement command data 11 and the correction data 12, the movement command data interpolating means 14 and the correction data interpolating means 15 for converting these data into interpolation pulses respectively, the machine coordinate data 13 set by the parameters, and the interpolation pulse to the speed instruction. An axis control circuit 52 that converts the signal into a signal and outputs the signal to the servo amplifier 62, and an integration counter 16 that integrates the interpolation pulse
A mechanical coordinate counter 17 that integrates only the interpolation pulses of the movement command data 11, an absolute position detector 18 attached to the servomotor 72, an absolute position detection counter 18a included in the absolute position detector 18, Machine side position error detection means 19 for comparing the count value of the absolute position detection counter 18a and the integration value of the integration counter 16, and CNC side position error detection means 20 for comparing the integration value of the machine coordinate counter 17 and the machine coordinate data. Composed of and.

【0009】移動指令データ11はサーボモータ72に
対する移動指令値である。これはCNCからモーション
コマンドで指令される。補正データ12はバックラッシ
補正、ピッチ誤差補正及び真直度補正などの補正値であ
る。機械座標データ13はNCプログラム内で位置誤り
検出を行う指令毎に予めパラメータで設定されている。
The movement command data 11 is a movement command value for the servo motor 72. This is instructed by the motion command from the CNC. The correction data 12 are correction values such as backlash correction, pitch error correction, and straightness correction. The machine coordinate data 13 is set in advance as a parameter for each command for detecting a position error in the NC program.

【0010】移動指令データ補間手段14は移動指令デ
ータ11を補間パルスに変換する。補正データ補間手段
15は補正データ12を補間パルスに変換する。軸制御
回路52はこれらの補間パルスを受けて、速度指令信号
に変換しサーボアンプ62に出力する。
The movement command data interpolation means 14 converts the movement command data 11 into interpolation pulses. The correction data interpolating means 15 converts the correction data 12 into interpolation pulses. The axis control circuit 52 receives these interpolation pulses, converts them into speed command signals, and outputs them to the servo amplifier 62.

【0011】積算カウンタ16は移動指令データ11の
補間パルスと補正データ12の補間パルスとを積算す
る。機械座標カウンタ17は移動指令データ11の補間
パルスのみを積算する。絶対位置検出器18はサーボモ
ータ72に取り付けられており、バッテリでバックアッ
プされている。そしてその内部にある絶対位置検出カウ
ンタ18aはサーボモータ72の絶対位置検出値である
1回転信号をカウントする。
The integration counter 16 integrates the interpolation pulse of the movement command data 11 and the interpolation pulse of the correction data 12. The machine coordinate counter 17 integrates only the interpolation pulse of the movement command data 11. The absolute position detector 18 is attached to the servomotor 72 and backed up by a battery. The absolute position detection counter 18a provided therein counts one rotation signal which is the absolute position detection value of the servo motor 72.

【0012】機械側位置誤り検出手段19は積算カウン
タ16からの積算値及び電源投入後の絶対位置検出カウ
ンタの初期値とを加算した値と、絶対位置検出カウンタ
18aからのカウント値とを比較し、そのデータ差が許
容範囲内にない場合はアラーム信号を出力する。よっ
て、アラーム信号が出力された場合は、絶対位置検出器
18の異常や積算カウンタ16の積算方法の異常等と判
断することができる。
The machine side position error detecting means 19 compares the value obtained by adding the integrated value from the integrating counter 16 and the initial value of the absolute position detecting counter after the power is turned on with the count value from the absolute position detecting counter 18a. , If the data difference is not within the allowable range, an alarm signal is output. Therefore, when the alarm signal is output, it can be determined that the absolute position detector 18 is abnormal, the integrating method of the integrating counter 16 is abnormal, or the like.

【0013】CNC側位置誤り検出手段20は機械座標
データ13と機械座標カウンタ17からの積算値とを比
較し、そのデータ差が許容範囲内にない場合はアラーム
信号を出力する。この機械座標データ13は機械座標カ
ウンタ17の積算値を位置誤り検出が行われる指令毎に
予めパラメータの形で設定しておいた値である。よっ
て、アラーム信号が出力された場合は、移動指令データ
11の異常や機械座標データ13のパラメータ設定ミス
と判断することができる。
The CNC side position error detecting means 20 compares the machine coordinate data 13 with the integrated value from the machine coordinate counter 17, and outputs an alarm signal if the data difference is not within the allowable range. The machine coordinate data 13 is a value in which the integrated value of the machine coordinate counter 17 is set in advance in the form of a parameter for each command for position error detection. Therefore, when the alarm signal is output, it can be determined that there is an abnormality in the movement command data 11 or a parameter setting error in the machine coordinate data 13.

【0014】次に本発明の位置誤り検出が行われる過程
をNCプログラムを用いて詳しく説明する。図2は位置
誤り検出が行われるNCプログラム10である。プログ
ラム番号O100のシーケンスナンバN001の指令
「G28 G91 X0 Y0Z0 ;」はリファレン
ス点復帰指令であり、インクレメンタル座標で原点がリ
ファレンス点として位置決めされる。シーケンスナンバ
N002の指令「G00 G90 Z−100. Y2
00. X−200.;」は位置決め指令であり、アブ
ソリュート座標値で各軸がZ=−100.0、Y=20
0.0、X=−200.0へそれぞれ移動して位置決め
される。シーケンスナンバN003の指令「T01
;」は工具交換指令であり、シーケンスナンバN00
2で位置決めされた座標値で工具交換が行われる。シー
ケンスナンバN004の指令「S1000 M03
;」は主軸の回転指令であり、時計回りに毎分100
0回転する。シーケンスナンバN005の指令「G01
X200. F1000 ;」とシーケンスナンバN
006「Y300. ;」は直線補間指令であり、X=
200.0へ切削送り速度1000mm/minで直線
補間され、その後Y=300.0へ同じ速度で直線補間
される。よってこれらの指令によりここまでの位置はX
=200.0 Y=300.0 Z=−100.0であ
る。この座標値は機械座標カウンタでカウントされた積
算値に対応している。
Next, the process of the position error detection according to the present invention will be described in detail using an NC program. FIG. 2 shows an NC program 10 for position error detection. The command “G28 G91 X0 Y0Z0;” of the sequence number N001 of the program number O100 is a reference point return command, and the origin is positioned as a reference point in incremental coordinates. Sequence number N002 command "G00 G90 Z-100. Y2
00. X-200. “;” Is a positioning command, which is an absolute coordinate value and Z = −100.0, Y = 20 for each axis.
0.0 and X = -200.0, respectively, and it is positioned. Sequence number N003 command "T01
; Is a tool change command and has a sequence number N00.
Tool exchange is performed with the coordinate values positioned in 2. Sequence number N004 command "S1000 M03
; Is the rotation command of the spindle, and is 100 clockwise per minute.
Rotate 0 times. Sequence number N005 command "G01
X200. F1000; ”and the sequence number N
006 “Y300 .;” is a linear interpolation command, and X =
200.0 is linearly interpolated at a cutting feed speed of 1000 mm / min, and then Y = 300.0 is linearly interpolated at the same speed. Therefore, the position up to here is X by these commands.
= 200.0 Y = 300.0 Z = -100.0. This coordinate value corresponds to the integrated value counted by the machine coordinate counter.

【0015】シーケンスナンバN007「G25.1
P1 ;」は位置誤り検出を行う指令である。G25.
1コードが指令されると機械側位置誤り検出とCNC側
位置誤り検出とが行われる。機械側位置誤り検出では積
算カウンタの積算値及び電源投入後の絶対位置検出カウ
ンタの初期値とを加算した値と、絶対位置検出カウンタ
のカウント値とが比較される。さらにCNC側位置誤り
検出では機械座標カウンタの積算値と機械座標データ1
3の座標値P1(X=200.0,Y=300.0、Z
=−100.0)とが比較される。そしてこれらのデー
タ差が許容範囲内を越える場合はアラーム信号が出力さ
れる。この図では機械座標カウンタの積算値と座標値P
1とは正しく合っていることがわかる。
Sequence number N007 "G25.1
"P1;" is a command for detecting a position error. G25.
When one code is commanded, the machine side position error detection and the CNC side position error detection are performed. In the machine side position error detection, a value obtained by adding the integrated value of the integration counter and the initial value of the absolute position detection counter after the power is turned on is compared with the count value of the absolute position detection counter. Furthermore, in the position error detection on the CNC side, the integrated value of the machine coordinate counter and the machine coordinate data 1
Coordinate value P1 of 3 (X = 200.0, Y = 300.0, Z
= -100.0) is compared. When the difference between these data exceeds the allowable range, an alarm signal is output. In this figure, the integrated value of the machine coordinate counter and the coordinate value P
It turns out that it matches 1 correctly.

【0016】シーケンスナンバN020の指令「G90
X500.0 Y600.0 ;」でアブソリュート
座標値X=500.0、Y=600.0の位置座標が設
定されている。よってこれらの動作によりここまでの位
置はX=500.0 Y=600.0 Z=−100.
0であり、この値が機械座標カウンタの積算値に対応す
る。
The command "G90" of the sequence number N020
X500.0 Y600.0; ", the position coordinates of absolute coordinate values X = 500.0 and Y = 600.0 are set. Therefore, by these operations, the position up to this point is X = 500.0 Y = 600.0 Z = -100.
It is 0, and this value corresponds to the integrated value of the machine coordinate counter.

【0017】シーケンスナンバN021「G25.1
P2 ;」も絶対位置検出を行う指令である。G25.
1コードが指令されると機械側位置誤り検出とCNC側
位置誤り検出とが行われる。機械側位置誤り検出は上記
の説明と同様である。CNC側位置誤り検出では機械座
標カウンタの積算値と機械座標データ13の座標値P2
(X=500.0、Y=600.0、Z=−100.
0)とが比較される。そして、これらのデータ差が許容
範囲内を越える場合はアラーム信号が出力される。この
図では機械座標カウンタの積算値と座標値P2とは正し
く合っていることがわかる。
Sequence number N021 "G25.1
"P2;" is also a command for performing absolute position detection. G25.
When one code is commanded, the machine side position error detection and the CNC side position error detection are performed. The machine side position error detection is similar to the above description. In the position error detection on the CNC side, the integrated value of the machine coordinate counter and the coordinate value P2 of the machine coordinate data 13
(X = 500.0, Y = 600.0, Z = -100.
0) is compared. If the data difference exceeds the allowable range, an alarm signal is output. In this figure, it can be seen that the integrated value of the machine coordinate counter and the coordinate value P2 are correctly matched.

【0018】図3は本発明が適用されるハードウェアの
概略構成を示す図である。数値制御装置(CNC)30
はメインプロセッサ部(MAIN CPU)40と拡張
スロット部50とで構成される。プロセッサ(CPU)
41はバス31を介して読み取り専用記憶装置(RO
M)42に格納されたシステムプログラムを読みだす。
このシステムプログラムに従ってCNC30の全体の動
作を制御する。ランダムアクセスメモリ(RAM)43
には一時的な計算データ、表示データ等が格納される。
不揮発性ランダムアクセスメモリ(RAM)44はバッ
テリ45でバックアップされ、電源切断後も保持すべき
データである工具測定値、工具補正量、NCプログラ
ム、パラメータ等が格納される。ビデオRAM46は表
示装置に表示するための画像データが格納されている。
この画像データは表示装置(CRT)47に送信され表
示される。キーボード(KEY)48はデータ入力に使
用される操作キーやファンクションキー等を備えてい
る。
FIG. 3 is a diagram showing a schematic configuration of hardware to which the present invention is applied. Numerical control unit (CNC) 30
Is composed of a main processor section (MAIN CPU) 40 and an expansion slot section 50. Processor (CPU)
41 is a read-only storage device (RO
M) Read out the system program stored in 42.
The entire operation of the CNC 30 is controlled according to this system program. Random access memory (RAM) 43
Stores temporary calculation data, display data, and the like.
A nonvolatile random access memory (RAM) 44 is backed up by a battery 45, and stores a tool measurement value, a tool correction amount, an NC program, parameters, etc., which are data to be retained even after the power is turned off. The video RAM 46 stores image data to be displayed on the display device.
This image data is transmitted to the display device (CRT) 47 and displayed. The keyboard (KEY) 48 includes operation keys and function keys used for data input.

【0019】プログラマブル・マシン・コットローラ
(PMC)51はラダー形式で作成されたシーケンスプ
ログラムで機械側を制御する。すなわち、NCプログラ
ムで作成されたM機能、S機能及びT機能に従って、シ
ーケンスプログラムを機械側で必要な信号に変換する。
そしてI/Oユニット61から機械側に出力する。また
I/Oユニット61には強電盤あるいは操作盤71が接
続されている。
A programmable machine cot roller (PMC) 51 controls the machine side with a sequence program created in a ladder format. That is, the sequence program is converted into a necessary signal on the machine side according to the M function, S function and T function created by the NC program.
Then, the output is made from the I / O unit 61 to the machine side. Further, the I / O unit 61 is connected to a strong electric panel or an operation panel 71.

【0020】軸制御回路52、53はCPU41から各
軸へ補間、分配された移動指令を受けて、これを速度指
令信号に変換しサーボアンプ62、63に出力する。サ
ーボアンプ62、63は速度指令信号を増幅して各軸の
サーボモータ72、73を駆動する。また主軸制御回路
54も同様にCPU41から主軸に対して補間、分配さ
れた移動指令を受けて、これを速度指令信号に変換しサ
ーボアンプ64に出力する。サーボアンプ64は速度指
令信号を増幅して主軸のサーボモータ74を駆動する。
The axis control circuits 52 and 53 receive a movement command interpolated and distributed to each axis from the CPU 41, convert it into a speed command signal, and output it to the servo amplifiers 62 and 63. The servo amplifiers 62 and 63 amplify the speed command signal and drive the servo motors 72 and 73 of each axis. Similarly, the spindle control circuit 54 also receives a movement command interpolated and distributed to the spindle from the CPU 41, converts the movement command into a speed command signal, and outputs the speed command signal to the servo amplifier 64. The servo amplifier 64 amplifies the speed command signal and drives the servo motor 74 of the main shaft.

【0021】スピンドル制御回路55はスピンドル回転
指令及びスピンドルのオリエンテーション等の指令を受
けて、スピンドルアンプ65にスピンドル速度信号を出
力する。スピンドルアンプ65はこのスピンドル速度信
号を受けてスピンドルモータ75を指令された回転速度
で回転させる。また、オリエンテーション指令によって
所定の位置にスピンドルを位置決めする。
The spindle control circuit 55 outputs a spindle speed signal to a spindle amplifier 65 in response to a spindle rotation command and a spindle orientation command. The spindle amplifier 65 receives the spindle speed signal and rotates the spindle motor 75 at the commanded rotation speed. Further, the spindle is positioned at a predetermined position according to the orientation command.

【0022】インターフェース(INT)56は外部機
器用のインターフェースであり、紙テープリーダ、紙テ
ープパンチャ等の外部機器(TR)66が接続される。
以上述べたように、機械側位置誤り検出とCNC位置誤
り検出とを設けたので、プログラム指令により随時位置
の比較チェックを行うことができる。また、上記の説明
では機械側位置誤り検出とCNC側位置誤り検出とを両
方含む数値制御装置の場合について説明したが、どちら
か一方だけを有する数値制御装置とすることもできる。
The interface (INT) 56 is an interface for an external device, and is connected to an external device (TR) 66 such as a paper tape reader or a paper tape puncher.
Since the machine side position error detection and the CNC position error detection are provided as described above, the position comparison check can be performed at any time by the program command. Further, in the above description, the case of the numerical control device including both the machine side position error detection and the CNC side position error detection has been described, but a numerical control device having only one of them may be used.

【0023】[0023]

【発明の効果】以上説明したように本発明では、数値制
御装置内に機械側位置誤り検出とCNC側位置誤り検出
とを行う機能を設けた。これによりリファレンス点復帰
時に行われていた位置誤り検出が、それ以外の場所や時
間でも行えるので位置誤りを早期に発見でき、誤切削等
を最小限に抑えることができる。
As described above, according to the present invention, the numerical control device is provided with the function of performing the machine side position error detection and the CNC side position error detection. As a result, the position error detection performed at the time of returning to the reference point can be performed at other places and times, so that the position error can be detected early and erroneous cutting can be minimized.

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

【図1】本発明の数値制御装置の概要を示す原理図であ
る。
FIG. 1 is a principle diagram showing an outline of a numerical controller according to the present invention.

【図2】位置誤り検出が行われるNCプログラムの例で
ある。
FIG. 2 is an example of an NC program that performs position error detection.

【図3】本発明が適用されるハードウェアの概略構成を
示す図である。
FIG. 3 is a diagram showing a schematic configuration of hardware to which the present invention is applied.

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

11 移動指令データ 12 補正データ 13 機械座標データ 14 移動指令データ補間手段 15 補正データ補間手段 16 積算カウンタ 17 機械座標カウンタ 18 絶対位置検出器 18a 絶対位置検出カウンタ 19 機械側位置誤り検出手段 20 CNC側位置誤り検出手段 52 軸制御回路 62 サーボアンプ 72 サーボモータ 11 Movement Command Data 12 Correction Data 13 Machine Coordinate Data 14 Movement Command Data Interpolation Means 15 Correction Data Interpolation Means 16 Integration Counter 17 Machine Coordinate Counter 18 Absolute Position Detector 18a Absolute Position Detection Counter 19 Machine Side Position Error Detection Means 20 CNC Side Position Error detection means 52 Axis control circuit 62 Servo amplifier 72 Servo motor

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 位置誤り検出制御を行う数値制御装置に
おいて、 サーボモータに対する移動指令データの補間パルスと補
正データの補間パルスとを積算する積算カウンタと、 前記サーボモータに対する絶対位置検出値をカウントす
る絶対位置検出カウンタと、 前記積算カウンタの積算値及び前記絶対位置検出カウン
タの初期値とを加算した値と、前記絶対位置検出カウン
タのカウント値とを比較して、これらのデータの差が許
容範囲内にない場合は、アラーム信号を出力する機械側
位置誤り検出手段と、 を有することを特徴とする数値制御装置。
1. A numerical controller for performing position error detection control, wherein an integration counter for integrating an interpolation pulse of movement command data and an interpolation pulse of correction data for a servo motor, and an absolute position detection value for the servo motor are counted. An absolute position detection counter, a value obtained by adding the integrated value of the integration counter and the initial value of the absolute position detection counter, and the count value of the absolute position detection counter are compared, and the difference between these data is within an allowable range. And a machine side position error detecting means for outputting an alarm signal if not present in the numerical control device.
【請求項2】 位置誤り検出制御を行う数値制御装置に
おいて、 サーボモータに対する移動指令データの補間パルスを積
算する機械座標カウンタと、 パラメータで設定された機械座標データと、 前記機械座標カウンタの積算値と前記機械座標データと
を比較して、これらのデータの差が許容範囲内にない場
合は、アラーム信号を出力する数値制御側位置誤り検出
手段と、を有することを特徴とする数値制御装置。
2. In a numerical controller for performing position error detection control, a machine coordinate counter that integrates interpolation pulses of movement command data for a servo motor, machine coordinate data set by a parameter, and an integrated value of the machine coordinate counter. And the machine coordinate data are compared with each other, and if the difference between these data is not within the allowable range, the numerical control side position error detecting means for outputting an alarm signal is provided.
【請求項3】 位置誤り検出制御を行う数値制御装置に
おいて、 サーボモータに対する移動指令データの補間パルスと補
正データの補間パルスとを積算する積算カウンタと、 前記サーボモータに対する絶対位置検出値をカウントす
る絶対位置検出カウンタと、 前記積算カウンタの積算値及び前記絶対位置検出カウン
タの初期値とを加算した値と、前記絶対位置検出カウン
タのカウント値とを比較して、これらのデータの差が許
容範囲内にない場合は、アラーム信号を出力する機械側
位置誤り検出手段と、 サーボモータに対する移動指令データの補間パルスを積
算する機械座標カウンタと、 パラメータで設定された機械座標データと、 前記機械座標カウンタの積算値と前記機械座標データと
を比較して、これらのデータの差が許容範囲内にない場
合は、アラーム信号を出力する数値制御側位置誤り検出
手段と、 を有することを特徴とする数値制御装置。
3. A numerical controller for performing position error detection control, an integration counter for integrating an interpolation pulse of movement command data and an interpolation pulse of correction data for a servo motor, and an absolute position detection value for the servo motor. An absolute position detection counter, a value obtained by adding the integrated value of the integration counter and the initial value of the absolute position detection counter, and the count value of the absolute position detection counter are compared, and the difference between these data is within an allowable range. If not, the machine side position error detection means that outputs an alarm signal, the machine coordinate counter that integrates the interpolation pulse of the movement command data for the servo motor, the machine coordinate data set by the parameter, and the machine coordinate counter Of the machine coordinate data and the difference between these data is within the allowable range. And a numerical control side position error detecting means for outputting an alarm signal.
JP24419495A 1995-09-22 1995-09-22 Numerical controller Pending JPH0991016A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP24419495A JPH0991016A (en) 1995-09-22 1995-09-22 Numerical controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP24419495A JPH0991016A (en) 1995-09-22 1995-09-22 Numerical controller

Publications (1)

Publication Number Publication Date
JPH0991016A true JPH0991016A (en) 1997-04-04

Family

ID=17115181

Family Applications (1)

Application Number Title Priority Date Filing Date
JP24419495A Pending JPH0991016A (en) 1995-09-22 1995-09-22 Numerical controller

Country Status (1)

Country Link
JP (1) JPH0991016A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2016051249A (en) * 2014-08-29 2016-04-11 ブラザー工業株式会社 Numerical control device, and control method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2016051249A (en) * 2014-08-29 2016-04-11 ブラザー工業株式会社 Numerical control device, and control method

Similar Documents

Publication Publication Date Title
EP1170647B1 (en) Method of correcting thermal displacement of machine tool
US5568028A (en) Tool life management system
US5587915A (en) Tool damage prevention system
WO1995004633A1 (en) Tool life estimation method
JPH07132440A (en) Machining load monitoring system
JPH08132332A (en) Position shift correction method in machine tool
EP0397887B1 (en) Method of correcting machining program
EP0292574B1 (en) Numerical controller
JPH0772842B2 (en) Numerical control unit with tracking error detection function
US5659131A (en) Cutter fracture detecting system
US5055754A (en) Apparatus for detecting an excessive position error in a servo system
US5289367A (en) Numerical control apparatus using fuzzy control
JPH0991016A (en) Numerical controller
JPH0751997A (en) Machining load monitoring method
JP3433967B2 (en) Rigid tap control device
JPH0310742A (en) Absolute positioning method
JPH0938845A (en) Numerical control device
JP2622415B2 (en) Teaching data creation method and machining speed control method for numerical controller
JP2796335B2 (en) Numerical control unit
JPH0751995A (en) Machining load monitoring method
JPH0728513A (en) Error correction system for machine tool
JPH0360954A (en) Tool service life managing method
JP2862211B2 (en) Speed detection method of spindle speed of numerical controller
WO1990014622A1 (en) Method of rewriting pitch error correction data
JPH0751993A (en) Machine element life estimating method for cnc

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20040617

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20040713

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20050111