JP2003136332A - Threading control method and device for numerical control machine tool and numerical control machine tool incorporating the same - Google Patents

Threading control method and device for numerical control machine tool and numerical control machine tool incorporating the same

Info

Publication number
JP2003136332A
JP2003136332A JP2001340065A JP2001340065A JP2003136332A JP 2003136332 A JP2003136332 A JP 2003136332A JP 2001340065 A JP2001340065 A JP 2001340065A JP 2001340065 A JP2001340065 A JP 2001340065A JP 2003136332 A JP2003136332 A JP 2003136332A
Authority
JP
Japan
Prior art keywords
thread cutting
variable data
machine tool
tool
numerically controlled
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.)
Granted
Application number
JP2001340065A
Other languages
Japanese (ja)
Other versions
JP4037087B2 (en
Inventor
Tadashi Fujinawa
正 藤縄
Akihide Kanetani
昭秀 金谷
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.)
Citizen Watch Co Ltd
Original Assignee
Citizen Watch Co Ltd
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 Citizen Watch Co Ltd filed Critical Citizen Watch Co Ltd
Priority to JP2001340065A priority Critical patent/JP4037087B2/en
Publication of JP2003136332A publication Critical patent/JP2003136332A/en
Application granted granted Critical
Publication of JP4037087B2 publication Critical patent/JP4037087B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To control movement of a motor to move a tool for threading by adjusting it at an optimal adjusting value in threading work at the time of the threading work. SOLUTION: The optimal adjusting value of each of the motors to drive a spindle and a tool rest is previously found and is stored in a ROM 8 in a control unit or in an outside memory device 5 as a file for threading of a variable data at the time of the threading work by an NC machine tool. Thereafter, a variable data in a RAM 9 to use for adjustment of each of the motors by a program in practice is replaced by reading the previously stored variable data in the file for threading from the ROM 8 or the outside memory device 5 by a CPU 7.

Description

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

【0001】[0001]

【発明の属する技術分野】この発明は、少なくとも1つ
の主軸および少なくとも1つのねじ切り工具を装着でき
る刃物台を有する数値制御工作機械のねじ切り制御方
法、およびそれを実施する制御装置とその制御装置を組
み込んだ数値制御工作機械に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a thread cutting control method for a numerically controlled machine tool having a tool rest on which at least one spindle and at least one thread cutting tool can be mounted, and a controller for implementing the same and a controller for the same. A numerical control machine tool.

【0002】[0002]

【従来の技術】NC旋盤やNCフライス盤等の数値制御
工作機械において、円柱状の被加工材(ワーク)の外周
面あるいは円筒状又は穴あきの被加工材の内周面にねじ
加工(ねじ切り)を行う際には、図4に示すように、回
転する被加工材30にねじ切り用の工具(刃物)40を
接触させながら、その被加工材30の回転に同期してそ
の軸線Aに平行なZ軸方向に工具40を移動させて行
う。しかし、工具40を軸線Aに沿う方向へ移動させる
には、その工具40を取り付けた図示しない刃物台を軸
線Aに沿う方向へ移動させるが、その駆動用モータの加
減速に時間を要するためため、工具40が停止状態から
一定速度になるまでの時間および工具が一定速度から停
止状態になるまでの時間は、ねじ31のピッチが不正に
なる部分(不完全ねじ部)31bができてしまう。
2. Description of the Related Art In numerically controlled machine tools such as NC lathes and NC milling machines, threading (thread cutting) is performed on the outer peripheral surface of a cylindrical workpiece (workpiece) or the inner peripheral surface of a cylindrical or perforated workpiece. When performing, as shown in FIG. 4, while the threading tool (blade) 40 is brought into contact with the rotating work material 30, Z that is parallel to the axis A is synchronized with the rotation of the work material 30. This is done by moving the tool 40 in the axial direction. However, in order to move the tool 40 in the direction along the axis A, a tool post (not shown) to which the tool 40 is attached is moved in the direction along the axis A, but it takes time to accelerate and decelerate the driving motor. In the time from the stop state of the tool 40 to the constant speed and the time from the constant speed of the tool 40 to the stop state, a portion 31b (incomplete thread portion) where the pitch of the screw 31 becomes incorrect is formed.

【0003】この不完全ねじ部31bの発生は広く認知
されており、実際の加工プログラムにおいて確保すべき
不完全ねじ部の距離を計算で求めるのが一般的になって
いる。また数値制御装置の仕様としても、これら計算式
が一般に公開されている。近年、刃物の高剛性化や主軸
の高回転化が進む中で、旋削による切削条件(回転数、
送り速度)が向上している。本来、ねじ切りにおいて
も、被加工材を回転させる主軸を高回転にして、工具の
送り速度を上げることによって切削時間を短くすること
が望まれる。
The occurrence of the incomplete thread portion 31b is widely recognized, and it is general to calculate the distance of the incomplete thread portion to be ensured in an actual machining program. Also, as a specification of the numerical control device, these calculation formulas are open to the public. In recent years, the cutting conditions (rotational speed,
The feed rate) has improved. Originally, also in thread cutting, it is desired to shorten the cutting time by increasing the feed rate of the tool by making the main shaft that rotates the workpiece high rotation.

【0004】しかし、工具の送り速度を上げるとその分
だけ加速に時間がかかり、主軸の回転速度に対して工具
の送り速度が追従しなくなるため、図4に示した不完全
ねじ部31bが長くなる。そのため、主軸の回転数を低
くせざるを得ないのが現状である。また、工具の送り速
度の加減速を向上させても、加減速時間を0にすること
はできない。
However, if the feed speed of the tool is increased, it takes longer time to accelerate, and the feed speed of the tool does not follow the rotation speed of the spindle, so that the incomplete thread portion 31b shown in FIG. 4 is long. Become. Therefore, at present, it is unavoidable to reduce the rotation speed of the main shaft. Further, even if the acceleration / deceleration of the feed speed of the tool is improved, the acceleration / deceleration time cannot be made zero.

【0005】通常、ねじ切り加工は繰り返し切削動作を
行う。ねじ山が高くなればなるほどその繰り返し回数は
増える。したがって、既に切削したねじに対して再び刃
物を接触させることになるが、被加工材の回転と位相す
なわち回転角がずれないように制御する必要がある。と
ころが、工具(刃物)が停止状態から一定速度になるま
での時間、および刃物が一定速度から停止状態になるま
での時間は、工具の送り速度が変化しているため、被加
工材との位相を完全に合わせることができず、この場合
ねじ山が潰れるなどの現象となり、やはり不完全ねじ部
を生成してしまう。
Usually, the thread cutting process is performed by repeatedly performing a cutting operation. The higher the thread, the greater the number of repetitions. Therefore, although the blade is brought into contact with the already cut screw again, it is necessary to control so that the rotation and the phase of the workpiece, that is, the rotation angle do not shift. However, the time it takes for the tool (cutting tool) to reach a constant speed from a stopped state, and the time for the tool to change from a constant speed to a stopped state, are different from the work material because the feed speed of the tool changes. Cannot be perfectly matched, and in this case, a phenomenon such as a screw thread being crushed occurs, and an incomplete thread portion is also generated.

【0006】[0006]

【発明が解決しようとする課題】上述した理由により、
ねじの切り始め部分においては、図5に示すように、ピ
ッチが不正になる部分(不完全ねじ部)をアプローチD
aとして確保する必要がある。このアプローチDaをと
ることは、加工をしていない時間が増えることになり、
1部品あたりの加工時間が増えることにもなる。また、
加工する部品の形状や長さや切削室の大きさから、必要
なアプローチを確保できない場合もある。
For the above reasons,
At the beginning of threading, as shown in FIG. 5, the portion where the pitch is incorrect (incomplete thread portion) is approached D
It must be secured as a. Taking this approach Da increases the time during which processing is not performed,
The processing time per part will also increase. Also,
Depending on the shape and length of the part to be machined and the size of the cutting chamber, it may not be possible to secure the necessary approach.

