JP2008009758A - Machine tool - Google Patents

Machine tool Download PDF

Info

Publication number
JP2008009758A
JP2008009758A JP2006180157A JP2006180157A JP2008009758A JP 2008009758 A JP2008009758 A JP 2008009758A JP 2006180157 A JP2006180157 A JP 2006180157A JP 2006180157 A JP2006180157 A JP 2006180157A JP 2008009758 A JP2008009758 A JP 2008009758A
Authority
JP
Japan
Prior art keywords
cutting feed
tool
cutting
workpiece
feed
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
JP2006180157A
Other languages
Japanese (ja)
Inventor
Satoru Ozawa
覚 小澤
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.)
Star Micronics Co Ltd
Original Assignee
Star Micronics 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 Star Micronics Co Ltd filed Critical Star Micronics Co Ltd
Priority to JP2006180157A priority Critical patent/JP2008009758A/en
Publication of JP2008009758A publication Critical patent/JP2008009758A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Automatic Control Of Machine Tools (AREA)
  • Numerical Control (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a machine tool shortening an idle running time by shortening the moving path of a tool in machining a workpiece. <P>SOLUTION: A machining program describing a cutting feed command for commanding cutting feed from a cutting feed starting point b, and a rapid feed command for commanding rapid feed to the cutting feed starting point b, is stored in a program storage part, and predetermined machining is performed by moving the tool 27 relatively to the workpiece 25 based on the stored machining program. A contact detector is provided for monitoring the contact between the tool 27 and the workpiece 25, and based on a detection signal from the contact detector, the cutting feed starting point of the machining program is changed from b to b1 to change and set the moving path of the tool 27 up to the cutting feed starting point b1 in the rapid feed command from a-b to a-b1. <P>COPYRIGHT: (C)2008,JPO&INPIT

Description

この発明は、加工プログラムに基づいて工具を被加工物に対して相対的に移動させて、所要の加工を行うようにしたNC旋盤等の工作機械に関するものである。   The present invention relates to a machine tool such as an NC lathe in which a tool is moved relative to a workpiece based on a machining program to perform a required machining.

従来、この種の工作機械において、例えば図15に示すような丸棒状の被加工物61にテーパ状の面取り部61a,61bを含む切削加工を施す場合には、加工プログラムに基づき、その被加工物61を支持する主軸62が例えばZ軸を中心に回転され、それと同時に、バイト等の工具63がX軸方向に移動されるとともに、被加工物61がZ軸方向に移動される。これらの移動により、工具63が被加工物61に対して、a−b−c−d−e−h−gの移動経路を通って相対的に移動されて、被加工物61に所定の切削加工が施されるようになっている。   Conventionally, in this type of machine tool, for example, when a round bar-shaped workpiece 61 as shown in FIG. 15 is subjected to cutting processing including tapered chamfered portions 61a and 61b, the workpiece is processed based on a machining program. The main shaft 62 that supports the workpiece 61 is rotated about the Z axis, for example, and at the same time, a tool 63 such as a cutting tool is moved in the X axis direction, and the workpiece 61 is moved in the Z axis direction. Due to these movements, the tool 63 is moved relative to the work piece 61 through the ab-c-d-de-h-g movement path, and the work piece 61 is subjected to predetermined cutting. Processing is applied.

すなわち、工具63は退避位置aから切削送り開始点bまで早送りで移動された後、その切削送り開始点bから方向転換点c−d−eを経て切削送り終了点hまでの間を所定の切削送りで移動され、さらに切削送り終了点hから退避位置gまで早送りで移動される。   That is, after the tool 63 is moved from the retreat position a to the cutting feed start point b by rapid feed, a predetermined interval between the cutting feed start point b, the direction change point cd, and the cutting feed end point h is determined. It is moved by cutting feed, and is further moved by rapid feed from the cutting feed end point h to the retreat position g.

この場合、工具63が退避位置aから早送りで移動されて切削送り開始点bに位置決めされる際に、被加工物61と衝突するおそれを防止するために、切削送り開始点bが被加工物61の端面から所定の十分な距離δbをおいて位置するようにプログラムされている。また、切削送り終了点hも切削加工が適切に終了できるように、つまり、切削加工中に加工終了のための減速が開始されないように、被加工物61から十分な距離δhをおいて位置するようにプログラムされている。   In this case, in order to prevent the possibility that the tool 63 collides with the workpiece 61 when the tool 63 is moved from the retreat position a by rapid feed and positioned at the cutting feed start point b, the cutting feed start point b is set to the workpiece. It is programmed to be located at a predetermined sufficient distance δb from the end face of 61. Further, the cutting feed end point h is located at a sufficient distance δh from the work piece 61 so that the cutting process can be appropriately ended, that is, the deceleration for the end of the process is not started during the cutting process. Is programmed to do so.

しかしながら、切削送り開始点bから工具63が実際に被加工物61に接触されるまでの距離δbにおいて、工具63の移動が低速である切削送り速度で行われるため、必要以上に空走時間を要することになる。この低速下の空走時間は切削送り終了点hにおいても同様に発生する。従って、1回の加工では僅かな空走時間であっても、多数の被加工物61に対して連続加工を施す場合には、無駄な空走時間が累積されて加工効率の大きな低下を招くことになる。   However, since the tool 63 is moved at a low cutting feed speed at a distance δb from the cutting feed start point b to the time when the tool 63 is actually brought into contact with the workpiece 61, the idle running time is longer than necessary. It will take. This idling time under low speed also occurs at the cutting feed end point h. Therefore, even if the number of idle times is small in one machining operation, when continuous machining is performed on a large number of workpieces 61, the idle idle time is accumulated and the machining efficiency is greatly reduced. It will be.

このような問題に対処するため、例えば特許文献1に開示されるような工作機械の切削制御方法も従来から提案されている。この従来方法においては、加工プログラムの特定の切削ブロックの実行中に、工具に作用する主軸負荷を検出して、工具による被加工物の実際の切削状態を判別し、その判別結果に基づいて、特定の切削ブロック中で工具が実際に被加工物を切削していない区間を、切削送り指令から早送り指令に書き換えるようにしている。   In order to cope with such a problem, for example, a cutting control method for a machine tool as disclosed in Patent Document 1 has been proposed. In this conventional method, during the execution of a specific cutting block of the machining program, the spindle load acting on the tool is detected, the actual cutting state of the workpiece by the tool is determined, and based on the determination result, A section in which a tool does not actually cut the workpiece in a specific cutting block is rewritten from a cutting feed command to a fast feed command.

この特許文献1に記載の方法により、例えば図15に示すような被加工物61を加工する場合、図16(a)に示すように、切削送り開始点b側においては、被加工物61に対する工具63の実際の切削開始点b2が検出されて、その切削開始点b2から切削送り方向の後方側へ若干の距離δb1をおいた位置に新たな切削送り開始点b1が設定される。そして、加工プログラムにおいて、切削送り開始点bから方向転換点cまでの間における旧切削送り開始点bから新切削送り開始点b1までの区間で、切削送り指令が早送り指令に書き換えられる。   For example, when a workpiece 61 as shown in FIG. 15 is machined by the method described in Patent Document 1, as shown in FIG. The actual cutting start point b2 of the tool 63 is detected, and a new cutting feed start point b1 is set at a position with a slight distance δb1 from the cutting start point b2 to the rear side in the cutting feed direction. In the machining program, the cutting feed command is rewritten to the fast feed command in the section from the old cutting feed start point b to the new cutting feed start point b1 between the cutting feed start point b and the direction change point c.

また、図16(b)に示すように、切削送り終了点h側においても、被加工物61に対する工具63の実際の切削終了点h2が検出され、その切削終了点h2から切削送り方向の前方側へ若干の距離δh1をおいた位置に新たな切削送り終了点h1が設定される。そして、加工プログラムおいて、方向転換点eから切削送り終了点hまでの間における新切削送り終了点h1から旧切削送り終了点hまでの区間で、切削送り指令が早送り指令に書き換えられる。   Further, as shown in FIG. 16B, the actual cutting end point h2 of the tool 63 with respect to the workpiece 61 is also detected on the side of the cutting feed end point h, and the cutting feed direction from the cutting end point h2 in front of the cutting feed direction. A new cutting feed end point h1 is set at a position with a slight distance δh1 to the side. In the machining program, the cutting feed command is rewritten to the rapid feed command in the section from the new cutting feed end point h1 to the old cutting feed end point h between the direction change point e and the cutting feed end point h.

これにより、工具63の切削送りで移動される空走距離がδb,δhからδb1,δh1にそれぞれ短縮されて、切削送りによる空走時間が短縮される。
特開平10−293606号公報
As a result, the idle running distance moved by the cutting feed of the tool 63 is shortened from δb, δh to δb1, δh1, respectively, and the idle running time by the cutting feed is shortened.
JP-A-10-293606

ところが、前記の特許文献1に記載の方法においては、工具63の移動経路b−c,e−hの長さを変更することなく、その移動経路b−c,e−hの一部の区間b−b1,h1−hで切削送りを早送りに変更するのみにすぎない。従って、空走時間の短縮は、距離δb,δhを切削送りで移動する時間と、距離δhから距離δh1をマイナスした分及び距離δbから距離δb1をマイナスした分を早送りで移動する時間との差分しか短縮できない。しかも、その早送りは、その送り開始時及び終了時に加速または減速による時間ロスをともなうばかりでなく、実際上は長い早送り区間を確保できないために、所定の早送り速度に達する前に減速に移行することになり、早送りによる時間短縮はほとんどできない場合もある。このため、空走時間を効果的に短縮することができず、加工効率を向上させることができないという問題があった。加えて、特許文献1に記載の方法では、早送りの追加により加減速回数が増えて、機構部の負担が増加する。   However, in the method described in Patent Document 1, a part of the movement paths bc and eh is not changed without changing the length of the movement paths bc and eh of the tool 63. The cutting feed is only changed to rapid feed at b-b1, h1-h. Therefore, the reduction of the idle time is the difference between the time for moving the distances δb and δh by cutting feed and the time for moving by fast-feeding from the distance δh minus the distance δh1 and from the distance δb minus the distance δb1. It can only be shortened. Moreover, the fast-forwarding not only involves a time loss due to acceleration or deceleration at the start and end of the feed, but also cannot secure a long fast-forward section in practice, and therefore shifts to deceleration before reaching the predetermined fast-forward speed. In some cases, it is almost impossible to shorten the time by fast-forwarding. For this reason, there was a problem that the idle running time could not be shortened effectively and the processing efficiency could not be improved. In addition, in the method described in Patent Document 1, the number of acceleration / deceleration increases due to the addition of fast-forwarding, and the load on the mechanism unit increases.

また、切削送り開始点及び切削送り終了点を被加工物側に手作業でプログラムを変更しながら除々に近づけることも考えられるが、このように構成した場合には、加工プログラムの作成に多大な手間がかかることになる。   In addition, it is conceivable that the cutting feed start point and the cutting feed end point are gradually brought closer to the workpiece side while manually changing the program. It will take time.

この発明は、このような従来の技術に存在する問題点に着目してなされたものである。その目的は、被加工物の加工時における工具の移動経路を短縮することができて、空走時間を有効に短くすることができ、延いては加工効率を向上させることができる工作機械を提供することにある。   The present invention has been made paying attention to such problems existing in the prior art. The purpose is to provide a machine tool that can shorten the travel path of the tool when machining the workpiece, effectively shorten the idle time, and improve machining efficiency. There is to do.

上記の目的を達成するために、この発明は、所定位置から切削送り開始点までの位置指定送りを指示する位置指定送り指令と、切削送り開始点から切削送り終了点までの切削送りを指示する切削送り指令とが記述された加工プログラムを記憶するプログラム記憶手段を備え、その加工プログラムに従い、工具を前記所定位置から切削送り開始位置を通過する移動経路に沿って被加工物に対して相対的に移動させることにより、被加工物に対して所要の加工を行うようにした工作機械において、前記工具と被加工物との接触の有無を検出する接触検出手段と、その接触検出手段からの検出信号に基づいて前記切削送り開始点の位置を被加工物側に変更して、前記所定位置から切削送り開始点までの位置指定送りの移動経路を新たに設定する移動経路設定手段とを設けたことを特徴としている。   In order to achieve the above object, the present invention instructs a position designation feed command for instructing a position designation feed from a predetermined position to a cutting feed start point, and a cutting feed from a cutting feed start point to a cutting feed end point. Program storage means for storing a machining program in which a cutting feed command is described is provided, and according to the machining program, the tool is relative to the workpiece along a movement path passing through the cutting feed start position from the predetermined position. In a machine tool adapted to perform the required processing on the workpiece by moving the contact, a contact detection means for detecting the presence or absence of contact between the tool and the workpiece, and detection from the contact detection means A movement that changes the position of the cutting feed start point to the workpiece side based on the signal and newly sets a movement path of a position-designated feed from the predetermined position to the cutting feed start point It is characterized by providing a road setting means.

なお、前記位置指定送りとは、この発明の実施形態では早送りを指すが、早送り以外にも位置を指定して送る動作であればよく、例えば切削送りでもよい。
従って、この発明の工作機械の加工時には、工具と被加工物との接触の検出結果に基づいて切削送り開始点が被加工物側に変更されて、切削送り開始点までの工具の移動経路が新たに設定される。よって、空走時間を短縮することができるとともに、加減速を回数を増やす必要がないため、機構部の負担増加を避けることができる。
The position designation feed refers to rapid feed in the embodiment of the present invention, but may be any operation other than rapid feed by designating a position, for example, cutting feed.
Therefore, when machining the machine tool of the present invention, the cutting feed start point is changed to the workpiece side based on the detection result of the contact between the tool and the workpiece, and the movement path of the tool to the cutting feed start point is changed. Newly set. Therefore, the idle running time can be shortened, and it is not necessary to increase the number of times of acceleration / deceleration, so that an increase in the burden on the mechanism portion can be avoided.

前記の構成において、前記工具の先端位置のオフセット量を記憶するオフセット量記憶手段を有し、そのオフセット量記憶手段に記憶された工具オフセット量を前記位置指定送り指令の実行に際して一時的に変更することにより、前記切削送り開始点の位置を変更するように構成するとよい。   In the above-described configuration, there is provided offset amount storage means for storing the offset amount of the tip position of the tool, and the tool offset amount stored in the offset amount storage means is temporarily changed when the position designation feed command is executed. Thus, the position of the cutting feed start point may be changed.

前記の構成において、前記切削送り指令による切削送りの速度に達するために必要な加速距離を算出する算出手段を有し、前記移動経路設定手段は、前記接触検出手段により検出された工具と被加工物との接触位置から、前記算出手段により算出された加速距離を隔てた位置に切削送り開始点を設定するように構成するとよい。   In the above-mentioned configuration, it has a calculation means for calculating an acceleration distance required to reach the cutting feed speed according to the cutting feed command, and the movement path setting means includes the tool detected by the contact detection means and the workpiece The cutting feed start point may be set at a position that is separated from the contact position with the object by the acceleration distance calculated by the calculation means.

このように構成した場合には、工具と被加工物との実際の接触位置から、切削送り速度に達するまでに必要な加速距離を隔てた位置に、切削送り開始点を設定することができる。よって、空走距離が余分に設定されることがなく、切削送り速度(一定速)になる前に工具と被加工物とが接触するおそれを抑制することができるとともに、空走時間を有効に短縮できる。   When configured in this way, the cutting feed start point can be set at a position that is separated from the actual contact position between the tool and the workpiece by an acceleration distance necessary to reach the cutting feed speed. Therefore, the idle running distance is not set excessively, and the possibility of contact between the tool and the workpiece before reaching the cutting feed rate (constant speed) can be suppressed, and the idle running time can be effectively used. Can be shortened.

さらに、別の発明では、切削送り開始点から切削送り終了点までの切削送りを指示する切削送り指令と、切削送り終了点から所定の位置までの位置指定送りを指示する位置指定送り指令とが記述された加工プログラムを記憶するプログラム記憶手段を備え、その加工プログラムに従い、前記切削送り終了点から所定位置に至る移動経路に沿って、工具を被加工物に対して相対的に移動させるようにした工作機械において、前記工具と被加工物との接触の有無を検出する接触検出手段と、その接触検出手段からの検出信号に基づいて前記切削送り終了点の位置を被加工物側に変更して、前記切削送り終了点から所定位置までの位置指定送りの移動経路を新たに設定する移動経路設定手段とを設けたことを特徴とする。   Furthermore, in another invention, there are a cutting feed command for instructing a cutting feed from a cutting feed start point to a cutting feed end point, and a position designation feed command for instructing a position designated feed from the cutting feed end point to a predetermined position. Program storage means for storing the described machining program is provided, and according to the machining program, the tool is moved relative to the workpiece along a movement path from the cutting feed end point to a predetermined position. In the machine tool, the contact detection means for detecting the presence or absence of contact between the tool and the workpiece, and the position of the cutting feed end point is changed to the workpiece side based on the detection signal from the contact detection means. And a movement path setting means for newly setting a movement path of the position-designated feed from the cutting feed end point to a predetermined position.

従って、この発明の工作機械の加工時には、工具と被加工物との接触状態の検出結果に基づいて切削送り終了点が変更されて、その変更後の切削送り終了点から退避位置までの工具の移動経路が新たに設定される。よって、空走時間を短縮することが可能になるとともに、機構部の負担増加を避けることができる。   Therefore, when machining the machine tool according to the present invention, the cutting feed end point is changed based on the detection result of the contact state between the tool and the workpiece, and the tool from the cutting feed end point after the change to the retracted position is changed. A new travel route is set. Therefore, it is possible to shorten the idle time and avoid an increase in the load on the mechanism unit.

前記の構成において、前記工具の先端位置のオフセット量を記憶するオフセット量記憶手段を有し、そのオフセット量記憶手段に記憶された工具オフセット量を前記位置指定送り指令の実行に際して一時的に変更することにより、前記切削送り終了点の位置を変更するように構成するとよい。   In the above-described configuration, there is provided offset amount storage means for storing the offset amount of the tip position of the tool, and the tool offset amount stored in the offset amount storage means is temporarily changed when the position designation feed command is executed. Thus, the position of the cutting feed end point may be changed.

前記の構成において、前記切削送り指令による切削送りの速度が終了するために必要な減速距離を算出する算出手段を有し、前記移動経路設定手段は、前記接触検出手段により検出された工具と被加工物との接触離間位置から、前記算出手段により算出された減速距離を隔てた位置に切削送り終了開始点を設定するように構成するとよい。   In the above-described configuration, the moving path setting unit includes a calculating unit that calculates a deceleration distance necessary for ending the cutting feed speed according to the cutting feed command, and the moving path setting unit includes the tool detected by the contact detecting unit and the target. The cutting feed end start point may be set at a position that is separated from the contact separation position with the workpiece by the deceleration distance calculated by the calculation means.

このように構成した場合には、工具と被加工物との実際の接触位置から、切削送り速度が所定の速度までに減速するために必要な加速距離を隔てた位置に、切削送り終了点を設定することができる。よって、切削送り速度(一定速)以外の速度で工具と被加工物とが接触するおそれを抑制することができるとともに、空走時間を有効に短縮できる。   When configured in this way, the cutting feed end point is set at a position separated from the actual contact position between the tool and the workpiece by an acceleration distance necessary for the cutting feed speed to be reduced to a predetermined speed. Can be set. Therefore, it is possible to suppress the possibility that the tool and the workpiece come into contact with each other at a speed other than the cutting feed speed (a constant speed), and it is possible to effectively shorten the idle running time.

接触検出手段からの検出信号に基づいて前記切削送り開始点の位置を被加工物側に変更して、前記所定位置から切削送り開始点までの位置指定送りの移動経路を新たに設定する構成と、その接触検出手段からの検出信号に基づいて前記切削送り終了点の位置を被加工物側に変更して、前記切削送り終了点から所定位置までの位置指定送りの移動経路を新たに設定する構成とを組み合わせれば、移動経路の移動開始側及び移動終了側の双方において空走距離を短縮することが可能になり、加工効率の向上に寄与できる。   A configuration in which the position of the cutting feed start point is changed to the workpiece side based on a detection signal from the contact detection means, and a position designated feed movement path from the predetermined position to the cutting feed start point is newly set. Based on the detection signal from the contact detection means, the position of the cutting feed end point is changed to the workpiece side, and a position designated feed moving path from the cutting feed end point to a predetermined position is newly set. When combined with the configuration, it is possible to reduce the idle travel distance on both the movement start side and the movement end side of the movement route, which can contribute to improvement of machining efficiency.

以上のように、この発明によれば、空走時間を短縮することができて加工効率を向上させることができ、さらには機構部の負担増加を避けることができる。   As described above, according to the present invention, the idling time can be shortened, the processing efficiency can be improved, and further, the burden on the mechanism portion can be avoided.

以下に、この発明の一実施形態を、図1〜図13に基づいて説明する。
図1に示すように、この実施形態の工作機械においては、フレーム21に主軸台22がZ軸方向へ移動可能に、かつZ軸を中心に回転可能に設置され、その主軸台22にはZ軸方向に延びる主軸23が回転可能に支持される。主軸台22の前方に位置するように、フレーム21にはガイドブッシュ24が配設されている。そして、前記主軸23のチャック23aに丸棒材等よりなる被加工物25が着脱可能に把持されて、その被加工物25の先端部がガイドブッシュ24に相対移動可能に挿通保持される。
Below, one Embodiment of this invention is described based on FIGS.
As shown in FIG. 1, in the machine tool of this embodiment, a headstock 22 is installed on a frame 21 so as to be movable in the Z-axis direction and rotatable about the Z-axis. A main shaft 23 extending in the axial direction is rotatably supported. A guide bush 24 is disposed on the frame 21 so as to be positioned in front of the headstock 22. A workpiece 25 made of a round bar or the like is detachably held by the chuck 23a of the main shaft 23, and the tip of the workpiece 25 is inserted and held in the guide bush 24 so as to be relatively movable.

図1に示すように、前記ガイドブッシュ24の上方には、刃物台26がZ軸方向と直行するX軸方向及びY軸方向へ移動可能に設置されており、その刃物台26には主軸23上の被加工物25を切削加工するためのX軸方向に延びる複数のバイト等の工具27がY軸方向に所定間隔をおいて並設されている。そして、いずれか1つの工具27がY軸方向への移動制御により、主軸23上の被加工物25と対応する位置に選択配置された状態で、図示しないモータの駆動に基づく主軸23の回転により被加工物25が回転されながら、主軸台22のZ軸方向への移動制御と刃物台26のX軸方向の移動制御により、工具27が被加工物25に対して相対的に移動されて、被加工物25に所要の切削加工が施される。   As shown in FIG. 1, a tool rest 26 is installed above the guide bush 24 so as to be movable in the X-axis direction and the Y-axis direction perpendicular to the Z-axis direction. A plurality of tools 27 such as a plurality of cutting tools extending in the X-axis direction for cutting the workpiece 25 are arranged in parallel at predetermined intervals in the Y-axis direction. Then, any one tool 27 is selected and arranged at a position corresponding to the workpiece 25 on the main shaft 23 by movement control in the Y-axis direction, and by rotation of the main shaft 23 based on driving of a motor (not shown). While the workpiece 25 is rotated, the tool 27 is moved relative to the workpiece 25 by the movement control of the headstock 22 in the Z-axis direction and the movement control of the tool rest 26 in the X-axis direction. A required cutting process is performed on the workpiece 25.

図1に示すように、前記ガイドブッシュ24の前方において、フレーム21には背面主軸台28がZ軸方向へ移動可能に設置され、その背面主軸台28にはZ軸方向に延びる背面主軸29がZ軸を中心に回転可能に支持されている。   As shown in FIG. 1, in the front of the guide bush 24, a rear spindle stock 28 is installed on the frame 21 so as to be movable in the Z-axis direction, and a rear spindle 29 extending in the Z-axis direction is provided on the rear spindle stock 28. It is supported rotatably about the Z axis.

次に、前記刃物台26に対する工具27の取付構成について詳細に説明する。図2及び図3に示すように、前記刃物台26は刃物台本体30と工具ホルダ31とにより構成されるとともに、工具ホルダ31は刃物台本体30に対して複数本のボルト32により固定されている。工具ホルダ31の前面には前記工具27を保持するための複数の工具保持溝33が所定間隔おきに形成され、各工具保持溝33の一側部には斜面部34が形成されている。各斜面部34と工具27との間には楔形状のクランプピース35が挟入配置され、これらのクランプピース35を各一対のボルト36により締め付けることにより、各工具27が工具保持溝33内に固定されている。   Next, the mounting configuration of the tool 27 to the tool post 26 will be described in detail. As shown in FIGS. 2 and 3, the tool post 26 includes a tool post main body 30 and a tool holder 31, and the tool holder 31 is fixed to the tool post main body 30 by a plurality of bolts 32. Yes. A plurality of tool holding grooves 33 for holding the tool 27 are formed at a predetermined interval on the front surface of the tool holder 31, and a slope portion 34 is formed on one side of each tool holding groove 33. A wedge-shaped clamp piece 35 is interposed between each slope portion 34 and the tool 27, and each tool 27 is placed in the tool holding groove 33 by tightening these clamp pieces 35 with a pair of bolts 36. It is fixed.

図3及び図4に示すように、前記刃物台本体30と工具ホルダ31との間には、セラミック等の電気絶縁材料よりなる絶縁プレート37が介装されている。また、各ボルト32の頭部と工具ホルダ31との間には、同じくセラミック等の電気絶縁材料よりなる絶縁ワッシャ38が介装されている。これにより、工具27を含む工具ホルダ31が刃物台本体30を含む工作機械のフレーム21に対して電気的に絶縁されている。   As shown in FIGS. 3 and 4, an insulating plate 37 made of an electrically insulating material such as ceramic is interposed between the tool post body 30 and the tool holder 31. An insulating washer 38 made of an electrically insulating material such as ceramic is interposed between the head of each bolt 32 and the tool holder 31. Thereby, the tool holder 31 including the tool 27 is electrically insulated from the frame 21 of the machine tool including the tool post body 30.

図4に示すように、工具ホルダ31と工作機械のフレーム21との間には、交流電源39及び接触検出器40が接続されている。そして、この接触検出器40により工具27と被加工物25との接触状態の有無を検出するための接触検出手段が構成されている。この接触検出器40は、工具27と被加工物25との間に流れる電流の変化を検出して、検出信号を出力する。そして、後述する接触検出モードでの加工に際して、工具27が被加工物25に接触したとき、その接触検出器40から電流の変化を示す接触検出信号が出力されるとともに、工具27が被加工物25から離間したとき、接触検出器40から非接触検出信号が出力される。   As shown in FIG. 4, an AC power supply 39 and a contact detector 40 are connected between the tool holder 31 and the frame 21 of the machine tool. The contact detector 40 constitutes a contact detection means for detecting whether or not the tool 27 and the workpiece 25 are in contact with each other. The contact detector 40 detects a change in current flowing between the tool 27 and the workpiece 25 and outputs a detection signal. When the tool 27 comes into contact with the workpiece 25 during machining in the contact detection mode to be described later, a contact detection signal indicating a change in current is output from the contact detector 40 and the tool 27 is moved to the workpiece. When separated from 25, a non-contact detection signal is output from the contact detector 40.

次に、前記のような構成の工作機械の動作を制御するための制御装置について説明する。図5に示すように、この制御装置41は、CPU42、ROM43、RAM44、入力部45、表示部46、主軸回転制御回路47、主軸送り制御回路48及び工具送り制御回路49を備えている。入力部45は数値キー等を有するキーボードから構成され、このキーボードから被加工物25の形状,寸法等のデータ等の被加工物25に関する各種のデータや、切削加工における工具27の先端位置を表す工具オフセット量のデータ等が入力されるとともに、切削加工に際して接触検出モード,通常加工モード等の動作モードの設定が行われる。表示部46は液晶ディスプレイ等の表示装置からなり、入力部45から入力されたデータ等の各種の情報を表示する。   Next, a control device for controlling the operation of the machine tool configured as described above will be described. As shown in FIG. 5, the control device 41 includes a CPU 42, a ROM 43, a RAM 44, an input unit 45, a display unit 46, a spindle rotation control circuit 47, a spindle feed control circuit 48, and a tool feed control circuit 49. The input unit 45 includes a keyboard having numeric keys and the like, and represents various data related to the workpiece 25 such as data on the shape and dimensions of the workpiece 25 and the tip position of the tool 27 in the cutting process. Tool offset amount data and the like are input, and operation modes such as a contact detection mode and a normal machining mode are set during cutting. The display unit 46 includes a display device such as a liquid crystal display, and displays various types of information such as data input from the input unit 45.

プログラム記憶手段を構成する前記RAM44は、被加工物25の切削加工に際し、工具27を被加工物25に対して所定の移動経路を経由して相対的に移動させるための加工プログラムを記憶する。例えば、工具27を図15に示す場合と同様に、a−b−c−d−e−h−gの移動経路に沿って移動させるために、図8に示すような加工プログラムがRAM44に記憶されている。なお、工具27は、移動方向が転換される点c,d,eにおいて一時停止される。   The RAM 44 constituting the program storage means stores a machining program for moving the tool 27 relative to the workpiece 25 via a predetermined movement path when cutting the workpiece 25. For example, as in the case shown in FIG. 15, a machining program as shown in FIG. 8 is stored in the RAM 44 in order to move the tool 27 along the movement path of abcdceegh. Has been. The tool 27 is temporarily stopped at points c, d, and e where the moving direction is changed.

図8及び図6に示すように、前記加工プログラムには、所定の退避位置aから座標Xb,Zbで表される切削送り開始点bまでの位置指定送りとしての早送りを指示する早送り送り指令C1、前記切削送り開始点bから座標Xc,Zcで表される方向転換点cまでの速度Fの切削送りを指示する切削送り指令C2、前記方向転換点cから図15に示す座標Xd,Zdで表される方向転換点dまでの切削送りを指示する切削送り指令C3、前記方向転換点dから図7に示す座標Xe,Zeで表される方向転換点eまでの切削送りを指示する切削送り指令C4、前記方向転換点eから座標Xh,Zhで表される切削送り終了点hまでの切削送り速度Fを指示する切削送り指令C5、及び前記切削送り終了点hから所定位置としての退避位置gまでの早送りを指示する位置指定送りとしての早送り指令C6が記述されている。   As shown in FIGS. 8 and 6, in the machining program, a rapid feed command C1 for instructing rapid feed as a position designated feed from a predetermined retraction position a to a cutting feed start point b represented by coordinates Xb and Zb. A cutting feed command C2 for instructing a cutting feed at a speed F from the cutting feed start point b to the direction turning point c represented by the coordinates Xc, Zc, and the coordinates Xd, Zd shown in FIG. 15 from the direction turning point c. A cutting feed command C3 for instructing a cutting feed to the direction change point d represented, and a cutting feed for instructing a cutting feed from the direction change point d to the direction change point e represented by the coordinates Xe and Ze shown in FIG. Command C4, cutting feed command C5 for instructing a cutting feed speed F from the direction change point e to a cutting feed end point h represented by coordinates Xh, Zh, and a retracted position as a predetermined position from the cutting feed end point h up to g Fast forward command C6 as a position designation feed for instructing fast forwarding is described.

この場合、前記加工プログラムにおける早送り指令C1,C6のブロックには、位置決め移動を指示するG00コード、及び移動先のX,Z座標を指示するコードが記述されている。切削送り指令C2〜C5のブロックには、直線補間を指示するG01コード、移動先のX,Z座標を指示するコード及び切削送り速度Fを指示するコードが記述されている。また、切削送り開始点bに位置決めする早送り指令C1のブロックには、後述の工具27の先端位置を表す工具オフセットを指示するT02コード、工具27の先端位置の一時オフセットを指示するM501コードが記述されている。さらに、切削送り終了点hに切削送りする切削送り指令C5のブロックには、工具27の先端位置の一時オフセットを指示するM601コードが記述されている。   In this case, the G00 code for instructing the positioning movement and the code for instructing the X and Z coordinates of the movement destination are described in the blocks of the fast-forward commands C1 and C6 in the machining program. In the blocks of the cutting feed commands C2 to C5, a G01 code for instructing linear interpolation, a code for instructing the X and Z coordinates of the movement destination, and a code for instructing the cutting feed speed F are described. In the block of the fast feed command C1 positioned at the cutting feed start point b, a T02 code indicating a tool offset indicating the tip position of the tool 27 described later and an M501 code indicating a temporary offset of the tip position of the tool 27 are described. Has been. Further, the M601 code for instructing a temporary offset of the tip position of the tool 27 is described in the block of the cutting feed command C5 for cutting and feeding to the cutting feed end point h.

前記CPU42は、RAM44に記憶された加工プログラムに基づいて工具27を被加工物25に対して相対的に移動させて、所要の加工を行わせるための制御手段を構成している。すなわち、CPU42は、加工プログラムに基づいて主軸回転制御回路47、主軸送り制御回路48及び工具送り制御回路49に作動指令を出力することにより、それぞれ駆動用モータ及びボールねじナット機構等よりなる主軸回転駆動装置50、主軸送り駆動装置51及び工具送り駆動装置52を介して、前記主軸23、主軸台22、刃物台26を作動させる。これにより、図6及び図7に示すように、被加工物25に対してテーパ状の面取り部25a,25bを含む所要の切削加工が施される。   The CPU 42 constitutes a control means for causing the tool 27 to move relative to the workpiece 25 on the basis of the machining program stored in the RAM 44 to perform the required machining. That is, the CPU 42 outputs operation commands to the spindle rotation control circuit 47, the spindle feed control circuit 48, and the tool feed control circuit 49 based on the machining program, so that the spindle rotation composed of a drive motor and a ball screw nut mechanism, respectively. The spindle 23, the spindle stock 22, and the tool rest 26 are operated via the drive device 50, the spindle feed drive device 51, and the tool feed drive device 52. Thereby, as shown in FIG.6 and FIG.7, the required cutting which contains the taper-shaped chamfer part 25a, 25b with respect to the to-be-processed object 25 is given.

また、前記CPU42は、加工プログラムの実行に際して、工具27の移動経路を新たに設定するための移動経路設定手段を構成している。すなわち、CPU42は、接触検出モードの設定状態で、切削送り開始点bまでの早送り指令C1を実行した後、その切削送り開始点bから切削送りを行わせる。接触検出器40からの出力を監視し、工具27と被加工物25との接触状態の有無、すなわち接触の検出を待つ。そして、工具27と被加工物25との接触に伴って、接触検出器40から接触検出信号を入力したとき、図6に示すように、その接触検出信号に基づいて前記切削送り開始点をbから被加工物25側に位置する座標Xb1,座標Zb1で表されるb1に変更して、早送り指令C1における切削送り開始点までの工具27の移動経路をa−bからa−b1に変更設定する。   The CPU 42 constitutes a movement path setting means for newly setting a movement path of the tool 27 when executing the machining program. That is, the CPU 42 executes the cutting feed from the cutting feed start point b after executing the fast feed command C1 up to the cutting feed start point b in the contact detection mode setting state. The output from the contact detector 40 is monitored, and the presence or absence of a contact state between the tool 27 and the workpiece 25, that is, detection of contact is waited. Then, when a contact detection signal is input from the contact detector 40 along with the contact between the tool 27 and the workpiece 25, the cutting feed start point is set to b based on the contact detection signal as shown in FIG. Is changed to b1 represented by coordinates Xb1 and Zb1 located on the workpiece 25 side, and the moving path of the tool 27 from the ab to ab1 is changed to the cutting feed start point in the rapid feed command C1. To do.

また、前記CPU42は、接触検出モードの設定状態で、切削送り終了点hまでの切削送り指令C5の実行を開始した後、接触検出器40の動作を監視し、工具27と被加工物25との接触状態の離間を表す非接触の検出を待つ。そして、工具27と被加工物25との離間に伴って、接触検出器40から非接触検出信号を入力したとき、図7に示すように、その非接触検出信号に基づいて前記切削送り終了点をhから被加工物25側に位置する座標Xh1,Zh1で表されるh1に変更して、切削送り終了点から退避位置gまでの工具27の移動経路をh−gからh1−gに変更設定する。   In addition, the CPU 42 monitors the operation of the contact detector 40 after starting the execution of the cutting feed command C5 up to the cutting feed end point h in the contact detection mode setting state. It waits for the detection of non-contact indicating the separation of the contact state. Then, when a non-contact detection signal is input from the contact detector 40 as the tool 27 and the workpiece 25 are separated from each other, as shown in FIG. 7, the cutting feed end point is based on the non-contact detection signal. Is changed from h to h1 represented by coordinates Xh1 and Zh1 located on the workpiece 25 side, and the moving path of the tool 27 from the cutting feed end point to the retreat position g is changed from h-g to h1-g. Set.

そして、前記CPU42は、切削送り開始点bまたは切削送り終了点hの変更に際して、切削送り指令による工具27の切削送りの速度に必要な加速移動量及び減速移動量を算出するための算出手段を構成している。すなわち、図6に示すように、切削送り開始点bの変更時に、CPU42は、あらかじめRAM44に記憶されたこの実施形態の工作機械の特性データに基づいて、工具27の送り速度が停止状態から所定の切削送り速度Fに達するまでに必要な加速移動量である距離δb1を算出し、前記接触検出器40により検出された工具27と被加工物25との接触検出位置である切削開始点b2(座標Xb2,Zb2)から、この加速移動距離δb1(δbx,δbz)を隔てた位置に新しい切削送り開始点b1(座標Xb1,Zb1)を設定する。   The CPU 42 includes calculation means for calculating the acceleration movement amount and the deceleration movement amount necessary for the cutting feed speed of the tool 27 according to the cutting feed command when the cutting feed start point b or the cutting feed end point h is changed. It is composed. That is, as shown in FIG. 6, when the cutting feed start point b is changed, the CPU 42 sets the feed speed of the tool 27 from the stop state to a predetermined value based on the machine tool characteristic data stored in the RAM 44 in advance. A distance δb1 that is an acceleration movement amount necessary to reach the cutting feed speed F of the tool 27 is calculated, and a cutting start point b2 that is a contact detection position between the tool 27 and the workpiece 25 detected by the contact detector 40 is calculated. A new cutting feed start point b1 (coordinates Xb1, Zb1) is set at a position separated from the coordinates Xb2, Zb2) by this acceleration movement distance δb1 (δbx, δbz).

