JPH0863215A - Inclined axis control system for cnc - Google Patents

Inclined axis control system for cnc

Info

Publication number
JPH0863215A
JPH0863215A JP20048194A JP20048194A JPH0863215A JP H0863215 A JPH0863215 A JP H0863215A JP 20048194 A JP20048194 A JP 20048194A JP 20048194 A JP20048194 A JP 20048194A JP H0863215 A JPH0863215 A JP H0863215A
Authority
JP
Japan
Prior art keywords
coordinate system
coordinate
tilt axis
limit area
cnc
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
JP20048194A
Other languages
Japanese (ja)
Inventor
Koji Yamamuro
幸二 山室
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 JP20048194A priority Critical patent/JPH0863215A/en
Publication of JPH0863215A publication Critical patent/JPH0863215A/en
Pending legal-status Critical Current

Links

Landscapes

  • Numerical Control (AREA)

Abstract

PURPOSE: To accurately judge an overtravel beyond a limit area set on an orthogonal coordinate system as to the inclined axis control system for CNC equipped with an inclined axis. CONSTITUTION: When a machining program 1 which is inputted on the basis of the orthogonal coordinate system is read and decoded by a program decoding means 2, a command value coordinate converting means 3 converts movement command values commanded by the machining program 1 into movement command values on an inclined axis coordinate system and an inclined axis coordinate update means 4 updates the coordinate values of the inclined axis coordinate system according to the converted movement command values. An updated coordinate converting means 5 converts the updated coordinate values of the updated inclined axis coordinate system into coordinate values of the orthogonal coordinate system and a limit judging means 6 judges whether or not the coordinate values converted into the orthogonal coordinate system cause an overtravel beyond the limit area set on the orthogonal coordinate system which is stored in a limit area storage means 7. When the overtravel is judged, an alarm means 8 performs alarm processing such as the stopping of a machine, etc.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は傾斜軸を備えたCNCの
傾斜軸制御方式に関し、特に直交座標系で入力された加
工プログラムを変換して傾斜軸の移動を行うCNCの傾
斜軸制御方式に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a CNC tilt axis control system having a tilt axis, and more particularly to a CNC tilt axis control system for converting a machining program input in a rectangular coordinate system to move the tilt axis. .

【0002】[0002]

【従来の技術】一般に、工作機械の軸を制御する場合に
は、互いに直交する3軸方向に移動指令を行い、その指
令に従って工具の移動を行うようにしている。
2. Description of the Related Art Generally, when controlling an axis of a machine tool, movement commands are given in directions of three axes orthogonal to each other, and a tool is moved in accordance with the commands.

【0003】また、これとは別に、ある軸を他の軸に対
して90°以外の角度で傾斜して設け、その傾斜軸に沿
って工具を移動させる傾斜軸制御方式もある。この傾斜
軸制御方式では、加工プログラム上での移動指令は通常
の直交座標系で行い、実行時に傾斜軸座標系に変換する
ようにしている。
In addition to this, there is also a tilt axis control system in which a certain axis is tilted with respect to another axis at an angle other than 90 ° and a tool is moved along the tilt axis. In this tilt axis control method, the movement command on the machining program is performed in a normal rectangular coordinate system, and is converted to the tilt axis coordinate system at the time of execution.

【0004】図4は直交座標系と傾斜軸座標系との関係
を示す図である。ここでは、直交座標としてZ−X平面
を設け、傾斜軸座標としてZ−XI 平面を設けた例を示
す。また、傾斜軸であるXI 軸は、X軸に対して角度θ
だけ傾斜しているものとする。適当な位置に点Pを設け
ると、点Pの座標は、Z−X平面では(Zp,Xp)、
となり、Z−XI 平面では(Za,Xa)となる。ここ
で、Z−X平面とZ−XI 平面ではZ軸は共通である
が、それぞれの平面では座標の取り方が異なるため、同
じ点PのZ軸座標でもその値は異なる。
FIG. 4 is a diagram showing the relationship between the Cartesian coordinate system and the tilt axis coordinate system. Here, the Z-X plane provided as Cartesian coordinates, showing an example in which a Z-X I plane as an inclined axis coordinate. In addition, the X I axis which is the tilt axis has an angle θ with respect to the X axis.
It is assumed that it is only inclined. When the point P is provided at an appropriate position, the coordinates of the point P are (Zp, Xp) on the ZX plane,
And becomes (Za, Xa) on the Z-X I plane. Here, the Z-axis is common to the Z-X plane and the Z-X I plane, but since the way of taking the coordinates is different on each plane, the value is different even for the Z-axis coordinates of the same point P.