【0007】ねじの切り上げ部分(切り終わり部分)は
材料が存在するため、切り上げ距離を確保できないこと
が多い。この場合、出来上がったねじに不完全ねじ部が
生じるだけでなく、工具40に余分な力がかかるため、
工具40の寿命が短くなってしまう。従来のモータの加
速は、オーバーシュートなど副作用を発生しない限界ま
で調整されており、これ以上、単純に速度のみを上げる
ことはできない。また加減速時間を0にすることは困難
である。
Since a material is present in the screw up part (end part), it is often impossible to secure the up distance. In this case, not only an incomplete thread portion is generated in the finished screw, but also an extra force is applied to the tool 40,
The life of the tool 40 is shortened. Conventional motor acceleration is adjusted to the limit where side effects such as overshoot do not occur, and it is not possible to simply increase the speed more than this. Further, it is difficult to set the acceleration / deceleration time to 0.

【0008】この発明は、このような従来のNC工作機
械におけるねじ切り加工時の問題を改善するためになさ
れたものであり、ねじ切り加工時には、ねじ切り用の工
具を移動させるモータをねじ切り加工における最適な調
整値で調整して動作制御できるようにして、加工速度を
向上させ、ねじの切り始め部分のアプローチを短くし、
ねじの切り上げ部分においても加工精度を向上させるこ
とを目的とする。
The present invention has been made in order to solve the problem at the time of thread cutting in such a conventional NC machine tool, and at the time of thread cutting, a motor for moving a tool for thread cutting is optimal for thread cutting. By adjusting with the adjustment value so that operation can be controlled, the processing speed is improved, the approach at the beginning of thread cutting is shortened,
The purpose is to improve the machining accuracy even in the screw up part.

【0009】[0009]

【課題を解決するための手段】この発明による数値制御
工作機械のねじ切り制御方法は、少なくとも1つの主軸
および少なくとも1つのねじ切り工具を装着できる刃物
台を有する数値制御工作機械のねじ切り制御方法であっ
て、上記の目的を達成するため、次のようにすることを
特徴とする。上記数値制御工作機械によるねじ切り加工
時に上記主軸および刃物台を駆動する各モータの最適な
調整値を予め求めて、変数データのねじ切り用のファイ
ルとして保存しておく。そして、上記数値制御工作機械
が加工プログラム実行中にねじ切り加工を行う際には、
実行中のプログラムで上記各モータの調整に使用する変
数データを、上記予め保存したねじ切り用のファイルの
変数データに入れ換える。
A thread cutting control method for a numerically controlled machine tool according to the present invention is a thread cutting control method for a numerically controlled machine tool having a tool post on which at least one spindle and at least one thread cutting tool can be mounted. In order to achieve the above object, it is characterized as follows. The optimum adjustment values of the respective motors for driving the spindle and the tool rest during thread cutting by the numerically controlled machine tool are obtained in advance and saved as a file for thread cutting of variable data. When the numerically controlled machine tool performs thread cutting during execution of the machining program,
The variable data used for the adjustment of each motor in the program being executed is replaced with the variable data of the previously stored file for thread cutting.

【0010】上記ねじ切り用のファイルの変数データ
は、ねじ切り以外の加工時に使用する変数データと比べ
て、少なくとも前記刃物台を駆動するモータの加減速時
間を短くするか、それと共に応答性を高める変数データ
であるとよい。上記数値制御工作機械が加工プログラム
実行中にねじ切り加工を行うか否かの判別を、実行中の
加工プログラムの指令の種別によって行うようにするこ
とができる。
The variable data of the file for thread cutting is a variable that shortens at least the acceleration / deceleration time of the motor for driving the tool rest or increases the responsiveness thereof as compared with the variable data used during machining other than thread cutting. It should be data. It is possible to determine whether or not the numerically controlled machine tool performs thread cutting during execution of the machining program, based on the type of command of the machining program being executed.

【0011】また、この発明による数値制御工作機械の
制御装置は、少なくとも1つの主軸および少なくとも1
つのねじ切り工具を装着できる刃物台を有する数値制御
工作機械の制御装置であって、上記の目的を達成するた
め、次の手段を設けたことを特徴とする。すなわち、上
記数値制御工作機械によるねじ切り加工時に上記主軸お
よび刃物台を駆動する各モータの予め求められた最適な
調整値を、変数データのねじ切り用のファイルとして保
存する記憶手段と、上記数値制御工作機械が加工プログ
ラム実行中にねじ切り加工を行うか否かを判別するねじ
切り判別手段と、該手段がねじ切り加工を行うと判別し
たときには、前記予め保存したねじ切り用のファイルの
変数データを読み出して、実行中のプログラムで上記各
モータの調整に使用する変数データをその読み出した変
数データと入れ換える手段とを設けたものである。
A control device for a numerically controlled machine tool according to the present invention has at least one spindle and at least one spindle.
A control device for a numerically controlled machine tool having a tool rest to which one screw cutting tool can be mounted, characterized in that the following means are provided to achieve the above object. That is, a storage means for storing an optimum adjustment value obtained in advance for each motor for driving the spindle and the tool post during thread cutting by the numerically controlled machine tool as a file for threading variable data, and the numerically controlled machine. When the machine determines that thread cutting is to be performed during execution of the machining program, and when the means determines that thread cutting is to be performed, the variable data of the previously stored file for thread cutting is read and executed. A means for replacing the variable data used for adjusting each of the motors with the read variable data in the program therein is provided.

【0012】また、上記記憶手段が記憶するねじ切り用
のファイルの変数データは、ねじ切り以外の加工時に使
用する変数データと比べて、少なくとも上記刃物台を駆
動するモータの加減速時間を短くするか、それとともに
応答性を高める変数データであるかが望ましい。上記ね
じ切り判別手段は、実行中の加工プログラムの指令の種
別によってねじ切り加工を行うか否かを判別する手段で
あるとよい。
In addition, the variable data of the thread cutting file stored in the storage means is at least shorter than the variable data used during machining other than thread cutting for shortening the acceleration / deceleration time of the motor for driving the tool rest, or At the same time, it is desirable to use variable data that improves responsiveness. The thread cutting determination means may be means for determining whether to perform thread cutting processing according to the type of command of the processing program being executed.

【0013】この発明による数値制御工作機械は、上述
した制御装置を組み込んで、ねじ切り加工時に主軸およ
び刃物台を駆動する各モータが、ねじ切りに最適な動作
状態に制御されるようにしたものである。
A numerically controlled machine tool according to the present invention incorporates the above-described control device so that each motor for driving the spindle and the tool rest during thread cutting can be controlled to an optimum operating state for thread cutting. .

【0014】[0014]

【発明の実施の形態】以下、この発明の実施の形態を図
面を参照して具体的に説明する。図1はこの発明の一実
施形態である数値制御工作機械(以下「NC工作機械」
という)の主として制御装置側の概略構成を示すブロッ
ク図であり、図2はその主として工作機械(例えば旋
盤)側の要部構成を示す図である。図1に示すNC工作
機械の制御装置1は、数値制御装置であり、コントロー
ルユニット2、入力部3、表示部4、外部記憶装置5、
およびモータ制御部6によって構成されている。その
他、この発明に直接関係しない部分の構成は図示および
説明を省略している。コントロールユニット2は、CP
U7とROM8およびRAM9とバス10からからな
り、マイクロコンピュータを構成している。
BEST MODE FOR CARRYING OUT THE INVENTION Embodiments of the present invention will be specifically described below with reference to the drawings. FIG. 1 shows a numerically controlled machine tool (hereinafter referred to as “NC machine tool”) which is an embodiment of the present invention.
2) is a block diagram mainly showing a schematic configuration on the side of a control device, and FIG. 2 is a diagram mainly showing a configuration of a main part on the side of a machine tool (for example, a lathe). An NC machine tool control device 1 shown in FIG. 1 is a numerical control device, and includes a control unit 2, an input unit 3, a display unit 4, an external storage device 5,
And a motor control unit 6. Other than that, illustration and description of the configuration of the portion not directly related to the present invention are omitted. Control unit 2 is CP
It consists of U7, ROM8, RAM9 and bus 10, and constitutes a microcomputer.