また、図7に示すように、切削送り終了点hの変更時においても、CPU42は、工具27の送り速度を切削送り指令C5による所定の切削送り速度Fから停止させるのに必要な減速移動量である距離δh1を算出し、前記接触検出器40により検出された工具27と被加工物25との非接触検出位置である切削終了点h2(座標Xh2,Zh2)から、この減速移動量である距離δh1(δhx,δhz)を隔てた位置に新しい切削送り終了点h1(座標Xh1,Zh1)を設定する。   Further, as shown in FIG. 7, even when the cutting feed end point h is changed, the CPU 42 decelerates the movement amount necessary for stopping the feed speed of the tool 27 from a predetermined cutting feed speed F according to the cutting feed command C5. This distance δh1 is calculated, and this deceleration movement amount is obtained from the cutting end point h2 (coordinates Xh2, Zh2) which is the non-contact detection position between the tool 27 and the workpiece 25 detected by the contact detector 40. A new cutting feed end point h1 (coordinates Xh1, Zh1) is set at a position separated by a distance δh1 (δhx, δhz).

前記RAM44は、工具27の先端位置のオフセット量を表す工具オフセット量を記憶するためのオフセット量記憶手段を構成している。すなわち、このRAM44には、前記加工プログラムにおけるT02コードに対応した工具オフセット量(δxt,δzt)、M501コードに対応した一時工具オフセット量(δxo,δzo)、及びM601コードに対応した一時工具オフセット量(δXh,δZh)を含めて、加工プログラムの実行に伴って発生する種々のデータが記憶されるようになっている。   The RAM 44 constitutes an offset amount storage means for storing a tool offset amount representing an offset amount of the tip position of the tool 27. That is, the RAM 44 stores a tool offset amount (δxt, δzt) corresponding to the T02 code in the machining program, a temporary tool offset amount (δxo, δzo) corresponding to the M501 code, and a temporary tool offset amount corresponding to the M601 code. Various data generated along with the execution of the machining program, including (δXh, δZh), are stored.

