Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP5874479B2 - Machine Tools - Google Patents
[go: Go Back, main page]

JP5874479B2 - Machine Tools - Google Patents

Machine Tools Download PDF

Info

Publication number
JP5874479B2
JP5874479B2 JP2012065116A JP2012065116A JP5874479B2 JP 5874479 B2 JP5874479 B2 JP 5874479B2 JP 2012065116 A JP2012065116 A JP 2012065116A JP 2012065116 A JP2012065116 A JP 2012065116A JP 5874479 B2 JP5874479 B2 JP 5874479B2
Authority
JP
Japan
Prior art keywords
spindle
state
tool
axis
cpu
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
JP2012065116A
Other languages
Japanese (ja)
Other versions
JP2013193188A (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 JP2012065116A priority Critical patent/JP5874479B2/en
Publication of JP2013193188A publication Critical patent/JP2013193188A/en
Application granted granted Critical
Publication of JP5874479B2 publication Critical patent/JP5874479B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P70/00Climate change mitigation technologies in the production process for final industrial or consumer products
    • Y02P70/10Greenhouse gas [GHG] capture, material saving, heat recovery or other energy efficient measures, e.g. motor control, characterised by manufacturing processes, e.g. for rolling metal or metal working
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Landscapes

  • Numerical Control (AREA)

Description

本発明は工作機械に関する。   The present invention relates to a machine tool.

工作機械は回転加工用の工具及び旋削加工用の工具を共通の主軸に選択的に装着し、ワークに回転加工及び旋削加工を選択的に施すことができる。特許文献1は上記工作機械を開示する。回転加工は例えばドリル加工及びタップ加工等を含む。ドリル加工及びタップ加工等は主軸が軸心線回りに回転する態様である。回転加工はワークの相対的な静止状態で行う。旋削加工は例えばフェイシング加工等を含む。フェイシング加工等はワークを主軸に対して相対的に旋回する態様である。旋削加工は主軸の回転停止状態で行う。主軸ヘッドは削加工用の工具の係合部が係合する被係合部を備える。作業者は主軸に旋削加工用の工具を装着する。被係合部は係合部と係合する。主軸は機械的に固定した状態となるので回転不能となる。 A machine tool can selectively mount a turning tool and a turning tool on a common spindle, and can selectively perform turning and turning on a workpiece. Patent document 1 discloses the said machine tool. Rotation includes drilling and tapping, for example. Drilling, tapping, and the like are modes in which the main shaft rotates about the axis. Rotation is performed with the workpiece stationary. The turning process includes, for example, a facing process. Facing or the like is a mode in which the workpiece is turned relative to the main axis. Turning is performed with the spindle stopped. Spindle head is provided with engaged portion engaging portion of the tool for handed cutting machining is engaged. The operator attaches a turning tool to the spindle. The engaged portion engages with the engaging portion. Since the main shaft is mechanically fixed, it cannot rotate.

特許第4543746号公報Japanese Patent No. 4543746

主軸は旋削加工用の工具を装着した状態では回転不能となる。故に工作機械は主軸に旋削加工用の工具を装着した状態で主軸を回転すると、主軸に過剰な負荷がかかる可能性があった。   The spindle cannot be rotated with a turning tool attached. Therefore, if the machine tool rotates the spindle with a turning tool mounted on the spindle, there is a possibility that an excessive load is applied to the spindle.

本発明の目的は、主軸に旋削加工用の工具を装着した状態で主軸を回転するのを防止できる工作機械を提供することである。   An object of the present invention is to provide a machine tool that can prevent the spindle from rotating while a turning tool is mounted on the spindle.

本発明の請求項1に係る工作機械は、回転加工用の工具及び削加工用の工具を共通の主軸に選択的に装着し、ワークに回転加工及び削加工を選択的に施し、かつ工具交換機構による前記主軸の工具交換が可能な工作機械であって、前記主軸を回転可能に保持する主軸ヘッドと、前記主軸ヘッドに設け、削加工用の工具の係合部が係合することに基づいて削加工用の工具の回転を規制する被係合部と、前記主軸を駆動する駆動部と、電源切断時における前記主軸の状態について、前記主軸に前記回転加工用の工具を装着した第一状態、前記削加工用の工具を装着した第二状態、及び前記工具を装着しない第三状態のうち少なくとも何れかの状態を指定可能な主軸状態指定手段と、電源切断時に、前記工具交換機構によって、前記主軸を前記主軸状態指定手段が指定した前記主軸の状態に制御する主軸状態制御手段とを備える。 Machine tool according to claim 1 of the present invention, selectively mounted tool for machining cutting tool and handed for a rotary processing to a common main shaft, selectively subjected to rotation processing and handed cutting a workpiece, and a machine tool capable tool change of the main spindle by the tool exchange mechanism, a spindle head for rotatably holding the spindle, provided in the spindle head, the engaging portion of the tool for handed cutting machining is engaged and the engaged portion that restricts the rotation of the tool for handed cutting machining particular basis, a driving unit for driving the spindle, the state of the main shaft at the time of power-off, a tool for the rotary working on the spindle mounting the first state, a second state of mounting the tool for the handed cutting machining, and the spindle state designating means capable specify at least one of the state of the third state of not mounting the tool, when power is shut down, The spindle is moved by the tool changing mechanism. And a spindle state control means for controlling the state of the spindle in which the spindle state designating means has designated.

工作機械は電源切断時に主軸の状態を指定できる。故に工作機械は次回起動時における主軸の状態を予め決めることができる。主軸状態が例えば第一状態である場合、主軸に装着してある工具は回転加工用の工具である。故に工作機械は起動後に主軸を回転する主軸指令があった場合に主軸を回転しても故障する虞はない。主軸状態が第三状態の場合、主軸は工具を装着していない。故に工作機械は起動後に主軸指令があった場合に主軸を回転しても故障する虞はない。主軸状態が第二状態である場合、主軸に装着してある工具は旋削加工用の工具である。主軸は回転できない。故に工作機械は例えば起動後の回転指令に対して主軸を回転しない等の対策が可能である。本発明は主軸に旋削加工用の工具を装着した状態で主軸を回転するのを防止できる。   The machine tool can specify the spindle state when the power is turned off. Therefore, the machine tool can predetermine the state of the spindle at the next start-up. When the main shaft state is, for example, the first state, the tool mounted on the main shaft is a rotary processing tool. Therefore, when there is a spindle command for rotating the spindle after startup, the machine tool is not likely to break down even if the spindle is rotated. When the main shaft state is the third state, the main shaft is not equipped with a tool. Therefore, there is no possibility that the machine tool will break down even if the spindle is rotated when a spindle command is issued after starting. When the spindle state is the second state, the tool mounted on the spindle is a turning tool. The spindle cannot rotate. Therefore, the machine tool can take measures such as not rotating the spindle in response to a rotation command after startup. The present invention can prevent the spindle from rotating in a state where a turning tool is mounted on the spindle.

請求項2に係る発明の工作機械は、請求項1に記載の発明の構成に加え、前記第一状態、前記第二状態、及び前記第三状態のうち何れか一の状態をパラメータで設定可能な設定手段を備え、前記主軸状態指定手段は、前記設定手段が設定した前記一の状態を指定することを特徴とする。工作機械は第一状態、第二状態、及び第三状態のうち何れか一の状態をパラメータで設定可能である。故に作業者は例えば現場で使用する工具に応じて何れかの状態を自由に設定できる。   A machine tool according to a second aspect of the invention can set any one of the first state, the second state, and the third state as a parameter in addition to the configuration of the invention according to the first aspect. The spindle state designating unit designates the one state set by the setting unit. The machine tool can set any one of the first state, the second state, and the third state as a parameter. Therefore, the operator can freely set any state according to, for example, a tool used on the site.

請求項3に係る発明の工作機械は、請求項2に記載の発明の構成に加え、前記主軸状態指定手段は、前記設定手段で設定した前記パラメータを記憶手段に記憶する記憶処理手段を備え、起動後に、前記主軸の回転を指示する主軸指令があるか否か判断する主軸指令判断手段と、前記主軸指令判断手段が前記主軸指令があると判断した場合、前記記憶手段に記憶した前記パラメータに基づき、前記主軸状態指定手段が前記第二状態を指定したか否か判断する第二状態判断手段と、前記第二状態判断手段が前記主軸状態指定手段が前記第二状態を指定したと判断した場合、前記主軸指令を無視する主軸駆動制御手段とを備える。工作機械は第二状態を指定した場合、主軸を回転できない。旋削加工用の工具は非回転工具だからである。工作機械は次回起動後の主軸指令を無視する。主軸に旋削加工用の工具を装着した状態で主軸を回転するのを防止できる。故に主軸に過剰な負荷がかかるのを防止できる。   A machine tool according to a third aspect of the invention includes the storage processing means for storing the parameter set by the setting means in the storage means, in addition to the configuration of the invention according to the second aspect, After starting, when the spindle command determining means for determining whether or not there is a spindle command for instructing rotation of the spindle, and when the spindle command determining means determines that there is the spindle command, the parameter stored in the storage means Based on the second state determination means for determining whether the spindle state designation means has designated the second state, and the second state determination means has determined that the spindle state designation means has designated the second state A spindle drive control means for ignoring the spindle command. The machine tool cannot rotate the spindle when the second state is specified. This is because the turning tool is a non-rotating tool. The machine tool ignores the spindle command after the next startup. It is possible to prevent the spindle from rotating with the turning tool mounted on the spindle. Therefore, it is possible to prevent an excessive load from being applied to the main shaft.

工作機械1の斜視図。1 is a perspective view of a machine tool 1. 工作機械1の正面図。1 is a front view of a machine tool 1. 工作機械1の右側面図。The right view of the machine tool 1. FIG. 工具TBの斜視図。The perspective view of tool TB. 主軸8に工具TBが装着した状態を示す斜視図。The perspective view which shows the state with which the tool TB was mounted | worn with the main axis | shaft 8. FIG. 工作機械1の電気的構成を示すブロック図。1 is a block diagram showing an electrical configuration of a machine tool 1. FIG. ポットテーブル241の概念図。The conceptual diagram of the pot table 241. FIG. 切断時パラメータテーブル242の概念図。The conceptual diagram of the parameter table 242 at the time of a cutting | disconnection. 主軸状態指定処理の流れ図。The flowchart of a spindle state designation | designated process. 電源切断時処理の流れ図。The flowchart of the process at the time of power-off. 起動時処理の流れ図。Flow chart of processing at startup.

以下、本発明の一実施形態について、図面を参照して説明する。図1の左斜め下方、右斜め上方、右斜め下方、左斜め上方は、夫々、工作機械1の前方、後方、右方、左方である。工作機械1の左右方向、前後方向、上下方向を、夫々、工作機械1のX軸方向、Y軸方向、Z軸方向とする。図1に示す工作機械1は複合加工機である。複合加工機はワーク(被加工物)に回転加工及び削加工を選択的に施すことができる。 Hereinafter, an embodiment of the present invention will be described with reference to the drawings. In FIG. 1, the diagonally lower left, diagonally upper right, diagonally lower right, and diagonally upper left are the front, rear, right, and left of the machine tool 1, respectively. The left-right direction, the front-rear direction, and the up-down direction of the machine tool 1 are defined as an X-axis direction, a Y-axis direction, and a Z-axis direction of the machine tool 1, respectively. A machine tool 1 shown in FIG. 1 is a combined processing machine. Multi-axis machines may be subjected to rotation processing and handed cutting a workpiece (workpiece) selectively.

図1〜図3を参照して、工作機械1の構造について説明する。工作機械1は、基台部2、Y軸移動機構、運搬体12、X軸移動機構、コラム5、Z軸移動機構、主軸ヘッド7、主軸8、ワーク保持装置80、自動工具交換装置(以下「ATC」と呼ぶ)30等を備える。   The structure of the machine tool 1 will be described with reference to FIGS. The machine tool 1 includes a base 2, a Y-axis moving mechanism, a carrier 12, an X-axis moving mechanism, a column 5, a Z-axis moving mechanism, a spindle head 7, a spindle 8, a work holding device 80, an automatic tool changer (hereinafter referred to as a tool changer). 30) and the like.

