JP2013050934A - Machining center and machining method - Google Patents

Machining center and machining method Download PDF

Info

Publication number
JP2013050934A
JP2013050934A JP2011189941A JP2011189941A JP2013050934A JP 2013050934 A JP2013050934 A JP 2013050934A JP 2011189941 A JP2011189941 A JP 2011189941A JP 2011189941 A JP2011189941 A JP 2011189941A JP 2013050934 A JP2013050934 A JP 2013050934A
Authority
JP
Japan
Prior art keywords
spindle
command
rotation
rotation speed
machining
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2011189941A
Other languages
Japanese (ja)
Other versions
JP5834636B2 (en
Inventor
Tatsumi Sugihara
辰実 杉原
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 JP2011189941A priority Critical patent/JP5834636B2/en
Publication of JP2013050934A publication Critical patent/JP2013050934A/en
Application granted granted Critical
Publication of JP5834636B2 publication Critical patent/JP5834636B2/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
    • 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

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

Abstract

PROBLEM TO BE SOLVED: To provide a machining center and a machining method capable of reducing a machining time by reducing effects of latency caused by executing a spindle rotation instruction for specifying a rotational speed.SOLUTION: When an instruction obtained from a working program is a rotation instruction for a spindle 5A for specifying a rotational speed, a machining center starts rotation of the spindle 5A, and obtains and executes a successive instruction from the working program without waiting until the rotational speed of the spindle 5A reaches a rotational speed threshold. Next, when a cutting movement instruction is obtained from the working program, the machining center determines whether or not the rotational speed of the spindle 5A reaches the rotational speed threshold, and then starts cutting movement for moving the spindle 5A close to a workpiece. The machining center sets a value obtained by multiplying the rotational speed specified by the rotation instruction by a predetermined rate A as the rotational speed threshold, and compares the rotational speed of the spindle 5A with the rotational speed threshold for the determination.

Description

本発明は、ユーザが作成した加工プログラムに従って種々の加工及び工具交換等を行う工作機械及び工作方法に関する。   The present invention relates to a machine tool and a machining method for performing various machining and tool exchange in accordance with a machining program created by a user.

一般にマシニングセンタ(工作機械)は、フライス加工、ねじ立てなど種々の加工を行う。工作機械は、複数種の工具を収容しておくための収容部と、主軸に装着された工具を収容部に収容された工具に交換するための機構とを備えており、目的の加工に応じて工具を交換しながら、種々の加工を連続的に行っている。ワークに対する加工内容は予めユーザが作成した加工プログラムとして与えられる。工作機械は、加工プログラムに含まれる主軸の移動命令、主軸の回転命令、加工位置の指定及び工具交換命令等の種々の命令を順に読み出して実行することにより、ワークに対する一連の加工を実現する。   In general, a machining center (machine tool) performs various processes such as milling and tapping. The machine tool includes a storage unit for storing a plurality of types of tools, and a mechanism for exchanging the tool mounted on the spindle with the tool stored in the storage unit. Various processes are continuously performed while changing the tool. The machining content for the workpiece is given as a machining program created in advance by the user. The machine tool implements a series of machining operations on a workpiece by sequentially reading and executing various commands such as a spindle movement command, a spindle rotation command, a machining position designation, and a tool change command included in the machining program.

特許文献1においては、工具が装着された主軸ヘッドを加工領域及び交換領域の間でZ軸方向に移動させてそれぞれワークの加工及び工具交換を行う工作機械が記載されている。この工作機械は、主軸ヘッドが加工領域と交換領域との間の同時動作開始位置に到達した時点で、加工位置への移動を開始する。主軸ヘッドがZ軸原点に達した時点で加工位置への移動を開始する従来の工作機械と比較して、特許文献1の工作機械は、早い時点で加工位置への移動を完了させることができる。特許文献1に記載の工作機械では、同時動作開始位置を加工プログラムにて指定することができる。   In Patent Document 1, a machine tool is described in which a spindle head on which a tool is mounted is moved in the Z-axis direction between a machining area and an exchange area to perform workpiece machining and tool exchange, respectively. This machine tool starts moving to the machining position when the spindle head reaches the simultaneous operation start position between the machining area and the exchange area. Compared to the conventional machine tool that starts moving to the machining position when the spindle head reaches the Z-axis origin, the machine tool of Patent Document 1 can complete the movement to the machining position at an earlier time. . In the machine tool described in Patent Document 1, the simultaneous operation start position can be designated by a machining program.

特開平11−48072号公報Japanese Patent Laid-Open No. 11-48072

従来、工作機械の加工プログラムでは、工具交換命令と共に(又は工具交換命令の後に)、主軸の回転速度(又は単位時間当たりの回転数)を指定して工具が交換された主軸を回転させる回転命令を記載することができる。工作機械は、工具交換命令に従って工具交換を行った後、回転命令に従って主軸の回転を開始する。このときに、従来の工作機械は、主軸の回転速度が回転命令にて指定された回転速度に達したことを確認した後、加工プログラムの次の命令に係る処理を行っていた。主軸の回転開始から指定された回転速度に達するまでにはある程度の時間を要するので、この待ち時間が工作時間を長期化させるという問題がある。   Conventionally, in a machining program for a machine tool, together with a tool change command (or after a tool change command), a rotation command for rotating the spindle with the tool changed by specifying the rotation speed of the spindle (or the number of rotations per unit time). Can be described. The machine tool changes the tool according to the tool change command, and then starts to rotate the spindle according to the rotation command. At this time, the conventional machine tool performs processing related to the next command of the machining program after confirming that the rotation speed of the spindle has reached the rotation speed specified by the rotation command. Since a certain amount of time is required from the start of rotation of the spindle to the designated rotational speed, this waiting time has a problem that the working time is prolonged.

本発明は、斯かる事情に鑑みてなされたものであって、その目的とするところは、回転速度を指定した主軸の回転指令を実行する場合に生じる待ち時間の影響を低減し、工作時間を短縮することができる工作機械及び工作方法を提供することにある。   The present invention has been made in view of such circumstances. The object of the present invention is to reduce the influence of waiting time that occurs when executing a rotation command of a spindle with a specified rotation speed, and to reduce the work time. It is an object to provide a machine tool and a machine method that can be shortened.

本発明に係る工作機械は、工具が装着されて回転する主軸と、該主軸をワークに対して近接/離隔させる移動手段と、工作に係る命令が時系列的に並べられた命令列を記憶する記憶部と、該記憶部に記憶された命令列から時系列的に命令を取得する取得手段と、該取得手段が取得した命令に係る処理を実行する処理手段とを備え、命令列に含まれる命令に係る処理を時系列的に実行することによって、ワークに対する加工を行う工作機械において、前記取得手段が回転速度を指定した前記主軸の回転命令を取得した場合、前記処理手段は前記主軸の回転を開始し、前記取得手段は前記回転命令に続く命令の取得を継続し、前記取得手段が前記主軸をワークに対して近接させる移動命令を取得した場合、前記主軸の回転速度が前記回転命令にて指定された回転速度に達したか否かを判定する判定手段を備え、前記処理手段は、前記回転命令にて指定された回転速度に達したと前記判定手段が判定した後に、前記移動命令に係る前記主軸の移動を行うようにしてあることを特徴とする。   The machine tool according to the present invention stores a main shaft that is rotated with a tool mounted thereon, a moving means that moves the main shaft toward and away from the workpiece, and a command sequence in which commands related to the work are arranged in time series. Included in the instruction sequence, comprising: a storage unit; an acquisition unit that acquires an instruction in a time series from the instruction sequence stored in the storage unit; and a processing unit that executes a process related to the instruction acquired by the acquisition unit In a machine tool that performs processing on a workpiece by executing processing related to commands in a time series, when the acquisition unit acquires a rotation command of the spindle that specifies a rotation speed, the processing unit rotates the spindle The acquisition means continues to acquire the command following the rotation command, and when the acquisition means acquires a movement command to bring the main shaft closer to the workpiece, the rotation speed of the main shaft is changed to the rotation command. The Determination means for determining whether or not a predetermined rotation speed has been reached, and the processing means determines that the rotation speed specified by the rotation command has been reached, and then determines the movement command The main shaft is moved as described above.

また、本発明に係る工作機械は、前記判定手段が、前記主軸の回転速度が前記回転命令にて指定された回転速度に所定割合を乗じた回転数に達した場合に、前記回転命令にて指定された回転速度に達したと判定するようにしてあることを特徴とする。   Further, in the machine tool according to the present invention, when the determination means reaches the rotation number obtained by multiplying the rotation speed specified by the rotation command by a predetermined ratio, It is characterized in that it is determined that the designated rotational speed has been reached.

また、本発明に係る工作機械は、前記命令列には、前記所定割合を指定する割合指定命令を含むことができ、前記判定手段は、前記割合指定命令にて指定された所定割合に基づいて、回転数の判定を行うようにしてあることを特徴とする。   In the machine tool according to the present invention, the command sequence may include a ratio designation command for designating the predetermined ratio, and the determination means is based on the predetermined ratio designated by the ratio designation command. The rotational speed is determined.

また、本発明に係る工作機械は、前記主軸をワークに対して近接させる移動命令が、切削移動命令であることを特徴とする。   The machine tool according to the present invention is characterized in that the movement command for bringing the spindle close to the workpiece is a cutting movement command.

また、本発明に係る工作方法は、工具が装着されて回転する主軸及び該主軸をワークに対して近接/離隔させる移動手段を有する工作機械に対して、工作に係る命令が時系列的に並べられた命令列から時系列的に命令を取得し、取得した命令に係る処理を実行することによって、ワークに対する加工を行う工作方法において、回転速度を指定した前記主軸の回転命令を取得した場合、前記主軸の回転を開始すると共に、前記回転命令に続く命令の取得を継続して行い、前記主軸をワークに対して近接させる移動命令を取得した場合、前記主軸の回転速度が前記回転命令にて指定された回転速度に達したか否かを判定し、前記回転命令にて指定された回転速度に達したと判定した後に、前記移動命令に係る前記主軸の移動を行うことを特徴とする。   In addition, the machining method according to the present invention includes a machine tool having a spindle that rotates with a tool mounted thereon and a moving unit that moves the spindle close to / separated from the workpiece. In a machining method for machining a workpiece by acquiring commands in a time series from the command sequence received and executing processing related to the acquired command, when acquiring the rotation command of the spindle that specifies the rotation speed, When the rotation command of the main shaft is started and the command following the rotation command is continuously acquired and the movement command for moving the main shaft closer to the workpiece is acquired, the rotation speed of the main shaft is determined by the rotation command. It is determined whether or not a specified rotation speed has been reached, and after determining that the rotation speed specified by the rotation command has been reached, the spindle according to the movement command is moved. .

本発明においては、記憶部に記憶された命令列(加工プログラム)から命令を時系列的に取得し、取得した命令が回転速度を指定した主軸の回転命令である場合、工作機械は主軸の回転を開始するが、主軸の回転速度が指定された回転速度に達するのを待つことなく、次の命令の取得及び実行を継続する。その後、主軸をワークに近接させる移動命令(即ち、加工開始の命令)を取得した場合、主軸の回転速度が回転命令にて指定された回転速度に達したか否かを判定した後に、主軸をワークに近接させる移動を行う(加工を開始する)。
回転速度を指定した主軸の回転命令を取得した場合であっても、主軸の回転速度が指定された回転速度に達したか否かの判定を、主軸の移動命令の実行前まで先送りする構成とすることによって、主軸の回転命令と移動命令との間に他の命令を実行することが可能となる。このため、主軸の回転開始から指定された回転速度に達するまでの時間を有効に活用することができ、工作時間を短縮することができる。
In the present invention, when a command is acquired in a time series from a command sequence (machining program) stored in the storage unit, and the acquired command is a rotation command of a spindle with a specified rotation speed, the machine tool rotates the spindle However, the acquisition and execution of the next instruction is continued without waiting for the rotation speed of the spindle to reach the specified rotation speed. After that, when a movement command to move the spindle closer to the workpiece (that is, a machining start command) is acquired, it is determined whether or not the rotation speed of the spindle has reached the rotation speed specified by the rotation command. Move to move closer to the workpiece (start machining).
Even if a spindle rotation command with a specified rotation speed is acquired, the determination whether the spindle rotation speed has reached the specified rotation speed is postponed until the spindle movement command is executed By doing so, it becomes possible to execute another command between the rotation command and the movement command of the spindle. For this reason, it is possible to effectively utilize the time from the start of rotation of the spindle until the designated rotational speed is reached, and the working time can be shortened.

また、工具交換を行って加工のために主軸を移動させる場合、工具交換後の待機位置から主軸に装着された工具がワークに接触する加工位置へ移動するまでにはある程度の時間を要するため、加工のための主軸の移動開始時点において、必ずしも主軸の回転速度が指定された回転速度に達している必要はなく、工具がワークに接触する位置に主軸が移動するまでに、主軸の回転速度が指定された回転速度に達していればよい。
そこで本発明においては、主軸の移動命令を実行する前に、回転命令にて指定された回転速度に所定割合を乗じた回転数に達したか否かを判定し、所定割合を乗じた回転数に達していれば、主軸の移動を開始する。なお所定割合は、主軸の移動速度及び主軸の回転加速度等に基づいて、工作機械の設計段階などで予め決定しておくことができる。これにより、加工のための主軸の移動をより早いタイミングで開始することができるため、工作時間を更に短縮することができる。
Also, when moving the spindle for machining with tool change, it takes a certain amount of time for the tool mounted on the spindle to move to the machining position where it contacts the workpiece from the standby position after tool exchange. At the start of spindle movement for machining, the spindle rotation speed does not necessarily reach the specified rotation speed. The spindle rotation speed does not necessarily reach the position where the tool contacts the workpiece. It is sufficient if the specified rotation speed is reached.
Therefore, in the present invention, before executing the spindle movement command, it is determined whether or not the rotation speed obtained by multiplying the rotation speed specified by the rotation command by a predetermined ratio has been reached, and the rotation speed multiplied by the predetermined ratio. If it has reached, the movement of the spindle is started. The predetermined ratio can be determined in advance at the design stage of the machine tool based on the moving speed of the main shaft and the rotational acceleration of the main shaft. Thereby, since the movement of the spindle for machining can be started at an earlier timing, the machining time can be further shortened.

また、本発明においては、上記の所定割合をユーザが加工プログラムにて指定することを可能とする。工作機械は、指定された所定割合を、回転命令にて指定された回転速度に乗じた値を判定の閾値として用いる。これにより、ユーザによる加工プログラムの作成の自由度が向上する。   In the present invention, the user can specify the predetermined ratio by a machining program. The machine tool uses a value obtained by multiplying the designated predetermined ratio by the rotation speed designated by the rotation command as a threshold for determination. Thereby, the freedom degree of creation of the machining program by a user improves.

また、本発明においては、主軸をワークに対して近接させる移動命令は、切削移動命令である。主軸をワークに対して近接させる移動命令が切削移動命令である場合、主軸の回転速度が回転命令にて指定された回転速度に到達せずに切削移動命令を実行すると、ワークの加工中の主軸の回転速度の変化が大きくなる。ワーク加工中に主軸の回転速度の変化が大きくなると、ワークの加工表面に加工模様が目立ち、加工不良が発生するという問題がある。
本発明はワークの加工表面に加工模様が発生しないような主軸の回転速度になるまで、切削移動命令を実行しないので、加工不良が発生しない。
In the present invention, the movement command for bringing the spindle close to the workpiece is a cutting movement command. When the movement command for moving the spindle closer to the workpiece is a cutting movement command, if the cutting movement command is executed without the rotation speed of the spindle reaching the rotation speed specified in the rotation command, The change of the rotation speed becomes larger. If the change in the rotation speed of the main spindle becomes large during workpiece machining, there is a problem that machining patterns are conspicuous on the workpiece machining surface and machining defects occur.
In the present invention, the cutting movement command is not executed until the rotational speed of the main shaft is such that no machining pattern is generated on the machining surface of the workpiece, so that no machining failure occurs.

本発明による場合は、回転速度を指定した主軸の回転命令を取得した場合であっても、主軸の回転速度が指定された回転速度に達したか否かの判定を、主軸の移動命令の実行前まで先送りする構成とすることにより、主軸の回転開始から指定された回転速度に達するまでの間に他の命令を実行することができるため、工作時間を短縮することができる。   In the case of the present invention, even if a spindle rotation command specifying the rotation speed is acquired, it is determined whether or not the spindle rotation speed has reached the specified rotation speed by executing the spindle movement command. By adopting a configuration in which it is advanced to the front, other commands can be executed during the period from the start of rotation of the spindle until the designated rotational speed is reached, so that the working time can be shortened.

マシニングセンタ(工作機械)の外観を示す斜視図である。It is a perspective view which shows the external appearance of a machining center (machine tool). マシニングセンタの主要部分の構成を示す正面図である。It is a front view which shows the structure of the principal part of a machining center. マシニングセンタの電気的構成を示すブロック図である。It is a block diagram which shows the electrical structure of a machining center. EEPROMに記憶された加工プログラムの一例を示す模式図である。It is a schematic diagram which shows an example of the processing program memorize | stored in EEPROM. マシニングセンタの動作の一例を説明するためのタイミングチャートである。It is a timing chart for explaining an example of operation of a machining center. マシニングセンタによる加工プログラムの処理手順を示すフローチャートである。It is a flowchart which shows the process sequence of the processing program by a machining center. マシニングセンタによる加工プログラムの処理手順を示すフローチャートである。It is a flowchart which shows the process sequence of the processing program by a machining center. 変形例に係る加工プログラムの一例を示す模式図である。It is a schematic diagram which shows an example of the processing program which concerns on a modification.

以下、本発明をその実施の形態を示す図面に基づき具体的に説明する。図1は、マシニングセンタ(工作機械)の外観を示す斜視図である。また図2は、マシニングセンタの主要部分の構成を示す正面図である。本実施の形態に係るマシニングセンタは、加工対象であるワーク(図示は省略する)と工具とを相対移動させて、ワークに所望の機械加工(例えば、スライス削り、穴あけ又は切削等)を施すことができる工作機械である。マシニングセンタは金属製の基台1を備え、基台1の下部の四隅には脚部がそれぞれ設けられ、これら4つの脚部が床面などに設置されることにより、マシニングセンタが所定場所に設置される。基台1は、マシニングセンタの前後方向に長い直方体状の鋳造品である。   Hereinafter, the present invention will be specifically described with reference to the drawings showing embodiments thereof. FIG. 1 is a perspective view showing an appearance of a machining center (machine tool). FIG. 2 is a front view showing the configuration of the main part of the machining center. The machining center according to the present embodiment can perform desired machining (for example, slicing, drilling, cutting, etc.) on a workpiece by relatively moving a workpiece (not shown) to be processed and a tool. It is a machine tool that can. The machining center includes a metal base 1, and legs are provided at the four corners of the lower part of the base 1, and these four legs are installed on the floor or the like, so that the machining center is installed at a predetermined place. The The base 1 is a rectangular parallelepiped casting that is long in the front-rear direction of the machining center.

マシニングセンタの基台1の後部上にはコラム座部3が設けられ、コラム座部3には鉛直上方へ延びる柱状のコラム4が立設されている。コラム4には、その前面に沿って上下移動可能に主軸ヘッド5が設けられている。主軸ヘッド5には、加工用の工具6が装着される主軸5Aと、主軸5Aに装着された工具6を他の工具6に交換するための工具交換機構7とが設けられている。また図1において図示は省略するが、コラム4の上部にはZ軸モータ44(図3参照)が設けてあり、Z軸モータ44の回転によって主軸ヘッド5を上下に移動させることができる。   A column seat 3 is provided on the rear portion of the base 1 of the machining center, and a columnar column 4 extending vertically upward is erected on the column seat 3. The column 4 is provided with a spindle head 5 that can move up and down along the front surface thereof. The spindle head 5 is provided with a spindle 5A on which a machining tool 6 is mounted, and a tool exchange mechanism 7 for exchanging the tool 6 mounted on the spindle 5A with another tool 6. Although not shown in FIG. 1, a Z-axis motor 44 (see FIG. 3) is provided at the top of the column 4, and the spindle head 5 can be moved up and down by the rotation of the Z-axis motor 44.

主軸ヘッド5には、加工軸に相当する主軸5Aが回転可能に装着され、主軸5Aを回転駆動するための主軸モータ41(図3参照)が上部に備えられている。主軸5Aの下端には工具6が着脱可能に装着され、主軸5Aが主軸モータ41により回転駆動されることによって工具6が回転し、テーブル8に固定したワークの加工が行われる。主軸5Aは、主軸ヘッド5の上下移動によって上方の交換位置と下方の加工位置との間を移動する。工具交換機構7は、工具6を支持する工具ホルダを複数格納する工具マガジン14と、主軸5Aに装着された工具ホルダと工具マガジン14に格納された他の工具ホルダとを把持して搬送し、工具交換を行う工具交換アーム15とを備えている。   A spindle 5A corresponding to a machining axis is rotatably mounted on the spindle head 5, and a spindle motor 41 (see FIG. 3) for rotationally driving the spindle 5A is provided at the top. A tool 6 is detachably attached to the lower end of the main shaft 5A, and the main shaft 5A is rotationally driven by the main shaft motor 41, whereby the tool 6 rotates and a workpiece fixed to the table 8 is processed. The spindle 5A moves between an upper exchange position and a lower machining position by the vertical movement of the spindle head 5. The tool change mechanism 7 holds and conveys a tool magazine 14 that stores a plurality of tool holders that support the tool 6, a tool holder that is mounted on the spindle 5A, and another tool holder that is stored in the tool magazine 14, And a tool changing arm 15 for changing the tool.

また基台1上には、主軸ヘッド5の下方に、ワークを着脱可能に固定することができるテーブル8が配置してある。テーブル8は、サーボモータであるX軸モータ42及びY軸モータ43(図3参照)により、X軸方向(左右方向)及びY軸方向(前後方向)へ移動制御される。詳しくは、テーブル8の下側には直方体状の支持台10が設けてあり、支持台10にはX軸方向に沿って延びる1対のX軸送りガイドを設け、1対のX軸送りガイド上にテーブル8を移動可能に支持している。また基台1の上部には、長手方向(Y軸方向)に沿って延びる1対のY軸送りガイドを設け、1対のY軸送りガイド上に支持台10を移動可能に支持している。基台1上に設けたY軸モータ43がY軸送りガイドに沿ってY軸方向に支持台10を移動駆動すると共に、支持台10上に設けたX軸モータ42がX軸送りガイドに沿ってX軸方向にテーブル8を移動駆動する。   Further, on the base 1, a table 8 is disposed below the spindle head 5 so that a work can be detachably fixed. The table 8 is controlled to move in the X-axis direction (left-right direction) and the Y-axis direction (front-rear direction) by an X-axis motor 42 and a Y-axis motor 43 (see FIG. 3) which are servo motors. Specifically, a rectangular parallelepiped support base 10 is provided below the table 8, and the support base 10 is provided with a pair of X-axis feed guides extending along the X-axis direction, and a pair of X-axis feed guides. A table 8 is movably supported on the top. In addition, a pair of Y-axis feed guides extending in the longitudinal direction (Y-axis direction) is provided on the upper portion of the base 1, and the support base 10 is movably supported on the pair of Y-axis feed guides. . A Y-axis motor 43 provided on the base 1 moves and drives the support base 10 in the Y-axis direction along the Y-axis feed guide, and an X-axis motor 42 provided on the support base 10 follows the X-axis feed guide. Then, the table 8 is driven to move in the X-axis direction.

X軸送りガイドには、テレスコピック式に収縮するテレスコピックカバー11、12がテーブル8の左右両側に設けてある。Y軸送りガイドには、テレスコピックカバー13とY軸後カバーとが、支持台10の前後にそれぞれ設けてある。テーブル8及び支持台10がそれぞれいずれの方向に移動した場合であっても、X軸送りガイド及びY軸送りガイドは常にテレスコピックカバー11、12、13及びY軸後カバーによって覆われる。テレスコピックカバー11、12、13及びY軸後カバーは、ワークの加工領域から飛散する切粉などがX軸送りガイド及びY軸送りガイド等へ落下することを防止するためのものである。   The X-axis feed guide is provided with telescopic covers 11 and 12 that contract telescopically on both the left and right sides of the table 8. In the Y-axis feed guide, a telescopic cover 13 and a Y-axis rear cover are provided on the front and rear sides of the support base 10, respectively. The X-axis feed guide and the Y-axis feed guide are always covered by the telescopic covers 11, 12, 13 and the Y-axis rear cover, regardless of which direction the table 8 and the support base 10 are moved. The telescopic covers 11, 12, 13 and the Y-axis rear cover are for preventing chips or the like scattered from the workpiece processing region from dropping onto the X-axis feed guide, the Y-axis feed guide, and the like.

コラム4の背面側には、箱状の制御ボックス9が設けられており、制御ボックス9の内部にはマシニングセンタの動作を制御するための制御部20(図3参照)が収容されている。図3は、マシニングセンタの電気的構成を示すブロック図である。マシニングセンタの制御部20は、CPU21、ROM22、RAM23、EEPROM24、入力インタフェース25及び出力インタフェース26等を備えて構成されている。   A box-shaped control box 9 is provided on the back side of the column 4, and a control unit 20 (see FIG. 3) for controlling the operation of the machining center is accommodated in the control box 9. FIG. 3 is a block diagram showing an electrical configuration of the machining center. The control unit 20 of the machining center includes a CPU 21, a ROM 22, a RAM 23, an EEPROM 24, an input interface 25, an output interface 26, and the like.

CPU21は、ROM22に記憶された制御プログラムをRAM23に読み出して実行することにより、ワークの加工処理及び工具交換処理等を行う。ROM22は、マスクROM又はEEPROM等の不揮発性のメモリ素子であり、CPU21にて実行される制御プログラム及び処理に必要な各種のデータ等が予め記憶されている。RAM23は、SRAM又はDRAM等のメモリ素子であり、ROM22から読み出した制御プログラム及び処理過程で発生した種々のデータ等を一時的に記憶する。EEPROM24は、データ書き換えが可能な不揮発性のメモリ素子であり、処理に必要な各種のデータが記憶される。特に本実施の形態においては、ワークに対する加工手順及び加工条件等が記載された加工プログラム(後述する)がEEPROM24に記憶されている。なおEEPROM24に代えて、フラッシュメモリなどの不揮発性メモリ素子を使用してもよい。   The CPU 21 reads the control program stored in the ROM 22 into the RAM 23 and executes it, thereby performing workpiece machining processing, tool change processing, and the like. The ROM 22 is a non-volatile memory element such as a mask ROM or EEPROM, and stores a control program executed by the CPU 21 and various data necessary for processing. The RAM 23 is a memory element such as SRAM or DRAM, and temporarily stores a control program read from the ROM 22 and various data generated in the process. The EEPROM 24 is a non-volatile memory element that can rewrite data, and stores various data necessary for processing. Particularly in the present embodiment, a machining program (described later) in which machining procedures and machining conditions for the workpiece are described is stored in the EEPROM 24. Note that a nonvolatile memory element such as a flash memory may be used instead of the EEPROM 24.

マシニングセンタは、入力装置31、アームセンサ32、Z軸センサ33及び主軸センサ34等を備えており、これらが制御部20の入力インタフェース25に接続されている。入力装置31は、キーボード又はタッチパネル等を用いたものであり、ユーザの操作を受け付ける。アームセンサ32は、工具交換アーム15が原点(最も上側の位置)まで上昇したか否かを検出する。Z軸センサ33は、主軸5Aが工具6を交換する交換位置まで上昇したか否かを検出する。主軸センサ34は、主軸5Aの回転速度を検出する。入力インタフェース25は、入力装置31、アームセンサ32、Z軸センサ33及び主軸センサ34から出力される情報をCPU21へ与える。なお、Z軸センサ33及び主軸センサ34の代わりに、Z軸モータ44及び主軸モータ41のフィードバック情報を使用してもよい。   The machining center includes an input device 31, an arm sensor 32, a Z-axis sensor 33, a main shaft sensor 34, and the like, and these are connected to the input interface 25 of the control unit 20. The input device 31 uses a keyboard or a touch panel, and accepts user operations. The arm sensor 32 detects whether or not the tool change arm 15 has been raised to the origin (uppermost position). The Z-axis sensor 33 detects whether or not the main shaft 5A has moved up to the replacement position for replacing the tool 6. The main shaft sensor 34 detects the rotational speed of the main shaft 5A. The input interface 25 gives information output from the input device 31, arm sensor 32, Z-axis sensor 33, and spindle sensor 34 to the CPU 21. Instead of the Z-axis sensor 33 and the spindle sensor 34, feedback information of the Z-axis motor 44 and the spindle motor 41 may be used.

マシニングセンタは、主軸モータ41、X軸モータ42、Y軸モータ43、Z軸モータ44、工具交換モータ45及び表示装置46等を備えており、これらが制御部20の出力インタフェース26に接続されている。主軸モータ41は、主軸5Aを回転させるためのものであり、これにより主軸5Aに装着された工具6を用いたワークの加工を行うことができる。X軸モータ42及びY軸モータ43は、テーブル8をX方向及びY方向へ移動させるためのモータである。Z軸モータ44は、コラム4に対して主軸ヘッド5を鉛直方向へ上下移動させるためのモータである。工具交換モータ45は、主軸5Aに対する工具6の着脱、並びに、工具交換アーム15の上下動、回転及び工具6の把持等の工具交換動作を行うためのモータである。表示装置46は、液晶パネルなどであり、マシニングセンタの動作状態又はユーザに対するメッセージ等を表示する。   The machining center includes a spindle motor 41, an X-axis motor 42, a Y-axis motor 43, a Z-axis motor 44, a tool change motor 45, a display device 46, and the like, which are connected to the output interface 26 of the control unit 20. . The main shaft motor 41 is for rotating the main shaft 5A, and can thereby process a workpiece using the tool 6 attached to the main shaft 5A. The X-axis motor 42 and the Y-axis motor 43 are motors for moving the table 8 in the X direction and the Y direction. The Z-axis motor 44 is a motor for vertically moving the spindle head 5 with respect to the column 4 in the vertical direction. The tool change motor 45 is a motor for performing tool change operations such as attachment / detachment of the tool 6 to / from the main shaft 5A, vertical movement and rotation of the tool change arm 15, and gripping of the tool 6. The display device 46 is a liquid crystal panel or the like, and displays an operation state of the machining center or a message to the user.

図4は、EEPROM24に記憶された加工プログラムの一例を示す模式図である。加工プログラムは、ワークに対する加工内容に応じてユーザが予め作成し、EEPROM24に予め記憶されるものである。マシニングセンタのCPU21は、加工プログラムを一行ずつ順に読みこみ、各行に記載された命令を順に処理していく。例えば図示の加工プログラムのN1行目に記載されたG100は工具交換命令を示し、T1は次に主軸5Aに装着する工具6の識別番号が1番であることを示し、Z200は工具交換後のZ軸方向の待機位置が200であることを示している。またN1行目には工具交換命令に続いて、主軸5Aの回転命令M3が記載され、S10000は主軸5Aの回転速度として10000回転/分を指定している。なお工具交換命令及び主軸の回転命令は、加工プログラムにおいて同一行に記載せず、別の行に記載してもよい。   FIG. 4 is a schematic diagram illustrating an example of a machining program stored in the EEPROM 24. The machining program is created in advance by the user in accordance with the machining content of the workpiece, and is stored in the EEPROM 24 in advance. The CPU 21 of the machining center reads the machining program one line at a time and processes the commands described in each line in order. For example, G100 described in the N1 line of the illustrated machining program indicates a tool change command, T1 indicates that the identification number of the tool 6 to be mounted next on the spindle 5A is No. 1, and Z200 indicates after tool change. It shows that the standby position in the Z-axis direction is 200. In the N1 line, a rotation command M3 for the main shaft 5A is described following the tool change command, and S10000 designates 10,000 rotations / minute as the rotation speed of the main shaft 5A. The tool change command and the spindle rotation command may not be described on the same line in the machining program but may be described on different lines.

またN2行目に記載されたM77は、加工用の冶具をクランプ装置に固定させる命令である。N3行目に記載されたM400、N4行目に記載されたM494、及び、N5行目に記載されたM8の各命令は、クーラント(切削液)を吐出することによって切粉の排除及び冷却等を行うためのものである。マシニングセンタにはクーラントを吐出するための機構が複数備えられており、N3行目〜N5行目の命令はクーラント吐出機構を順に動作させる。なおM400はチップシャワーの吐出命令であり、M494はCTSのクーラントの吐出命令であり、M8はその他のクーラントの吐出命令である。CTSは、主軸5A内にクーラントを流通させる流路を設け、この流路と工具6に設けた流路とを接続することで、工具6の先端からクーラントを吐出するものである。チップシャワーは、マシニングセンタ内に配置したチップシャワー配管からクーラントを吐出することで、テーブル8周辺に切粉が堆積するのを防ぐものである。なお、これらのクーラント吐出機構についての詳細な説明は省略する。   M77 described in the N2th line is an instruction to fix the processing jig to the clamp device. Each command of M400 described in the N3 line, M494 described in the N4 line, and M8 described in the N5 line is the removal and cooling of chips by discharging coolant (cutting fluid). Is for doing. The machining center is provided with a plurality of mechanisms for discharging the coolant, and the commands in the N3th to N5th lines operate the coolant discharge mechanism in order. M400 is a chip shower discharge command, M494 is a CTS coolant discharge command, and M8 is another coolant discharge command. The CTS is provided with a flow path through which coolant flows in the main shaft 5A, and discharges the coolant from the tip of the tool 6 by connecting this flow path and the flow path provided in the tool 6. The chip shower prevents the accumulation of chips around the table 8 by discharging coolant from a chip shower pipe arranged in the machining center. A detailed description of these coolant discharge mechanisms will be omitted.

N6行目に記載されたG1は主軸5Aの切削移動命令であり、Z198はZ軸方向の加工位置が198であることを示している。この命令によって、N1行目の命令にてZ軸方向の位置200で待機していた主軸5AがZ軸方向の位置198まで下降し、主軸5Aに装着された工具6によるワークの加工が行われる。   G1 described in the N6th line is a cutting movement command of the main shaft 5A, and Z198 indicates that the machining position in the Z-axis direction is 198. By this command, the spindle 5A that has been waiting at the position 200 in the Z-axis direction according to the command in the N1th line is lowered to the position 198 in the Z-axis direction, and the workpiece is processed by the tool 6 attached to the spindle 5A. .

なお、従来のマシニングセンタは、N1行目の主軸5Aの回転命令を処理する際に、主軸モータ41を駆動して主軸5Aの回転を開始した後、指定された回転速度に達するまで待機し、その後にN2行目以降の命令を処理していた。これに対して本実施の形態に係るマシニングセンタは、主軸5Aの回転命令に対して、主軸モータ41を駆動して主軸5Aの回転を開始した後、主軸5Aの回転速度を判定することなく、次の命令(N2行目以降の命令)を読み込んで処理することができる。   The conventional machining center waits until the designated rotational speed is reached after driving the spindle motor 41 to start the rotation of the spindle 5A when processing the rotation command of the spindle 5A in the N1th row. N2 line and subsequent instructions were processed. On the other hand, the machining center according to the present embodiment starts the rotation of the main shaft 5A by driving the main shaft motor 41 in response to the rotation command of the main shaft 5A, and then determines the rotation speed of the main shaft 5A. Can be read and processed.

図5は、マシニングセンタの動作の一例を説明するためのタイミングチャートであり、図4に示した加工プログラムに対応する動作を示してある。また図5の上段には主軸5AのZ軸方向の座標(位置)が示してあり、下段には主軸5Aの回転速度が示してある。マシニングセンタのCPU21は、加工プログラムのN1行目にて工具交換命令を読み込むことによって、Z軸モータ44を駆動して主軸5AをZ軸方向の工具交換位置まで上昇させ(0〜t1)、工具交換モータ45を駆動して工具交換を行う(t1〜t2)。工具交換の終了後、CPU21は、工具交換命令にて指定されたZ軸方向の待機位置200へ、Z軸モータ44を駆動して主軸5Aを下降させ始める(t2)。   FIG. 5 is a timing chart for explaining an example of the operation of the machining center, and shows the operation corresponding to the machining program shown in FIG. The upper part of FIG. 5 shows the coordinates (position) of the main shaft 5A in the Z-axis direction, and the lower part shows the rotational speed of the main shaft 5A. The CPU 21 of the machining center reads the tool change command on the N1th line of the machining program, thereby driving the Z-axis motor 44 to raise the spindle 5A to the tool change position in the Z-axis direction (0 to t1). The tool is changed by driving the motor 45 (t1 to t2). After completing the tool change, the CPU 21 starts to lower the spindle 5A by driving the Z-axis motor 44 to the standby position 200 in the Z-axis direction designated by the tool change command (t2).

マシニングセンタにおいては、工具交換位置にて主軸5Aを回転させることはできず、予め定められた回転可能位置より下方にて主軸5Aを回転させることができる。工具交換終了後に主軸5Aの下降を開始したCPU21は、主軸5AのZ軸方向の位置が回転可能位置に達した場合(t3)、加工プログラムのN1行目に記載された回転命令に従い、主軸モータ41を駆動して主軸5Aの回転を開始する。これにより主軸5Aの回転速度は、略一定の加速度で上昇する。   In the machining center, the spindle 5A cannot be rotated at the tool change position, and the spindle 5A can be rotated below a predetermined rotatable position. The CPU 21 that has started to lower the spindle 5A after completing the tool replacement, when the position of the spindle 5A in the Z-axis direction reaches the rotatable position (t3), follows the rotation command described in the N1th line of the machining program in accordance with the spindle motor. 41 is driven to start the rotation of the main shaft 5A. As a result, the rotational speed of the main shaft 5A increases at a substantially constant acceleration.

主軸5AはZ軸方向へ下降を続け、加工プログラムのN1行目にて指定された待機位置に達した場合(t4)、CPU21は、加工プログラムのN2行目〜N5行目の命令を順次的に処理する(t4〜t5)。加工プログラムのN5行目の処理を終了した後、CPU21は、N6行目の切削移動命令を読み込む。このときCPU21は、主軸センサ34にて検出された主軸5Aの回転速度が、N1行目の回転命令にて指定された回転速度に所定割合A(0<A≦1)を乗じた回転速度(以下、回転速度閾値という)に達しているか否かを判定する。主軸5Aの回転速度が回転速度閾値に達していない場合、CPU21は、切削移動命令の実行を待機する。主軸5Aの回転速度が回転速度閾値に達した場合(t6)、CPU21は、Z軸モータ44を駆動して、切削移動命令にて指定されたZ軸方向の位置へ主軸5Aの下降を開始する。その後、主軸5Aの回転速度がN1行目の回転命令にて指定された回転速度に達すると共に、主軸5AのZ軸方向の位置がN6行目の切削移動命令にて指定された位置に達し、ワークに対する加工が開始される。   When the spindle 5A continues to descend in the Z-axis direction and reaches the standby position specified in the N1 line of the machining program (t4), the CPU 21 sequentially issues the commands in the N2 line to the N5 line of the machining program. (T4 to t5). After finishing the processing on the N5th line of the machining program, the CPU 21 reads the cutting movement command on the N6th line. At this time, the CPU 21 determines that the rotation speed of the spindle 5A detected by the spindle sensor 34 is the rotation speed (0 <A ≦ 1) multiplied by the rotation speed specified by the rotation command in the N1th row. Hereinafter, it is determined whether or not the rotation speed threshold value has been reached. When the rotation speed of the spindle 5A has not reached the rotation speed threshold, the CPU 21 waits for execution of the cutting movement command. When the rotation speed of the main shaft 5A reaches the rotation speed threshold (t6), the CPU 21 drives the Z-axis motor 44 to start lowering the main shaft 5A to the position in the Z-axis direction designated by the cutting movement command. . Thereafter, the rotational speed of the main shaft 5A reaches the rotational speed specified by the rotation command of the N1 line, and the position of the main shaft 5A in the Z-axis direction reaches the position specified by the cutting movement command of the N6 line. Machining for the workpiece is started.

なお、回転速度閾値を決定する所定割合Aは、主軸5Aの回転加速度、主軸5AのZ軸方向の移動速度、並びに、N1行目の工具交換命令にて指定された待機位置及びN6行目の切削移動命令にて指定された加工位置の間の距離に応じて算出することができる。即ち、主軸5AがZ軸方向へ移動して加工位置に達した際に(又は達する前に)、目標の回転速度に達していると推定される回転速度を逆算して回転速度閾値とし、この回転速度閾値の目標回転速度に対する割合を所定割合Aとすればよい。所定割合Aは、予め定められた値を用いてもよく、CPU21が動的に算出してもよい。   The predetermined ratio A for determining the rotation speed threshold is the rotation acceleration of the main shaft 5A, the moving speed of the main shaft 5A in the Z-axis direction, the standby position specified by the tool change command on the N1 line, and the N6 line. It can be calculated according to the distance between the machining positions designated by the cutting movement command. That is, when the spindle 5A moves in the Z-axis direction and reaches the machining position (or before reaching), the rotational speed estimated to reach the target rotational speed is calculated backward to obtain the rotational speed threshold value. The ratio of the rotation speed threshold to the target rotation speed may be set to the predetermined ratio A. As the predetermined ratio A, a predetermined value may be used, or the CPU 21 may dynamically calculate the predetermined ratio A.

このように、本実施の形態に係るマシニングセンタは、加工プログラムのN1行目にて回転速度を指定した主軸5Aの回転命令を読みこんだ場合であっても、主軸5Aの回転を開始のみ行い、主軸5Aの回転速度が指定された回転速度に達したか否間判定は行わずに、加工プログラムの次の命令(N2行目〜N5行目)を実行する。その後、マシニングセンタは、加工プログラムのN6行目にて切削移動命令を読み込んだ場合に、主軸5Aの回転速度が回転速度閾値に達したか否かを判定し、回転速度閾値に達した場合に主軸5Aの切削移動を開始する。これによりマシニングセンタは、指定された回転速度への主軸5Aの回転(加速)と、その他の命令(N2行目〜N5行目の命令など)とを、切削移動命令を読み込むまでの間に平行して行うことができるため、工作時間を短縮することができる。   As described above, the machining center according to the present embodiment only starts the rotation of the spindle 5A even when the rotation command of the spindle 5A with the rotation speed specified in the N1th line of the machining program is read. The next instruction (N2 line to N5 line) of the machining program is executed without determining whether or not the rotation speed of the spindle 5A has reached the specified rotation speed. Thereafter, the machining center determines whether or not the rotation speed of the spindle 5A has reached the rotation speed threshold when the cutting movement command is read in the N6th line of the machining program, and when the rotation speed threshold is reached, the spindle Start cutting movement of 5A. As a result, the machining center parallels the rotation (acceleration) of the spindle 5A to the specified rotation speed and other commands (such as commands in the N2 to N5 rows) until the cutting movement command is read. Therefore, the working time can be shortened.

図6及び図7は、マシニングセンタによる加工プログラムの処理手順を示すフローチャートである。まず、マシニングセンタのCPU21は、EEPROM24に記憶された加工プログラムから1行分の命令を読み出す(ステップS1)。次いで、読み出した命令が工作を終了する命令であるか否かを判定し(ステップS2)、工作終了命令の場合(S2:YES)、CPU21は、ワークに対する工作処理を終了する。   6 and 7 are flowcharts showing the processing procedure of the machining program by the machining center. First, the CPU 21 of the machining center reads out an instruction for one line from the machining program stored in the EEPROM 24 (step S1). Next, it is determined whether or not the read command is a command to end the work (step S2). If the read command is a work end command (S2: YES), the CPU 21 ends the work processing for the workpiece.

読み出した命令が工作終了命令でない場合(S2:NO)、CPU21は、読み出した命令が工具交換命令であるか否かを判定する(ステップS3)。読み出した命令が工具交換命令の場合(S3:YES)、CPU21は、主軸5Aを工具交換位置まで上昇させて工具を交換し、その後に主軸5Aを待機位置まで移動させる工具交換動作を行う(ステップS4)。工具交換動作の過程において、CPU21は、主軸5Aが回転可能位置に達したか否かを判定し(ステップS5)、回転可能位置に達していない場合(S5:NO)、工具交換動作を継続する。主軸5Aが回転可能位置に達した場合(S5:YES)、CPU21は、工具交換命令と同一行に主軸5Aの回転命令が含まれているか否かを更に判定する(ステップS6)。CPU21は、回転命令が含まれていない場合には(S6:NO)、工具交換動作の終了後にステップS1へ処理を戻し、また、回転命令が含まれている場合には(S6:YES)、主軸モータ41を駆動して主軸5Aの回転を開始して(ステップS7)、工具交換動作の終了後にステップS1へ処理を戻す。   When the read command is not a work end command (S2: NO), the CPU 21 determines whether or not the read command is a tool change command (step S3). When the read command is a tool change command (S3: YES), the CPU 21 raises the spindle 5A to the tool change position to change the tool, and then performs a tool change operation for moving the spindle 5A to the standby position (step). S4). In the process of the tool change operation, the CPU 21 determines whether or not the main shaft 5A has reached the rotatable position (step S5). If the spindle 21 has not reached the rotatable position (S5: NO), the tool change operation is continued. . When the main shaft 5A reaches the rotatable position (S5: YES), the CPU 21 further determines whether or not the rotation command for the main shaft 5A is included in the same row as the tool change command (step S6). When the rotation command is not included (S6: NO), the CPU 21 returns the process to step S1 after the tool change operation is completed, and when the rotation command is included (S6: YES), The spindle motor 41 is driven to start rotation of the spindle 5A (step S7), and the process returns to step S1 after the tool change operation is completed.

