JP7091979B2 - Numerical control device and control method - Google Patents

Numerical control device and control method Download PDF

Info

Publication number
JP7091979B2
JP7091979B2 JP2018185237A JP2018185237A JP7091979B2 JP 7091979 B2 JP7091979 B2 JP 7091979B2 JP 2018185237 A JP2018185237 A JP 2018185237A JP 2018185237 A JP2018185237 A JP 2018185237A JP 7091979 B2 JP7091979 B2 JP 7091979B2
Authority
JP
Japan
Prior art keywords
tool
spindle
clamp
clamp mechanism
unit
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.)
Active
Application number
JP2018185237A
Other languages
Japanese (ja)
Other versions
JP2020055046A (en
Inventor
純平 近藤
寿人 八橋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Brother Industries Ltd
Original Assignee
Brother Industries 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 Brother Industries Ltd filed Critical Brother Industries Ltd
Priority to JP2018185237A priority Critical patent/JP7091979B2/en
Publication of JP2020055046A publication Critical patent/JP2020055046A/en
Application granted granted Critical
Publication of JP7091979B2 publication Critical patent/JP7091979B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Automatic Tool Replacement In Machine Tools (AREA)
  • Numerical Control (AREA)

Description

本発明は数値制御装置と制御方法に関する。 The present invention relates to a numerical control device and a control method.

特許文献1の工作機械は主軸ヘッド、主軸、主軸モータ、ATC装置を備え、工具交換動作を実行可能である。主軸ヘッドは立柱に設け、主軸を回転可能に支持する。主軸は装着穴、クランプ機構部、ドローバ等を備える。装着穴は主軸の先端部に設け、工具を着脱可能に装着する。クランプ機構部は装着穴の上方に設ける。ドローバは主軸の同軸上に挿入し、クランプ機構部に接続する。ドローバは直交する方向の両側に延出するピンを備える。主軸内のバネがドローバを上方に付勢することで、クランプ機構部は工具をクランプする。主軸ヘッドは内部に揺動腕部材を揺動可能に軸支する。揺動腕部材は一端部に二股状の押圧部を備える。揺動腕部材が所定方向に揺動すると、押圧部はドローバのピンに当接し下方に押圧する。クランプ機構部はクランプからアンクランプの状態になる。主軸モータはサーボモータであり主軸を回転駆動する。 The machine tool of Patent Document 1 includes a spindle head, a spindle, a spindle motor, and an ATC device, and can execute a tool change operation. The spindle head is provided on a vertical column to rotatably support the spindle. The main shaft is provided with a mounting hole, a clamp mechanism, a drawbar, and the like. A mounting hole is provided at the tip of the spindle, and the tool is detachably mounted. The clamp mechanism is provided above the mounting hole. The drawbar is inserted coaxially with the spindle and connected to the clamp mechanism. The drawbar has pins that extend on both sides in the orthogonal direction. The spring in the spindle urges the drawbar upward, and the clamp mechanism clamps the tool. The spindle head internally supports the swing arm member so that it can swing. The swing arm member is provided with a bifurcated pressing portion at one end. When the swing arm member swings in a predetermined direction, the pressing portion abuts on the pin of the drawbar and presses downward. The clamp mechanism is unclamped from the clamp. The spindle motor is a servo motor and drives the spindle to rotate.

ATC装置は工具マガジンと工具交換アームを備える。工具マガジンは次に主軸に装着する次工具の工具ポットを工具交換部に移動する。工具交換アームは両端部に一対の把持部を備える。工具交換動作時、主軸モータはオン状態で、主軸ヘッドは工具マガジンに近接する工具交換位置に移動する。一対の把持部は旋回して主軸に装着する現工具と、工具交換部に位置する次工具を把持する。ATC装置は揺動腕部材を押圧し、ドローバを押し下げるので、クランプ機構部はアンクランプの状態になる。工具交換アームが現工具と次工具を把持したまま下降するので、現工具と次工具は主軸と工具ポットから抜脱する。工具交換アームは、180°旋回して上昇することで、主軸に次工具が装着し、工具ポットに現工具が装着する。 The ATC device includes a tool magazine and a tool change arm. The tool magazine then moves the tool pot of the next tool to be mounted on the spindle to the tool changer. The tool change arm is provided with a pair of grips at both ends. During the tool change operation, the spindle motor is on and the spindle head moves to the tool change position close to the tool magazine. The pair of grips grip the current tool that is swiveled and mounted on the spindle and the next tool located in the tool changer. Since the ATC device presses the swing arm member and pushes down the drawbar, the clamp mechanism portion is in an unclamped state. Since the tool change arm descends while gripping the current tool and the next tool, the current tool and the next tool are pulled out from the spindle and the tool pot. The tool change arm turns 180 ° and rises so that the next tool is attached to the spindle and the current tool is attached to the tool pot.

特開2006-95627号公報Japanese Unexamined Patent Publication No. 2006-95627

クランプ機構部がアンクランプする時、ドローバに直交するピンを二股状の押圧部が押し下げるが、ピンに対して押圧部が平行に当たらない場合がある。その場合、押圧部からピンに対して押圧力が均等に加わらないことから、回転方向に対して主軸に力が加わり、主軸の位置がずれることがある。主軸モータがオン状態(サーボオン状態)の時、主軸モータは位置ループ制御中となる。故に主軸モータは、主軸の位置ずれを補正するように主軸の位置を元に戻す。押圧部がピンを押し下げる間、主軸モータは主軸の位置ずれを繰り返し補正するので、主軸モータが発振するという問題点があった。該問題点を解決する為、工具交換動作中は主軸モータをオフする方法が有効であるが、工具交換アームが旋回して一対の把持部が工具に当接して把持するときの衝撃で、主軸モータの位置がずれるという問題点があった。 When the clamping mechanism portion is unclamped, the bifurcated pressing portion pushes down the pin orthogonal to the draw bar, but the pressing portion may not hit the pin in parallel. In that case, since the pressing force is not evenly applied to the pin from the pressing portion, a force is applied to the spindle in the rotation direction, and the position of the spindle may shift. When the spindle motor is on (servo on state), the spindle motor is in position loop control. Therefore, the spindle motor returns the position of the spindle to correct the misalignment of the spindle. While the pressing portion pushes down the pin, the spindle motor repeatedly corrects the misalignment of the spindle, so that there is a problem that the spindle motor oscillates. In order to solve the problem, it is effective to turn off the spindle motor during the tool change operation. There was a problem that the position of the motor was displaced.

本発明の目的は、工具交換動作時に主軸の回転位置の位置ずれを抑制し、且つサーボモータの発振を抑制できる数値制御装置と制御方法を提供することである。 An object of the present invention is to provide a numerical control device and a control method capable of suppressing a displacement of the rotational position of a spindle during a tool change operation and suppressing oscillation of a servomotor.

請求項1の数値制御装置は、工具を着脱可能に支持する主軸と、互いに直行する三軸方向に移動可能に設け、当該三軸方向のうち一軸方向に向けて前記主軸を回転可能に支持する主軸ヘッドと、前記主軸ヘッドに設け、前記主軸を駆動するサーボモータと、前記主軸に設け、前記主軸に装着する前記工具のクランプ及びアンクランプを行うクランプ機構部と、前記主軸ヘッドに設け、前記クランプ機構部を駆動する為の外力を受ける機構駆動部と、前記主軸ヘッドの移動範囲に近接して設け、前記主軸の工具交換動作を実行可能な工具交換装置とを備えた工作機械の動作を制御するものであり、前記機構駆動部は、前記一軸方向に延び、前記クランプ機構部と接続する棒状のドローバと、前記ドローバに設け、当該ドローバの直交する方向の両側に延出するピンと、前記ドローバを、前記一軸方向に平行な方向であって、前記クランプ機構部が前記工具をクランプする第一方向に付勢するバネと、前記主軸ヘッドに設け、一端に前記ピンを前記第一方向とは反対の第二方向に押圧可能な二股状の押圧部を有し、他端に前記外力を受ける可動部を有し、前記一端と前記他端の間を回動可能に軸支するレバー部材とを備え、前記可動部が前記外力を受けて、前記レバー部材が回動することにより、前記押圧部が前記ピンを押圧し、前記ドローバが前記バネの付勢力に抗して前記第二方向に移動することにより、前記クランプ機構部におけるクランプを解除してアンクランプするものであって、前記工具交換装置は、工具を収納可能な工具ポットを有し、次工具を収納する前記工具ポットを所定位置に移動する工具マガジンと、前記一軸方向に直交する方向に延びるアーム両端部に前記工具を把持可能な一対の把持部を設け、前記一軸方向に平行に延びる旋回軸を中心に、前記一対の把持部が前記主軸に装着した現工具と前記所定位置に位置する前記次工具との間を旋回可能で、且つ前記旋回軸が延びる方向において移動可能な工具交換アームと、前記工具交換アームを駆動する駆動部と、前記駆動部の駆動力の一部を前記外力に変換し、前記可動部に付与することにより、前記機構駆動部を駆動する外力付与部とを備え、前記駆動部を制御することによって、前記工具交換動作を実行するATC制御部を備えた数値制御装置において、前記サーボモータのオンオフを制御するモータ制御部を備え、前記ATC制御部は、前記サーボモータをオン状態で、前記駆動部を制御することにより、前記工具交換アームの旋回を開始すると共に、前記外力付与部によって前記可動部に前記外力を付与し、前記クランプ機構部をクランプからアンクランプに切替える動作を開始する旋回ステップと、前記旋回ステップ後に、前記一対の把持部が前記現工具と前記次工具を把持する把持ステップと、前記把持ステップ後に、前記クランプ機構部がクランプからアンクランプへの切替えを完了すると共に、前記一対の把持部が前記主軸及び前記工具ポットから離れる方向であって、前記一軸方向に平行な第三方向に前記工具交換アームを移動し、前記主軸及び前記工具ポットから前記現工具及び前記次工具を抜脱する工具抜脱ステップと、前記工具抜脱ステップ後に、前記工具交換アームを旋回し、前記現工具と前記次工具の夫々の位置を入れ替えると共に、前記第三方向とは反対の第四方向に前記工具交換アームを移動し、前記主軸及び前記工具ポットに前記次工具と前記現工具を装着する装着ステップとを含む前記工具交換動作を実行するものであり、前記モータ制御部は、前記把持ステップにて前記一対の把持部が前記現工具と前記次工具を把持したときから、前記工具抜脱ステップにて前記クランプ機構部がクランプからアンクランプへの切替えを完了するときまでの間に、前記サーボモータを前記オン状態からオフ状態に切り替えるオフ制御部を備え、前記モータ制御部の前記オフ制御部は、前記工具抜脱ステップにて前記クランプ機構部がクランプからアンクランプへの切替えを完了する直前で、前記サーボモータを前記オン状態から前記オフ状態に切り替えることを特徴とする。 The numerical control device according to claim 1 is provided with a spindle that detachably supports the tool and a spindle that is movable in a triaxial direction that is orthogonal to each other, and rotatably supports the spindle in one of the triaxial directions. A spindle head, a servomotor provided on the spindle head to drive the spindle, a clamp mechanism portion provided on the spindle for clamping and unclamping the tool mounted on the spindle, and a clamp mechanism portion provided on the spindle head and described above. The operation of a machine tool equipped with a mechanism drive unit that receives an external force for driving the clamp mechanism unit and a tool exchange device that is provided close to the movement range of the spindle head and is capable of performing a tool exchange operation of the spindle. The mechanism driving unit is controlled by a rod-shaped drawbar that extends in the uniaxial direction and is connected to the clamp mechanism unit, a pin provided on the drawbar and extending on both sides of the drawbar in an orthogonal direction, and the above. The drawbar is provided on the spindle head in a direction parallel to the uniaxial direction and the clamp mechanism portion urges the tool in the first direction, and the pin is provided at one end in the first direction. Has a bifurcated pressing portion that can be pressed in the opposite second direction, has a movable portion that receives the external force at the other end, and is a lever member that rotatably supports between the one end and the other end. When the movable portion receives the external force and the lever member rotates, the pressing portion presses the pin, and the drawbar resists the urging force of the spring in the second direction. By moving to, the clamp in the clamp mechanism portion is released and unclamped, and the tool changer has a tool pot capable of storing a tool, and the tool pot for storing the next tool is used. A tool magazine that moves to a predetermined position and a pair of grips that can grip the tool are provided at both ends of an arm that extends in a direction orthogonal to the uniaxial direction, and the pair is centered on a swivel axis that extends parallel to the uniaxial direction. A tool exchange arm and a tool exchange arm that can be swiveled between the current tool mounted on the spindle and the next tool located at the predetermined position and can be moved in the direction in which the swivel shaft extends. A driving unit to be driven and an external force applying unit for driving the mechanism driving unit by converting a part of the driving force of the driving unit into the external force and applying the external force to the movable unit are provided to control the driving unit. In a numerical control device including an ATC control unit that executes the tool change operation, the ATC control unit includes a motor control unit that controls on / off of the servo motor, and the ATC control unit is the sir. By controlling the drive unit while the bomber is on, the tool exchange arm starts to turn, and the external force is applied to the movable portion by the external force applying portion, so that the clamping mechanism portion is unclamped from the clamp. After the turning step, the pair of gripping portions grip the current tool and the next tool, and after the gripping step, the clamping mechanism portion moves from the clamp to the unclamp. The tool exchange arm is moved in a third direction parallel to the uniaxial direction in a direction away from the spindle and the tool pot, and the pair of grips is moved away from the spindle and the tool pot. After the tool extraction / removal step of removing the current tool and the next tool from the tool, and the tool removal / removal step, the tool exchange arm is swiveled to switch the positions of the current tool and the next tool, and the positions of the current tool and the next tool are exchanged. The tool exchange arm is moved in a fourth direction opposite to the three directions to execute the tool exchange operation including the mounting step of mounting the next tool and the current tool on the spindle and the tool pot. In the motor control unit, the clamp mechanism unit switches from clamping to unclamping in the tool removal step from the time when the pair of gripping units grips the current tool and the next tool in the gripping step. By the time the servo motor is switched from the on state to the off state, the off control unit of the motor control unit is provided with the clamp mechanism unit in the tool removal step. Immediately before the switching from the clamp to the unclamp is completed, the servo motor is switched from the on state to the off state .

工具交換アームの一対の把持部が現工具と次工具を把持する時、数値制御装置はサーボモータをオン状態にする。故に数値制御装置は一対の把持部が現工具と次工具に当接する時の衝撃で、主軸の位置ずれが発生するのを抑制できる。数値制御装置は一対の把持部が現工具と次工具を把持したときからクランプ機構部がクランプからアンクランプへの切替えを完了するときまでの間に、サーボモータをオン状態からオフ状態へと切り替える。故に数値制御装置は主軸の回転位置の位置ずれに起因するサーボモータの発振を抑制できる。故に数値制御装置は主軸の回転位置の位置ずれを抑制し、且つサーボモータの発振を抑制できる。 When the pair of grips on the tool change arm grip the current tool and the next tool, the numerical control device turns on the servomotor. Therefore, the numerical control device can suppress the displacement of the spindle due to the impact when the pair of grips abuts on the current tool and the next tool. The numerical control device switches the servomotor from the on state to the off state between the time when the pair of grips grips the current tool and the next tool and the time when the clamp mechanism completes the switching from the clamp to the unclamp. .. Therefore, the numerical control device can suppress the oscillation of the servomotor due to the misalignment of the rotational position of the spindle. Therefore, the numerical control device can suppress the positional deviation of the rotational position of the spindle and suppress the oscillation of the servomotor.

値制御装置は、クランプ機構部がアンクランプを開始してからアンクランプが完了する直前までの期間、サーボモータのオン状態を維持する。故に数値制御装置は主軸の回転位置の位置ずれを抑制できる。数値制御装置はアンクランプへの切替えを完了する直前で、サーボモータをオン状態からオフ状態に切り替える。クランプ機構部がクランプへの切替えを完了する直前で、ピンの位置は安定しやすい。故に数値制御装置はオフ状態に切り替えた後、サーボモータの発振を抑制できる。数値制御装置は主軸の回転位置の位置ずれを確実に抑制し、且つ発振を抑制できる。 The numerical control device keeps the servomotor on for a period from the start of unclamping by the clamping mechanism to immediately before the completion of unclamping. Therefore, the numerical control device can suppress the positional deviation of the rotational position of the spindle. The numerical control device switches the servomotor from the on state to the off state just before the switching to the unclamp is completed. Immediately before the clamp mechanism completes the switching to the clamp, the position of the pin tends to be stable. Therefore, the numerical control device can suppress the oscillation of the servomotor after switching to the off state. The numerical control device can surely suppress the positional deviation of the rotational position of the spindle and suppress the oscillation.

請求項の数値制御装置の前記モータ制御部は、前記工具抜脱ステップにて前記クランプ機構部をクランプからアンクランプへの切替えを完了した後、前記サーボモータを前記オフ状態から前記オン状態に切り替えるオン制御部を備え、前記オン制御部は、前記装着ステップにて前記主軸及び前記工具ポットに前記次工具と前記現工具を夫々装着した後、前記サーボモータを前記オフ状態から前記オン状態に切り替えるとよい。数値制御装置は、サーボモータをオフ状態としてから、主軸及び工具ポットに次工具と現工具を夫々装着した後、サーボモータをオフ状態からオン状態に切り替える。故に数値制御装置はサーボモータのオフ状態の期間を維持できるので、消費電力を削減できる。数値制御装置は工具交換動作が完了するまでにサーボモータをオン状態とするので、工具交換動作後の工作機械の切削動作を遅滞なく行うことができる。
請求項3の数値制御装置は、工具を着脱可能に支持する主軸と、互いに直行する三軸方向に移動可能に設け、当該三軸方向のうち一軸方向に向けて前記主軸を回転可能に支持する主軸ヘッドと、前記主軸ヘッドに設け、前記主軸を駆動するサーボモータと、前記主軸に設け、前記主軸に装着する前記工具のクランプ及びアンクランプを行うクランプ機構部と、前記主軸ヘッドに設け、前記クランプ機構部を駆動する為の外力を受ける機構駆動部と、前記主軸ヘッドの移動範囲に近接して設け、前記主軸の工具交換動作を実行可能な工具交換装置とを備えた工作機械の動作を制御するものであり、前記機構駆動部は、前記一軸方向に延び、前記クランプ機構部と接続する棒状のドローバと、前記ドローバに設け、当該ドローバの直交する方向の両側に延出するピンと、前記ドローバを、前記一軸方向に平行な方向であって、前記クランプ機構部が前記工具をクランプする第一方向に付勢するバネと、前記主軸ヘッドに設け、一端に前記ピンを前記第一方向とは反対の第二方向に押圧可能な二股状の押圧部を有し、他端に前記外力を受ける可動部を有し、前記一端と前記他端の間を回動可能に軸支するレバー部材とを備え、前記可動部が前記外力を受けて、前記レバー部材が回動することにより、前記押圧部が前記ピンを押圧し、前記ドローバが前記バネの付勢力に抗して前記第二方向に移動することにより、前記クランプ機構部におけるクランプを解除してアンクランプするものであって、前記工具交換装置は、工具を収納可能な工具ポットを有し、次工具を収納する前記工具ポットを所定位置に移動する工具マガジンと、前記一軸方向に直交する方向に延びるアーム両端部に前記工具を把持可能な一対の把持部を設け、前記一軸方向に平行に延びる旋回軸を中心に、前記一対の把持部が前記主軸に装着した現工具と前記所定位置に位置する前記次工具との間を旋回可能で、且つ前記旋回軸が延びる方向において移動可能な工具交換アームと、前記工具交換アームを駆動する駆動部と、前記駆動部の駆動力の一部を前記外力に変換し、前記可動部に付与することにより、前記機構駆動部を駆動する外力付与部とを備え、前記駆動部を制御することによって、前記工具交換動作を実行するATC制御部を備えた数値制御装置において、前記サーボモータのオンオフを制御するモータ制御部を備え、前記ATC制御部は、前記サーボモータをオン状態で、前記駆動部を制御することにより、前記工具交換アームの旋回を開始すると共に、前記外力付与部によって前記可動部に前記外力を付与し、前記クランプ機構部をクランプからアンクランプに切替える動作を開始する旋回ステップと、前記旋回ステップ後に、前記一対の把持部が前記現工具と前記次工具を把持する把持ステップと、前記把持ステップ後に、前記クランプ機構部がクランプからアンクランプへの切替えを完了すると共に、前記一対の把持部が前記主軸及び前記工具ポットから離れる方向であって、前記一軸方向に平行な第三方向に前記工具交換アームを移動し、前記主軸及び前記工具ポットから前記現工具及び前記次工具を抜脱する工具抜脱ステップと、前記工具抜脱ステップ後に、前記工具交換アームを旋回し、前記現工具と前記次工具の夫々の位置を入れ替えると共に、前記第三方向とは反対の第四方向に前記工具交換アームを移動し、前記主軸及び前記工具ポットに前記次工具と前記現工具を装着する装着ステップとを含む前記工具交換動作を実行するものであり、前記モータ制御部は、前記把持ステップにて前記一対の把持部が前記現工具と前記次工具を把持したときから、前記工具抜脱ステップにて前記クランプ機構部がクランプからアンクランプへの切替えを完了するときまでの間に、前記サーボモータを前記オン状態からオフ状態に切り替えるオフ制御部を備え、前記モータ制御部は、前記工具抜脱ステップにて前記クランプ機構部をクランプからアンクランプへの切替えを完了した後、前記サーボモータを前記オフ状態から前記オン状態に切り替えるオン制御部を備え、前記オン制御部は、前記装着ステップにて前記主軸及び前記工具ポットに前記次工具と前記現工具を夫々装着した後、前記サーボモータを前記オフ状態から前記オン状態に切り替えることを特徴とする。
上記数値制御装置は、請求項1及び請求項2と同様の効果を得る。
The motor control unit of the numerical control device according to claim 2 changes the servomotor from the off state to the on state after completing the switching of the clamp mechanism unit from the clamp to the unclamp in the tool removal step. The on control unit is provided with an on control unit for switching, and the on control unit changes the servomotor from the off state to the on state after mounting the next tool and the current tool on the spindle and the tool pot respectively in the mounting step. You should switch. The numerical control device turns off the servomotor, mounts the next tool and the current tool on the spindle and the tool pot, respectively, and then switches the servomotor from the off state to the on state. Therefore, since the numerical control device can maintain the off period of the servomotor, the power consumption can be reduced. Since the numerical control device turns on the servomotor by the time the tool change operation is completed, the machine tool cutting operation after the tool change operation can be performed without delay.
The numerical control device according to claim 3 is provided with a spindle that detachably supports the tool and a spindle that is movable in a triaxial direction that is orthogonal to each other, and rotatably supports the spindle in one of the triaxial directions. A spindle head, a servomotor provided on the spindle head to drive the spindle, a clamp mechanism portion provided on the spindle for clamping and unclamping the tool mounted on the spindle, and a clamp mechanism portion provided on the spindle head and described above. The operation of a machine tool equipped with a mechanism drive unit that receives an external force for driving the clamp mechanism unit and a tool exchange device that is provided close to the movement range of the spindle head and is capable of performing a tool exchange operation of the spindle. The mechanism driving unit is controlled by a rod-shaped drawbar that extends in the uniaxial direction and is connected to the clamp mechanism unit, a pin provided on the drawbar and extending on both sides of the drawbar in an orthogonal direction, and the above. The drawbar is provided on the spindle head in a direction parallel to the uniaxial direction and the clamp mechanism portion urges the tool in the first direction, and the pin is provided at one end in the first direction. Has a bifurcated pressing portion that can be pressed in the opposite second direction, has a movable portion that receives the external force at the other end, and is a lever member that rotatably supports between the one end and the other end. When the movable portion receives the external force and the lever member rotates, the pressing portion presses the pin, and the drawbar resists the urging force of the spring in the second direction. By moving to, the clamp in the clamp mechanism portion is released and unclamped, and the tool changer has a tool pot capable of storing a tool, and the tool pot for storing the next tool is used. A tool magazine that moves to a predetermined position and a pair of grips that can grip the tool are provided at both ends of an arm that extends in a direction orthogonal to the uniaxial direction, and the pair is centered on a swivel axis that extends parallel to the uniaxial direction. A tool exchange arm and a tool exchange arm that can be swiveled between the current tool mounted on the spindle and the next tool located at the predetermined position and can be moved in the direction in which the swivel shaft extends. A driving unit to be driven and an external force applying unit for driving the mechanism driving unit by converting a part of the driving force of the driving unit into the external force and applying the external force to the movable unit are provided to control the driving unit. In a numerical control device including an ATC control unit that executes the tool change operation, the ATC control unit includes a motor control unit that controls on / off of the servo motor, and the ATC control unit is the sir. By controlling the drive unit while the bomber is on, the tool exchange arm starts to turn, and the external force is applied to the movable portion by the external force applying portion, so that the clamping mechanism portion is unclamped from the clamp. After the turning step, the pair of gripping portions grip the current tool and the next tool, and after the gripping step, the clamping mechanism portion moves from the clamp to the unclamp. The tool exchange arm is moved in a third direction parallel to the uniaxial direction in a direction away from the spindle and the tool pot, and the pair of grips is moved away from the spindle and the tool pot. After the tool extraction / removal step of removing the current tool and the next tool from the tool, and the tool removal / removal step, the tool exchange arm is swiveled to switch the positions of the current tool and the next tool, and the positions of the current tool and the next tool are exchanged. The tool exchange arm is moved in a fourth direction opposite to the three directions to execute the tool exchange operation including the mounting step of mounting the next tool and the current tool on the spindle and the tool pot. In the motor control unit, the clamp mechanism unit switches from clamping to unclamping in the tool removal step from the time when the pair of gripping units grips the current tool and the next tool in the gripping step. The servo motor is provided with an off control unit that switches the servo motor from the on state to the off state, and the motor control unit moves the clamp mechanism unit from the clamp to the unclamp in the tool removal step. The on-control unit is provided with an on-control unit for switching the servomotor from the off-state to the on-state after the switching of the above is completed. After mounting each tool, the servo motor is switched from the off state to the on state.
The numerical control device obtains the same effects as those of claims 1 and 2.

請求項4の数値制御装置の制御方法は、工具を着脱可能に支持する主軸と、互いに直行する三軸方向に移動可能に設け、当該三軸方向のうち一軸方向に向けて前記主軸を回転可能に支持する主軸ヘッドと、前記主軸ヘッドに設け、前記主軸を駆動するサーボモータと、前記主軸に設け、前記主軸に装着する前記工具のクランプ及びアンクランプを行うクランプ機構部と、前記主軸ヘッドに設け、前記クランプ機構部を駆動する為の外力を受ける機構駆動部と、前記主軸ヘッドの移動範囲に近接して設け、前記主軸の工具交換動作を実行可能な工具交換装置とを備えた工作機械の動作を制御するものであり、前記機構駆動部は、前記一軸方向に延び、前記クランプ機構部と接続する棒状のドローバと、前記ドローバに設け、当該ドローバの直交する方向の両側に延出するピンと、前記ドローバを、前記一軸方向に平行な方向であって、前記クランプ機構部が前記工具をクランプする第一方向に付勢するバネと、前記主軸ヘッドに設け、一端に前記ピンを前記第一方向とは反対の第二方向に押圧可能な二股状の押圧部を有し、他端に前記外力を受ける可動部を有し、前記一端と前記他端の間を回動可能に軸支するレバー部材とを備え、前記可動部が前記外力を受けて、前記レバー部材が回動することにより、前記押圧部が前記ピンを押圧し、前記ドローバが前記バネの付勢力に抗して前記第二方向に移動することにより、前記クランプ機構部におけるクランプを解除してアンクランプするものであって、前記工具交換装置は、工具を収納可能な工具ポットを有し、次工具を収納する前記工具ポットを所定位置に移動する工具マガジンと、前記一軸方向に直交する方向に延びるアーム両端部に前記工具を把持可能な一対の把持部を設け、前記一軸方向に平行に延びる旋回軸を中心に、前記一対の把持部が前記主軸に装着した現工具と前記所定位置に位置する前記次工具との間を旋回可能で、且つ前記旋回軸が延びる方向において移動可能な工具交換アームと、前記工具交換アームを駆動する駆動部と、前記駆動部の駆動力の一部を前記外力に変換し、前記可動部に付与することにより、前記機構駆動部を駆動する外力付与部とを備え、前記駆動部を制御することによって、前記工具交換動作を実行可能なATC制御ステップを実行する数値制御装置の制御方法において、前記サーボモータのオンオフを制御するモータ制御ステップを備え、前記ATC制御ステップは、前記サーボモータをオン状態で、前記駆動部を制御することにより、前記工具交換アームの旋回を開始すると共に、前記外力付与部によって前記可動部に前記外力を付与し、前記クランプ機構部をクランプからアンクランプに切替える動作を開始する旋回ステップと、前記旋回ステップ後に、前記一対の把持部が前記現工具と前記次工具を把持する把持ステップと、前記把持ステップ後に、前記クランプ機構部がクランプからアンクランプへの切替えを完了すると共に、前記一対の把持部が前記主軸及び前記工具ポットから離れる方向であって、前記一軸方向に平行な第三方向に前記工具交換アームを移動し、前記主軸及び前記工具ポットから前記現工具及び前記次工具を抜脱する工具抜脱ステップと、前記工具抜脱ステップ後に、前記工具交換アームを旋回し、前記現工具と前記次工具の夫々の位置を入れ替えると共に、前記第三方向とは反対の第四方向に前記工具交換アームを移動し、前記主軸及び前記工具ポットに前記次工具と前記現工具を装着する装着ステップとを含み、前記モータ制御ステップは、前記把持ステップにて前記一対の把持部が前記現工具と前記次工具を把持したときから、前記工具抜脱ステップにて前記クランプ機構部がクランプからアンクランプへの切替えを完了するときまでの間に、前記サーボモータを前記オン状態からオフ状態に切り替えるオフ制御ステップを備え、前記モータ制御ステップの前記オフ制御ステップは、前記工具抜脱ステップにて前記クランプ機構部がクランプからアンクランプへの切替えを完了する直前で、前記サーボモータを前記オン状態から前記オフ状態に切り替えることを特徴とする。数値制御装置の制御方法は上記ステップを実行することにより、請求項1に記載の数値制御装置と同じ効果を得ることができる。
請求項5の数値制御装置の制御方法は、工具を着脱可能に支持する主軸と、互いに直行する三軸方向に移動可能に設け、当該三軸方向のうち一軸方向に向けて前記主軸を回転可能に支持する主軸ヘッドと、前記主軸ヘッドに設け、前記主軸を駆動するサーボモータと、前記主軸に設け、前記主軸に装着する前記工具のクランプ及びアンクランプを行うクランプ機構部と、前記主軸ヘッドに設け、前記クランプ機構部を駆動する為の外力を受ける機構駆動部と、前記主軸ヘッドの移動範囲に近接して設け、前記主軸の工具交換動作を実行可能な工具交換装置とを備えた工作機械の動作を制御するものであり、前記機構駆動部は、前記一軸方向に延び、前記クランプ機構部と接続する棒状のドローバと、前記ドローバに設け、当該ドローバの直交する方向の両側に延出するピンと、前記ドローバを、前記一軸方向に平行な方向であって、前記クランプ機構部が前記工具をクランプする第一方向に付勢するバネと、前記主軸ヘッドに設け、一端に前記ピンを前記第一方向とは反対の第二方向に押圧可能な二股状の押圧部を有し、他端に前記外力を受ける可動部を有し、前記一端と前記他端の間を回動可能に軸支するレバー部材とを備え、前記可動部が前記外力を受けて、前記レバー部材が回動することにより、前記押圧部が前記ピンを押圧し、前記ドローバが前記バネの付勢力に抗して前記第二方向に移動することにより、前記クランプ機構部におけるクランプを解除してアンクランプするものであって、前記工具交換装置は、工具を収納可能な工具ポットを有し、次工具を収納する前記工具ポットを所定位置に移動する工具マガジンと、前記一軸方向に直交する方向に延びるアーム両端部に前記工具を把持可能な一対の把持部を設け、前記一軸方向に平行に延びる旋回軸を中心に、前記一対の把持部が前記主軸に装着した現工具と前記所定位置に位置する前記次工具との間を旋回可能で、且つ前記旋回軸が延びる方向において移動可能な工具交換アームと、前記工具交換アームを駆動する駆動部と、前記駆動部の駆動力の一部を前記外力に変換し、前記可動部に付与することにより、前記機構駆動部を駆動する外力付与部とを備え、前記駆動部を制御することによって、前記工具交換動作を実行可能なATC制御ステップを実行する数値制御装置の制御方法において、前記サーボモータのオンオフを制御するモータ制御ステップを備え、前記ATC制御ステップは、前記サーボモータをオン状態で、前記駆動部を制御することにより、前記工具交換アームの旋回を開始すると共に、前記外力付与部によって前記可動部に前記外力を付与し、前記クランプ機構部をクランプからアンクランプに切替える動作を開始する旋回ステップと、前記旋回ステップ後に、前記一対の把持部が前記現工具と前記次工具を把持する把持ステップと、前記把持ステップ後に、前記クランプ機構部がクランプからアンクランプへの切替えを完了すると共に、前記一対の把持部が前記主軸及び前記工具ポットから離れる方向であって、前記一軸方向に平行な第三方向に前記工具交換アームを移動し、前記主軸及び前記工具ポットから前記現工具及び前記次工具を抜脱する工具抜脱ステップと、前記工具抜脱ステップ後に、前記工具交換アームを旋回し、前記現工具と前記次工具の夫々の位置を入れ替えると共に、前記第三方向とは反対の第四方向に前記工具交換アームを移動し、前記主軸及び前記工具ポットに前記次工具と前記現工具を装着する装着ステップとを含み、前記モータ制御ステップは、前記把持ステップにて前記一対の把持部が前記現工具と前記次工具を把持したときから、前記工具抜脱ステップにて前記クランプ機構部がクランプからアンクランプへの切替えを完了するときまでの間に、前記サーボモータを前記オン状態からオフ状態に切り替えるオフ制御ステップを備え、前記モータ制御ステップは、前記工具抜脱ステップにて前記クランプ機構部をクランプからアンクランプへの切替えを完了した後、前記サーボモータを前記オフ状態から前記オン状態に切り替えるオン制御ステップを備え、
前記オン制御ステップは、前記装着ステップにて前記主軸及び前記工具ポットに前記次工具と前記現工具を夫々装着した後、前記サーボモータを前記オフ状態から前記オン状態に切り替えることを特徴とする。
請求項5の数値制御装置の制御方法は上記ステップを実行することにより、請求項3に記載の数値制御装置と同じ効果を得ることができる。
The control method of the numerical control device according to claim 4 is provided so that the spindle that supports the tool detachably and can be moved in the three axial directions perpendicular to each other, and the spindle can be rotated in one of the three axial directions. The spindle head supported by the spindle head, the servo motor provided on the spindle head to drive the spindle, the clamping mechanism portion provided on the spindle to clamp and unclamp the tool mounted on the spindle, and the spindle head. A machine tool provided with a mechanism drive unit that receives an external force to drive the clamp mechanism unit, and a tool exchange device that is provided close to the movement range of the spindle head and can execute a tool exchange operation of the spindle. The mechanism driving unit extends in the uniaxial direction, is provided on the rod-shaped drawbar connected to the clamp mechanism portion, and extends to both sides of the drawbar in the orthogonal direction. The pin and the drawbar are provided on the spindle head with a spring that is parallel to the uniaxial direction and the clamp mechanism portion urges the tool in the first direction, and the pin is provided at one end of the pin. It has a bifurcated pressing portion that can be pressed in a second direction opposite to one direction, and has a movable portion that receives the external force at the other end, and a shaft support that can rotate between the one end and the other end. The movable portion receives the external force to rotate the lever member, so that the pressing portion presses the pin and the drawbar resists the urging force of the spring. By moving in the second direction, the clamp in the clamp mechanism portion is released and unclamped, and the tool changer has a tool pot capable of storing a tool and stores the next tool. A tool magazine that moves the tool pot to a predetermined position and a pair of grips that can grip the tool are provided at both ends of the arm that extends in the direction orthogonal to the uniaxial direction, centering on the swivel axis that extends parallel to the uniaxial direction. A tool exchange arm that allows the pair of grips to swivel between the current tool mounted on the spindle and the next tool located at the predetermined position, and that can move in the direction in which the swivel shaft extends, and the tool. The drive unit for driving the exchange arm and the external force applying unit for driving the mechanism drive unit by converting a part of the driving force of the drive unit into the external force and applying the external force to the movable unit are provided. In the control method of the numerical control device that executes the ATC control step capable of executing the tool change operation by controlling the unit, the motor control step for controlling the on / off of the servo motor. The ATC control step starts turning of the tool exchange arm by controlling the drive unit with the servo motor turned on, and applies the external force to the movable portion by the external force applying unit. Then, after the swivel step for starting the operation of switching the clamp mechanism portion from the clamp to the unclamp, and after the swivel step, the gripping step in which the pair of gripping portions grip the current tool and the next tool, and after the gripping step. , The clamp mechanism portion completes the switching from the clamp to the unclamp, and the tool exchange is performed in the direction in which the pair of grip portions are separated from the main shaft and the tool pot and in a third direction parallel to the uniaxial direction. The tool removal step of moving the arm to remove the current tool and the next tool from the spindle and the tool pot, and after the tool removal step, the tool exchange arm is swiveled to rotate the current tool and the next tool. The positions of the tools are exchanged, the tool exchange arm is moved in the fourth direction opposite to the third direction, and the next tool and the current tool are mounted on the spindle and the tool pot. Including the motor control step, the clamp mechanism portion moves from the clamp to the unclamp in the tool removal step from the time when the pair of grip portions grips the current tool and the next tool in the grip step. By the time the switching is completed, the off control step for switching the servo motor from the on state to the off state is provided , and the off control step of the motor control step is the clamp mechanism unit in the tool removal step. Is characterized in that the servo motor is switched from the on state to the off state immediately before the switching from the clamp to the unclamp is completed . By executing the above steps, the control method of the numerical control device can obtain the same effect as that of the numerical control device according to claim 1.
The control method of the numerical control device according to claim 5 is provided so that the spindle that supports the tool detachably and can be moved in the three axial directions perpendicular to each other, and the spindle can be rotated in one of the three axial directions. The spindle head supported by the spindle head, the servo motor provided on the spindle head to drive the spindle, the clamping mechanism portion provided on the spindle to clamp and unclamp the tool mounted on the spindle, and the spindle head. A machine tool provided with a mechanism drive unit that receives an external force to drive the clamp mechanism unit, and a tool exchange device that is provided close to the movement range of the spindle head and can execute a tool exchange operation of the spindle. The mechanism driving unit extends in the uniaxial direction, is provided on the rod-shaped drawbar connected to the clamp mechanism portion, and extends to both sides of the drawbar in the orthogonal direction. The pin and the drawbar are provided on the spindle head with a spring that is parallel to the uniaxial direction and the clamp mechanism portion urges the tool in the first direction, and the pin is provided at one end of the pin. It has a bifurcated pressing portion that can be pressed in a second direction opposite to one direction, and has a movable portion that receives the external force at the other end, and a shaft support that can rotate between the one end and the other end. The movable portion receives the external force to rotate the lever member, so that the pressing portion presses the pin and the drawbar resists the urging force of the spring. By moving in the second direction, the clamp in the clamp mechanism portion is released and unclamped, and the tool changer has a tool pot capable of storing a tool and stores the next tool. A tool magazine that moves the tool pot to a predetermined position and a pair of grips that can grip the tool are provided at both ends of the arm that extends in the direction orthogonal to the uniaxial direction, centering on the swivel axis that extends parallel to the uniaxial direction. A tool exchange arm that allows the pair of grips to swivel between the current tool mounted on the spindle and the next tool located at the predetermined position, and that can move in the direction in which the swivel shaft extends, and the tool. The drive unit for driving the exchange arm and the external force applying unit for driving the mechanism drive unit by converting a part of the driving force of the drive unit into the external force and applying the external force to the movable unit are provided. In the control method of the numerical control device that executes the ATC control step capable of executing the tool change operation by controlling the unit, the motor control step for controlling the on / off of the servo motor. The ATC control step starts turning of the tool exchange arm by controlling the drive unit with the servo motor turned on, and applies the external force to the movable portion by the external force applying unit. Then, after the swivel step for starting the operation of switching the clamp mechanism portion from the clamp to the unclamp, and after the swivel step, the gripping step in which the pair of gripping portions grip the current tool and the next tool, and after the gripping step. , The clamp mechanism portion completes the switching from the clamp to the unclamp, and the tool exchange is performed in the direction in which the pair of grip portions are separated from the main shaft and the tool pot and in a third direction parallel to the uniaxial direction. The tool removal step of moving the arm to remove the current tool and the next tool from the spindle and the tool pot, and after the tool removal step, the tool exchange arm is swiveled to rotate the current tool and the next tool. The positions of the tools are exchanged, the tool exchange arm is moved in the fourth direction opposite to the third direction, and the next tool and the current tool are mounted on the spindle and the tool pot. Including the motor control step, the clamp mechanism portion moves from the clamp to the unclamp in the tool removal step from the time when the pair of grip portions grips the current tool and the next tool in the grip step. By the time the switching is completed, the servo motor is provided with an off control step for switching from the on state to the off state, and the motor control step unclamps the clamp mechanism portion from the clamp in the tool removal step. The on-control step for switching the servomotor from the off-state to the on-state after completing the switch to is provided.
The on control step is characterized in that the servomotor is switched from the off state to the on state after the next tool and the current tool are respectively mounted on the spindle and the tool pot in the mounting step.
The control method of the numerical control device according to claim 5 can obtain the same effect as the numerical control device according to claim 3 by executing the above steps.

上述した請求項1-の発明は、任意に組み合わせることができる。例えば請求項1の全部又は一部を備えずに他の請求項2の構成を備えたものとしても良い。但し特に、請求項1の構成を備えて、請求項2の構成と組み合わせを備えると良い。請求項1、2の任意の構成要素を抽出し、組み合わせても良い。本出願人はこれらのような構成についても特許権を取得する意思を有する。 The inventions of claims 1-2 described above can be arbitrarily combined. For example, it may be possible to provide another configuration of claim 2 without providing all or part of claim 1. However, in particular, it is preferable to have the configuration of claim 1 and to have a combination with the configuration of claim 2 . Arbitrary components of claims 1 and 2 may be extracted and combined. The applicant intends to obtain a patent right for such a structure.

工作機械1の斜視図。A perspective view of the machine tool 1. 工作機械1の平面図。Top view of machine tool 1. 工作機械1の正面図。Front view of machine tool 1. 工作機械1の右側面図。Right side view of machine tool 1. 図3に示すI-I線矢視方向断面図。FIG. 3 is a cross-sectional view taken along the line I-I in the direction of arrow. 図1に示すW領域内の部分拡大図。The partially enlarged view in the W region shown in FIG. 本体部401内における旋回軸43とATC軸46周囲の断面図。FIG. 3 is a cross-sectional view around the swivel shaft 43 and the ATC shaft 46 in the main body 401. 数値制御装置50と工作機械1の電気的構成を示すブロック図。The block diagram which shows the electric composition of a numerical control device 50 and a machine tool 1. 工具交換制御処理の流れ図。Flow chart of tool change control process. 工具交換動作の流れ図。Flow chart of tool change operation. 工具交換動作のタイミング線図。Timing diagram of tool change operation.

本発明の実施形態を説明する。以下説明は図中に矢印で示す左右、前後、上下を使用する。図1に示す工作機械1の左右方向、前後方向、上下方向は、夫々、工作機械1のX軸方向、Y軸方向、Z軸方向である。工作機械1は主軸7(図5参照)がZ軸方向に延びる縦型工作機械である。工作機械1は工具を装着した主軸7を回転する。被削材は回転台11に固定する。工作機械1は主軸ヘッド6をX、Y、Z軸方向に移動することで、被削材を加工する。工作機械1の動作は数値制御装置50(図8参照)で制御する。 An embodiment of the present invention will be described. The following explanation uses left and right, front and back, and up and down indicated by arrows in the figure. The left-right direction, the front-back direction, and the up-down direction of the machine tool 1 shown in FIG. 1 are the X-axis direction, the Y-axis direction, and the Z-axis direction of the machine machine 1, respectively. The machine tool 1 is a vertical machine tool in which the spindle 7 (see FIG. 5) extends in the Z-axis direction. The machine tool 1 rotates a spindle 7 equipped with a tool. The work material is fixed to the rotary table 11. The machine tool 1 processes the work material by moving the spindle head 6 in the X, Y, and Z axis directions. The operation of the machine tool 1 is controlled by the numerical control device 50 (see FIG. 8).

図1~図4を参照し、工作機械1の構造を説明する。工作機械1は基台部2、立柱5、主軸ヘッド6、主軸7、工作台装置10、工具交換装置40(以下、ATC装置40と呼ぶ)等を備える。 The structure of the machine tool 1 will be described with reference to FIGS. 1 to 4. The machine tool 1 includes a base portion 2, a vertical column 5, a spindle head 6, a spindle 7, a workbench device 10, a tool changing device 40 (hereinafter referred to as an ATC device 40), and the like.

基台部2は平面視略矩形状の鉄製部材であり、上面後部側に台座部20(図4参照)を備える。台座部20は略直方体状であり、上面にX軸移動機構101を備える。X軸移動機構101は運搬体12(図1,図4参照)をX軸方向に移動可能に支持する。X軸移動機構101は一対のX軸軌道(図示略)、X軸ボールネジ(図示略)、X軸モータ21等を備える。一対のX軸軌道はX軸方向に延び、台座部20上面に設ける。X軸ボールネジはX軸方向に延び、一対のX軸軌道間に設ける。運搬体12はX軸軌道に沿って移動する。運搬体12は底部にナット(図示略)を備え、ナットはX軸ボールネジに螺合する。X軸モータ21はX軸ボールネジを回転し、運搬体12はナットと共にX軸方向に移動する。 The base portion 2 is an iron member having a substantially rectangular shape in a plan view, and is provided with a pedestal portion 20 (see FIG. 4) on the rear side of the upper surface. The pedestal portion 20 has a substantially rectangular parallelepiped shape, and is provided with an X-axis moving mechanism 101 on the upper surface. The X-axis moving mechanism 101 supports the carrier 12 (see FIGS. 1 and 4) so as to be movable in the X-axis direction. The X-axis moving mechanism 101 includes a pair of X-axis trajectories (not shown), an X-axis ball screw (not shown), an X-axis motor 21, and the like. The pair of X-axis trajectories extend in the X-axis direction and are provided on the upper surface of the pedestal portion 20. The X-axis ball screw extends in the X-axis direction and is provided between the pair of X-axis trajectories. The carrier 12 moves along the X-axis orbit. The carrier 12 is provided with a nut (not shown) at the bottom, and the nut is screwed into an X-axis ball screw. The X-axis motor 21 rotates the X-axis ball screw, and the carrier 12 moves in the X-axis direction together with the nut.

運搬体12は上面にY軸移動機構(図示略)を備える。Y軸移動機構は立柱5をY軸方向に移動可能に支持する。Y軸移動機構は一対のY軸軌道、Y軸ボールネジ、Y軸モータ24(図8参照)等を備える。Y軸ボールネジはY軸方向に延び、一対のY軸軌道間に設ける。立柱5は一対のY軸軌道に沿って移動する。立柱5は下部にナット(図示略)を備え、ナットはY軸ボールネジに螺合する。Y軸モータ24はY軸ボールネジを回転し、立柱5はナットと共にY軸方向に移動する。立柱5は運搬体12を介してX軸方向に移動する。立柱5はX軸移動機構101、運搬体12、Y軸移動機構等に依りX軸方向とY軸方向に移動する。 The carrier 12 is provided with a Y-axis moving mechanism (not shown) on the upper surface. The Y-axis movement mechanism supports the vertical column 5 so as to be movable in the Y-axis direction. The Y-axis moving mechanism includes a pair of Y-axis trajectories, a Y-axis ball screw, a Y-axis motor 24 (see FIG. 8), and the like. The Y-axis ball screw extends in the Y-axis direction and is provided between the pair of Y-axis trajectories. The vertical columns 5 move along a pair of Y-axis trajectories. The vertical column 5 is provided with a nut (not shown) at the bottom, and the nut is screwed into a Y-axis ball screw. The Y-axis motor 24 rotates the Y-axis ball screw, and the vertical column 5 moves in the Y-axis direction together with the nut. The vertical column 5 moves in the X-axis direction via the carrier 12. The vertical column 5 moves in the X-axis direction and the Y-axis direction depending on the X-axis moving mechanism 101, the carrier 12, the Y-axis moving mechanism, and the like.

立柱5は前面にZ軸移動機構103(図2,図3,図5参照)を備える。Z軸移動機構103は主軸ヘッド6をZ軸方向に移動可能に支持する。Z軸移動機構103は一対のZ軸軌道35、Z軸ボールネジ36(図5参照)、Z軸モータ19等を備える。Z軸軌道35はZ軸方向に延びる。Z軸ボールネジ36はZ軸方向に延び、Z軸軌道35間に配置する。主軸ヘッド6はZ軸軌道35に沿って移動可能である。主軸ヘッド6は背面にナット68(図5参照)を備え、ナット68はZ軸ボールネジ36に螺合する。Z軸モータ19は立柱5前面上部に支持する。Z軸モータ19はZ軸ボールネジ36を回転し、主軸ヘッド6はナット68と共にZ軸方向に移動する。 The vertical column 5 is provided with a Z-axis moving mechanism 103 (see FIGS. 2, 3, and 5) on the front surface. The Z-axis moving mechanism 103 supports the spindle head 6 so as to be movable in the Z-axis direction. The Z-axis moving mechanism 103 includes a pair of Z-axis trajectories 35, a Z-axis ball screw 36 (see FIG. 5), a Z-axis motor 19, and the like. The Z-axis orbit 35 extends in the Z-axis direction. The Z-axis ball screw 36 extends in the Z-axis direction and is arranged between the Z-axis orbits 35. The spindle head 6 can move along the Z-axis trajectory 35. The spindle head 6 is provided with a nut 68 (see FIG. 5) on the back surface, and the nut 68 is screwed into the Z-axis ball screw 36. The Z-axis motor 19 is supported on the upper part of the front surface of the vertical column 5. The Z-axis motor 19 rotates the Z-axis ball screw 36, and the spindle head 6 moves in the Z-axis direction together with the nut 68.

主軸ヘッド6の内部構造を説明する。図5に示す如く、主軸ヘッド6は内部に主軸7を回転可能に支持する。主軸7はZ軸方向に延びる。主軸ヘッド6は上部に主軸モータ8を固定する。主軸7と主軸モータ8の駆動軸81は連結器25で連結する。駆動軸81は下方に延びる。主軸7は装着穴(図示略)、クランプ機構部(図示略)、ドローバ70等を備える。装着穴は主軸7下端部に設ける。装着穴は主軸ヘッド6下部に位置し、装着穴周囲の所定位置に凸状のキー(図示略)を設ける。キーは、工具ホルダに設けたキー溝(図示略)に係合可能である。クランプ機構部は主軸7の中心を通る軸穴(図示略)内で且つ装着穴上方に設ける。ドローバ70は主軸7の軸孔内に同軸上に挿入する。ドローバ70はバネで上方に常時付勢する。工具を保持する工具ホルダは主軸7の装着穴に装着する。装着穴に工具ホルダを装着すると、クランプ機構部は工具ホルダをクランプする。ドローバ70がクランプ機構部を下方に押圧すると、クランプ機構部は工具ホルダのクランプを解除する。本実施形態は説明の便宜上、「工具ホルダ」を「工具」と略して呼ぶ時がある。 The internal structure of the spindle head 6 will be described. As shown in FIG. 5, the spindle head 6 rotatably supports the spindle 7 inside. The spindle 7 extends in the Z-axis direction. The spindle head 6 fixes the spindle motor 8 to the upper part. The spindle 7 and the drive shaft 81 of the spindle motor 8 are connected by a coupler 25. The drive shaft 81 extends downward. The spindle 7 includes a mounting hole (not shown), a clamp mechanism (not shown), a drawbar 70, and the like. The mounting hole is provided at the lower end of the spindle 7. The mounting hole is located at the lower part of the spindle head 6, and a convex key (not shown) is provided at a predetermined position around the mounting hole. The key can be engaged with a keyway (not shown) provided in the tool holder. The clamp mechanism portion is provided in a shaft hole (not shown) passing through the center of the main shaft 7 and above the mounting hole. The drawbar 70 is coaxially inserted into the shaft hole of the spindle 7. The drawbar 70 is always urged upward by a spring. The tool holder for holding the tool is mounted in the mounting hole of the spindle 7. When the tool holder is mounted in the mounting hole, the clamp mechanism clamps the tool holder. When the drawbar 70 presses the clamp mechanism portion downward, the clamp mechanism portion releases the clamp of the tool holder. In this embodiment, for convenience of explanation, the "tool holder" may be abbreviated as "tool".

主軸ヘッド6は後方上部内側に揺動腕部材60を備える。揺動腕部材60は略L字型で支軸61を中心に揺動自在である。支軸61は主軸ヘッド6内部を左右方向に延び、主軸ヘッド6の左右両側壁に固定する。揺動腕部材60は縦腕部63と横腕部62を備える。縦腕部63は支軸61から立柱5側に対して斜め上方に延びる。横腕部62は支軸61から前方に略水平に延びる。ピン71はドローバ70に直交して突設し、且つ左右方向に延出する。横腕部62の先端部62Aは二股状に形成し、ドローバ70を左右両側から挟み込むように配置する。先端部62Aは、ピン71に上方から係合可能である。揺動腕部材60を左側方から見た時、引張バネ(図示略)は揺動腕部材60を反時計回りに常時付勢する。故に揺動腕部材60は横腕部62によるピン71の下方向への押圧を常時解除する。 The spindle head 6 includes a swing arm member 60 inside the upper rear portion. The swing arm member 60 is substantially L-shaped and can swing around the support shaft 61. The support shaft 61 extends in the left-right direction inside the main shaft head 6 and is fixed to the left and right side walls of the main shaft head 6. The swing arm member 60 includes a vertical arm portion 63 and a lateral arm portion 62. The vertical arm portion 63 extends diagonally upward from the support shaft 61 with respect to the vertical column 5 side. The lateral arm portion 62 extends substantially horizontally forward from the support shaft 61. The pin 71 projects at right angles to the drawbar 70 and extends in the left-right direction. The tip portion 62A of the lateral arm portion 62 is formed in a bifurcated shape, and the drawbar 70 is arranged so as to be sandwiched from both the left and right sides. The tip portion 62A can be engaged with the pin 71 from above. When the swing arm member 60 is viewed from the left side, the tension spring (not shown) constantly urges the swing arm member 60 counterclockwise. Therefore, the swing arm member 60 constantly releases the downward pressure of the pin 71 by the lateral arm portion 62.

図5,図6に示す如く、主軸ヘッド6は該上部且つATC装置40側にロッド支持部91を備える。ロッド支持部91はプッシュロッド92を前後方向に移動可能に支持する。プッシュロッド92は前後方向に延びる。揺動腕部材60の縦腕部63は上端部(先端部)右側面に当接部63Aを備える。当接部63Aはプッシュロッド92前端部に当接し、引張バネで常時後方に付勢する。故にプッシュロッド92後端部は、ロッド支持部91から後方に向けて所定距離だけ常時突出する。プッシュロッド92後端部を前方に押圧すると、揺動腕部材60は支軸61を中心に時計回りに揺動し、バネ力に抗してドローバ70を押し下げる。クランプ機構部は工具ホルダのクランプを解除(以下、アンクランプと呼ぶ)する。工具ホルダは主軸7の装着穴から取り外し可能となる。例えば、クランプ機構部がアンクランプを完了したときの揺動腕部材60の傾斜角度を0°としたとき、クランプ機構部がクランプしたときの揺動腕部材60の傾斜角度は3.7°である。 As shown in FIGS. 5 and 6, the spindle head 6 includes a rod support portion 91 on the upper portion thereof and on the ATC device 40 side. The rod support portion 91 supports the push rod 92 so as to be movable in the front-rear direction. The push rod 92 extends in the front-rear direction. The vertical arm portion 63 of the swing arm member 60 includes a contact portion 63A on the right side surface of the upper end portion (tip portion). The contact portion 63A abuts on the front end portion of the push rod 92 and is always urged rearward by a tension spring. Therefore, the rear end portion of the push rod 92 always protrudes rearward from the rod support portion 91 by a predetermined distance. When the rear end portion of the push rod 92 is pressed forward, the swing arm member 60 swings clockwise around the support shaft 61 and pushes down the drawbar 70 against the spring force. The clamp mechanism releases the clamp of the tool holder (hereinafter referred to as unclamp). The tool holder can be removed from the mounting hole of the spindle 7. For example, when the tilt angle of the swing arm member 60 when the clamp mechanism portion completes unclamping is 0 °, the tilt angle of the swing arm member 60 when the clamp mechanism portion is clamped is 3.7 °. be.

図1,図2に示す如く、工作台装置10は基台部2の台座部20前方に設ける。工作台装置10は上部に回転台11を備える。回転台11は回転台モータ(図示略)で、Z軸方向に平行な回転軸線を中心に回転可能に設ける。回転台11は上面にパレットP1,P2を備える。被削材はパレットP1,P2の一方又は両方に冶具(図示略)等を用いて固定する。 As shown in FIGS. 1 and 2, the workbench device 10 is provided in front of the pedestal portion 20 of the base portion 2. The workbench device 10 is provided with a rotary table 11 at the top. The rotary table 11 is a rotary table motor (not shown), and is provided so as to be rotatable around a rotary axis parallel to the Z-axis direction. The rotary table 11 is provided with pallets P1 and P2 on the upper surface. The work material is fixed to one or both of the pallets P1 and P2 using a jig (not shown) or the like.

ATC装置40の構造を説明する。図1,図4に示す如く、ATC装置40は一対の支柱31,32で主軸ヘッド6の右側方に支持する。支柱31,32は基台部2上面右側に設ける。支柱31,32は前後方向に互いに離間し、基台部2上面から上方に延びる。ATC装置40は数値制御装置50からの制御信号を受け、主軸7の装着穴に装着する工具を、NCプログラムで指定した他の工具と入れ替え交換する。ATC装置40は本体部401と工具マガジン41等を備える。 The structure of the ATC device 40 will be described. As shown in FIGS. 1 and 4, the ATC device 40 is supported on the right side of the spindle head 6 by a pair of columns 31 and 32. The columns 31 and 32 are provided on the right side of the upper surface of the base portion 2. The columns 31 and 32 are separated from each other in the front-rear direction and extend upward from the upper surface of the base portion 2. The ATC device 40 receives a control signal from the numerical control device 50, and replaces and replaces the tool to be mounted in the mounting hole of the spindle 7 with another tool specified by the NC program. The ATC device 40 includes a main body 401, a tool magazine 41, and the like.

図1~図3に示す如く、本体部401は略直方体状金属製箱体であり、支柱31,32で支持する。図1~図7に示す如く、本体部401は、操作部材47、旋回軸43、工具交換アーム44、ATCモータ45、ATC駆動軸46(図7参照)、揺動レバー22(図7参照)、揺動レバー23(図7参照)等を備える。図1,図2,図4~図6に示す如く、操作部材47は本体部401内部に設け、Z軸方向に対して平行に延びる棒状部材である。操作部材47の上端部は、本体部401上面に設けた開口部(図示略)から上方に突出する。操作部材47下端部は揺動軸49(図4参照)を中心に揺動可能に軸支する。揺動軸49は本体部401内部を左右方向に延び、本体部401の左右両側壁に固定する。故に操作部材47上端部は揺動軸49を中心に前後方向に移動可能である。操作部材47がZ軸方向に平行に延びる姿勢は基本姿勢である。操作部材47は上端部左側面に当接部48(図2参照)を備える。当接部48は左側方に突出する略円筒形状である。図6に示す如く、工具交換を行う為、主軸ヘッド6が工具交換位置K(図2,図3参照)に移動した時、プッシュロッド92後端部は、操作部材47の当接部48前方に位置する。 As shown in FIGS. 1 to 3, the main body 401 is a substantially rectangular parallelepiped metal box body, and is supported by columns 31 and 32. As shown in FIGS. 1 to 7, the main body 401 includes an operating member 47, a swivel shaft 43, a tool change arm 44, an ATC motor 45, an ATC drive shaft 46 (see FIG. 7), and a swing lever 22 (see FIG. 7). , A rocking lever 23 (see FIG. 7) and the like. As shown in FIGS. 1, 2, 4 to 6, the operating member 47 is a rod-shaped member provided inside the main body 401 and extending parallel to the Z-axis direction. The upper end portion of the operating member 47 projects upward from an opening (not shown) provided on the upper surface of the main body portion 401. The lower end of the operating member 47 swingably supports the swing shaft 49 (see FIG. 4). The swing shaft 49 extends in the left-right direction inside the main body 401 and is fixed to the left and right side walls of the main body 401. Therefore, the upper end portion of the operating member 47 can move in the front-rear direction about the swing shaft 49. The posture in which the operating member 47 extends parallel to the Z-axis direction is the basic posture. The operation member 47 is provided with a contact portion 48 (see FIG. 2) on the left side surface of the upper end portion. The contact portion 48 has a substantially cylindrical shape protruding to the left. As shown in FIG. 6, when the spindle head 6 is moved to the tool change position K (see FIGS. 2 and 3) for tool change, the rear end portion of the push rod 92 is in front of the contact portion 48 of the operation member 47. Located in.

図7に示す如く、旋回軸43は本体部401下部から下方に突出する円筒状に形成し、本体部401は旋回軸43を軸線回りに回転可能に支持する。旋回軸43はZ軸方向に平行に延び、上端部にスプライン15とスプライン副軸17を備える。スプライン15は段付孔16を備える。段付孔16はスプライン15の軸線に沿って所定深さを有する。支持部材39は長軸状に形成し、本体部401上部に固定した上部機械フレーム38の透孔38Aに挿通する。支持部材39は段付孔16の内径よりも小さい外径を有し、上部機械フレーム38に固定する。支持部材39は、段付孔16の上段に配設したブッシュ(図示略)を介して段付孔16に挿入する。 As shown in FIG. 7, the swivel shaft 43 is formed in a cylindrical shape protruding downward from the lower part of the main body portion 401, and the main body portion 401 rotatably supports the swivel shaft 43 around the axis. The swivel shaft 43 extends parallel to the Z-axis direction and includes a spline 15 and a spline sub-shaft 17 at the upper end thereof. The spline 15 includes a stepped hole 16. The stepped hole 16 has a predetermined depth along the axis of the spline 15. The support member 39 is formed in a long axis shape and is inserted into the through hole 38A of the upper machine frame 38 fixed to the upper part of the main body 401. The support member 39 has an outer diameter smaller than the inner diameter of the stepped hole 16 and is fixed to the upper mechanical frame 38. The support member 39 is inserted into the stepped hole 16 via a bush (not shown) arranged in the upper stage of the stepped hole 16.

スプライン副軸17は円筒状に形成し、スプライン15の外側に装着する。スプライン15はスプライン副軸17の内側を上下方向に移動可能である。スプライン副軸17は、本体部401内部に固定する一対の軸受75,76を介して回転可能に支持する。故に旋回軸43は本体部401に対して支持部材39を中心に回転可能に支持する。スプライン副軸17は外周にフランジ部17Aを備える。フランジ部17Aは上下面に従動ローラ18A,18Bの軸を固定する。旋回軸43は軸方向中央部に円筒部34を同軸上に備える。円筒部34は外周面に円周溝34Aを有する。円筒部34を上下方向に移動すると、旋回軸43は支持部材39に沿って上下方向に移動する。 The spline sub-shaft 17 is formed in a cylindrical shape and is mounted on the outside of the spline 15. The spline 15 can move up and down inside the spline sub-axis 17. The spline sub-shaft 17 is rotatably supported via a pair of bearings 75, 76 fixed inside the main body 401. Therefore, the swivel shaft 43 rotatably supports the main body 401 with the support member 39 as the center. The spline sub-shaft 17 is provided with a flange portion 17A on the outer periphery. The flange portion 17A fixes the shafts of the driven rollers 18A and 18B on the upper and lower surfaces. The swivel shaft 43 is coaxially provided with a cylindrical portion 34 at the central portion in the axial direction. The cylindrical portion 34 has a circumferential groove 34A on the outer peripheral surface. When the cylindrical portion 34 is moved in the vertical direction, the swivel shaft 43 moves in the vertical direction along the support member 39.

旋回軸43は下端部に外軸ギヤ431を備える。外軸ギヤ431に対して、工具交換アーム44が嵌合することによって、外軸ギヤ431の回動に伴って工具交換アーム44のみを旋回させることができる。外軸ギヤ431は上端部の外周に歯部432を備える。歯部432は、本体部401内部の下部に回転自在に支持したセグメントギヤ66に噛合する。セグメントギヤ66は揺動子571を支持する。揺動子571は円柱部37下面に設けた平面溝カム33に従動する。 The swivel shaft 43 is provided with an outer shaft gear 431 at the lower end thereof. By fitting the tool change arm 44 to the outer shaft gear 431, only the tool change arm 44 can be swiveled with the rotation of the outer shaft gear 431. The outer shaft gear 431 is provided with a tooth portion 432 on the outer periphery of the upper end portion. The tooth portion 432 meshes with the segment gear 66 rotatably supported in the lower portion inside the main body portion 401. The segment gear 66 supports the rocker 571. The rocker 571 is driven by a flat groove cam 33 provided on the lower surface of the cylindrical portion 37.

工具交換アーム44は、旋回軸43下端部に直交し且つ水平方向に延びる。工具交換アーム44は両端部に一対の把持部44A,44Bを備える。詳述しないが、把持部44A,44Bは、例えば平面視C状であるフック状に形成し、工具ホルダに形成した溝部(図示略)に係合可能である。工具交換アーム44は、把持部44A,44Bに係合した工具ホルダを固定するロック機構(図示略)を備え、後述するATCモータ45の回転角度に応じて工具ホルダの固定及び固定の解除を行う。故に把持部44A,44Bは工具ホルダを着脱可能に把持する。 The tool change arm 44 extends orthogonally to the lower end of the swivel shaft 43 and in the horizontal direction. The tool change arm 44 is provided with a pair of grip portions 44A and 44B at both ends. Although not described in detail, the grip portions 44A and 44B are formed in a hook shape having a C shape in a plan view, and can be engaged with a groove portion (not shown) formed in the tool holder. The tool change arm 44 is provided with a lock mechanism (not shown) for fixing the tool holder engaged with the grip portions 44A and 44B, and fixes and releases the tool holder according to the rotation angle of the ATC motor 45 described later. .. Therefore, the grip portions 44A and 44B grip the tool holder in a detachable manner.

ATCモータ45は、本体部401上面における前後方向略中央部に支持する(図1,図2参照)。図7に示す如く、ATCモータ45の出力軸451は下方に突出する。ATC駆動軸46は旋回軸43の後方且つ旋回軸43と平行に上下方向に延び、本体部401内部に固定する軸受27,28で回転自在に軸支する。ATC駆動軸46の上端部は、ATCモータ45の出力軸451と連結する。ATC駆動軸46は、軸方向中央部に円柱部37を同軸上に備える。円柱部37は外周面に溝カム371と溝カム372を備える。 The ATC motor 45 is supported at a substantially central portion in the front-rear direction on the upper surface of the main body portion 401 (see FIGS. 1 and 2). As shown in FIG. 7, the output shaft 451 of the ATC motor 45 projects downward. The ATC drive shaft 46 extends in the vertical direction behind the swivel shaft 43 and in parallel with the swivel shaft 43, and is rotatably supported by bearings 27 and 28 fixed inside the main body 401. The upper end of the ATC drive shaft 46 is connected to the output shaft 451 of the ATC motor 45. The ATC drive shaft 46 is coaxially provided with a cylindrical portion 37 at the central portion in the axial direction. The cylindrical portion 37 is provided with a groove cam 371 and a groove cam 372 on the outer peripheral surface.

揺動レバー22は長軸状に形成し、長さ方向一端部に設けた支持点221を中心に揺動する。支持点221は本体部401内部に支持する。揺動レバー22の中央部に設けた係合子222は溝カム372に係合する。揺動レバー22の他端部に設けた接触子223は、旋回軸43の円筒部34に設けた円周溝34Aに係合する。故にATC駆動軸46が一回転すると、揺動レバー22が回転する溝カム372に従動して揺動することに依り、旋回軸43と工具交換アーム44は軸方向に一往復する。揺動レバー23は長軸状に形成し、長さ方向一端部は溝カム371に係合する。揺動レバー23の他端部は、操作部材47に回動可能に軸支する。故にATC駆動軸46が回転すると、揺動レバー23は回転する溝カム371に従動して揺動することに依り、操作部材47を基本姿勢の状態から前方に揺動駆動する。上記の通り、操作部材47がプッシュロッド92後端部を前方に押圧すると、工具ホルダは主軸7の装着穴から取り外し可能となる。 The swing lever 22 is formed in a long axis shape and swings around a support point 221 provided at one end in the length direction. The support point 221 is supported inside the main body 401. The engaging element 222 provided at the center of the swing lever 22 engages with the groove cam 372. The contact 223 provided at the other end of the swing lever 22 engages with the circumferential groove 34A provided in the cylindrical portion 34 of the swivel shaft 43. Therefore, when the ATC drive shaft 46 makes one rotation, the swing lever 22 swings in accordance with the rotating groove cam 372, so that the swing shaft 43 and the tool exchange arm 44 reciprocate once in the axial direction. The swing lever 23 is formed in a long axis shape, and one end in the length direction engages with the groove cam 371. The other end of the swing lever 23 is rotatably supported by the operating member 47. Therefore, when the ATC drive shaft 46 rotates, the swing lever 23 swings forward in accordance with the rotating groove cam 371 to swing the operating member 47 forward from the basic posture. As described above, when the operating member 47 presses the rear end portion of the push rod 92 forward, the tool holder can be removed from the mounting hole of the spindle 7.

ATC駆動軸46は軸方向上部に円柱状のパラレルカム59を同軸上に備える。パラレルカム59は鍔状の板カム591,592を有する複合カムである。板カム591,592は、旋回軸43のスプライン副軸17のフランジ部17Aに軸支した従動ローラ18A,18Bに夫々当接する。故にATC駆動軸46が回転し、パラレルカム59と一対の従動ローラ18A,18Bが当接するとき、スプライン副軸17、旋回軸43、工具交換アーム44は回転する。 The ATC drive shaft 46 is coaxially provided with a columnar parallel cam 59 at the upper part in the axial direction. The parallel cam 59 is a composite cam having a crossguard-shaped plate cams 591 and 592. The plate cams 591 and 592 abut on the driven rollers 18A and 18B pivotally supported by the flange portion 17A of the spline sub-shaft 17 of the swivel shaft 43, respectively. Therefore, when the ATC drive shaft 46 rotates and the parallel cam 59 and the pair of driven rollers 18A and 18B come into contact with each other, the spline sub-shaft 17, the swivel shaft 43, and the tool change arm 44 rotate.

図1,図4に示す如く、工具マガジン41は本体部401右側面に固定し、側面視Y軸方向に長い略楕円形状である。工具マガジン41は内側に略楕円形状の工具通路を有し、該工具通路内に沿って複数の工具ポット41Aを収納する。工具ポット41Aは工具ホルダを着脱可能に装着する。工具マガジン41は下部前側に工具交換部(図示略)を備える。工具交換部は下方へ開口する。工具交換部はシャッタ(図示略)を備える。シャッタは、シャッタシリンダ89(図8参照)を駆動源とし、工具交換部を開閉駆動する。マガジンモータ42は工具マガジン41上部前側に支持する。複数の工具ポット41Aはマガジンモータ42の駆動で工具通路内を移動する。数値制御装置50はマガジンモータ42を駆動し、次工具202を支持する工具ポット41Aを工具交換部に位置決めする。本実施形態にて、現工具201は主軸7に現在装着する工具を意味し、次工具202は工具交換で次に主軸7に装着する工具を意味する。 As shown in FIGS. 1 and 4, the tool magazine 41 is fixed to the right side surface of the main body portion 401 and has a substantially elliptical shape long in the Y-axis direction in the side view. The tool magazine 41 has a substantially elliptical tool passage inside, and a plurality of tool pots 41A are stored along the tool passage. The tool pot 41A is detachably mounted with a tool holder. The tool magazine 41 is provided with a tool changing portion (not shown) on the lower front side. The tool changer opens downward. The tool changing unit includes a shutter (not shown). The shutter uses the shutter cylinder 89 (see FIG. 8) as a drive source to open and close the tool changing unit. The magazine motor 42 is supported on the front side of the upper part of the tool magazine 41. The plurality of tool pots 41A move in the tool passage by driving the magazine motor 42. The numerical control device 50 drives the magazine motor 42 and positions the tool pot 41A that supports the next tool 202 at the tool change unit. In the present embodiment, the current tool 201 means a tool currently mounted on the spindle 7, and the next tool 202 means a tool to be mounted on the spindle 7 next by tool replacement.

図2,図3を参照し、主軸ヘッド6の工具交換位置Kと、XYZ軸夫々の移動範囲との位置関係を説明する。本実施形態の主軸ヘッド6の座標位置は主軸ヘッド6下端部の中心の座標位置とする。工作機械1は、主軸ヘッド6の移動軸であるXYZ軸において、移動範囲を夫々設定する。移動範囲とは、主軸ヘッド6が移動可能な範囲である。XYZ軸の各移動範囲によって囲まれた領域は、主軸ヘッド6の移動範囲である。X軸の移動範囲はX軸移動範囲、Y軸の移動範囲はY軸移動範囲、Z軸の移動範囲はZ軸移動範囲である。 With reference to FIGS. 2 and 3, the positional relationship between the tool change position K of the spindle head 6 and the movement range of each of the XYZ axes will be described. The coordinate position of the spindle head 6 of the present embodiment is the coordinate position of the center of the lower end portion of the spindle head 6. The machine tool 1 sets a movement range on the XYZ axes, which are the movement axes of the spindle head 6. The moving range is a range in which the spindle head 6 can move. The area surrounded by each movement range of the XYZ axes is the movement range of the spindle head 6. The X-axis movement range is the X-axis movement range, the Y-axis movement range is the Y-axis movement range, and the Z-axis movement range is the Z-axis movement range.

工作機械1は回転台11のパレットP1,P2のうち、主軸ヘッド6側のパレット(図2ではパレットP1)に固定する被削材を加工する。故にX軸移動範囲とY軸移動範囲は、回転台11の主軸ヘッド6側のパレットP1上面に位置するように設定するとよい。X軸移動範囲のATC装置40側である右端部の座標位置はX0、その反対側の左端部の座標位置はXmaxである。Y軸移動範囲の主軸ヘッド6側である後端部の座標位置はY0、その反対側である前端部の座標位置はYmaxである。 The machine tool 1 processes a work material to be fixed to the pallet on the spindle head 6 side (pallet P1 in FIG. 2) among the pallets P1 and P2 of the rotary table 11. Therefore, the X-axis movement range and the Y-axis movement range may be set so as to be located on the upper surface of the pallet P1 on the spindle head 6 side of the rotary table 11. The coordinate position of the right end portion on the ATC device 40 side of the X-axis movement range is X0, and the coordinate position of the left end portion on the opposite side is Xmax. The coordinate position of the rear end portion on the main axis head 6 side of the Y-axis movement range is Y0, and the coordinate position of the front end portion on the opposite side is Ymax.

Z軸移動範囲は回転台11上に固定する被削材や冶具の高さを考慮して設定するとよい。Z軸移動範囲上端部は、例えばATC装置40の工具交換部の位置に設定するとよい。Z軸移動範囲下端部は回転台11上面の上方に設定するとよい。Z軸移動範囲上端部の座標位置はZ0、回転台11側である下端部の座標位置はZmaxである。 The Z-axis movement range may be set in consideration of the height of the work material and the jig fixed on the rotary table 11. The upper end of the Z-axis movement range may be set, for example, at the position of the tool changing portion of the ATC device 40. The lower end of the Z-axis movement range may be set above the upper surface of the rotary table 11. The coordinate position of the upper end of the Z-axis movement range is Z0, and the coordinate position of the lower end on the rotary table 11 side is Zmax.

上記のようなXYZ軸の各移動範囲を有する工作機械1において、工具交換位置Kの座標位置は、XYZ軸の各移動範囲の端部のうちATC装置40側に位置する端部に設定する。即ち工具交換位置K(x、y、z)=(X0、Y0、Z0)に設定する。工具交換時、主軸ヘッド6が工具交換位置Kに移動した状態では、プッシュロッド92後端部は、操作部材47の当接部48前方に離間して位置する。故に操作部材47とプッシュロッド92は互いに最も近接した位置で干渉しない。故に主軸ヘッド6が移動範囲内の何れの位置に移動しても、操作部材47とプッシュロッド92は常に離れた位置にあるので互いに干渉しない。工作機械1は基本姿勢の操作部材47を前方に揺動することで、プッシュロッド92を押下でき、主軸7に装着する工具のクランプを解除できる。 In the machine tool 1 having each movement range of the XYZ axes as described above, the coordinate position of the tool change position K is set at the end of each movement range of the XYZ axes located on the ATC device 40 side. That is, the tool change position K (x, y, z) = (X0, Y0, Z0) is set. When the spindle head 6 is moved to the tool change position K at the time of tool change, the rear end portion of the push rod 92 is located at a distance in front of the contact portion 48 of the operation member 47. Therefore, the operating member 47 and the push rod 92 do not interfere with each other at the position closest to each other. Therefore, no matter where the spindle head 6 moves within the moving range, the operating member 47 and the push rod 92 are always at separate positions and do not interfere with each other. The machine tool 1 can push the push rod 92 by swinging the operation member 47 in the basic posture forward, and can release the clamp of the tool mounted on the spindle 7.

図8を参照し、数値制御装置50と工作機械1の電気的構成を説明する。数値制御装置50は、CPU51、ROM52、RAM53、記憶装置54、入力インタフェイス55、出力インタフェイス56等を備える。CPU51は数値制御装置50を統括制御する。ROM52は、工具交換制御プログラム等の各種プログラムを記憶する。工具交換制御プログラムは、後述する工具交換制御処理(図9参照)を実行する為のプログラムである。RAM53は、各種処理実行中の各種データを記憶する。記憶装置54は不揮発性メモリであり、NCプログラムの他、各種データを記憶する。 With reference to FIG. 8, the electrical configuration of the numerical control device 50 and the machine tool 1 will be described. The numerical control device 50 includes a CPU 51, a ROM 52, a RAM 53, a storage device 54, an input interface 55, an output interface 56, and the like. The CPU 51 controls the numerical control device 50 in an integrated manner. The ROM 52 stores various programs such as a tool change control program. The tool change control program is a program for executing the tool change control process (see FIG. 9) described later. The RAM 53 stores various data during execution of various processes. The storage device 54 is a non-volatile memory and stores various data in addition to the NC program.

工作機械1は、入力部82、原点センサ83、ポット上昇センサ84、ポット下降センサ85、シャッタ開センサ86、シャッタ閉センサ87、エアシリンダ88、シャッタシリンダ89、表示部90、識別センサ58等を更に備える。ポット上昇センサ84、ポット下降センサ85、シャッタ開センサ86、シャッタ閉センサ87、エアシリンダ88、シャッタシリンダ89、識別センサ58はATC装置40に設ける。入力部82と表示部90は操作パネル(図示略)に設ける。入力部82は各種入力を受け付ける。表示部90は各種画面を表示する。原点センサ83は、主軸7のX軸、Y軸、Z軸方向の夫々の原点を夫々検出する。ポット上昇センサ84は、工具交換部に位置する工具ポット41Aの上昇を検出する。ポット下降センサ85は、工具交換部に位置する工具ポット41Aの下降を検出する。シャッタ開センサ86は、シャッタの開状態を検出する。シャッタ閉センサ87は、シャッタの閉状態を検出する。 The machine tool 1 includes an input unit 82, an origin sensor 83, a pot rising sensor 84, a pot lowering sensor 85, a shutter open sensor 86, a shutter closing sensor 87, an air cylinder 88, a shutter cylinder 89, a display unit 90, an identification sensor 58, and the like. Further prepare. The pot raising sensor 84, the pot lowering sensor 85, the shutter open sensor 86, the shutter closing sensor 87, the air cylinder 88, the shutter cylinder 89, and the identification sensor 58 are provided in the ATC device 40. The input unit 82 and the display unit 90 are provided on an operation panel (not shown). The input unit 82 accepts various inputs. The display unit 90 displays various screens. The origin sensor 83 detects the origins of the spindle 7 in the X-axis, Y-axis, and Z-axis directions, respectively. The pot rise sensor 84 detects the rise of the tool pot 41A located in the tool changing portion. The pot lowering sensor 85 detects the lowering of the tool pot 41A located at the tool changing portion. The shutter open sensor 86 detects the open state of the shutter. The shutter closing sensor 87 detects the closed state of the shutter.

エアシリンダ88は、工具交換位置の工具ポット41Aを昇降するポット昇降機構(図示略)の駆動源である。シャッタシリンダ89は、シャッタを開閉するシャッタ開閉機構(図示略)の駆動源である。入力部82、原点センサ83、ポット上昇センサ84、ポット下降センサ85、シャッタ開センサ86、シャッタ閉センサ87は、入力インタフェイス55に電気的に接続する。エアシリンダ88、シャッタシリンダ89、表示部90は出力インタフェイス56に電気的に接続する。 The air cylinder 88 is a drive source for a pot elevating mechanism (not shown) that elevates and elevates the tool pot 41A at the tool change position. The shutter cylinder 89 is a drive source for a shutter opening / closing mechanism (not shown) that opens / closes the shutter. The input unit 82, the origin sensor 83, the pot raising sensor 84, the pot lowering sensor 85, the shutter open sensor 86, and the shutter closing sensor 87 are electrically connected to the input interface 55. The air cylinder 88, the shutter cylinder 89, and the display unit 90 are electrically connected to the output interface 56.

Z軸モータ19、主軸モータ8、X軸モータ21、Y軸モータ24、マガジンモータ42、ATCモータ45は、出力インタフェイス56に電気的に接続する。Z軸モータ19はエンコーダ19Aを備える。エンコーダ19AはZ軸モータ19の回転角度を検出する。主軸モータ8はエンコーダ8Aを備える。エンコーダ8Aは主軸モータ8の回転角度を検出する。X軸モータ21はエンコーダ21Aを備える。エンコーダ21AはX軸モータ21の回転角度を検出する。Y軸モータ24はエンコーダ24Aを備える。エンコーダ24AはY軸モータ24の回転角度を検出する。マガジンモータ42はエンコーダ42Aを備える。エンコーダ42Aはマガジンモータ42の回転角度を検出する。ATCモータ45はエンコーダ45Aを備える。エンコーダ45AはATCモータ45の回転角度を検出する。エンコーダ19A、8A、21A、24A、42A、45Aは、入力インタフェイス55に電気的に接続する。Z軸モータ19、主軸モータ8、X軸モータ21、Y軸モータ24、マガジンモータ42、ATCモータ45はサーボモータである。 The Z-axis motor 19, the spindle motor 8, the X-axis motor 21, the Y-axis motor 24, the magazine motor 42, and the ATC motor 45 are electrically connected to the output interface 56. The Z-axis motor 19 includes an encoder 19A. The encoder 19A detects the rotation angle of the Z-axis motor 19. The spindle motor 8 includes an encoder 8A. The encoder 8A detects the rotation angle of the spindle motor 8. The X-axis motor 21 includes an encoder 21A. The encoder 21A detects the rotation angle of the X-axis motor 21. The Y-axis motor 24 includes an encoder 24A. The encoder 24A detects the rotation angle of the Y-axis motor 24. The magazine motor 42 includes an encoder 42A. The encoder 42A detects the rotation angle of the magazine motor 42. The ATC motor 45 includes an encoder 45A. The encoder 45A detects the rotation angle of the ATC motor 45. Encoders 19A, 8A, 21A, 24A, 42A, 45A are electrically connected to the input interface 55. The Z-axis motor 19, the spindle motor 8, the X-axis motor 21, the Y-axis motor 24, the magazine motor 42, and the ATC motor 45 are servo motors.

識別センサ58は、ポット識別板57、投光素子58A、受光素子58Bを備える。ポット識別板57は工具ポット41Aに取り付け、該工具ポット41Aと一体的に移動する。ポット識別板57は、工具ポット41A毎に異なるパターンの光透過部(図示外)を備える。投光素子58Aと受光素子58Bは工具交換部に設け、工具交換部に搬送した工具ポット41Aのポット識別板57を挟んで対向して配置する。投光素子58Aは、出力インタフェイス56に電気的に接続する。受光素子58Bは入力インタフェイス55に電気的に接続する。投光素子58Aから出射した光はポット識別板57の光透過部を透過し、受光素子58Bに入力する。CPU51は受光素子58Bからの信号に基づき、工具マガジン41の工具交換部に何れの工具ポット41Aが搬送したかを検出する。次工具202の工具ポット41Aが搬送したことを検出すると、CPU51はマガジンモータ42の駆動を停止し、次工具202を工具交換部に位置決めする。 The identification sensor 58 includes a pot identification plate 57, a light projecting element 58A, and a light receiving element 58B. The pot identification plate 57 is attached to the tool pot 41A and moves integrally with the tool pot 41A. The pot identification plate 57 includes a light transmitting portion (not shown) having a different pattern for each tool pot 41A. The light emitting element 58A and the light receiving element 58B are provided in the tool changing section, and are arranged so as to face each other with the pot identification plate 57 of the tool pot 41A conveyed to the tool changing section. The light projecting element 58A is electrically connected to the output interface 56. The light receiving element 58B is electrically connected to the input interface 55. The light emitted from the light projecting element 58A passes through the light transmitting portion of the pot identification plate 57 and is input to the light receiving element 58B. Based on the signal from the light receiving element 58B, the CPU 51 detects which tool pot 41A has been conveyed to the tool changing portion of the tool magazine 41. When it is detected that the tool pot 41A of the next tool 202 has been conveyed, the CPU 51 stops driving the magazine motor 42 and positions the next tool 202 in the tool changing section.

図9~図11を参照して工具交換動作について説明する。CPU51はNCプログラムを1ブロック毎に解釈し工具交換指令を生成すると、ROM52から工具交換制御プログラムを読出し、本処理を実行する。本処理開始時、主軸モータ8はサーボオン状態である。サーボオン状態は、位置ループ制御中である。 The tool change operation will be described with reference to FIGS. 9 to 11. When the CPU 51 interprets the NC program for each block and generates a tool change command, the CPU 51 reads the tool change control program from the ROM 52 and executes this process. At the start of this process, the spindle motor 8 is in the servo-on state. The servo-on state is during position loop control.

CPU51は通常モードが設定されているか否か判断する(S1)。通常モードとは、通常の工具交換動作を実行可能なモードである。工作機械1の状態が正常な場合は通常モード、正常でない場合はメンテナンスモードが設定される。例えば、工具交換動作が停電等により途中で停止した場合、工具交換アーム44を待機位置に戻す必要があるので、工作機械1が正常でないとしてメンテナンスモードに設定する。設定がメンテナンスモードの場合(S1:NO)、CPU51はメンテナンス処理を開始し、例えば工具交換アーム44を待機位置に戻す(S33)。作業者は一対の把持部44A,44Bから工具を取り外す等の作業を行うことができる。メンテナンス処理終了後、CPU51は本処理を終了する。 The CPU 51 determines whether or not the normal mode is set (S1). The normal mode is a mode in which a normal tool change operation can be performed. If the machine tool 1 is in a normal state, a normal mode is set, and if it is not normal, a maintenance mode is set. For example, when the tool change operation is stopped in the middle due to a power failure or the like, it is necessary to return the tool change arm 44 to the standby position, so that the machine tool 1 is set to the maintenance mode because it is not normal. When the setting is the maintenance mode (S1: NO), the CPU 51 starts the maintenance process and returns, for example, the tool change arm 44 to the standby position (S33). The operator can perform work such as removing the tool from the pair of grip portions 44A and 44B. After the maintenance process is completed, the CPU 51 ends this process.

設定が通常モードであると判断した場合(S1:YES)、CPU51は、主軸7のオリエントを実行した後で、主軸ヘッド6を工具交換位置K(図2、図3参照)に移動する(S3)。CPU51はマガジンモータ42を駆動し、次工具202を工具交換部に搬送して位置決めする(S5)。CPU51はシャッタを開く(S7)。図10(1)と(2)に示す如く、CPU51は次工具202を装着する工具ポット41Aを水平状態から垂直下方に90°倒すことに依り、次工具202を工具交換部の開口から下降する(S9)。工具ポット41Aは垂直状態となる。 When it is determined that the setting is the normal mode (S1: YES), the CPU 51 moves the spindle head 6 to the tool change position K (see FIGS. 2 and 3) after executing the orientation of the spindle 7 (S3). ). The CPU 51 drives the magazine motor 42, conveys the next tool 202 to the tool changing unit, and positions it (S5). The CPU 51 opens the shutter (S7). As shown in FIGS. 10 (1) and 10 (2), the CPU 51 lowers the next tool 202 from the opening of the tool changing portion by tilting the tool pot 41A to which the next tool 202 is mounted by 90 ° vertically downward from the horizontal state. (S9). The tool pot 41A is in the vertical state.