基台部2はY軸方向に長い矩形箱状の鉄製部材である。基台部2は下部四隅に脚3を夫々備える。基台部2は上面に台座部4、右側支持部18、左側支持部19を備える。台座部4は基台部2上面後部側に設けてある。台座部4は例えば略直方体状である。右側支持部18及び左側支持部19は台座部4よりも低い高さの台座である。右側支持部18は基台部2上面右前側に配置する。左側支持部19は基台部2上面左前側に配置する。右側支持部18及び左側支持部19はワーク保持装置80を下方から支持する。   The base part 2 is a rectangular box-shaped iron member that is long in the Y-axis direction. The base 2 is provided with legs 3 at the lower four corners. The base part 2 includes a pedestal part 4, a right support part 18, and a left support part 19 on the upper surface. The pedestal 4 is provided on the rear side of the upper surface of the base 2. The pedestal portion 4 has a substantially rectangular parallelepiped shape, for example. The right support portion 18 and the left support portion 19 are pedestals having a height lower than that of the pedestal portion 4. The right support portion 18 is disposed on the right front side of the upper surface of the base portion 2. The left support portion 19 is disposed on the left front side of the upper surface of the base portion 2. The right support part 18 and the left support part 19 support the work holding device 80 from below.

Y軸移動機構は台座部4上面に設けてある。Y軸移動機構は運搬体12をY軸方向に移動する。Y軸移動機構は一対のY軸レール61,62、Y軸ボールネジ63、Y軸モータ52(図4参照)等を備える。Y軸レール61,62は台座部4上面の左右方向両端部に沿って設けてある。Y軸ボールネジ63はY軸レール61,62の間に設けてある。運搬体12はY軸レール61,62に沿って移動可能である。運搬体12は例えば所定厚を有する金属製板部材である。運搬体12は下面にナット(図示略)を備える。ナットはY軸ボールネジ63に螺合する。Y軸モータ52はY軸ボールネジ63を回転する。運搬体12はナットと共にY軸方向に移動する。   The Y-axis moving mechanism is provided on the upper surface of the base part 4. The Y-axis moving mechanism moves the transporter 12 in the Y-axis direction. The Y-axis moving mechanism includes a pair of Y-axis rails 61 and 62, a Y-axis ball screw 63, a Y-axis motor 52 (see FIG. 4), and the like. The Y-axis rails 61 and 62 are provided along the left and right ends of the upper surface of the pedestal 4. The Y-axis ball screw 63 is provided between the Y-axis rails 61 and 62. The transporter 12 is movable along the Y-axis rails 61 and 62. The carrier 12 is a metal plate member having a predetermined thickness, for example. The carrier 12 includes a nut (not shown) on the lower surface. The nut is screwed onto the Y-axis ball screw 63. The Y-axis motor 52 rotates the Y-axis ball screw 63. The carrier 12 moves in the Y-axis direction together with the nut.

X軸移動機構は運搬体12上面に設けてある。X軸移動機構はコラム5をX軸方向に移動する。X軸移動機構は一対のX軸レール71,72、X軸ボールネジ73、X軸モータ51(図4参照)等を備える。X軸レール71,72、X軸ボールネジ73はX軸方向に延設する。X軸レール71は運搬体12上面後側、X軸レール72は運搬体12上面前側に配置する。X軸ボールネジ73はX軸レール71,72の間に配置する。コラム5はX軸レール71,72に沿って移動可能である。コラム5は下面にナット(図示略)を備える。ナットはX軸ボールネジ73に螺合する。X軸モータ51はX軸ボールネジ73を回転する。コラム5はナットと共にX軸方向に移動する。コラム5は運搬体12を介してY軸方向に移動する。即ち、コラム5はY軸移動機構、X軸移動機構、運搬体12によって、X軸方向及びY軸方向に移動可能となる。   The X-axis moving mechanism is provided on the upper surface of the carrier 12. The X axis moving mechanism moves the column 5 in the X axis direction. The X-axis moving mechanism includes a pair of X-axis rails 71 and 72, an X-axis ball screw 73, an X-axis motor 51 (see FIG. 4), and the like. The X-axis rails 71 and 72 and the X-axis ball screw 73 extend in the X-axis direction. The X-axis rail 71 is arranged on the rear side of the upper surface of the carrier 12, and the X-axis rail 72 is arranged on the front side of the upper surface of the carrier 12. The X-axis ball screw 73 is disposed between the X-axis rails 71 and 72. The column 5 is movable along the X-axis rails 71 and 72. The column 5 includes a nut (not shown) on the lower surface. The nut is screwed into the X-axis ball screw 73. The X-axis motor 51 rotates the X-axis ball screw 73. The column 5 moves in the X-axis direction together with the nut. The column 5 moves in the Y-axis direction via the carrier 12. That is, the column 5 can be moved in the X-axis direction and the Y-axis direction by the Y-axis moving mechanism, the X-axis moving mechanism, and the carrier 12.

コラム5は右側面下部に保護カバー16、左側面下部に保護カバー17、背面下部にカバー13を備える。保護カバー16はコラム5右側面から右側方において露出するX軸移動機構を覆う。保護カバー17はコラム5左側面から左側方において露出するX軸移動機構を覆う。保護カバー16,17はコラム5のX軸方向への移動に追従して移動する。カバー13はコラム5の背面後方において露出するY軸移動機構を覆う。カバー13はコラム5のY軸方向への移動に追従して伸縮する。保護カバー16,17、カバー13はX軸移動機構及びY軸移動機構内に切粉及び切削液が侵入するのを防止する。   The column 5 includes a protective cover 16 at the lower right side, a protective cover 17 at the lower left side, and a cover 13 at the lower rear side. The protective cover 16 covers the X-axis moving mechanism exposed from the right side surface of the column 5 to the right side. The protective cover 17 covers the X-axis moving mechanism exposed from the left side of the column 5 on the left side. The protective covers 16 and 17 move following the movement of the column 5 in the X-axis direction. The cover 13 covers the Y-axis moving mechanism exposed at the rear rear side of the column 5. The cover 13 expands and contracts following the movement of the column 5 in the Y-axis direction. The protective covers 16 and 17 and the cover 13 prevent chips and cutting fluid from entering the X-axis moving mechanism and the Y-axis moving mechanism.

Z軸移動機構はコラム5前面に設けてある。Z軸移動機構は主軸ヘッド7をZ軸方向に移動する。Z軸移動機構は一対のZ軸レール(図示略)、Z軸ボールネジ(図示略)、Z軸モータ53(図6参照)等を備える。Z軸レール、Z軸ボールネジはZ軸方向に延設する。Z軸ボールネジは一対のZ軸レールの間に配置する。主軸ヘッド7はZ軸レールに沿って移動可能である。主軸ヘッド7は背面にナット(図示略)を備える。ナットはZ軸ボールネジに螺合する。Z軸モータ53はZ軸ボールネジを回転する。主軸ヘッド7はZ軸方向に移動する。保護カバー28は主軸ヘッド7上部後側に固定してある。保護カバー28は主軸ヘッド7と共に上下動することでコラム5前面を覆う。コラム5は前面にZ軸シャッター27を備える。Z軸シャッター27は主軸ヘッド7の上下動に従い伸縮する。Z軸シャッター27はZ軸移動機構内に切粉及び切削液が侵入するのを防止する。   The Z-axis moving mechanism is provided on the front surface of the column 5. The Z-axis moving mechanism moves the spindle head 7 in the Z-axis direction. The Z-axis moving mechanism includes a pair of Z-axis rails (not shown), a Z-axis ball screw (not shown), a Z-axis motor 53 (see FIG. 6), and the like. The Z-axis rail and the Z-axis ball screw extend in the Z-axis direction. The Z-axis ball screw is disposed between a pair of Z-axis rails. The spindle head 7 is movable along the Z-axis rail. The spindle head 7 includes a nut (not shown) on the back surface. The nut is screwed onto the Z-axis ball screw. The Z-axis motor 53 rotates the Z-axis ball screw. The spindle head 7 moves in the Z-axis direction. The protective cover 28 is fixed to the upper rear side of the spindle head 7. The protective cover 28 moves up and down together with the spindle head 7 to cover the front surface of the column 5. The column 5 includes a Z-axis shutter 27 on the front surface. The Z-axis shutter 27 expands and contracts according to the vertical movement of the spindle head 7. The Z-axis shutter 27 prevents chips and cutting fluid from entering the Z-axis moving mechanism.