読み出した命令が工具交換命令でない場合(S3:NO)、CPU21は、読み出した命令が主軸5Aの回転命令であるか否かを判定する(ステップS8)。読み出した命令が回転命令の場合(S8:YES)、CPU21は、主軸モータ41を駆動して主軸5Aの回転を開始し(ステップS7)、ステップS1へ処理を戻す。   When the read command is not a tool change command (S3: NO), the CPU 21 determines whether or not the read command is a rotation command for the spindle 5A (step S8). When the read command is a rotation command (S8: YES), the CPU 21 drives the spindle motor 41 to start the rotation of the spindle 5A (step S7), and returns the process to step S1.

読み出した命令が回転命令でない場合(S8:NO)、CPU21は、読み出した命令が切削移動命令であるか否かを判定する(ステップS9)。読み出した命令が切削移動命令の場合(S9:YES)、CPU21は、主軸センサ34が検出する主軸5Aの回転速度が回転速度閾値以上であるか否かを判定する(ステップS10)。主軸5Aの回転速度が回転速度閾値未満の場合(S10:NO)、CPU21は、主軸5Aの回転速度が回転速度閾値以上になるまで待機する。主軸5Aの回転速度が回転速度以上の場合(S10:YES)、CPU21は、Z軸モータ44を駆動して切削移動を開始し(ステップS11)、ステップS1へ処理を戻す。   When the read command is not a rotation command (S8: NO), the CPU 21 determines whether or not the read command is a cutting movement command (step S9). When the read command is a cutting movement command (S9: YES), the CPU 21 determines whether or not the rotation speed of the spindle 5A detected by the spindle sensor 34 is equal to or higher than the rotation speed threshold (step S10). When the rotation speed of the main shaft 5A is less than the rotation speed threshold (S10: NO), the CPU 21 waits until the rotation speed of the main shaft 5A becomes equal to or higher than the rotation speed threshold. When the rotation speed of the main shaft 5A is equal to or higher than the rotation speed (S10: YES), the CPU 21 drives the Z-axis motor 44 to start cutting movement (step S11), and returns the process to step S1.