【0015】CPU7は各種の演算・処理機能を有する
中央処理装置であり、ROM8に格納されている動作プ
ログラムによって動作してこのコントロールユニット2
および制御装置1の全体を統括制御し、RAM9に格納
されたNCプログラムにしたがってモータ制御部6の各
部を制御する。ROM8はリードオンリ・メモリであ
り、CPUの動作プログラムおよび、この発明によるね
じ切り加工時の制御に使用する各モータの調整値を示す
変数データのファイル(その詳細は後述する)等の固定
データを予め格納している。RAM9は、ランダムアク
セス・メモリであり、実行する加工プログラム(NCプ
ログラム)やその実行中の加工プログラムで各モータの
調整に使用する変数データ(その詳細は後述する)等を
一時的に記憶するとともに、CPU7のワーキングメモ
リとしても使用される。
The CPU 7 is a central processing unit having various arithmetic / processing functions, and operates according to an operation program stored in the ROM 8 to control the control unit 2.
Also, the entire control device 1 is integrally controlled, and each unit of the motor control unit 6 is controlled according to the NC program stored in the RAM 9. The ROM 8 is a read-only memory, and stores in advance fixed data such as an operation program for the CPU and a variable data file (details of which will be described later) indicating adjustment values of each motor used for control during thread cutting according to the present invention. is doing. The RAM 9 is a random access memory, and temporarily stores the machining program to be executed (NC program) and variable data (details of which will be described later) used for adjusting each motor in the machining program being executed. , Is also used as a working memory of the CPU 7.

【0016】入力部3と表示部4は、このNC工作機械
の図示しない操作盤に設けられている。その入力部3
は、このNC工作機械の各種の機能を選択したり必要な
情報を入力したりするためのスイッチやボタン、および
自動プログラミング装置やパーソナルコンピュータから
NCプログラムを入力するためのインタフェースなども
含んでいる。表示部4は、CRTや液晶ディスプレイで
あり、このNC工作機械の操作に必要な各種の情報や入
力情報および実際の加工状況などの情報を表示する。外
部記憶装置5は、ハードディスク装置やFDドライブ装
置あるいはMOドライブ装置等の大容量の記憶媒体を用
いる装置であり、予め種々の加工プログラム(NCプロ
グラム)や前述したねじ切り加工を含む各条件毎の各モ
ータの調整値を示す変数データのファイルを格納してお
くこともできる。
The input unit 3 and the display unit 4 are provided on an operation panel (not shown) of this NC machine tool. The input part 3
Includes switches and buttons for selecting various functions of the NC machine tool and inputting necessary information, and an interface for inputting an NC program from an automatic programming device or a personal computer. The display unit 4 is a CRT or a liquid crystal display, and displays various information necessary for operating the NC machine tool, input information, and information such as an actual machining status. The external storage device 5 is a device that uses a large-capacity storage medium, such as a hard disk device, an FD drive device, or an MO drive device, and various processing programs (NC programs) and various conditions for each condition including the thread cutting process described above are stored in advance. It is also possible to store a file of variable data indicating the motor adjustment value.

【0017】これらを接続するバス10は、データバス
とコントロールバスとアドレスバスとによって構成され
ている。モータ制御部6は、図1に実線で示すように、
少なくとも1つの主軸回転制御部である第1主軸回転制
御部11と、少なくとも1つの刃物台移動制御部である
第1刃物台移動制御部12とを有し、それぞれ第1主軸
回転駆動源(主軸モータ)21および第1刃物台駆動機
構(モータ)22の駆動を制御する。すなわち、この制
御装置1が制御する工作機械20は、少なくとも1つの
主軸(スピンドル)と少なくとも1つのねじ切り工具を
装着できる刃物台を有している。
The bus 10 connecting these is composed of a data bus, a control bus, and an address bus. The motor control unit 6, as shown by the solid line in FIG.
It has a first spindle rotation control unit 11 which is at least one spindle rotation control unit and a first tool post movement control unit 12 which is at least one tool post movement control unit, and each has a first spindle rotation drive source (spindle). The drive of the motor 21 and the first turret drive mechanism (motor) 22 is controlled. That is, the machine tool 20 controlled by the control device 1 has a tool rest on which at least one spindle (spindle) and at least one thread cutting tool can be mounted.

【0018】さらに、工作機械20が移動可能な背面主
軸等の第2主軸を有する場合には、その第2主軸回転駆
動源23を制御する第2主軸回転制御部13と、第2主
軸駆動機構24を制御する第2主軸移動制御部14を、
それぞれ図1におけるモータ制御部6に破線で示すよう
に設ける。また、工作機械20の刃物台に回転工具を取
り付けられる場合には、その回転工具回転駆動源25を
制御する回転工具回転制御部15を、同じくモータ制御
部6に破線で示すように設ける。このモータ制御部6
も、コントロールユニット2とバス10によって接続さ
れている。
Further, when the machine tool 20 has a movable second spindle such as a back spindle, a second spindle rotation control section 13 for controlling the second spindle rotation drive source 23 and a second spindle drive mechanism. The second spindle movement control unit 14 for controlling the
Each is provided in the motor control unit 6 in FIG. 1 as shown by the broken line. Further, when the rotary tool can be attached to the tool rest of the machine tool 20, the rotary tool rotation control unit 15 for controlling the rotary tool rotation drive source 25 is also provided in the motor control unit 6 as indicated by a broken line. This motor control unit 6
Is also connected to the control unit 2 by the bus 10.

【0019】図2は工作機械20側の最も単純な構成例
を、モータ制御部6との間の信号の入出力関係と共に示
している。モータ制御部6の第1主軸回転制御部11に
よって制御される第1主軸回転駆動源21は、主軸(ス
ピンドル)210を回転させる主軸モータであり、主軸
210に設けられたチャック211によって保持する被
加工材料(ワーク)30を高速で回転させる。その主軸
モータ21には、回転検出器212が取り付けられてお
り、主軸モータ21の主軸210が一定角度回転する毎
にパルス信号を発生し、第1主軸回転制御部11へフィ
ードバックする。この主軸モータ21及びチャック21
1を備えた主軸210は、図示を省略しているベッドに
配設されている。
FIG. 2 shows an example of the simplest configuration on the machine tool 20 side together with the signal input / output relationship with the motor control section 6. The first main spindle rotation drive source 21 controlled by the first main spindle rotation control section 11 of the motor control section 6 is a main spindle motor that rotates the main spindle (spindle) 210, and a target held by a chuck 211 provided on the main spindle 210. The processing material (workpiece) 30 is rotated at high speed. A rotation detector 212 is attached to the main spindle motor 21, and a pulse signal is generated every time the main spindle 210 of the main spindle motor 21 rotates by a certain angle, and is fed back to the first main spindle rotation control unit 11. The spindle motor 21 and the chuck 21
The main shaft 210 provided with 1 is arranged in a bed (not shown).