主軸ヘッド7はZ軸駆動機構によりコラム5前面に沿って昇降する。主軸8は主軸ヘッド7下部に設けてある。主軸8は工具装着部(図示略)を備える。工具装着部は例えばテーパ状の孔部である。工具装着部は工具TA,TBを装着する。工具TAは回転加工用の工具である。工具TBは旋削加工用の工具である。以下、工具TA,TBを総称する場合は工具Tと称する。主軸モータ54は主軸ヘッド7上面前側に設けてある。主軸モータ54は主軸8を回転する。ケーブルベア(登録商標)29は主軸ヘッド7上部とコラム5上部との間に設けてある。   The spindle head 7 moves up and down along the front surface of the column 5 by a Z-axis drive mechanism. The main shaft 8 is provided below the main shaft head 7. The main shaft 8 includes a tool mounting portion (not shown). The tool mounting portion is, for example, a tapered hole portion. The tool mounting portion is mounted with tools TA and TB. The tool TA is a rotary processing tool. The tool TB is a turning tool. Hereinafter, the tools TA and TB are collectively referred to as a tool T. The spindle motor 54 is provided on the front side of the upper surface of the spindle head 7. The main shaft motor 54 rotates the main shaft 8. A cable bear (registered trademark) 29 is provided between the upper part of the spindle head 7 and the upper part of the column 5.

図1〜図3を参照して、ワーク保持装置80の構造について説明する。ワーク保持装置80は、右側固定部88、左側固定部89、治具固定テーブル81、C軸モータ56、C軸82、チルトモータ57等を備える。右側固定部88は右側支持部18の上面に固定する。左側固定部89は左側支持部19の上面に固定する。   The structure of the workpiece holding device 80 will be described with reference to FIGS. The work holding device 80 includes a right fixing part 88, a left fixing part 89, a jig fixing table 81, a C-axis motor 56, a C-axis 82, a tilt motor 57, and the like. The right fixing part 88 is fixed to the upper surface of the right support part 18. The left fixing part 89 is fixed to the upper surface of the left support part 19.

治具固定テーブル81は、テーブル部81A、右連結部81B、左連結部81Cを備える。C軸モータ56は治具固定テーブル81の下面側に設けてある。C軸82は治具固定テーブル81の略中央に設けてある。C軸82は円柱状である。C軸82はC軸モータ56の回転軸に連結する。治具(図示略)はC軸82の上面に固定する。治具は例えば円柱状で且つC軸82と同軸上に配置する。治具はワークを保持する。C軸82の軸線方向はテーブル部81A表面に対して直交する。故に治具はC軸82と共に回転可能である。   The jig fixing table 81 includes a table portion 81A, a right connecting portion 81B, and a left connecting portion 81C. The C-axis motor 56 is provided on the lower surface side of the jig fixing table 81. The C-axis 82 is provided at substantially the center of the jig fixing table 81. The C axis 82 is cylindrical. The C shaft 82 is connected to the rotation shaft of the C axis motor 56. A jig (not shown) is fixed to the upper surface of the C-axis 82. The jig is, for example, cylindrical and is arranged coaxially with the C-axis 82. The jig holds the workpiece. The axial direction of the C-axis 82 is orthogonal to the surface of the table portion 81A. Therefore, the jig can be rotated together with the C-axis 82.

右連結部81Bはテーブル部81Aから右上方向に延出し且つ右側固定部88にX軸回りに回転可能に連結する。左連結部81Cはテーブル部81Aから左上方向に延出し且つ左側固定部89にX軸回りに回転可能に連結する。チルトモータ57は右側固定部88に固定してある。チルトモータ57は治具固定テーブル81をX軸回りに回転する。チルトモータ57の回転軸は右連結部81Bと連結する。   The right connecting portion 81B extends from the table portion 81A in the upper right direction and is connected to the right fixing portion 88 so as to be rotatable around the X axis. The left connecting portion 81C extends from the table portion 81A in the upper left direction and is connected to the left fixing portion 89 so as to be rotatable around the X axis. The tilt motor 57 is fixed to the right fixing portion 88. The tilt motor 57 rotates the jig fixing table 81 around the X axis. The rotation shaft of the tilt motor 57 is connected to the right connecting portion 81B.

治具に固定したワークは、C軸モータ56の駆動によりC軸82の軸回りで回転する。治具に固定したワークは、チルトモータ57による治具固定テーブル81の回転に関わらず、C軸モータ56の駆動によりテーブル部81Aに対して直角な軸回りで回転する。   The workpiece fixed to the jig is rotated around the axis of the C axis 82 by driving of the C axis motor 56. Regardless of the rotation of the jig fixing table 81 by the tilt motor 57, the workpiece fixed to the jig rotates about an axis perpendicular to the table portion 81A by driving the C-axis motor 56.

図1〜図3を参照して、ATC30の構造について説明する。ATC30は、工具マガジン31、マガジン支持部材32、マガジンモータ55、駆動ギヤ35等を備える。マガジン支持部材32は楕円状の金属製板部材である。マガジン支持部材32は、主軸ヘッド7及びコラム5を内側に挿入した状態で、コラム5に取り付けてある。工具マガジン31は前方から後方に従って上方に向かって傾斜している。   The structure of the ATC 30 will be described with reference to FIGS. The ATC 30 includes a tool magazine 31, a magazine support member 32, a magazine motor 55, a drive gear 35, and the like. The magazine support member 32 is an elliptical metal plate member. The magazine support member 32 is attached to the column 5 with the spindle head 7 and the column 5 inserted inside. The tool magazine 31 is inclined upward from the front to the rear.

工具マガジン31はマガジン支持部材32の外周に沿って取り付けてある。工具マガジン31はチェーン34、複数のポット37を備える。チェーン34はマガジン支持部材32の外周に沿って移動可能に取り付けてある。複数のポット37はチェーン34に夫々取り付けてある。本実施形態の工具マガジン31は例えば21本のポット37を備える。ポット37は工具Tを保持可能である。ポット37は例えばアーム状に形成し且つ揺動可能に取り付けてある。   The tool magazine 31 is attached along the outer periphery of the magazine support member 32. The tool magazine 31 includes a chain 34 and a plurality of pots 37. The chain 34 is attached so as to be movable along the outer periphery of the magazine support member 32. The plurality of pots 37 are attached to the chain 34, respectively. The tool magazine 31 of the present embodiment includes, for example, 21 pots 37. The pot 37 can hold the tool T. The pot 37 is formed, for example, in an arm shape and is swingably attached.

マガジンモータ55はマガジン支持部材32の上部に取り付けてある。マガジンモータ55の駆動軸はマガジン支持部材32の上面に直交する。マガジンモータ55の駆動軸は正逆何れの方向にも回転可能である。駆動ギヤ35はマガジンモータ55の駆動軸に取り付けてある。駆動ギヤ35はマガジンモータ55の駆動軸と共に回転する。駆動ギヤ35は工具マガジン31のチェーン34に噛合する。チェーン34は駆動ギヤ35の駆動によりマガジン支持部材32の外周に沿って正逆何れかの方向に移動する。故にポット37はチェーン34と共にマガジン支持部材32の外周に沿って移動する。工具マガジン31の最下部に位置するポット37の位置は、工具交換位置である。工具交換位置は主軸8に最も近接する位置である。ATC30は、工具交換位置にあるポット37が保持する次工具を、主軸8に装着する現工具と交換する。   The magazine motor 55 is attached to the upper part of the magazine support member 32. The drive shaft of the magazine motor 55 is orthogonal to the upper surface of the magazine support member 32. The drive shaft of the magazine motor 55 can rotate in either forward or reverse direction. The drive gear 35 is attached to the drive shaft of the magazine motor 55. The drive gear 35 rotates with the drive shaft of the magazine motor 55. The drive gear 35 meshes with the chain 34 of the tool magazine 31. The chain 34 is moved in either the forward or reverse direction along the outer periphery of the magazine support member 32 by driving the drive gear 35. Therefore, the pot 37 moves along with the chain 34 along the outer periphery of the magazine support member 32. The position of the pot 37 located at the lowermost part of the tool magazine 31 is a tool change position. The tool change position is the position closest to the spindle 8. The ATC 30 replaces the next tool held by the pot 37 at the tool replacement position with the current tool mounted on the spindle 8.

工作機械1による加工方法について説明する。工作機械1は回転加工と旋削加工が可能である。回転加工は固定したワークに回転する工具TAを当てて移動する加工方法である。例えばドリル、タップ等の孔空け加工の際に用いる。回転加工は回転加工用の工具TAを用いる。工具TAは主軸8に装着した状態で回転可能である。旋削加工は回転するワークに工具TBを当てて移動する加工方法である。例えばフェイシング加工等に用いる。旋削加工は旋削加工用の工具TBを用いる。工具TBは主軸8に装着した状態では回転不能となる。   A processing method using the machine tool 1 will be described. The machine tool 1 is capable of rotating and turning. Rotational machining is a machining method that moves by applying a rotating tool TA to a fixed workpiece. For example, it is used for drilling such as drills and taps. The rotary machining uses a rotary machining tool TA. The tool TA can be rotated while being mounted on the spindle 8. Turning is a machining method in which a tool TB is applied to a rotating workpiece and moved. For example, it is used for facing processing. Turning is performed using a tool TB for turning. When the tool TB is mounted on the spindle 8, it cannot be rotated.