読み出した命令が切削移動命令でない場合(S9:NO)、CPU21は、読み出した命令に応じたその他の動作を行い(ステップS12)、ステップS1へ処理を戻す。マシニングセンタのCPU21は、加工プログラムの工作終了命令を読み込むまで、ステップS1〜S12の処理を繰り返し行い、加工プログラムに記載された命令を1行ずつ処理することによって、ワークに対する種々の加工を行う。   When the read command is not a cutting movement command (S9: NO), the CPU 21 performs other operations according to the read command (step S12), and returns the process to step S1. The CPU 21 of the machining center repeatedly performs the processing of steps S1 to S12 until the machining end command of the machining program is read, and performs various machining on the workpiece by processing the commands described in the machining program line by line.

以上の構成のマシニングセンタは、加工プログラムから取得した命令が回転速度を指定した主軸5Aの回転命令である場合、主軸5Aの回転を開始するが、主軸5Aの回転速度が回転速度閾値に達するのを待つことなく、加工プログラムの次の命令の取得及び実行を行う。その後、マシニングセンタは、加工プログラムから切削移動命令を取得した場合、主軸5Aの回転速度が回転速度閾値に達したか否かを判定した後に、主軸5Aをワークへ近接させる切削移動を開始する。このように、主軸5Aの回転命令を取得した場合であっても、主軸5Aの回転速度が回転速度閾値に達したか否かの判定を、切削移動命令の実行前まで先送りする構成とすることにより、主軸5Aの回転命令と切削移動命令との間に他の命令を実行することが可能となる。このため、主軸5Aの回転開始から回転速度が回転速度閾値に達するまでの時間を有効に活用することができ、工作時間を短縮することができる。   The machining center having the above configuration starts rotation of the spindle 5A when the command acquired from the machining program is a rotation command of the spindle 5A that specifies the rotation speed, but the rotation speed of the spindle 5A reaches the rotation speed threshold. Without waiting, the next instruction of the machining program is acquired and executed. Thereafter, when the machining center obtains a cutting movement command from the machining program, it determines whether or not the rotation speed of the spindle 5A has reached the rotation speed threshold, and then starts cutting movement that brings the spindle 5A close to the workpiece. Thus, even if it is a case where the rotation command of the main shaft 5A is acquired, the determination as to whether or not the rotation speed of the main shaft 5A has reached the rotation speed threshold value is postponed until the execution of the cutting movement command. Thus, another command can be executed between the rotation command of the spindle 5A and the cutting movement command. For this reason, the time from the start of rotation of the spindle 5A until the rotation speed reaches the rotation speed threshold can be effectively utilized, and the working time can be shortened.