プッシュロッド92後端部は、操作部材47の当接部48前方に離間して位置する(図5参照)。即ち、クランプ機構部はクランプした状態である。工具交換アーム44は、一対の把持部44A,44Bが、主軸7と工具交換部の中間位置に配置する待機位置である。一対の把持部44A,44Bが待機位置の時、ATC駆動軸46は0°位置である。工具交換アーム44は上死点に位置する。上死点は下死点の0mmから100mmの高さ位置である(図11(a)参照)。 The rear end portion of the push rod 92 is located at a distance in front of the contact portion 48 of the operating member 47 (see FIG. 5). That is, the clamp mechanism portion is in a clamped state. The tool change arm 44 is a standby position in which a pair of grip portions 44A and 44B are arranged at an intermediate position between the spindle 7 and the tool change portion. When the pair of grips 44A and 44B are in the standby position, the ATC drive shaft 46 is in the 0 ° position. The tool change arm 44 is located at top dead center. The top dead center is a height position from 0 mm to 100 mm of the bottom dead center (see FIG. 11 (a)).

CPU51はT0で、ATCモータ45の駆動を開始して、ATC駆動軸46の回転を0°位置から開始する(S11)。CPU51は、ATCモータ45の回転位置をエンコーダ45Aにより監視することで、ATC駆動軸46の回転位置を監視する。ATCモータ45の回転位置とATC駆動軸46の回転位置は対応する。故にATC駆動軸46の回転位置を監視することで、CPU51はクランプ機構部の状態と工具交換アーム44の回転位置及び上下位置とを監視できる。 At T0, the CPU 51 starts driving the ATC motor 45 and starts the rotation of the ATC drive shaft 46 from the 0 ° position (S11). The CPU 51 monitors the rotational position of the ATC drive shaft 46 by monitoring the rotational position of the ATC motor 45 with the encoder 45A. The rotation position of the ATC motor 45 and the rotation position of the ATC drive shaft 46 correspond to each other. Therefore, by monitoring the rotational position of the ATC drive shaft 46, the CPU 51 can monitor the state of the clamp mechanism portion and the rotational position and the vertical position of the tool exchange arm 44.