図4の如く、工具TBは、テーパシャンク101、プルスタッド102、フランジ103等を備える。テーパシャンク101は略円錐状である。テーパシャンク101は主軸8の工具装着部(図示略)に装着する。プルスタッド102はテーパシャンク101の頂上部に設けてある。プルスタッド102は工具装着部内に設けた把持部(図示略)が把持する部分である。フランジ103は工具TBとテーパシャンク101との間に設けてある。フランジ103は工具TBの径方向外側に延出する略円盤状である。   As shown in FIG. 4, the tool TB includes a taper shank 101, a pull stud 102, a flange 103, and the like. The taper shank 101 is substantially conical. The taper shank 101 is mounted on a tool mounting portion (not shown) of the main shaft 8. The pull stud 102 is provided on the top of the taper shank 101. The pull stud 102 is a portion that is gripped by a gripping portion (not shown) provided in the tool mounting portion. The flange 103 is provided between the tool TB and the taper shank 101. The flange 103 has a substantially disk shape extending outward in the radial direction of the tool TB.

フランジ103は一対のキー溝105,106を備える。キー溝105,106は長方形状に形成してあるが形状は限定しない。キー溝105,106はフランジ103の中心を挟んで互いに対向する位置にある。キー溝105,106は旋削加工用の工具TBに特有である。図5の如く、主軸ヘッド7は下端面に一対のキー91,92を備える。キー91,92は例えば凸状である。キー91,92の形状はキー溝105,106の形状に対応する。キー91,92は主軸8の工具装着部を挟んで互いに対向する位置関係である。   The flange 103 includes a pair of key grooves 105 and 106. The key grooves 105 and 106 are formed in a rectangular shape, but the shape is not limited. The key grooves 105 and 106 are at positions facing each other across the center of the flange 103. The key grooves 105 and 106 are unique to the turning tool TB. As shown in FIG. 5, the spindle head 7 includes a pair of keys 91 and 92 on the lower end surface. The keys 91 and 92 are, for example, convex. The shape of the keys 91 and 92 corresponds to the shape of the key grooves 105 and 106. The keys 91 and 92 are in a positional relationship facing each other across the tool mounting portion of the main shaft 8.

図5の如く、主軸8(図5では図示略)は工具TBを装着した状態である。工具TBのテーパシャンク101は主軸8の工具装着部に装着する。フランジ103は主軸ヘッド7の下端面に接触する。キー91,92はキー溝105,106に係合する。キー91,92はキー溝105,106の内面に係止する。工具TBは主軸ヘッド7に対して機械的に固定した状態なので主軸8は回転不能となる。回転加工用の工具TAは、工具TBと同様に、テーパシャンク、プルスタッドを備えるがフランジは無い。故に工具TAは主軸8の工具装着部に装着した場合、キー91,92と係合しないので、工具TAは主軸8と共に回転可能である。   As shown in FIG. 5, the spindle 8 (not shown in FIG. 5) is in a state where a tool TB is mounted. The taper shank 101 of the tool TB is mounted on the tool mounting portion of the main shaft 8. The flange 103 is in contact with the lower end surface of the spindle head 7. The keys 91 and 92 are engaged with the key grooves 105 and 106. The keys 91 and 92 are locked to the inner surfaces of the key grooves 105 and 106. Since the tool TB is mechanically fixed to the spindle head 7, the spindle 8 cannot be rotated. As with the tool TB, the rotary machining tool TA includes a taper shank and a pull stud, but does not have a flange. Therefore, when the tool TA is mounted on the tool mounting portion of the main shaft 8, it does not engage with the keys 91 and 92, so that the tool TA can rotate together with the main shaft 8.

図1〜図3を参照して、工作機械1を用いた回転加工工程について説明する。作業者はC軸82に治具を用いてワークを固定する。ATC30は主軸8に工具TAを装着する。工具TAは主軸ヘッド7に対して回転可能状態である。工作機械1は主軸モータ54を駆動する。工具TAは主軸8と共に回転する。工作機械1はC軸モータ56を駆動しないので、C軸82上の治具に固定したワークは回転しない。工作機械1はX軸モータ51〜Z軸モータ53を駆動して主軸8の位置を移動し、且つ主軸8を回転させて治具に固定したワークに対して回転加工ができる。   With reference to FIGS. 1-3, the rotary process using the machine tool 1 is demonstrated. The operator fixes the workpiece to the C-axis 82 using a jig. The ATC 30 mounts a tool TA on the spindle 8. The tool TA is in a rotatable state with respect to the spindle head 7. The machine tool 1 drives a spindle motor 54. The tool TA rotates with the main shaft 8. Since the machine tool 1 does not drive the C-axis motor 56, the workpiece fixed to the jig on the C-axis 82 does not rotate. The machine tool 1 can drive the X-axis motor 51 to the Z-axis motor 53 to move the position of the main shaft 8 and rotate the main shaft 8 to rotate the workpiece fixed to the jig.

図1〜図3を参照して、工作機械1を用いた旋削加工工程について説明する。作業者はC軸82の上面に治具を用いてワークを固定する。ATC30は主軸8に工具TBを装着する。工具TBは主軸ヘッド7に対して回転不可能な状態である。工作機械1はC軸モータ56を駆動する。C軸82上の治具に固定したワークは回転する。工作機械1はX軸モータ51〜Z軸モータ53を駆動して主軸8の位置を移動し、回転したワークに対して工具TBによる旋削加工ができる。   A turning process using the machine tool 1 will be described with reference to FIGS. The operator fixes the workpiece on the upper surface of the C-axis 82 using a jig. The ATC 30 mounts the tool TB on the spindle 8. The tool TB is in a state in which it cannot rotate with respect to the spindle head 7. The machine tool 1 drives a C-axis motor 56. The work fixed to the jig on the C-axis 82 rotates. The machine tool 1 drives the X-axis motor 51 to the Z-axis motor 53 to move the position of the main shaft 8 and can turn the rotated workpiece with the tool TB.

工作機械1はチルトモータ57によりX軸回りのワーク姿勢を調整可能である。故にワークの所望の部位を加工できる。なお工作機械1は主軸モータ54及びC軸モータ56を同時に回転してワークを加工してもよい。   The machine tool 1 can adjust the workpiece posture around the X axis by a tilt motor 57. Therefore, a desired part of the workpiece can be processed. The machine tool 1 may process the workpiece by rotating the spindle motor 54 and the C-axis motor 56 simultaneously.

図6を参照して、工作機械1の電気的構成について説明する。工作機械1は数値制御部20を備える。数値制御部20はCPU21、ROM22、RAM23、フラッシュメモリ24、入力部25、入出力部26等を備える。CPU21は工作機械1の動作を統括制御する。ROM22は各種プログラムを記憶する。RAM23は各種データを記憶する。フラッシュメモリ24はNCプログラム、後述するポットテーブル241(図7参照)、後述する切断時パラメータテーブル242(図8参照)等を記憶する。NCプログラムは複数のブロックで構成したものである。各ブロックは各種NCコマンドを含む。NCコマンドは制御指令である。   The electrical configuration of the machine tool 1 will be described with reference to FIG. The machine tool 1 includes a numerical control unit 20. The numerical control unit 20 includes a CPU 21, a ROM 22, a RAM 23, a flash memory 24, an input unit 25, an input / output unit 26, and the like. The CPU 21 comprehensively controls the operation of the machine tool 1. The ROM 22 stores various programs. The RAM 23 stores various data. The flash memory 24 stores an NC program, a pot table 241 (see FIG. 7) described later, a cutting parameter table 242 (see FIG. 8) described later, and the like. The NC program is composed of a plurality of blocks. Each block includes various NC commands. The NC command is a control command.

操作部38、Z軸原点センサ39は入力部25に接続する。操作部38は例えば工作機械1を覆うカバー(図示略)に設けてある。操作部38は例えば作業者が工作機械1の動作について各種入力及び設定を行う機器である。Z軸原点センサ39は主軸ヘッド7のZ軸方向の原点を検出する。駆動回路41〜49は入出力部26に接続する。   The operation unit 38 and the Z-axis origin sensor 39 are connected to the input unit 25. The operation unit 38 is provided, for example, on a cover (not shown) that covers the machine tool 1. For example, the operation unit 38 is a device on which an operator performs various inputs and settings regarding the operation of the machine tool 1. The Z-axis origin sensor 39 detects the origin of the spindle head 7 in the Z-axis direction. The drive circuits 41 to 49 are connected to the input / output unit 26.

駆動回路41はX軸モータ51を駆動する。エンコーダ51AはX軸モータ51と入出力部26に接続する。エンコーダ51AはX軸モータ51の回転量を検出し該検出信号を入出力部26に入力する。駆動回路42はY軸モータ52を駆動する。エンコーダ52AはY軸モータ52と入出力部26に接続する。エンコーダ52AはY軸モータ52の回転量を検出し該検出信号を入出力部26に入力する。駆動回路43はZ軸モータ53を駆動する。エンコーダ53AはZ軸モータ53と入出力部26に接続する。エンコーダ53AはZ軸モータ53の回転量を検出し該検出信号を入出力部26に入力する。   The drive circuit 41 drives the X axis motor 51. The encoder 51A is connected to the X-axis motor 51 and the input / output unit 26. The encoder 51 </ b> A detects the rotation amount of the X-axis motor 51 and inputs the detection signal to the input / output unit 26. The drive circuit 42 drives the Y axis motor 52. The encoder 52 </ b> A is connected to the Y-axis motor 52 and the input / output unit 26. The encoder 52A detects the amount of rotation of the Y-axis motor 52 and inputs the detection signal to the input / output unit 26. The drive circuit 43 drives the Z-axis motor 53. The encoder 53A is connected to the Z-axis motor 53 and the input / output unit 26. The encoder 53 </ b> A detects the amount of rotation of the Z-axis motor 53 and inputs the detection signal to the input / output unit 26.