またマシニングセンタは、回転命令にて指定された回転速度に所定割合Aを乗じた値を回転速度閾値とし、主軸5Aの回転速度を判定する場合に回転速度閾値との比較を行う構成とすることにより、指定された回転速度との比較を行う場合と比べて、切削移動命令をより早いタイミングで開始することができ、工作時間を更に短縮することができる。   Further, the machining center is configured to use a value obtained by multiplying the rotation speed designated by the rotation command by a predetermined ratio A as a rotation speed threshold, and to compare the rotation speed threshold when determining the rotation speed of the spindle 5A. The cutting movement command can be started at an earlier timing than in the case of comparing with the designated rotational speed, and the machining time can be further shortened.

なお、本実施の形態においては、回転命令にて指定された回転速度に所定割合Aを乗じた値を回転速度閾値とし、主軸5Aの回転速度が回転速度閾値に達したか否かを判定する構成としたが、これに限るものではなく、主軸5Aの回転速度が回転命令にて指定された回転速度に達したか否かを判定する構成としてもよい(即ち、所定割合A=1であってよい)。また、図4に示した加工プログラムは一例であり、これに限るものではない。特に主軸5Aの回転命令と切削移動命令との間に実行する命令は、図4のN2〜N5行目に示した命令に限らず、その他の種々の命令であってよい。   In the present embodiment, a value obtained by multiplying the rotation speed specified by the rotation command by a predetermined ratio A is set as a rotation speed threshold, and it is determined whether or not the rotation speed of the spindle 5A has reached the rotation speed threshold. However, the present invention is not limited to this, and it may be configured to determine whether or not the rotation speed of the spindle 5A has reached the rotation speed specified by the rotation command (that is, the predetermined ratio A = 1). May be). Further, the machining program shown in FIG. 4 is an example, and the present invention is not limited to this. In particular, the command executed between the rotation command of the spindle 5A and the cutting movement command is not limited to the command shown in the N2 to N5 lines in FIG. 4 and may be other various commands.