【0005】加工プログラム上で点Pへの移動指令がな
されているとすると、CNC側では、Z−X平面上のP
(Zp,Xp)をZ−XI 平面上のP(Za,Xa)に
次式(1)、(2)によって変換する。
If a movement command to a point P is given on the machining program, on the CNC side, P on the Z-X plane is set.
(Zp, Xp) is converted to P (Za, Xa) on the Z-X I plane by the following equations (1) and (2).

【0006】 Xa=Xp/cosθ ・・・(1) Za=Zp−Xp・tanθ ・・・(2)Xa = Xp / cos θ (1) Za = Zp−Xp · tan θ (2)

【0007】[0007]

【発明が解決しようとする課題】このように、CNC内
部で座標系の変換を行う方式では、加工プログラムで指
令した座標に工具を移動させようとすると、傾斜軸上で
の各軸の移動は、加工プログラムの座標系とは異なった
ものになる。このため、ソフトウェアで設定される機械
のリミット領域も直交座標と傾斜座標では異なったもの
となる。
As described above, in the method of converting the coordinate system inside the CNC, when the tool is moved to the coordinates instructed by the machining program, the movement of each axis on the tilt axis does not occur. , It will be different from the coordinate system of the machining program. For this reason, the machine limit area set by software is different between the Cartesian coordinates and the tilt coordinates.

【0008】図5は直交座標系と傾斜軸座標系とのリミ
ット領域の関係を示す図である。ここでは、ソフトウェ
アで判断するリミット領域として、直交座標上で領域L
1を設定されているとする。この領域L1は、例えば4
個の点P1,P2,P3,P4で囲まれた長方形であ
る。各点P1,P2,P3,P4をZ−XI 平面上の座
標に変換すると、P1およびP4のXI 軸座標はQ1と
なり、P2およびP3のXI 座標はQ2となる。すなわ
ち、XI 軸座標への変換値は、全て領域L1上に存在す
る。
FIG. 5 is a diagram showing the relationship between the limit areas of the Cartesian coordinate system and the tilt axis coordinate system. Here, as the limit area to be determined by software, the area L on Cartesian coordinates is used.
It is assumed that 1 is set. This area L1 is, for example, 4
It is a rectangle surrounded by individual points P1, P2, P3 and P4. When the points P1, P2, P3 and P4 are converted into coordinates on the Z-X I plane, the X I axis coordinates of P1 and P4 are Q1 and the X I coordinates of P2 and P3 are Q2. That is, all the converted values to the X I axis coordinates exist on the area L1.

【0009】一方、各点P1,P2,P3,P4のZ軸
座標上の変換後の座標は、それぞれR1,R2,R3,
R4となる。ここで、R1およびR4は、明らかに領域
L1を外れてしまう。このため、直交座標で設定したリ
ミット領域L1は、傾斜軸座標では領域L2となり、最
初に設定した範囲よりも大きくなってしまう。すなわ
ち、テーブルの実際の位置と、各軸の位置とは異なった
値になる。このため、各軸の位置をオーバトラベルの判
断値にすると、不正確な判断結果が出る虞があった。
On the other hand, the coordinates of the points P1, P2, P3, P4 after conversion on the Z-axis coordinates are R1, R2, R3, respectively.
It becomes R4. Here, R1 and R4 are clearly out of the region L1. Therefore, the limit area L1 set in the Cartesian coordinates becomes the area L2 in the tilt axis coordinates and becomes larger than the initially set range. That is, the actual position of the table and the position of each axis have different values. Therefore, if the position of each axis is set to the overtravel judgment value, an incorrect judgment result may occur.