駆動回路44は主軸モータ54を駆動する。エンコーダ54Aは主軸モータ54と入出力部26に接続する。エンコーダ54Aは主軸モータ54の回転量を検出し該検出信号を入出力部26に入力する。駆動回路46はマガジンモータ55を駆動する。エンコーダ55Aはマガジンモータ55と入出力部26に接続する。エンコーダ55Aはマガジンモータ55の回転量を検出し該検出信号を入出力部26に入力する。駆動回路46はC軸モータ56を駆動する。エンコーダ56AはC軸モータ56と入出力部26に接続する。エンコーダ56AはC軸モータ56の回転量を検出し該検出信号を入出力部26に入力する。   The drive circuit 44 drives the spindle motor 54. The encoder 54 </ b> A is connected to the spindle motor 54 and the input / output unit 26. The encoder 54 </ b> A detects the amount of rotation of the spindle motor 54 and inputs the detection signal to the input / output unit 26. The drive circuit 46 drives the magazine motor 55. The encoder 55 </ b> A is connected to the magazine motor 55 and the input / output unit 26. The encoder 55 </ b> A detects the rotation amount of the magazine motor 55 and inputs the detection signal to the input / output unit 26. The drive circuit 46 drives the C-axis motor 56. The encoder 56 </ b> A is connected to the C-axis motor 56 and the input / output unit 26. The encoder 56 </ b> A detects the rotation amount of the C-axis motor 56 and inputs the detection signal to the input / output unit 26.

駆動回路47はチルトモータ57を駆動する。エンコーダ57Aはチルトモータ57と入出力部26に接続する。エンコーダ57Aはチルトモータ57の回転量を検出し該検出信号を入出力部26に入力する。駆動回路48はクランプ装置58を駆動する。クランプ装置58は治具固定テーブル81の裏面側に設けてある。クランプ装置58は治具の回転軸を固定保持する。駆動回路49は表示部11を駆動する。表示部11は例えばスプラッシュカバー(図示略)に設けてある。表示部11は工作機械1の設定画面、操作画面等の各種画面を表示する。   The drive circuit 47 drives the tilt motor 57. The encoder 57 </ b> A is connected to the tilt motor 57 and the input / output unit 26. The encoder 57 </ b> A detects the amount of rotation of the tilt motor 57 and inputs the detection signal to the input / output unit 26. The drive circuit 48 drives the clamp device 58. The clamp device 58 is provided on the back side of the jig fixing table 81. The clamp device 58 fixes and holds the rotating shaft of the jig. The drive circuit 49 drives the display unit 11. The display unit 11 is provided, for example, on a splash cover (not shown). The display unit 11 displays various screens such as a setting screen and an operation screen of the machine tool 1.

X軸モータ51、Y軸モータ52、Z軸モータ53、主軸モータ54、マガジンモータ55、C軸モータ56、チルトモータ57は例えばサーボモータである。   The X-axis motor 51, the Y-axis motor 52, the Z-axis motor 53, the main shaft motor 54, the magazine motor 55, the C-axis motor 56, and the tilt motor 57 are servo motors, for example.

図7を参照して、ポットテーブル241について説明する。ポットテーブル241はポット番号と工具番号を夫々対応付けて記憶する。上述の通り、工具マガジン31は例えば21本のポット37を備える。工作機械1は各ポット37にポット番号を割り付けてある。P1〜P21はポット番号である。工具番号は各工具に割り付けた番号である。P1〜P18に対応する各工具番号は、工具マガジン31のP1〜P18に実際に装着した工具の工具番号に対応する。P1〜P18に装着する工具の順番は例えばNCプログラムの実行において使用する工具の順番に対応するとよい。P19〜P21の3本のポット37は電源切断時に主軸8に装着する工具専用のポット(以下電源切断時専用ポットと呼ぶ)である。P19に対応する工具は例えば工具TAである。P20に対応する工具は例えば工具TBである。P21は例えば空状態である。   The pot table 241 will be described with reference to FIG. The pot table 241 stores a pot number and a tool number in association with each other. As described above, the tool magazine 31 includes, for example, 21 pots 37. The machine tool 1 assigns a pot number to each pot 37. P1 to P21 are pot numbers. The tool number is a number assigned to each tool. The tool numbers corresponding to P1 to P18 correspond to the tool numbers of the tools actually attached to P1 to P18 of the tool magazine 31. The order of tools to be mounted on P1 to P18 may correspond to the order of tools used in the execution of the NC program, for example. The three pots 37 of P19 to P21 are dedicated pots for tools to be mounted on the spindle 8 when the power is turned off (hereinafter referred to as dedicated pots when the power is turned off). The tool corresponding to P19 is, for example, the tool TA. A tool corresponding to P20 is, for example, a tool TB. P21 is, for example, an empty state.

図8を参照して、切断時パラメータテーブル242について説明する。切断時パラメータテーブル242は切断時パラメータとポット番号を夫々対応付けて記憶する。切断時パラメータは、主軸8の状態を第一状態、第二状態、第三状態の何れか一の状態に制御する為のパラメータである。第一状態は主軸8に工具TAを装着した状態である。第二状態は主軸8に工具TBを装着した状態である。第三状態は主軸8に工具を装着していない状態である。切断時パラメータ1は第一状態に制御する為のパラメータである。切断時パラメータ2は第二状態に制御する為のパラメータである。切断時パラメータ3は第三状態に制御する為のパラメータである。P19は切断時パラメータ1に対応する。P19は工具TAを装着した状態である。P20は切断時パラメータ2に対応する。P20は工具TBを装着した状態である。P21は切断時パラメータ3に対応する。P21は工具を装着していない状態である。   The cutting parameter table 242 will be described with reference to FIG. The cutting parameter table 242 stores cutting parameters and pot numbers in association with each other. The cutting parameter is a parameter for controlling the state of the spindle 8 to any one of the first state, the second state, and the third state. The first state is a state where the tool TA is mounted on the spindle 8. The second state is a state where the tool TB is mounted on the spindle 8. The third state is a state in which no tool is mounted on the spindle 8. The parameter 1 at the time of cutting is a parameter for controlling to the first state. The parameter 2 at the time of cutting is a parameter for controlling to the second state. The parameter 3 at the time of cutting is a parameter for controlling to the third state. P19 corresponds to parameter 1 at the time of cutting. P19 is a state in which the tool TA is mounted. P20 corresponds to parameter 2 at the time of cutting. P20 is a state in which the tool TB is mounted. P21 corresponds to parameter 3 at the time of cutting. P21 is a state in which no tool is mounted.

P19〜P21は電源切断時専用ポットである。P19〜P21は21本のポット37の順番の最後の3本である。故に本実施形態は電源切断時に装着する工具専用のポット37を、他のポット37と区分けができる。作業者は各ポット37に対する工具の装着間違いを防止できる。電源切断時専用ポットは21本のポット37のうち最初の三本でもよく、バラバラに配置してもよい。電源切断時専用ポットは工具の装着間違いを防止する為、纏めて配置するのが好ましい。   P19 to P21 are dedicated pots when the power is turned off. P19 to P21 are the last three in the order of the 21 pots 37. Therefore, in this embodiment, the pot 37 dedicated to the tool to be mounted when the power is turned off can be distinguished from the other pots 37. The operator can prevent a mistake in attaching the tool to each pot 37. The power-off dedicated pot may be the first three of the 21 pots 37 or may be arranged apart. It is preferable to arrange the dedicated pots at the time of power-off in order to prevent wrong mounting of the tools.

なお本実施形態は、通常使用するポット37と区別して電源切断時専用ポットを設け、電源切断時に電源切断時専用ポットに装着する工具TA等を主軸8に装着する。例えば通常加工時に使用するポット37に工具TA等を装着し、電源切断時にそのポット37に装着する工具TA等を主軸8に装着するようにしてもよい。工具TA等は通常使用する工具Tと同じであり、加工時において他の工具Tと同様に使用する。   In the present embodiment, a dedicated pot at the time of power-off is provided separately from the pot 37 that is normally used, and a tool TA or the like that is mounted on the dedicated pot at the time of power-off is mounted on the spindle 8 when the power is turned off. For example, the tool TA or the like may be attached to the pot 37 used during normal machining, and the tool TA or the like attached to the pot 37 may be attached to the spindle 8 when the power is turned off. The tool TA or the like is the same as the tool T that is normally used, and is used in the same manner as other tools T at the time of machining.

図9を参照して、主軸状態指定処理について説明する。作業者は例えば操作部38(図6参照)を操作し主軸状態指定モードに切り替える。作業者は主軸状態指定モードにおいて電源切断時に主軸8に装着する工具を指定する。CPU21は主軸状態指定モードへの切り替えにより、ROM22に記憶した主軸状態指定プログラムを読み出して本処理を実行する。   The spindle state designation process will be described with reference to FIG. For example, the operator operates the operation unit 38 (see FIG. 6) to switch to the spindle state designation mode. The operator designates a tool to be mounted on the spindle 8 when the power is turned off in the spindle state designation mode. The CPU 21 reads the spindle state designation program stored in the ROM 22 and executes this process by switching to the spindle state designation mode.

先ずCPU21は表示部11に指定画面(図示略)を表示する(S1)。指定画面は電源切断時の主軸8の状態について、第一状態、第二状態、第三状態の何れか一つを選択して指定する画面である。作業者は例えば現場で使用する工具、所有する工具の種類等に応じて指定する工具を自由に決めればよい。   First, the CPU 21 displays a designation screen (not shown) on the display unit 11 (S1). The designation screen is a screen for selecting and designating one of the first state, the second state, and the third state with respect to the state of the spindle 8 when the power is turned off. For example, the operator may freely determine a tool to be designated according to, for example, a tool used at the site, the type of the tool owned, and the like.

作業者は例えば工具TAを所有するのであれば、第一状態又は第三状態を指定するのがよい。作業者は工具マガジン31に空きポットを設けないのであれば、第一状態に指定するのがよい。作業者は電源切断時の主軸状態を第一状態又は第三状態に指定することで、次回起動時において主軸8は主軸指令に基づき回転できる。故に工作機械1は工具TBを装着した状態で回転するのを防止できる。作業者は例えば工具TBを多く所有するのであれば、第二状態を指定してもよい。工作機械1は電源切断時の主軸状態を第二状態に指定することで、次回起動時において主軸8は主軸指令を無視する。故に工作機械1は加工動作をより早く進めることができる。   For example, if the operator owns the tool TA, the first state or the third state may be designated. If the operator does not provide an empty pot in the tool magazine 31, it is preferable to designate the first state. The operator designates the main shaft state when the power is turned off as the first state or the third state, so that the main shaft 8 can rotate based on the main shaft command at the next start-up. Therefore, the machine tool 1 can be prevented from rotating with the tool TB mounted. For example, if the worker owns many tools TB, the second state may be designated. The machine tool 1 designates the main spindle state when the power is turned off to the second state, so that the main spindle 8 ignores the main spindle command at the next start-up. Therefore, the machine tool 1 can advance the machining operation faster.