【0020】第1刃物台駆動機構22は、刃物台(XZ
テーブル機構に保持されている)220をX軸方向(図
では垂直方向)に移動させるためのX軸送りモータ22
1xと送りねじ222x、およびその刃物台をZ軸方向
(図では水平方向)に移動させるためのZ軸送りモータ
221zと送りねじ222z等によって構成されてい
る。そのX軸送りモータ221xには回転検出器223
xが装着されており、Z軸送りモータ221zには、回
転検出器223zが装着されている。
The first tool post drive mechanism 22 includes a tool post (XZ
X-axis feed motor 22 for moving 220 held in the table mechanism in the X-axis direction (vertical direction in the figure)
1x and a feed screw 222x, and a Z-axis feed motor 221z and a feed screw 222z for moving the tool rest in the Z-axis direction (horizontal direction in the drawing). A rotation detector 223 is attached to the X-axis feed motor 221x.
x is attached, and a rotation detector 223z is attached to the Z-axis feed motor 221z.

【0021】モータ制御部6の第1刃物台移動制御部1
2は、図2に示すようにX軸送り制御部12xとZ軸送
り制御部12zとを有している。そして、そのX軸送り
制御部12xは、その出力制御信号によってX軸送りモ
ータ221xの回転を制御し、回転検出器223xから
の送りねじ222xの回転速度に比例する周波数のパル
ス信号をフィードバック信号として入力する。一方、Z
軸送り制御部12zは、その出力制御信号によってZ軸
送りモータ221zの回転を制御し、回転検出器223
zからの送りねじ222zの回転速度に比例する周波数
のパルス信号をフィードバック信号として入力する。
The first tool post movement control unit 1 of the motor control unit 6
2 has an X-axis feed controller 12x and a Z-axis feed controller 12z, as shown in FIG. Then, the X-axis feed control unit 12x controls the rotation of the X-axis feed motor 221x by the output control signal, and uses a pulse signal having a frequency proportional to the rotation speed of the feed screw 222x from the rotation detector 223x as a feedback signal. input. On the other hand, Z
The axis feed control unit 12z controls the rotation of the Z axis feed motor 221z by the output control signal, and the rotation detector 223.
A pulse signal having a frequency proportional to the rotation speed of the feed screw 222z from z is input as a feedback signal.

【0022】そして、この第1刃物台駆動機構22によ
って、刃物台220に取り付けた工具(刃物)40をX
軸方向およびZ軸方向に移動させ、主軸210のチャッ
ク211に保持されて回転されるワーク30を加工す
る。この例では、刃物台220に1つの工具40のみを
取り付けているが、一般にターレット式刃物台を使用し
て、その周囲に放射状に多数の工具、例えば各種の外径
削り用バイト、内径削り用バイト、ねじ切り用バイト、
突切り用バイト、回転工具であるドリルなどを取り付
け、それらのいずれかを任意に選択して使用できるよう
にしている。この実施形態においても、ターレット式刃
物台を使用して、加工プログラムの実行中に工具を自動
的に交換できるものとする。
Then, the tool (tool) 40 attached to the tool rest 220 is moved to the X position by the first tool rest drive mechanism 22.
The workpiece 30 held in the chuck 211 of the main shaft 210 and rotated is moved while being moved in the axial direction and the Z-axis direction. In this example, only one tool 40 is attached to the tool rest 220, but generally, a turret type tool rest is used, and a large number of tools are radially arranged around the tool rest, for example, various kinds of outer diameter cutting tools and inner diameter cutting tools. Cutting tool, thread cutting tool,
A cutting tool for cutting off and a drill, which is a rotary tool, are attached so that any one of them can be selected and used. Also in this embodiment, it is assumed that the turret type tool post can be used to automatically change the tool during the execution of the machining program.

【0023】次に、このNC工作機械における制御装置
1によるこの発明に係るねじ切り制御方法について説明
する。まず、この発明によるNC工作機械のねじ切り制
御方法の概略を箇条書きにして説明する。 1)ねじ切り加工時においては、刃物台移動用モータの
加減速時間を短くするような設定にする。 2)ねじ切り加工時においては、刃物台移動用モータの
加減速の間においても、被加工材の回転と同期できるよ
うに設定する。 3)ねじ切り加工時においては、少なくとも上記1)の
設定データを使用するために、通常の切削加工時と調整
用の変数データを入れ換えて使用できるようにする。 4)そのために、ねじ切り専用の変数データ(パラメー
タ)を別に持つようにする。
Next, a thread cutting control method according to the present invention by the control device 1 in this NC machine tool will be described. First, an outline of a thread cutting control method for an NC machine tool according to the present invention will be described in itemized form. 1) At the time of thread cutting, the acceleration / deceleration time of the turret moving motor is set to be short. 2) During thread cutting, it is set so that it can be synchronized with the rotation of the workpiece even during the acceleration / deceleration of the turret moving motor. 3) At the time of thread cutting, at least the setting data of 1) above is used, so that the variable data for adjustment can be used interchangeably with the variable data for adjustment. 4) For that purpose, separate variable data (parameters) dedicated to thread cutting are provided.

【0024】ねじ切りという切削の条件に特化してモー
タの調整を行い、その設定値をねじ切り加工時に使用す
れば、現状の不完全ねじ部に対して改善を加えることが
できる。但し、この設定で全ての加工を行うことは振動
や発熱といった弊害を生じることになる。その理由は、
速度の変化に対して敏速に反応する(レスポンスを上げ
る)ために、アイドル状態でも常に高い電流を流すなど
の制御をするためである。
If the motor is adjusted specifically for the cutting condition of thread cutting and the set value is used during thread cutting, it is possible to improve the current incomplete thread portion. However, performing all the processing with this setting causes adverse effects such as vibration and heat generation. The reason is,
This is because in order to react promptly to a change in speed (increase the response), a control is performed such that a high current is always supplied even in an idle state.

【0025】次に、図1および図2によって説明したN
C工作機械にこの発明によるねじ切り制御方法を実施す
る場合の例を、具体的に説明する。まず、このNC工作
機械によるねじ切りの加工は、図2に示した刃物台22
0の工具40としてねじ切り用工具(刃物)を選択し
て、主軸210によって回転される被加工材30の外周
面にねじ切りを行うものとする。そのねじ切り加工時
に、主軸210を回転させる主軸モータ21と、刃物台
220をX軸方向およびZ軸方向へ駆動するX軸送りモ
ータ221xとZ軸送りモータ221zの最適な調整値
を計算あるいは実測によって求め、その各調整値を変数
データのファイルとして、例えばファイルSA−7,フ
ァイルTA−7とそれぞれファイル名を付けて、図1に
示したコントロールユニット2内のROM8、あるいは
外部記憶装置5に記憶させて保存しておく。
Next, N described with reference to FIGS.
An example of implementing the thread cutting control method according to the present invention on a C machine tool will be specifically described. First of all, the thread cutting by this NC machine tool is performed by the tool rest 22 shown in FIG.
It is assumed that a thread cutting tool (blade) is selected as the tool 40 of 0 and thread cutting is performed on the outer peripheral surface of the work material 30 rotated by the spindle 210. At the time of the thread cutting, the spindle motor 21 that rotates the spindle 210, the optimum adjustment values of the X-axis feed motor 221x and the Z-axis feed motor 221z that drive the tool rest 220 in the X-axis direction and the Z-axis direction are calculated or measured. Each adjusted value is stored as a variable data file, for example, file SA-7 and file TA-7 with file names, and stored in the ROM 8 in the control unit 2 shown in FIG. 1 or the external storage device 5. Let me save it.

【0026】なお、コントロールユニット2内のRAM
9には、加工プログラム実行中にCPU7によって使用
され、各モータの動作を直接左右する調整データが格納
されている領域(変数データ領域)は1つだけであり、
通常はそこに従来のNC工作機械の制御装置と同様に、
加工条件および使用条件のどれを優先するかによって決
定された標準の調整データ(変数データ)が格納されて
いる。表1は、その標準の変数データの例を示し、この
データも書き換えられ後、再び書き戻せるように、例え
ばファイルSA−0,ファイルTA−0とそれぞれファ
イル名を付けて、前述のROM8あるいは外部記憶装置
5に記憶させて保存しておく。表2は、ねじ切り加工用
のファイルSA−7,ファイルTA−7の変数データの
例を示す。これらの表において、主軸の1軸目は主軸モ
ータ21、刃物台の1軸目はX軸送りモータ221x、
2軸目はZ軸送りモータ221zに対する各データであ
る。
The RAM in the control unit 2
In FIG. 9, there is only one area (variable data area) that is used by the CPU 7 during execution of the machining program and that stores adjustment data that directly affects the operation of each motor.
Usually, like the conventional NC machine tool controller,
The standard adjustment data (variable data) determined by giving priority to the processing condition and the use condition is stored. Table 1 shows an example of the standard variable data. For example, the file SA-0 and the file TA-0 are given file names so that the data can be written back again after being rewritten. It is stored in the storage device 5 and saved. Table 2 shows an example of the variable data of the file SA-7 and the file TA-7 for thread cutting. In these tables, the first axis of the spindle is the spindle motor 21, the first axis of the tool rest is the X-axis feed motor 221x,
The second axis is each data for the Z-axis feed motor 221z.

【0027】[0027]

【表1】 [Table 1]

【0028】[0028]

【表2】 [Table 2]