【0010】本発明はこのような点に鑑みてなされたも
のであり、直交座標系で設定されたリミット領域に対す
るオーバトラベルを正確に判断することのできるCNC
の傾斜軸制御方式を提供することを目的とする。
The present invention has been made in view of the above point, and a CNC capable of accurately determining overtravel with respect to a limit area set in a rectangular coordinate system.
It is an object of the present invention to provide a tilt axis control method for the.

【0011】[0011]

【課題を解決するための手段】本発明では上記課題を解
決するために、傾斜軸を備えたCNCの傾斜軸制御方式
において、直交座標系で入力された加工プログラムを読
んで解読するプログラム解読手段と、前記直交座標系で
設定されたリミット領域のデータを格納するリミット領
域格納手段と、前記加工プログラムで指令された移動指
令値を傾斜軸座標系での移動指令値に変換する指令値座
標変換手段と、前記変換された移動指令値に従って前記
傾斜軸座標系の座標値を更新する傾斜軸座標更新手段
と、前記更新された傾斜軸座標系の座標値を前記直交座
標系の座標値に変換する更新座標変換手段と、前記直交
座標系に変換された座標値が前記リミット領域に対して
オーバトラベルとなるか否かを判断するリミット判断手
段と、前記オーバトラベルと判断された場合にはアラー
ム処理を行うアラーム手段と、を有することを特徴とす
るCNCの傾斜軸制御方式が提供される。
According to the present invention, in order to solve the above problems, a program decoding means for reading and decoding a machining program input in an orthogonal coordinate system in a tilt axis control system of a CNC having a tilt axis. A limit area storing means for storing data of a limit area set in the Cartesian coordinate system, and a command value coordinate conversion for converting a movement command value instructed by the machining program into a movement command value in a tilt axis coordinate system. Means, tilt axis coordinate updating means for updating the coordinate values of the tilt axis coordinate system according to the converted movement command value, and converting the updated coordinate values of the tilt axis coordinate system into coordinate values of the orthogonal coordinate system. Update coordinate conversion means, limit judgment means for judging whether or not the coordinate values converted into the orthogonal coordinate system are overtraveled with respect to the limit area, CNC tilt axis control system characterized by having; and alarm means for performing an alarm process when it is determined that the bell is provided.

【0012】[0012]

【作用】直交座標系で入力された加工プログラムをプロ
グラム解読手段が読んで解読すると、指令値座標変換手
段は、加工プログラムで指令された移動指令値を傾斜軸
座標系での移動指令値に変換し、傾斜軸座標更新手段
が、その変換された移動指令値に従って傾斜軸座標系の
座標値を更新する。更新座標変換手段は、更新された傾
斜軸座標系の座標値を直交座標系の座標値に変換し、リ
ミット判断手段は、直交座標系に変換された座標値がリ
ミット領域格納手段に格納されている直交座標系で設定
されたリミット領域に対してオーバトラベルとなるか否
かを判断する。そして、オーバトラベルと判断された場
合には、アラーム手段が、機械停止等のアラーム処理を
行う。
When the program decoding means reads and decodes the machining program input in the orthogonal coordinate system, the command value coordinate conversion means converts the movement command value instructed by the machining program into the movement command value in the tilt axis coordinate system. Then, the tilt axis coordinate updating means updates the coordinate value of the tilt axis coordinate system according to the converted movement command value. The updated coordinate conversion means converts the updated coordinate value of the tilt axis coordinate system into the coordinate value of the orthogonal coordinate system, and the limit determination means stores the converted coordinate value of the orthogonal coordinate system in the limit area storage means. Judgment is made as to whether or not overtravel will occur with respect to the limit area set in the Cartesian coordinate system. When it is determined that the travel is overtravel, the alarm means performs alarm processing such as machine stop.

【0013】[0013]