CPU21は第一状態を指定したか否か判断する(S2)。CPU21は第一状態を指定したと判断した場合(S2:YES)、切断時パラメータを1に設定する(S5)。CPU21はパラメータ情報をフラッシュメモリ24に記憶する(S8)。パラメータ情報は切断時パラメータの情報である。CPU21は第一状態を指定していないと判断した場合(S2:NO)、第二状態を指定したか否か判断する(S3)。CPU21は第二状態を指定したと判断した場合(S3:YES)、切断時パラメータを2に設定する(S6)。CPU21はパラメータ情報をフラッシュメモリ24に記憶する(S8)。CPU21は第二状態も指定していないと判断した場合(S3:NO)、第三状態を指定したか否か判断する(S4)。CPU21は第三状態を指定したと判断した場合(S4:YES)、切断時パラメータを3に設定する(S7)。CPU21はパラメータ情報をフラッシュメモリ24に記憶する(S8)。   The CPU 21 determines whether or not the first state has been designated (S2). If the CPU 21 determines that the first state has been designated (S2: YES), it sets the disconnection parameter to 1 (S5). The CPU 21 stores the parameter information in the flash memory 24 (S8). The parameter information is information on parameters at the time of disconnection. When determining that the first state is not designated (S2: NO), the CPU 21 judges whether or not the second state is designated (S3). When the CPU 21 determines that the second state is designated (S3: YES), it sets the disconnection parameter to 2 (S6). The CPU 21 stores the parameter information in the flash memory 24 (S8). When the CPU 21 determines that the second state is not specified (S3: NO), it determines whether the third state is specified (S4). If the CPU 21 determines that the third state has been designated (S4: YES), it sets the disconnection parameter to 3 (S7). The CPU 21 stores the parameter information in the flash memory 24 (S8).

CPU21は第三状態も指定してないと判断した場合(S4:NO)、作業者が指定を完了するまで、S2〜S4の判断処理を繰り返す。CPU21は切断時パラメータの設定を完了し(S5〜S7)、パラメータ情報をフラッシュメモリ24に記憶した後(S8)、本処理を終了する。   When the CPU 21 determines that the third state is not specified (S4: NO), the determination process of S2 to S4 is repeated until the operator completes the specification. The CPU 21 completes the setting of the parameters at the time of disconnection (S5 to S7), stores the parameter information in the flash memory 24 (S8), and ends this processing.

図10を参照して、電源切断時処理について説明する。CPU21は、作業者による電源切断の操作により、ROM22に記憶した電源切断時プログラムを読み出して本処理を実行する。先ず、CPU21はフラッシュメモリ24に記憶した切断時パラメータが1か否か判断する(S11)。CPU21は切断時パラメータが1であると判断した場合(S11:YES)、切断時パラメータテーブル242を参照する。切断時パラメータ1に対応するポット番号はP19である。P19に装着してある工具はポットテーブル241を参照すると工具TAである。CPU21はATC30によってP19に装着してある工具TAへの工具交換を実行する(S14)。CPU21は電源を切断し(S19)、本処理を終了する。   With reference to FIG. 10, the power-off process will be described. The CPU 21 reads the power-off program stored in the ROM 22 and executes this process by the operator's power-off operation. First, the CPU 21 determines whether or not the disconnection parameter stored in the flash memory 24 is 1 (S11). When the CPU 21 determines that the cutting parameter is 1 (S11: YES), the CPU 21 refers to the cutting parameter table 242. The pot number corresponding to the cutting time parameter 1 is P19. The tool attached to P19 is a tool TA when the pot table 241 is referred to. The CPU 21 executes the tool change to the tool TA attached to P19 by the ATC 30 (S14). The CPU 21 turns off the power (S19) and ends this process.

CPU21は切断時パラメータが1でないと判断した場合(S11:NO)、切断時パラメータは2か否か判断する(S12)。CPU21は切断時パラメータが2であると判断した場合(S12:YES)、切断時パラメータテーブル242を参照する。切断時パラメータ2に対応するポット番号はP20である。P20に装着してある工具はポットテーブル241を参照すると工具TBである。CPU21はATC20によってP20に装着してある工具TBへの工具交換を実行する(S15)。CPU21は電源を切断し(S19)、本処理を終了する。   If the CPU 21 determines that the cutting parameter is not 1 (S11: NO), it determines whether the cutting parameter is 2 (S12). When the CPU 21 determines that the cutting parameter is 2 (S12: YES), the CPU 21 refers to the cutting parameter table 242. The pot number corresponding to the cutting time parameter 2 is P20. The tool attached to P20 is a tool TB when referring to the pot table 241. The CPU 21 executes the tool change to the tool TB attached to P20 by the ATC 20 (S15). The CPU 21 turns off the power (S19) and ends this process.

CPU21は切断時パラメータが2でもないと判断した場合(S12:NO)、切断時パラメータは3か否か判断する(S13)。CPU21は切断時パラメータが3であると判断した場合(S13:YES)、切断時パラメータテーブル242を参照する。切断時パラメータ2に対応するポット番号はP21である。P21は工具を装着していない。CPU21はATC20によって主軸8に装着してある工具Tを外し(S16)、主軸8から外した工具Tを工具マガジン31のP21に装着して収納する。CPU21は電源を切断し(S19)、本処理を終了する。   If the CPU 21 determines that the cutting parameter is not 2 (S12: NO), it determines whether the cutting parameter is 3 (S13). When the CPU 21 determines that the cutting parameter is 3 (S13: YES), the CPU 21 refers to the cutting parameter table 242. The pot number corresponding to the cutting time parameter 2 is P21. P21 is not equipped with a tool. The CPU 21 removes the tool T attached to the spindle 8 by the ATC 20 (S16), and attaches and stores the tool T removed from the spindle 8 to P21 of the tool magazine 31. The CPU 21 turns off the power (S19) and ends this process.

CPU21は切断時パラメータが3でもないと判断した場合(S13:NO)、作業者による主軸状態の指定を完了していないので、表示部11等によって報知する(S17)。作業者は主軸状態の指定が完了していないことに気づく。作業者は上述の主軸状態指定モードに切り替え、上述の設定を行う。CPU21は作業者による設定が完了したか否か判断する(S18)。CPU21は作業者による設定が完了するまでは(S18:NO)、S18に戻って待機状態となる。CPU21は作業者による設定が完了したと判断した場合(S18:YES)、S11に戻り、設定した内容で、上記処理を実行する(S11〜S16)。CPU21は各処理を正常に完了した場合(S14〜S16)、工作機械1の電源を切断し(S19)、本処理を終了する。   If the CPU 21 determines that the parameter at the time of cutting is not 3 (S13: NO), the designation of the spindle state by the operator has not been completed, so the display unit 11 or the like is notified (S17). The operator notices that the spindle status has not been specified. The operator switches to the above-described spindle state designation mode and performs the above-described setting. The CPU 21 determines whether the setting by the worker is completed (S18). Until the setting by the operator is completed (S18: NO), the CPU 21 returns to S18 and enters a standby state. If the CPU 21 determines that the setting by the worker has been completed (S18: YES), the CPU 21 returns to S11 and executes the above processing with the set contents (S11 to S16). When the CPU 21 completes each process normally (S14 to S16), the power of the machine tool 1 is turned off (S19), and this process ends.

図11を参照して、起動時処理について説明する。CPU21は起動時、ROM22に記憶した起動時プログラムを読み出して本処理を実行する。CPU21は主軸指令が有るか否か判断する(S21)。CPU21は主軸指令が有るまで(S21:NO)、S21に戻って待機状態となる。   The startup process will be described with reference to FIG. At startup, the CPU 21 reads the startup program stored in the ROM 22 and executes this processing. The CPU 21 determines whether there is a spindle command (S21). Until there is a spindle command (S21: NO), the CPU 21 returns to S21 and enters a standby state.

CPU21は主軸指令が工具交換時のオリエント指令か否か判断する(S22)。CPU21は主軸指令がオリエント指令であると判断した場合(S22:YES)、工具交換は起動時最初の工具交換である。主軸モータ54はインクリメントモータである。工作機械1は通常、主軸モータ54の原点を検出する必要がある。工作機械1は主軸モータ54の原点を検出しなければ主軸8の現在の位置を認識できない。   The CPU 21 determines whether or not the spindle command is an orientation command at the time of tool change (S22). When the CPU 21 determines that the spindle command is an orientation command (S22: YES), the tool change is the first tool change at the time of activation. The spindle motor 54 is an increment motor. The machine tool 1 usually needs to detect the origin of the spindle motor 54. The machine tool 1 cannot recognize the current position of the spindle 8 unless it detects the origin of the spindle motor 54.

CPU21は切断時パラメータが1又は3であるか否か判断する(S23)。CPU21は切断時パラメータが1であると判断した場合(S23:YES)、主軸8は工具TAを装着した第一状態である。故にCPU21は主軸オリエントを実行する(S24)。主軸オリエントは主軸8を原点位置に割り出す処理である。工具TAは回転可能である。工作機械1は主軸オリエントを正常に実行できる。CPU21は切断時パラメータが3であると判断した場合(S23:YES)、主軸8は工具Tを装着していない第三状態である。CPU21は主軸オリエントを実行する(S24)。主軸8は回転可能である。工作機械1は主軸オリエントを正常に実行できる。   The CPU 21 determines whether or not the disconnection parameter is 1 or 3 (S23). When the CPU 21 determines that the cutting parameter is 1 (S23: YES), the spindle 8 is in the first state in which the tool TA is mounted. Therefore, the CPU 21 executes the spindle orientation (S24). The spindle orientation is a process for determining the spindle 8 at the origin position. The tool TA is rotatable. The machine tool 1 can normally execute the spindle orientation. When the CPU 21 determines that the parameter at the time of cutting is 3 (S23: YES), the spindle 8 is in the third state where the tool T is not mounted. The CPU 21 executes the spindle orientation (S24). The main shaft 8 is rotatable. The machine tool 1 can normally execute the spindle orientation.