(変形例)
上述の実施の形態においては、回転速度閾値を算出するための所定割合Aは、主軸5Aの回転加速度及びZ軸方向の移動速度等の情報に基づいて動的に算出した値又は予め定められた値を用いたが、これに限るものではない。変形例に係るマシニングセンタは、所定割合Aの値をユーザが加工プログラム内で設定することができる構成である。
(Modification)
In the above-described embodiment, the predetermined ratio A for calculating the rotation speed threshold is a value dynamically calculated based on information such as the rotation acceleration of the main shaft 5A and the movement speed in the Z-axis direction, or is determined in advance. Although a value is used, the present invention is not limited to this. The machining center according to the modification is configured such that the user can set the value of the predetermined ratio A in the machining program.

図8は、変形例に係る加工プログラムの一例を示す模式図である。図示の加工プログラムでは、N1行目の工具交換命令の前に、N0行目として所定割合Aの値を設定する命令が記載されている(一例として、所定割合A=0.8に設定されている)。変形例に係るマシニングセンタのCPU21は、加工プログラムから所定割合Aの設定命令を読みこんだ場合、以後の切削移動命令前の回転速度判定において、設定命令にて指定された所定割合Aに基づく回転速度閾値を用いて判定を行う。   FIG. 8 is a schematic diagram illustrating an example of a machining program according to a modification. In the illustrated machining program, an instruction to set a value of a predetermined ratio A as the N0 line is described before the N1 line tool change instruction (for example, the predetermined ratio A is set to 0.8). ) When the CPU 21 of the machining center according to the modification reads the setting command for the predetermined ratio A from the machining program, the rotation speed based on the predetermined ratio A specified by the setting command in the subsequent rotation speed determination before the cutting movement command. Judgment is performed using a threshold value.

