JP2796335B2 - Numerical control unit - Google Patents

Numerical control unit

Info

Publication number
JP2796335B2
JP2796335B2 JP1044221A JP4422189A JP2796335B2 JP 2796335 B2 JP2796335 B2 JP 2796335B2 JP 1044221 A JP1044221 A JP 1044221A JP 4422189 A JP4422189 A JP 4422189A JP 2796335 B2 JP2796335 B2 JP 2796335B2
Authority
JP
Japan
Prior art keywords
axis
coordinate system
linear axis
error
interpolation
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.)
Expired - Fee Related
Application number
JP1044221A
Other languages
Japanese (ja)
Other versions
JPH02222006A (en
Inventor
隆夫 佐々木
俊明 大槻
清次 石井
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.)
FUANATSUKU KK
Original Assignee
FUANATSUKU KK
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 FUANATSUKU KK filed Critical FUANATSUKU KK
Priority to JP1044221A priority Critical patent/JP2796335B2/en
Publication of JPH02222006A publication Critical patent/JPH02222006A/en
Application granted granted Critical
Publication of JP2796335B2 publication Critical patent/JP2796335B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/18Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of programme data in numerical form
    • G05B19/41Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of programme data in numerical form characterised by interpolation, e.g. the computation of intermediate points between programmed end points to define the path to be followed and the rate of travel along that path
    • G05B19/4103Digital interpolation
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/30Nc systems
    • G05B2219/34Director, elements to supervisory
    • G05B2219/34092Polar interpolation
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/30Nc systems
    • G05B2219/36Nc in input of data, input key till input tape
    • G05B2219/36503Adapt program to real coordinates, software orientation