ATCモータ45の駆動に依り、ATC駆動軸46が回転すると、平面溝カム33が正転し、揺動子571を介してセグメントギヤ66と外軸ギヤ431が回転し、T1で、工具交換アーム44は待機位置から平面視反時計回りに旋回する。 When the ATC drive shaft 46 rotates due to the drive of the ATC motor 45, the planar groove cam 33 rotates in the normal direction, the segment gear 66 and the outer shaft gear 431 rotate via the swinger 571, and the tool change arm at T1. 44 turns counterclockwise in a plan view from the standby position.

ATC駆動軸46の回転に伴い、揺動レバー23が揺動することにより、操作部材47は前方に揺動する。操作部材47の当接部48はプッシュロッド92後端部に当接し前方に押圧する。プッシュロッド92は前方に移動し、揺動腕部材60の縦腕部63の当接部63Aを前方に付勢する。T2で、ATC駆動軸46が30°位置に到達すると、揺動腕部材60は3.7°の傾斜角度から引張バネの付勢力に抗して支軸61を中心に左側面視時計回りに回転を開始する。横腕部62はピン71に対して上方から係合し、主軸7内部に設けたバネの付勢力に抗してドローバ70を下方に押圧する。ドローバ70はクランプ機構部を下方に付勢する。クランプ機構部はクランプからアンクランプへの動作を開始する。該時、主軸モータ8はサーボオン状態である。故に、主軸7の回転位置の位置ずれが起きた場合も、主軸モータ8は主軸7の回転位置の位置ずれを補正できる。 As the ATC drive shaft 46 rotates, the swing lever 23 swings, so that the operating member 47 swings forward. The contact portion 48 of the operating member 47 abuts on the rear end portion of the push rod 92 and presses forward. The push rod 92 moves forward and urges the contact portion 63A of the vertical arm portion 63 of the swing arm member 60 forward. When the ATC drive shaft 46 reaches the 30 ° position at T2, the swing arm member 60 counterclockwise with respect to the support shaft 61 from an inclination angle of 3.7 ° against the urging force of the tension spring. Start spinning. The lateral arm portion 62 engages with the pin 71 from above, and presses the drawbar 70 downward against the urging force of the spring provided inside the main shaft 7. The drawbar 70 urges the clamp mechanism portion downward. The clamp mechanism starts the operation from the clamp to the unclamp. At this time, the spindle motor 8 is in the servo-on state. Therefore, even if the rotational position of the spindle 7 is displaced, the spindle motor 8 can correct the displacement of the rotational position of the spindle 7.