そして、前記CPU42は、加工プログラム中のM501コードを含む早送り指令C1の実行に際して、その指令に記述された切削送り開始点bの座標Xb,Zb、及び接触検出器40により検出された工具27と被加工物25との接触検出位置である切削開始点b2の座標Xb2,Zb2をRAM44に記憶させる。さらに、CPU42は、前記のように切削送り開始点bを変更して新しい切削送り開始点b1を設定したとき、その新切削送り開始点b1(座標Xb1,Zb1)における旧切削送り開始点b(座標Xb,Zb)からの一時オフセット量δxo,δzoを算出して、RAM44に記憶させる。   Then, when executing the fast feed command C1 including the M501 code in the machining program, the CPU 42 coordinates coordinates Xb and Zb of the cutting feed start point b described in the command, and the tool 27 detected by the contact detector 40 and The coordinates Xb2 and Zb2 of the cutting start point b2, which is a contact detection position with the workpiece 25, are stored in the RAM 44. Further, when the CPU 42 changes the cutting feed start point b and sets a new cutting feed start point b1 as described above, the old cutting feed start point b (at the new cutting feed start point b1 (coordinates Xb1, Zb1)) ( Temporary offset amounts δxo, δzo from the coordinates Xb, Zb) are calculated and stored in the RAM 44.