【0029】ここで変数データとは以下のようなものを
言う。 ○最大速度(早送り速度):モータを回転させて軸移動
させる際の速度の最大値であり、単位はmm/sec ○加減速時間(時定数):モータを停止状態から最大速
度までの加速に要する時間であり、単位はmsec(ミ
リ秒) 応答性(ゲイン):モータの回転開始時の追従力や反力
に対する応答力などの増加量であり、相対比例値であ
る。 補正(ロストモーション補正など):特殊な条件下で見
られる傾向を補う機能であり、相対比例値である。
Here, the variable data is as follows. ○ Maximum speed (rapid feed speed): The maximum value of the speed when the motor is rotated to move the axis, the unit is mm / sec ○ Acceleration / deceleration time (time constant): For acceleration from the stopped state to the maximum speed It is a time required and its unit is msec (millisecond) Responsiveness (gain): an increase amount of a response force to a reaction force and a follow-up force at the start of rotation of the motor, which is a relative proportional value. Correction (lost motion correction, etc.): A function that compensates for the tendency found under special conditions, and is a relative proportional value.

【0030】表2に示すねじ切り加工用の変数データ
は、表1に示す標準の変数データと比べて、特に刃物台
駆動用の各モータの加減速時間をかなり短くし、応答性
も大幅に高くしている。ねじ切り加工時には、このねじ
切り加工用の変数データを、図1に示したCPU7が、
ROM8あるいは外部記憶装置5から読み出して、RA
M9内の変数データを入れ換える(書き換える)。変数
データを入れ換える方法に複数の方法があり、変数デー
タ入れ換え方法の選択を表示部4の画面によって行う。
Compared with the standard variable data shown in Table 1, the variable data for thread cutting shown in Table 2 significantly shortens the acceleration / deceleration time of each motor for driving the turret, and has a significantly high responsiveness. is doing. At the time of thread cutting, the CPU 7 shown in FIG.
RA is read from the ROM 8 or the external storage device 5.
Replace (rewrite) the variable data in M9. There are a plurality of methods for exchanging variable data, and the method of exchanging variable data is selected on the screen of the display unit 4.

【0031】図3に表示部4によるその変数データ入れ
換え方法の選択画面の一例を示す。この例では、画面の
中から[自動],[プログラム指令],[操作]のいず
れか一つを選択することができる。ここで「自動」と
は、加工プログラムの指令やモータの状態に応じて変数
データの入れ換えを自動的に行う方法である。「プログ
ラム指令」とは、加工プログラムの中で変数データの入
れ換えを指示する指令を与える方法である。
FIG. 3 shows an example of the selection screen of the variable data replacement method on the display unit 4. In this example, any one of [Auto], [Program command], and [Operation] can be selected from the screen. Here, "automatic" is a method of automatically exchanging variable data according to a command of a machining program or a state of a motor. The "program command" is a method of giving a command for instructing replacement of variable data in the machining program.

【0032】「操作」とは、機械操作時に変数データの
入れ換えを指示する操作を行う方法である。選択した入
れ換え方法に従って、ねじ切り加工を行うか否かを判別
しながら、ねじ切り用あるいは標準のファイルの調整デ
ータ(変数データ)を選び、RAM9に格納されている
の変数データを入れ換える。なお、ねじ切り以外の加工
条件や使用条件、あるいはその組み合わせに対する変数
データもファイル名を付けて保存し、必要に応じてその
変数データを読み出して、RAM9に格納されているの
変数データを入れ換えるようにしてもよい。
The "operation" is a method of instructing replacement of variable data when operating a machine. According to the selected replacement method, the adjustment data (variable data) of the threading or standard file is selected and the variable data stored in the RAM 9 is replaced while determining whether or not the thread cutting is performed. Variable data for processing conditions other than thread cutting, usage conditions, or combinations thereof is also saved with a file name, and the variable data stored in the RAM 9 is replaced when necessary by reading the variable data. May be.

【0033】さらに、刃物台220のZ軸送りモータ2
21zの加減速の間においても、被加工材料30の回転
と同期できるように、Z軸送りモータ221zの起動時
から工具40のZ軸方向への送り速度が一定になるま
で、主軸モータ21の回転を下げて、Z軸送りモータ2
21zと同期させてその回転数を上げるように制御する
となおよいる。
Further, the Z-axis feed motor 2 of the tool rest 220
Even during the acceleration / deceleration of 21z, in order to synchronize with the rotation of the material 30 to be processed, from the start of the Z-axis feed motor 221z until the feed speed of the tool 40 in the Z-axis direction becomes constant, the spindle motor 21 is driven. Lower the rotation and move the Z-axis feed motor 2
It is said that control is performed so as to increase the rotational speed in synchronization with 21z.

【0034】[加工プログラムによる変数データ入れ換
えの例]ここで、図3に示した選択画面で「プログラム
指令」を選択した場合の、加工プログラムによる変数デ
ータの入れ換え方法の具体例を説明する。この例では、
図2に示した刃物台220がターレット式刃物台で、そ
のT04位置にねじ切り用工具が取り付けられているも
のとする。
[Example of Variable Data Swap by Machining Program] Here, a specific example of a method for exchanging variable data by a machining program when “program command” is selected on the selection screen shown in FIG. 3 will be described. In this example,
It is assumed that the tool post 220 shown in FIG. 2 is a turret type tool post and a thread cutting tool is attached to the T04 position thereof.

【0035】加工プログラム(NCプログラム) M3 S1=5000 T0400 M107 X13.0 G92 X11.5 Z−80 F0.7 X11.1 X10.96 X10.96 G0 X13.0Machining program (NC program) M3 S1 = 5000 T0400 M107 X13.0 G92 X11.5 Z-80 F0.7 X11.1 X10.96 X10.96 G0 X 13.0

【0036】この加工プログラムの実行中に、ツール指
令のTコードであるT0400が図1におけるCPU7
に読み込まれると、ターレット式刃物台を回転させてね
じ切り工具を選択し、次の補助指令のMコードであるM
107を読み込むと、ファイルSA−7とファイルTA
−7のねじ切り加工用の変数データをROM8から読み
出し、RAM9に格納されている変数データを入れ換え
る。この例では、MコードのM107の最後の数値
「7」は、ファイル名の数値を示しており、CPU7は
これによって表2に示したファイルSA−7とファイル
TA−7のねじ切り加工と判別して、その各ファイルの
変数データをROM8から読み出して、RAM9の変数
データを入れ換える。したがって、その後に開始される
旋削加工中は、表3に示した「旋削2(中速)」の変数
データに基づいて、各モータの調整がなされる。
During execution of this machining program, T0400, which is the T code of the tool instruction, is stored in the CPU 7 in FIG.
When it is read in, the turret type tool post is rotated to select the thread cutting tool, and the M code for the next auxiliary command is M
When 107 is read, file SA-7 and file TA
The variable data for thread cutting of -7 is read from the ROM 8 and the variable data stored in the RAM 9 is replaced. In this example, the last numerical value "7" of M107 of the M code indicates the numerical value of the file name, and the CPU 7 thereby discriminates the thread cutting processing of the file SA-7 and the file TA-7 shown in Table 2. Then, the variable data of each file is read from the ROM 8 and the variable data of the RAM 9 is replaced. Therefore, during the turning process started thereafter, each motor is adjusted based on the variable data of "Turning 2 (medium speed)" shown in Table 3.

【0037】この旋削加工が終了し、次のツール指令の
Tコードでねじ切り用工具以外の工具を選択すると、次
の補助指令のMコードで、CPU7がファイルSA−0
とファイルTA−0の標準ファイルの変数データをRO
M8から読み出し、RAM9に格納されている変数デー
タを入れ換える(元のデータに戻す)。なお、この例で
は加工プログラム中の補助指令のMコードによって、ね
じ切り加工の判別およびそのファイルの変数データの読
み出しと入れ換えを行うようにしたが、ツール指令のT
コードによってもねじ切り加工を行うことを判別できる
ので、このTコードによってCPU7がRAM9の変数
データの入れ換えを行うようにしてもよい。
When this turning process is completed and a tool other than the thread cutting tool is selected by the T code of the next tool command, the CPU 7 sends the file SA-0 by the M code of the next auxiliary command.
And the variable data of the standard file of file TA-0
The variable data read from M8 and stored in the RAM 9 are replaced (restored to the original data). In this example, the M code of the auxiliary instruction in the machining program is used to determine the thread cutting operation and read out and replace the variable data of the file.
Since it is possible to determine that the thread cutting process is performed also by the code, the CPU 7 may replace the variable data of the RAM 9 by this T code.

