JP6237226B2 - Numerical controller - Google Patents

Numerical controller Download PDF

Info

Publication number
JP6237226B2
JP6237226B2 JP2013271572A JP2013271572A JP6237226B2 JP 6237226 B2 JP6237226 B2 JP 6237226B2 JP 2013271572 A JP2013271572 A JP 2013271572A JP 2013271572 A JP2013271572 A JP 2013271572A JP 6237226 B2 JP6237226 B2 JP 6237226B2
Authority
JP
Japan
Prior art keywords
machining
workpiece
cutting fluid
tool
power amount
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
JP2013271572A
Other languages
Japanese (ja)
Other versions
JP2015123567A (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 JP2013271572A priority Critical patent/JP6237226B2/en
Priority to CN201410499334.8A priority patent/CN104750026B/en
Publication of JP2015123567A publication Critical patent/JP2015123567A/en
Application granted granted Critical
Publication of JP6237226B2 publication Critical patent/JP6237226B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/18Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of programme data in numerical form
    • G05B19/406Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of programme data in numerical form characterised by monitoring or safety
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/18Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of programme data in numerical form
    • G05B19/4155Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of programme data in numerical form characterised by programme execution, i.e. part programme or machine function execution, e.g. selection of a programme
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/30Nc systems
    • G05B2219/37Measurements
    • G05B2219/37586Detect, discriminate cutting or non cutting machining state
    • 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
    • Y02P80/00Climate change mitigation technologies for sector-wide applications
    • Y02P80/10Efficient use of energy, e.g. using compressed air or pressurized fluid as energy carrier

Landscapes

  • Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Manufacturing & Machinery (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Automation & Control Theory (AREA)
  • Auxiliary Devices For Machine Tools (AREA)
  • Machine Tool Sensing Apparatuses (AREA)
  • Numerical Control (AREA)

Description

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

工作機械はカバーを備える。カバーは工作機械の加工領域を少なくとも覆い、内側に複数のチップシャワーを取り付けている。チップシャワーは切削液を噴出しカバー内に付着して堆積する切粉を洗い流す。特許文献1は、切削液ノズルに切削液を供給する為の配管を無駄のない長さで配策できる工作機械を開示する。チップシャワーを用いたカバー内の洗浄方法は、例えば、加工プログラムにて、プログラム先頭で切削液の噴出を開始し、プログラム終了時に噴出を停止するのが一般的である。   The machine tool includes a cover. The cover covers at least the machining area of the machine tool, and a plurality of chip showers are attached inside. The tip shower ejects cutting fluid and adheres to the cover to wash away the accumulated chips. Patent Document 1 discloses a machine tool capable of arranging a pipe for supplying a cutting fluid to a cutting fluid nozzle with a useless length. As a method for cleaning the inside of the cover using a tip shower, for example, in a machining program, it is common to start the ejection of cutting fluid at the head of the program and stop the ejection at the end of the program.

特開2007−30135号公報JP 2007-30135 A

上記洗浄方法は、切削液の噴出を一度開始すると、常に切削液を流すので、特に切粉の少ない加工では切削液を無駄に流してしまい、切削液と電力を浪費するという問題点があった。   In the above cleaning method, the cutting fluid is always flowed once the ejection of the cutting fluid is started. Therefore, the cutting fluid is unnecessarily flowed particularly in processing with a small amount of chips, and there is a problem that the cutting fluid and power are wasted. .

本発明の目的は、切粉の発生量に応じて切削液を噴出できる数値制御装置を提供することにある。   The objective of this invention is providing the numerical control apparatus which can eject a cutting fluid according to the generation amount of a chip.

本発明の請求項1に係る数値制御装置は、加工領域を覆うカバーと、主軸に工具を装着した状態で回転し、前記工具をワークに接触させてワーク加工を行う際に、前記ワーク加工により発生して前記カバー内に堆積した切粉に対して切削液を噴出して洗い流す噴出機構とを備えた工作機械を制御する数値制御装置において、前記主軸を回転するモータと、前記工具がワークに非接触の状態で前記主軸が回転する時の前記モータの消費電力量である非加工時電力量を取得する第一取得手段と、前記第一取得手段が取得した前記非加工時電力量を第一記憶部に記憶する第一記憶手段と、前記工具が前記ワークに接触した状態で前記主軸が回転し、前記ワーク加工を行う時の前記モータの消費電力量である加工時電力量を、一定時間毎に取得する第二取得手段と、前記一定時間毎に、前記第二取得手段が取得した前記加工時電力量と、前記第一記憶部に記憶した前記非加工時電力量との差分を算出する算出手段と、前記算出手段が前記一定時間毎に算出した前記差分を積算して積算値として第二記憶部に記憶する第二記憶手段と、前記第二記憶部に記憶した前記積算値が所定値を超えたか否か判断する判断手段と、前記積算値が前記所定値を超えたと前記判断手段が判断した場合、所定時間の間、前記切削液を噴出するように前記噴出機構を制御する噴出制御手段と、前記噴出制御手段が、前記所定時間の間、前記切削液を噴出するように前記噴出機構を制御した場合、前記第二記憶部に記憶する前記積算値を初期化する第一初期化手段とを備えたことを特徴とする。数値制御装置は、ワークの切削体積の推定を、ワーク加工中に主軸を回転するモータが消費する電力を元に行う。故に推定精度は向上する。数値制御装置は、工具がワークに接触した状態でワーク加工を行う時の消費電力量と、工具がワークに非接触の状態における消費電力との差分を一定時間毎に積算する。積算値は、ワーク加工に伴って発生する切粉量と対応する。故に数値制御装置は、積算値に基づいて切粉量を推定することで、カバー内に切粉が蓄積する時機に応じてタイミング良く切削液を噴出できる。切削液を所定時間流した後は積算値を初期化するので、次回以降のワーク加工においても同様に噴出機構を制御できる。   The numerical control device according to claim 1 of the present invention rotates with the cover covering the machining area and the tool mounted on the spindle, and when machining the workpiece by bringing the tool into contact with the workpiece, In a numerical controller for controlling a machine tool provided with a jetting mechanism for jetting and flushing cutting fluid to the generated chips accumulated in the cover, the motor for rotating the spindle and the tool are applied to the workpiece First acquisition means for acquiring a non-machining power amount, which is a power consumption amount of the motor when the main shaft rotates in a non-contact state, and the non-machining power amount acquired by the first acquisition means A first storage means for storing in one storage unit and a machining power amount that is a power consumption amount of the motor when the spindle rotates and the workpiece is processed while the tool is in contact with the workpiece is constant. The first to get every hour An obtaining means; and a calculating means for calculating a difference between the machining power amount acquired by the second obtaining means and the non-machining power amount stored in the first storage unit for each predetermined time; and A second storage means for integrating the difference calculated by the calculation means at every predetermined time and storing the result as an integrated value in the second storage unit; and whether the integrated value stored in the second storage unit exceeds a predetermined value Determining means for determining whether or not the integrated value exceeds the predetermined value, the ejection control means for controlling the ejection mechanism to eject the cutting fluid for a predetermined time, and And a first initialization unit that initializes the integrated value stored in the second storage unit when the ejection control unit controls the ejection mechanism to eject the cutting fluid for the predetermined time. It is characterized by that. The numerical control device estimates the cutting volume of the workpiece based on the power consumed by the motor that rotates the spindle during workpiece machining. Therefore, the estimation accuracy is improved. The numerical control device integrates the difference between the power consumption when the workpiece is processed with the tool in contact with the workpiece and the power consumption when the tool is not in contact with the workpiece at regular intervals. The integrated value corresponds to the amount of chips generated as the workpiece is processed. Therefore, the numerical control device can estimate the amount of chips based on the integrated value, and can eject the cutting fluid with good timing according to the timing when the chips accumulate in the cover. Since the integrated value is initialized after the cutting fluid has flowed for a predetermined time, the ejection mechanism can be similarly controlled in the subsequent workpiece machining.

請求項2に係る発明の数値制御装置は、請求項1に記載の発明の構成に加え、前記ワーク加工の工程と同一工程で、前記ワークが無い状態で前記主軸を回転する空運転を実行する空運転実行手段を備え、前記第一取得手段は、前記空運転実行手段が実行する前記空運転中に、前記一定時間毎に、前記非加工時電力量を取得し、前記第一記憶手段は、前記第一取得手段が前記一定時間毎に取得した前記非加工時電力量を前記第一記憶部に記憶し、前記算出手段は、前記一定時間毎に、前記第二取得手段が取得した前記加工時電力量と、前記第一記憶部に記憶した前記非加工時電力量の中で、前記第二取得手段と同一時機で取得した前記非加工時電力量との差分を算出することを特徴とする。数値制御装置は、空運転を実行することで、工具がワークに接触したときに使用するモータの消費電力以外の消費電力を求めることができる。故に数値制御装置は、ワーク加工時のモータの消費電力から、空運転時の消費電力を差し引くことで、工具がワークに接触したときに使用するモータの消費電力を求めることができる。   A numerical control device according to a second aspect of the invention, in addition to the configuration of the invention according to the first aspect, performs the idling operation of rotating the spindle in the same process as the work machining process without the work. The first acquisition unit is configured to acquire the non-machining power amount at the predetermined time during the idle operation executed by the idle operation execution unit, and the first storage unit , Storing the non-machining power amount acquired by the first acquisition unit at the predetermined time in the first storage unit, and the calculation unit acquired by the second acquisition unit at the predetermined time period. A difference between the machining power amount and the non-working power amount acquired at the same timing as the second acquisition means in the non-working power amount stored in the first storage unit is calculated. And The numerical control device can obtain power consumption other than the power consumption of the motor used when the tool comes into contact with the workpiece by executing the idle operation. Therefore, the numerical control device can determine the power consumption of the motor used when the tool contacts the workpiece by subtracting the power consumption during idle operation from the power consumption of the motor during workpiece machining.

工作機械1の後方から見た斜視図。The perspective view seen from the back of the machine tool 1. FIG. 工作機械1の正面図。1 is a front view of a machine tool 1. 工作機械1の平面図。The top view of the machine tool 1. FIG. 図3に示すI−I線矢視方向断面図。FIG. 4 is a cross-sectional view taken along the line I-I in FIG. 3. 主軸7に装着する工具TがワークWを加工する状態を示す図。The figure which shows the state in which the tool T with which the main axis | shaft 7 mounts process the workpiece | work W. FIG. 数値制御装置30と工作機械1の電気的構成を示すブロック図。FIG. 3 is a block diagram showing an electrical configuration of the numerical control device 30 and the machine tool 1. RAM33の各種記憶領域を示す概念図。The conceptual diagram which shows the various storage area of RAM33. 実加工時にモータ制御部52Aから取得した消費電力の変化を示すグラフ。The graph which shows the change of the power consumption acquired from the motor control part 52A at the time of an actual process. 空運転時にモータ制御部52Aから取得した消費電力の変化を示すグラフ。The graph which shows the change of the power consumption acquired from the motor control part 52A at the time of idle driving | running | working. モータ制御部52A〜55Aの電気的接続を示す配線図。The wiring diagram which shows the electrical connection of motor control parts 52A-55A. メイン処理の流れ図。The flowchart of the main process. 空運転処理の流れ図。Flow chart of idling process. 実加工処理の流れ図。Flow chart of actual processing. 噴出処理の流れ図。The flowchart of an ejection process.

本発明の一実施形態を図面を参照して説明する。以下説明は、図2の紙面手前方向、紙面奥行き方向、左方、右方、上方、下方を、工作機械1の前方、後方、左方、右方、上方、下方とする。工作機械1の左右方向、前後方向、上下方向は、夫々、工作機械1のX軸方向、Y軸方向、Z軸方向である。   An embodiment of the present invention will be described with reference to the drawings. In the following description, the front side, the depth direction, the left side, the right side, the upper side, and the lower side in FIG. 2 are defined as the front, rear, left, right, upper, and lower sides of the machine tool 1. The left-right direction, the front-rear direction, and the up-down direction of the machine tool 1 are the X-axis direction, the Y-axis direction, and the Z-axis direction of the machine tool 1, respectively.

図1〜図4を参照し、工作機械1の構造の概略を説明する。工作機械1は、基台2、機械本体3、カバー4、テーブル8(図3参照)、工具交換装置13(図4参照)、制御箱15等を備える。基台2は略直方体状の鉄製土台である。機械本体3は基台2上部後方に設け、テーブル8上面に保持したワーク(図示略)を切削加工する。切削加工の種類は、例えばドリル、タップ、フライス加工等である。カバー4は基台2上部に設け、機械本体3周囲と基台2上部を覆う略直方体の箱状である。カバー4は切粉と切削液の飛沫等が外部に飛散するのを防止する。図4に示す如く、テーブル8は基台2上部中央に設け、X軸モータ53(図6参照)、Y軸モータ54(図6参照)、X軸ガイド機構及びY軸ガイド機構(図示略)等により、X軸方向とY軸方向に移動可能である。各ガイド機構はリニアガイド、ボール螺子、ナット(図示略)等を備える。テーブル8は上面にワーク(図示略)を治具等で固定可能である。   The outline of the structure of the machine tool 1 will be described with reference to FIGS. The machine tool 1 includes a base 2, a machine body 3, a cover 4, a table 8 (see FIG. 3), a tool changer 13 (see FIG. 4), a control box 15 and the like. The base 2 is a substantially rectangular parallelepiped iron base. The machine body 3 is provided at the upper rear of the base 2 and cuts a workpiece (not shown) held on the upper surface of the table 8. The kind of cutting process is a drill, a tap, a milling process etc., for example. The cover 4 is provided in the upper part of the base 2 and has a substantially rectangular parallelepiped box shape covering the periphery of the machine body 3 and the upper part of the base 2. The cover 4 prevents chips and sprays of cutting fluid from being scattered outside. As shown in FIG. 4, the table 8 is provided in the upper center of the base 2, and an X-axis motor 53 (see FIG. 6), a Y-axis motor 54 (see FIG. 6), an X-axis guide mechanism, and a Y-axis guide mechanism (not shown). For example, it is possible to move in the X-axis direction and the Y-axis direction. Each guide mechanism includes a linear guide, a ball screw, a nut (not shown), and the like. The table 8 can fix a work (not shown) on the upper surface with a jig or the like.

図4に示す如く、工具交換装置13は工具マガジン14を備える。円盤状の工具マガジン14は外周に複数のグリップアーム14Aを備える。グリップアーム14Aは先端部に工具を把持し、機械本体3の後述する主軸7(図9参照)との間を揺動可能である。工具交換装置13は工具交換位置にあるグリップアーム14Aを揺動させ、主軸7に装着する工具の着脱を行う。工具交換位置は工具マガジン14の最下部の位置で且つ主軸7に最も近接する位置である。図1に示す如く、制御箱15はカバー4背面側に設け、数値制御装置30(図6参照)を内側に格納する。数値制御装置30は工作機械1の動作を制御する。   As shown in FIG. 4, the tool changer 13 includes a tool magazine 14. The disk-shaped tool magazine 14 includes a plurality of grip arms 14A on the outer periphery. The grip arm 14 </ b> A grips a tool at the tip, and can swing between a later-described main shaft 7 (see FIG. 9) of the machine body 3. The tool changer 13 swings the grip arm 14A at the tool change position, and attaches / detaches the tool attached to the main shaft 7. The tool change position is the lowest position of the tool magazine 14 and the position closest to the main shaft 7. As shown in FIG. 1, the control box 15 is provided on the back side of the cover 4 and stores the numerical control device 30 (see FIG. 6) inside. The numerical control device 30 controls the operation of the machine tool 1.

図1〜図4を参照し、機械本体3の構成を説明する。機械本体3は、コラム5、主軸ヘッド6、主軸7(図5参照)等を備える。コラム5は基台2上部後方に立設する。主軸ヘッド6はZ軸移動機構でコラム5前面に沿ってZ軸方向に昇降可能である。Z軸移動機構は、リニアガイド、ボール螺子、ナット(図示略)等を備える。図5に示す如く、主軸ヘッド6は内部に主軸7を回転可能に支持する。主軸7は下端部に工具Tを装着し、主軸モータ52(図3,図6参照)の駆動により回転する。工作機械1はテーブル8上面に保持したワークW(図5参照)と主軸7に装着した工具Tとの相対移動によって、ワークWに切削加工を施すことができる。   The configuration of the machine body 3 will be described with reference to FIGS. The machine body 3 includes a column 5, a spindle head 6, a spindle 7 (see FIG. 5), and the like. The column 5 is erected on the upper rear side of the base 2. The spindle head 6 can be moved up and down in the Z-axis direction along the front surface of the column 5 by a Z-axis moving mechanism. The Z-axis moving mechanism includes a linear guide, a ball screw, a nut (not shown), and the like. As shown in FIG. 5, the spindle head 6 supports a spindle 7 in a rotatable manner. The spindle 7 is equipped with a tool T at its lower end, and rotates by driving a spindle motor 52 (see FIGS. 3 and 6). The machine tool 1 can cut the workpiece W by relative movement between the workpiece W (see FIG. 5) held on the upper surface of the table 8 and the tool T mounted on the spindle 7.

図1〜図4を参照し、カバー4の構造を説明する。カバー4は前壁41、左壁42、右壁43、左背壁44(図3,図4参照)、右背壁45(図3,図4参照)を備え、略直方体の箱状に形成する。各壁41〜45の下端部は基台2上部に固定する。図3,図4に示す如く、左背壁44と右背壁45はカバー4の背壁を構成する。左背壁44はコラム5左側面前端部に固定し左側方に延出する。右背壁45はコラム5右側面前端部に固定し右側方に延出する。カバー4は工作機械1の加工領域を覆う。加工領域とは、工作機械1がワーク加工の為に必要とする領域であり、少なくとも主軸ヘッド6及び主軸7のZ軸方向における可動範囲、及びテーブル8のXY方向における可動範囲を包含する領域である。カバー4は切削液噴出機構(本発明の噴出機構に相当)を備える。切削液噴出機構はカバー4内にて切削液を噴出する。故に工作機械1はワーク加工で発生しカバー4内に付着して堆積する切粉を洗い流すことができる。尚、切削液噴出機構の構造は後述する。   The structure of the cover 4 will be described with reference to FIGS. The cover 4 includes a front wall 41, a left wall 42, a right wall 43, a left back wall 44 (see FIGS. 3 and 4), and a right back wall 45 (see FIGS. 3 and 4) and is formed in a substantially rectangular parallelepiped box shape. To do. The lower ends of the walls 41 to 45 are fixed to the upper part of the base 2. As shown in FIGS. 3 and 4, the left back wall 44 and the right back wall 45 constitute the back wall of the cover 4. The left back wall 44 is fixed to the front end of the left side surface of the column 5 and extends to the left side. The right back wall 45 is fixed to the front end of the right side surface of the column 5 and extends rightward. The cover 4 covers the machining area of the machine tool 1. The machining area is an area that the machine tool 1 needs for workpiece machining, and includes at least a movable range in the Z-axis direction of the spindle head 6 and the spindle 7 and a movable range in the XY direction of the table 8. is there. The cover 4 includes a cutting fluid ejection mechanism (corresponding to the ejection mechanism of the present invention). The cutting fluid ejection mechanism ejects the cutting fluid within the cover 4. Therefore, the machine tool 1 can wash away the chips generated by the workpiece machining and deposited and deposited in the cover 4. The structure of the cutting fluid ejection mechanism will be described later.

図2に示す如く、前壁41は、開口部46、開閉扉47、操作盤10を備える。開口部46は前壁41略中央に設け正面視矩形状である。開閉扉47は開口部46において左右方向にスライド可能に設ける。例えば作業者は開閉扉47を開き、テーブル8上面においてワークの着脱が可能である。操作盤10は開口部46の右側に設ける。操作盤10はハーネス(図示略)で数値制御装置30(図6参照)に接続する。操作盤10は入力部11と表示部12を備える。入力部11は、工作機械1の各種動作指示、加工プログラム、工具種類、工具径、各種パラメータ等を入力可能とする機器である。加工プログラムは各種制御指令を含む複数のブロックで構成し、工作機械1の軸移動、工具交換等を含む各種動作をブロック単位で制御するものである。表示部12は数値制御装置30の指示を受け、各種入力画面又は操作画面等を表示可能である。   As shown in FIG. 2, the front wall 41 includes an opening 46, an opening / closing door 47, and an operation panel 10. The opening 46 is provided substantially at the center of the front wall 41 and has a rectangular shape in front view. The opening / closing door 47 is provided to be slidable in the left-right direction at the opening 46. For example, the operator can open and close the door 47 and attach / detach the workpiece on the upper surface of the table 8. The operation panel 10 is provided on the right side of the opening 46. The operation panel 10 is connected to the numerical control device 30 (see FIG. 6) with a harness (not shown). The operation panel 10 includes an input unit 11 and a display unit 12. The input unit 11 is a device that can input various operation instructions, machining programs, tool types, tool diameters, various parameters, and the like of the machine tool 1. The machining program is composed of a plurality of blocks including various control commands, and controls various operations including axis movement of the machine tool 1, tool change, and the like in units of blocks. The display unit 12 can display various input screens or operation screens in response to an instruction from the numerical control device 30.

図1,図3,図4を参照し、切削液噴出機構の構造を説明する。切削液噴出機構は噴出部と供給部で構成する。噴出部はカバー4内側に設け、カバー4内にて切削液を噴出する。供給部はカバー4外側に設け、噴出部に対して切削液を供給する。   The structure of the cutting fluid ejection mechanism will be described with reference to FIGS. The cutting fluid ejection mechanism is composed of an ejection part and a supply part. The ejection part is provided inside the cover 4, and the cutting fluid is ejected in the cover 4. A supply part is provided in the cover 4 outer side, and supplies cutting fluid with respect to an ejection part.

図4を参照し、噴出部の構成を説明する。噴出部は、一対のフレキシブルパイプ71,72、一対の切削液ノズル74,75、一対の切削液配管81,82、複数のチップシャワー83,84等で構成する。フレキシブルパイプ71は左背壁44に設けた貫通穴94からテーブル8上面に向けて延出する。貫通穴94は左背壁44の右端側の上下方向略中段位置に設ける。切削液ノズル74はフレキシブルパイプ71先端に設ける。フレキシブルパイプ72は右背壁45に設けた貫通穴92からテーブル8上面に向けて延出する。貫通穴92は右背壁45の左端側の上下方向略中段位置に設ける。切削液ノズル75はフレキシブルパイプ72先端に設ける。切削液ノズル74,75はフレキシブルパイプ71,72を屈曲させてテーブル8上面に向ける。   With reference to FIG. 4, the structure of the ejection part will be described. The ejection part is composed of a pair of flexible pipes 71 and 72, a pair of cutting fluid nozzles 74 and 75, a pair of cutting fluid pipes 81 and 82, a plurality of tip showers 83 and 84, and the like. The flexible pipe 71 extends from a through hole 94 provided in the left back wall 44 toward the upper surface of the table 8. The through hole 94 is provided at a substantially middle position in the vertical direction on the right end side of the left back wall 44. The cutting fluid nozzle 74 is provided at the tip of the flexible pipe 71. The flexible pipe 72 extends from a through hole 92 provided in the right back wall 45 toward the upper surface of the table 8. The through hole 92 is provided at a substantially middle position in the vertical direction on the left end side of the right back wall 45. The cutting fluid nozzle 75 is provided at the tip of the flexible pipe 72. The cutting fluid nozzles 74 and 75 bend the flexible pipes 71 and 72 to face the upper surface of the table 8.

切削液配管81は、左背壁44の左端側上部に設けた貫通穴93(図3参照)から前方且つ水平に延出する。切削液配管82は右背壁45の右端側上部に設けた貫通穴91(図3参照)から前方且つ水平に延出する。切削液配管81は下部において所定間隔毎に複数の穴(図示略)を備える。チップシャワー83は切削液配管81下部に設けた複数の穴に夫々取り付ける。切削液配管82も下部において所定間隔毎に複数の穴(図示略)を備える。チップシャワー84は切削液配管82下部に設けた複数の穴に夫々取り付ける。チップシャワー83,84は切削液の噴出方向を下方に向ける。   The cutting fluid pipe 81 extends forward and horizontally from a through hole 93 (see FIG. 3) provided in the upper left side of the left back wall 44. The cutting fluid piping 82 extends forward and horizontally from a through hole 91 (see FIG. 3) provided in the upper right side of the right back wall 45. The cutting fluid pipe 81 is provided with a plurality of holes (not shown) at predetermined intervals in the lower part. The tip shower 83 is attached to each of a plurality of holes provided below the cutting fluid pipe 81. The cutting fluid pipe 82 is also provided with a plurality of holes (not shown) at predetermined intervals in the lower part. The tip shower 84 is attached to each of a plurality of holes provided below the cutting fluid pipe 82. The tip showers 83 and 84 direct the ejection direction of the cutting fluid downward.

図1,図3を参照し、供給部の構成を説明する。図1に示す如く、供給部は、タンク20、ポンプ22,23、主ホース25,26、分岐ホース27,28、T字継手61,62、継手63,64(図3参照)等で構成する。タンク20は基台2後方に設置し切削液を貯留する。ポンプ22,23はタンク20右側に隣接して設ける。主ホース25はポンプ22に接続する。主ホース26はポンプ23に接続する。ポンプ22はタンク20内の切削液を汲み上げ主ホース25に供給する。ポンプ23はタンク20内の切削液を汲み上げ主ホース26に供給する。   The configuration of the supply unit will be described with reference to FIGS. As shown in FIG. 1, the supply unit includes a tank 20, pumps 22 and 23, main hoses 25 and 26, branch hoses 27 and 28, T-shaped joints 61 and 62, joints 63 and 64 (see FIG. 3), and the like. . The tank 20 is installed behind the base 2 and stores cutting fluid. The pumps 22 and 23 are provided adjacent to the right side of the tank 20. The main hose 25 is connected to the pump 22. The main hose 26 is connected to the pump 23. The pump 22 pumps up the cutting fluid in the tank 20 and supplies it to the main hose 25. The pump 23 pumps up the cutting fluid in the tank 20 and supplies it to the main hose 26.

T字継手61は、右背壁45右端側上部に設けた貫通穴91に対しカバー4外側から接続する。T字継手62は、右背壁45の左端側上下方向中段位置に設けた貫通穴92に対しカバー4外側から接続する。図3に示す如く、継手63は、左背壁44左端側上部に設けた貫通穴93に対しカバー4外側から接続する。継手64は、左背壁44右端側上下方向中段位置に設けた貫通穴94(図4参照)に対しカバー4外側から接続する。   The T-shaped joint 61 is connected from the outside of the cover 4 to a through hole 91 provided at the upper right side of the right back wall 45. The T-shaped joint 62 is connected from the outside of the cover 4 to a through hole 92 provided at the middle position on the left end side in the vertical direction of the right back wall 45. As shown in FIG. 3, the joint 63 is connected from the outside of the cover 4 to a through hole 93 provided in the upper left end of the left back wall 44. The joint 64 is connected from the outside of the cover 4 to a through hole 94 (see FIG. 4) provided at the middle position of the left back wall 44 on the right end side in the vertical direction.

T字継手61には主ホース25と分岐ホース27が夫々接続する。分岐ホース27はコラム5上部背面側に設けた切欠部5A(図1参照)の背面側を介してコラム5左側に延出し、左背壁44に設けた継手63に接続する(図3参照)。切欠部5Aはコラム5上部背面側を斜めに切り欠いた部分である。T字継手62には主ホース26と分岐ホース28が夫々接続する。分岐ホース28はコラム5に設けた穴5B(図1参照)を挿通してコラム5左側に延出し、左背壁44に設けた継手64に接続する(図3参照)。穴5Bはコラム5上下方向中段位置に設け左右方向に貫通する。   The main hose 25 and the branch hose 27 are connected to the T-shaped joint 61, respectively. The branch hose 27 extends to the left side of the column 5 via the back side of the notch portion 5A (see FIG. 1) provided on the upper back side of the column 5 and is connected to a joint 63 provided on the left back wall 44 (see FIG. 3). . The cutout portion 5A is a portion where the upper back side of the column 5 is cut obliquely. The main hose 26 and the branch hose 28 are connected to the T-shaped joint 62, respectively. The branch hose 28 passes through a hole 5B (see FIG. 1) provided in the column 5 and extends to the left side of the column 5 and is connected to a joint 64 provided on the left back wall 44 (see FIG. 3). The hole 5B is provided at the middle position of the column 5 in the vertical direction and penetrates in the horizontal direction.

図1,図3,図4を参照し、切削液供給機構の動作を説明する。ポンプ23が駆動すると、切削液は主ホース26を流れる。切削液はT字継手62で分岐し、一方は貫通穴92を介してフレキシブルパイプ72に流れ、他方は分岐ホース28に流れる。フレキシブルパイプ72に流れた切削液は切削液ノズル75から勢いよく噴出する。分岐ホース28に流れた切削液は、コラム5を挟んで反対側の継手64から貫通穴94を介してフレキシブルパイプ71を流れ、切削液ノズル74から勢いよく噴出する。切削液ノズル74,75は、テーブル8上面に治具等で固定したワークの被加工部分(図示略)に対し、切削液を左右両側から直接当てることができる。切削液は被加工部分に付着する切粉を洗い落とすことができる。   The operation of the cutting fluid supply mechanism will be described with reference to FIGS. When the pump 23 is driven, the cutting fluid flows through the main hose 26. The cutting fluid branches at the T-shaped joint 62, and one flows to the flexible pipe 72 through the through hole 92, and the other flows to the branch hose 28. The cutting fluid that has flowed into the flexible pipe 72 is ejected vigorously from the cutting fluid nozzle 75. The cutting fluid that has flowed to the branch hose 28 flows through the flexible pipe 71 from the joint 64 on the opposite side across the column 5 through the through hole 94, and is ejected vigorously from the cutting fluid nozzle 74. The cutting fluid nozzles 74 and 75 can directly apply the cutting fluid from both the left and right sides to a workpiece portion (not shown) fixed to the upper surface of the table 8 with a jig or the like. The cutting fluid can wash away the chips adhering to the part to be processed.

ポンプ22が駆動すると、切削液は主ホース25を流れる。切削液はT字継手61で分岐し、一方は貫通穴91を介して切削液配管82を流れ、他方は分岐ホース27に流れる。切削液配管82に流れた切削液は複数のチップシャワー84から下方に勢いよく噴出する。分岐ホース27に流れた切削液は、コラム5を挟んで反対側の継手63から貫通穴93を介して切削液配管81を流れ、複数のチップシャワー83から下方に勢いよく噴出する。故に切削液はカバー4の内側に付着して堆積する切粉を洗い落とすことができる。   When the pump 22 is driven, the cutting fluid flows through the main hose 25. The cutting fluid branches at the T-shaped joint 61, one flows through the cutting fluid pipe 82 through the through hole 91, and the other flows to the branch hose 27. The cutting fluid that has flowed into the cutting fluid piping 82 is ejected vigorously downward from the plurality of tip showers 84. The cutting fluid that has flowed to the branch hose 27 flows from the joint 63 on the opposite side across the column 5 through the through-hole 93 to the cutting fluid pipe 81, and is ejected vigorously downward from the plurality of tip showers 83. Therefore, the cutting fluid can wash away the chips adhering to the inside of the cover 4 and accumulating.

図6を参照し、数値制御装置30と工作機械1の電気的構成を説明する。数値制御装置30は、CPU31、ROM32、RAM33、不揮発性記憶装置34、入出力部35、モータ制御部51A〜55A、駆動制御部56A,57A等を備える。CPU31は数値制御装置30を統括制御する。ROM32は制御プログラム等を記憶する。制御プログラムは後述する制御処理(図8参照)を実行する。RAM33は後述する各種記憶領域を備える(図6参照)。不揮発性記憶装置34は作業者が操作盤10の入力部11で入力して登録した複数の加工プログラム、後述する基準電力量を記憶する。   With reference to FIG. 6, the electrical configuration of the numerical control device 30 and the machine tool 1 will be described. The numerical control device 30 includes a CPU 31, a ROM 32, a RAM 33, a nonvolatile storage device 34, an input / output unit 35, motor control units 51A to 55A, drive control units 56A and 57A, and the like. The CPU 31 performs overall control of the numerical control device 30. The ROM 32 stores a control program and the like. The control program executes a control process (see FIG. 8) described later. The RAM 33 includes various storage areas described later (see FIG. 6). The non-volatile storage device 34 stores a plurality of machining programs input by the operator through the input unit 11 of the operation panel 10 and registered, and a reference power amount to be described later.

モータ制御部51AはZ軸モータ51とエンコーダ51Bに接続する。モータ制御部52Aは主軸モータ52とエンコーダ52Bに接続する。モータ制御部53AはX軸モータ53とエンコーダ53Bに接続する。モータ制御部54AはY軸モータ54とエンコーダ54Bに接続する。モータ制御部55Aはマガジンモータ55とエンコーダ55Bに接続する。駆動制御部56Aはポンプ22に接続する。駆動制御部57Aはポンプ23に接続する。モータ制御部51A〜55AはCPU31から指令を受け、対応する各モータ51〜55に駆動電流を夫々出力する。   The motor control unit 51A is connected to the Z-axis motor 51 and the encoder 51B. The motor control unit 52A is connected to the spindle motor 52 and the encoder 52B. The motor control unit 53A is connected to the X-axis motor 53 and the encoder 53B. The motor control unit 54A is connected to the Y-axis motor 54 and the encoder 54B. The motor control unit 55A is connected to the magazine motor 55 and the encoder 55B. The drive control unit 56 </ b> A is connected to the pump 22. The drive control unit 57A is connected to the pump 23. The motor control units 51A to 55A receive commands from the CPU 31 and output drive currents to the corresponding motors 51 to 55, respectively.

モータ制御部51A〜55Aはエンコーダ51B〜55Bからフィードバック信号を受け、位置と速度のフィードバック制御を行う。入出力部35は入力部11と表示部12に夫々接続する。駆動制御部56A,57AはCPU31から指令を受け、対応するポンプ22,23に駆動電流を夫々出力する。ポンプ22と23は駆動電流で夫々駆動する。Z軸モータ51、主軸モータ52、X軸モータ53、Y軸モータ54、及びマガジンモータ55は、何れもサーボモータである。尚、以下説明にて、Z軸モータ51、主軸モータ52、X軸モータ53、Y軸モータ54、及びマガジンモータ55を総称する場合は、各モータ51〜55と呼ぶ。   The motor controllers 51A to 55A receive feedback signals from the encoders 51B to 55B, and perform position and speed feedback control. The input / output unit 35 is connected to the input unit 11 and the display unit 12, respectively. The drive controllers 56A and 57A receive commands from the CPU 31 and output drive currents to the corresponding pumps 22 and 23, respectively. The pumps 22 and 23 are each driven by a drive current. The Z-axis motor 51, the main shaft motor 52, the X-axis motor 53, the Y-axis motor 54, and the magazine motor 55 are all servo motors. In the following description, the Z-axis motor 51, the main shaft motor 52, the X-axis motor 53, the Y-axis motor 54, and the magazine motor 55 are collectively referred to as motors 51 to 55.

図7を参照し、RAM33の各種記憶領域を説明する。RAM33は、空運転時電力記憶領域331、空運転時取得回数記憶領域332、実加工時取得回数記憶領域333、積算値記憶領域334等を有する。尚、空運転とは、実加工と同一の加工プログラムをワーク無しで実行する運転を意味する。実加工とは、加工プログラムに基づき、主軸7に装着した工具Tを回転してワークWを加工することを意味する。空運転時電力記憶領域331は、空運転時電力情報を記憶する。空運転時電力情報とは、空運転時に所定時間毎にモータ制御部52Aから取得した消費電力の情報である。空運転時に取得した消費電力は本発明の非加工時電力量に相当する。空運転時取得回数記憶領域332は、空運転時に所定時間毎にモータ制御部52Aから消費電力を取得した回数(i)を記憶する。実加工時取得回数記憶領域333は、実加工時に所定時間毎にモータ制御部52Aから消費電力を取得した回数(j)を記憶する。実加工時に取得した消費電力は本発明の加工時電力量に相当する。積算値記憶領域334は、積算値(PSUM)を記憶する。積算値とは、後述する所定時間毎に算出する主軸モータ52の消費電力の積算値である。 Various storage areas of the RAM 33 will be described with reference to FIG. The RAM 33 includes an idle operation power storage area 331, an idle operation acquisition count storage area 332, an actual machining acquisition count storage area 333, an integrated value storage area 334, and the like. Note that the idling operation means an operation in which the same machining program as the actual machining is executed without a workpiece. Actual machining means machining the workpiece W by rotating the tool T mounted on the spindle 7 based on the machining program. The idling power storage area 331 stores idling power information. The idling power information is power consumption information acquired from the motor control unit 52A every predetermined time during idling. The power consumption acquired during the idling operation corresponds to the non-machining power amount of the present invention. The number-of-obtained acquisition times storage area 332 stores the number of times (i) the power consumption is acquired from the motor control unit 52A every predetermined time during the idle operation. The actual machining acquisition count storage area 333 stores the number of times (j) the power consumption is acquired from the motor control unit 52A every predetermined time during actual machining. The power consumption acquired during actual machining corresponds to the power consumption during machining of the present invention. The integrated value storage area 334 stores the integrated value ( PSUM ). The integrated value is an integrated value of power consumption of the spindle motor 52 calculated every predetermined time to be described later.

図8を参照し、外部電源から各種モータ51〜55への電力供給の仕組みを説明する。モータ制御部52Aは、コンバータ522とインバータ521を備える。コンバータ522は外部電源(図示略)とインバータ521に接続する。インバータ521は主軸モータ52に接続する。モータ制御部53Aはインバータ531を備える。インバータ531は、コンバータ522に電気的に接続する配線とX軸モータ53に接続する。モータ制御部54Aはインバータ541を備える。インバータ541は、コンバータ522に電気的に接続する配線とY軸モータ54に接続する。モータ制御部51Aはインバータ511を備える。インバータ511は、コンバータ522に電気的に接続する配線とZ軸モータ51に接続する。モータ制御部55Aは、インバータ551を備える。インバータ551は、コンバータ522に電気的に接続する配線とマガジンモータ55に接続する。コンバータ522は、外部電源が供給するAC(交流電力)をDC(直流電力)に変換する。インバータ521,531,541,511,551は、コンバータ522が出力する直流電力を駆動用の交流電力に変換し、各種モータ51〜55に夫々入力する。   With reference to FIG. 8, the mechanism of power supply from the external power source to the various motors 51 to 55 will be described. The motor control unit 52A includes a converter 522 and an inverter 521. Converter 522 is connected to an external power source (not shown) and inverter 521. The inverter 521 is connected to the spindle motor 52. The motor control unit 53A includes an inverter 531. Inverter 531 is connected to wiring electrically connected to converter 522 and X-axis motor 53. The motor control unit 54A includes an inverter 541. Inverter 541 is connected to Y-axis motor 54 and wiring electrically connected to converter 522. The motor control unit 51A includes an inverter 511. The inverter 511 is connected to the wiring electrically connected to the converter 522 and the Z-axis motor 51. The motor control unit 55A includes an inverter 551. Inverter 551 is connected to magazine motor 55 and wiring electrically connected to converter 522. Converter 522 converts AC (alternating current power) supplied from an external power source into DC (direct current power). Inverters 521, 531, 541, 511, and 551 convert the DC power output from converter 522 into driving AC power, and input the AC power to various motors 51 to 55, respectively.

図9,図10を参照し、ワーク加工時の切粉の発生量と主軸モータ52の消費電力との関係を説明する。図9のグラフは、タップ加工の実加工時にモータ制御部52Aから取得した消費電力の変化を示す。消費電力は主軸モータ52の起動時に瞬間的に上昇した後直ぐに低下し、主軸7に装着した工具TがワークWに接触するまでの間は低い値で安定した。工具TがワークWに接触すると消費電力は上昇し、工具TがワークWから離れると消費電力は低下した。加工プログラムが終了し、主軸モータ52が停止すると、消費電力は起動時と同様に瞬間的に上昇し、その後すぐに低下した。主軸モータ52の起動時と停止時の瞬間的な消費電力の上昇を除き、その間に計測した消費電力の複数の山は、工具TがワークWに接触してワークWを削る時機と対応する。工具Tに負荷がかかればかかるほど、消費電力は上昇する。故に数値制御装置30は、主軸モータ52の起動時と停止時を除くモータ制御部52Aから取得する消費電力の変化に基づき、ワークWを削ることによって生じる切粉の発生量を推測できる。   With reference to FIGS. 9 and 10, the relationship between the amount of chips generated during workpiece machining and the power consumption of the spindle motor 52 will be described. The graph of FIG. 9 shows a change in power consumption acquired from the motor control unit 52A during the actual tapping. The power consumption increased instantaneously when the spindle motor 52 was started up and then decreased immediately, and stabilized at a low value until the tool T mounted on the spindle 7 contacted the workpiece W. When the tool T contacts the workpiece W, the power consumption increases, and when the tool T moves away from the workpiece W, the power consumption decreases. When the machining program was completed and the spindle motor 52 was stopped, the power consumption increased instantaneously in the same way as at the start, and then decreased immediately thereafter. Except for a momentary increase in power consumption when the spindle motor 52 is started and stopped, a plurality of peaks of power consumption measured during that time corresponds to the time when the tool T contacts the workpiece W and cuts the workpiece W. The more the tool T is loaded, the higher the power consumption. Therefore, the numerical controller 30 can estimate the amount of chips generated by cutting the workpiece W based on the change in the power consumption acquired from the motor control unit 52A except when the spindle motor 52 is started and stopped.

ここで、図8に示す如く、上記の通り、モータ制御部52Aに入力する電力は、コンバータ522で交流から直流に変換後、各モータ制御部53A,54A,51A,55Aに向けて出力する。故にモータ制御部52Aから取得する電力は、主軸モータ52が使用する電力のみならず、それ以外のモータ51,53,54,55が夫々使用する電力を含む。切粉の発生量を正確に推定する為には、工具TがワークWに接触してワークWを削るとき(切削加工)に使用した主軸モータ52の消費電力のみを取得する必要がある。故に数値制御装置30は、実加工の前に空運転を行い、空運転時にモータ制御部52Aから取得した消費電力をRAM33に記憶する。数値制御装置30は、実加工時にモータ制御部52Aから取得した消費電力と、RAM33に記憶した空運転時に取得した消費電力の差分を算出する。差分は、主軸モータ52がワークWの切削加工に使用した消費電力に相当する。数値制御装置30は所定時間毎に差分を算出し積算することにより、切削加工に伴って発生する切粉量を精度よく推定できる。   Here, as shown in FIG. 8, as described above, the electric power input to the motor control unit 52A is converted from alternating current to direct current by the converter 522, and then output to the motor control units 53A, 54A, 51A, and 55A. Therefore, the electric power acquired from the motor control unit 52A includes not only electric power used by the spindle motor 52 but also electric power used by the other motors 51, 53, 54, and 55, respectively. In order to accurately estimate the amount of generated chips, it is necessary to acquire only the power consumption of the spindle motor 52 used when the tool T contacts the workpiece W and cuts the workpiece W (cutting). Therefore, the numerical control device 30 performs the idling operation before actual machining, and stores the power consumption acquired from the motor control unit 52A in the RAM 33 during the idling operation. The numerical control device 30 calculates the difference between the power consumption acquired from the motor control unit 52 </ b> A during actual machining and the power consumption acquired during idle driving stored in the RAM 33. The difference corresponds to the power consumption used by the spindle motor 52 for cutting the workpiece W. The numerical control device 30 can accurately estimate the amount of chips generated along with the cutting by calculating and integrating the difference every predetermined time.

図10のグラフは、タップ加工と同一の加工プログラムを空運転で実行した場合の消費電力の変化を示す。空運転は、テーブル8上面にワークWを固定せずに、実加工時と同じ動きで行う。図10のグラフに示す如く、空運転時の消費電力は、実加工時と同様に、主軸モータ52の起動時と停止時に瞬間的に上昇した。起動時と停止時の間では、工具TはワークWに接触しないので、主軸モータ52がワークWの切削加工の為に使用する電力は生じない。故に実加工時のようなワークWとの接触に伴う消費電力の大きな変動は見られなかった。故に数値制御装置30は、後述するメイン処理において、図9に示す実加工時の消費電力から、図10に示す空運転時の消費電力を差し引くことで、主軸モータ52の切削加工に使用した消費電力を精度よく推定できる。   The graph of FIG. 10 shows a change in power consumption when the same machining program as the tap machining is executed in the idle operation. The idling operation is performed in the same manner as in actual machining without fixing the workpiece W on the upper surface of the table 8. As shown in the graph of FIG. 10, the power consumption during the idling operation increased instantaneously when the spindle motor 52 was started and stopped, as in the case of actual machining. Between the start time and the stop time, the tool T does not come into contact with the workpiece W, so that the power used by the spindle motor 52 for cutting the workpiece W does not occur. Therefore, the big fluctuation | variation of the power consumption accompanying contact with the workpiece | work W at the time of an actual process was not seen. Therefore, the numerical control device 30 consumes the power used for the machining of the spindle motor 52 by subtracting the power consumption during idle operation shown in FIG. 10 from the power consumption during actual machining shown in FIG. The power can be estimated accurately.

図11〜図14の流れ図を参照し、CPU31が実行するメイン処理を説明する。作業者が入力部11で一の加工プログラムを選択し開始指示を入力すると、CPU31は入力部11で選択した加工プログラムを不揮発性記憶装置34から読み出し、ROM32からメインプログラムを読み込んで本処理を実行する。尚、本実施形態では、チップシャワー83,84の切削液の噴出動作を中心に説明する。図11に示す如く、先ず、CPU31は、空運転処理を実行する(S1)。   The main processing executed by the CPU 31 will be described with reference to the flowcharts of FIGS. When the operator selects one machining program with the input unit 11 and inputs a start instruction, the CPU 31 reads the machining program selected with the input unit 11 from the nonvolatile storage device 34, reads the main program from the ROM 32, and executes this processing. To do. In the present embodiment, description will be made focusing on the cutting fluid ejection operation of the tip showers 83 and 84. As shown in FIG. 11, first, the CPU 31 executes an idling process (S1).

図12を参照し、空運転処理を説明する。CPU31は、加工プログラムに基づき、加工プログラム終了時の工具Tを主軸7に装着する(S11)。CPU31は、主軸7の加工開始位置を加工プログラム終了時の位置へ移動する(S12)。上記の通り、空運転を行うとき、工作機械1は実際の運転時と全く同じ動きをする必要がある。加工を繰り返すとき、加工プログラム終了時の位置から次の加工は始まる。故にCPU31は空運転を開始する位置と主軸7に装着する工具Tを実加工時と合わせる。   The idling process will be described with reference to FIG. Based on the machining program, the CPU 31 attaches the tool T at the end of the machining program to the spindle 7 (S11). The CPU 31 moves the machining start position of the spindle 7 to the position at the end of the machining program (S12). As described above, when performing the idling operation, the machine tool 1 needs to perform exactly the same movement as during actual operation. When machining is repeated, the next machining starts from the position at the end of the machining program. Therefore, the CPU 31 matches the position where the idling operation is started and the tool T mounted on the spindle 7 with the actual machining.

CPU31は加工プログラムを実行する(S13)。主軸7に装着した工具Tは高速回転し、加工プログラムに従って移動する。CPU31は空運転時電力情報を初期化する(S14)。空運転時電力情報はRAM33の空運転時電力記憶領域331に記憶する。CPU31は空運転時取得回数(i)を零に初期化する(S15)。空運転時取得回数(i)はRAM33の空運転時取得回数記憶領域332に記憶する。CPU31は取得時間カウンタを零に初期化し、且つ取得時間カウントを開始する(S16)。取得時間は空運転時電力情報を取得する一周期の時間である。取得時間カウンタのカウント値はRAM33に記憶する。   The CPU 31 executes the machining program (S13). The tool T mounted on the spindle 7 rotates at a high speed and moves according to the machining program. The CPU 31 initializes idling power information (S14). The idle operation power information is stored in the idle operation power storage area 331 of the RAM 33. The CPU 31 initializes the number of acquisition times (i) during idling to zero (S15). The number of times of idle operation acquisition (i) is stored in the number of acquisition times storage area 332 of the RAM 33. The CPU 31 initializes the acquisition time counter to zero and starts the acquisition time count (S16). The acquisition time is a period of time for acquiring the idling power information. The count value of the acquisition time counter is stored in the RAM 33.

CPU31は取得時間が計測開始から所定時間経過したか否か判断する(S17)。CPU31は取得時間の経過について、RAM33に記憶するカウント値が所定時間(例えば64msec)に達したか否かで判断する。取得時間が経過するまで、CPU31はS17に戻り処理を待機する。取得時間が経過した場合(S17:YES)、CPU31はモータ制御部52Aから消費電力(Pi)を取得する(S18)。CPU31は取得した消費電力(Pi)を、空運転時電力情報として、RAM33の空運転時電力記憶領域331に記憶する(S19)。   The CPU 31 determines whether or not a predetermined time has elapsed from the start of measurement (S17). The CPU 31 determines whether or not the acquisition time has elapsed based on whether or not the count value stored in the RAM 33 has reached a predetermined time (for example, 64 msec). Until the acquisition time elapses, the CPU 31 returns to S17 and waits for processing. When the acquisition time has elapsed (S17: YES), the CPU 31 acquires power consumption (Pi) from the motor control unit 52A (S18). The CPU 31 stores the acquired power consumption (Pi) in the idle operation power storage area 331 of the RAM 33 as idle operation power information (S19).

CPU31は加工プログラムが終了したか否か判断する(S20)。加工プログラムが継続中である場合(S20:NO)、CPU31はRAM33に記憶する空運転時取得回数(i)に1加算する(S21)。CPU31は、S16に戻り、所定時間毎に消費電力の取得を繰り返す(S16〜S19)。加工プログラムが終了した場合(S20:YES)、CPU31は、図11のメイン処理に戻り、処理を図11のS2に進める。RAM33の空運転時電力記憶領域331は、主軸モータ52の起動から停止までの間において所定時間毎に取得した消費電力(Pi)を記憶する。所定時間毎に取得した消費電力(Pi)の情報は、空運転時電力情報である。   The CPU 31 determines whether or not the machining program has been completed (S20). When the machining program is continuing (S20: NO), the CPU 31 adds 1 to the number of times (i) of idle operation stored in the RAM 33 (S21). CPU31 returns to S16 and repeats acquisition of power consumption for every predetermined time (S16-S19). When the machining program ends (S20: YES), the CPU 31 returns to the main process in FIG. 11 and advances the process to S2 in FIG. The idling power storage area 331 of the RAM 33 stores the power consumption (Pi) acquired every predetermined time from the start to the stop of the spindle motor 52. The information on the power consumption (Pi) acquired every predetermined time is the idling power information.

図11に示す如く、CPU31は積算値(PSUM)を初期化する(S2)。積算値(PSUM)はRAM33の積算値記憶領域334に記憶する。CPU31は実加工処理を実行する(S3)。 As shown in FIG. 11, the CPU 31 initializes an integrated value ( PSUM ) (S2). The integrated value (P SUM ) is stored in the integrated value storage area 334 of the RAM 33. The CPU 31 executes actual processing (S3).

図13を参照し、実加工処理を説明する。尚、実加工処理を実行する前に、作業者は工作機械1の動作を一旦中止し、テーブル8上にワークWを固定する。ワークWの固定が完了した後、作業者は操作盤10において工作機械1の動作再開指示を入力する。   The actual machining process will be described with reference to FIG. Before executing the actual machining process, the operator temporarily stops the operation of the machine tool 1 and fixes the workpiece W on the table 8. After the work W is fixed, the operator inputs an operation resumption instruction for the machine tool 1 on the operation panel 10.

先ず、CPU31は空運転時と同一の加工プログラムを実行する(S25)。CPU31は実加工時取得回数(j)を零に初期化する(S26)。実加工時取得回数(j)は、RAM33の実加工時取得回数記憶領域333に記憶する。主軸7に装着した工具Tは高速回転し、加工プログラムに従いワークWに接触しながら移動する。工具TはワークWの切削加工を行う。ワークWの切削加工に伴い、ワークWから切粉が飛散し、カバー4内に蓄積する。   First, the CPU 31 executes the same machining program as in the idling operation (S25). The CPU 31 initializes the number of acquisition times (j) during actual machining to zero (S26). The actual machining acquisition count (j) is stored in the actual machining acquisition count storage area 333 of the RAM 33. The tool T mounted on the spindle 7 rotates at a high speed and moves while contacting the workpiece W according to the machining program. The tool T performs cutting of the workpiece W. As the workpiece W is cut, chips are scattered from the workpiece W and accumulate in the cover 4.

CPU31は加工プログラムが終了したか否か判断する(S27)。加工プログラムが終了したと判断した時(S27:YES)、CPU31は図11のS4に処理を戻す。加工プログラムが継続中の場合(S27:NO)、CPU31は取得時間の計測を開始する(S28)。取得時間は空運転時と同じ取得時間(例えば64msec)である。CPU31は取得時間か経過したか否か判断する(S29)。取得時間が経過するまで(S29:NO)、CPU31はS29に戻り処理を待機する。   The CPU 31 determines whether or not the machining program has been completed (S27). When it is determined that the machining program is finished (S27: YES), the CPU 31 returns the process to S4 of FIG. When the machining program is continuing (S27: NO), the CPU 31 starts measuring the acquisition time (S28). The acquisition time is the same acquisition time (for example, 64 msec) as that during idling. The CPU 31 determines whether the acquisition time has elapsed (S29). Until the acquisition time elapses (S29: NO), the CPU 31 returns to S29 and waits for processing.

取得時間が経過した場合(S29:YES)、CPU31はモータ制御部52Aから消費電力(Pj)を取得する(S30)。次いで、CPU31はS30で取得した消費電力(Pj)と、RAM33の空運転時電力記憶領域331に記憶する空運転時電力情報のうち、i=jの空運転時の消費電力(Pi)との差分を算出する。例えば、モータ制御部52Aからの消費電力の取得回数j=1である場合、RAM33に記憶する空運転時電力情報のうち、i=1の消費電力を読み込む。CPU31は空運転時と実加工時において同時期の消費電力を対比し、空運転時の消費電力(Pi)と実加工時の消費電力(Pj)の差分を算出する。故にCPU31は、主軸モータ52がワークWの切削に使用した消費電力を求めることができる。CPU31は算出した差分を、RAM33の積算値記憶領域334に記憶する積算値(PSUM)に積算し、積算値(PSUM)を更新する(S31)。 When the acquisition time has elapsed (S29: YES), the CPU 31 acquires power consumption (Pj) from the motor control unit 52A (S30). Next, the CPU 31 calculates the power consumption (Pj) acquired in S30 and the power consumption (Pi) during the idling operation of i = j among the idling power information stored in the idling power storage area 331 of the RAM 33. Calculate the difference. For example, when the number j of times of acquisition of power consumption from the motor control unit 52 </ b> A is 1, the power consumption of i = 1 is read from the idle operation power information stored in the RAM 33. The CPU 31 compares the power consumption at the same time during idle operation and actual machining, and calculates the difference between the power consumption (Pi) during idle operation and the power consumption (Pj) during actual machining. Therefore, the CPU 31 can obtain the power consumption used by the spindle motor 52 for cutting the workpiece W. The CPU 31 integrates the calculated difference with the integrated value ( PSUM ) stored in the integrated value storage area 334 of the RAM 33, and updates the integrated value ( PSUM ) (S31).

CPU31は、積算値記憶領域334に記憶する積算値(PSUM)が基準電力量を超えたか否か判断する(S32)。基準電力量は予め不揮発性記憶装置34に記憶する。基準電力量は自由に設定可能である。積算値(PSUM)が基準電力量以下であった場合(S32:NO)、カバー4内に蓄積する切粉の量は少なく、チップシャワー83,84から切削液を噴出する必要が無い。故にCPU31はポンプ22を駆動することなく、RAM33に記憶する実加工時取得回数(j)に1加算する(S35)。 The CPU 31 determines whether or not the integrated value ( PSUM ) stored in the integrated value storage area 334 exceeds the reference power amount (S32). The reference power amount is stored in advance in the nonvolatile storage device 34. The reference power amount can be set freely. When the integrated value ( PSUM ) is equal to or less than the reference power amount (S32: NO), the amount of chips accumulated in the cover 4 is small, and there is no need to eject cutting fluid from the tip showers 83 and 84. Therefore, the CPU 31 adds 1 to the actual machining acquisition number (j) stored in the RAM 33 without driving the pump 22 (S35).

CPU31は、S27に戻り、加工プログラムが終了したか否か判断する(S27)。加工プログラムが継続中の場合(S27:NO)、所定時間毎に上記処理を繰り返す(S28〜S33)。ワークの切削加工が進むにつれて、積算値記憶領域334に記憶する積算値(PSUM)は増加する。積算値(PSUM)が基準電力量を超えた場合(S32:YES)、カバー4内には相当量の切粉が蓄積している可能性が高い。カバー4内は、チップシャワー83,84から切削液を噴出して切粉を洗い流すのが望ましい状況である。故にCPU31はチップシャワー83,84の噴出処理開始を通知する(S33)。CPU31は積算値(PSUM)を初期化し(S34)、実加工時取得回数(j)に1加算する(S35)。CPU31はS27に戻り、処理を繰り返す。 The CPU 31 returns to S27 and determines whether or not the machining program has ended (S27). When the machining program is continuing (S27: NO), the above process is repeated every predetermined time (S28 to S33). As the workpiece cutting progresses, the integrated value ( PSUM ) stored in the integrated value storage area 334 increases. When the integrated value ( PSUM ) exceeds the reference power amount (S32: YES), there is a high possibility that a considerable amount of chips has accumulated in the cover 4. The inside of the cover 4 is a situation where it is desirable to eject the cutting fluid from the chip showers 83 and 84 to wash away the chips. Therefore, the CPU 31 notifies the start of the ejection process of the chip showers 83 and 84 (S33). The CPU 31 initializes the integrated value ( PSUM ) (S34), and adds 1 to the actual machining acquisition count (j) (S35). The CPU 31 returns to S27 and repeats the process.

図14を参照し、噴出処理を説明する。CPU31は噴出処理開始通知を受け、ROM32から噴出制御プログラムを読み出し、本処理を実行する。CPU31は、切削液を噴出中か否か判断する(S36)。切削液の噴出について、CPU31はポンプ22が駆動中か否かで判断する。ポンプ22が駆動中の場合、チップシャワー83,84は切削液を噴出中である。ポンプ22が停止中の場合、チップシャワー83,84は切削液を噴出していない。   The ejection process will be described with reference to FIG. The CPU 31 receives the ejection process start notification, reads the ejection control program from the ROM 32, and executes this process. The CPU 31 determines whether or not the cutting fluid is being ejected (S36). Regarding the ejection of the cutting fluid, the CPU 31 determines whether or not the pump 22 is being driven. When the pump 22 is being driven, the tip showers 83 and 84 are ejecting cutting fluid. When the pump 22 is stopped, the tip showers 83 and 84 do not eject cutting fluid.

切削液を噴出していない場合(S36:NO)、CPU31は噴出時間を設定する(S37)。噴出時間カウンタのカウント値は噴出時間とする。噴出時間は例えば10秒間である。噴出時間は作業者が操作盤の入力部11で自由に設定可能である。CPU31は噴出時間カウントを開始する(S39)。CPU31はポンプ22を駆動し、チップシャワー83,84から切削液の噴出を開始する(S40)。チップシャワー83,84から噴出する切削液は、カバー4内に付着して堆積する切粉を洗い落とす。   When the cutting fluid is not ejected (S36: NO), the CPU 31 sets the ejection time (S37). The count value of the ejection time counter is the ejection time. The ejection time is, for example, 10 seconds. The ejection time can be freely set by the operator using the input unit 11 of the operation panel. The CPU 31 starts counting the ejection time (S39). The CPU 31 drives the pump 22 and starts to eject cutting fluid from the tip showers 83 and 84 (S40). The cutting fluid ejected from the tip showers 83 and 84 washs away the chips adhering to and depositing in the cover 4.

CPU31は、カウント値が噴出時間に達したか否か判断する(S41)。噴出時間に達するまでは(S41:NO)、CPU31はS41に戻り、切削液を噴出し続ける。噴出時間に達した場合(S41:YES)、カバー4内に堆積する切粉は洗い流されている。故にCPU31は、ポンプ22を停止し、チップシャワー83,84からの切削液の噴出を終了する(S42)。CPU31はワーク加工に伴って発生する切粉量が一定量を超えたときに、チップシャワー83,84から切削液を噴出し、切粉を洗い流す為に十分な時間が経過したら停止する。故に数値制御装置30は切削液を効果的に節約できる。CPU31は本処理を終了する。   The CPU 31 determines whether or not the count value has reached the ejection time (S41). Until the ejection time is reached (S41: NO), the CPU 31 returns to S41 and continues to eject the cutting fluid. When the ejection time is reached (S41: YES), the chips accumulated in the cover 4 are washed away. Therefore, the CPU 31 stops the pump 22 and ends the ejection of the cutting fluid from the tip showers 83 and 84 (S42). The CPU 31 ejects the cutting fluid from the tip showers 83 and 84 when the amount of chips generated with the work processing exceeds a certain amount, and stops when a sufficient time has passed to wash away the chips. Therefore, the numerical controller 30 can effectively save the cutting fluid. The CPU 31 ends this process.

また、前回噴出処理開始から噴出時間経過前に、再度、積算値(PSUM)が基準電力量を超える場合がある(図13のS32:YES)。チップシャワー83,84では切削液は噴出中であるが(図14のS36:YES)、現在噴出中の残りの噴出時間に加えて、更に一回分の噴出時間を噴出すべきである。本実施形態では、ある体積の切粉を流す為に、一定量の切削液を噴出する。故に現在噴出中に次の切削液の噴出が必要と判断した切粉の体積に対しても更に一定量の切削液を噴出する。CPU31は噴出時間カウンタのカウント値を、残カウント値に噴出時間を加算した値に設定する(S38)。残カウント値は現在噴出中の残りのカウント値である。故に数値制御装置30はチップシャワー83,84から2回分の量の切削液を噴出できるので(S39〜S42)、カバー4内に堆積する切粉を十分に洗い流すことができる。例えば前回噴出開始から5秒後に基準電力量を超えた場合、その時点から残りの5秒間に10秒間を加えた15秒を噴出することができる。 In addition, the integrated value ( PSUM ) may exceed the reference power amount again before the ejection time has elapsed since the start of the previous ejection process (S32 in FIG. 13: YES). In the tip showers 83 and 84, the cutting fluid is being ejected (S36 in FIG. 14: YES), but in addition to the remaining ejection time that is currently being ejected, one more ejection time should be ejected. In the present embodiment, a certain amount of cutting fluid is ejected in order to flow a certain volume of chips. Therefore, a certain amount of cutting fluid is also ejected with respect to the volume of the chips that are determined to require ejection of the next cutting fluid during the current ejection. The CPU 31 sets the count value of the ejection time counter to a value obtained by adding the ejection time to the remaining count value (S38). The remaining count value is the remaining count value currently being ejected. Therefore, since the numerical controller 30 can eject the amount of cutting fluid for two times from the chip showers 83 and 84 (S39 to S42), the chips accumulated in the cover 4 can be sufficiently washed away. For example, when the reference power amount is exceeded 5 seconds after the start of the previous ejection, 15 seconds can be ejected by adding 10 seconds to the remaining 5 seconds.

図11に示す如く、CPU31は同一の加工プログラムで引き続き運転するか否か判断する(S4)。同一の加工プログラムで運転する場合(S4:YES)、CPU31は処理をS3に戻し、実加工処理を再度実行する(S3)。数値制御装置30は、一度空運転処理を実行した同一の加工プログラムを実行する限り、再度空運転処理を行う必要はない。故に量産加工を行う場合は、一度空運転処理を実行すればよいので、作業を速やかに実行できる。同一の加工プログラムで運転しない場合(S4:NO)、CPU31は本処理を終了する。   As shown in FIG. 11, the CPU 31 determines whether or not to continue the operation with the same machining program (S4). When operating with the same machining program (S4: YES), the CPU 31 returns the process to S3 and executes the actual machining process again (S3). As long as the numerical control device 30 executes the same machining program that once executed the idle operation process, it is not necessary to perform the idle operation process again. Therefore, when mass production processing is performed, it is only necessary to execute the idling process once, so that the operation can be performed promptly. When not operating by the same processing program (S4: NO), CPU31 ends this processing.

以上説明にて、図1に示すカバー4が本発明のカバーに相当し、S18の処理を実行するCPU31が本発明の第一取得手段に相当し、RAM33の空運転時電力記憶領域331が本発明の第一記憶部に相当し、S19の処理を実行するCPU31が本発明の第一記憶手段に相当し、S16〜S18の処理を実行するCPU31が本発明の第二取得手段に相当し、S31の処理を実行するCPU31が本発明の算出手段と第二記憶手段に相当し、RAM33の積算値記憶領域334が本発明の第二記憶部に相当し、S32の処理を実行するCPU31が本発明の判断手段に相当し、S33の処理と図14の噴出処理を実行するCPU31が本発明の噴出制御手段に相当し、S2,S34の処理を実行するCPU31が本発明の第一初期化手段に相当し、S1の処理を実行するCPU31が本発明の空運転実行手段に相当する。   In the above description, the cover 4 shown in FIG. 1 corresponds to the cover of the present invention, the CPU 31 that executes the processing of S18 corresponds to the first acquisition means of the present invention, and the idle operation power storage area 331 of the RAM 33 is the main storage. The CPU 31 that corresponds to the first storage unit of the invention and that executes the process of S19 corresponds to the first storage means of the invention, and the CPU 31 that executes the processes of S16 to S18 corresponds to the second acquisition means of the invention, The CPU 31 that executes the process of S31 corresponds to the calculation unit and the second storage unit of the present invention, the integrated value storage area 334 of the RAM 33 corresponds to the second storage unit of the present invention, and the CPU 31 that executes the process of S32 performs the present process. The CPU 31 that corresponds to the determination means of the invention and that executes the processing of S33 and the ejection processing of FIG. 14 corresponds to the ejection control means of the present invention, and the CPU 31 that executes the processing of S2 and S34 corresponds to the first initialization means of the present invention. Equivalent to, the CPU31 that performs the processing of S1, corresponding to an empty operation execution means of the present invention.

以上説明の如く、本実施形態の数値制御装置30では、切削液噴出機構を備える工作機械1を制御する。切削液噴出機構はカバー4内に設けたチップシャワー83,84、ポンプ22を備える。CPU31は、ワーク加工の前に空運転を行い、ワークに非接触の状態で主軸7が回転する時の主軸モータ52の消費電力量をモータ制御部52Aから取得し、RAM33に記憶する。次いで、テーブル8上にワークWを固定した状態で、CPU31はワーク加工を行う。ワーク加工中、CPU31は、工具TがワークWに接触した状態で主軸7を回転し、主軸モータ52の消費電力量を一定時間毎に取得する。CPU31は、一定時間毎に取得した実加工時電力量と、RAM33に記憶した空運転時電力量との差分を算出し、一定時間毎に算出した差分量を積算してRAM33に随時記憶する。積算値が基準電力量を超えた場合、カバー4内にワーク加工に伴って発生する切粉が堆積している可能性が高い。故にCPU31はポンプ22を駆動し、チップシャワー83,84から切削液を噴出する。切削液は、カバー4内に堆積した切粉を洗い流す。チップシャワー83,84から切削液を噴出する時間は、一定の噴出時間(例えば10秒間)である。噴出時間経過すると、CPU31はポンプを停止する。数値制御装置30は切削液の噴出をカバー4内に堆積する切粉量に応じて行うことができる。数値制御装置30は切粉の少ない加工で電力を無駄に浪費するのを防止でき且つ省エネルギー効果を向上できる。数値制御装置30は、主軸モータ52の切削加工に使用した消費電力を元にワークの切削体積を推定するので、推定精度が向上する。   As described above, the numerical control device 30 according to the present embodiment controls the machine tool 1 including the cutting fluid ejection mechanism. The cutting fluid ejection mechanism includes chip showers 83 and 84 and a pump 22 provided in the cover 4. The CPU 31 performs idle operation before workpiece machining, acquires the power consumption of the spindle motor 52 when the spindle 7 rotates without contacting the workpiece from the motor control unit 52A, and stores it in the RAM 33. Next, the CPU 31 processes the workpiece while the workpiece W is fixed on the table 8. During the workpiece machining, the CPU 31 rotates the spindle 7 while the tool T is in contact with the workpiece W, and acquires the power consumption of the spindle motor 52 at regular intervals. The CPU 31 calculates a difference between the actual machining power amount acquired at regular time intervals and the idle operation power energy stored in the RAM 33, accumulates the differential amounts calculated at regular time intervals, and stores them in the RAM 33 as needed. When the integrated value exceeds the reference power amount, there is a high possibility that chips generated during work processing are accumulated in the cover 4. Therefore, the CPU 31 drives the pump 22 and ejects the cutting fluid from the tip showers 83 and 84. The cutting fluid ishes away the chips accumulated in the cover 4. The time for ejecting the cutting fluid from the tip showers 83 and 84 is a certain ejection time (for example, 10 seconds). When the ejection time has elapsed, the CPU 31 stops the pump. The numerical control device 30 can perform the ejection of the cutting fluid according to the amount of chips accumulated in the cover 4. The numerical control device 30 can prevent wasteful use of electric power by processing with less chips and improve the energy saving effect. Since the numerical controller 30 estimates the cutting volume of the workpiece based on the power consumption used for the cutting of the spindle motor 52, the estimation accuracy is improved.

また、CPU31は、一定の噴出時間の間、チップシャワー83,84から切削液を噴出した場合、RAM33に記憶する積算値を初期化する。切削液をカバー4内に噴出した後、カバー4内には切粉は堆積していない。故に積算値を零に初期化することで、次回のワーク加工で発生する切粉の体積を良好に推定できる。   Moreover, CPU31 initializes the integrated value memorize | stored in RAM33, when a cutting fluid is ejected from the tip shower 83,84 during fixed ejection time. After the cutting fluid is ejected into the cover 4, chips are not deposited in the cover 4. Therefore, by initializing the integrated value to zero, the volume of chips generated in the next workpiece machining can be estimated well.

尚、本実施形態では説明しなかったが、切削液ノズル74,75からの切削液の噴出動作は、例えば、少なくとも工具TがワークWに接触する切削加工中は駆動するようにすればよい。   Although not described in the present embodiment, the cutting fluid ejection operation from the cutting fluid nozzles 74 and 75 may be driven at least during the cutting process in which the tool T contacts the workpiece W, for example.

尚、本発明は上記実施形態に限らず種々の変更が可能である。上記実施形態では、切削加工終了後に、チップシャワー83,84から10秒間、切削液を噴出するようにしているが、切削加工終了後はそのまま終了するようにしてもよい。   The present invention is not limited to the above embodiment, and various modifications can be made. In the above embodiment, the cutting fluid is ejected from the tip showers 83 and 84 for 10 seconds after the end of the cutting process, but may be ended as it is after the end of the cutting process.

上記実施形態では、チップシャワー83,84の切削液の噴出時間を一律で10秒間に設定しているが、例えば、ワークの材質に応じて噴出時間を異ならせてもよい。切粉は同一体積でもワークの材質によって重量が異なる。そこで、重い材質のワークを加工する場合は、軽い材質のワークを加工する場合に比べ、噴出時間を長くすることによって、カバー4内に切粉が残るのを効果的に防止できる。また、軽い材質のワークを加工する場合は、重い材質のワークを加工する場合に比べ、噴出時間を短くできるので、切削液と電力消費をさらに節約できる。   In the said embodiment, although the ejection time of the cutting fluid of the tip showers 83 and 84 is uniformly set to 10 seconds, you may vary the ejection time according to the material of a workpiece | work, for example. Even if the chip has the same volume, the weight varies depending on the material of the workpiece. Therefore, when machining a workpiece made of a heavy material, it is possible to effectively prevent chips from remaining in the cover 4 by making the ejection time longer than when machining a workpiece made of a light material. Further, when machining a workpiece made of light material, the ejection time can be shortened compared to machining a workpiece made of heavy material, so that cutting fluid and power consumption can be further saved.

1 工作機械
4 カバー
7 主軸
22 ポンプ
25 主ホース
27 分岐ホース
30 数値制御装置
31 CPU
33 RAM
34 不揮発性記憶装置
52 主軸モータ
52A モータ制御部
83,84 チップシャワー
331 空運転時電力記憶領域
334 積算値記憶領域
T 工具
W ワーク
DESCRIPTION OF SYMBOLS 1 Machine tool 4 Cover 7 Spindle 22 Pump 25 Main hose 27 Branch hose 30 Numerical control apparatus 31 CPU
33 RAM
34 Non-volatile storage device 52 Spindle motor 52A Motor control unit 83, 84 Chip shower 331 Empty operation power storage area 334 Integrated value storage area T Tool W Workpiece

Claims (2)

加工領域を覆うカバーと、主軸に工具を装着した状態で回転し、前記工具をワークに接触させてワーク加工を行う際に、前記ワーク加工により発生して前記カバー内に堆積した切粉に対して切削液を噴出して洗い流す噴出機構とを備えた工作機械を制御する数値制御装置において、
前記主軸を回転するモータと、
前記工具がワークに非接触の状態で前記主軸が回転する時の前記モータの消費電力量である非加工時電力量を取得する第一取得手段と、
前記第一取得手段が取得した前記非加工時電力量を第一記憶部に記憶する第一記憶手段と、
前記工具が前記ワークに接触した状態で前記主軸が回転し、前記ワーク加工を行う時の前記モータの消費電力量である加工時電力量を、一定時間毎に取得する第二取得手段と、
前記一定時間毎に、前記第二取得手段が取得した前記加工時電力量と、前記第一記憶部に記憶した前記非加工時電力量との差分を算出する算出手段と、
前記算出手段が前記一定時間毎に算出した前記差分を積算して積算値として第二記憶部に記憶する第二記憶手段と、
前記第二記憶部に記憶した前記積算値が所定値を超えたか否か判断する判断手段と、
前記積算値が前記所定値を超えたと前記判断手段が判断した場合、所定時間の間、前記切削液を噴出するように前記噴出機構を制御する噴出制御手段と、
前記噴出制御手段が、前記所定時間の間、前記切削液を噴出するように前記噴出機構を制御した場合、前記第二記憶部に記憶する前記積算値を初期化する第一初期化手段と
を備えたことを特徴とする数値制御装置。
A cover that covers the machining area, and rotates with the tool mounted on the spindle, and when machining the workpiece by bringing the tool into contact with the workpiece, against the chips generated in the workpiece and accumulated in the cover In a numerical control device that controls a machine tool equipped with an ejection mechanism that ejects and flushes cutting fluid,
A motor for rotating the spindle;
First acquisition means for acquiring a non-machining power amount that is a power consumption amount of the motor when the spindle rotates in a state where the tool is not in contact with a workpiece;
First storage means for storing in the first storage unit the non-machining power amount acquired by the first acquisition means;
A second acquisition means for acquiring a machining power amount, which is a power consumption amount of the motor when the spindle rotates in a state in which the tool is in contact with the workpiece, and performs the workpiece machining;
A calculation means for calculating a difference between the machining power amount acquired by the second acquisition means and the non-machining power amount stored in the first storage unit for each predetermined time;
A second storage means for integrating the difference calculated by the calculation means for each predetermined time and storing the result as an integrated value in a second storage unit;
Determining means for determining whether or not the integrated value stored in the second storage unit exceeds a predetermined value;
An ejection control means for controlling the ejection mechanism to eject the cutting fluid for a predetermined time when the determination means determines that the integrated value exceeds the predetermined value;
A first initialization unit that initializes the integrated value stored in the second storage unit when the ejection control unit controls the ejection mechanism to eject the cutting fluid for the predetermined time; A numerical control device characterized by comprising.
前記ワーク加工の工程と同一工程で、前記ワークが無い状態で前記主軸を回転する空運転を実行する空運転実行手段を備え、
前記第一取得手段は、
前記空運転実行手段が実行する前記空運転中に、前記一定時間毎に、前記非加工時電力量を取得し、
前記第一記憶手段は、
前記第一取得手段が前記一定時間毎に取得した前記非加工時電力量を前記第一記憶部に記憶し、
前記算出手段は、
前記一定時間毎に、前記第二取得手段が取得した前記加工時電力量と、前記第一記憶部に記憶した前記非加工時電力量の中で、前記第二取得手段と同一時機で取得した前記非加工時電力量との差分を算出することを特徴とする請求項1に記載の数値制御装置。
In the same step as the workpiece machining step, provided with an idle operation executing means for executing an idle operation of rotating the spindle without the workpiece,
The first acquisition means includes
During the idle operation executed by the idle operation execution means, the non-working power amount is acquired at every predetermined time,
The first storage means
Storing the non-machining power amount acquired by the first acquisition means at regular intervals in the first storage unit;
The calculating means includes
The machining power amount acquired by the second acquisition unit and the non-machining power amount stored in the first storage unit at the same time as the second acquisition unit. The numerical control apparatus according to claim 1, wherein a difference from the non-machining power amount is calculated.
JP2013271572A 2013-12-27 2013-12-27 Numerical controller Active JP6237226B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP2013271572A JP6237226B2 (en) 2013-12-27 2013-12-27 Numerical controller
CN201410499334.8A CN104750026B (en) 2013-12-27 2014-09-25 Numerical control device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2013271572A JP6237226B2 (en) 2013-12-27 2013-12-27 Numerical controller

Publications (2)

Publication Number Publication Date
JP2015123567A JP2015123567A (en) 2015-07-06
JP6237226B2 true JP6237226B2 (en) 2017-11-29

Family

ID=53534669

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2013271572A Active JP6237226B2 (en) 2013-12-27 2013-12-27 Numerical controller

Country Status (2)

Country Link
JP (1) JP6237226B2 (en)
CN (1) CN104750026B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107132816B (en) * 2017-05-09 2019-07-19 东莞市固达机械制造有限公司 A kind of control method and its corresponding control system of digital-control two-head milling machine
JP6637021B2 (en) * 2017-11-24 2020-01-29 ファナック株式会社 Cutting fluid supply timing control device and machine learning device
JP6652549B2 (en) * 2017-12-26 2020-02-26 ファナック株式会社 Chip removal device and information processing device
US10807209B2 (en) * 2018-03-09 2020-10-20 Raytheon Technologies Corporation Closed-loop fluid control to obtain efficient machining
JP6959288B2 (en) 2019-04-02 2021-11-02 ファナック株式会社 Machine Tools
CN112692635A (en) * 2020-12-11 2021-04-23 珠海格力智能装备有限公司 Machine tool control method and control device, and machine tool equipment

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS59205254A (en) * 1983-05-07 1984-11-20 Kuroda Precision Ind Ltd Cutting liquid feeder
US4708539A (en) * 1985-11-22 1987-11-24 Master Chemical Corporation Tap lubricating system
DE4309134C2 (en) * 1993-03-22 1999-03-04 Wilfried Wahl Process for the lubrication and cooling of cutting edges and / or workpieces in machining processes
FR2751254B1 (en) * 1996-07-19 1998-08-21 Renault DEVICE FOR REMOVING PROJECTED CHIPS FROM THE MACHINING HEAD OF A TOOL MACHINE
JPH10244437A (en) * 1997-03-04 1998-09-14 Okuma Mach Works Ltd Automatic cutting lubricant feeding device for machine tool
JP4701902B2 (en) * 2005-07-29 2011-06-15 ブラザー工業株式会社 Machine Tools
CN101683714B (en) * 2008-09-26 2011-05-25 兄弟工业株式会社 Spindle for machine tools
JP5678577B2 (en) * 2010-10-27 2015-03-04 株式会社ジェイテクト Machine tool power consumption display device
JP2012213838A (en) * 2011-04-01 2012-11-08 Canon Electronics Inc Processing device and processing method
CN103425143A (en) * 2012-05-16 2013-12-04 朱元萍 Automatic machine cutting fluid flow control device

Also Published As

Publication number Publication date
JP2015123567A (en) 2015-07-06
CN104750026A (en) 2015-07-01
CN104750026B (en) 2017-08-08

Similar Documents

Publication Publication Date Title
JP6237226B2 (en) Numerical controller
US20170144262A1 (en) Machine tool
JP2014213434A (en) Numerical control device
CN101866166B (en) Control device for machine tool
US10698381B2 (en) Numerical control device and numerical control method
JP2015024454A (en) Machine inside cleaning apparatus for machine tool
JP2007296610A (en) Displacement and run-out measuring device of main spindle device in machine tool
JP2006110697A (en) Method for machining arbitrary shape on workpiece made of electrically conductive material, and composite machining apparatus
JP2015104756A (en) Wire electric discharge machine having function for suppressing wear of driving component
JP2011062800A (en) Wire cut electric discharge machine controlling supply amount of working liquid into working tank and performing water temperature-constant control
JP2010188480A (en) Machine tool, and method for monitoring coolant liquid of machine tool
KR101777476B1 (en) Electric discharge machine
JP6444845B2 (en) Tool cleaning device
JP2008155324A (en) Machine tool
JP2015229236A (en) Wire electric discharge machining device adjusting liquid surface position of working liquid when automatically connecting wire
KR20180121377A (en) Wire electrical discharge machine, wire electrical discharge machining system and jig
JP7148763B1 (en) Control device, machine tool and control method
JP6284713B2 (en) Cleaning device
JP2013066956A (en) Drilling device and drilling method
US20080017615A1 (en) Apparatus and method for electric discharge machining and method of discriminating electric discharge
JP2020189371A (en) machine
JP5607105B2 (en) Method of cooling a turning tool in an NC lathe and an NC lathe provided with a turning tool cooling mechanism
JP7372070B2 (en) Wire electrical discharge machine and control method
WO2021261418A1 (en) Tool diagnostic device and tool diagnostic method
JP6181709B2 (en) Machine tool controller

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20161117

TRDD Decision of grant or rejection written
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20170928

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20171003

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20171016

R150 Certificate of patent or registration of utility model

Ref document number: 6237226

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150