このように、主軸Aの回転速度を判定するための回転速度閾値を決定する所定割合Aをユーザが加工プログラムにて指定することを可能とすることによって、ユーザによる加工プログラムの作成の自由度を向上することができる。なお、加工プログラムにて所定割合Aが設定されなかった場合には、マシニングセンタは予め定められたデフォルトの所定割合Aを用いて回転速度の判定を行えばよい。また図8においては、所定割合Aの設定命令を、回転命令が記載された行の直前に記載したが、これに限るものではなく、少なくとも切削移動命令の前に記載すればよい。   Thus, by allowing the user to specify a predetermined ratio A for determining the rotation speed threshold for determining the rotation speed of the spindle A in the machining program, the degree of freedom in creating the machining program by the user can be increased. Can be improved. When the predetermined ratio A is not set in the machining program, the machining center may determine the rotation speed using a predetermined default ratio A. In FIG. 8, the setting command for the predetermined ratio A is described immediately before the line in which the rotation command is described, but is not limited thereto, and may be described at least before the cutting movement command.

なお本実施の形態においては、工具交換方式として工具交換アーム15を用いるマシニングセンタを例に説明を行ったが、これに限るものではなく、他の工具交換方式を採用したマシニングセンタに本発明を適用してもよい。例えば、主軸ヘッドが上昇することで主軸に装着した工具を工具マガジンに装着し、その後、工具マガジンを所定の位置に回転位置決めした後、主軸ヘッドが下降することで、主軸に工具マガジンが把持した工具を装着する工具交換方式であってもよい。   In the present embodiment, the machining center using the tool changing arm 15 has been described as an example of the tool changing method. However, the present invention is not limited to this, and the present invention is applied to a machining center employing another tool changing method. May be. For example, the tool mounted on the spindle is mounted on the tool magazine by raising the spindle head, and then the tool magazine is rotated and positioned at a predetermined position, and then the spindle head is lowered so that the tool magazine is gripped by the spindle. It may be a tool change system in which a tool is mounted.