【実施例】以下、本発明の一実施例を図面に基づいて説
明する。図1は本実施例の機能の概念を示す図である。
直交座標系で入力された加工プログラム1をプログラム
解読手段2が読んで解読すると、指令値座標変換手段3
は、加工プログラム1で指令された移動指令値を傾斜軸
座標系での移動指令値に変換し、傾斜軸座標更新手段4
が、その変換された移動指令値に従って傾斜軸座標系の
座標値を更新する。更新座標変換手段5は、更新された
傾斜軸座標系の座標値を直交座標系の座標値に変換し、
リミット判断手段6は、直交座標系に変換された座標値
がリミット領域格納手段7に格納されている直交座標系
で設定されたリミット領域に対してオーバトラベルとな
るか否かを判断する。そして、オーバトラベルと判断さ
れた場合には、アラーム手段8が、機械停止等のアラー
ム処理を行う。
An embodiment of the present invention will be described below with reference to the drawings. FIG. 1 is a diagram showing the concept of the function of this embodiment.
When the program decoding means 2 reads and decodes the machining program 1 input in the Cartesian coordinate system, the command value coordinate conversion means 3
Converts the movement command value commanded by the machining program 1 into a movement command value in the tilt axis coordinate system, and tilt axis coordinate updating means 4
Updates the coordinate value of the tilt axis coordinate system according to the converted movement command value. The updated coordinate conversion means 5 converts the updated coordinate values of the tilt axis coordinate system into coordinate values of the orthogonal coordinate system,
The limit determining means 6 determines whether or not the coordinate value converted into the orthogonal coordinate system is overtraveled with respect to the limit area set in the orthogonal coordinate system stored in the limit area storing means 7. If it is determined that the travel is overtravel, the alarm means 8 performs alarm processing such as machine stop.

【0014】図2は本発明が適用される数値制御装置
(CNC)のハードウェアのブロック図である。図にお
いて、10は数値制御装置(CNC)である。プロセッ
サ11はCNC10全体の制御の中心となるプロセッサ
であり、バス21を介して、ROM12に格納されたシ
ステム・プログラムを読み出し、このシステム・プログ
ラムに従って、CNC10全体の制御を実行する。RA
M13には一時的な計算データ、表示データ等が格納さ
れる。RAM13にはSRAMが使用される。
FIG. 2 is a hardware block diagram of a numerical controller (CNC) to which the present invention is applied. In the figure, 10 is a numerical controller (CNC). The processor 11 is a central processor for controlling the entire CNC 10, reads the system program stored in the ROM 12 via the bus 21, and executes the control of the entire CNC 10 according to the system program. RA
Temporary calculation data, display data, and the like are stored in M13. SRAM is used for the RAM 13.

【0015】不揮発性メモリ14はCMOSからなり、
工具径補正量、ピッチ誤差補正量、加工プログラム及び
パラメータ等が格納される。加工プログラムは、直交座
標系で入力されたプログラムである。また、不揮発性メ
モリ14には、機械のオーバトラベルをソフトウェアで
判断するためのリミット領域が直交座標系で格納されて
いる。不揮発性メモリ14は、図示されていないバッテ
リでバックアップされ、CNC10の電源がオフされて
も、それらのデータはそのまま保持される。
The non-volatile memory 14 is composed of CMOS,
A tool radius correction amount, a pitch error correction amount, a machining program, parameters and the like are stored. The machining program is a program input in the Cartesian coordinate system. Further, in the non-volatile memory 14, a limit area for judging the overtravel of the machine by software is stored in an orthogonal coordinate system. The nonvolatile memory 14 is backed up by a battery (not shown), and even if the power of the CNC 10 is turned off, those data are retained as they are.

【0016】インタフェース15は外部機器用のインタ
フェースであり、紙テープリーダ、紙テープパンチャ
ー、紙テープリーダ・パンチャー等の外部機器31が接
続される。紙テープリーダからは加工プログラムが読み
込まれ、また、CNC10内で編集された加工プログラ
ムを紙テープパンチャーに出力することができる。
The interface 15 is an interface for an external device, and is connected to an external device 31 such as a paper tape reader, a paper tape puncher, and a paper tape reader / puncher. The processing program is read from the paper tape reader, and the processing program edited in the CNC 10 can be output to the paper tape puncher.

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