T3で、ATC駆動軸46は60°位置に到達すると、工具交換アーム44は図10(3)に示す如く、把持部44Aが主軸7に装着する現工具201を把持し、把持部44Bが工具交換部に位置する次工具202を把持する位置に到達する。主軸モータ8がサーボオン状態であるので、一対の把持部44A,44Bと現工具201と次工具202が当接する時の衝撃で、主軸7の位置ずれが発生するのを抑制できる。T3~T6の間、パラレルカム59の板カム591,592は一対の従動ローラ18A,18Bから離れるので、工具交換アーム44は現在の位置を保持する。 At T3, when the ATC drive shaft 46 reaches the 60 ° position, the tool change arm 44 grips the current tool 201 mounted on the spindle 7 by the grip portion 44A, and the grip portion 44B grips the tool, as shown in FIG. 10 (3). It reaches the position where the next tool 202 located in the exchange portion is gripped. Since the spindle motor 8 is in the servo-on state, it is possible to suppress the occurrence of misalignment of the spindle 7 due to the impact when the pair of grip portions 44A and 44B, the current tool 201, and the next tool 202 come into contact with each other. Between T3 and T6, the plate cams 591 and 592 of the parallel cam 59 are separated from the pair of driven rollers 18A and 18B, so that the tool change arm 44 holds the current position.