同様に、前記CPU42は、加工プログラム中のM601コードを含む切削送り指令C5の実行に際して、その指令に記述された切削送り終了点hの座標Xh,Zh、及びM601コードに対応して接触検出器40により検出された工具27と被加工物25との非接触検出位置である切削終了点h2の座標Xh2,Zh2をRAM44に記憶させる。さらに、CPU42は、前記のように切削送り終了点hを変更して新しい切削送り終了点h1を設定したとき、その新切削送り終了点h1(座標Xh1,Zh1)における旧切削送り終了点h(座標Xh,Zh)からの一時オフセット量δXh,δZhを算出して、RAM44に記憶させる。   Similarly, when executing the cutting feed command C5 including the M601 code in the machining program, the CPU 42 corresponds to the coordinates Xh and Zh of the cutting feed end point h described in the command and the M601 code. The coordinates Xh2 and Zh2 of the cutting end point h2, which is the non-contact detection position between the tool 27 and the workpiece 25 detected by 40, are stored in the RAM 44. Further, when the CPU 42 changes the cutting feed end point h and sets a new cutting feed end point h1 as described above, the old cutting feed end point h (at the new cutting feed end point h1 (coordinates Xh1, Zh1)) ( Temporary offset amounts δXh, δZh from the coordinates Xh, Zh) are calculated and stored in the RAM 44.