【0018】各軸の現在位置、アラーム、パラメータ、
画像データ等の画像信号は表示制御回路18を介してC
RT/MDIユニット25の表示装置26に送られ、表
示装置26に表示される。インタフェース19はCRT
/MDIユニット25内のキーボード27からのデータ
を受けて、プロセッサ11に渡す。
The current position of each axis, alarms, parameters,
An image signal such as image data is sent to C via the display control circuit 18.
It is sent to the display device 26 of the RT / MDI unit 25 and displayed on the display device 26. Interface 19 is CRT
/ Receives data from the keyboard 27 in the MDI unit 25 and passes it to the processor 11.

【0019】インタフェース20は手動パルス発生器3
2に接続され、手動パルス発生器32からのパルスを受
ける。手動パルス発生器32は機械操作盤に実装され、
手動で機械稼働部を精密に位置決めするのに使用され
る。
The interface 20 is a manual pulse generator 3
2 and receives the pulse from the manual pulse generator 32. The manual pulse generator 32 is mounted on the machine operation panel,
Used to precisely position machine working parts manually.

【0020】軸制御回路41〜44はプロセッサ11か
らの各軸の移動指令を受けて、各軸の指令をサーボアン
プ51〜54に出力する。サーボアンプ51〜54はこ
の移動指令を受けて、各軸のサーボモータ61〜64を
駆動する。サーボモータ61〜64には位置検出用のパ
ルスコーダが内蔵されており、このパルスコーダから位
置信号がパルス列としてフィードバックされる。場合に
よっては、位置検出器として、リニアスケールが使用さ
れる。また、このパルス列をF/V(周波数/速度)変
換することにより、速度信号を生成することができる。
図ではこれらの位置信号のフィードバックライン及び速
度フィードバックは省略してある。
The axis control circuits 41 to 44 receive the movement commands of the respective axes from the processor 11 and output the commands of the respective axes to the servo amplifiers 51 to 54. The servo amplifiers 51 to 54 receive the movement command and drive the servo motors 61 to 64 of the respective axes. The servo motors 61 to 64 have a built-in pulse coder for position detection, and the position signal is fed back from this pulse coder as a pulse train. In some cases, a linear scale is used as the position detector. Further, a speed signal can be generated by F / V (frequency / speed) conversion of this pulse train.
In the figure, the position signal feedback line and velocity feedback are omitted.

【0021】サーボモータ61〜64のうちサーボモー
タ61は、直交座標のX軸を角度θ傾斜させて設けた傾
斜軸XI である。スピンドル制御回路71はスピンドル
回転指令及びスピンドルのオリエンテーション等の指令
を受けて、スピンドルアンプ72にスピンドル速度信号
を出力する。スピンドルアンプ72はこのスピンドル速
度信号を受けて、スピンドルモータ73を指令された回
転速度で回転させる。また、オリエンテーション指令に
よって、所定の位置にスピンドルを位置決めする。
Of the servo motors 61 to 64, the servo motor 61 is an inclination axis X I provided by inclining the X axis of the orthogonal coordinates by an angle θ. The spindle control circuit 71 receives a spindle rotation command, a spindle orientation command, and the like, and outputs a spindle speed signal to a spindle amplifier 72. The spindle amplifier 72 receives the spindle speed signal and rotates the spindle motor 73 at the commanded rotation speed. In addition, the spindle is positioned at a predetermined position according to the orientation command.

【0022】スピンドルモータ73には歯車あるいはベ
ルトでポジションコーダ82が結合されている。従っ
て、ポジションコーダ82はスピンドルモータ73に同
期して回転し、帰還パルスを出力し、その帰還パルスは
インタフェース81を経由して、プロセッサ11によっ
て、読み取られる。この帰還パルスは他の軸をスピンド
ルモータ73に同期して移動させ、精密なタッピング加
工等を可能にする。
A position coder 82 is connected to the spindle motor 73 by a gear or a belt. Therefore, the position coder 82 rotates in synchronization with the spindle motor 73 and outputs a feedback pulse, which is read by the processor 11 via the interface 81. This feedback pulse moves the other shaft in synchronization with the spindle motor 73, enabling precise tapping processing and the like.