T4で、ATC駆動軸46が80°位置に到達すると、主軸7内部のクランプ機構部から現工具201が抜ける状態になる。現工具201は主軸7の装着穴から取り外し可能となり、工具交換アーム44は上死点から下降を開始する。工具交換アーム44が更に下降すると、主軸7内部のクランプ機構部から現工具201が抜けた状態になる(図10(4)参照)。 When the ATC drive shaft 46 reaches the 80 ° position at T4, the current tool 201 is pulled out from the clamp mechanism portion inside the spindle 7. The current tool 201 can be removed from the mounting hole of the spindle 7, and the tool exchange arm 44 starts descending from top dead center. When the tool change arm 44 is further lowered, the current tool 201 is pulled out from the clamp mechanism portion inside the spindle 7 (see FIG. 10 (4)).

ATCモータ45によるATC駆動軸46の回転に伴い、CPU51は、ATC駆動軸46が88°位置か否か判断する(S13)。ATC駆動軸46の88°位置は、クランプ機構部がアンクランプを完了するT5の直前の位置である。ATC駆動軸46が88°位置でないと判断した場合(S13:NO)、CPU51はATC駆動軸46を更に回転する。 With the rotation of the ATC drive shaft 46 by the ATC motor 45, the CPU 51 determines whether or not the ATC drive shaft 46 is in the 88 ° position (S13). The 88 ° position of the ATC drive shaft 46 is the position immediately before T5 where the clamping mechanism portion completes the unclamping. When it is determined that the ATC drive shaft 46 is not in the 88 ° position (S13: NO), the CPU 51 further rotates the ATC drive shaft 46.

ATC駆動軸46が88°位置に到達すると(S13:YES)、CPU51は、主軸モータ8を、C1(図11参照)でサーボオン状態からサーボオフ状態へ切り替える(S15)。ATC駆動軸46が0°位置から88°位置(C1)までのA区間(図11参照)の間では、主軸モータ8はサーボオン状態である。故に、クランプ機構部のアンクランプ動作により主軸7の回転位置の位置ずれが起きた場合も、主軸モータ8は主軸7の回転位置の位置ずれを補正できる。 When the ATC drive shaft 46 reaches the 88 ° position (S13: YES), the CPU 51 switches the spindle motor 8 from the servo-on state to the servo-off state at C1 (see FIG. 11) (S15). During the section A (see FIG. 11) from the 0 ° position to the 88 ° position (C1) of the ATC drive shaft 46, the spindle motor 8 is in the servo-on state. Therefore, even if the rotational position of the spindle 7 is displaced due to the unclamping operation of the clamping mechanism, the spindle motor 8 can correct the displacement of the rotational position of the spindle 7.

T5で、ATC駆動軸46が90°位置に到達すると、揺動腕部材60は0°まで傾斜するので、クランプ機構部のアンクランプが完了する。ATC駆動軸46が88°位置(C1)を経過した後、主軸モータ8はサーボオフ状態なので、主軸7の回転位置の位置ずれの補正を行わない。クランプ機構部がクランプへの切替えを完了する直前で、ピン71の位置は安定しやすい。故に、工作機械1は、S15の処理でサーボオフ状態に切り替えたときから、クランプ機構部がアンクランプを完了するまでの期間、主軸7の位置ずれに起因する主軸モータ8の発振を抑制できる。主軸モータ8がサーボオフ状態であるので、工作機械1は発振に起因する異音の発生を抑制できる。工具交換アーム44は下降を継続する。現工具201と次工具202は主軸7と工具ポット41Aから抜脱する。 When the ATC drive shaft 46 reaches the 90 ° position at T5, the swing arm member 60 is tilted to 0 °, so that the unclamping of the clamp mechanism portion is completed. After the ATC drive shaft 46 has passed the 88 ° position (C1), the spindle motor 8 is in the servo-off state, so that the displacement of the rotational position of the spindle 7 is not corrected. Immediately before the clamp mechanism completes the switching to the clamp, the position of the pin 71 is likely to be stable. Therefore, the machine tool 1 can suppress the oscillation of the spindle motor 8 due to the misalignment of the spindle 7 from the time when the servo is switched to the servo-off state by the process of S15 until the clamping mechanism completes the unclamping. Since the spindle motor 8 is in the servo-off state, the machine tool 1 can suppress the generation of abnormal noise due to oscillation. The tool change arm 44 continues to descend. The current tool 201 and the secondary tool 202 are removed from the spindle 7 and the tool pot 41A.