そして、前記CPU42は、前記接触検出モードの加工完了後における通常加工モードの加工に際して、加工プログラム中のM501コードを含む早送り指令C1の実行に際して、T02コードに対応した工具オフセット量δxt,δztと、M501コードに対応した工具一時オフセット量δxo,δzoとを加算した新切削送り開始点b1の座標Xb1,Zb1を算出して、その座標Xb1,Zb1に工具27を早送りする。   Then, the CPU 42 performs tool offset amounts δxt and δzt corresponding to the T02 code when executing the fast feed command C1 including the M501 code in the processing program when processing in the normal processing mode after the processing in the contact detection mode is completed. The coordinates Xb1 and Zb1 of the new cutting feed start point b1 obtained by adding the tool temporary offset amounts δxo and δzo corresponding to the M501 code are calculated, and the tool 27 is fast-forwarded to the coordinates Xb1 and Zb1.

さらに、加工プログラム中のM601コードを含む切削送り指令C5の実行に際しても、T02コードに対応した工具オフセット量δxt,δztと、M601コードに対応した一時工具オフセット量δXh,δZhとを加算した新切削送り終了点h1の座標Xh1,Zh1を算出して、その座標Xh1,Zh1まで工具27を切削送りする。   Further, when executing the cutting feed command C5 including the M601 code in the machining program, the new cutting is performed by adding the tool offset amounts δxt and δzt corresponding to the T02 code and the temporary tool offset amounts δXh and δZh corresponding to the M601 code. The coordinates Xh1 and Zh1 of the feed end point h1 are calculated, and the tool 27 is cut and fed to the coordinates Xh1 and Zh1.

次に、前記のような構成の工作機械において、加工プログラムに従って被加工物25を切削加工する場合の動作について説明する。
さて、この切削加工においては、まずテストピースに対してテストカットを行い、カット後のテストピースをチェックする。そして、そのチェック結果に基づいて、次回以降の切削加工において被加工物25に対して所要の形状、寸法等の加工が施されるように、必要に応じて工具オフセット量、主軸回転数及び切削送り速度を調整するためのデータを入力部45から手動入力する。ここで、工具オフセット量のデータは、入力部45から入力されて、図8に示すT02コードの番地に対応してRAM44に記憶される。このT02コードにより指示される工具オフセット量は、工具27の移動経路全体をX,Y,Zの各軸方向における少なくとも一方向にオフセットさせる量を示すものである。
Next, the operation when the workpiece 25 is cut according to the machining program in the machine tool configured as described above will be described.
In this cutting process, first, a test cut is performed on the test piece, and the test piece after the cut is checked. Then, based on the check result, the tool offset amount, the spindle rotation speed, and the cutting are performed as necessary so that the workpiece 25 is processed with a required shape, dimension, and the like in the next and subsequent cutting processes. Data for adjusting the feed rate is manually input from the input unit 45. Here, the tool offset amount data is input from the input unit 45 and stored in the RAM 44 corresponding to the address of the T02 code shown in FIG. The tool offset amount indicated by the T02 code indicates an amount by which the entire movement path of the tool 27 is offset in at least one direction in the X, Y, and Z axial directions.

以上のテストカットが終了した後に、接触検出モードが設定されて、そのモード下における加工が開始され、CPU42の制御に基づいて、図9〜図11のフローチャートに示す各ステップ(以下、単にSという)の動作が順に行われる。   After the above test cut is completed, the contact detection mode is set, and machining under that mode is started. Under the control of the CPU 42, each step shown in the flowcharts of FIGS. ) Are performed in order.

すなわち、図9のS1においては、図8に示す加工プログラム中の1つのブロックの指令が読み込まれる。次のS2においては、読み込まれた指令がM501コード付きの早送り指令C1であるか否かが判別され、M501コード付きの早送り指令C1でない場合にはS3に進行し、M501コード付きの早送り指令C1である場合には後述する図10のS5に移行する。S3においては、読み込まれた指令がM601コード付きの切削送り指令C5であるか否かが判別され、M601コード付きの切削送り指令C5でない場合にはS4に進行し、M601コード付きの切削送り指令C5である場合には後述する図11のS15に移行する。S4においては、読み込まれた指令に基づいて通常の指令処理が実行され、その後は前記S1に戻って、S1〜S4の動作が繰り返し行われる。なお、工具27の移動経路に複数の切削開始位置及び切削終了位置が存在する場合には、それらの切削開始部及び切削終了部の工具送りに対応する加工プログラムのブロック中に、M501,M502,M503・・・・・・M50nと、M601,M602,M603・・・・・・M60nとがそれぞれ設定されるが、この実施形態においては、M501,M601コードについてのみ説明する。   That is, in S1 of FIG. 9, a command for one block in the machining program shown in FIG. 8 is read. In the next S2, it is determined whether or not the read command is a fast-forward command C1 with an M501 code. If it is not a fast-forward command C1 with an M501 code, the process proceeds to S3, and a fast-forward command C1 with an M501 code is performed. If it is, the process proceeds to S5 in FIG. In S3, it is determined whether or not the read command is a cutting feed command C5 with an M601 code. If the command is not a cutting feed command C5 with an M601 code, the process proceeds to S4 and a cutting feed command with an M601 code is issued. If it is C5, the process proceeds to S15 in FIG. In S4, normal command processing is executed based on the read command, and thereafter, the process returns to S1 and the operations of S1 to S4 are repeated. Note that when there are a plurality of cutting start positions and cutting end positions in the movement path of the tool 27, M501, M502, M502, M502, M503... M50n and M601, M602, M603... M60n are set, but in this embodiment, only the M501 and M601 codes will be described.

一方、前記S2の判別において、読み込まれた指令がM501コード付きの早送り指令C1であって、図10のS5に移行した場合には、そのS5において、M501コード付きの早送り指令C1が実行されて、図6に示すように、工具27が所定位置としての退避位置aから位置決め位置(切削送り開始点)bまで移動される。そして、次のS6においては、指令C1における切削送り開始点b(座標Xb,Zb)がRAM44の所定のエリアに記憶される。   On the other hand, if it is determined in S2 that the read command is the fast-forward command C1 with M501 code and the process proceeds to S5 in FIG. 10, the fast-forward command C1 with M501 code is executed in S5. As shown in FIG. 6, the tool 27 is moved from the retracted position a as a predetermined position to a positioning position (cutting feed start point) b. In the next S6, the cutting feed start point b (coordinates Xb, Zb) in the command C1 is stored in a predetermined area of the RAM 44.

続いて、S7においては、加工プログラム中の次の切削送り指令C2が読み込まれて実行開始され、工具27が切削送り開始点bから方向転換点cに向かって移動開始される。次のS8においては、接触検出器40により工具27が被加工物25に接触したか否かが検出され、接触検出器40から接触検出信号が出力されない場合にはS9に進行し、接触検出器40から接触検出信号が出力された場合にはS10に進行する。S9においては、切削送りが終了したか否かが判別され、切削送りが終了しない場合にはS8に戻ってS8〜S9の動作が繰り返し行われる。これに対して、切削送りが終了した場合には図9のS1に戻って、S1以降の動作が行われる。   Subsequently, in S7, the next cutting feed command C2 in the machining program is read and started to be executed, and the tool 27 is started to move from the cutting feed start point b toward the turning point c. In the next S8, it is detected whether or not the tool 27 has contacted the workpiece 25 by the contact detector 40. If no contact detection signal is output from the contact detector 40, the process proceeds to S9. If the contact detection signal is output from 40, the process proceeds to S10. In S9, it is determined whether or not the cutting feed is finished. If the cutting feed is not finished, the process returns to S8 and the operations of S8 to S9 are repeated. On the other hand, when the cutting feed is completed, the process returns to S1 in FIG. 9 and the operations after S1 are performed.

前記S8の判別において、接触検出器40から接触検出信号が出力されてS10に進行した場合には、そのS10において、M501コードの番地に対応して切削開始点b2(座標Xb2,Zb2)の位置がRAM44の所定のエリアに記憶される。続いて、S11においては、切削開始点b2において所定の切削送り速度が得られるように、停止位置からの必要な加速移動距離δb1(距離δbx,δbz)が算出される。次のS12においては、新しい切削送り開始点b1(Xb1,Zb1)が、前記M501コードに対応した切削開始点b2(Xb2,Zb2)と、この加速移動量である距離δb1(δbx,δbz)とに基づいて算出される。   In the determination of S8, if a contact detection signal is output from the contact detector 40 and the process proceeds to S10, the position of the cutting start point b2 (coordinates Xb2, Zb2) corresponding to the address of the M501 code in S10. Is stored in a predetermined area of the RAM 44. Subsequently, in S11, a necessary acceleration movement distance δb1 (distance δbx, δbz) from the stop position is calculated so that a predetermined cutting feed speed is obtained at the cutting start point b2. In the next S12, the new cutting feed start point b1 (Xb1, Zb1) is the cutting start point b2 (Xb2, Zb2) corresponding to the M501 code, and the distance δb1 (δbx, δbz) that is the acceleration movement amount. Is calculated based on

さらに、S13においては、M501コードに対応した早送り終了のためのオフセット量δxo,δzoが、新切削送り開始点b1(Xb1,Zb1)と旧切削送り開始点b(Xb,Zb)とに基づいて算出されて、RAM44に記憶される。   Further, in S13, the offset amounts δxo, δzo for ending the rapid feed corresponding to the M501 code are based on the new cutting feed start point b1 (Xb1, Zb1) and the old cutting feed start point b (Xb, Zb). Calculated and stored in the RAM 44.

次のS14においては、切削送りが終了したか否かが判別され、切削送りが終了した場合には図9のS1に戻って、S1以降の動作が行われる。
一方、前記S3の判別において、読み込まれた指令がM601コード付きの切削送り指令C5であって、図11のS15に移行した場合には、そのS15おいて、M601コード付きの切削送り指令C5が実行開始される。次のS16においては、指令C5における切削送り終了点h(座標Xh,Zh)がRAM44に記憶される。そして、S17においては、切削送り指令C5に基づいて切削送りが開始され、図7に示すように、工具27が方向転換点eから切削送り終了点hに向かって移動開始される。
In the next S14, it is determined whether or not the cutting feed is completed. When the cutting feed is finished, the process returns to S1 in FIG. 9 and the operations after S1 are performed.
On the other hand, in the determination of S3, when the read command is the cutting feed command C5 with the M601 code and the process proceeds to S15 in FIG. 11, the cutting feed command C5 with the M601 code is set in S15. Execution starts. In the next S16, the cutting feed end point h (coordinates Xh, Zh) in the command C5 is stored in the RAM 44. In S17, cutting feed is started based on the cutting feed command C5, and as shown in FIG. 7, the tool 27 starts to move from the turning point e toward the cutting feed end point h.