CPU21はZ軸上昇を実行する(S25)。Z軸上昇は主軸ヘッド7を工具交換準備位置まで上昇する処理である。CPU21はATC30による工具交換を実行する(S26)。主軸8はS22で原点位置に割り出してある。故に工作機械1はATC30による工具交換の際に工具TAを主軸8に対して正常に着脱できる。   CPU21 performs Z-axis raise (S25). The Z-axis rise is a process for raising the spindle head 7 to the tool change preparation position. The CPU 21 executes tool change by the ATC 30 (S26). The main shaft 8 is indexed to the origin position in S22. Therefore, the machine tool 1 can normally attach and detach the tool TA to and from the spindle 8 when changing the tool by the ATC 30.

CPU21はZ軸下降を実行する(S27)。Z軸下降は主軸ヘッド7をZ軸原点位置まで下降する処理である。CPU21は本処理を終了する。   CPU21 performs Z-axis fall (S27). Z-axis lowering is a process of lowering the spindle head 7 to the Z-axis origin position. The CPU 21 ends this process.

CPU21は切断時パラメータが2であると判断した場合(S23:NO)、主軸オリエントを実行せず、Z軸上昇を実行する(S25)。主軸8に工具TBを装着した第二状態である場合、キー91,92はキー溝105,106に係合する。主軸ヘッド7に対する工具TBの位置は決まる。主軸ヘッド7に対する位置が決まった工具TBを装着する主軸8の位置は原点位置である。即ち主軸8は既に原点位置に割り出した状態(オリエント状態)である。故にCPU21は主軸オリエントを実行しない。CPU21はS26,S27を上記同様に実行する。工作機械1は主軸オリエントを無視して次の処理に進むことができるので、動作を速く進めることができる。CPU21は本処理を終了する。   When the CPU 21 determines that the parameter at the time of cutting is 2 (S23: NO), it executes the Z-axis ascending operation without executing the spindle orientation (S25). In the second state in which the tool TB is mounted on the main shaft 8, the keys 91 and 92 engage with the key grooves 105 and 106. The position of the tool TB with respect to the spindle head 7 is determined. The position of the spindle 8 on which the tool TB whose position with respect to the spindle head 7 is fixed is the origin position. That is, the main shaft 8 has already been indexed to the origin position (orient state). Therefore, the CPU 21 does not execute the spindle orientation. The CPU 21 executes S26 and S27 in the same manner as described above. Since the machine tool 1 can proceed to the next processing while ignoring the spindle orientation, the operation can be advanced rapidly. The CPU 21 ends this process.

CPU21は主軸指令がオリエント指令ではなく、通常の主軸指令であると判断した場合(S22:NO)、CPU21は切断時パラメータが1又は3であるか否か判断する(S28)。通常の主軸指令はオリエント指令以外の主軸8を回転する指令である。CPU21は切断時パラメータが1又は3であると判断した場合(S28:YES)、上記と同じ理由により、主軸指令を実行する(S29)。CPU21は本処理を終了する。   When the CPU 21 determines that the spindle command is not an orientation command but a normal spindle command (S22: NO), the CPU 21 determines whether the cutting parameter is 1 or 3 (S28). The normal spindle command is a command for rotating the spindle 8 other than the orientation command. When the CPU 21 determines that the cutting parameter is 1 or 3 (S28: YES), it executes a spindle command for the same reason as above (S29). The CPU 21 ends this process.

CPU21は切断時パラメータが2であると判断した場合(S28:NO)、回転しない工具TBを主軸8に装着した第二状態で主軸指令を出力する状態は、例えばプログラムミスが原因である。工作機械1は工具TBを装着した状態で主軸8を回転しようとすると、主軸8に過剰な負荷がかかり、故障の原因になる。CPU21は主軸指令を実行することなく、その旨を報知し(S30)、本処理を終了する。報知は、例えば表示部11に異常メッセージ等を表示する処理、音声で報知する処理、ランプ等を点灯又は点滅する処理等の何れでもよい。故に作業者は工作機械1の異常を早期に認識できるので速やかな対応が可能である。   When the CPU 21 determines that the parameter at the time of cutting is 2 (S28: NO), the state in which the spindle command is output in the second state where the non-rotating tool TB is mounted on the spindle 8 is caused by a program error, for example. When the machine tool 1 tries to rotate the spindle 8 with the tool TB mounted, an excessive load is applied to the spindle 8 and causes a failure. The CPU 21 notifies that fact without executing the spindle command (S30), and ends this process. The notification may be, for example, a process of displaying an abnormal message or the like on the display unit 11, a process of notifying by voice, or a process of lighting or blinking a lamp or the like. Therefore, since the operator can recognize the abnormality of the machine tool 1 at an early stage, a quick response is possible.

以上説明において、図4に示すキー溝105,106は本発明の係合部の一例である。図5に示すキー91,92は本発明の被係合部の一例である。図6に示す主軸モータ54は本発明の駆動部の一例である。図9に示すS2〜S7の処理を実行するCPU21は本発明の主軸状態指定手段の一例である。図10に示すS11〜S16の処理を実行するCPU21は本発明の主軸状態制御手段の一例である。図6に示す操作部38は本発明の設定手段の一例である。フラッシュメモリ24は本発明の記憶手段の一例である。図9に示すS8の処理を実行するCPU21は本発明の記憶処理手段の一例である。図11に示すS21,S22の処理を実行するCPU21は本発明の主軸指令判断手段の一例である。S23,S28の処理を実行するCPU21は第二状態判断手段の一例である。(S23:NO)、(S28:NO)の処理を実行するCPU21は本発明の主軸駆動制御手段の一例である。   In the above description, the key grooves 105 and 106 shown in FIG. 4 are examples of the engaging portion of the present invention. Keys 91 and 92 shown in FIG. 5 are examples of engaged portions of the present invention. The spindle motor 54 shown in FIG. 6 is an example of the drive unit of the present invention. The CPU 21 that executes the processes of S2 to S7 shown in FIG. 9 is an example of the spindle state specifying means of the present invention. The CPU 21 that executes the processes of S11 to S16 shown in FIG. 10 is an example of the spindle state control means of the present invention. The operation unit 38 shown in FIG. 6 is an example of the setting unit of the present invention. The flash memory 24 is an example of the storage means of the present invention. The CPU 21 that executes the process of S8 shown in FIG. 9 is an example of the storage processing means of the present invention. The CPU 21 that executes the processes of S21 and S22 shown in FIG. 11 is an example of the spindle command determination means of the present invention. The CPU 21 that executes the processes of S23 and S28 is an example of a second state determination unit. The CPU 21 that executes the processes (S23: NO) and (S28: NO) is an example of the spindle drive control means of the present invention.

以上説明したように、本実施形態の工作機械1は、回転加工用の工具TA及び削加工用の工具TBを共通の主軸8に選択的に装着可能である。工作機械1はワークに回転加工及び削加工を選択的に施すことができる。主軸ヘッド7は下端面に一対のキー91,92を備える。工具TBは一対のキー溝105,106を備える。主軸8は工具TBを装着する。キー91,92はキー溝105,106に係合する。キー91,92は工具TBの回転を規制する。工作機械1は数値制御部20を備える。数値制御部20はCPU21を備える。CPU21は電源切断時における主軸8の状態について、第一状態、第二状態、第三状態のうち少なくとも何れかの状態を指定可能である。第一状態は主軸8に回転加工用の工具TAを装着した状態である。第二状態は主軸8に削加工用の工具TBを装着した状態である。第三状態は主軸8に工具を装着しない状態である。CPU21は電源切断時にATC30によって主軸8を予め指定した主軸8の状態に制御できる。 As described above, the machine tool 1 of the present embodiment is selectively attachable tool TA and handed cutting tool TB for processing for rotation processing on a common main shaft 8. The machine tool 1 can be applied selectively the rotation processing and handed cutting a workpiece. The spindle head 7 includes a pair of keys 91 and 92 on the lower end surface. The tool TB includes a pair of key grooves 105 and 106. The spindle 8 is equipped with a tool TB. The keys 91 and 92 are engaged with the key grooves 105 and 106. The keys 91 and 92 restrict the rotation of the tool TB. The machine tool 1 includes a numerical control unit 20. The numerical control unit 20 includes a CPU 21. The CPU 21 can designate at least one of the first state, the second state, and the third state for the state of the spindle 8 when the power is turned off. The first state is a state in which a rotary machining tool TA is mounted on the spindle 8. The second state is a state of mounting the tool TB for handed cutting machining on the main shaft 8. The third state is a state in which no tool is mounted on the spindle 8. The CPU 21 can control the spindle 8 to the state of the spindle 8 designated in advance by the ATC 30 when the power is turned off.

主軸状態が例えば第一状態である場合、主軸8は工具TAを装着している。故に工作機械1は起動後に主軸8を回転する主軸指令があった場合に主軸8を回転しても故障する虞はない。主軸状態が第三状態の場合、主軸8は工具を装着していない。故に工作機械1は起動後に主軸指令があった場合に主軸8を回転しても故障する虞はない。主軸状態が第二状態である場合、主軸8は工具TBを装着している。主軸8は回転できない。故に工作機械1は例えば起動後の主軸指令に対して主軸を回転しない等の対策が可能である。故に工作機械1は起動時に主軸8に旋削加工用の工具TBを装着した状態で主軸8を回転するのを防止できる。   For example, when the main shaft state is the first state, the main shaft 8 is equipped with a tool TA. Therefore, there is no possibility that the machine tool 1 will break down even if the spindle 8 is rotated when there is a spindle command to rotate the spindle 8 after startup. When the main shaft state is the third state, the main shaft 8 is not equipped with a tool. Therefore, there is no possibility that the machine tool 1 will break down even if the spindle 8 is rotated when a spindle command is issued after startup. When the main shaft state is the second state, the main shaft 8 is equipped with a tool TB. The main shaft 8 cannot rotate. Therefore, the machine tool 1 can take measures such as not rotating the spindle in response to the spindle command after startup. Therefore, the machine tool 1 can prevent the spindle 8 from rotating while the turning tool TB is mounted on the spindle 8 at the time of startup.