【0023】このような構成のCNC10では、直交座
標系で入力された加工プログラムを図4および式
(1)、(2)で示したように傾斜軸座標系、すなわ
ち、機械座標系に変換し、それに従って各軸を移動制御
する。そして、この各軸の座標値を傾斜軸座標系から直
交座標系に変換し、予め設定されたリミット領域と比較
して、オーバトラベルを監視する。このリミット領域
は、例えば図5で示した領域L1が設定される。領域L
1は直交座標系で設定されたものであり、CNC10
は、この直交座標系でオペレータのイメージで設定され
た領域L1と直交座標系に変換された軸の位置とを比較
する。
In the CNC 10 having such a configuration, the machining program input in the orthogonal coordinate system is converted into the tilt axis coordinate system, that is, the machine coordinate system as shown in FIG. 4 and the equations (1) and (2). , And control the movement of each axis accordingly. Then, the coordinate value of each axis is converted from the tilt axis coordinate system to the orthogonal coordinate system, and compared with a preset limit area to monitor overtravel. For this limit area, for example, the area L1 shown in FIG. 5 is set. Area L
1 is set in the Cartesian coordinate system, and CNC10
Compares the region L1 set by the operator's image in this Cartesian coordinate system with the position of the axis converted into the Cartesian coordinate system.

【0024】例えば図5の点P3について見ると、傾斜
軸平面でのZ軸座標R4が領域L1外にあるが、直交座
標系に変換すれば、オーバトラベルでないことが分か
る。すなわち、点P3への移動を行った場合、そのZ軸
の位置が傾斜軸座標上ではリミット領域L1をオーバし
ていても、実際のテーブルの位置はオーバトラベルでな
いことが判断できる。
For example, looking at the point P3 in FIG. 5, it can be seen that the Z-axis coordinate R4 on the tilt axis plane is outside the region L1, but if it is converted to the Cartesian coordinate system, it is not overtravel. That is, when the movement to the point P3 is performed, it can be determined that the actual table position is not overtravel even if the Z-axis position exceeds the limit area L1 on the tilt axis coordinate.

【0025】図3はこのような傾斜軸制御でのオーバト
ラベルを判断するためのCNC10の処理手順を示すフ
ローチャートである。なお、このフローチャートは、パ
ルス分配周期で実行される。 〔S1〕加工プログラムの移動指令に応じてパルス分配
の計算を行う。 〔S2〕加工プログラム上の直交座標値の更新を行う。 〔S3〕パルス分配による移動量を傾斜軸系に変換して
傾斜軸上の移動量の計算を行う。 〔S4〕傾斜軸座標値の更新を行う。 〔S5〕更新した傾斜軸座標値を直交座標の値に変換す
る。すなわち、Z軸について言えば、現在の軸の座標値
から前述の式(2)のXp・tanθをキャンセルす
る。 〔S6〕変換した軸の座標値をリミット領域と比較す
る。 〔S7〕比較の結果オーバトラベルになっているか否か
を判断し、なっていればステップS8に進み、そうでな
ければ本フローチャートを終了する。 〔S8〕機械停止指令等のアラームを出力する。
FIG. 3 is a flow chart showing the processing procedure of the CNC 10 for determining overtravel in such tilt axis control. It should be noted that this flowchart is executed in the pulse distribution cycle. [S1] The pulse distribution is calculated according to the movement command of the machining program. [S2] The Cartesian coordinate values on the machining program are updated. [S3] The movement amount by pulse distribution is converted into the tilt axis system to calculate the movement amount on the tilt axis. [S4] The tilt axis coordinate value is updated. [S5] The updated tilt axis coordinate values are converted into Cartesian coordinate values. That is, regarding the Z-axis, Xp · tan θ in the above-mentioned equation (2) is canceled from the coordinate value of the current axis. [S6] The converted coordinate value of the axis is compared with the limit area. [S7] It is determined whether or not overtravel has occurred as a result of the comparison. If not, the process proceeds to step S8, and if not, the present flowchart is ended. [S8] An alarm such as a machine stop command is output.

【0026】このように、本実施例では、更新した傾斜
軸座標を直交座標に変換して、直交座標系で設定された
リミット領域と比較するようにしたので、オーバトラベ
ル側の処理が簡単で、かつ正確にオーバトラベルを判断
することが可能となる。
As described above, in the present embodiment, the updated tilt axis coordinates are converted into Cartesian coordinates and compared with the limit area set in the Cartesian coordinate system, so that the processing on the overtravel side is simple. And, it becomes possible to judge overtravel accurately.