【0038】このねじ切り制御方法によれば、図5に示
したねじ切りのアプローチDaを短くして、ねじ切り加
工の作業効率を高めることができる。また、図4に示し
た従来のねじ切り加工による不完全ねじ部31bの長さ
は、主軸の回転数によっても異なるが、主軸の回転数を
5000rpmにしてねじ切り加工をした場合、7〜8
ピッチとなっていた。それが、この発明のねじ切り制御
方法を実施することによって、不完全ねじ部を2〜3ピ
ッチに減らすことができる。
According to this thread cutting control method, the thread cutting approach Da shown in FIG. 5 can be shortened to improve the work efficiency of thread cutting. Further, the length of the incomplete threaded portion 31b according to the conventional threading process shown in FIG. 4 varies depending on the rotation speed of the spindle, but when the threading process is performed with the spindle rotation speed of 5000 rpm, 7 to 8 is obtained.
It was on the pitch. By implementing the thread cutting control method of the present invention, the incomplete thread portion can be reduced to a few pitches.

【0039】この発明による数値制御工作機械の制御装
置においては、図1におけるROM8あるいは外部記憶
装置5が、このNC工作機械によるねじ切り加工時に主
軸および刃物台を駆動する各モータの予め求められた最
適な調整値を、変数データのねじ切り用のファイルとし
て保存する記憶手段である。また、CPU7が、このN
C工作機械が加工プログラム実行中にねじ切り加工を行
うか否かを判別するねじ切り判別手段の機能と、該手段
がねじ切り加工を行うと判別したときには、上記予め保
存したねじ切り用のファイルの変数データを読み出し
て、実行中のプログラムで上記各モータの調整に使用す
る変数データをその読み出した変数データと入れ換える
手段の機能とを果している。
In the controller of the numerically controlled machine tool according to the present invention, the ROM 8 or the external storage device 5 shown in FIG. 1 has the previously determined optimum values for the respective motors for driving the spindle and the tool rest during thread cutting by the NC machine tool. It is a storage means that saves various adjustment values as a file for threading variable data. In addition, the CPU 7
C When the machine tool determines that thread cutting is to be performed while the machine tool is executing the machining program, and when the means determines that thread cutting is to be performed, the variable data of the previously stored file for thread cutting is stored. It serves as a function of replacing the variable data read out and used in the adjustment of each motor in the running program with the read variable data.

【0040】[0040]

【発明の効果】以上説明してきたように、この発明によ
れば、数値制御工作機械におけるねじ切り加工時に、各
軸を駆動する各モータに対してねじ切り加工に最適な調
整を行い、その調整値を元に動作制御することができる
ので、加工速度を向上させることができる。しかも、ね
じの切り始めの部分のアプローチを短くし、ねじの切り
上げ部分においても加工精度を向上させることができ
る。振動や熱の発生を抑え、工具(刃物)の寿命を延ば
すこともできる。
As described above, according to the present invention, at the time of thread cutting in a numerically controlled machine tool, each motor that drives each axis is optimally adjusted for thread cutting, and the adjustment value is set. Since the operation can be controlled originally, the processing speed can be improved. Moreover, the approach at the beginning of thread cutting can be shortened, and the machining accuracy can be improved even at the part where the thread is cut up. It can also suppress the generation of vibration and heat and extend the life of the tool (cutting tool).

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

【図1】この発明の一実施形態である数値制御工作機械
の主として制御装置側の概略構成を示すブロック図であ
る。
FIG. 1 is a block diagram showing a schematic configuration mainly on a control device side of a numerically controlled machine tool according to an embodiment of the present invention.

【図2】同じくその主として工作機械側の要部構成を示
す図である。
FIG. 2 is also a diagram mainly showing a main part configuration of the machine tool side.

【図3】図1における表示部4による変数データ入れ換
え方法の選択画面の一例を示す図である。
FIG. 3 is a diagram showing an example of a selection screen of a variable data replacement method on the display unit 4 in FIG.

【図4】従来のNC工作機械によるねじ切り加工によっ
て不完全ねじ部が生じることの説明図に供する図であ
る。
FIG. 4 is a diagram used for explaining that an incomplete thread portion is generated by thread cutting with a conventional NC machine tool.

【図5】不完全ねじ部が生じないようにアプローチをと
ることの説明に供する図である。
FIG. 5 is a diagram for explaining an approach to prevent an incomplete thread portion from occurring.

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

1:制御装置 2:コントロールユニット 3:入力部 4:表示部 5:外部記憶装置 6:モータ制御部 7:CPU 8:ROM 9:RAM 10:バス 11:第1主軸回転制御部 12:第1刃物台移動制御部 20:工作機械 21:第1主軸回転駆動源(主軸モータ) 22:第1刃物台駆動機構 30:被加工材(ワーク) 40:工具(ねじ切り用工具) 210:主軸 220:刃物台 221x:X軸送りモータ 221z:Z軸送りモータ 1: Control device 2: Control unit 3: Input section 4: Display section 5: External storage device 6: Motor control unit 7: CPU 8: ROM 9: RAM 10: Bus 11: First spindle rotation controller 12: 1st turret movement control section 20: Machine tool 21: 1st spindle rotation drive source (spindle motor) 22: First turret drive mechanism 30: Work material 40: Tool (tool for thread cutting) 210: Spindle 220: Turret 221x: X-axis feed motor 221z: Z-axis feed motor

─────────────────────────────────────────────────────
─────────────────────────────────────────────────── ───

【手続補正書】[Procedure amendment]

【提出日】平成13年11月12日(2001.11.
12)
[Submission date] November 12, 2001 (2001.11.
12)

【手続補正1】[Procedure Amendment 1]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】0002[Name of item to be corrected] 0002

【補正方法】変更[Correction method] Change

【補正内容】[Correction content]

【0002】[0002]

【従来の技術】NC旋盤やNCフライス盤等の数値制御
工作機械において、円柱状の被加工材(ワーク)の外周
面あるいは円筒状又は穴あきの被加工材の内周面にねじ
加工(ねじ切り)を行う際には、図4に示すように、回
転する被加工材30にねじ切り用の工具(刃物)40を
接触させながら、その被加工材30の回転に同期してそ
の軸線Aに平行なZ軸方向に工具40を移動させて行
う。しかし、工具40を軸線Aに沿う方向へ移動させる
には、その工具40を取り付けた図示しない刃物台を軸
線Aに沿う方向へ移動させるが、その駆動用モータの加
減速に時間を要するため、工具40が停止状態から一定
速度になるまでの時間および工具が一定速度から停止状
態になるまでの時間は、ねじ31のピッチが不正になる
部分(不完全ねじ部)31bができてしまう。
2. Description of the Related Art In numerically controlled machine tools such as NC lathes and NC milling machines, threading (thread cutting) is performed on the outer peripheral surface of a cylindrical workpiece (workpiece) or the inner peripheral surface of a cylindrical or perforated workpiece. When performing, as shown in FIG. 4, while making the threading tool (blade) 40 in contact with the rotating workpiece 30, the Z parallel to the axis A is synchronized with the rotation of the workpiece 30. This is done by moving the tool 40 in the axial direction. However, in order to move in a direction along the tool 40 in the axial A, but is moved in a direction along the tool rest (not shown) attached to the tool 40 to the axis A, since it takes time to acceleration and deceleration of the drive motor, During the time from the stop state of the tool 40 to the constant speed and the time from the constant speed of the tool 40 to the stop state, a portion (incomplete thread portion) 31b in which the pitch of the screw 31 becomes incorrect is formed.

【手続補正2】[Procedure Amendment 2]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】0032[Name of item to be corrected] 0032