続いて、S18においては、接触検出器40により工具27が被加工物25から離間したか否かが検出され、接触検出器40から非接触検出信号が出力されない場合にはS19に進行し、接触検出器40から非接触検出信号が出力された場合にはS20に進行する。S19においては、切削送りが終了したか否かが判別され、切削送りが終了しない場合にはS18に戻ってS18〜S19の動作が繰り返し行われる。これに対して、切削送りが終了した場合には図9のS1に戻って、S1以降の動作が行われる。   Subsequently, in S18, it is detected by the contact detector 40 whether or not the tool 27 has been separated from the workpiece 25. If the non-contact detection signal is not output from the contact detector 40, the process proceeds to S19. If a non-contact detection signal is output from the detector 40, the process proceeds to S20. In S19, it is determined whether or not the cutting feed is finished. If the cutting feed is not finished, the process returns to S18 and the operations of S18 to S19 are repeated. On the other hand, when the cutting feed is completed, the process returns to S1 in FIG. 9 and the operations after S1 are performed.

前記S18の判別において、接触検出器40から非接触検出信号が出力されてS20に進行した場合には、そのS20において、M601コードに対応した切削終了点h2(座標Xh2,Zh2)がRAM44の所定のエリアに記憶される。続いて、S21においては、切削終了点h2から切削送り速度を停止状態まで減速させるのに必要な長さの減速移動距離δh1(δhx,δhz)が算出される。次のS22においては、新しい切削送り終了点h1(座標Xh1,Zh1)が、前記M601コードの番地に対応して切削終了点h2(Xh2,Zh2)と、この減速移動量である距離δh1(δhx,δhz)とに基づいて算出される。   If it is determined in S18 that a non-contact detection signal is output from the contact detector 40 and the process proceeds to S20, the cutting end point h2 (coordinates Xh2, Zh2) corresponding to the M601 code is determined in the RAM 44 in S20. Is stored in the area. Subsequently, in S21, a deceleration moving distance δh1 (δhx, δhz) having a length necessary for decelerating the cutting feed rate to the stop state is calculated from the cutting end point h2. In the next S22, the new cutting feed end point h1 (coordinates Xh1, Zh1) corresponds to the cutting end point h2 (Xh2, Zh2) corresponding to the address of the M601 code, and the distance δh1 (δhx) which is this deceleration movement amount. , Δhz).

さらに、S23においては、M601コードに対応した切削送り終了オフセット量δXh,δZhが、新切削送り終了点h1(座標Xh1,Zh1)と旧切削送り終了点h(Xh,Zh)とに基づいて算出されて、RAM44の所定のエリアに記憶される。   Further, in S23, the cutting feed end offset amounts δXh, δZh corresponding to the M601 code are calculated based on the new cutting feed end point h1 (coordinates Xh1, Zh1) and the old cutting feed end point h (Xh, Zh). And stored in a predetermined area of the RAM 44.

次のS24においては、切削送りが終了したか否かが判別され、切削送りが終了した場合には図9のS1に戻って、S1以降の動作が行われる。
このように、接触検出モードの設定状態で1回目の加工が行われた後、通常加工モードに設定変更して2回目以降の加工が行われる。この2回目以降の加工においては、前述した接触検出モードの設定時と同様に、図9に示すS1〜S4の動作が行われる。そして、S2の判別において、読み込まれた指令がM501コード付きの早送り指令C1である場合には、図12のS25に移行して、そのS25において、M501コード付きの早送り指令C1が実行開始される。次のS26においては、T02コードに対応した工具オフセット量δxt,δztと、M501コードに対応した一時工具オフセット量δxo,δzoとを加算することにより、新切削送り開始点b1の座標Xb1,Zb1が算出され、その座標Xb1,Zb1に向かって工具27が早送りされる。
In the next S24, it is determined whether or not the cutting feed has been completed. If the cutting feed has been completed, the process returns to S1 in FIG. 9 and the operations after S1 are performed.
Thus, after the first processing is performed in the set state of the contact detection mode, the setting is changed to the normal processing mode, and the second and subsequent processing is performed. In the second and subsequent processing, the operations of S1 to S4 shown in FIG. 9 are performed as in the case of setting the contact detection mode described above. If it is determined in S2 that the read command is the fast-forward command C1 with the M501 code, the process proceeds to S25 in FIG. 12, and the fast-forward command C1 with the M501 code is started to be executed in S25. . In the next S26, the coordinates Xb1, Zb1 of the new cutting feed start point b1 are obtained by adding the tool offset amounts δxt, δzt corresponding to the T02 code and the temporary tool offset amounts δxo, δzo corresponding to the M501 code. The calculated tool 27 is fast-forwarded toward the coordinates Xb1 and Zb1.

従って、図6に示すように、工具27は1回目の接触検出モードの加工時における移動経路a−bとは異なった近回りの移動経路a−b1を通って、新切削送り開始点b1まで早送り移動される。その後は、図9のS1に戻って、S1〜S4の動作が繰り返し行われ、S4において次の切削送り指令C2が実行されるとき、工具27が新切削送り開始点b1(Xb1,Zb1)から方向転換点cまで切削送りで移動される。よって、この通常加工モードにおいては、工具27が移動経路a−bを通って早送り移動された後に、移動経路b−cを通って切削送り移動される場合と比較して、工具27の移動距離が切削送りの距離δbマイナスδb1分だけ短縮されることになる。   Accordingly, as shown in FIG. 6, the tool 27 passes through a short-path movement path a-b1 different from the movement path a-b at the time of machining in the first contact detection mode to the new cutting feed start point b1. Move fast forward. Thereafter, returning to S1 in FIG. 9, the operations of S1 to S4 are repeatedly performed, and when the next cutting feed command C2 is executed in S4, the tool 27 is moved from the new cutting feed start point b1 (Xb1, Zb1). It is moved by cutting feed to the turning point c. Therefore, in this normal machining mode, the movement distance of the tool 27 is compared with the case where the tool 27 is moved forward through the movement path ab and then cut and moved through the movement path bc. Is shortened by the cutting feed distance δb minus δb1.

一方、前記S3の判別において、読み込まれた指令がM601コード付きの切削送り指令C5である場合には、図13のS27に移行して、そのS27おいて、M601コード付きの切削送り指令C5が実行開始される。次のS28においては、T02コードに対応した工具オフセット量δxt,δztと、M601コードに対応した一時工具オフセット量δXh,δZhとを加算することにより、新切削送り終了点h1の座標Xh1,Zh1が算出され、その座標Xh1,Zh1まで工具27が切削送りされる。   On the other hand, if it is determined in S3 that the read command is the cutting feed command C5 with M601 code, the process proceeds to S27 in FIG. 13, and in S27, the cutting feed command C5 with M601 code is set. Execution starts. In the next S28, by adding the tool offset amounts δxt, δzt corresponding to the T02 code and the temporary tool offset amounts δXh, δZh corresponding to the M601 code, the coordinates Xh1, Zh1 of the new cutting feed end point h1 are obtained. The tool 27 is calculated and fed to the coordinates Xh1 and Zh1.

その後、図9のS1に戻って、S1〜S4の動作が繰り返し行われ、S4において次の早送り指令C6が実行されるとき、工具27が新切削送り終了点h1(Xh1,Zh1)から退避位置gまで早送りで移動される。従って、図7に示すように、工具27は1回目の接触検出モードの加工時における移動経路h−gとは異なった近回りの移動経路h1−gを通って、退避位置gまで早送り移動される。よって、この通常加工モードにおいては、工具27が移動経路e−hを通って切削送り移動された後に、移動経路h−gを通って早送り移動される接触検出モード時に比較して、工具27の移動距離が切削送りの距離δδhマイナスh1分だけ短縮されることになる。   Thereafter, returning to S1 of FIG. 9, when the operations of S1 to S4 are repeatedly performed and the next rapid feed command C6 is executed in S4, the tool 27 is retracted from the new cutting feed end point h1 (Xh1, Zh1). Move to g fast forward. Accordingly, as shown in FIG. 7, the tool 27 is fast-forwarded to the retreat position g through a short-distance movement path h1-g different from the movement path h-g in the processing in the first contact detection mode. The Therefore, in this normal machining mode, the tool 27 is moved by cutting feed movement through the movement path eh and then moved forward through the movement path h-g in comparison with the contact detection mode. The moving distance is shortened by the cutting feed distance δδh minus h1.

以上のように、この実施形態の工作機械においては、工具27と被加工物25との接触検出信号に基づいて切削送り開始点がbからb1に変更されて、退避位置aから切削送り開始点までの工具27の移動経路がa−bからa−b1に変更設定されるとともに、工具27と被加工物25との非接触検出信号に基づいて切削送り終了点がhからh1に変更されて、切削送り終了点から退避位置gまでの工具27の移動経路がh−gからh1−gに変更設定される。よって、図15及び図16に示す従来の加工方法と図6及び図7の例とを比較した場合、被加工物25の加工開始時及び加工終了時における工具27の移動経路を短縮することができて、空走時間を短縮することができ、加工効率を向上させることができる。   As described above, in the machine tool of this embodiment, the cutting feed start point is changed from b to b1 based on the contact detection signal between the tool 27 and the workpiece 25, and the cutting feed start point from the retracted position a. The moving path of the tool 27 is changed from ab to ab1, and the cutting feed end point is changed from h to h1 based on the non-contact detection signal between the tool 27 and the workpiece 25. Then, the moving path of the tool 27 from the cutting feed end point to the retracted position g is changed and set from h-g to h1-g. Therefore, when the conventional machining method shown in FIGS. 15 and 16 is compared with the example of FIGS. 6 and 7, the movement path of the tool 27 at the start and end of machining of the workpiece 25 can be shortened. In addition, the idle running time can be shortened and the machining efficiency can be improved.

以上に述べた実施形態は以下の効果を発揮する。
(1) 工具27と被加工物25との接触検出信号に基づいて切削送り開始点がbからb1に変更されて、退避位置aから切削送り開始点までの工具27の移動経路がa−bからa−b1に変更設定されるため、被加工物25の加工開始側における工具27の移動経路を短縮することが可能になり、加工効率を向上させることができる。
The embodiment described above exhibits the following effects.
(1) The cutting feed start point is changed from b to b1 based on the contact detection signal between the tool 27 and the workpiece 25, and the movement path of the tool 27 from the retracted position a to the cutting feed start point is ab. Therefore, the moving path of the tool 27 on the machining start side of the workpiece 25 can be shortened, and the machining efficiency can be improved.