T6で、ATC駆動軸46が110°位置に到達すると、パラレルカム59の板カム591,592は一対の従動ローラ18A,18Bに当接するので、工具交換アーム44は現在の位置から180°の位置に回転する。T6~T7の間、工具交換アーム44は下降しながら回転する。T7で、ATC駆動軸46が130°位置に到達すると、工具交換アーム44は下死点に到達し、引き続き回転を継続する。T8で、ATC駆動軸46が230°位置に到達すると、工具交換アーム44と旋回軸43は下死点から上昇を開始する。T8~T9の間、工具交換アーム44は旋回しながら上昇する。 When the ATC drive shaft 46 reaches the 110 ° position at T6, the plate cams 591 and 592 of the parallel cam 59 abut on the pair of driven rollers 18A and 18B, so that the tool change arm 44 is positioned 180 ° from the current position. Rotate to. Between T6 and T7, the tool change arm 44 rotates while descending. When the ATC drive shaft 46 reaches the 130 ° position at T7, the tool change arm 44 reaches the bottom dead center and continues to rotate. When the ATC drive shaft 46 reaches the 230 ° position at T8, the tool change arm 44 and the swivel shaft 43 start to rise from the bottom dead center. Between T8 and T9, the tool change arm 44 rises while turning.

T9で、ATC駆動軸46が260°位置に到達すると、現工具201と次工具202の夫々の位置が互いに入れ替わる(図10(5)参照)。T9~T12の期間、パラレルカム59の板カム591,592が一対の従動ローラ18A,18Bから離れるので、工具交換アーム44と旋回軸43は、旋回角度250°を保持する。次工具202は主軸7の下方に配置し、現工具201は工具交換部の工具ポット41Aの下方に配置する。工具交換アーム44は上昇し続ける。 When the ATC drive shaft 46 reaches the 260 ° position at T9, the positions of the current tool 201 and the next tool 202 are exchanged with each other (see FIG. 10 (5)). During the period from T9 to T12, the plate cams 591 and 592 of the parallel cam 59 are separated from the pair of driven rollers 18A and 18B, so that the tool change arm 44 and the swivel shaft 43 maintain a swivel angle of 250 °. The next tool 202 is arranged below the spindle 7, and the current tool 201 is arranged below the tool pot 41A of the tool changing portion. The tool change arm 44 continues to rise.

T10で、ATC駆動軸46が270°位置に到達すると、主軸7内部のクランプ機構部は次工具202のクランプが可能な状態になる。具体的には、操作部材47は後方に揺動し始めるので、プッシュロッド92は後方に移動する。揺動腕部材60は引張バネの付勢力で0°から支軸61を中心に左側面視反時計回りに回転を開始する。図10(6)に示す如く、T11で、ATC駆動軸46が280°位置に到達すると、工具交換アーム44は上死点に到達する。次工具202は主軸7の装着穴に装着し、現工具201は工具ポット41Aに装着する。 When the ATC drive shaft 46 reaches the 270 ° position at T10, the clamp mechanism portion inside the spindle 7 is in a state where the next tool 202 can be clamped. Specifically, since the operating member 47 starts to swing backward, the push rod 92 moves backward. The swing arm member 60 starts rotating counterclockwise from 0 ° around the support shaft 61 by the urging force of the tension spring. As shown in FIG. 10 (6), when the ATC drive shaft 46 reaches the 280 ° position at T11, the tool change arm 44 reaches the top dead center. The next tool 202 is mounted in the mounting hole of the spindle 7, and the current tool 201 is mounted in the tool pot 41A.

T12で、ATC駆動軸46が300°位置に到達すると、揺動子571が平面溝カム33に沿って所定方向に揺動する。揺動子571に従動するセグメントギヤ66は回動し、該セグメントギヤ66に歯部432を介して噛合する外軸ギヤ431は回動する。外軸ギヤ431の回動に伴い、工具交換アーム44は逆方向(平面視時計回り)に待機位置まで回転する(図10(6)、(7)参照)。 When the ATC drive shaft 46 reaches the 300 ° position at T12, the rocker 571 swings in a predetermined direction along the planar groove cam 33. The segment gear 66 driven by the rocker 571 rotates, and the outer shaft gear 431 that meshes with the segment gear 66 via the tooth portion 432 rotates. With the rotation of the outer shaft gear 431, the tool change arm 44 rotates in the opposite direction (clockwise in a plan view) to the standby position (see FIGS. 10 (6) and 10 (7)).

T13で、ATC駆動軸46の回転に伴い、ATC駆動軸46が330°位置に到達すると、揺動腕部材60は3.7°の傾斜角度に戻り、クランプ機構部のクランプ動作は完了する。 At T13, when the ATC drive shaft 46 reaches the 330 ° position with the rotation of the ATC drive shaft 46, the swing arm member 60 returns to an inclination angle of 3.7 °, and the clamping operation of the clamp mechanism portion is completed.

ATC駆動軸46の回転に伴い、CPU51は、ATC駆動軸46の350°位置にあるか否か判断する(S17)。ATC駆動軸46の350°位置は、工具交換アーム44が旋回角度180°となる待機位置で旋回を停止する位置である。ATC駆動軸46が350°位置にないと判断した場合(S17:NO)、CPU51は、ATCモータ45を回転してATC駆動軸46を更に回転する。 As the ATC drive shaft 46 rotates, the CPU 51 determines whether or not it is at the 350 ° position of the ATC drive shaft 46 (S17). The 350 ° position of the ATC drive shaft 46 is a position where the tool change arm 44 stops turning at a standby position where the turning angle is 180 °. When it is determined that the ATC drive shaft 46 is not in the 350 ° position (S17: NO), the CPU 51 rotates the ATC motor 45 to further rotate the ATC drive shaft 46.

T14で、ATC駆動軸46が350°位置に到達すると(S17:YES)、工具交換アーム44は、待機位置で旋回を停止する。一対の把持部44Aと44Bは、主軸7と工具交換部の間の位置に配置する(図10(7)参照)。CPU51は、次工具202の主軸7への装着が完了したと判断して、C2(図11参照)で主軸モータ8をサーボオン状態に切り替える(S19)。ATC駆動軸46が88°位置(C1)でサーボオフ状態に切り替えてから350°位置(C2)までのB区間の間、サーボモータはサーボオフ状態である。故に数値制御装置50はサーボオフ状態のB区間(図11参照)の間、消費電力を削減できる。工具交換動作が完了する前にサーボモータをサーボオン状態にするので、数値制御装置50は、工具交換動作後の工作機械1の切削加工動作を速やかに行うことができる。 At T14, when the ATC drive shaft 46 reaches the 350 ° position (S17: YES), the tool change arm 44 stops turning at the standby position. The pair of grip portions 44A and 44B are arranged at positions between the spindle 7 and the tool changing portion (see FIG. 10 (7)). The CPU 51 determines that the mounting of the next tool 202 on the spindle 7 is completed, and switches the spindle motor 8 to the servo-on state at C2 (see FIG. 11) (S19). The servomotor is in the servo-off state during the B section from the time when the ATC drive shaft 46 is switched to the servo-off state at the 88 ° position (C1) to the 350 ° position (C2). Therefore, the numerical control device 50 can reduce the power consumption during the B section (see FIG. 11) in the servo-off state. Since the servomotor is turned on before the tool change operation is completed, the numerical control device 50 can quickly perform the cutting operation of the machine tool 1 after the tool change operation.

CPU51は、ATCモータ45を回転してATC駆動軸46を360°位置へ向けて回転する。CPU51はATC駆動軸46が360°位置に到達したか否か判断する(S21)。ATC駆動軸46の360°位置は、S11の処理でATCモータ45が回転を開始する時のATC駆動軸46の0°位置と同じ位置である。CPU51は、ATC駆動軸46が360°位置に無いと判断した場合(S21:NO)、ATCモータ45を回転してATC駆動軸46を更に回転する。 The CPU 51 rotates the ATC motor 45 to rotate the ATC drive shaft 46 toward the 360 ° position. The CPU 51 determines whether or not the ATC drive shaft 46 has reached the 360 ° position (S21). The 360 ° position of the ATC drive shaft 46 is the same position as the 0 ° position of the ATC drive shaft 46 when the ATC motor 45 starts rotating in the process of S11. When the CPU 51 determines that the ATC drive shaft 46 is not at the 360 ° position (S21: NO), the CPU 51 rotates the ATC motor 45 to further rotate the ATC drive shaft 46.

ATC駆動軸46が360°位置に到達した場合(S21:YES)、CPU51はATCモータ45の駆動を停止する(S23)。ATC駆動軸46が350°位置(C2)から工具交換動作が完了するまでのC区間(図11参照)において主軸モータ8は、サーボオン状態を維持する。図10(8)に示す如く、CPU51は工具マガジン41の工具交換部に位置する工具ポット41Aを垂直姿勢から水平姿勢に戻して上昇する(S25)。CPU51はシャッタを閉じる(S27)。工具交換動作が終了するので、CPU51は本処理を終了する。 When the ATC drive shaft 46 reaches the 360 ° position (S21: YES), the CPU 51 stops driving the ATC motor 45 (S23). The spindle motor 8 maintains the servo-on state in the C section (see FIG. 11) from the 350 ° position (C2) of the ATC drive shaft 46 to the completion of the tool change operation. As shown in FIG. 10 (8), the CPU 51 returns the tool pot 41A located at the tool changing portion of the tool magazine 41 from the vertical posture to the horizontal posture and rises (S25). The CPU 51 closes the shutter (S27). Since the tool change operation is completed, the CPU 51 ends this process.

以上説明の如く、工作機械1の数値制御装置50は、工具交換時、クランプ機構部がクランプからアンクランプへの切替えを完了する直前の位置であるATC駆動軸46の88°位置で、主軸モータ8をサーボオン状態からサーボオフ状態に切り替える。数値制御装置50は、クランプ機構部がアンクランプを開始してからアンクランプが完了する直前であるATC駆動軸46の88°位置までの期間、主軸モータ8のサーボオン状態を維持する。故に数値制御装置50は主軸7の回転位置の位置ずれを抑制できる。数値制御装置50はアンクランプへの切替えを完了する直前で、主軸モータ8をサーボオン状態からサーボオフ状態に切り替える。クランプ機構部がクランプへの切替えを完了する直前で、ピン71の位置は安定しやすい。故に数値制御装置50はサーボオフ状態に切り替えた後、主軸モータ8の発振を抑制できる。数値制御装置50は主軸7の回転位置の位置ずれを確実に抑制し、且つ発振を抑制できる。 As described above, the numerical control device 50 of the machine tool 1 is the spindle motor at the 88 ° position of the ATC drive shaft 46, which is the position immediately before the clamp mechanism unit completes the switching from the clamp to the unclamp at the time of tool change. 8 is switched from the servo-on state to the servo-off state. The numerical control device 50 maintains the servo-on state of the spindle motor 8 for a period from the start of unclamping to the 88 ° position of the ATC drive shaft 46 immediately before the completion of unclamping. Therefore, the numerical control device 50 can suppress the positional deviation of the rotational position of the spindle 7. The numerical control device 50 switches the spindle motor 8 from the servo-on state to the servo-off state immediately before the switching to the unclamp is completed. Immediately before the clamp mechanism completes the switching to the clamp, the position of the pin 71 is likely to be stable. Therefore, the numerical control device 50 can suppress the oscillation of the spindle motor 8 after switching to the servo off state. The numerical control device 50 can surely suppress the positional deviation of the rotational position of the spindle 7 and suppress the oscillation.

数値制御装置50は、クランプ機構部をクランプからアンクランプへの切替えを完了した後、主軸モータ8をサーボオフ状態からサーボオン状態に切り替え、主軸7及び工具ポット41Aに次工具202と現工具201を夫々装着した後、主軸モータ8をサーボオフ状態からサーボオン状態に切り替える。数値制御装置50は、主軸モータ8をサーボオフ状態としてから、主軸7及び工具ポット41Aに次工具202と現工具201を夫々装着した後、主軸モータ8をサーボオフ状態からサーボオン状態に切り替える。故に数値制御装置50は主軸モータ8のサーボオフ状態の期間を維持できるので、消費電力を削減できる。数値制御装置50は工具交換動作が完了するまでに主軸モータ8をサーボオン状態とするので、工具交換動作後の工作機械1の切削動作を遅滞なく行うことができる。 After completing the switching of the clamp mechanism from the clamp to the unclamp, the numerical control device 50 switches the spindle motor 8 from the servo-off state to the servo-on state, and puts the next tool 202 and the current tool 201 on the spindle 7 and the tool pot 41A, respectively. After mounting, the spindle motor 8 is switched from the servo-off state to the servo-on state. The numerical control device 50 sets the spindle motor 8 in the servo-off state, mounts the next tool 202 and the current tool 201 in the spindle 7 and the tool pot 41A, respectively, and then switches the spindle motor 8 from the servo-off state to the servo-on state. Therefore, since the numerical control device 50 can maintain the servo-off state of the spindle motor 8, the power consumption can be reduced. Since the numerical control device 50 puts the spindle motor 8 in the servo-on state by the time the tool change operation is completed, the cutting operation of the machine tool 1 after the tool change operation can be performed without delay.

本発明は上記変形例以外にも種々の変更が可能である。上記実施形態の工作機械1は、主軸7がZ軸方向に延びる縦型工作機械であるが、本発明は主軸7が水平方向に延びる横型工作機械にも適用できる。工作機械1の数値制御装置50は、ATC駆動軸46が88°位置で主軸モータ8のサーボオン状態をサーボオフ状態へ切り替えたが、これ以外のタイミングで切り替えを行ってもよい。例えば、CPU51は、T3で、一対の把持部44A,44Bが現工具201と次工具202を把持したときから、T5で、クランプ機構部がクランプからアンクランプへの切替えを完了するときまでの間に、主軸モータ8をサーボオン状態からサーボオフ状態に切り替えればよい。工具交換アーム44の一対の把持部44A,44Bが現工具201と次工具202を把持する時、数値制御装置50は主軸モータ8をサーボオン状態にする。故に数値制御装置50は、一対の把持部44A,44Bが現工具201と次工具202に当接する時の衝撃で、主軸7の位置ずれが発生するのを抑制できる。数値制御装置50は一対の把持部44A,44Bが現工具201と次工具202を把持したときから、クランプ機構部がクランプからアンクランプへの切替えを完了するまでの間に、主軸モータ8をサーボオン状態からサーボオフ状態へと切り替える。故に数値制御装置50は主軸7の回転位置の位置ずれに起因する主軸モータ8の発振を抑制できる。故に数値制御装置50は主軸7の回転位置の位置ずれを抑制し、且つ主軸モータ8の発振を抑制できる。 The present invention can be modified in various ways other than the above modification. The machine tool 1 of the above embodiment is a vertical machine tool in which the spindle 7 extends in the Z-axis direction, but the present invention can also be applied to a horizontal machine tool in which the spindle 7 extends in the horizontal direction. The numerical control device 50 of the machine tool 1 switches the servo-on state of the spindle motor 8 to the servo-off state when the ATC drive shaft 46 is at the 88 ° position, but the switching may be performed at a timing other than this. For example, in the CPU 51, from the time when the pair of gripping portions 44A and 44B grip the current tool 201 and the next tool 202 at T3 to the time when the clamping mechanism portion completes the switching from the clamp to the unclamp at T5. In addition, the spindle motor 8 may be switched from the servo-on state to the servo-off state. When the pair of gripping portions 44A and 44B of the tool changing arm 44 grip the current tool 201 and the next tool 202, the numerical control device 50 puts the spindle motor 8 in the servo-on state. Therefore, the numerical control device 50 can suppress the displacement of the spindle 7 due to the impact when the pair of grip portions 44A and 44B abut on the current tool 201 and the next tool 202. The numerical control device 50 servo-on the spindle motor 8 from the time when the pair of gripping portions 44A and 44B grips the current tool 201 and the next tool 202 until the clamping mechanism portion completes the switching from the clamp to the unclamp. Switch from the state to the servo off state. Therefore, the numerical control device 50 can suppress the oscillation of the spindle motor 8 due to the positional deviation of the rotational position of the spindle 7. Therefore, the numerical control device 50 can suppress the positional deviation of the rotational position of the spindle 7 and suppress the oscillation of the spindle motor 8.

上記実施形態の工作機械1の数値制御装置50は、ATC駆動軸46が350°位置を経過した時、主軸モータ8をサーボオフ状態からサーボオン状態に切り替えたが、サーボオン状態に切り替えるタイミングはこれに限らない。例えば、工作機械1は、クランプ機構部をクランプからアンクランプへの切替えを完了してからATC駆動軸46を所定角度回転した後、例えばATC駆動軸46が280°位置で工具交換アーム44が上死点に到達した時に次工具202が主軸7に装着したとして主軸モータ8をサーボオフ状態からサーボオン状態に切り替えてもよい。数値制御装置50は、クランプ機構部をクランプからアンクランプへの切替えを完了してからATC駆動軸46を所定角度回転した後、主軸モータ8をサーボオフ状態からサーボオン状態へ切り替える。数値制御装置50は、ATC駆動軸46を所定角度回転した期間、主軸モータ8をサーボオフ状態で維持できるので、消費電力を削減できる。数値制御装置50は工具交換動作が完了するまでに主軸モータ8をサーボオン状態とするので、工具交換動作後の工作機械1の切削動作を遅滞なく行うことができる。尚、主軸モータ8をサーボオン状態に切り替えるタイミングは、ATC駆動軸46が91°位置~350°位置又は350位置~360°位置の期間の何れかでもよい。このような場合であっても、数値制御装置50は、サーボオフ状態の期間は、消費電力を削減し、工具交換動作後の切削動作を遅滞なく行うことができる。 The numerical control device 50 of the machine tool 1 of the above embodiment switches the spindle motor 8 from the servo-off state to the servo-on state when the ATC drive shaft 46 has passed the 350 ° position, but the timing of switching to the servo-on state is limited to this. do not have. For example, in the machine tool 1, after the switching of the clamp mechanism portion from the clamp to the unclamp is completed and the ATC drive shaft 46 is rotated by a predetermined angle, for example, the tool change arm 44 is moved up at the ATC drive shaft 46 at the 280 ° position. When the dead point is reached, the spindle motor 8 may be switched from the servo-off state to the servo-on state, assuming that the next tool 202 is mounted on the spindle 7. The numerical control device 50 rotates the ATC drive shaft 46 by a predetermined angle after completing the switching of the clamp mechanism from the clamp to the unclamp, and then switches the spindle motor 8 from the servo-off state to the servo-on state. Since the numerical control device 50 can maintain the spindle motor 8 in the servo-off state for a period in which the ATC drive shaft 46 is rotated by a predetermined angle, power consumption can be reduced. Since the numerical control device 50 puts the spindle motor 8 in the servo-on state by the time the tool change operation is completed, the cutting operation of the machine tool 1 after the tool change operation can be performed without delay. The timing for switching the spindle motor 8 to the servo-on state may be any of the periods when the ATC drive shaft 46 is in the 91 ° position to 350 ° position or the 350 position to 360 ° position. Even in such a case, the numerical control device 50 can reduce the power consumption and perform the cutting operation after the tool change operation without delay during the servo-off state.

上記実施形態及び変形例の工作機械1の数値制御装置50は、ATCモータ45の回転角度をエンコーダ45Aが検出することで、ATC駆動軸46の回転角度を検出し、該回転角度からクランプ機構部及び工具交換アーム44の動作状態を検出したがこれに限らない。例えば、ATCモータ45が時間の経過と共に回転を続け、数値制御装置50はATCモータ45を回転した時間を検出することで、クランプ機構部及び工具交換アーム44の動作の状態を検出してもよい。数値制御装置50は主軸モータ8を駆動してからの経過時間をカウンタ等で検出することで、工具交換アーム44及びクランプ機構部の状態を検出する。数値制御装置50は、検出した工具交換アーム44及びクランプ機構部の状態に基づき、上記実施形態及び変形例で説明したタイミングで、主軸モータ8をサーボオン状態とサーボオフ状態に切り替えればよい。このような場合においても、数値制御装置50は、上記実施形態及び変形例と同様の効果を得ることができる。 The numerical control device 50 of the machine tool 1 of the above-described embodiment and modification detects the rotation angle of the ATC drive shaft 46 by detecting the rotation angle of the ATC motor 45 by the encoder 45A, and the clamp mechanism unit is detected from the rotation angle. And the operating state of the tool change arm 44 was detected, but the present invention is not limited to this. For example, the ATC motor 45 may continue to rotate with the passage of time, and the numerical control device 50 may detect the operating state of the clamp mechanism portion and the tool change arm 44 by detecting the time during which the ATC motor 45 has rotated. .. The numerical control device 50 detects the state of the tool change arm 44 and the clamp mechanism portion by detecting the elapsed time from driving the spindle motor 8 with a counter or the like. The numerical control device 50 may switch the spindle motor 8 between the servo-on state and the servo-off state at the timing described in the above-described embodiment and modification based on the detected state of the tool change arm 44 and the clamp mechanism portion. Even in such a case, the numerical control device 50 can obtain the same effects as those of the above-described embodiment and modification.