【補正方法】変更[Correction method] Change

【補正内容】[Correction content]

【0032】「操作」とは、機械操作時に変数データの
入れ換えを指示する操作を行う方法である。選択した入
れ換え方法に従って、ねじ切り加工を行うか否かを判別
しながら、ねじ切り用あるいは標準のファイルの調整デ
ータ(変数データ)を選び、RAM9に格納されている
変数データを入れ換える。なお、ねじ切り以外の加工条
件や使用条件、あるいはその組み合わせに対する変数デ
ータもファイル名を付けて保存し、必要に応じてその変
数データを読み出して、RAM9に格納されている変数
データを入れ換えるようにしてもよい。
The "operation" is a method of instructing replacement of variable data when operating a machine. According to the selected replacement method, the adjustment data (variable data) of the threading or standard file is selected and the variable data stored in the RAM 9 is replaced while determining whether or not the thread cutting is performed. Variable data for machining conditions other than thread cutting, usage conditions, or combinations thereof are also saved with a file name, and the variable data stored in the RAM 9 can be replaced by reading the variable data as needed. Good.

【手続補正3】[Procedure 3]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】0033[Correction target item name] 0033

【補正方法】変更[Correction method] Change

【補正内容】[Correction content]

【0033】さらに、刃物台220のZ軸送りモータ2
21zの加減速の間においても、被加工材料30の回転
と同期できるように、Z軸送りモータ221zの起動時
から工具40のZ軸方向への送り速度が一定になるま
で、主軸モータ21の回転を下げて、Z軸送りモータ2
21zと同期させてその回転数を上げるように制御する
なおよい
Further, the Z-axis feed motor 2 of the tool rest 220
Even during the acceleration / deceleration of 21z, in order to synchronize with the rotation of the material 30 to be processed, from the start of the Z-axis feed motor 221z until the feed speed of the tool 40 in the Z-axis direction becomes constant, the spindle motor 21 is driven. Lower the rotation and move the Z-axis feed motor 2
When 21z and is synchronized by controlling so as to increase the rotational speed still good.

【手続補正4】[Procedure amendment 4]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】0036[Correction target item name] 0036

【補正方法】変更[Correction method] Change

【補正内容】[Correction content]

【0036】この加工プログラムの実行中に、ツール指
令のTコードであるT0400が図1におけるCPU7
に読み込まれると、ターレット式刃物台を回転させてね
じ切り工具を選択し、次の補助指令のMコードであるM
107を読み込むと、ファイルSA−7とファイルTA
−7のねじ切り加工用の変数データをROM8から読み
出し、RAM9に格納されている変数データを入れ換え
る。この例では、MコードのM107の最後の数値
「7」は、ファイル名の数値を示しており、CPU7は
これによってファイルSA−7とファイルTA−7のね
じ切り加工と判別して、その各ファイルの変数データを
ROM8から読み出して、RAM9の変数データを入れ
換える。したがって、その後に開始される旋削加工中
は、表2に示した「ねじ切り」の変数データに基づい
て、各モータの調整がなされる。
During execution of this machining program, T0400, which is the T code of the tool instruction, is stored in the CPU 7 in FIG.
When it is read in, the turret type tool post is rotated to select the thread cutting tool, and the M code for the next auxiliary command is M
When 107 is read, file SA-7 and file TA
The variable data for thread cutting of -7 is read from the ROM 8 and the variable data stored in the RAM 9 is replaced. In this example, the last number of the M107 M-code "7" indicates the value of the file name, CPU 7 is to determine the result threading file SA-7 and file TA-7 thereto, each The variable data of the file is read from the ROM 8 and the variable data of the RAM 9 is replaced. Therefore, during the turning process started thereafter, each motor is adjusted based on the variable data of “thread cutting” shown in Table 2 .

【手続補正5】[Procedure Amendment 5]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】0037[Name of item to be corrected] 0037

【補正方法】変更[Correction method] Change

【補正内容】[Correction content]

【0037】このねじ切り加工が終了し、次のツール指
令のTコードでねじ切り用工具以外の工具を選択する
と、次の補助指令のMコードで、CPU7がファイルS
A−0とファイルTA−0の標準ファイルの変数データ
をROM8から読み出し、RAM9に格納されている変
数データを入れ換える(元のデータに戻す)。なお、こ
の例では加工プログラム中の補助指令のMコードによっ
て、ねじ切り加工の判別およびそのファイルの変数デー
タの読み出しと入れ換えを行うようにしたが、ツール指
令のTコードによってもねじ切り加工を行うことを判別
できるので、このTコードによってCPU7がRAM9
の変数データの入れ換えを行うようにしてもよい。
When this thread cutting process is completed and a tool other than the thread cutting tool is selected by the T code of the next tool command, the CPU 7 sends the file S by the M code of the next auxiliary command.
The variable data of the standard file of A-0 and the file TA-0 is read from the ROM 8 and the variable data stored in the RAM 9 is replaced (restored to the original data). In this example, the M code of the auxiliary command in the machining program is used to determine the thread cutting process and read out and replace the variable data in the file, but the T code of the tool command can also be used to perform the thread cutting process. Since it can be discriminated, the CPU 7 causes the RAM 9 to
The variable data may be exchanged.

Claims (9)