(2) 工具27と被加工物25との非接触検出信号に基づいて切削送り終了点がhからh1に変更されて、切削送り終了点から退避位置gまでの工具27の移動経路がh−gからh1−gに変更設定されるため、加工開始側における移動経路の短縮に加えて、加工終了側においても工具27の移動経路を短縮することが可能になり、加工効率を向上させることができる。   (2) The cutting feed end point is changed from h to h1 based on the non-contact detection signal between the tool 27 and the workpiece 25, and the moving path of the tool 27 from the cutting feed end point to the retreat position g is h−. Since the setting is changed from g to h1-g, in addition to shortening the movement path on the machining start side, it is possible to shorten the movement path of the tool 27 on the machining end side, thereby improving machining efficiency. it can.

(3) 切削送りによる空走距離を短くでき、しかも従来技術とは異なり、加減速回数が増えることはないため、加減速ロスの問題も生じることはなく、たとえ切削送り距離がもともと短い場合であっても、空走時間を有効に短縮できる。   (3) The idling distance by cutting feed can be shortened, and unlike the conventional technology, the number of acceleration / deceleration does not increase, so there is no problem of acceleration / deceleration loss, even if the cutting feed distance is originally short. Even if there is, it can effectively reduce the idle time.

(4) 加減速回数が増えることはないため、機構部の負担増加を回避でき、機械寿命の向上に寄与できるとともに、メンテナンス負担を低減できる。
(5) 移動経路のa−bからa−b1への変更及びh−gからh1−gへの変更は、加工プログラムにおける一部のG00コード及びG01コードのブロックにM501コード及びM601コードにおいて指定される一時工具オフセットを設定しただけである。このため、加工時間短縮のために、加工プログラム全体を変更する必要はなく、加工効率の向上を容易に達成できる。
(4) Since the number of times of acceleration / deceleration does not increase, an increase in the load on the mechanism portion can be avoided, and it can contribute to the improvement of the machine life and the maintenance load can be reduced.
(5) Changes in the movement route from ab to ab1 and from hg to h1-g are specified in the M501 code and M601 code in some G00 code and G01 code blocks in the machining program. Just set a temporary tool offset to be performed. For this reason, it is not necessary to change the entire machining program in order to shorten the machining time, and the machining efficiency can be easily improved.

(変更例)
なお、この実施形態は、次のように変更して具体化することも可能である。
・ 図14(a)に示すように、被加工物25に対して前記実施形態の面取り部25aに代えて曲面部25cを含む切削加工を施す場合、工具27と被加工物25との接触検出位置である切削開始点b2の検出に基づいて、曲面部25cの接線上において、切削送り開始点をbからb1に変更して、退避位置aから切削送り開始点までの工具27の移動経路をa−bからa−b1に変更設定すること。
(Example of change)
In addition, this embodiment can also be changed and embodied as follows.
As shown in FIG. 14A, when the workpiece 25 is subjected to cutting processing including a curved surface portion 25 c instead of the chamfered portion 25 a of the above embodiment, contact detection between the tool 27 and the workpiece 25 is detected. Based on the detection of the cutting start point b2 that is the position, the cutting feed start point is changed from b to b1 on the tangent line of the curved surface portion 25c, and the movement path of the tool 27 from the retracted position a to the cutting feed start point is changed. Change setting from a-b to a-b1.

・ 図14(b)に示すように、被加工物25に対して前記実施形態の面取り部25bに代えて曲面部25dを含む切削加工を施す場合、工具27と被加工物25との非接触検出位置である切削終了点h2の検出に基づいて、曲面部25dの曲面の接線上において、切削送り終了点をhからh1に変更して、切削送り終了点から退避位置gまでの工具27の移動経路をh−gからh1−gに変更設定すること。   As shown in FIG. 14B, when the workpiece 25 is subjected to a cutting process including a curved surface portion 25 d instead of the chamfered portion 25 b of the above embodiment, the tool 27 and the workpiece 25 are not in contact with each other. Based on the detection of the cutting end point h2 that is the detection position, the cutting feed end point is changed from h to h1 on the tangent to the curved surface of the curved surface portion 25d, and the tool 27 from the cutting feed end point to the retreat position g is changed. Change and set the movement route from h-g to h1-g.

・ 前記実施形態においては、工具27と被加工物25との接触状態の検出を電気的な導通の有無により監視するようにしているが、工具27による被加工物25の切削開始時や切削終了時に発生する主軸23の負荷トルクの変化や、主軸台22またはホルダ31の送り機構の負荷トルクの変化を検出したり、AE(アコースティック・エミッション)センサ等により切削開始時や切削終了時の音響振動の変化を検出したりすることにより、工具27と被加工物25との接触状態の有無を検出するようにしてもよい。   In the embodiment, the detection of the contact state between the tool 27 and the workpiece 25 is monitored based on the presence or absence of electrical continuity. However, when the cutting of the workpiece 25 by the tool 27 starts or ends. Changes in the load torque of the spindle 23 that occur at times, changes in the load torque of the feed mechanism of the headstock 22 or the holder 31, and acoustic vibrations at the start and end of cutting by an AE (acoustic emission) sensor or the like The presence or absence of a contact state between the tool 27 and the work piece 25 may be detected by detecting a change in the above.

・ 前記実施形態においては、所定の退避位置aから早送りが開始されるとともに、所定の退避位置gにおいて早送りが終了されるように構成されているが、退避位置以外のところに早送り開始位置及び早送り終了位置を設定すること。例えば、同一の被加工物の相互に離間した複数位置に対して切削加工を連続する場合は、早送り開始位置や早送り終了位置が退避位置ではなく、被加工物の外周面に沿った工具移動経路の中途位置に設定される。   In the embodiment, the fast-forwarding is started from the predetermined retraction position a and the fast-forwarding is ended at the predetermined retraction position g. Set the end position. For example, when cutting is continuously performed on a plurality of positions of the same workpiece that are spaced apart from each other, the rapid traverse start position and the rapid traverse end position are not retreat positions, but a tool movement path along the outer peripheral surface of the workpiece. Is set to the middle position.

・ 工具27のみがX,Y,Zの各軸方向に移動したり、被加工物25のみがX,Y,Zの各軸方向に移動したり、あるいは、工具27及び被加工物25の双方が同時にX,Y,Zの各軸方向のうちの少なくとも1軸方向に移動したりする構成においてこの発明を具体化すること。   Only the tool 27 moves in the X, Y, Z axial directions, or only the workpiece 25 moves in the X, Y, Z axial directions, or both the tool 27 and the workpiece 25 The present invention is embodied in a configuration in which simultaneously moves in at least one of the X, Y, and Z axial directions.

・ 被加工物25を背面主軸29に保持した場合に、前記実施形態における動作が実行されるように、背面主軸台28等の動作を制御すること。
・ 前記実施形態では、位置指定送りとして早送りを実行するようにしたが、位置指定送りを切削送り等、早送り以外の送りにおいて実行すること。例えば、切削送り開始点bまでの送り指令C1または切削送り終了点hからの送り指令C6を、早送りではなく、切削送りによりよる位置指定送りにより実現すること。この切削送り実現のために、G01コード等に続いて記述される送り速度を示すFコードに高速送り速度を指定すれば、早送りと同様な加工時間短縮が可能となる。
Controlling the operation of the back spindle stock 28 and the like so that the operation in the embodiment is executed when the workpiece 25 is held on the back spindle 29.
In the embodiment, rapid feed is executed as the position designation feed. However, the position designation feed is executed in a feed other than the rapid feed such as a cutting feed. For example, the feed command C1 up to the cutting feed start point b or the feed command C6 from the cutting feed end point h should be realized not by rapid feed but by position-designated feed by cutting feed. In order to realize this cutting feed, if a high feed rate is designated in the F code indicating the feed rate described after the G01 code or the like, the machining time can be shortened similarly to the rapid feed.

一実施形態の工作機械を示す要部斜視図。The principal part perspective view which shows the machine tool of one Embodiment. 図1の工作機械の部分拡大正面図。The partial enlarged front view of the machine tool of FIG. 図2の3−3線における部分拡大断面図。The partial expanded sectional view in the 3-3 line of FIG. 同工作機械の側面図。A side view of the machine tool. 同工作機械の回路構成を示すブロック図。The block diagram which shows the circuit structure of the machine tool. 同工作機械による被加工物の切削加工において切削送り開始点付近での工具の移動経路を示す図。The figure which shows the movement path | route of the tool in the cutting feed start point vicinity in the cutting of the workpiece by the machine tool. 同じく被加工物の切削加工において切削送り終了点付近での工具の移動経路を示す図。The figure which similarly shows the movement path | route of the tool in the cutting feed end point vicinity in the cutting of a workpiece. 加工プログラムを例示する図。The figure which illustrates a processing program. 図8の加工プログラムを実行した場合の動作を示すフローチャート。The flowchart which shows operation | movement at the time of performing the machining program of FIG. 接触検出モードに設定した場合の図9のAに続く動作を示すフローチャート。The flowchart which shows the operation | movement following A of FIG. 9 at the time of setting to contact detection mode. 接触検出モードに設定した場合の図9のBに続く動作を示すフローチャート。The flowchart which shows the operation | movement following B of FIG. 9 at the time of setting to contact detection mode. 通常加工モードに設定した場合の図9のAに続く動作を示すフローチャート。The flowchart which shows the operation | movement following A of FIG. 9 at the time of setting to normal process mode. 通常加工モードに設定した場合の図9のBに続く動作を示すフローチャート。The flowchart which shows the operation | movement following B of FIG. 9 at the time of setting to normal processing mode. (a)及び(b)は実施形態とは異なった形状の被加工物を切削加工する場合において、切削送り開始点及び切削送り終了点付近での工具の移動経路を示す図。(A) And (b) is a figure which shows the movement path | route of the tool in the vicinity of the cutting feed start point and the cutting feed end point, when cutting the workpiece of the shape different from embodiment. 従来の工作機械において被加工物を加工する場合の工具の移動経路を示す図。The figure which shows the movement path | route of a tool in the case of processing a workpiece in the conventional machine tool. (a)及び(b)は特許文献1に記載の従来方法により図15に示すよう被加工物を切削加工した場合において、切削送り開始点及び切削送り終了点付近での工具の移動経路を示す図。(A) And (b) shows the movement path | route of the tool in the vicinity of the cutting feed start point and the cutting feed end point when the workpiece is cut by the conventional method described in Patent Document 1 as shown in FIG. Figure.

符号の説明Explanation of symbols