本実施形態はカム機構としてパラレルカム59と円柱部37の平面溝カム33を用い、カム機構で工具交換アーム44を待機位置から主軸7の現工具201と工具ポット41Aの次工具202を把持するまで回転し、該位置から180°回転した後、待機位置まで戻している。カム機構として、パラレルカム59をなくし、円柱部37の平面溝カム33のみで前述の動作を行ってもよい。 In this embodiment, a parallel cam 59 and a planar groove cam 33 of a cylindrical portion 37 are used as a cam mechanism, and the tool change arm 44 is gripped by the cam mechanism from the standby position to the current tool 201 of the spindle 7 and the next tool 202 of the tool pot 41A. After rotating to 180 ° from that position, it is returned to the standby position. As the cam mechanism, the parallel cam 59 may be eliminated, and the above-mentioned operation may be performed only by the planar groove cam 33 of the cylindrical portion 37.

上記説明にて、X軸方向、Y軸方向、Z軸方向は本発明の三軸方向の一例である。Z軸方向は本発明の一軸方向の一例である。上方は本発明の第一方向、下方は本発明の第二方向の一例である。主軸モータ8は本発明のサーボモータの一例である。ドローバ70、ピン71、揺動腕部材60は機構駆動部の一例である。ピン71は本発明のピンの一例である。操作部材47、プッシュロッド92は本発明の外力付与部の一例である。ATCモータ45は本発明の駆動部の一例である。揺動腕部材60は本発明のレバー部材の一例である。揺動腕部材60の縦腕部63は本発明の可動部の一例である。揺動腕部材60の横腕部62は本発明の押圧部の一例である。数値制御装置50は本発明のATC制御部の一例である。工具マガジン41の工具交換部は、本発明の所定位置の一例である。図9のS15の処理を行うCPU51は本発明のオフ制御部の一例である。S19の処理を行うCPU51は本発明のオン制御部の一例である。 In the above description, the X-axis direction, the Y-axis direction, and the Z-axis direction are examples of the three-axis directions of the present invention. The Z-axis direction is an example of the uniaxial direction of the present invention. The upper part is an example of the first direction of the present invention, and the lower part is an example of the second direction of the present invention. The spindle motor 8 is an example of the servo motor of the present invention. The draw bar 70, the pin 71, and the swing arm member 60 are examples of the mechanism drive unit. The pin 71 is an example of the pin of the present invention. The operation member 47 and the push rod 92 are examples of the external force applying portion of the present invention. The ATC motor 45 is an example of the drive unit of the present invention. The swing arm member 60 is an example of the lever member of the present invention. The vertical arm portion 63 of the swing arm member 60 is an example of the movable portion of the present invention. The lateral arm portion 62 of the swing arm member 60 is an example of the pressing portion of the present invention. The numerical control device 50 is an example of the ATC control unit of the present invention. The tool changing portion of the tool magazine 41 is an example of a predetermined position of the present invention. The CPU 51 that performs the processing of S15 in FIG. 9 is an example of the off control unit of the present invention. The CPU 51 that performs the processing of S19 is an example of the on-control unit of the present invention.

1 工作機械
6 主軸ヘッド
7 主軸
8 主軸モータ
40 ATC装置
41 工具マガジン
41A 工具ポット
45 ATCモータ
47 操作部材
50 数値制御装置
60 揺動腕部材
62 横腕部
63 縦腕部
70 ドローバ
71 ピン
92 プッシュロッド
201 現工具
202 次工具
1 Machine tool 6 Spindle head 7 Spindle 8 Spindle motor 40 ATC device 41 Tool magazine 41A Tool pot 45 ATC motor 47 Operation member 50 Numerical control device 60 Swing arm member 62 Horizontal arm 63 Vertical arm 70 Drawer 71 Pin 92 Push rod 201 Current tool 202 Secondary tool

Claims (5)