【特許請求の範囲】[Claims] 【請求項1】 少なくとも1つの主軸および少なくとも
1つのねじ切り工具を装着できる刃物台を有する数値制
御工作機械のねじ切り制御方法であって、 前記数値制御工作機械によるねじ切り加工時に前記主軸
および刃物台を駆動する各モータの最適な調整値を予め
求めて、変数データのねじ切り用のファイルとして保存
しておき、 前記数値制御工作機械が加工プログラム実行中にねじ切
り加工を行う際には、実行中のプログラムで前記各モー
タの調整に使用する変数データを、前記予め保存したね
じ切り用のファイルの変数データに入れ換えることを特
徴とする数値制御工作機械のねじ切り制御方法。
1. A thread cutting control method for a numerically controlled machine tool having a tool rest capable of mounting at least one spindle and at least one thread cutting tool, wherein the spindle and the tool rest are driven during thread cutting by the numerically controlled machine tool. Determine the optimum adjustment value for each motor in advance, save it as a file for thread cutting of variable data, and when the numerically controlled machine tool performs thread cutting during execution of the machining program, A thread cutting control method for a numerically controlled machine tool, characterized in that the variable data used for adjusting each of the motors is replaced with the variable data stored in the thread cutting file.
【請求項2】 前記ねじ切り用のファイルの変数データ
は、ねじ切り以外の加工時に使用する変数データと比べ
て、少なくとも前記刃物台を駆動するモータの加減速時
間を短くする変数データであることを特徴とする請求項
1記載の数値制御工作機械のねじ切り制御方法。
2. The variable data of the thread cutting file is variable data that shortens at least the acceleration / deceleration time of the motor for driving the tool rest, as compared with the variable data used during machining other than thread cutting. The thread cutting control method for a numerically controlled machine tool according to claim 1.
【請求項3】 前記ねじ切り用のファイルの変数データ
は、ねじ切り以外の加工時に使用する変数データと比べ
て、少なくとも前記刃物台を駆動するモータの加減速時
間を短くすると共に応答性を高める変数データであるこ
とを特徴とする請求項1記載のねじ切り制御方法。
3. The variable data of the file for thread cutting is variable data which shortens at least the acceleration / deceleration time of the motor for driving the tool rest and enhances the responsiveness, as compared with the variable data used for machining other than thread cutting. The thread cutting control method according to claim 1, wherein
【請求項4】 前記数値制御工作機械が加工プログラム
実行中にねじ切り加工を行うか否かの判別を、実行中の
加工プログラムの指令の種別によって行うことを特徴と
する請求項1乃至3のいずれか一項に記載の数値制御工
作機械のねじ切り制御方法。
4. The numerical control machine tool according to claim 1, wherein the numerical control machine tool determines whether or not to perform thread cutting while the machining program is being executed, according to the command type of the machining program being executed. 2. A thread cutting control method for a numerically controlled machine tool according to claim 1.
【請求項5】 少なくとも1つの主軸および少なくとも
1つのねじ切り工具を装着できる刃物台を有する数値制
御工作機械の制御装置であって、 前記数値制御工作機械によるねじ切り加工時に前記主軸
および刃物台を駆動する各モータの予め求められた最適
な調整値を、変数データのねじ切り用のファイルとして
保存する記憶手段と、 前記数値制御工作機械が加工プログラム実行中にねじ切
り加工を行うか否かを判別するねじ切り判別手段と、 該手段がねじ切り加工を行うと判別したときには、前記
予め保存したねじ切り用のファイルの変数データを読み
出して、実行中のプログラムで前記各モータの調整に使
用する変数データをその読み出した変数データと入れ換
える手段とを設けたことを特徴とする数値制御工作機械
の制御装置。
5. A controller for a numerically controlled machine tool having a tool rest capable of mounting at least one spindle and at least one thread cutting tool, wherein the spindle and the tool rest are driven during thread cutting by the numerically controlled machine tool. Storage means for saving the optimum adjustment value obtained in advance for each motor as a file for thread cutting of variable data, and thread cutting discrimination for judging whether or not the numerically controlled machine tool performs thread cutting during execution of a machining program. Means, and when the means determines that thread cutting is to be performed, the variable data of the previously stored file for thread cutting is read out, and the variable data used for adjusting each motor in the program being executed is read out. A control device for a numerically controlled machine tool, characterized in that means for exchanging data is provided.
【請求項6】 前記記憶手段が記憶する前記ねじ切り用
のファイルの変数データが、ねじ切り以外の加工時に使
用する変数データと比べて、少なくとも前記刃物台を駆
動するモータの加減速時間を短くする変数データである
ことを特徴とする請求項5記載の数値制御工作機械の制
御装置。
6. A variable for reducing the acceleration / deceleration time of at least a motor for driving the tool rest, as compared with variable data used in machining other than thread cutting, wherein variable data of the thread cutting file stored in the storage means The control device for a numerically controlled machine tool according to claim 5, wherein the control device is data.
【請求項7】 前記記憶手段が記憶する前記ねじ切り用
のファイルの変数データが、ねじ切り以外の加工時に使
用する変数データと比べて、少なくとも前記刃物台を駆
動するモータの加減速時間を短くすると共に応答性を高
める変数データであることを特徴とする請求項5記載の
数値制御工作機械の制御装置。
7. The variable data of the thread cutting file stored in the storage means shortens at least the acceleration / deceleration time of the motor for driving the tool rest, as compared with the variable data used for machining other than thread cutting. The control device for a numerically controlled machine tool according to claim 5, wherein the control data is variable data for enhancing responsiveness.
【請求項8】 前記ねじ切り判別手段は、実行中の加工
プログラムの指令の種別によってねじ切り加工を行うか
否かを判別する手段であることを特徴とする請求項5乃
至7のいずれか一項に記載の数値制御工作機械の制御装
置。
8. The thread cutting discrimination means is means for discriminating whether or not to perform thread cutting according to a command type of a machining program being executed, according to any one of claims 5 to 7. Numerically controlled machine tool control device.
【請求項9】 請求項5乃至8のいずれか一項に記載の
制御装置を組み込んだことを特徴とする数値制御工作機
械。
9. A numerically controlled machine tool having the control device according to claim 5 incorporated therein.
JP2001340065A 2001-11-05 2001-11-05 Thread cutting control method and control device for numerically controlled machine tool and numerically controlled machine tool incorporating the same Expired - Fee Related JP4037087B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2001340065A JP4037087B2 (en) 2001-11-05 2001-11-05 Thread cutting control method and control device for numerically controlled machine tool and numerically controlled machine tool incorporating the same

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2001340065A JP4037087B2 (en) 2001-11-05 2001-11-05 Thread cutting control method and control device for numerically controlled machine tool and numerically controlled machine tool incorporating the same

Publications (2)

Publication Number Publication Date
JP2003136332A true JP2003136332A (en) 2003-05-14
JP4037087B2 JP4037087B2 (en) 2008-01-23

Family

ID=19154322

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2001340065A Expired - Fee Related JP4037087B2 (en) 2001-11-05 2001-11-05 Thread cutting control method and control device for numerically controlled machine tool and numerically controlled machine tool incorporating the same

Country Status (1)

Country Link
JP (1) JP4037087B2 (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006000995A (en) * 2004-06-21 2006-01-05 Yamazaki Mazak Corp Thread cutting apparatus
JP2009172716A (en) * 2008-01-24 2009-08-06 Nakamura Tome Precision Ind Co Ltd Lathe equipped with a plurality of main spindle
JP2011183481A (en) * 2010-03-05 2011-09-22 Okuma Corp Method of controlling thread cutting
CN103769695A (en) * 2013-12-31 2014-05-07 宁夏共享集团有限责任公司 Machining device and method for improving roughness and flatness of surface of large external thread
JP2017146671A (en) * 2016-02-15 2017-08-24 オークマ株式会社 Numerical controller for machine tool, and machine tool

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006000995A (en) * 2004-06-21 2006-01-05 Yamazaki Mazak Corp Thread cutting apparatus
JP4639058B2 (en) * 2004-06-21 2011-02-23 ヤマザキマザック株式会社 Threading machine
JP2009172716A (en) * 2008-01-24 2009-08-06 Nakamura Tome Precision Ind Co Ltd Lathe equipped with a plurality of main spindle
JP2011183481A (en) * 2010-03-05 2011-09-22 Okuma Corp Method of controlling thread cutting
CN103769695A (en) * 2013-12-31 2014-05-07 宁夏共享集团有限责任公司 Machining device and method for improving roughness and flatness of surface of large external thread
CN103769695B (en) * 2013-12-31 2016-08-31 宁夏共享集团有限责任公司 A kind of improve large-scale external threaded surface roughness and the processing unit (plant) of flatness and method
JP2017146671A (en) * 2016-02-15 2017-08-24 オークマ株式会社 Numerical controller for machine tool, and machine tool

Also Published As

Publication number Publication date
JP4037087B2 (en) 2008-01-23

Similar Documents

Publication Publication Date Title
US7595602B2 (en) Apparatus for machine tool feedrate override using limiting parameters corresponding to actual spindle speed
JPH11156672A (en) Numerical control device, and machine tool having it
JP5355356B2 (en) Method for creating part programs
US8688257B2 (en) Programming apparatus
US6257348B1 (en) Control apparatus for drilling machine and drilling method
JP2010123122A6 (en) Method for creating part programs
JP2005205517A (en) Cutting control method and cutting control device of machine tool
CN115552341A (en) Machine tool and information processing device
JPS62237504A (en) Numerical controller
JP4112436B2 (en) Numerical control device for machine tool and numerical control method for machine tool
JP4059411B2 (en) NC machine tool controller
JPH11129144A (en) Control device for nc machine tool
JP4639058B2 (en) Threading machine
JP4037087B2 (en) Thread cutting control method and control device for numerically controlled machine tool and numerically controlled machine tool incorporating the same
JPS61293704A (en) Numerical controller for automatic lathe
JP4947534B2 (en) Machine tool and method of operating machine tool
JP2021003802A (en) Numerical control device, control program, and control method
JP2003136369A (en) Control method and control device for nc-machine tool, and nc-machine tool incorporated with the same
CN117440869A (en) Vibration cutting condition setting device for machine tool
JPH11202926A (en) Method and device for feed speed control in numerical control
JP4781781B2 (en) Machine tool and method for creating program data in machine tool
JPH11170105A (en) Nc device having tool breakage stopping function
JPH06155246A (en) Tool breakage preventing device for working machine
JP2001228909A (en) Machine tool and its control method
JP2001138136A (en) Thread cutting work control device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20041008

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20070213

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20070626

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20070824

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20071030

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20071031

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20101109

Year of fee payment: 3

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20101109

Year of fee payment: 3

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20121109

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20141109

Year of fee payment: 7

S533 Written request for registration of change of name

Free format text: JAPANESE INTERMEDIATE CODE: R313533

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

LAPS Cancellation because of no payment of annual fees