4 コラム
5 主軸ヘッド(移動手段)
5A 主軸
6 工具
7 工具交換機構
8 テーブル
9 制御ボックス
14 工具マガジン
15 工具交換アーム
20 制御部
21 CPU(取得手段、処理手段、判定手段)
22 ROM
23 RAM
24 EEPROM(記憶部)
33 Z軸センサ
34 主軸センサ
41 主軸モータ
42 X軸モータ
43 Y軸モータ
44 Z軸モータ(移動手段)
45 工具交換モータ
4 Column 5 Spindle head (moving means)
5A Spindle 6 Tool 7 Tool change mechanism 8 Table 9 Control box 14 Tool magazine 15 Tool change arm 20 Control unit 21 CPU (Acquisition means, processing means, determination means)
22 ROM
23 RAM
24 EEPROM (storage unit)
33 Z-axis sensor 34 Spindle sensor 41 Spindle motor 42 X-axis motor 43 Y-axis motor 44 Z-axis motor (moving means)
45 Tool change motor

Claims (5)

工具が装着されて回転する主軸と、該主軸をワークに対して近接/離隔させる移動手段と、工作に係る命令が時系列的に並べられた命令列を記憶する記憶部と、該記憶部に記憶された命令列から時系列的に命令を取得する取得手段と、該取得手段が取得した命令に係る処理を実行する処理手段とを備え、命令列に含まれる命令に係る処理を時系列的に実行することによって、ワークに対する加工を行う工作機械において、
前記取得手段が回転速度を指定した前記主軸の回転命令を取得した場合、前記処理手段は前記主軸の回転を開始し、前記取得手段は前記回転命令に続く命令の取得を継続し、
前記取得手段が前記主軸をワークに対して近接させる移動命令を取得した場合、前記主軸の回転速度が前記回転命令にて指定された回転速度に達したか否かを判定する判定手段を備え、
前記処理手段は、前記回転命令にて指定された回転速度に達したと前記判定手段が判定した後に、前記移動命令に係る前記主軸の移動を行うようにしてあること
を特徴とする工作機械。
A spindle that rotates with a tool mounted thereon, a moving means that moves the spindle closer to or away from the workpiece, a storage unit that stores a command sequence in which commands related to work are arranged in time series, and the storage unit An acquisition means for acquiring instructions in a time series from a stored instruction sequence; and a processing means for executing a process related to the instructions acquired by the acquisition means. In machine tools that perform machining on workpieces,
When the acquisition means acquires the rotation command of the spindle that specifies the rotation speed, the processing means starts rotation of the spindle, and the acquisition means continues to acquire the command following the rotation command,
When the acquisition means acquires a movement command for bringing the spindle closer to the workpiece, the determination means comprises a determination means for determining whether or not the rotation speed of the spindle has reached the rotation speed specified by the rotation command,
The machine tool according to claim 1, wherein the processing means moves the spindle according to the movement command after the determination means determines that the rotation speed specified by the rotation command has been reached.
前記判定手段は、前記主軸の回転速度が前記回転命令にて指定された回転速度に所定割合を乗じた回転数に達した場合に、前記回転命令にて指定された回転速度に達したと判定するようにしてあること
を特徴とする請求項1に記載の工作機械。
The determination means determines that the rotation speed specified by the rotation command has been reached when the rotation speed of the spindle reaches a rotation speed obtained by multiplying the rotation speed specified by the rotation command by a predetermined ratio. The machine tool according to claim 1, wherein the machine tool is configured as described above.
前記命令列には、前記所定割合を指定する割合指定命令を含むことができ、
前記判定手段は、前記割合指定命令にて指定された所定割合に基づいて、回転数の判定を行うようにしてあること
を特徴とする請求項2に記載の工作機械。
The instruction sequence can include a ratio specifying instruction for specifying the predetermined ratio,
The machine tool according to claim 2, wherein the determination unit is configured to determine the rotational speed based on a predetermined ratio designated by the ratio designation command.
前記主軸をワークに対して近接させる移動命令は、切削移動命令であること
を特徴とする請求項1乃至請求項3のいずれか1つに記載の工作機械。
The machine tool according to any one of claims 1 to 3, wherein the movement command for causing the spindle to approach the workpiece is a cutting movement command.
工具が装着されて回転する主軸及び該主軸をワークに対して近接/離隔させる移動手段を有する工作機械に対して、工作に係る命令が時系列的に並べられた命令列から時系列的に命令を取得し、取得した命令に係る処理を実行することによって、ワークに対する加工を行う工作方法において、
回転速度を指定した前記主軸の回転命令を取得した場合、前記主軸の回転を開始すると共に、前記回転命令に続く命令の取得を継続して行い、
前記主軸をワークに対して近接させる移動命令を取得した場合、前記主軸の回転速度が前記回転命令にて指定された回転速度に達したか否かを判定し、
前記回転命令にて指定された回転速度に達したと判定した後に、前記移動命令に係る前記主軸の移動を行うこと
を特徴とする工作方法。
For a machine tool having a spindle that rotates with a tool mounted thereon and a moving means that moves the spindle close to / separated from the workpiece, commands related to the work are ordered in a time series. In a machining method for machining a workpiece by executing a process related to the obtained command,
When acquiring the rotation command of the spindle that specifies the rotation speed, start the rotation of the spindle and continuously acquire the command following the rotation command,
When obtaining a movement command to bring the spindle closer to the workpiece, it is determined whether or not the rotation speed of the spindle has reached the rotation speed specified by the rotation command;
After determining that the rotation speed specified by the rotation command has been reached, the working method moves the spindle according to the movement command.
JP2011189941A 2011-08-31 2011-08-31 Machine tool and method Active JP5834636B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2011189941A JP5834636B2 (en) 2011-08-31 2011-08-31 Machine tool and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2011189941A JP5834636B2 (en) 2011-08-31 2011-08-31 Machine tool and method