本実施形態では特に、作業者は操作部38によって第一状態、第二状態、及び第三状態のうち何れか一の状態をパラメータで設定できる。CPU21は操作部38で設定した一の状態を電源切断時の主軸8の状態として指定する。故に工作機械1は第一状態、第二状態、及び第三状態のうち何れか一の状態をパラメータで設定可能である。作業者は例えば現場で使用する工具に応じて何れかの状態を自由に設定できる。   In the present embodiment, in particular, the operator can set any one of the first state, the second state, and the third state with the operation unit 38 as a parameter. The CPU 21 designates one state set by the operation unit 38 as the state of the spindle 8 when the power is turned off. Therefore, the machine tool 1 can set any one of the first state, the second state, and the third state as a parameter. An operator can freely set any state according to, for example, a tool used in the field.

本実施形態では特に、CPU21は操作部38で設定した切断時パラメータをフラッシュメモリ24に記憶する。CPU21は起動後に主軸指令があるか否か判断する。主軸指令は工具交換時のオリエント指令を含む。CPU21は主軸指令があると判断した場合、フラッシュメモリ24に記憶した切断時パラメータに基づき、第二状態を指定したと判断した場合、主軸指令を無視する。工作機械1は主軸8に旋削加工用の工具TBを装着した状態で主軸8を回転するのを防止できる。故に工作機械1は主軸8に過剰な負荷がかかるのを防止できる。   Particularly in the present embodiment, the CPU 21 stores the disconnection parameters set by the operation unit 38 in the flash memory 24. The CPU 21 determines whether there is a spindle command after activation. The spindle command includes the orientation command when changing tools. If the CPU 21 determines that there is a spindle command, it determines that the second state has been designated based on the cutting parameters stored in the flash memory 24, and ignores the spindle command. The machine tool 1 can prevent the spindle 8 from rotating while the turning tool TB is mounted on the spindle 8. Therefore, the machine tool 1 can prevent an excessive load from being applied to the spindle 8.

なお上記第一実施形態は様々な変形が可能である。上記実施形態の工作機械1は、コラム5がX軸及びY軸方向に移動可能なものであるが、これに限定しない。   The first embodiment can be variously modified. In the machine tool 1 of the above embodiment, the column 5 is movable in the X-axis and Y-axis directions, but is not limited thereto.

また上記実施形態は、第一状態、第二状態、第三状態のうち少なくとも一の状態を指定可能なものであるが、本発明は例えば電源切断時において第一状態、第二状態、又は第三状態のみに制御できるものでもよい。特に第一状態又は第三状態に制御するものは、次回起動時は主軸指令に従って従来通り実行すればよいので制御は簡単である。また前記三つの状態のうち何れか二つの状態から一の状態を指定可能としてもよい。   Moreover, although the said embodiment can designate at least 1 state among a 1st state, a 2nd state, and a 3rd state, this invention is a 1st state, a 2nd state, or a 1st at the time of a power-off, for example It may be one that can be controlled in only three states. In particular, what is controlled in the first state or the third state is simple to control because it can be executed in the conventional manner in accordance with the spindle command at the next start-up. Further, it is possible to designate one state from any two of the three states.

1 工作機械
7 主軸ヘッド
8 主軸
20 数値制御部
21 CPU
24 フラッシュメモリ
54 主軸モータ
91,92 キー
105,106 キー溝
TA 回転加工用の工具
TB 旋削加工用の工具
DESCRIPTION OF SYMBOLS 1 Machine tool 7 Spindle head 8 Spindle 20 Numerical control part 21 CPU
24 Flash memory 54 Spindle motor 91, 92 Key 105, 106 Keyway TA Tool for turning TB Tool for turning

Claims (3)

回転加工用の工具及び削加工用の工具を共通の主軸に選択的に装着し、ワークに回転加工及び削加工を選択的に施し、かつ工具交換機構による前記主軸の工具交換が可能な工作機械であって、
前記主軸を回転可能に保持する主軸ヘッドと、
前記主軸ヘッドに設け、削加工用の工具の係合部が係合することに基づいて削加工用の工具の回転を規制する被係合部と、
前記主軸を駆動する駆動部と、
電源切断時における前記主軸の状態について、前記主軸に前記回転加工用の工具を装着した第一状態、前記削加工用の工具を装着した第二状態、及び前記工具を装着しない第三状態のうち少なくとも何れかの状態を指定可能な主軸状態指定手段と、
電源切断時に、前記工具交換機構によって、前記主軸を前記主軸状態指定手段が指定した前記主軸の状態に制御する主軸状態制御手段と
を備えたことを特徴とする工作機械。
The tool and handed cutting tools for machining of rotary machining selectively mounted on a common spindle, subjected to rotation processing and handed cutting a workpiece selectively, and possible tool change of the main spindle by the tool exchange mechanism A machine tool,
A spindle head for rotatably holding the spindle;
And the engaged portion that restricts rotation of the provided on the spindle head, the engaging portion of the tool for handed cutting processing for handed cutting machining based on the engagement tool,
A drive unit for driving the main shaft;
The state of the main shaft at the time of power-off, the first state of mounting the tool for the rotary working on the main shaft, the handed cutting second state of mounting the tool for processing, and a third state in which no mounting the tool A spindle state specifying means capable of specifying at least one of the states,
A machine tool comprising: spindle state control means for controlling the spindle to the state of the spindle designated by the spindle state designation means when the power is turned off.
前記第一状態、前記第二状態、及び前記第三状態のうち何れか一の状態をパラメータで設定可能な設定手段を備え、
前記主軸状態指定手段は、前記設定手段が設定した前記一の状態を指定することを特徴とする請求項1に記載の工作機械。
A setting unit capable of setting any one of the first state, the second state, and the third state with a parameter;
The machine tool according to claim 1, wherein the spindle state specifying unit specifies the one state set by the setting unit.
前記主軸状態指定手段は、
前記設定手段で設定した前記パラメータを記憶手段に記憶する記憶処理手段を備え、
起動後に、前記主軸の回転を指示する主軸指令があるか否か判断する主軸指令判断手段と、
前記主軸指令判断手段が前記主軸指令があると判断した場合、前記記憶手段に記憶した前記パラメータに基づき、前記主軸状態指定手段が前記第二状態を指定したか否か判断する第二状態判断手段と、
前記第二状態判断手段が前記主軸状態指定手段が前記第二状態を指定したと判断した場合、前記主軸指令を無視する主軸駆動制御手段と
を備えたことを特徴とする請求項2に記載の工作機械。
The spindle state designation means includes:
A storage processing unit for storing the parameter set by the setting unit in a storage unit;
A spindle command determination means for determining whether there is a spindle command for instructing rotation of the spindle after activation;
Second state determining means for determining whether or not the spindle state specifying means specifies the second state based on the parameter stored in the storage means when the spindle command determining means determines that there is the spindle command; When,
3. The spindle drive control means for ignoring the spindle command when the second state judging means judges that the spindle state designating means has designated the second state. Machine Tools.
JP2012065116A 2012-03-22 2012-03-22 Machine Tools Active JP5874479B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2012065116A JP5874479B2 (en) 2012-03-22 2012-03-22 Machine Tools

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2012065116A JP5874479B2 (en) 2012-03-22 2012-03-22 Machine Tools

Publications (2)

Publication Number Publication Date
JP2013193188A JP2013193188A (en) 2013-09-30
JP5874479B2 true JP5874479B2 (en) 2016-03-02

Family

ID=49392757

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2012065116A Active JP5874479B2 (en) 2012-03-22 2012-03-22 Machine Tools

Country Status (1)

Country Link
JP (1) JP5874479B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP7774173B1 (en) * 2025-04-18 2025-11-20 ユアサネオテック株式会社 Machine tools and programs

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0651252B2 (en) * 1984-10-26 1994-07-06 株式会社小松製作所 Machine tool head device
JP2882534B2 (en) * 1989-08-12 1999-04-12 日立精機 株式会社 Turning center tool calling device Built-in numerical controller

Also Published As

Publication number Publication date
JP2013193188A (en) 2013-09-30

Similar Documents

Publication Publication Date Title
JP6299527B2 (en) Numerical control device and control method
JP5958188B2 (en) Numerical controller
JP5873135B2 (en) Magazine swivel tool changer that can change the tool storage position
JP6229396B2 (en) Numerical controller
CN105320074B (en) Numerical control device and control method
JP6078413B2 (en) Tool changing method and machine tool
JP6398254B2 (en) Numerical control device and control method of numerical control device
JP6329419B2 (en) Machine status display device for compound lathes with multiple spindles
JP2012206227A (en) Machine tool
JP5187518B2 (en) Numerically controlled machine tool
JP2005088162A (en) Machining center
JP5874478B2 (en) Machine Tools
JP5861522B2 (en) Machine Tools
JP2016085650A (en) Numerical control device and control method
JP5874479B2 (en) Machine Tools
JP2011237880A (en) Controller of machine tool equipped with tool change position automatic determination function
JP6484303B2 (en) Exchange rotation position determination device and exchange rotation position determination method
JP2013193184A (en) Machine tool
JP2018161724A (en) Machine tool system and clamp method
EP4006664B1 (en) Tool information setting device and machine tool
JP2021079461A (en) Turret optimization system
JP2024049652A (en) Numerical control device, numerical control system, control method, and program
JP6792975B2 (en) Machine tools and detection methods
JP4341118B2 (en) Tool changing device and tool changing method
JP2011073069A (en) Numeric value control device, control program of numeric value control device, storage medium and control method of numeric value control device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20140804

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20150619

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20150804

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20150831

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20160104

R150 Certificate of patent or registration of utility model

Ref document number: 5874479

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150