【0027】[0027]

【発明の効果】以上説明したように本発明では、直交座
標系で入力された加工プログラムで指令された移動指令
値を傾斜軸座標系での移動指令値に変換し、変換された
移動指令値に従って傾斜軸座標系の座標値を更新し、更
新された傾斜軸座標系の座標値を直交座標系の座標値に
変換し、その座標値が直交座標系で設定されたリミット
領域に対してオーバトラベルとなるか否かを判断するよ
うにしたので、オーバトラベル側の処理が簡単であり、
かつ正確にオーバトラベルを判断することが可能とな
る。
As described above, according to the present invention, the movement command value instructed by the machining program input in the orthogonal coordinate system is converted into the movement command value in the tilt axis coordinate system, and the converted movement command value is obtained. The coordinate value of the tilt axis coordinate system is updated in accordance with the above, the updated coordinate value of the tilt axis coordinate system is converted to the coordinate value of the Cartesian coordinate system, and the coordinate value exceeds the limit area set in the Cartesian coordinate system. Since it is determined whether or not it will be travel, the processing on the overtravel side is easy,
And it becomes possible to judge overtravel accurately.

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

【図1】本実施例の機能の概念を示す図である。FIG. 1 is a diagram showing a concept of functions of the present embodiment.

【図2】本発明が適用される数値制御装置(CNC)の
ハードウェアのブロック図である。
FIG. 2 is a block diagram of hardware of a numerical control device (CNC) to which the present invention is applied.

【図3】傾斜軸制御でのオーバトラベルを判断するため
のCNCの処理手順を示すフローチャートである。
FIG. 3 is a flowchart showing a processing procedure of a CNC for determining overtravel in tilt axis control.

【図4】直交座標系と傾斜軸座標系との関係を示す図で
ある。
FIG. 4 is a diagram showing a relationship between an orthogonal coordinate system and a tilt axis coordinate system.

【図5】直交座標系と傾斜軸座標系とのリミット領域の
関係を示す図である。
FIG. 5 is a diagram showing a relationship of a limit area between an orthogonal coordinate system and a tilt axis coordinate system.

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

1 加工プログラム 2 プログラム解読手段 3 指令値座標変換手段 4 傾斜軸座標更新手段 5 更新座標変換手段 6 リミット判断手段 7 リミット領域格納手段 8 アラーム手段 10 数値制御装置(CNC) 11 プロセッサ 12 ROM 13 RAM 14 不揮発性メモリ 41〜44 軸制御回路 51〜54 サーボアンプ 61〜64 サーボモータ 1 Machining Program 2 Program Decoding Means 3 Command Value Coordinate Converting Means 4 Tilt Axis Coordinate Updating Means 5 Update Coordinate Converting Means 6 Limit Judging Means 7 Limit Area Storing Means 8 Alarm Means 10 Numerical Control Units (CNC) 11 Processors 12 ROM 13 RAM 14 Nonvolatile memory 41-44 Axis control circuit 51-54 Servo amplifier 61-64 Servo motor

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 傾斜軸を備えたCNCの傾斜軸制御方式
において、 直交座標系で入力された加工プログラムを読んで解読す
るプログラム解読手段と、 前記直交座標系で設定されたリミット領域のデータを格
納するリミット領域格納手段と、 前記加工プログラムで指令された移動指令値を傾斜軸座
標系での移動指令値に変換する指令値座標変換手段と、 前記変換された移動指令値に従って前記傾斜軸座標系の
座標値を更新する傾斜軸座標更新手段と、 前記更新された傾斜軸座標系の座標値を前記直交座標系
の座標値に変換する更新座標変換手段と、 前記直交座標系に変換された座標値が前記リミット領域
に対してオーバトラベルとなるか否かを判断するリミッ
ト判断手段と、 前記オーバトラベルと判断された場合にはアラーム処理
を行うアラーム手段と、 を有することを特徴とするCNCの傾斜軸制御方式。
1. In a tilt axis control system of a CNC having a tilt axis, a program decoding means for reading and decoding a machining program input in a rectangular coordinate system, and data of a limit area set in the rectangular coordinate system. Limit area storage means for storing, command value coordinate conversion means for converting a movement command value instructed by the machining program into a movement command value in a tilt axis coordinate system, and the tilt axis coordinate according to the converted movement command value. Tilt axis coordinate updating means for updating the coordinate values of the system, update coordinate converting means for converting the coordinate values of the updated tilt axis coordinate system into the coordinate values of the Cartesian coordinate system, and converted into the Cartesian coordinate system Limit determination means for determining whether or not the coordinate value is overtraveled with respect to the limit area, and an alarm processing for performing the alarm processing when it is determined that the overtravel is performed. CNC tilt axis control system, characterized in that it comprises a chromatography arm means.
【請求項2】 前記リミット領域は、パラメータ設定に
より前記リミット領域格納手段に格納されるように構成
されていることを特徴とする請求項1記載のCNCの傾
斜軸制御方式。
2. The tilt axis control method for a CNC according to claim 1, wherein the limit area is configured to be stored in the limit area storage means by parameter setting.
JP20048194A 1994-08-25 1994-08-25 Inclined axis control system for cnc Pending JPH0863215A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP20048194A JPH0863215A (en) 1994-08-25 1994-08-25 Inclined axis control system for cnc

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP20048194A JPH0863215A (en) 1994-08-25 1994-08-25 Inclined axis control system for cnc