Publications (2)

Publication Number Publication Date
JP2013050934A true JP2013050934A (en) 2013-03-14
JP5834636B2 JP5834636B2 (en) 2015-12-24

Family

ID=48012903

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2011189941A Active JP5834636B2 (en) 2011-08-31 2011-08-31 Machine tool and method

Country Status (1)

Country Link
JP (1) JP5834636B2 (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS56129912A (en) * 1980-03-14 1981-10-12 Toyoda Mach Works Ltd Numerical controller
JPS63143607A (en) * 1986-12-08 1988-06-15 Matsushita Electric Ind Co Ltd Numerical controller
JPH05341825A (en) * 1992-06-12 1993-12-24 Fanuc Ltd Cnc machining control system
JP2002182718A (en) * 2000-12-13 2002-06-26 Star Micronics Co Ltd Numerical controller for machine tool
JP2004334914A (en) * 2004-08-23 2004-11-25 Mitsubishi Electric Corp Numerical controller
JP2007249923A (en) * 2006-03-20 2007-09-27 Ngk Insulators Ltd Nc machining facility and workpiece machining method using the same
JP2011039701A (en) * 2009-08-07 2011-02-24 Mitsubishi Electric Corp Numerical control device, method and program

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS56129912A (en) * 1980-03-14 1981-10-12 Toyoda Mach Works Ltd Numerical controller
JPS63143607A (en) * 1986-12-08 1988-06-15 Matsushita Electric Ind Co Ltd Numerical controller
JPH05341825A (en) * 1992-06-12 1993-12-24 Fanuc Ltd Cnc machining control system
JP2002182718A (en) * 2000-12-13 2002-06-26 Star Micronics Co Ltd Numerical controller for machine tool
JP2004334914A (en) * 2004-08-23 2004-11-25 Mitsubishi Electric Corp Numerical controller
JP2007249923A (en) * 2006-03-20 2007-09-27 Ngk Insulators Ltd Nc machining facility and workpiece machining method using the same
JP2011039701A (en) * 2009-08-07 2011-02-24 Mitsubishi Electric Corp Numerical control device, method and program

Also Published As

Publication number Publication date
JP5834636B2 (en) 2015-12-24

Similar Documents

Publication Publication Date Title
JP5556656B2 (en) Numerical control machine tool, control program, and storage medium
JP6299527B2 (en) Numerical control device and control method
JP2008097192A (en) Controller for machine tool
JP2010092405A (en) Numerically-controlled machine tool
JP2018034232A (en) Fluid injection device
JPWO2014068667A1 (en) Machining program creation method and apparatus
JP5901777B2 (en) Electric discharge machining method and electrode guide position setting device
JP2019107747A (en) Processing device and method for storage of brush-shaped tool in processing device
JP5136853B2 (en) Numerically controlled machine tool and control program for numerically controlled machine tool
JP2005088162A (en) Machining center
JP5834636B2 (en) Machine tool and method
JP2013071203A (en) Numerical control device and control method
JP5998575B2 (en) Machine tool and method
JP2017177323A (en) Machine tool and control method
JP2009237929A (en) Numerical controller, control program for numerical controller, and recording medium for numerical controller
JP5870796B2 (en) Machine Tools
JP7188346B2 (en) Control device, control method and control program
JP2009193209A (en) Numerical control device and control program for numerical control device
JP4330413B2 (en) Automatic tool changer
US20210114152A1 (en) Machine tool
JP2010234449A (en) Tool changer
JPH05305540A (en) Tool exchange method for working device
JP6379491B2 (en) Machine Tools
JP5110021B2 (en) Numerical control device for machine tools
JP2019181606A (en) Machine tool

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20140603

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20150312

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20150421

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20150612

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20151019

R150 Certificate of patent or registration of utility model

Ref document number: 5834636

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150