工具を着脱可能に支持する主軸と、
互いに直行する三軸方向に移動可能に設け、当該三軸方向のうち一軸方向に向けて前記主軸を回転可能に支持する主軸ヘッドと、
前記主軸ヘッドに設け、前記主軸を駆動するサーボモータと、
前記主軸に設け、前記主軸に装着する前記工具のクランプ及びアンクランプを行うクランプ機構部と、
前記主軸ヘッドに設け、前記クランプ機構部を駆動する為の外力を受ける機構駆動部と、
前記主軸ヘッドの移動範囲に近接して設け、前記主軸の工具交換動作を実行可能な工具交換装置と
を備えた工作機械の動作を制御するものであり、
前記機構駆動部は、
前記一軸方向に延び、前記クランプ機構部と接続する棒状のドローバと、
前記ドローバに設け、当該ドローバの直交する方向の両側に延出するピンと、
前記ドローバを、前記一軸方向に平行な方向であって、前記クランプ機構部が前記工具をクランプする第一方向に付勢するバネと、
前記主軸ヘッドに設け、一端に前記ピンを前記第一方向とは反対の第二方向に押圧可能な二股状の押圧部を有し、他端に前記外力を受ける可動部を有し、前記一端と前記他端の間を回動可能に軸支するレバー部材と
を備え、
前記可動部が前記外力を受けて、前記レバー部材が回動することにより、前記押圧部が前記ピンを押圧し、前記ドローバが前記バネの付勢力に抗して前記第二方向に移動することにより、前記クランプ機構部におけるクランプを解除してアンクランプするものであって、
前記工具交換装置は、
工具を収納可能な工具ポットを有し、次工具を収納する前記工具ポットを所定位置に移動する工具マガジンと、
前記一軸方向に直交する方向に延びるアーム両端部に前記工具を把持可能な一対の把持部を設け、前記一軸方向に平行に延びる旋回軸を中心に、前記一対の把持部が前記主軸に装着した現工具と前記所定位置に位置する前記次工具との間を旋回可能で、且つ前記旋回軸が延びる方向において移動可能な工具交換アームと、
前記工具交換アームを駆動する駆動部と、
前記駆動部の駆動力の一部を前記外力に変換し、前記可動部に付与することにより、前記機構駆動部を駆動する外力付与部と
を備え、
前記駆動部を制御することによって、前記工具交換動作を実行するATC制御部を備えた数値制御装置において、
前記サーボモータのオンオフを制御するモータ制御部を備え、
前記ATC制御部は、
前記サーボモータをオン状態で、前記駆動部を制御することにより、前記工具交換アームの旋回を開始すると共に、前記外力付与部によって前記可動部に前記外力を付与し、前記クランプ機構部をクランプからアンクランプに切替える動作を開始する旋回ステップと、
前記旋回ステップ後に、前記一対の把持部が前記現工具と前記次工具を把持する把持ステップと、
前記把持ステップ後に、前記クランプ機構部がクランプからアンクランプへの切替えを完了すると共に、前記一対の把持部が前記主軸及び前記工具ポットから離れる方向であって、前記一軸方向に平行な第三方向に前記工具交換アームを移動し、前記主軸及び前記工具ポットから前記現工具及び前記次工具を抜脱する工具抜脱ステップと、
前記工具抜脱ステップ後に、前記工具交換アームを旋回し、前記現工具と前記次工具の夫々の位置を入れ替えると共に、前記第三方向とは反対の第四方向に前記工具交換アームを移動し、前記主軸及び前記工具ポットに前記次工具と前記現工具を装着する装着ステップと
を含む前記工具交換動作を実行するものであり、
前記モータ制御部は、
前記把持ステップにて前記一対の把持部が前記現工具と前記次工具を把持したときから、前記工具抜脱ステップにて前記クランプ機構部がクランプからアンクランプへの切替えを完了するときまでの間に、前記サーボモータを前記オン状態からオフ状態に切り替えるオフ制御部を備え
前記モータ制御部の前記オフ制御部は、前記工具抜脱ステップにて前記クランプ機構部がクランプからアンクランプへの切替えを完了する直前で、前記サーボモータを前記オン状態から前記オフ状態に切り替えること
を特徴とする数値制御装置。
A spindle that supports the tool detachably and
A spindle head that is movably provided in three axial directions perpendicular to each other and rotatably supports the spindle in one of the three axial directions.
A servomotor provided on the spindle head to drive the spindle, and
A clamp mechanism portion provided on the spindle and for clamping and unclamping the tool mounted on the spindle.
A mechanism drive unit provided on the spindle head and receiving an external force for driving the clamp mechanism unit, and a mechanism drive unit.
It controls the operation of a machine tool provided close to the moving range of the spindle head and equipped with a tool changing device capable of performing a tool changing operation of the spindle.
The mechanism drive unit is
A rod-shaped drawbar that extends in the uniaxial direction and is connected to the clamp mechanism portion,
Pins provided on the drawbar and extending on both sides in the orthogonal direction of the drawbar, and
A spring that urges the drawbar in a direction parallel to the uniaxial direction and in which the clamp mechanism portion clamps the tool in the first direction.
The spindle head is provided, and one end thereof has a bifurcated pressing portion capable of pressing the pin in a second direction opposite to the first direction, and the other end has a movable portion that receives the external force. A lever member that rotatably supports between the other end and the other end is provided.
When the movable portion receives the external force and the lever member rotates, the pressing portion presses the pin, and the drawbar moves in the second direction against the urging force of the spring. Therefore, the clamp in the clamp mechanism portion is released and unclamped.
The tool changer is
A tool magazine that has a tool pot that can store tools and moves the tool pot that stores the next tool to a predetermined position.
A pair of grips capable of gripping the tool are provided at both ends of an arm extending in a direction orthogonal to the uniaxial direction, and the pair of grips are mounted on the spindle around a swivel shaft extending parallel to the uniaxial direction. A tool change arm that can swivel between the current tool and the next tool located at the predetermined position and can move in the direction in which the swivel shaft extends.
The drive unit that drives the tool change arm and
A part of the driving force of the driving unit is converted into the external force and applied to the movable portion to provide an external force applying unit for driving the mechanism driving unit.
In a numerical control device including an ATC control unit that executes the tool change operation by controlling the drive unit.
A motor control unit for controlling the on / off of the servo motor is provided.
The ATC control unit
By controlling the drive unit with the servomotor turned on, the tool exchange arm starts to turn, and the external force is applied to the movable portion by the external force applying portion, and the clamp mechanism portion is clamped from the clamp. A turning step that starts the operation to switch to unclamp, and
After the turning step, the gripping step in which the pair of gripping portions grips the current tool and the next tool,
After the gripping step, the clamp mechanism portion completes the switching from the clamp to the unclamp, and the pair of gripping portions are in a direction away from the spindle and the tool pot, and are in a third direction parallel to the uniaxial direction. A tool removal step of moving the tool exchange arm to remove the current tool and the next tool from the spindle and the tool pot.
After the tool removal step, the tool change arm is swiveled to switch the positions of the current tool and the next tool, and the tool change arm is moved in the fourth direction opposite to the third direction. The tool exchange operation including the mounting step of mounting the next tool and the current tool on the spindle and the tool pot is executed.
The motor control unit
From the time when the pair of grips grips the current tool and the next tool in the grip step to the time when the clamp mechanism unit completes the switching from the clamp to the unclamp in the tool removal step. Also provided with an off control unit that switches the servomotor from the on state to the off state.
The off control unit of the motor control unit switches the servomotor from the on state to the off state immediately before the clamp mechanism unit completes the switching from the clamp to the unclamp in the tool removal step.
Numerical control device featuring.
前記モータ制御部は、前記工具抜脱ステップにて前記クランプ機構部をクランプからアンクランプへの切替えを完了した後、前記サーボモータを前記オフ状態から前記オン状態に切り替えるオン制御部を備え、
前記オン制御部は、前記装着ステップにて前記主軸及び前記工具ポットに前記次工具と前記現工具を夫々装着した後、前記サーボモータを前記オフ状態から前記オン状態に切り替えること
を特徴とする請求項に記載の数値制御装置。
The motor control unit includes an on control unit that switches the servomotor from the off state to the on state after completing the switching of the clamp mechanism unit from the clamp to the unclamp in the tool removal step.
The on control unit is characterized in that, after mounting the next tool and the current tool on the spindle and the tool pot in the mounting step, the servomotor is switched from the off state to the on state. Item 1. The numerical control device according to Item 1.
工具を着脱可能に支持する主軸と、
互いに直行する三軸方向に移動可能に設け、当該三軸方向のうち一軸方向に向けて前記主軸を回転可能に支持する主軸ヘッドと、
前記主軸ヘッドに設け、前記主軸を駆動するサーボモータと、
前記主軸に設け、前記主軸に装着する前記工具のクランプ及びアンクランプを行うクランプ機構部と、
前記主軸ヘッドに設け、前記クランプ機構部を駆動する為の外力を受ける機構駆動部と、
前記主軸ヘッドの移動範囲に近接して設け、前記主軸の工具交換動作を実行可能な工具交換装置と
を備えた工作機械の動作を制御するものであり、
前記機構駆動部は、
前記一軸方向に延び、前記クランプ機構部と接続する棒状のドローバと、
前記ドローバに設け、当該ドローバの直交する方向の両側に延出するピンと、
前記ドローバを、前記一軸方向に平行な方向であって、前記クランプ機構部が前記工具をクランプする第一方向に付勢するバネと、
前記主軸ヘッドに設け、一端に前記ピンを前記第一方向とは反対の第二方向に押圧可能な二股状の押圧部を有し、他端に前記外力を受ける可動部を有し、前記一端と前記他端の間を回動可能に軸支するレバー部材と
を備え、
前記可動部が前記外力を受けて、前記レバー部材が回動することにより、前記押圧部が前記ピンを押圧し、前記ドローバが前記バネの付勢力に抗して前記第二方向に移動することにより、前記クランプ機構部におけるクランプを解除してアンクランプするものであって、
前記工具交換装置は、
工具を収納可能な工具ポットを有し、次工具を収納する前記工具ポットを所定位置に移動する工具マガジンと、
前記一軸方向に直交する方向に延びるアーム両端部に前記工具を把持可能な一対の把持部を設け、前記一軸方向に平行に延びる旋回軸を中心に、前記一対の把持部が前記主軸に装着した現工具と前記所定位置に位置する前記次工具との間を旋回可能で、且つ前記旋回軸が延びる方向において移動可能な工具交換アームと、
前記工具交換アームを駆動する駆動部と、
前記駆動部の駆動力の一部を前記外力に変換し、前記可動部に付与することにより、前記機構駆動部を駆動する外力付与部と
を備え、
前記駆動部を制御することによって、前記工具交換動作を実行するATC制御部を備えた数値制御装置において、
前記サーボモータのオンオフを制御するモータ制御部を備え、
前記ATC制御部は、
前記サーボモータをオン状態で、前記駆動部を制御することにより、前記工具交換アームの旋回を開始すると共に、前記外力付与部によって前記可動部に前記外力を付与し、前記クランプ機構部をクランプからアンクランプに切替える動作を開始する旋回ステップと、
前記旋回ステップ後に、前記一対の把持部が前記現工具と前記次工具を把持する把持ステップと、
前記把持ステップ後に、前記クランプ機構部がクランプからアンクランプへの切替えを完了すると共に、前記一対の把持部が前記主軸及び前記工具ポットから離れる方向であって、前記一軸方向に平行な第三方向に前記工具交換アームを移動し、前記主軸及び前記工具ポットから前記現工具及び前記次工具を抜脱する工具抜脱ステップと、
前記工具抜脱ステップ後に、前記工具交換アームを旋回し、前記現工具と前記次工具の夫々の位置を入れ替えると共に、前記第三方向とは反対の第四方向に前記工具交換アームを移動し、前記主軸及び前記工具ポットに前記次工具と前記現工具を装着する装着ステップと
を含む前記工具交換動作を実行するものであり、
前記モータ制御部は、
前記把持ステップにて前記一対の把持部が前記現工具と前記次工具を把持したときから、前記工具抜脱ステップにて前記クランプ機構部がクランプからアンクランプへの切替えを完了するときまでの間に、前記サーボモータを前記オン状態からオフ状態に切り替えるオフ制御部を備え、
前記モータ制御部は、前記工具抜脱ステップにて前記クランプ機構部をクランプからアンクランプへの切替えを完了した後、前記サーボモータを前記オフ状態から前記オン状態に切り替えるオン制御部を備え、
前記オン制御部は、前記装着ステップにて前記主軸及び前記工具ポットに前記次工具と前記現工具を夫々装着した後、前記サーボモータを前記オフ状態から前記オン状態に切り替えること
を特徴とする数値制御装置。
A spindle that supports the tool detachably and
A spindle head that is movably provided in three axial directions perpendicular to each other and rotatably supports the spindle in one of the three axial directions.
A servomotor provided on the spindle head to drive the spindle, and
A clamp mechanism portion provided on the spindle and for clamping and unclamping the tool mounted on the spindle.
A mechanism drive unit provided on the spindle head and receiving an external force for driving the clamp mechanism unit, and a mechanism drive unit.
It controls the operation of a machine tool provided close to the moving range of the spindle head and equipped with a tool changing device capable of performing a tool changing operation of the spindle.
The mechanism drive unit is
A rod-shaped drawbar that extends in the uniaxial direction and is connected to the clamp mechanism portion,
Pins provided on the drawbar and extending on both sides in the orthogonal direction of the drawbar, and
A spring that urges the drawbar in a direction parallel to the uniaxial direction and in which the clamp mechanism portion clamps the tool in the first direction.
The spindle head is provided, and one end thereof has a bifurcated pressing portion capable of pressing the pin in a second direction opposite to the first direction, and the other end has a movable portion that receives the external force. A lever member that rotatably supports between the other end and the other end is provided.
When the movable portion receives the external force and the lever member rotates, the pressing portion presses the pin, and the drawbar moves in the second direction against the urging force of the spring. Therefore, the clamp in the clamp mechanism portion is released and unclamped.
The tool changer is
A tool magazine that has a tool pot that can store tools and moves the tool pot that stores the next tool to a predetermined position.
A pair of grips capable of gripping the tool are provided at both ends of an arm extending in a direction orthogonal to the uniaxial direction, and the pair of grips are mounted on the spindle around a swivel shaft extending parallel to the uniaxial direction. A tool change arm that can swivel between the current tool and the next tool located at the predetermined position and can move in the direction in which the swivel shaft extends.
The drive unit that drives the tool change arm and
A part of the driving force of the driving unit is converted into the external force and applied to the movable portion to provide an external force applying unit for driving the mechanism driving unit.
In a numerical control device including an ATC control unit that executes the tool change operation by controlling the drive unit.
A motor control unit for controlling the on / off of the servo motor is provided.
The ATC control unit
By controlling the drive unit with the servomotor turned on, the tool exchange arm starts to turn, and the external force is applied to the movable portion by the external force applying portion, and the clamp mechanism portion is clamped from the clamp. A turning step that starts the operation to switch to unclamp, and
After the turning step, the gripping step in which the pair of gripping portions grips the current tool and the next tool,
After the gripping step, the clamp mechanism portion completes the switching from the clamp to the unclamp, and the pair of gripping portions are in a direction away from the spindle and the tool pot, and are in a third direction parallel to the uniaxial direction. A tool removal step of moving the tool exchange arm to remove the current tool and the next tool from the spindle and the tool pot.
After the tool removal step, the tool change arm is swiveled to switch the positions of the current tool and the next tool, and the tool change arm is moved in the fourth direction opposite to the third direction. The tool exchange operation including the mounting step of mounting the next tool and the current tool on the spindle and the tool pot is executed.
The motor control unit
From the time when the pair of grips grips the current tool and the next tool in the grip step to the time when the clamp mechanism unit completes the switching from the clamp to the unclamp in the tool removal step. Also provided with an off control unit that switches the servomotor from the on state to the off state.
The motor control unit includes an on control unit that switches the servomotor from the off state to the on state after completing the switching of the clamp mechanism unit from the clamp to the unclamp in the tool removal step.
The on control unit switches the servomotor from the off state to the on state after mounting the next tool and the current tool on the spindle and the tool pot, respectively, in the mounting step.
Numerical control device featuring.
工具を着脱可能に支持する主軸と、
互いに直行する三軸方向に移動可能に設け、当該三軸方向のうち一軸方向に向けて前記主軸を回転可能に支持する主軸ヘッドと、
前記主軸ヘッドに設け、前記主軸を駆動するサーボモータと、
前記主軸に設け、前記主軸に装着する前記工具のクランプ及びアンクランプを行うクランプ機構部と、
前記主軸ヘッドに設け、前記クランプ機構部を駆動する為の外力を受ける機構駆動部と、
前記主軸ヘッドの移動範囲に近接して設け、前記主軸の工具交換動作を実行可能な工具交換装置と
を備えた工作機械の動作を制御するものであり、
前記機構駆動部は、
前記一軸方向に延び、前記クランプ機構部と接続する棒状のドローバと、
前記ドローバに設け、当該ドローバの直交する方向の両側に延出するピンと、
前記ドローバを、前記一軸方向に平行な方向であって、前記クランプ機構部が前記工具をクランプする第一方向に付勢するバネと、
前記主軸ヘッドに設け、一端に前記ピンを前記第一方向とは反対の第二方向に押圧可能な二股状の押圧部を有し、他端に前記外力を受ける可動部を有し、前記一端と前記他端の間を回動可能に軸支するレバー部材と
を備え、
前記可動部が前記外力を受けて、前記レバー部材が回動することにより、前記押圧部が前記ピンを押圧し、前記ドローバが前記バネの付勢力に抗して前記第二方向に移動することにより、前記クランプ機構部におけるクランプを解除してアンクランプするものであって、
前記工具交換装置は、
工具を収納可能な工具ポットを有し、次工具を収納する前記工具ポットを所定位置に移動する工具マガジンと、
前記一軸方向に直交する方向に延びるアーム両端部に前記工具を把持可能な一対の把持部を設け、前記一軸方向に平行に延びる旋回軸を中心に、前記一対の把持部が前記主軸に装着した現工具と前記所定位置に位置する前記次工具との間を旋回可能で、且つ前記旋回軸が延びる方向において移動可能な工具交換アームと、
前記工具交換アームを駆動する駆動部と、
前記駆動部の駆動力の一部を前記外力に変換し、前記可動部に付与することにより、前記機構駆動部を駆動する外力付与部と
を備え、
前記駆動部を制御することによって、前記工具交換動作を実行可能なATC制御ステップを実行する数値制御装置の制御方法において、
前記サーボモータのオンオフを制御するモータ制御ステップを備え、
前記ATC制御ステップは、
前記サーボモータをオン状態で、前記駆動部を制御することにより、前記工具交換アームの旋回を開始すると共に、前記外力付与部によって前記可動部に前記外力を付与し、前記クランプ機構部をクランプからアンクランプに切替える動作を開始する旋回ステップと、
前記旋回ステップ後に、前記一対の把持部が前記現工具と前記次工具を把持する把持ステップと、
前記把持ステップ後に、前記クランプ機構部がクランプからアンクランプへの切替えを完了すると共に、前記一対の把持部が前記主軸及び前記工具ポットから離れる方向であって、前記一軸方向に平行な第三方向に前記工具交換アームを移動し、前記主軸及び前記工具ポットから前記現工具及び前記次工具を抜脱する工具抜脱ステップと、
前記工具抜脱ステップ後に、前記工具交換アームを旋回し、前記現工具と前記次工具の夫々の位置を入れ替えると共に、前記第三方向とは反対の第四方向に前記工具交換アームを移動し、前記主軸及び前記工具ポットに前記次工具と前記現工具を装着する装着ステップと
を含み、
前記モータ制御ステップは、
前記把持ステップにて前記一対の把持部が前記現工具と前記次工具を把持したときから、前記工具抜脱ステップにて前記クランプ機構部がクランプからアンクランプへの切替えを完了するときまでの間に、前記サーボモータを前記オン状態からオフ状態に切り替えるオフ制御ステップを備え
前記モータ制御ステップの前記オフ制御ステップは、前記工具抜脱ステップにて前記クランプ機構部がクランプからアンクランプへの切替えを完了する直前で、前記サーボモータを前記オン状態から前記オフ状態に切り替えること
を特徴とする制御方法。
A spindle that supports the tool detachably and
A spindle head that is movably provided in three axial directions perpendicular to each other and rotatably supports the spindle in one of the three axial directions.
A servomotor provided on the spindle head to drive the spindle, and
A clamp mechanism portion provided on the spindle and for clamping and unclamping the tool mounted on the spindle.
A mechanism drive unit provided on the spindle head and receiving an external force for driving the clamp mechanism unit, and a mechanism drive unit.
It controls the operation of a machine tool provided close to the moving range of the spindle head and equipped with a tool changing device capable of performing a tool changing operation of the spindle.
The mechanism drive unit is
A rod-shaped drawbar that extends in the uniaxial direction and is connected to the clamp mechanism portion,
Pins provided on the drawbar and extending on both sides in the orthogonal direction of the drawbar, and
A spring that urges the drawbar in a direction parallel to the uniaxial direction and in which the clamp mechanism portion clamps the tool in the first direction.
The spindle head is provided, and one end thereof has a bifurcated pressing portion capable of pressing the pin in a second direction opposite to the first direction, and the other end has a movable portion that receives the external force. A lever member that rotatably supports between the other end and the other end is provided.
When the movable portion receives the external force and the lever member rotates, the pressing portion presses the pin, and the drawbar moves in the second direction against the urging force of the spring. Therefore, the clamp in the clamp mechanism portion is released and unclamped.
The tool changer is
A tool magazine that has a tool pot that can store tools and moves the tool pot that stores the next tool to a predetermined position.
A pair of grips capable of gripping the tool are provided at both ends of an arm extending in a direction orthogonal to the uniaxial direction, and the pair of grips are mounted on the spindle around a swivel shaft extending parallel to the uniaxial direction. A tool change arm that can swivel between the current tool and the next tool located at the predetermined position and can move in the direction in which the swivel shaft extends.
The drive unit that drives the tool change arm and
A part of the driving force of the driving unit is converted into the external force and applied to the movable portion to provide an external force applying unit for driving the mechanism driving unit.
In a control method of a numerical control device that executes an ATC control step capable of executing the tool change operation by controlling the drive unit.
A motor control step for controlling the on / off of the servomotor is provided.
The ATC control step is
By controlling the drive unit with the servomotor turned on, the tool exchange arm starts to turn, and the external force is applied to the movable portion by the external force applying portion, and the clamp mechanism portion is clamped from the clamp. A turning step that starts the operation to switch to unclamp, and
After the turning step, the gripping step in which the pair of gripping portions grips the current tool and the next tool,
After the gripping step, the clamp mechanism portion completes the switching from the clamp to the unclamp, and the pair of gripping portions are in a direction away from the spindle and the tool pot, and are in a third direction parallel to the uniaxial direction. A tool removal step of moving the tool exchange arm to remove the current tool and the next tool from the spindle and the tool pot.
After the tool removal step, the tool change arm is swiveled to switch the positions of the current tool and the next tool, and the tool change arm is moved in the fourth direction opposite to the third direction. The spindle and the tool pot include the next tool and a mounting step for mounting the current tool.
The motor control step is
From the time when the pair of grips grips the current tool and the next tool in the grip step to the time when the clamp mechanism unit completes the switching from the clamp to the unclamp in the tool removal step. In addition, an off control step for switching the servomotor from the on state to the off state is provided .
In the off control step of the motor control step, the servomotor is switched from the on state to the off state immediately before the clamp mechanism unit completes the switching from the clamp to the unclamp in the tool removal step.
A control method characterized by.
工具を着脱可能に支持する主軸と、
互いに直行する三軸方向に移動可能に設け、当該三軸方向のうち一軸方向に向けて前記主軸を回転可能に支持する主軸ヘッドと、
前記主軸ヘッドに設け、前記主軸を駆動するサーボモータと、
前記主軸に設け、前記主軸に装着する前記工具のクランプ及びアンクランプを行うクランプ機構部と、
前記主軸ヘッドに設け、前記クランプ機構部を駆動する為の外力を受ける機構駆動部と、
前記主軸ヘッドの移動範囲に近接して設け、前記主軸の工具交換動作を実行可能な工具交換装置と
を備えた工作機械の動作を制御するものであり、
前記機構駆動部は、
前記一軸方向に延び、前記クランプ機構部と接続する棒状のドローバと、
前記ドローバに設け、当該ドローバの直交する方向の両側に延出するピンと、
前記ドローバを、前記一軸方向に平行な方向であって、前記クランプ機構部が前記工具をクランプする第一方向に付勢するバネと、
前記主軸ヘッドに設け、一端に前記ピンを前記第一方向とは反対の第二方向に押圧可能な二股状の押圧部を有し、他端に前記外力を受ける可動部を有し、前記一端と前記他端の間を回動可能に軸支するレバー部材と
を備え、
前記可動部が前記外力を受けて、前記レバー部材が回動することにより、前記押圧部が前記ピンを押圧し、前記ドローバが前記バネの付勢力に抗して前記第二方向に移動することにより、前記クランプ機構部におけるクランプを解除してアンクランプするものであって、
前記工具交換装置は、
工具を収納可能な工具ポットを有し、次工具を収納する前記工具ポットを所定位置に移動する工具マガジンと、
前記一軸方向に直交する方向に延びるアーム両端部に前記工具を把持可能な一対の把持部を設け、前記一軸方向に平行に延びる旋回軸を中心に、前記一対の把持部が前記主軸に装着した現工具と前記所定位置に位置する前記次工具との間を旋回可能で、且つ前記旋回軸が延びる方向において移動可能な工具交換アームと、
前記工具交換アームを駆動する駆動部と、
前記駆動部の駆動力の一部を前記外力に変換し、前記可動部に付与することにより、前記機構駆動部を駆動する外力付与部と
を備え、
前記駆動部を制御することによって、前記工具交換動作を実行可能なATC制御ステップを実行する数値制御装置の制御方法において、
前記サーボモータのオンオフを制御するモータ制御ステップを備え、
前記ATC制御ステップは、
前記サーボモータをオン状態で、前記駆動部を制御することにより、前記工具交換アームの旋回を開始すると共に、前記外力付与部によって前記可動部に前記外力を付与し、前記クランプ機構部をクランプからアンクランプに切替える動作を開始する旋回ステップと、
前記旋回ステップ後に、前記一対の把持部が前記現工具と前記次工具を把持する把持ステップと、
前記把持ステップ後に、前記クランプ機構部がクランプからアンクランプへの切替えを完了すると共に、前記一対の把持部が前記主軸及び前記工具ポットから離れる方向であって、前記一軸方向に平行な第三方向に前記工具交換アームを移動し、前記主軸及び前記工具ポットから前記現工具及び前記次工具を抜脱する工具抜脱ステップと、
前記工具抜脱ステップ後に、前記工具交換アームを旋回し、前記現工具と前記次工具の夫々の位置を入れ替えると共に、前記第三方向とは反対の第四方向に前記工具交換アームを移動し、前記主軸及び前記工具ポットに前記次工具と前記現工具を装着する装着ステップと
を含み、
前記モータ制御ステップは、
前記把持ステップにて前記一対の把持部が前記現工具と前記次工具を把持したときから、前記工具抜脱ステップにて前記クランプ機構部がクランプからアンクランプへの切替えを完了するときまでの間に、前記サーボモータを前記オン状態からオフ状態に切り替えるオフ制御ステップを備え、
前記モータ制御ステップは、前記工具抜脱ステップにて前記クランプ機構部をクランプからアンクランプへの切替えを完了した後、前記サーボモータを前記オフ状態から前記オン状態に切り替えるオン制御ステップを備え、
前記オン制御ステップは、前記装着ステップにて前記主軸及び前記工具ポットに前記次工具と前記現工具を夫々装着した後、前記サーボモータを前記オフ状態から前記オン状態に切り替えること
を特徴とする制御方法。
A spindle that supports the tool detachably and
A spindle head that is movably provided in three axial directions perpendicular to each other and rotatably supports the spindle in one of the three axial directions.
A servomotor provided on the spindle head to drive the spindle, and
A clamp mechanism portion provided on the spindle and for clamping and unclamping the tool mounted on the spindle.
A mechanism drive unit provided on the spindle head and receiving an external force for driving the clamp mechanism unit, and a mechanism drive unit.
It controls the operation of a machine tool provided close to the moving range of the spindle head and equipped with a tool changing device capable of performing a tool changing operation of the spindle.
The mechanism drive unit is
A rod-shaped drawbar that extends in the uniaxial direction and is connected to the clamp mechanism portion,
Pins provided on the drawbar and extending on both sides in the orthogonal direction of the drawbar, and
A spring that urges the drawbar in a direction parallel to the uniaxial direction and in which the clamp mechanism portion clamps the tool in the first direction.
The spindle head is provided, and one end thereof has a bifurcated pressing portion capable of pressing the pin in a second direction opposite to the first direction, and the other end has a movable portion that receives the external force. A lever member that rotatably supports between the other end and the other end is provided.
When the movable portion receives the external force and the lever member rotates, the pressing portion presses the pin, and the drawbar moves in the second direction against the urging force of the spring. Therefore, the clamp in the clamp mechanism portion is released and unclamped.
The tool changer is
A tool magazine that has a tool pot that can store tools and moves the tool pot that stores the next tool to a predetermined position.
A pair of grips capable of gripping the tool are provided at both ends of an arm extending in a direction orthogonal to the uniaxial direction, and the pair of grips are mounted on the spindle around a swivel shaft extending parallel to the uniaxial direction. A tool change arm that can swivel between the current tool and the next tool located at the predetermined position and can move in the direction in which the swivel shaft extends.
The drive unit that drives the tool change arm and
A part of the driving force of the driving unit is converted into the external force and applied to the movable portion to provide an external force applying unit for driving the mechanism driving unit.
In a control method of a numerical control device that executes an ATC control step capable of executing the tool change operation by controlling the drive unit.
A motor control step for controlling the on / off of the servomotor is provided.
The ATC control step is
By controlling the drive unit with the servomotor turned on, the tool exchange arm starts to turn, and the external force is applied to the movable portion by the external force applying portion, and the clamp mechanism portion is clamped from the clamp. A turning step that starts the operation to switch to unclamp, and
After the turning step, the gripping step in which the pair of gripping portions grips the current tool and the next tool,
After the gripping step, the clamp mechanism portion completes the switching from the clamp to the unclamp, and the pair of gripping portions are in a direction away from the spindle and the tool pot, and are in a third direction parallel to the uniaxial direction. A tool removal step of moving the tool exchange arm to remove the current tool and the next tool from the spindle and the tool pot.
After the tool removal step, the tool change arm is swiveled to switch the positions of the current tool and the next tool, and the tool change arm is moved in the fourth direction opposite to the third direction. The spindle and the tool pot include the next tool and a mounting step for mounting the current tool.
The motor control step is
From the time when the pair of grips grips the current tool and the next tool in the grip step to the time when the clamp mechanism unit completes the switching from the clamp to the unclamp in the tool removal step. In addition, an off control step for switching the servomotor from the on state to the off state is provided.
The motor control step includes an on control step for switching the servomotor from the off state to the on state after the switching of the clamp mechanism portion from the clamp to the unclamp is completed in the tool removal step.
In the on control step, after the next tool and the current tool are mounted on the spindle and the tool pot in the mounting step, the servomotor is switched from the off state to the on state.
A control method characterized by.
JP2018185237A 2018-09-28 2018-09-28 Numerical control device and control method Active JP7091979B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2018185237A JP7091979B2 (en) 2018-09-28 2018-09-28 Numerical control device and control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2018185237A JP7091979B2 (en) 2018-09-28 2018-09-28 Numerical control device and control method

Publications (2)

Publication Number Publication Date
JP2020055046A JP2020055046A (en) 2020-04-09
JP7091979B2 true JP7091979B2 (en) 2022-06-28

Family

ID=70106342

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2018185237A Active JP7091979B2 (en) 2018-09-28 2018-09-28 Numerical control device and control method

Country Status (1)

Country Link
JP (1) JP7091979B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115070482B (en) * 2022-07-23 2023-09-05 超同步股份有限公司 Servo tool magazine control method and system and electronic equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000084712A (en) 1998-09-10 2000-03-28 Toyoda Mach Works Ltd Machine tool equipped with two tool spindle heads
JP2006095627A (en) 2004-09-29 2006-04-13 Brother Ind Ltd Machine tool and method of exchanging tool of machine tool
JP2006106849A (en) 2004-09-30 2006-04-20 Brother Ind Ltd Machine tool
JP2007160444A (en) 2005-12-12 2007-06-28 Nippei Toyama Corp Machining center
JP2018106350A (en) 2016-12-26 2018-07-05 ブラザー工業株式会社 Numerical control unit and control method

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4426763A (en) * 1981-08-28 1984-01-24 Aerotech, Incorporated Tool changer
JPS5980172A (en) * 1982-10-26 1984-05-09 Fanuc Ltd Control system for main shaft motor
JPS63123646A (en) * 1986-11-12 1988-05-27 Brother Ind Ltd Tool replacing device
JPH0822488B2 (en) * 1989-09-04 1996-03-06 ブラザー工業株式会社 Machine Tools

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000084712A (en) 1998-09-10 2000-03-28 Toyoda Mach Works Ltd Machine tool equipped with two tool spindle heads
JP2006095627A (en) 2004-09-29 2006-04-13 Brother Ind Ltd Machine tool and method of exchanging tool of machine tool
JP2006106849A (en) 2004-09-30 2006-04-20 Brother Ind Ltd Machine tool
JP2007160444A (en) 2005-12-12 2007-06-28 Nippei Toyama Corp Machining center
JP2018106350A (en) 2016-12-26 2018-07-05 ブラザー工業株式会社 Numerical control unit and control method

Also Published As

Publication number Publication date
JP2020055046A (en) 2020-04-09

Similar Documents

Publication Publication Date Title
KR101511936B1 (en) Button feeder
JP6051937B2 (en) Numerical controller
JP6212905B2 (en) Machine Tools
JP2006297520A (en) Multi-axis spherical grinding device and grinding method
JP7091979B2 (en) Numerical control device and control method
JP2014161986A (en) Machine tool and tool changing method
US5091622A (en) Compound machining method and apparatus
JP7014115B2 (en) Numerical control device and control method
JP5356879B2 (en) Machine tool system model switching method and apparatus
JP7070288B2 (en) Numerical control device and control method
JP7226301B2 (en) Numerical controller, control method, and storage medium
JP7192735B2 (en) Numerical controller and control method for numerical controller
JP2012125884A (en) Automatic set-up change device for tool clamper
KR102121068B1 (en) Apparatus of milling including jig
CN109570533B (en) Machine tool
JP7176495B2 (en) Numerical controller and control method
KR101093101B1 (en) Automatic manufacturing apparatus for contactlens
JP2020064904A (en) Component supply device and component loading device
JP7259645B2 (en) Numerical controller and control method
JP2013193184A (en) Machine tool
JP3165158U (en) Machine tool with a boring bar magazine
US11780040B2 (en) Machine tool
JPH0691419A (en) Six surface machining method
JP4980384B2 (en) Injection molding correction system
JP2014046394A (en) Tool holder and machine tool allowing the same to be attached thereto

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20210216

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20211029

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20211102

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20211223

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: 20220517

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20220530

R150 Certificate of patent or registration of utility model

Ref document number: 7091979

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150