Publications (1)

Publication Number Publication Date
JPH0863215A true JPH0863215A (en) 1996-03-08

Family

ID=16425038

Family Applications (1)

Application Number Title Priority Date Filing Date
JP20048194A Pending JPH0863215A (en) 1994-08-25 1994-08-25 Inclined axis control system for cnc

Country Status (1)

Country Link
JP (1) JPH0863215A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105373074A (en) * 2015-12-04 2016-03-02 哈尔滨汽轮机厂有限责任公司 Steam turbine blade processing method based on molded line adjustment
CN106406238A (en) * 2016-11-23 2017-02-15 沈阳黎明航空发动机(集团)有限责任公司 UGCAM method for improving circumferential milling capability of part

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105373074A (en) * 2015-12-04 2016-03-02 哈尔滨汽轮机厂有限责任公司 Steam turbine blade processing method based on molded line adjustment
CN106406238A (en) * 2016-11-23 2017-02-15 沈阳黎明航空发动机(集团)有限责任公司 UGCAM method for improving circumferential milling capability of part

Similar Documents

Publication Publication Date Title
JPH08221132A (en) Method and device for automatic adjustment of servo parameter
WO1992008574A1 (en) Numerically controlled device with working simulation function
EP1607813A1 (en) Numerical controller with program check
JP3285663B2 (en) Tool breakage detection device
WO1992009021A1 (en) Method of evaluating operating accuracy in numerically controlled machine
JPH0736514A (en) Three-dimensional tool diameter correction system
JPH06285701A (en) Nc lathe turning device
JPH1094945A (en) Machining limit area designating method and manual machining method in numerical control device
JPH11143514A (en) Numerical controller capable of executing working error check
JPH02220103A (en) Spindle control command system
JPH03217907A (en) Numerical control method having circular arc interpolation locus display function and its device
JPH0433013A (en) Cylinder interpolating system
JPH0863215A (en) Inclined axis control system for cnc
JP3433967B2 (en) Rigid tap control device
JPH10177406A (en) Controller for five-axis working machine
WO1992009018A1 (en) Method for executing auxiliary function in numerical control equipment
JP2796335B2 (en) Numerical control unit
KR940010397B1 (en) Reloading method of pitch error correction data
JPH10337636A (en) Control device for 5-shaft finishing machine
JPH07334223A (en) Tool spindle attitude control system
JP2862211B2 (en) Speed detection method of spindle speed of numerical controller
JPH0454604A (en) Three-dimensional tool diameter correcting system
JPH0474205A (en) Correction system for tool diameter
JPH03109606A (en) Tool correction system
JPH0659719A (en) Numerical controller

Legal Events

Date Code Title Description
A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20020312