22…主軸台、23…主軸、25…被加工物、26…刃物台、27…工具、31…工具ホルダ、40…接触検出手段を構成する接触検出器、41…制御装置、42…制御手段、移動経路設定手段及び算出手段を構成するCPU、44…プログラム記憶手段及びオフセット量記憶手段を構成するRAM、a…退避位置、b,b1…切削送り開始点、b2…切削開始点、h,h1…切削送り終了点、h2…切削終了点、g…退避位置、C1…早送り指令、C5…切削送り指令。   DESCRIPTION OF SYMBOLS 22 ... Main stand, 23 ... Main shaft, 25 ... Workpiece, 26 ... Tool rest, 27 ... Tool, 31 ... Tool holder, 40 ... Contact detector which comprises a contact detection means, 41 ... Control apparatus, 42 ... Control means , CPU constituting the movement path setting means and calculation means, 44... RAM constituting the program storage means and offset amount storage means, a... Evacuation position, b, b1... Cutting feed start point, b2. h1 ... cutting feed end point, h2 ... cutting end point, g ... retracted position, C1 ... fast feed command, C5 ... cutting feed command.

Claims (7)

所定位置から切削送り開始点までの位置指定送りを指示する位置指定送り指令と、切削送り開始点から切削送り終了点までの切削送りを指示する切削送り指令とが記述された加工プログラムを記憶するプログラム記憶手段を備え、
その加工プログラムに従い、工具を前記所定位置から切削送り開始位置を通過する移動経路に沿って被加工物に対して相対的に移動させることにより、被加工物に対して所要の加工を行うようにした工作機械において、
前記工具と被加工物との接触の有無を検出する接触検出手段と、
その接触検出手段からの検出信号に基づいて前記切削送り開始点の位置を被加工物側に変更して、前記所定位置から切削送り開始点までの位置指定送りの移動経路を新たに設定する移動経路設定手段と
を設けたことを特徴とする工作機械。
Stores a machining program in which a position designation feed command for instructing a position designation feed from a predetermined position to a cutting feed start point and a cutting feed command for instructing a cutting feed from a cutting feed start point to a cutting feed end point are stored. A program storage means,
According to the machining program, the tool is moved relative to the workpiece along the movement path passing through the cutting feed start position from the predetermined position, so that the required machining is performed on the workpiece. Machine tools
Contact detection means for detecting the presence or absence of contact between the tool and the workpiece;
Based on the detection signal from the contact detecting means, the position of the cutting feed start point is changed to the workpiece side, and the movement for newly setting the position designated feed movement path from the predetermined position to the cutting feed start point is set. A machine tool comprising a route setting means.
前記工具の先端位置のオフセット量を記憶するオフセット量記憶手段を有し、
そのオフセット量記憶手段に記憶された工具オフセット量を前記位置指定送り指令の実行に際して一時的に変更することにより、前記切削送り開始点の位置を変更することを特徴とする請求項1に記載の工作機械。
Offset amount storage means for storing the offset amount of the tip position of the tool;
The position of the cutting feed start point is changed by temporarily changing the tool offset amount stored in the offset amount storage means when the position designation feed command is executed. Machine Tools.
前記切削送り指令による切削送りの速度に達するために必要な加速距離を算出する算出手段を有し、
前記移動経路設定手段は、前記接触検出手段により検出された工具と被加工物との接触位置から、前記算出手段により算出された加速距離を隔てた位置に切削送り開始点を設定することを特徴とする請求項1または請求項2に記載の工作機械。
A calculation means for calculating an acceleration distance necessary to reach the speed of cutting feed by the cutting feed command;
The movement path setting means sets a cutting feed start point at a position that is separated from an acceleration distance calculated by the calculation means from a contact position between the tool and the workpiece detected by the contact detection means. The machine tool according to claim 1 or 2.
切削送り開始点から切削送り終了点までの切削送りを指示する切削送り指令と、切削送り終了点から所定の位置までの位置指定送りを指示する位置指定送り指令とが記述された加工プログラムを記憶するプログラム記憶手段を備え、
その加工プログラムに従い、前記切削送り終了点から所定位置に至る移動経路に沿って、工具を被加工物に対して相対的に移動させるようにした工作機械において、
前記工具と被加工物との接触の有無を検出する接触検出手段と、
その接触検出手段からの検出信号に基づいて前記切削送り終了点の位置を被加工物側に変更して、前記切削送り終了点から所定位置までの位置指定送りの移動経路を新たに設定する移動経路設定手段と
を設けたことを特徴とする工作機械。
A machining program in which a cutting feed command for instructing a cutting feed from a cutting feed start point to a cutting feed end point and a position designation feed command for instructing a position designated feed from the cutting feed end point to a predetermined position is stored. Program storage means for
In accordance with the machining program, in a machine tool that moves the tool relative to the workpiece along a movement path from the cutting feed end point to a predetermined position,
Contact detection means for detecting the presence or absence of contact between the tool and the workpiece;
Based on the detection signal from the contact detecting means, the position of the cutting feed end point is changed to the workpiece side, and a movement for newly setting a position designated feed movement path from the cutting feed end point to a predetermined position is set. A machine tool comprising a route setting means.
前記工具の先端位置のオフセット量を記憶するオフセット量記憶手段を有し、
そのオフセット量記憶手段に記憶された工具オフセット量を前記位置指定送り指令の実行に際して一時的に変更することにより、前記切削送り終了点の位置を変更することを特徴とする請求項4に記載の工作機械。
Offset amount storage means for storing the offset amount of the tip position of the tool;
The position of the cutting feed end point is changed by temporarily changing the tool offset amount stored in the offset amount storage means when the position designation feed command is executed. Machine Tools.
前記切削送り指令による切削送りの速度が終了するために必要な減速距離を算出する算出手段を有し、
前記移動経路設定手段は、前記接触検出手段により検出された工具と被加工物との接触離間位置から、前記算出手段により算出された減速距離を隔てた位置に切削送り終了開始点を設定することを特徴とする請求項4または請求項5に記載の工作機械。
Calculating means for calculating a deceleration distance necessary for the speed of the cutting feed according to the cutting feed command to end;
The movement path setting means sets a cutting feed end start point at a position separated from the contact separation position between the tool and the workpiece detected by the contact detection means and the deceleration distance calculated by the calculation means. The machine tool according to claim 4 or 5, characterized in that:
請求項1〜3のうちのいずれか一項に記載の構成と、請求項3〜6のうちのいずれか一項に記載の構成とを組み合わせたことを特徴とする工作機械。 A machine tool comprising a combination of the configuration according to any one of claims 1 to 3 and the configuration according to any one of claims 3 to 6.
JP2006180157A 2006-06-29 2006-06-29 Machine tool Pending JP2008009758A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2006180157A JP2008009758A (en) 2006-06-29 2006-06-29 Machine tool

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2006180157A JP2008009758A (en) 2006-06-29 2006-06-29 Machine tool

Publications (1)

Publication Number Publication Date
JP2008009758A true JP2008009758A (en) 2008-01-17

Family

ID=39067904

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2006180157A Pending JP2008009758A (en) 2006-06-29 2006-06-29 Machine tool

Country Status (1)

Country Link
JP (1) JP2008009758A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2012077910A2 (en) * 2010-12-06 2012-06-14 두산인프라코어 주식회사 Tool path part program modification system of nc machine tool
DE102014010213A1 (en) 2013-07-02 2015-01-08 Fanuc Corporation A numerical control device having a function of reducing the path to the starting point in a fixed cycle
JP2016066201A (en) * 2014-09-24 2016-04-28 ファナック株式会社 Machine tool control device
WO2023095599A1 (en) 2021-11-26 2023-06-01 スター精密株式会社 Tool holder and tool rest for machine tool

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2012077910A2 (en) * 2010-12-06 2012-06-14 두산인프라코어 주식회사 Tool path part program modification system of nc machine tool
WO2012077910A3 (en) * 2010-12-06 2012-08-23 두산인프라코어 주식회사 Tool path part program modification system of nc machine tool
CN103260824A (en) * 2010-12-06 2013-08-21 斗山英维高株式会社 Tool path part program modification system of NC machine tool
US9507340B2 (en) 2010-12-06 2016-11-29 Doosan Machine Tools Co., Ltd. Tool path part program modification system of NC machine tool
DE102014010213A1 (en) 2013-07-02 2015-01-08 Fanuc Corporation A numerical control device having a function of reducing the path to the starting point in a fixed cycle
US9599978B2 (en) 2013-07-02 2017-03-21 Fanuc Corporation Numerical control apparatus having function of reducing path to start point in canned cycle
DE102014010213B4 (en) 2013-07-02 2022-06-02 Fanuc Corporation A numerical control device configured to control a lathe in which a workpiece rotates in such a manner as to reduce a path length
JP2016066201A (en) * 2014-09-24 2016-04-28 ファナック株式会社 Machine tool control device
US10007252B2 (en) 2014-09-24 2018-06-26 Fanuc Corporation Machine tool controller
DE102015115663B4 (en) 2014-09-24 2022-01-05 Fanuc Corporation MACHINE TOOL CONTROL FOR ROLLING MACHINING
WO2023095599A1 (en) 2021-11-26 2023-06-01 スター精密株式会社 Tool holder and tool rest for machine tool
KR20240073953A (en) 2021-11-26 2024-05-27 스타 마이크로닉스 컴퍼니 리미티드 Tool holders and tool rests for machine tools

Similar Documents

Publication Publication Date Title
CN102027426B (en) Method for numerical control and numerical control machine
CN102667650A (en) Numerical control machine tool
JPS6332586B2 (en)
JP2008009758A (en) Machine tool
JP4362095B2 (en) Numerical controller
US10007252B2 (en) Machine tool controller
JP6151667B2 (en) Numerical control device having superposition control speed control function
US10248100B2 (en) Numerical controller
JP5059360B2 (en) Rapid feed control method for machine tools
JP2000284817A (en) Numerical controller to simultaneously control two movable objects no common track
US20190202017A1 (en) Selecting device, selecting method, and program
CN108500732B (en) Method for controlling operation of machine tool
JP4027834B2 (en) Positioning method in wire cut electric discharge machining
JP5764876B2 (en) Machine tool control method and machine tool control apparatus
US10996655B2 (en) Numerical controller
JP4672288B2 (en) Control device for controlling movement of movable part of machine tool, machine tool having control device, and moving method of movable part
JP3787481B2 (en) Method and apparatus for detecting load of cutting tool in machine tool
JP2002273601A (en) Multispindle machine tool
JP2006024174A (en) Movement controller for controlling movement of mobile body of machine tool, machine tool provided with movement controller and mobile body moving method
US5975746A (en) Process for monitoring bar cutoff on automatic bar lathes
JPH06262403A (en) Position control device for moving body in machine tool
JP3355213B2 (en) Automatic lathe
JP2021039401A (en) Numerical control device
JPS5918184B2 (en) Tool evacuation/return device in case of tool abnormality in machine tools
JPS61152351A (en) Machine tool with function of returning to original position