Landscapes

  • Engineering & Computer Science (AREA)
  • Computing Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Manufacturing & Machinery (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Automation & Control Theory (AREA)
  • Numerical Control (AREA)

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は工作機械を制御する数値制御装置に係り、特
にワークを回転させて加工する旋盤等を制御する数値制
御装置に関する。
Description: BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a numerical controller that controls a machine tool, and more particularly to a numerical controller that controls a lathe or the like that processes a workpiece by rotating the workpiece.

〔従来の技術〕[Conventional technology]

旋盤等を制御する数値制御装置には、直交座標系でプ
ログラムされた指令を直線軸の移動(工具の移動)と回
転軸の移動(ワークの回転)とに変換して輪郭制御を行
う極座標補間という機能がある。数値制御装置は、直交
座標系でプログラムされた指令を直交座標系で直線補間
を行い、その補間量を極座標系の移動量に変換する。こ
の機能はワークの外径に直線状の切欠部を切削する場
合、又はカムシャフトの切削等に有効な機能である。
The numerical controller that controls a lathe, etc., has a polar coordinate interpolation that converts commands programmed in a rectangular coordinate system into linear axis movement (tool movement) and rotation axis movement (workpiece rotation) to perform contour control. There is a function called. The numerical controller performs linear interpolation on a command programmed in a rectangular coordinate system in a rectangular coordinate system, and converts the interpolation amount into a movement amount in a polar coordinate system. This function is effective when cutting a linear cutout in the outer diameter of a work, or when cutting a camshaft.

以下、この極座標補間について図面を用いて説明す
る。第3図は直線軸(X軸)と回転軸(C軸)とによる
極座標補間のプログラム例を示す図である。
Hereinafter, the polar coordinate interpolation will be described with reference to the drawings. FIG. 3 is a diagram showing a program example of polar coordinate interpolation using a linear axis (X axis) and a rotation axis (C axis).

まず、ローカル座標系又はワーク座標系の原点を極座
標系の原点Oとする。直線軸(X軸)を平面第1軸目と
し、この直線軸に直交する仮想軸Cyを平面第2軸目とす
る平面(極座標補間平面)上で極座標補間は行われる。
この極座標補間平面上で直交座標値を指令し、ワーク1
に対して工具2がプログラム通路3の加工を行うように
プログラム指令する。このプログラム通路3に対して極
座標補間が行われる。即ち、プログラム通路3に応じて
直線軸(X軸)の移動と回転軸(C軸)の移動とに変換
される。このプログラム指令に対して工具補正をかける
と、工具補正後の通路4に対して同様の極座標補間が行
われる。
First, the origin of the local coordinate system or the work coordinate system is set as the origin O of the polar coordinate system. Polar coordinate interpolation is performed on a plane (polar coordinate interpolation plane) having a linear axis (X axis) as a first axis on a plane and a virtual axis Cy orthogonal to the linear axis as a second axis on a plane.
Command the orthogonal coordinate values on this polar coordinate interpolation plane,
To the tool 2 so that the tool 2 processes the program path 3. Polar coordinate interpolation is performed on the program path 3. That is, the movement is converted into a movement on the linear axis (X axis) and a movement on the rotation axis (C axis) according to the program path 3. When tool correction is applied to this program command, the same polar coordinate interpolation is performed on the path 4 after tool correction.

〔発明が解決しようとする課題〕[Problems to be solved by the invention]

このような極座標補間を行う場合には、回転軸(C
軸)の中心が座標系の原点Oと一致するように、ローカ
ル座標系又はワーク座標系が設定されなければならな
い。しかし、直線軸(X軸)と回転軸(C軸)とで極座
標補間を行なう場合に、ワーク取り付け時に誤差が生
じ、ワークの回転中心が回転軸(C軸)の中心に一致せ
ず、原点がずれる場合がある。この誤差は約20〜30μm
のオーダである。
When performing such polar coordinate interpolation, the rotation axis (C
The local coordinate system or the work coordinate system must be set so that the center of the (axis) coincides with the origin O of the coordinate system. However, when polar coordinate interpolation is performed between the linear axis (X axis) and the rotation axis (C axis), an error occurs when the work is mounted, and the rotation center of the work does not coincide with the center of the rotation axis (C axis). May shift. This error is about 20-30μm
Of the order.

第4図はワークの回転中心を通る直線軸がプログラム
指令時の直線軸に対して誤差Pだけずれた場合を示す図
である。このような場合、直線軸(X軸)方向の誤差は
工具の移動によって容易に修正することができるが、仮
想軸Cy方向の誤差は回転軸(C軸)の移動に依存してい
るため、修正することが出来ない。従って、従来は仮想
軸方向に誤差が生じないように工具を取り付けるしかな
く、誤差が生じた場合は数値制御装置側で対策を施すこ
とができないという問題があった。
FIG. 4 is a view showing a case where a linear axis passing through the rotation center of the workpiece is shifted by an error P from the linear axis at the time of the program command. In such a case, the error in the direction of the linear axis (X axis) can be easily corrected by moving the tool, but the error in the direction of the virtual axis Cy depends on the movement of the rotation axis (C axis). I can't fix it. Therefore, conventionally, there has been a problem that a tool must be attached so that an error does not occur in the virtual axis direction, and if an error occurs, a measure cannot be taken on the numerical controller side.

本発明はこのような点に鑑みてなされたものであり、
極座標補間時に仮想軸方向の誤差が生じても、その誤差
を補正して極座標補間の行える数値制御装置を提供する
ことを目的とする。
The present invention has been made in view of such a point,
It is an object of the present invention to provide a numerical controller capable of correcting an error in a virtual axis direction during polar coordinate interpolation and performing polar coordinate interpolation.

〔課題を解決するための手段〕[Means for solving the problem]

本発明では上記課題を解決するために、 少なくとも直線軸と回転軸を有する数値制御工作機械
を制御する数値制御装置において、前記直線軸と回転軸
で構成される平面上で、前記直線軸を含む直交座標系で
指令された指令を補間し補間量を出力する補間手段と、
前記直線軸に垂直な方向の誤差量をPとし、前記補間量
を前記直線軸と前記回転軸からなる極座標系の移動量
に、以下の式で変換する変換手段と、 (ただし、X,Cyは直交座標系での指令、Xro,θoは極座
標系の移動量) を有することを特徴とする数値制御装置が、提供され
る。
In the present invention, in order to solve the above problems, in a numerical control device that controls a numerically controlled machine tool having at least a linear axis and a rotary axis, the numerical control apparatus includes the linear axis on a plane formed by the linear axis and the rotary axis. Interpolating means for interpolating a command instructed in a rectangular coordinate system and outputting an interpolation amount;
Conversion means for converting the amount of error in the direction perpendicular to the linear axis to P, and the amount of interpolation to the amount of movement in a polar coordinate system including the linear axis and the rotation axis by the following equation: (Where X and Cy are commands in a rectangular coordinate system, and Xro and θo are movement amounts in a polar coordinate system).

〔作用〕[Action]

実際のワークの回転中心が回転軸上に存在しないで、
かつワークの回転中心を通る直線軸が直線軸に垂直な方
向に一定の誤差を有する場合にはプログラム指令時の直
交座標値だけでは、その誤差の補正はできない。しか
し、ワークの回転中心を通る直線軸がその直交方向に有
する誤差を補正する変換手段を数値制御装置に含めるこ
とにより、誤差があっても誤差量を設定するのみで正確
な加工を可能にする。
The rotation center of the actual work does not exist on the rotation axis,
In addition, when a linear axis passing through the rotation center of the workpiece has a certain error in a direction perpendicular to the linear axis, the error cannot be corrected only by the orthogonal coordinate values at the time of the program command. However, by including, in the numerical control device, a conversion means for correcting an error that a linear axis passing through the rotation center of the work has in the orthogonal direction thereof, even if there is an error, accurate machining can be performed only by setting the error amount. .

〔実施例〕〔Example〕

以下、本発明の一実施例を図面に基づいて説明する。 Hereinafter, an embodiment of the present invention will be described with reference to the drawings.

第2図は本発明を実施するための数値制御装置(CN
C)のハードウエアのブロック図である。
FIG. 2 shows a numerical controller (CN) for implementing the present invention.
FIG. 3C is a block diagram of hardware.

図において、10は数値制御装置(CNC)である。プロ
セッサ11は数値制御装置(CNC)10全体の制御中心とな
るプロセッサであり、バス21を介して、ROM12に格納さ
れたシステムプログラムを読み出し、このシステムプロ
グラムに従って、数値制御装置(CNC)全体の制御を実
行する。RAM13には一時的な計算データ、表示データ等
が格納される。RAM13にはDRAMが使用される。CMOS14に
は工具補正量、ピッチ誤差補正量、加工プログラム及び
パラメータ等が格納される。本実施例の場合はここに仮
想軸方向の誤差量Pがパラメータとして格納される。CM
OS14は、図示されていないバッテリでバックアップさ
れ、数値制御装置(CNC)10の電源がオフされても不揮
発性メモリとなっているので、それらのデータはそのま
ま保持される。
In the figure, reference numeral 10 denotes a numerical controller (CNC). The processor 11 is a processor which is a central control unit of the numerical control device (CNC) 10 and reads out a system program stored in the ROM 12 via the bus 21 and controls the entire numerical control device (CNC) according to the system program. Execute The RAM 13 stores temporary calculation data, display data, and the like. The DRAM 13 is a DRAM. The CMOS 14 stores a tool correction amount, a pitch error correction amount, a machining program, parameters, and the like. In the case of the present embodiment, the error amount P in the virtual axis direction is stored here as a parameter. cm
The OS 14 is backed up by a battery (not shown) and is a non-volatile memory even when the power of the numerical controller (CNC) 10 is turned off.

インタフェース15は外部機器用のインタフェースであ
り、紙テープリーダ、紙テープパンチャー、紙テープリ
ーダ・パンチャー等の外部機器が接続される。紙テープ
リーダからは加工プログラム(極座標補間平面上の直交
座標値)が読み込まれ、また、数値制御装置(CNC)10
内で編集された加工プログラムを紙テープパンチャーに
出力することができる。
The interface 15 is an interface for an external device, and is connected to an external device such as a paper tape reader, a paper tape puncher, and a paper tape reader / puncher. A processing program (rectangular coordinate values on a polar coordinate interpolation plane) is read from a paper tape reader, and a numerical controller (CNC) 10
The processing program edited inside can be output to the paper tape puncher.

PMC(プログラマブル・マシン・コントローラ)16はC
NC10に内蔵され、ラダー形式で作成されたシーケンスプ
ログラムで機械側を制御する。すなわち、加工プログラ
ムで指令された、M機能、S機能及びT機能に従って、
これらをシーケンスプログラムで機械側で必要な信号に
変換し、I/Oユニット17から機械側に出力する。この出
力信号は機械側のマグネット等を駆動し、油圧バルブ、
空圧バルブ及び電気アクチュエイタ等を作動させる。ま
た、機械側のリミットスイッチ及び機械操作盤のスイッ
チ等の信号を受けて、必要な処理をして、プロセッサ11
に渡す。
PMC (Programmable Machine Controller) 16 is C
The machine is controlled by a sequence program built in NC10 and created in ladder format. That is, according to the M function, S function and T function commanded by the machining program,
These are converted into necessary signals on the machine side by a sequence program, and output from the I / O unit 17 to the machine side. This output signal drives the magnet on the machine side, and the hydraulic valve,
Activate the pneumatic valve and electric actuator. The processor 11 also receives signals from limit switches on the machine side and switches on the machine operation panel, performs necessary processing, and performs
Pass to.

グラフック制御回路18は各軸の現在位置、アラーム、
パラメータ、画像データ等のディジタルデータを画像信
号に変換して出力する。この画像信号はCRT/MDIユニッ
ト25の表示装置26に送られ、表示装置26に表示される。
インタフェース19はCRT/MDIユニット25内のキーボード2
7からのデータを受けて、プロセッサ11に渡す。
The graphic control circuit 18 provides a current position of each axis, an alarm,
Digital data such as parameters and image data is converted into an image signal and output. This image signal is sent to the display device 26 of the CRT / MDI unit 25 and displayed on the display device 26.
Interface 19 is keyboard 2 in CRT / MDI unit 25
It receives the data from 7 and passes it to the processor 11.

インタフェース20は手動パルス発生器32に接続され、
手動パルス発生器32からのパルスを受ける。手動パルス
発生器32は機械操作盤に実装され、手動で機械稼働部を
精密に移動させるのに使用される。
The interface 20 is connected to a manual pulse generator 32,
It receives a pulse from the manual pulse generator 32. The manual pulse generator 32 is mounted on the machine operation panel and is used for manually moving the machine operation part precisely.

軸制御回路41、42及び43はプロセッサ11からの各軸の
移動指令を受けて、各軸の指令をサーボアンプ51、52及
び53に出力する。サーボアンプ51、52及び53はこの移動
指令を受けて、各軸のサーボモータ61、62及び63を駆動
する。サーボモータ61は直線軸(X軸)用、サーボモー
タ62はZ軸用、サーボモータ63は回転軸(C軸)用のモ
ータである。サーボモータ61、62及び63には位置検出用
のパルスコーダが内蔵されており、このパルスコーダか
ら位置信号がパルス列としてフィードバックされる。場
合によっては、位置検出器として、リニアスケールが使
用される。また、このパルス列をF/V(周波数/速度)
変換することにより、速度信号を生成することができ
る。さらに、速度検出用にタコジェネレータが使用され
る場合もある。図ではこれらの位置信号のフィードバッ
クライン及び速度フィードバックは省略してある。
The axis control circuits 41, 42, and 43 receive the movement command of each axis from the processor 11, and output the command of each axis to the servo amplifiers 51, 52, and 53. The servo amplifiers 51, 52 and 53 receive the movement command and drive the servo motors 61, 62 and 63 of each axis. The servo motor 61 is a motor for the linear axis (X axis), the servo motor 62 is a motor for the Z axis, and the servo motor 63 is a motor for the rotary axis (C axis). The servomotors 61, 62 and 63 have a built-in pulse coder for position detection, and the position signal is fed back as a pulse train from the pulse coder. In some cases, a linear scale is used as the position detector. This pulse train is converted to F / V (frequency / speed)
By performing the conversion, a speed signal can be generated. Furthermore, a tacho generator may be used for speed detection. In the figure, the position signal feedback line and velocity feedback are omitted.

スピンドル制御回路71及び74はスピンドル回転指令及
びスピンドルのオリエンテーション等の指令を受けて、
スピンドルアンプ72及び75にスピンドル速度信号を出力
する。スピンドルアンプ72及び75はこのスピンドル速度
信号を受けて、スピンドルモータ73及び76を指令された
回転速度で回転させる。また、オリエンテーション指令
によって、所定の位置にスピンドルを位置決めする。
The spindle control circuits 71 and 74 receive a spindle rotation command and a command such as spindle orientation,
A spindle speed signal is output to the spindle amplifiers 72 and 75. The spindle amplifiers 72 and 75 receive the spindle speed signal and rotate the spindle motors 73 and 76 at the commanded rotation speed. In addition, the spindle is positioned at a predetermined position by an orientation command.

スピンドルモータ73はワークを回転させるためのモー
タであり、加工の種類に応じてサーボモータ63と交互に
切り換えられるようになっている。スピンドルモータ76
は工具を回転させるためのモータであり、輪郭制御等を
行う際に使用される。スピンドルモータ73には歯車ある
いはベルトでポジションコーダ82が結合されている。従
って、ポジションコーダ82はスピンドル73に同期して回
転し、帰還パルスを出力し、その帰還パルスはインタフ
ェース81を経由して、プロセッサ11によって、読み取ら
れる。この帰還パルスは他の軸をスピンドルモータ73に
同期して移動させてネジ切り等の加工を行うために使用
される。
The spindle motor 73 is a motor for rotating the work, and can be alternately switched with the servo motor 63 according to the type of machining. Spindle motor 76
Is a motor for rotating the tool, and is used when performing contour control or the like. A position coder 82 is connected to the spindle motor 73 by a gear or a belt. Accordingly, the position coder 82 rotates in synchronization with the spindle 73 and outputs a feedback pulse, which is read by the processor 11 via the interface 81. This feedback pulse is used to move another axis in synchronization with the spindle motor 73 to perform processing such as thread cutting.

次に、極座標補間の動作について第1図を用いて説明
する。第1図は本発明の実施例の動作を説明するための
図である。本図は第4図と同様にワークの回転中心を通
る直線軸がプログラム指令時の直線軸に対して誤差Pだ
けずれた場合を示す。
Next, the operation of polar coordinate interpolation will be described with reference to FIG. FIG. 1 is a diagram for explaining the operation of the embodiment of the present invention. This figure shows a case where the linear axis passing through the rotation center of the workpiece is shifted from the linear axis at the time of the program command by an error P, similarly to FIG.

まず、座標系の原点Oと回転軸(C軸)の中心とが一
致する場合は、直線軸(X軸)と回転軸(C軸)とで極
座標補間を行なえばよい。従って、直線軸(X軸)と、
この直線軸(X軸)に直交する仮想軸Cyからなる極座標
補間平面上で、直交座標(X,Cy)の点Qがプログラム指
令されているので、極座標上での位置は、極座標(Xr,
θ)で表すと、 となる。
First, when the origin O of the coordinate system coincides with the center of the rotation axis (C axis), polar coordinate interpolation may be performed on the linear axis (X axis) and the rotation axis (C axis). Therefore, the linear axis (X axis)
Since the point Q of the rectangular coordinates (X, Cy) is programmed on the polar coordinate interpolation plane composed of the virtual axis Cy orthogonal to the linear axis (X axis), the position on the polar coordinates is represented by the polar coordinates (Xr,
θ), Becomes

しかし、ワーク取り付け時に誤差Pが生じ、実際のワ
ークの回転中心が原点Oから点O1へずれた場合、上記の
極座標(Xr,θ)で表すことは出来ない。そこで、この
誤差Pを考慮して極座標補間を行う場合には、点QがC
軸方向に回転し、実際の直線軸(Xp軸)と交わる点Qoを
求め、点Qoの直線軸(Xp軸)上の位置Xo及び点Qから点
Qoまでの回転角θoを求める。従って、点Qの極座標上
での移動位置は、極座標(Xro,θo)で表すと、 となる。
However, when an error P occurs when the work is mounted and the actual rotation center of the work is shifted from the origin O to the point O1, it cannot be represented by the above-mentioned polar coordinates (Xr, θ). Therefore, when polar coordinate interpolation is performed in consideration of the error P, the point Q
Rotate in the axial direction, find the point Qo that intersects the actual linear axis (Xp axis), and calculate the point from the point Xo and the point Q on the linear axis (Xp axis) of the point Qo.
The rotation angle θo up to Qo is obtained. Therefore, the moving position of the point Q on the polar coordinates is represented by polar coordinates (Xro, θo). Becomes

このときの誤差量Pはパラメータで予め設定してや
る。
The error amount P at this time is set in advance by using a parameter.

すなわち、直交座標系(X,Cy)で指令された指令を、
直交座標系で補間を行い、この補間量を上記の式で極座
標系の移動量に変換すればよい。
That is, the command given in the rectangular coordinate system (X, Cy) is
Interpolation may be performed in the orthogonal coordinate system, and the amount of interpolation may be converted into the amount of movement in the polar coordinate system by the above equation.

このようにして数値制御装置内部で直交座標系の指令
を補間し、その補間量を極座標系の移動量に変換する演
算が行われるため、ワークの回転中心が回転軸上に存在
せず、ワークの回転中心を通る直線軸が仮想軸方向に一
定の誤差を有する場合にも、その誤差を補正して極座標
補間を行うことができる。
In this way, the command of the orthogonal coordinate system is interpolated in the numerical controller, and the operation of converting the interpolation amount into the movement amount of the polar coordinate system is performed. Even if a linear axis passing through the rotation center has a certain error in the virtual axis direction, the error can be corrected and polar coordinate interpolation can be performed.

〔発明の効果〕〔The invention's effect〕

以上説明したように本発明によれば、極座標補間時に
直線軸と直交方向の誤差量を補正できる変換手段を設け
たので、直交方向に誤差が生じてもその誤差量を設定し
てやるだけで、精度の高い極座標補間加工を行うことが
できる。
As described above, according to the present invention, the conversion means that can correct the error amount in the direction orthogonal to the linear axis at the time of the polar coordinate interpolation is provided. Therefore, even if an error occurs in the orthogonal direction, the error amount can be set only by setting the error amount. Interpolation processing can be performed.

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

第1図は本発明の実施例の動作を説明するための図、 第2図は本発明を実施するための数値制御装置(CNC)
のハードウエアのブロック図、 第3図は直線軸(X軸)と回転軸(C軸)とによる極座
標補間のプログラム例を示す図、 第4図はワークの回転中心を通る直線軸がプログラム指
令時の直線軸に対して誤差Pだけずれた場合を示す図で
ある。 1……ワーク 2……工具 3……プログラム通路 4……工具径補正後の通路 Cy……仮想軸 P……仮想軸方向の誤差 11……プロセッサ 12……ROM 13……RAM 14……CMOS 15……インタフェース 16……PMC(プログラマブル・マシン・コントローラ) 17……I/Oユニット 18……グラフィック制御回路 19……インタフェース 20……インタフェース 21……バス 41〜43……軸制御回路 51〜53……サーボアンプ 61〜63……サーボモータ 71,74……スピンドル制御回路 72,75……スピンドルアンプ 73,76……スピンドルモータ 81……インタフェース 82……ポジションコーダ
FIG. 1 is a diagram for explaining the operation of an embodiment of the present invention, and FIG. 2 is a numerical controller (CNC) for implementing the present invention.
FIG. 3 is a diagram showing an example of a program for polar coordinate interpolation using a linear axis (X axis) and a rotation axis (C axis). FIG. 4 is a program command for a linear axis passing through the rotation center of the workpiece. It is a figure showing the case where it shifted by error P with respect to the linear axis at the time. 1 Work 2 Tool 3 Program path 4 Path after tool diameter correction Cy Virtual axis P Error in virtual axis direction 11 Processor 12 ROM 13 RAM 14 CMOS 15 Interface 16 PMC (Programmable Machine Controller) 17 I / O unit 18 Graphic control circuit 19 Interface 20 Interface 21 Bus 41 to 43 Axis control circuit 51 ... 53 Servo amplifier 61-63 Servo motor 71,74 Spindle control circuit 72,75 Spindle amplifier 73,76 Spindle motor 81 Interface 82 Position coder

───────────────────────────────────────────────────── フロントページの続き (72)発明者 石井 清次 山梨県南都留郡忍野村忍草字古馬場3580 番地 ファナック株式会社商品開発研究 所内 (58)調査した分野(Int.Cl.6,DB名) G05B 19/4103────────────────────────────────────────────────── ─── Continued on the front page (72) Inventor Kiyoji Ishii 3580 Kobaba, Oshino-za, Oshino-mura, Minamitsuru-gun, Yamanashi Prefecture FANUC CORPORATION Product Development Laboratory (58) Field surveyed (Int.Cl. 6 , DB name) G05B 19/4103

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】少なくとも直線軸と回転軸を有する数値制
御工作機械を制御する数値制御装置において、 前記直線軸と回転軸で構成される平面上で、前記直線軸
を含む直交座標系で指令された指令を補間し補間量を出
力する補間手段と、 前記直線軸に垂直な方向の誤差量をPとし、前記補間量
を前記直線軸と前記回転軸からなる極座標系の移動量
に、以下の式で変換する変換手段と、 (ただし、X,Cyは直交座標系での指令、Xro,θoは極座
標系の移動量) を有することを特徴とする数値制御装置。
1. A numerical control apparatus for controlling a numerically controlled machine tool having at least a linear axis and a rotary axis, wherein the numerical control is commanded in a rectangular coordinate system including the linear axis on a plane formed by the linear axis and the rotary axis. Interpolating means for interpolating the given command and outputting an interpolation amount; and letting P be an error amount in a direction perpendicular to the linear axis, and the interpolation amount be a movement amount of a polar coordinate system consisting of the linear axis and the rotation axis. Conversion means for converting by an expression; (Where X and Cy are commands in a rectangular coordinate system, and Xro and θo are movement amounts in a polar coordinate system).
JP1044221A 1989-02-23 1989-02-23 Numerical control unit Expired - Fee Related JP2796335B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1044221A JP2796335B2 (en) 1989-02-23 1989-02-23 Numerical control unit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1044221A JP2796335B2 (en) 1989-02-23 1989-02-23 Numerical control unit

Publications (2)

Publication Number Publication Date
JPH02222006A JPH02222006A (en) 1990-09-04
JP2796335B2 true JP2796335B2 (en) 1998-09-10

Family

ID=12685487

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1044221A Expired - Fee Related JP2796335B2 (en) 1989-02-23 1989-02-23 Numerical control unit

Country Status (1)

Country Link
JP (1) JP2796335B2 (en)

Also Published As

Publication number Publication date
JPH02222006A (en) 1990-09-04

Similar Documents

Publication Publication Date Title
JP3285663B2 (en) Tool breakage detection device
US5563484A (en) Three-dimensional cutter compensation system
JP3177601B2 (en) Numerical control unit
JPH06285701A (en) Nc lathe turning device
US5181178A (en) Spindle control command method
JP2726735B2 (en) Cylindrical interpolation method
JP2796335B2 (en) Numerical control unit
WO1992009018A1 (en) Method for executing auxiliary function in numerical control equipment
JPH05100723A (en) Tool length correcting system for machine tool
JPH07334223A (en) Tool spindle attitude control system
JPH0454604A (en) Three-dimensional tool diameter correcting system
JPH03212706A (en) Three-dimensional coordinate transformation control system
JP2862211B2 (en) Speed detection method of spindle speed of numerical controller
JPH03109606A (en) Tool correction system
JPH0474205A (en) Correction system for tool diameter
JPH06304845A (en) Numerical control device
JP2622415B2 (en) Teaching data creation method and machining speed control method for numerical controller
JP2868527B2 (en) Numerical control unit
JPH0863215A (en) Inclined axis control system for cnc
JPH0659719A (en) Numerical controller
JPH0887312A (en) Cylinder interpolation system
JPH03126104A (en) Feed speed control system
JPH06312341A (en) Numeral control device
JPH0379262A (en) Swing grinding method for numerical control device
JPH02302803A (en) Rewriting system for pitch error correcting data

Legal Events

Date Code Title Description
R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees