[go: up one dir, main page]

JP2004001229A - NC machine tools - Google Patents

NC machine tools Download PDF

Info

Publication number
JP2004001229A
JP2004001229A JP2003282106A JP2003282106A JP2004001229A JP 2004001229 A JP2004001229 A JP 2004001229A JP 2003282106 A JP2003282106 A JP 2003282106A JP 2003282106 A JP2003282106 A JP 2003282106A JP 2004001229 A JP2004001229 A JP 2004001229A
Authority
JP
Japan
Prior art keywords
spindle
main shaft
tool
movement
condition
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2003282106A
Other languages
Japanese (ja)
Inventor
Masakatsu Ota
太田 昌克
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.)
DMG Mori Co Ltd
Original Assignee
Mori Seiki Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Mori Seiki Co Ltd filed Critical Mori Seiki Co Ltd
Priority to JP2003282106A priority Critical patent/JP2004001229A/en
Publication of JP2004001229A publication Critical patent/JP2004001229A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Automatic Tool Replacement In Machine Tools (AREA)

Abstract

 【課題】 スピーディに主軸を移動させることができるNC工作機械の提供。
 【解決手段】 移動可能な主軸24と、 その主軸24を駆動させる駆動手段と、主軸移動により、主軸10に装着された工具Tと係合離脱可能な把持爪33と、前記主軸24の工具交換位置への移動に関して、前記主軸24が所定の位置に到達したのち、オリエンテーションが完了したかどうかを判断する判断手段と、主軸24が移動中に、判断手段の判断結果に基づき、オリエンテーションが完了していない場合は、駆動手段に主軸24の減速または停止指示を出力し、オリエンテーションが完了した場合は、前記移動を継続させる制御手段と、を備える。
【選択図】 図3
PROBLEM TO BE SOLVED: To provide an NC machine tool capable of moving a main shaft quickly.
SOLUTION: A movable main shaft 24, a driving means for driving the main shaft 24, a gripper 33 which can be disengaged from a tool T mounted on the main shaft 10 by moving the main shaft, and a tool exchange of the main shaft 24 With respect to the movement to the position, after the main shaft 24 reaches a predetermined position, a determination means for determining whether or not the orientation is completed, and while the main shaft 24 is moving, the orientation is completed based on the determination result of the determination means. If not, a control means for outputting an instruction to decelerate or stop the spindle 24 to the driving means, and continuing the movement if the orientation is completed.
[Selection diagram] FIG.

Description

 本発明は、NC工作機械に関するものである。 The present invention relates to an NC machine tool.

 従来、工作が終了した主軸の工具を交換する場合、主軸を工具マガジンの存在する場所まで移動させるが、その際、工具マガジンの把持爪で工具を把握して工具を交換できるためには、主軸の回転位相(回転角度位)が、把持爪が工具を正しく把持できる位相になっている必要がある。 Conventionally, when changing the tool of the spindle after machining, the spindle is moved to the place where the tool magazine exists, but at this time, it is necessary to grasp the tool with the gripper of the tool magazine and change the tool. It is necessary that the rotation phase (rotational angle position) is a phase at which the gripper can correctly grip the tool.

 そのため、従来は、工具マガジンの把持爪が正しく工具を把持し交換できるように、主軸を回転させ、その作業が完了してから、主軸を工具マガジンの場所まで移動していた。 Therefore, conventionally, the spindle was rotated so that the gripping claws of the tool magazine could properly grasp and exchange the tool, and after the operation was completed, the spindle was moved to the location of the tool magazine.

 しかしながら、主軸の回転動作が完了するまで、全く主軸を移動させることができず、指令位置に到達するのに時間を要するという課題があった。 However, there is a problem that the spindle cannot be moved at all until the rotation of the spindle is completed, and it takes time to reach the command position.

 本発明は以上のような従来のNC工作機械における課題を考慮し、主軸の指令位置到達時間を短縮させることのできるNC工作機械を提供することを目的とする。 The present invention has been made in consideration of the above-described problems of the conventional NC machine tool, and has as its object to provide an NC machine tool capable of shortening the time required to reach a command position of a spindle.

 本発明は、移動可能な主軸と、その主軸を駆動させる駆動手段と、前記主軸移動により、前記主軸に装着された工具と係合離脱可能な把持爪と、前記主軸の工具交換位置への移動に関して、前記主軸が所定の位置に到達したのち、オリエンテーションが完了したかどうかを判断する判断手段と、前記主軸が移動中に、前記判断手段の判断結果に基づき、オリエンテーションが完了していない場合は、前記駆動手段に前記主軸の減速または停止指示を出力し、オリエンテーションが完了した場合は、前記移動を継続させる制御手段と、を備えたことを特徴とするNC工作機械である。 The present invention provides a movable spindle, a driving means for driving the spindle, a gripper which can be disengaged from a tool mounted on the spindle by the spindle movement, and a movement of the spindle to a tool changing position. With respect to the above, after the spindle reaches a predetermined position, determining means for determining whether or not the orientation is completed, and when the spindle is moving, based on the determination result of the determination means, if the orientation is not completed, And a control means for outputting an instruction to decelerate or stop the spindle to the drive means, and for continuing the movement when the orientation is completed, the NC machine tool.

 以上説明したことから明かなように、本発明によれば、主軸の移動を迅速に行わせることが可能となる。 As is clear from the above description, according to the present invention, it is possible to quickly move the spindle.

 図1は、本発明の実施例に係るNC工作機械の基本的構成を示すブロック図である。同図において、NC工作機械は、主軸の軸移動における位置座標(主軸現在位置)を演算し、位置データを送出する位置演算部1と、主軸の侵入判断を行う位置座標(判断位置)を記憶する位置記憶部2と、主軸現在位置と判断位置との位置座標を比較し、一致したとき到達信号を出力する位置判断部3と、侵入条件を記憶する条件記憶部4と、その侵入条件と、干渉部の干渉状態を検出する条件検知部5からの検知信号とを比較判断し、侵入条件が満たされるときに主軸移動を継続させる信号を出力し、侵入条件が満たされないとき停止信号を出力する条件判断部6と、その条件判断部6から出力される信号に応じて主軸等の移動物10を継続移動、または即時減速停止させるとともに、移動物10の減速時もしくは停止後に上記侵入条件が満たされたとき、移動物10の移動を再開させる軸制御部7、軸制御部7の制御信号にしたがって、移動物10を駆動する軸駆動部8、および条件検知部5によって検知される対象となる干渉部9とから主として構成されている。なお、上記位置演算部1,位置記憶部2,位置判断部3,条件記憶部4,条件検知部5,条件判断部6は判断手段として、軸制御部7は制御手段として、軸駆動部8は駆動手段として、それぞれ機能する。 FIG. 1 is a block diagram showing a basic configuration of an NC machine tool according to an embodiment of the present invention. In FIG. 1, the NC machine tool calculates position coordinates (spindle current position) in axis movement of a spindle and stores a position calculation unit 1 for sending out position data, and position coordinates (judgment position) for judging intrusion of the spindle. A position storage unit 2 that compares the position coordinates of the current spindle position and the determined position, and outputs a reaching signal when they match each other; a condition storage unit 4 that stores intrusion conditions; And compares the detection signal from the condition detection unit 5 for detecting the interference state of the interference unit, outputs a signal for continuing the spindle movement when the intrusion condition is satisfied, and outputs a stop signal when the intrusion condition is not satisfied. And a moving object 10 such as a spindle is continuously moved or immediately decelerated to a stop in accordance with a signal output from the condition judging unit 6 to perform the above-described intrusion condition when the moving object 10 is decelerated or stopped. When the condition is satisfied, the axis control unit 7 that restarts the movement of the moving object 10, the axis driving unit 8 that drives the moving object 10 according to the control signal of the axis control unit 7, and the object detected by the condition detection unit 5. And an interference unit 9. The position calculation unit 1, the position storage unit 2, the position determination unit 3, the condition storage unit 4, the condition detection unit 5, the condition determination unit 6 are used as determination means, the axis control unit 7 is used as control means, and the axis drive unit 8 is used. Function as driving means.

 図2は本発明の実施例である、シャッター開閉装置付きNC工作機械の構成を示すブロック図である。また図3は、図2に示すNC工作機械の一部断面を有する正面図である。図3において、ベッド21上には、サドル22を介して正面視、前後左右方向に移動可能にコラム23が載置されている。工具T1を着脱可能に装着する水平主軸24は、上記コラム23前面に設けられた案内に沿って上下(以下Y軸と呼ぶ)方向に一定距離範囲内で昇降可能である。25はコラム23の上方に配設されている工具自動交換装置であって、コラム23に固定され、コラム23内の図示しない駆動機構により、円盤状の工具マガジン26が時計方向あるいは反時計方向へ回動するとともに、コラム23に対して前後に移動するようになっている。なお、上記工具マガジン26は、円盤外周部に把持爪33を備えており、その把持爪33を介して複数の予備工具Tを保持し、工具交換位置に回転位置決めされるようになっている。 FIG. 2 is a block diagram showing a configuration of an NC machine tool having a shutter opening / closing device according to an embodiment of the present invention. FIG. 3 is a front view having a partial cross section of the NC machine tool shown in FIG. In FIG. 3, a column 23 is mounted on a bed 21 via a saddle 22 so as to be movable in the front, rear, left and right directions when viewed from the front. The horizontal spindle 24 on which the tool T1 is detachably mounted can be moved up and down within a certain distance in a vertical (hereinafter referred to as Y-axis) direction along a guide provided on the front surface of the column 23. Reference numeral 25 denotes an automatic tool changer disposed above the column 23, which is fixed to the column 23 and drives a disc-shaped tool magazine 26 clockwise or counterclockwise by a drive mechanism (not shown) in the column 23. As it rotates, it moves back and forth with respect to the column 23. The tool magazine 26 is provided with gripping claws 33 on the outer periphery of the disk, holds a plurality of spare tools T via the gripping claws 33, and is rotated and positioned at a tool changing position.

 また、主軸24に装着されている工具T1は、主軸の移動によって直接工具マガジンの把持爪と係合離脱するようになっており、以下のようにして他の工具Tと交換される。すなわち、工具マガジン26の空の把持爪33を交換位置に位置決めし、次いで主軸24を上昇させて工具T1をその把持爪33に把持させ、主軸工具T1をアンクランプさせてマガジン26を前進移動させることにより、主軸24から工具T1が抜き取られる。さらに、工具マガジン26を回転させて次加工に使用する予備工具Tを交換位置に位置決めし、マガジン26を今度は後退させ、主軸24に挿入された工具Tを主軸24がクランプすることで工具交換動作が完了するようになっている。 The tool T1 mounted on the main shaft 24 is directly engaged with and disengaged from the gripping claw of the tool magazine by the movement of the main shaft, and is replaced with another tool T as described below. That is, the empty gripping claw 33 of the tool magazine 26 is positioned at the exchange position, and then the spindle 24 is raised to grip the tool T1 with the gripping claw 33, and the spindle tool T1 is unclamped to move the magazine 26 forward. As a result, the tool T1 is extracted from the spindle 24. Further, the tool magazine 26 is rotated to position the spare tool T to be used for the next machining at the change position, the magazine 26 is retracted this time, and the tool T inserted into the main shaft 24 is clamped by the main shaft 24 to change the tool. The operation is completed.

 図3における30は保護カバー、29は主軸通用路であって、加工中はATC装置25内へ下方から切粉が飛散して工具等に付着することを防ぐため、上記通用路29の両側であって左右対称位置には、シャッタ開閉装置を設けている。そのシャッタ開閉装置は、主軸通用路を閉塞するよう主軸移動方向と直交する方向に移動自在に支持されているシャッタ31a,31bと、それら各シャッタを開閉させるシリンダ32a,32bとから主として構成され、通常は、主軸通用路29を閉塞しており、主軸24が工具交換を行うときのみその主軸通用路29を開放するようになっている。 In FIG. 3, reference numeral 30 denotes a protective cover, and 29 denotes a main shaft passage. In order to prevent chips from scattering from below into the ATC device 25 during processing and adhere to tools and the like, both sides of the passage 29 are used. A shutter opening / closing device is provided at a symmetrical position. The shutter opening and closing device mainly includes shutters 31a and 31b movably supported in a direction orthogonal to the main shaft moving direction so as to close the main shaft passage, and cylinders 32a and 32b for opening and closing the respective shutters. Normally, the main shaft passage 29 is closed, and the main shaft passage 29 is opened only when the main shaft 24 performs tool change.

 次に、図2に示す構成において、41はCPU、42はバスラインである。上記CPU41は、ROM43に格納されている制御プログラムに従って各種制御を行うものであり、加工プログラムメモリ52に記憶されている加工プログラムデータを1ブロックずつ読み込んで解読するとともに、加工プログラムデータから解読された軸移動指令や主軸オリエンテーション指令については、それぞれY軸モータ駆動制御部45および主軸モータ駆動制御部47に送り、また工具交換指令やシャッターの開閉指令についてはPMC49に送るようになっている。 Next, in the configuration shown in FIG. 2, 41 is a CPU and 42 is a bus line. The CPU 41 performs various controls in accordance with a control program stored in the ROM 43. The CPU 41 reads and decodes the processing program data stored in the processing program memory 52 block by block and decodes the processing program data from the processing program data. The axis movement command and the spindle orientation command are sent to the Y-axis motor drive control unit 45 and the spindle motor drive control unit 47, respectively, and the tool change command and the shutter open / close command are sent to the PMC 49.

 上記Y軸モータ駆動制御部45では、CPU41からの軸移動指令信号とY軸モータ軸に装着された回転検出信号からのフィードバック信号とによってY軸モータ46の駆動を制御している。そしてそのY軸モータ46の軸には、主軸24を上下に駆動するためのボールねじ(図示せず)が接続されており、CPU41からの軸移動指令により、主軸24はY軸方向に任意に位置決めされるようになっている。また、主軸モータ駆動制御部47では、CPU41からの主軸オリエンテーション指令信号と主軸24に装着された回転検出信号からのフィードバック信号とによって主軸モータ48の駆動を制御しており、主軸位相を所定の角度に位置決めする。そして位置決めが完了すると、主軸モータ駆動制御部47よりバスライン42を経由してCPU41にオリエンテーション完了信号を転送する。 前記PMC49では、CPU41からの工具交換指令信号やシャッター開閉指令信号を受けると、シーケンスプログラムで処理して、動作指令としての信号を出力し、NC工作機械の工具交換動作やシャッター開閉等の制御を行う。また、NC工作機械に配設されている各種センサからの状態(動作完了)信号を受けて、シーケンス処理を行い、バスライン42を経由してCPU41に各動作指令に対する完了信号を転送するようになっている。 The Y-axis motor drive control unit 45 controls the driving of the Y-axis motor 46 based on an axis movement command signal from the CPU 41 and a feedback signal from a rotation detection signal attached to the Y-axis motor shaft. A ball screw (not shown) for driving the main shaft 24 up and down is connected to the axis of the Y-axis motor 46, and the main shaft 24 can be arbitrarily moved in the Y-axis direction by an axis movement command from the CPU 41. It is designed to be positioned. In the spindle motor drive control unit 47, the drive of the spindle motor 48 is controlled by a spindle orientation command signal from the CPU 41 and a feedback signal from a rotation detection signal attached to the spindle 24, and the spindle phase is adjusted to a predetermined angle. Position. When the positioning is completed, an orientation completion signal is transferred from the spindle motor drive control unit 47 to the CPU 41 via the bus line 42. When the PMC 49 receives a tool change command signal and a shutter open / close command signal from the CPU 41, it processes the sequence program and outputs a signal as an operation command, and controls the tool change operation of the NC machine tool and control of shutter open / close. Do. Further, receiving a state (operation completion) signal from various sensors provided in the NC machine tool, a sequence process is performed, and a completion signal for each operation command is transferred to the CPU 41 via the bus line 42. Has become.

 パラメータメモリ53は、位置記憶部53aと条件記憶部53bを有し、位置記憶部53aには、主軸24が主軸通用路29を通過して工具交換位置としての第2原点Z2(図3参照)まで移動する場合に、シャッター開条件を判断するための第1条件判断位置P1と、主軸24の工具T1を工具マガジン26の把持爪33に把持させる際に、工具マガジン26に設けられた位置決めキーと主軸24の工具のキー溝の位置を合わせるため、主軸オリエンテーション完了条件を判断するための第2条件判断位置P2とが記憶されている。また、条件記憶部53bには、上記各条件判断位置に対応して、前記各条件、すなわち、シャッター開完了状態を示す条件,オリエンテーション完了状態を示す条件が記憶されている。 The parameter memory 53 includes a position storage unit 53a and a condition storage unit 53b. The position storage unit 53a stores a second origin Z2 as a tool change position when the spindle 24 passes through the spindle passageway 29 (see FIG. 3). When the tool is moved up to the first condition determination position P1 for determining the shutter opening condition, and the positioning key provided on the tool magazine 26 when the tool T1 of the spindle 24 is gripped by the gripping claw 33 of the tool magazine 26. And a second condition determination position P2 for determining a spindle orientation completion condition for aligning the position of the keyway of the tool of the spindle 24 with the key groove position. The condition storage unit 53b stores the above-mentioned conditions, that is, the condition indicating the shutter open completion state and the condition indicating the orientation completion state, corresponding to the above-described respective condition determination positions.

 CPU41は、上記パラメータメモリ53に記憶されている条件判断位置と、位置演算部55によって演算される移動中の主軸現在位置とを比較して一致したとき、上記した条件判断位置に対応する条件をパラメータメモリ53より読み出し、前記条件を判断し、条件が満たされていない場合にはY軸モータ制御部45に対して停止信号を送る。 The CPU 41 compares the condition determination position stored in the parameter memory 53 with the current position of the moving spindle calculated by the position calculation unit 55, and when they match, the condition corresponding to the condition determination position is determined. The condition is read from the parameter memory 53, the condition is determined, and if the condition is not satisfied, a stop signal is sent to the Y-axis motor control unit 45.

 なお、CRT付きキーボード51は加工プログラム,各パラメータデータ等を加工プログラムメモリ52,パラメータメモリ53に手入力により格納する際に使用されるものであり、I/O装置50を介してバスライン42に接続されている。 The CRT-equipped keyboard 51 is used when a machining program, each parameter data, and the like are stored manually in the machining program memory 52 and the parameter memory 53, and is connected to the bus line 42 via the I / O device 50. It is connected.

 また、予め加工を開始する前に、条件判断位置と判断条件とがCRT付きキーボード51を介してパラメータメモリ53に格納されており、その条件判断位置は、図3に示すように第1条件判断位置P1と第2条件判断位置P2とが設定されている。その第1条件判断位置P1は、通常加工移動範囲Sの上限である第1原点Z1と下限であるストローク端Eとの間にあって、その第1条件判断位置P1にてCPU41の判断により停止信号が出力され、主軸24のY軸送りが停止したとき、主軸24がシャッター31と干渉(衝突)しないような位置に設定される。この第1条件判断位置P1はシャッター開を判断条件としている。 Before starting the processing, the condition determination position and the determination condition are stored in the parameter memory 53 via the keyboard with CRT 51, and the condition determination position is determined by the first condition determination as shown in FIG. A position P1 and a second condition determination position P2 are set. The first condition determination position P1 is located between the first origin Z1 which is the upper limit of the normal machining movement range S and the stroke end E which is the lower limit, and a stop signal is generated at the first condition determination position P1 by the determination of the CPU 41. When the output is performed and the Y-axis feed of the main shaft 24 is stopped, the main shaft 24 is set to a position where it does not interfere with (collide with) the shutter 31. The first condition determination position P1 is based on the condition that the shutter is opened.

 また、第2条件判断位置P2は、第1条件判断位置P1および第1原点Z1よりさらに上方にあって、その第2条件判断位置P2にてCPU41の判断により停止信号が出力され、主軸24のY軸送りが停止したとき、工具マガジン26の把持爪33に干渉(衝突)しない位置に設定されている。この第2条件判断位置P2は、主軸オリエンテーションの完了を判断条件としている。 Further, the second condition determination position P2 is further above the first condition determination position P1 and the first origin Z1, and at the second condition determination position P2, a stop signal is output by the determination of the CPU 41, and When the Y-axis feed is stopped, the position is set so as not to interfere (collide) with the gripping claws 33 of the tool magazine 26. The second condition determination position P2 is based on the completion of the spindle orientation as a determination condition.

 次に、上記の構成を有する本実施例の動作を図4に示すフローチャートに従って説明する。なお、同図は、工具交換動作における処理手順を示している。 Next, the operation of this embodiment having the above configuration will be described with reference to the flowchart shown in FIG. FIG. 3 shows a processing procedure in the tool changing operation.

 CPU41は加工プログラムメモリ52から加工プログラムデータを1ブロックずつ読み込んで解読し、読み込まれたブロック中に工具交換指令を解読した場合、下記の処理手順を実行する。 The CPU 41 reads the machining program data from the machining program memory 52 one block at a time and decodes it. When the tool change command is decoded in the read block, the following processing procedure is executed.

 まず、主軸24の現在位置を演算し、主軸24が第1条件判断位置P1の上方にあるかどうか判断する(ステップS1)。その判断結果がYesであればステップS11に進み、NoであればステップS2に進む。ステップS2では、工具交換位置である第2原点Z2への主軸移動指令をY軸モ−タ駆動制御部45に,主軸オリエンテーション指令を主軸モータ駆動制御部47に、シャッター開指令をPMC49にそれぞれ出力する(ステップS2)。次いで主軸移動指令を受けたY軸モータ駆動制御部45は、Y軸モータ46を介して主軸24を上方へ移動開始させ、主軸オリエンテーション指令を受けた主軸モータ駆動制御部47は、位相を合わせるため主軸24の回転を開始し、シャッター開指令を受けたPMC49は、ソレノイドバルブ等を介しシリンダ32a,32bを駆動させて左右のシャッター31a,31bを開動作させ、それにより、主軸通用路29を開放させる。 First, the current position of the spindle 24 is calculated, and it is determined whether the spindle 24 is above the first condition determination position P1 (step S1). If the determination result is Yes, the process proceeds to step S11, and if No, the process proceeds to step S2. In step S2, a spindle movement command to the second origin Z2, which is a tool change position, is output to the Y-axis motor drive control unit 45, a spindle orientation command is output to the spindle motor drive control unit 47, and a shutter open command is output to the PMC 49, respectively. (Step S2). Next, the Y-axis motor drive control unit 45 that has received the spindle movement command causes the spindle 24 to start moving upward through the Y-axis motor 46, and the spindle motor drive control unit 47 that has received the spindle orientation command adjusts the phase. The PMC 49 that starts rotating the main shaft 24 and receives the shutter open command drives the cylinders 32 a and 32 b via solenoid valves and the like to open the left and right shutters 31 a and 31 b, thereby opening the main shaft passage 29. Let it.

 次に、上方へ移動中の主軸位置が第1条件判断位置P1に到達したかどうかをCPU41が判断し、その判断結果がNoであれば到達するまで処理を待機する(ステップS3)。そして、その判断結果がYesになれば、CPU41は、パラメータメモリ53内の条件記憶部53bの内容を参照することにより、第1条件判断位置P1に対応している条件、すなわちシャッター31a,31bが開放完了しているかどうかを判断する(ステップS4)。その判断結果がNoであれば、CPU41は、Y軸モータ駆動制御部45へ主軸停止信号を与え、主軸24の移動を減速又は停止させ、シャッター開放信号がPMC49よりCPU41に入力されるまで処理を待機する(ステップS5)。ステップS4における判断結果がYesであれば、主軸24の移動は続行され、または減速もしくは停止した主軸は元の速度に復帰することになる(ステップS6)。 Next, the CPU 41 determines whether or not the position of the spindle moving upward has reached the first condition determination position P1, and if the result of the determination is No, the CPU 41 waits for processing (step S3). Then, if the determination result is Yes, the CPU 41 refers to the contents of the condition storage unit 53b in the parameter memory 53 to determine the condition corresponding to the first condition determination position P1, that is, the shutters 31a and 31b. It is determined whether the release has been completed (step S4). If the determination result is No, the CPU 41 gives a spindle stop signal to the Y-axis motor drive control unit 45, decelerates or stops the movement of the spindle 24, and performs processing until a shutter open signal is input from the PMC 49 to the CPU 41. It waits (step S5). If the determination result in step S4 is Yes, the movement of the spindle 24 is continued, or the decelerated or stopped spindle returns to the original speed (step S6).

 次に、CPU41は、上方へ移動中である主軸24の位置が第2条件判断位置P2に到達したかどうかを判断し、その判断結果がNoであれば到達するまで処理を待機する(ステップS7)。また、その判断結果がYesであれば、CPU41は、パラメータメモリ53内の条件記憶部53bから、第2条件判断位置P2に対応している条件、すなわち、主軸オリエンテーションが完了しているかどうかを判断する(ステップS8)。その判断結果がNoであれば、CPU41は、Y軸モータ駆動制御部45へ軸停止信号を与えて主軸24の移動を減速又は停止させ、主軸オリエンテーション完了信号が主軸モータ駆動制御部47からCPU41に与えられるまで処理を待機する(ステップS9)。ステップS8における判断結果がYesであれば、主軸24の移動は続行され、又は減速もしくは停止した主軸は元の速度に復帰することになる(ステップS10)。 Next, the CPU 41 determines whether or not the position of the spindle 24 that is moving upward has reached the second condition determination position P2. If the determination result is No, the CPU 41 waits for processing (step S7). ). If the determination result is Yes, the CPU 41 determines from the condition storage unit 53b in the parameter memory 53 whether the condition corresponding to the second condition determination position P2, that is, whether the spindle orientation has been completed. (Step S8). If the determination result is No, the CPU 41 gives an axis stop signal to the Y-axis motor drive control section 45 to decelerate or stop the movement of the spindle 24, and a spindle orientation completion signal is sent from the spindle motor drive control section 47 to the CPU 41. The process waits until it is given (step S9). If the determination result in step S8 is Yes, the movement of the spindle 24 is continued, or the decelerated or stopped spindle returns to the original speed (step S10).

 ここで、上述のステップS1の判断結果がYesの場合について説明すると、この場合は、従来の主軸移動制御と同様の手順が実行される。つまり、シャッター31a,31b手前の所定位置である第1原点Z1への主軸移動指令がY軸モータ駆動制御部45に、主軸オリエンテーション指令が主軸モータ駆動制御部47に、シャッター開指令がPMC49にそれぞれ出力される(ステップS11)。次いで、主軸移動指令を受けたY軸モータ駆動制御部45は、Y軸モータ46を駆動し、主軸24を上方へ移動開始させる。主軸オリエンテーション指令を受けた主軸モータ駆動制御部47は、位相を合わせるため主軸24の回転を開始させ、シャッター開指令を受けたPMC49は、ソレノイドバルブ等を介してシリンダ32a,32bを駆動し、左右のシャッター31a,31bを開動作させ、主軸通用路29を開放させる。次いで、上記各指令動作が完了するまで処理を待機する(ステップS12)。さらに、各動作が完了すると、Y軸モータ駆動制御部45に対し、第2原点Z2への主軸移動指令が出力される(ステップS13)。 Here, the case where the determination result of step S1 is Yes will be described. In this case, the same procedure as the conventional spindle movement control is executed. That is, the spindle movement command to the first origin Z1, which is the predetermined position before the shutters 31a, 31b, is sent to the Y-axis motor drive control unit 45, the spindle orientation command is sent to the spindle motor drive control unit 47, and the shutter open command is sent to the PMC 49, respectively. It is output (step S11). Next, the Y-axis motor drive control unit 45 that has received the spindle movement command drives the Y-axis motor 46 to start moving the spindle 24 upward. The spindle motor drive control unit 47 that has received the spindle orientation command starts rotation of the spindle 24 to adjust the phase, and the PMC 49 that has received the shutter open command drives the cylinders 32a and 32b via solenoid valves and the like. The shutters 31a and 31b are opened to open the main shaft passageway 29. Next, the process waits until the above-mentioned command operations are completed (step S12). Further, upon completion of each operation, a spindle movement command to the second origin Z2 is output to the Y-axis motor drive controller 45 (step S13).

 前述したステップS10およびステップS13に引続き、主軸24位置が第2原点Z2すなわち、工具交換位置に達するまで処理を待機する(ステップS14)。次に、第2原点Z2に到達すると、PMC49へ対し工具交換指令が出力され、PMC49内のシーケンスプログラムに従って前述した工具交換動作が行われ、主軸24の工具T1は予備工具Tに自動的に交換される(ステップS15)。そして、工具交換が完了するとY軸モータ駆動制御部に対し、第1原点Z1へ戻るように主軸移動指令が出力され(ステップS16)、主軸24がその第1原点Z1に復帰すると同時に、PMC49に対し、シャッター閉指令が出力され、シャッター31a,31bが閉じらて工具交換指令に対する動作が完了する。 (4) Following steps S10 and S13, the process waits until the position of the spindle 24 reaches the second origin Z2, that is, the tool change position (step S14). Next, when the second origin Z2 is reached, a tool change command is output to the PMC 49, and the above-described tool change operation is performed according to the sequence program in the PMC 49, and the tool T1 of the spindle 24 is automatically changed to the spare tool T. Is performed (step S15). When the tool change is completed, a spindle movement command is output to the Y-axis motor drive control unit to return to the first origin Z1 (step S16), and at the same time when the spindle 24 returns to the first origin Z1, the PMC 49 On the other hand, a shutter close command is output, the shutters 31a and 31b are closed, and the operation for the tool change command is completed.

 また、以上説明した工具交換動作における主軸24の移動動作について位置と速度の関係を図5に示す。加工終了時、主軸24がシャッター31a,31bに対して接近している場合、すなわち上記したステップS11〜ステップS16の処理に対応する主軸24の移動動作は、図5の(c)に相当する。また、図5の(a)は、加工終了時、主軸24がシャッター31a,31bに対して十分に離れている場合であって、第1条件判断位置P1に到達するまでにシャッター31は開いており、主軸オリエンテーションも完了しているため主軸24は停止することがない。しかし、十分離れていない場合であっても図5の(b)に示すように、各判断位置P1、P2において減速するが停止することはないため、主軸移動を迅速に行うことができ、さらには起動,停止に要するエネルギーの浪費を低減させることができる。 FIG. 5 shows the relationship between the position and the speed of the operation of moving the spindle 24 in the above-described tool changing operation. At the end of the processing, when the main shaft 24 is approaching the shutters 31a and 31b, that is, the movement operation of the main shaft 24 corresponding to the processing in steps S11 to S16 corresponds to (c) in FIG. FIG. 5A shows a case where the main shaft 24 is sufficiently separated from the shutters 31a and 31b at the end of the processing, and the shutter 31 is opened before reaching the first condition determination position P1. Since the spindle orientation has been completed, the spindle 24 does not stop. However, as shown in FIG. 5B, even when the vehicle is not sufficiently separated, the main shaft can be moved quickly because the speed is reduced but does not stop at each of the determination positions P1 and P2. Can reduce the waste of energy required for starting and stopping.

 なお、上記実施例においては、条件判断位置が2つの場合について説明したが、これに限らず、条件判断がそれ以上存在する場合には、条件判断位置を2以上設けることもできる。また、条件判断が1つの場合ももちろん可能である。 In the above-described embodiment, the case where the number of the condition determination positions is two has been described. However, the present invention is not limited to this. If there are more condition determination positions, two or more condition determination positions can be provided. Also, it is of course possible to make one condition judgment.

 また、条件判断位置は、上記実施例では所定の位置を設定し、その位置で行うよう構成したが、これに限らず、所定の範囲を設定し、その範囲内で判断するように構成してもよい。 In the above embodiment, the condition determination position is set at a predetermined position and is configured to be performed at that position. However, the present invention is not limited to this. A predetermined range is set and determination is performed within that range. Is also good.

 また、本発明の干渉部とは、上記実施例ではシャッターであったが、これに限らず、例えば主軸移動範囲内に侵入してくるような他工程の工具,ロボットの可動部,搬送装置等も含まれる。本実施例では、移動物とは主軸(主軸頭を含む)について説明したが、これに限らずテーブル、刃物台であってもよい。 The interference unit of the present invention is a shutter in the above embodiment, but is not limited to this. For example, a tool in another process that enters the main spindle moving range, a movable unit of a robot, a transfer device, and the like. Is also included. In the present embodiment, the moving object has been described with respect to the spindle (including the spindle head), but is not limited thereto, and may be a table or a tool post.

 また、本発明の減速指示とは、上記実施例で示したように、制御軸に対して停止指示を出力し、駆動力を失わせることにより減速させるものであっても、また、制御軸の回転数を直線的に減少させていくことにより減速させるものであってもよい。 Further, the deceleration instruction of the present invention is, as shown in the above-described embodiment, an instruction to output a stop to the control axis and decelerate by losing the driving force. The speed may be reduced by linearly decreasing the rotation speed.

 また、本発明の工作機械は、主軸の移動範囲内に干渉部が存在する任意のNC工作機械に適用することができる。 The machine tool of the present invention can be applied to any NC machine tool having an interference part within the movement range of the spindle.

 次に、本発明の別の実施例の説明を行う。 Next, another embodiment of the present invention will be described.

 この実施例では、前記上記実施例の第1条件判断位置P1における軸移動中の減速または停止を無くすることによって、エネルギーの浪費を防ぎ、かつ、上記実施例で述べた安全装置を具備することによって、安全かつ迅速に指令位置に到達できる方法を提案するものである。 In this embodiment, energy is prevented from being wasted by eliminating deceleration or stoppage during axis movement at the first condition determination position P1 in the above embodiment, and the safety device described in the above embodiment is provided. Thus, a method for safely and quickly reaching the command position is proposed.

 図6は、その別の実施例におけるNC装置のブロック図であって、上記実施例で説明したNC装置のブロック図(図2)と異なる点は、パラメータメモリ53に時間記憶部53cが追加されていることである。前記時間記憶部53cには、CPU41がPMC49にシャッター開指令を出力し、シャッター31a、31bが開放され、PMC49を介してシャッター開動作完了信号がCPU41に帰還されるまでのシャッター動作時間が記憶されている。CPU41は、位置演算部55の主軸現在位置データに基づいて、所定の送り速度による第1条件判断位置P1までの移動時間と、前記シャッター動作時間との差分を待機時間として算出し、Y軸モータ駆動制御部45への主軸移動指令を待機時間遅らせて出力する。 FIG. 6 is a block diagram of an NC device according to another embodiment. The difference from the block diagram of the NC device described in the above embodiment (FIG. 2) is that a time storage unit 53c is added to the parameter memory 53. That is. The time storage unit 53c stores a shutter operation time until the CPU 41 outputs a shutter open command to the PMC 49, the shutters 31a and 31b are opened, and a shutter open operation completion signal is fed back to the CPU 41 via the PMC 49. ing. The CPU 41 calculates, as a standby time, a difference between the movement time to the first condition determination position P1 at a predetermined feed speed and the shutter operation time based on the spindle current position data of the position calculation unit 55 as a standby time. The main shaft movement command to the drive control unit 45 is output with a standby time delayed.

 次に、この構成を有する実施例の動作を図7に示すフローチャートに従って説明する。なお、同図は工具交換動作における主軸24がシャッター31a、31bを通過する迄の処理手順を示すものであって、加工終了時の主軸位置は、第1条件判断位置P1の下方にあるものと仮定している。従ってシャッター31a、31b通過後、及び加工終了時の主軸位置が第1条件判断位置P1上方にある場合は第1実施例と同じ処理手順を実行するので、その説明は省略する。 Next, the operation of the embodiment having this configuration will be described with reference to the flowchart shown in FIG. This figure shows a processing procedure until the main spindle 24 passes through the shutters 31a and 31b in the tool changing operation, and the main spindle position at the end of machining is below the first condition determination position P1. I assume. Therefore, when the main spindle position after the shutters 31a and 31b and at the end of machining are above the first condition determination position P1, the same processing procedure as that of the first embodiment is executed, and the description thereof will be omitted.

 まず、ステップS20では、主軸オリエンテーション指令を主軸モータ駆動制御部47に、シャッター開指令をPMC49にそれぞれ出力する。主軸オリエンテーション指令を受けた主軸モータ駆動制御部47は、位相を合わせるため主軸24の回転を開始し、シャッター開指令を受けたPMC49は、左右のシャッター31a,31bを開動作させる。 First, in step S20, a spindle orientation command is output to the spindle motor drive controller 47 and a shutter open command is output to the PMC 49. The spindle motor drive control unit 47 that has received the spindle orientation command starts the rotation of the spindle 24 to adjust the phase, and the PMC 49 that has received the shutter open command opens the left and right shutters 31a and 31b.

 次に、CPU41は、位置演算部55によって算出された主軸現在位置座標と、あらかじめパラメータメモリ53の位置記憶部53aに記憶されている第1条件判断位置座標とに基づいて第1条件判断位置P1までの移動距離と、さらに前記移動距離から所定速度によって移動に要する移動時間とを算出する。(ステップS21)。そして、あらかじめパラメータメモリ53内の時間記憶部53cに格納されているシャッター動作時間よりも算出した移動時間の方が長いか、もしくは等しいかどうかを比較判断する(ステップS22)。その判断結果がYes(長い、等しい)であればステップS25に進み、NoであればステップS23に進む。ステップS23では、移動時間とシャッター動作時間との差である待機時間を算出する(ステップS23)。次に、CPU41はシャッター開指令出力より待機時間が経過したかどうかを判断し、その判断結果がNoであれば、待機時間が経過するまで処理を待機する(ステップS24)。 Next, the CPU 41 determines the first condition determination position P1 based on the main spindle current position coordinates calculated by the position calculation unit 55 and the first condition determination position coordinates previously stored in the position storage unit 53a of the parameter memory 53. And a travel time required for the travel at a predetermined speed from the travel distance. (Step S21). Then, it is determined whether the calculated movement time is longer or equal to the calculated shutter operation time stored in the time storage unit 53c in the parameter memory 53 in advance (step S22). If the determination result is Yes (long, equal), the process proceeds to step S25, and if No, the process proceeds to step S23. In step S23, a standby time, which is a difference between the movement time and the shutter operation time, is calculated (step S23). Next, the CPU 41 determines whether or not the standby time has elapsed from the output of the shutter open command. If the determination result is No, the process waits until the standby time has elapsed (step S24).

 前述したステップS22およびステップS24に引き続き、その判断結果がYesであれば、CPU41は工具交換位置である第2原点Z2への主軸移動指令をY軸モータ駆動制御部45に出力する(ステップS25)。前記Y軸モータ駆動制御部45は前記移動指令に基づき、主軸のY軸移動を開始する。 Subsequent to the above-described steps S22 and S24, if the determination result is Yes, the CPU 41 outputs a spindle movement command to the second origin Z2 which is the tool change position to the Y-axis motor drive control unit 45 (step S25). . The Y-axis motor drive control unit 45 starts the Y-axis movement of the main shaft based on the movement command.

 次に、上方へ所定速度で移動中の主軸位置が第1条件判断位置P1に到達したかどうかをCPU41が判断し、その判断結果がNoであれば到達するまで処理を待機する(ステップS26)。そして、その判断結果がYesになれば、CPU41はパラメータメモリ53の条件記憶部53bの内容を参照することにより、第1条件判断位置P1に対応している条件、すなわちシャッター31a,31bが開放完了しているかどうかを判断する(ステップS27)。その判断結果がNoであれば、CPU41はY軸モータ駆動制御部45へ主軸停止信号を与え、主軸24の移動を減速または停止させ、シャッター開放信号がPMC49よりCPU41に入力されるまで処理を待機する(ステップS28)。ステップS27における判断結果がYesであれば、主軸24の移動はそのまま続行され、または、減速もしくは停止した主軸24は元の所定速度に復帰して、第2判断位置に向かう(ステップS29)。 Next, the CPU 41 determines whether or not the spindle position moving upward at a predetermined speed has reached the first condition determination position P1, and if the determination result is No, the process waits until it reaches (step S26). . Then, if the determination result is Yes, the CPU 41 refers to the contents of the condition storage unit 53b of the parameter memory 53 to determine the condition corresponding to the first condition determination position P1, that is, the shutters 31a and 31b have been completely opened. It is determined whether or not it has been performed (step S27). If the determination result is No, the CPU 41 gives a spindle stop signal to the Y-axis motor drive control unit 45, decelerates or stops the movement of the spindle 24, and waits until the shutter release signal is input from the PMC 49 to the CPU 41. (Step S28). If the decision result in the step S27 is Yes, the movement of the main shaft 24 is continued as it is, or the main shaft 24 that has been decelerated or stopped returns to the original predetermined speed and moves toward the second judgment position (step S29).

 以上説明した工具交換動作における主軸24の移動動作について、位置と速度の関係を図9に示す。同図は、加工終了時の主軸位置が通常の所定の送り速度で第1条件判断位置P1に到達する時間よりもシャッター動作時間の方が長い場合であって、図9(a)は前記第1実施例による動作を示し、図9(b)は本実施例による動作を示す。本実施例によると、第1条件判断位置P1に到達するときにはシャッター31a、31bは開放されており、そこで、減速することはないため、加減速に要するエネルギーの浪費を低減することができる効果がある。また、その位置でシャッター31a、31bの開閉が判断できるので安全である。 FIG. 9 shows the relationship between the position and the speed of the movement of the spindle 24 in the above-described tool changing operation. FIG. 9A shows the case where the shutter operation time is longer than the time when the spindle position at the end of machining reaches the first condition determination position P1 at a normal predetermined feed speed. An operation according to one embodiment is shown, and FIG. 9B shows an operation according to the present embodiment. According to the present embodiment, the shutters 31a and 31b are opened when reaching the first condition determination position P1, and there is no deceleration there, so that the effect of reducing the waste of energy required for acceleration and deceleration can be obtained. is there. In addition, since the opening and closing of the shutters 31a and 31b can be determined at that position, it is safe.

 次に、本発明の更に別の実施例を説明する。この実施例では、前記2番目の実施例と同様、加工終了位置において、まず、第1条件判断位置P1までの移動距離と移動時間を算出し、主軸24が前記第1条件判断位置P1に到達したとき、シャッター31a、31bが開放されているようなタイミングで移動するものである。2番目の実施例のように待機した後、所定の移動速度で移動するのではなく、本実施例では、第1条件判断位置P1までの移動速度を調整するものである。 Next, still another embodiment of the present invention will be described. In this embodiment, similarly to the second embodiment, at the machining end position, first, a movement distance and a movement time to the first condition determination position P1 are calculated, and the main shaft 24 reaches the first condition determination position P1. Then, the shutters 31a and 31b move at timings that are opened. Instead of moving at a predetermined moving speed after waiting as in the second embodiment, in the present embodiment, the moving speed to the first condition determination position P1 is adjusted.

 本実施例では、図6の構成において、CPU41は位置演算部55からの主軸現在位置と第1条件判断位置P1とから算出される移動距離と、パラメータメモリ53の時間記憶部53cに記憶されたシャッター動作時間とによって、第1条件判断位置P1にて減速、停止を原則としてしなくていいような適当な送り速度を算出し、Y軸モータ駆動部45へ前記送り速度指令を出力する。前記Y軸モータ駆動制御部45は前記速度指令に基づいて主軸24の移動を開始することになる。 In the present embodiment, in the configuration of FIG. 6, the CPU 41 stores the movement distance calculated from the current spindle position from the position calculation unit 55 and the first condition determination position P1 and the time distance stored in the time storage unit 53c of the parameter memory 53. Based on the shutter operation time, an appropriate feed speed is calculated at the first condition determination position P1 such that deceleration and stop do not need to be performed in principle, and the feed speed command is output to the Y-axis motor drive unit 45. The Y-axis motor drive controller 45 starts moving the main shaft 24 based on the speed command.

 次に、上記構成を有するこの実施例の動作を図8に示すフローチャートに従って説明する。なお、同図は工具交換動作における主軸24がシャッター31a、31bを通過する迄の処理手順を示すものであって、加工終了時の主軸位置は、第1条件判断位置P1の下方にあるものと仮定している。従ってシャッター31a、31b通過後、及び加工終了時の主軸位置が第1条件判断位置P1上方にある場合は第1実施例と同じ処理手順を実行するので、その説明は省略する。 Next, the operation of this embodiment having the above configuration will be described with reference to the flowchart shown in FIG. This figure shows a processing procedure until the main spindle 24 passes through the shutters 31a and 31b in the tool changing operation, and the main spindle position at the end of machining is below the first condition determination position P1. I assume. Therefore, when the main spindle position after the shutters 31a and 31b and at the end of machining are above the first condition determination position P1, the same processing procedure as that of the first embodiment is executed, and the description thereof will be omitted.

 まず、ステップS30では、主軸オリエンテーション指令を主軸モータ駆動制御部47に、シャッター開指令をPMC49にそれぞれ出力する。主軸オリエンテーション指令を受けた主軸モータ駆動制御部47は、位相を合わせるため主軸24の回転を開始し、シャッター開指令を受けたPMC49は、左右のシャッター31a,31bを開動作させる。 First, in step S30, a spindle orientation command is output to the spindle motor drive controller 47 and a shutter open command is output to the PMC 49. The spindle motor drive control unit 47 that has received the spindle orientation command starts the rotation of the spindle 24 to adjust the phase, and the PMC 49 that has received the shutter open command opens the left and right shutters 31a and 31b.

 次に、CPU41は位置演算部55によって算出された主軸現在位置座標と、あらかじめパラメータメモリ53の位置記憶部53aに記憶されている第1条件判断位置座標とに基づいて第1条件判断位置P1までの移動距離と、さらに前記移動距離から、あらかじめ決められた所定の移動速度(例えば、本実施例の場合、その所定速度とは最高送り速度としている)で移動に要する移動時間とを算出する。(ステップS31)。そして、あらかじめパラメータメモリ53内の時間記憶部53cに格納されているシャッター動作時間よりも移動時間の方が長いか、もしくは等しいかどうかを比較判断する(ステップS32)。その判断結果がYesであればステップS35に進み、NoであればステップS33に進む。ステップS33では、前記移動距離とパラメータメモリ53の時間記憶部53cに記憶されたシャッター動作時間とによって、適当な送り速度を算出する。スッテプS34では、Y軸モータ駆動部45へ前記送り速度の速度指令を出力する。 Next, the CPU 41 proceeds to the first condition determination position P1 based on the main spindle current position coordinates calculated by the position calculation unit 55 and the first condition determination position coordinates previously stored in the position storage unit 53a of the parameter memory 53. Then, from the moving distance and the moving distance, a moving time required for moving at a predetermined moving speed determined in advance (for example, in the present embodiment, the predetermined speed is the maximum feed speed) is calculated. (Step S31). Then, it is determined whether the movement time is longer or equal to the shutter operation time stored in the time storage unit 53c in the parameter memory 53 in advance (step S32). If the determination result is Yes, the process proceeds to step S35, and if No, the process proceeds to step S33. In step S33, an appropriate feed speed is calculated based on the moving distance and the shutter operation time stored in the time storage unit 53c of the parameter memory 53. In step S34, a speed command of the feed speed is output to the Y-axis motor drive unit 45.

 次に、前記ステップS32およびステップS34に続き、CPU41は工具交換位置である第2原点Z2への主軸移動指令をY軸モータ駆動制御部45に出力する(ステップS35)。前記Y軸モータ駆動制御部45は前記移動指令および前記速度指令に基づいて主軸24を前記移動速度で移動させることになる。上方へ移動中の主軸24の位置が第1条件判断位置P1に到達したかどうかをCPU41が判断し、その判断結果がNoであれば到達するまで処理を待機する(ステップS36)。そして、その判断結果がYesになれば、CPU41はパラメータメモリ53の条件記憶部53bの内容を参照することにより、第1条件判断位置P1に対応している条件、すなわちシャッター31a,31bが開放完了しているかどうかを判断する(ステップS37)。その判断結果がNoであれば、CPU41はY軸モータ駆動制御部45へ主軸停止信号を与え、主軸24の移動を減速または停止させ、シャッター開放信号がPMC49よりCPU41に入力されるまで処理を待機する(ステップS38)。ステップS37における判断結果がYesであれば、CPU41は前記送り速度を解除するとともに元の所定の送り速度(本実施例では、最高速度)をY軸モータ駆動制御部45に指令し(ステップS39)、主軸24の移動は続行され、または、減速もしくは停止した主軸24は、前記元の所定速度(最高速度)に復帰して、第2条件判断位置P2に向かう(ステップS40)。 Next, following step S32 and step S34, the CPU 41 outputs a spindle movement command to the second origin Z2, which is the tool change position, to the Y-axis motor drive controller 45 (step S35). The Y-axis motor drive controller 45 moves the main shaft 24 at the moving speed based on the moving command and the speed command. The CPU 41 determines whether or not the position of the spindle 24 moving upward has reached the first condition determination position P1, and if the result of the determination is No, the CPU 41 waits for processing (step S36). Then, if the determination result is Yes, the CPU 41 refers to the contents of the condition storage unit 53b of the parameter memory 53 to determine the condition corresponding to the first condition determination position P1, that is, the shutters 31a and 31b have been completely opened. It is determined whether or not it has been performed (step S37). If the determination result is No, the CPU 41 gives a spindle stop signal to the Y-axis motor drive control unit 45, decelerates or stops the movement of the spindle 24, and waits until the shutter release signal is input from the PMC 49 to the CPU 41. (Step S38). If the decision result in the step S37 is Yes, the CPU 41 cancels the feed speed and instructs the Y-axis motor drive controller 45 to the original predetermined feed speed (in the present embodiment, the maximum speed) (step S39). Then, the movement of the main shaft 24 is continued, or the main shaft 24, which has been decelerated or stopped, returns to the original predetermined speed (maximum speed) and moves toward the second condition determination position P2 (step S40).

 本実施例では、CPU41からY軸モータ駆動制御部45に任意の送り速度値自体の指令を出力したが、所定の送り速度に対するオーバライド(減速比)指令を出力するようにしてもよい。 In the present embodiment, the command for the arbitrary feed speed value itself is output from the CPU 41 to the Y-axis motor drive controller 45, but an override (reduction ratio) command for a predetermined feed speed may be output.

 以上説明した工具交換動作における主軸24の移動動作について、位置と速度の関係を図9に示す。同図は、加工終了時の主軸位置が通常所定の送り速度で第1条件判断位置P1に到達する時間よりもシャッター動作時間の方が長い場合であって、図9(a)は前記第1実施例による動作を示し、図9(c)は本実施例による動作を示す。本実施例によると、第1条件判断位置P1に到達するときにはシャッター31a、31bは開放されており、減速することはないため、減速に要するエネルギーの浪費を低減することができる効果がある。また、その位置でシャッター31a、31bの開閉が判断できるので安全である。 FIG. 9 shows the relationship between the position and the speed of the movement of the spindle 24 in the above-described tool changing operation. FIG. 9A shows the case where the shutter operation time is longer than the time when the main spindle position at the end of machining normally reaches the first condition determination position P1 at a predetermined feed speed. FIG. FIG. 9C shows the operation according to the embodiment, and FIG. 9C shows the operation according to the embodiment. According to the present embodiment, the shutters 31a and 31b are opened when the vehicle reaches the first condition determination position P1, and the shutters 31a and 31b are not decelerated. Therefore, there is an effect that it is possible to reduce waste of energy required for deceleration. In addition, since the opening and closing of the shutters 31a and 31b can be determined at that position, it is safe.

本発明の実施例におけるNC工作機械の安全装置の基本構成を示すブロック図である。It is a block diagram showing the basic composition of the safety device of the NC machine tool in the example of the present invention. 同実施例におけるNC工作機械の安全装置の制御ブロック図である。It is a control block diagram of the safety device of the NC machine tool in the embodiment. 図2に示すNC工作機械の一部断面を有する正面図である。FIG. 3 is a front view having a partial cross section of the NC machine tool shown in FIG. 2. 同実施例の動作を説明するためのフローチャートである。It is a flow chart for explaining operation of the example. 同実施例の主軸移動動作について位置と速度の関係を示す説明図である。It is explanatory drawing which shows the relationship between a position and a speed about the spindle moving operation of the same Example. 別の実施例におけるNC工作機械の安全装置の制御ブロック図である。It is a control block diagram of the safety device of NC machine tools in another example. 同実施例の動作を説明するためのフローチャートである。It is a flow chart for explaining operation of the example. さらに別の実施例の動作を説明するためのフローチャートである。13 is a flowchart for explaining the operation of still another embodiment. 各実施例の動作について、位置と速度の関係を示す説明図である。FIG. 9 is an explanatory diagram showing a relationship between a position and a speed for the operation of each embodiment.

符号の説明Explanation of reference numerals

 1 位置演算手段
 2 位置記憶手段
 3 位置判断手段
 4 条件記憶手段
 5 条件検知手段
 6 条件判断手段
 7 軸制御手段
 8 制御軸
 9 干渉部
DESCRIPTION OF SYMBOLS 1 Position calculation means 2 Position storage means 3 Position judgment means 4 Condition storage means 5 Condition detection means 6 Condition judgment means 7 Axis control means 8 Control axis 9 Interference part

Claims (1)

移動可能な主軸と、
 その主軸を駆動させる駆動手段と、
 前記主軸移動により、前記主軸に装着された工具と係合離脱可能な把持爪と、
 前記主軸の工具交換位置への移動に関して、前記主軸が所定の位置に到達したのち、オリエンテーションが完了したかどうかを判断する判断手段と、
前記主軸が移動中に、前記判断手段の判断結果に基づき、オリエンテーションが完了していない場合は、前記駆動手段に前記主軸の減速または停止指示を出力し、オリエンテーションが完了した場合は、前記移動を継続させる制御手段と、
 を備えたことを特徴とするNC工作機械。
A movable spindle,
Driving means for driving the main shaft;
By the spindle movement, a gripping claw that can be disengaged from a tool mounted on the spindle,
Regarding the movement of the spindle to the tool change position, after the spindle reaches a predetermined position, a determination unit that determines whether or not the orientation is completed,
While the main spindle is moving, based on the result of the judgment by the judging means, if the orientation is not completed, an instruction to decelerate or stop the main spindle is output to the driving means, and if the orientation is completed, the movement is performed. Control means for continuing;
An NC machine tool comprising:
JP2003282106A 2003-07-29 2003-07-29 NC machine tools Pending JP2004001229A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2003282106A JP2004001229A (en) 2003-07-29 2003-07-29 NC machine tools

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2003282106A JP2004001229A (en) 2003-07-29 2003-07-29 NC machine tools

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2666893A Division JPH06238542A (en) 1993-02-16 1993-02-16 Machine equipped with safety device

Publications (1)

Publication Number Publication Date
JP2004001229A true JP2004001229A (en) 2004-01-08

Family

ID=30438725

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2003282106A Pending JP2004001229A (en) 2003-07-29 2003-07-29 NC machine tools

Country Status (1)

Country Link
JP (1) JP2004001229A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012061527A (en) * 2010-09-14 2012-03-29 Brother Industries Ltd Machine tool
JP2015009304A (en) * 2013-06-27 2015-01-19 ブラザー工業株式会社 Machine tool
WO2015178096A1 (en) * 2014-05-20 2015-11-26 エンシュウ株式会社 Machine tool
WO2018220771A1 (en) * 2017-05-31 2018-12-06 株式会社牧野フライス製作所 Method for controlling tool exchange in machine tool and spindle device
US10671053B2 (en) 2017-02-28 2020-06-02 Fanuc Corporation Numerical controller and machine tool system
WO2025142165A1 (en) * 2023-12-27 2025-07-03 ブラザー工業株式会社 Numerical control device, control method, and program

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012061527A (en) * 2010-09-14 2012-03-29 Brother Industries Ltd Machine tool
JP2015009304A (en) * 2013-06-27 2015-01-19 ブラザー工業株式会社 Machine tool
WO2015178096A1 (en) * 2014-05-20 2015-11-26 エンシュウ株式会社 Machine tool
JP2015217492A (en) * 2014-05-20 2015-12-07 エンシュウ株式会社 Machine tool
US10671053B2 (en) 2017-02-28 2020-06-02 Fanuc Corporation Numerical controller and machine tool system
WO2018220771A1 (en) * 2017-05-31 2018-12-06 株式会社牧野フライス製作所 Method for controlling tool exchange in machine tool and spindle device
WO2025142165A1 (en) * 2023-12-27 2025-07-03 ブラザー工業株式会社 Numerical control device, control method, and program

Similar Documents

Publication Publication Date Title
JP4947214B2 (en) Numerical control method and apparatus
EP2732912B1 (en) Machine tool and drive regulation device for said machine tool
WO1997049014A1 (en) Method of avoiding interference of industrial robot
JP2000354989A (en) Automatic blade changing device
US6846276B2 (en) Method and apparatus for controlling tool changer
JP4629392B2 (en) Protective cover opening / closing device for machine tools
JP2004001229A (en) NC machine tools
JP2007286688A (en) Interference detection method and control device for machine tool
JPH06238542A (en) Machine equipped with safety device
KR20220038984A (en) Control method of Lathe for robot automation
WO2022190155A1 (en) Workpiece processing apparatus
JPH04340104A (en) Loader control device
EP1217479A2 (en) Loader control unit
JP3261269B2 (en) Machine tool with tool changer
JP2006159354A (en) Workpiece grip checking device for chuck
JP2814278B2 (en) Two-spindle opposed type CNC lathe and work processing method
KR100440154B1 (en) Method of controlling over-travel for machine tools
JP2007030062A (en) Control system of atc shutter
JP2004344985A (en) Control device for machine having movable body
JP4031571B2 (en) NC lathe control device
WO2023119676A1 (en) Multitasking machine
JPH06170671A (en) Automatic original point resetting method for atc
KR100243790B1 (en) Door locking device and method for spindle rotation of machine tool
JP2007128231A (en) Numerical control machine tool
JPS62236654A (en) Turret index device driven by hydraulic motor

Legal Events

Date Code Title Description
A131 Notification of reasons for refusal

Effective date: 20060606

Free format text: JAPANESE INTERMEDIATE CODE: A131

A02 Decision of refusal

Effective date: 20061017

Free format text: JAPANESE INTERMEDIATE CODE: A02