WO2016051543A1 - 工作機械の制御装置および工作機械 - Google Patents

工作機械の制御装置および工作機械 Download PDF

Info

Publication number
WO2016051543A1
WO2016051543A1 PCT/JP2014/076221 JP2014076221W WO2016051543A1 WO 2016051543 A1 WO2016051543 A1 WO 2016051543A1 JP 2014076221 W JP2014076221 W JP 2014076221W WO 2016051543 A1 WO2016051543 A1 WO 2016051543A1
Authority
WO
WIPO (PCT)
Prior art keywords
tool
measurement
unit
program
control device
Prior art date
Application number
PCT/JP2014/076221
Other languages
English (en)
French (fr)
Inventor
理恵 河合
英樹 瓶子
堅一 大野
Original Assignee
株式会社牧野フライス製作所
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 株式会社牧野フライス製作所 filed Critical 株式会社牧野フライス製作所
Priority to EP14903344.1A priority Critical patent/EP3203333B1/en
Priority to PCT/JP2014/076221 priority patent/WO2016051543A1/ja
Priority to US15/510,120 priority patent/US10248107B2/en
Priority to CN201480082299.8A priority patent/CN107077118B/zh
Priority to JP2016551414A priority patent/JP6373395B2/ja
Publication of WO2016051543A1 publication Critical patent/WO2016051543A1/ja

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/404Numerical 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 control arrangements for compensation, e.g. for backlash, overshoot, tool offset, tool wear, temperature, machine construction errors, load, inertia
    • 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/4093Numerical 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 part programming, e.g. entry of geometrical information as taken from a technical drawing, combining this with machining and material information to obtain control information, named part programme, for the NC machine
    • G05B19/40937Numerical 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 part programming, e.g. entry of geometrical information as taken from a technical drawing, combining this with machining and material information to obtain control information, named part programme, for the NC machine concerning programming of machining or material parameters, pocket machining
    • G05B19/40938Tool management
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B23MACHINE TOOLS; METAL-WORKING NOT OTHERWISE PROVIDED FOR
    • B23QDETAILS, COMPONENTS, OR ACCESSORIES FOR MACHINE TOOLS, e.g. ARRANGEMENTS FOR COPYING OR CONTROLLING; MACHINE TOOLS IN GENERAL CHARACTERISED BY THE CONSTRUCTION OF PARTICULAR DETAILS OR COMPONENTS; COMBINATIONS OR ASSOCIATIONS OF METAL-WORKING MACHINES, NOT DIRECTED TO A PARTICULAR RESULT
    • B23Q15/00Automatic control or regulation of feed movement, cutting velocity or position of tool or work
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B23MACHINE TOOLS; METAL-WORKING NOT OTHERWISE PROVIDED FOR
    • B23QDETAILS, COMPONENTS, OR ACCESSORIES FOR MACHINE TOOLS, e.g. ARRANGEMENTS FOR COPYING OR CONTROLLING; MACHINE TOOLS IN GENERAL CHARACTERISED BY THE CONSTRUCTION OF PARTICULAR DETAILS OR COMPONENTS; COMBINATIONS OR ASSOCIATIONS OF METAL-WORKING MACHINES, NOT DIRECTED TO A PARTICULAR RESULT
    • B23Q15/00Automatic control or regulation of feed movement, cutting velocity or position of tool or work
    • B23Q15/20Automatic control or regulation of feed movement, cutting velocity or position of tool or work before or after the tool acts upon the workpiece
    • B23Q15/28Automatic control or regulation of feed movement, cutting velocity or position of tool or work before or after the tool acts upon the workpiece with compensation for tool wear
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B23MACHINE TOOLS; METAL-WORKING NOT OTHERWISE PROVIDED FOR
    • B23QDETAILS, COMPONENTS, OR ACCESSORIES FOR MACHINE TOOLS, e.g. ARRANGEMENTS FOR COPYING OR CONTROLLING; MACHINE TOOLS IN GENERAL CHARACTERISED BY THE CONSTRUCTION OF PARTICULAR DETAILS OR COMPONENTS; COMBINATIONS OR ASSOCIATIONS OF METAL-WORKING MACHINES, NOT DIRECTED TO A PARTICULAR RESULT
    • B23Q17/00Arrangements for observing, indicating or measuring on machine tools
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B23MACHINE TOOLS; METAL-WORKING NOT OTHERWISE PROVIDED FOR
    • B23QDETAILS, COMPONENTS, OR ACCESSORIES FOR MACHINE TOOLS, e.g. ARRANGEMENTS FOR COPYING OR CONTROLLING; MACHINE TOOLS IN GENERAL CHARACTERISED BY THE CONSTRUCTION OF PARTICULAR DETAILS OR COMPONENTS; COMBINATIONS OR ASSOCIATIONS OF METAL-WORKING MACHINES, NOT DIRECTED TO A PARTICULAR RESULT
    • B23Q17/00Arrangements for observing, indicating or measuring on machine tools
    • B23Q17/09Arrangements for observing, indicating or measuring on machine tools for indicating or measuring cutting pressure or for determining cutting-tool condition, e.g. cutting ability, load on tool
    • B23Q17/0904Arrangements for observing, indicating or measuring on machine tools for indicating or measuring cutting pressure or for determining cutting-tool condition, e.g. cutting ability, load on tool before or after machining
    • B23Q17/0914Arrangements for measuring or adjusting cutting-tool geometry machine tools
    • 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
    • G05B2219/00Program-control systems
    • G05B2219/30Nc systems
    • G05B2219/37Measurements
    • G05B2219/37071Measurement program is created, executed on object data, no real object, no CMM is present
    • 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/37227Probing tool for its geometry
    • 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/50Machine tool, machine tool null till machine tool work handling
    • G05B2219/50245Change tools, like laser head and drill having different driving needs
    • 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/50Machine tool, machine tool null till machine tool work handling
    • G05B2219/50291Multi-tool, several tools
    • 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/50Machine tool, machine tool null till machine tool work handling
    • G05B2219/50313Tool offset, tool wear
    • 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/50Machine tool, machine tool null till machine tool work handling
    • G05B2219/50315Selfcorrecting by measurement during machining
    • 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/50Machine tool, machine tool null till machine tool work handling
    • G05B2219/50323As function of tool type

Definitions

  • the present invention relates to a machine tool control device and a machine tool.
  • a machine tool that performs a process such as cutting by moving a tool relative to a workpiece.
  • a numerically controlled machine tool is known in which a tool path is designated by coordinates of a predetermined feed axis and the like is performed while moving the tool relative to the workpiece.
  • the machine tool can automatically perform machining while changing the relative position of the tool with respect to the workpiece by moving at least one of the workpiece and the tool in accordance with a command from the control device.
  • the shape of the tool is taken into account. For example, the path along which the tool moves is set based on the tool center.
  • the tool center is set on the center axis of the tool, but it is the surface of the tool that actually performs the machining. For this reason, the tool path is created in consideration of the tool diameter.
  • some machine tools include a tool measuring device that measures tool dimensions such as a tool length and a tool diameter.
  • JP-A-8-229776 discloses a machine tool including a measuring device for measuring a tool length with a capacitance-type displacement measuring instrument.
  • the rotating tool is brought close to the measurement electrode of the displacement measuring device at the actual rotation speed.
  • the position detection unit detects position data of the feed shaft when the gap between the tool and the measurement electrode reaches a predetermined reference value.
  • the calculating part is taking in the tool data memorize
  • a machining program including a tool path created based on a reference dimension of a tool can be used. Further, the machine tool can measure the tool dimensions with the tool measuring device and correct the tool path based on the actually measured tool dimensions. By correcting the tool path based on the actually measured tool dimensions, it is possible to reduce dimensional errors after machining the workpiece. For this reason, it is preferable to correct the tool path by actually measuring the tool dimensions before machining the workpiece.
  • an operator selects in advance a tool to be used in a machining program. And the operator has measured the dimension with the tool measuring apparatus for every tool.
  • a measurement program for automatically measuring each tool is created and based on the measurement program. The tool dimensions were measured.
  • An object of the present invention is to provide a machine tool control device and a machine tool capable of automatically measuring the dimensions of a tool by a measurement method corresponding to the tool.
  • a machine tool control apparatus is a machine tool control apparatus that processes a workpiece by exchanging a tool based on a machining program, analyzes the machining program, and provides measurement-related information related to tool dimension measurement.
  • a measurement program creation unit to be created.
  • the measurement related information can include at least one of a tool number, whether or not the tool length is corrected, whether or not the tool diameter is corrected, and the rotational speed of the spindle during machining.
  • the basic information of the tool can include at least one of the type of tool, the reference tool length, the reference tool diameter, the number of blades, and the curvature radius of the end of the tool.
  • the storage unit stores a rule for creating a measurement program
  • the measurement program creation unit selects one rule corresponding to the measurement related information and the basic information of the tool, and based on the selected rule. To create a measurement program.
  • the measurement program creating unit can calculate the measurement position in the tool based on the basic information of the tool, and can create the measurement program based on the measurement position.
  • a display unit that displays information related to machining and a display control unit that controls display of the display unit are provided, and the machining program analysis unit determines whether the machining program includes correction of the tool diameter.
  • the display control unit can display an image in which the measurement of the tool diameter is selected on the display unit when the correction of the tool diameter is included.
  • the tool determination unit includes a tool determination unit that determines whether or not the tool whose dimensions have been measured is a predetermined tool, and the tool determination unit has a measured tool size that exceeds a predetermined allowable range. In this case, it can be determined that the measured tool is different from the predetermined tool.
  • a machine tool includes the above-described machine tool control device and a tool measurement device that measures the dimensions of a tool.
  • the present invention it is possible to provide a machine tool control device and a machine tool that can automatically measure the dimensions of a tool by a measurement method according to the tool.
  • the machine tool of the present embodiment is a numerical control type that performs machining by automatically moving a tool and a workpiece relative to each other based on a machining program.
  • FIG. 1 is a schematic plan view of a numerically controlled machine tool according to the present embodiment.
  • the machine tool 1 is a horizontal machining center.
  • the machine tool 1 includes a moving device that relatively moves a tool and a workpiece.
  • the moving device moves the driven object in the direction of the plurality of moving axes.
  • the plurality of movement axes include an X axis, a Y axis, and a Z axis that are orthogonal to each other as linear feed axes.
  • the machine tool 1 includes a bed 12 serving as a base and a column 16 erected on the upper surface of the bed 12.
  • a Z-axis guide rail 18 is fixed to the upper surface of the bed 12.
  • a table 14 is disposed on the upper surface of the Z-axis guide rail 18 via a table base.
  • the workpiece is fixed to the table 14 via the pallet 15.
  • the table 14 is formed to be movable along the Z-axis guide rail 18 in the Z-axis direction.
  • the saddle 17 is arranged on the front surface of the column 16.
  • An X-axis guide rail 19 is fixed to the column 16.
  • the saddle 17 is formed to be movable along the X-axis guide rail 19.
  • the spindle head 3 is disposed on the front surface of the saddle 17.
  • a Y-axis guide rail is fixed to the saddle 17.
  • the spindle head 3 is formed to be movable along the Y-axis guide rail.
  • the spindle head 3 supports the spindle 4.
  • a tool 5 for machining a workpiece is fixed to the spindle 4.
  • the spindle 4 has a built-in motor for rotating the tool 5. When the motor is driven, the tool 5 rotates with the axis of the main shaft 4 as a rotation axis.
  • the tool 5 moves in the X-axis direction and the Y-axis direction, and the workpiece moves in the Z-axis direction.
  • a tool can be relatively moved with respect to a workpiece
  • the machine tool may have a rotary feed shaft that rotates around a predetermined axis.
  • the machine tool 1 includes a tool measuring device 60 that measures the dimensions of a tool.
  • the tool measuring device 60 is disposed at the end of the table 14.
  • the tool measuring device 60 of the present embodiment oscillates a laser beam 60a.
  • the tool 5 blocks the laser beam 60a.
  • the dimension of the tool 5 can be measured based on the machine coordinates where the laser beam 60a is blocked.
  • the tool measuring device is not limited to this form, and any device capable of measuring the tool dimensions can be employed. For example, a device that measures the size of the tool by bringing the probe into contact with the tool, a device that measures the size of the tool by photographing the shape of the tool, and analyzing the image can be exemplified.
  • the machine tool 1 includes a tool changer 40 that automatically changes tools.
  • the tool changer 40 includes a tool magazine 41 that stores a plurality of tools 5, and an operating device 42 that operates the tool between the tool magazine 41 and the spindle 4.
  • the operating device 42 is disposed at a boundary portion between the bed 12 and the tool magazine 41.
  • the operating device 42 has an exchange arm 43 that can turn around a rotation axis extending in the Z-axis direction.
  • the tool magazine 41 of the present embodiment includes a chain assembly 44 that moves along the guide rail.
  • the chain assembly 44 is formed to hold a tool pot into which the tool 5 is inserted.
  • the chain assembly is moved to move to a position where a predetermined tool can be held by the replacement arm 43.
  • the tool 5 held on the spindle 4 is arranged at a position where the changer arm 43 can hold the spindle 5 by moving the spindle head 3.
  • the operation device 42 can attach the tool stored in the tool magazine 41 to the spindle 4.
  • the operating device 42 can move the tool attached to the main shaft 4 to the tool magazine 41.
  • As a tool change apparatus it is not restricted to this form, The tool attached to a main axis
  • FIG. 2 shows a block diagram of the machine tool in the present embodiment.
  • the machine tool 1 includes a control device 70 that controls a moving device of each feed shaft.
  • the control device 70 includes, for example, a CPU (Central Processing Unit), a RAM (Random Access Memory), a ROM (Read Only Memory), and the like connected to each other via a bus.
  • a CPU Central Processing Unit
  • RAM Random Access Memory
  • ROM Read Only Memory
  • the control device 70 includes an input unit 71, a reading interpretation unit 72, an interpolation calculation unit 73, and a servo motor control unit 74.
  • a machining program 76 is prepared in advance.
  • the machining program 76 can be created by a CAM (Computer Aided Manufacturing) device or the like based on the target shape of the workpiece.
  • the target shape of the workpiece can be created by, for example, a CAD (Computer Aided Design) apparatus.
  • the machining program 76 is input to the input unit 71.
  • the machining program 76 includes information on the relative movement of the tool with respect to the workpiece.
  • a command for the machine tool 1 is described by a command code such as a G code or an M code.
  • a machining program newly created by the operator in the information control unit 20 of the control device 70 may be input to the input unit 71.
  • the reading interpretation unit 72 reads the machining program 76 from the input unit 71.
  • the reading interpretation unit 72 sends a movement command to the interpolation calculation unit 73.
  • the interpolation calculation unit 73 calculates a position command value for each interpolation cycle. For example, the interpolation calculation unit 73 calculates a movement amount for each time interval set based on the movement command.
  • the interpolation calculation unit 73 sends the position command value to the servo motor control unit 74.
  • the servo motor control unit 74 calculates the movement amount of each feed axis such as the X axis, the Y axis, and the Z axis based on the position command value, and drives each axis servo motor 75.
  • the control device 70 of the present embodiment includes an information control unit 20 that controls machining information related to workpiece machining, an operation unit 30 in which an operator inputs machining information and the like, and a display unit 28 that displays machining information. including. Examples of the machining information include information relating to programs, information relating to tools, information relating to coordinates, and information relating to inspection.
  • the information control unit 20 acquires a machining program 76 for performing the current machining from the input unit 71.
  • the information control unit 20 includes an arithmetic processing unit 25 that newly creates or edits a program, acquires processing information, and operates the processing information.
  • the arithmetic processing unit 25 can edit the machining program 76 input from the input unit 71 to create a machining program for the current machining, and send it to the input unit 71. Furthermore, the arithmetic processing unit 25 can perform a predetermined determination and a predetermined calculation based on the input machining information.
  • the operation unit 30 includes a keyboard and the like, and includes a manual input unit 29 that inputs processing information by manual operation of an operator.
  • the operation unit 30 according to the present embodiment includes a display unit 28.
  • the display unit 28 employs a touch panel system capable of selecting a desired portion by touching the screen. The operator can input the processing information by operating the screen of the display unit 28.
  • the operation unit 30 is not limited to this form, and any device that allows an operator to input machining information can be employed.
  • the control device 70 includes a storage unit 26 that stores processing information.
  • the storage unit 26 may be a storage device such as a memory card or a hard disk connected via a communication interface in addition to the above-described ROM and RAM.
  • the information control unit 20 includes a display control unit 22 that controls an image displayed on the display unit 28.
  • the display control unit 22 acquires information from the arithmetic processing unit 25 or provides information to the arithmetic processing unit 25.
  • the display control unit 22 has a function of creating an image based on the processing information and displaying the image on the display unit 28.
  • the information control unit 20 can acquire signals from various sensors that detect the operating state of the machine tool.
  • the various sensors include a sensor that detects the amount of movement of each feed shaft, a sensor that detects the rotational speed attached to each axis servo motor 75, a sensor that detects the load on the main shaft, and the like.
  • the tool changer 40 is driven based on a command from the information control unit 20.
  • the tool measuring device 60 operates based on a command from the information control unit 20.
  • Information on the laser beam detected by the tool measuring device 60 is sent to the information control unit 20.
  • the arithmetic processing unit 25 acquires the interrupted state of the laser beam 60a acquired by the tool measuring device 60 and the machine coordinates of each axis, and calculates the dimensions of the tool based on the interrupted state and the machine coordinates.
  • FIG. 3 shows a block diagram of the arithmetic processing unit 25.
  • the arithmetic processing unit 25 includes a machining program analysis unit 25 a that analyzes the machining program 76.
  • the arithmetic processing unit 25 includes a measurement program creation unit 25b that creates a measurement program for measuring the dimensions of the tool.
  • the arithmetic processing unit 25 includes a tool determination unit 25c that performs various determinations based on the tool dimensions measured by the tool measurement device.
  • the arithmetic processing unit 25 includes a storage control unit 25 d that stores processing information in the storage unit 26 and reads processing information from the storage unit 26.
  • FIG. 4 shows a front view of the operation panel arranged in the control device of the machine tool.
  • operation panel 31 includes an operation unit 30 and a display unit 28 of control device 70.
  • the operation panel 31 includes a key input unit 32.
  • a plurality of key switches are arranged in the key input unit 32. By pressing a key switch of the key input unit 32, a predetermined number or character can be input.
  • the operation panel 31 includes an operation switch unit 34 for selecting a predetermined operation and an override setting unit 33 for setting an override value.
  • the override setting unit 33 can set, for example, an override value for the rotational speed of the spindle, an override value for the machining feed rate, and the like.
  • the key input unit 32, the operation switch unit 34, the override setting unit 33, and the like function as the manual input unit 29.
  • the operation panel 31 includes buttons such as an emergency stop button 36 for immediately stopping the machine tool 1 when the machine tool 1 is abnormal and an execution button 35 for starting driving the machine tool 1.
  • Fig. 5 shows the program edit screen for displaying and editing machining programs.
  • the program editing screen 55 displayed on the display unit 28 is a screen for creating and displaying a machining program for machining a workpiece and a test program for trial operation.
  • the creation of a program includes a case where a new program is created and a case where an already created program is edited.
  • selection units 51a to 51d for switching the screen to be displayed are arranged.
  • the program editing screen 55 is displayed when the operator presses the program editing selection unit 51 a.
  • the tool information screen can be displayed by pressing the tool information selection unit 51b.
  • the tool information screen is a screen for inputting, displaying, and editing information regarding the tool.
  • the coordinate information selection unit 51c By pressing the coordinate information selection unit 51c, the coordinate information screen can be displayed.
  • the coordinate information screen is a screen for inputting, displaying, and editing coordinate information.
  • the program execution information selection unit 51d By pressing the program execution information selection unit 51d, the execution information screen can be displayed.
  • the execution information screen is a screen that displays the state of the machine tool and the machining state during the period when the machining program is being executed.
  • a button area 54 is arranged at the bottom of each screen. Buttons for performing predetermined operations are arranged in the button area 54.
  • the program editing screen 55 includes a display area 55a where the contents of the machining program are displayed and a display area 55b where the outline of the machining program is displayed.
  • the machining program analysis unit 25a of the arithmetic processing unit 25 analyzes the machining program.
  • the screen after the analysis of the machining program is shown.
  • the display area 55b information on the machining surface, the coordinate system, and the like are displayed for each tool to be used, such as a face mill or a drill.
  • the main program includes a subprogram
  • information on the subprogram is indicated.
  • the operator can check the machining program shown in the display area 55a while checking the display area 55b. Alternatively, the operator can easily edit the machining program.
  • Fig. 6 shows a tool information screen for displaying and editing tool information.
  • Tool information can be displayed by selecting the tool information selection unit 51b.
  • the tool information screen 56 includes a selection unit 56a for selecting a screen for displaying a tool to be used, and a selection unit 56b for selecting a screen for displaying and editing the tool information stored in the storage unit.
  • the tool data selection unit 56b is selected.
  • Information on each tool is displayed in a tabular format.
  • the tool number is a number for specifying each tool. In the pot number column, the number of the tool pocket of the tool magazine 41 is shown.
  • the spindle tool has shown the tool attached to the spindle.
  • the next tool is arranged at the standby position of the tool, and indicates the next tool to be used.
  • the tool information screen 56 is formed so that a plurality of information can be displayed for each tool. By moving the scroll bar 56c, various information about each tool can be displayed. Further, by moving the scroll bar 56d, it is possible to display information about the tool that is not displayed on the screen. On the tool information screen 56, all the tools stored in the tool magazine 41 are displayed. For this reason, tools that are not described in the machining program of the current machining are also displayed. In the tool information screen 56, all the tools stored in the storage unit 26 can be displayed.
  • the tool used in the machining program can be automatically selected before machining with the machining program. And the machine tool can measure the dimension of the selected tool collectively with the tool measuring device 60.
  • the program is analyzed on the program edit screen 55.
  • the analysis button 54a of the button area 54 is pressed, the machining program analysis unit 25a analyzes the machining program.
  • the machining program analysis unit 25a extracts measurement related information related to tool dimension measurement from the machining program.
  • the measurement related information can include at least one of a tool number, whether or not the tool length is corrected, whether or not the tool diameter is corrected, and the rotation speed of the spindle during machining.
  • the machining program analysis unit 25a extracts, as measurement related information, the tool number, the item for correcting the tool dimensions, and the rotation speed of the spindle during machining determined for each tool. Items for correcting the dimensions of the tool of the present embodiment are the tool length and the tool diameter.
  • the tool length is set to be measured unless specified by the operator.
  • the tool diameter is also set to be measured.
  • the tool diameter is set not to be measured.
  • the tool length may be set not to be measured when the tool length is not corrected in the machining program 76.
  • the machining program analysis unit 25a can analyze the inside of the machining program 76 and extract the presence / absence of correction of the tool length and the correction of the tool diameter from the measurement related information.
  • the storage control unit 25d After the analysis by the machining program analysis unit 25a, the storage control unit 25d stores the extracted tool number, the item for correcting the tool dimension, and the rotation speed of the spindle in the storage unit 26 as measurement related information.
  • the operator selects the selection unit 51 b and displays the tool information screen 56.
  • the selection columns 56e and 56f are columns for selecting a tool for automatically performing dimension measurement.
  • the display control unit 22 displays the marks 57a and 57b in the selection fields 56e and 56f based on the item for correcting the tool dimensions extracted from the machining program 76.
  • the tool on which the mark 57a is displayed is a tool that is described in the machining program 76 and has not been measured for dimensions.
  • the mark 57b is described in the machining program 76, and is displayed on a tool that has been measured in the past and the measurement result is stored in the storage unit 26.
  • For tool length measurement, all tools listed in the machining program 76 are automatically selected. For the measurement of the tool diameter, a tool whose tool diameter is corrected is automatically selected within the machining program 76. In the tool information screen 56, the operator can add or delete items to be measured such as a tool length for a predetermined tool.
  • the machining program analysis unit 25a extracts the tool described in the machining program.
  • the display control unit 22 displays an image in which the tool length measurement is selected for the tool described in the machining program.
  • the machining program analysis unit 25a determines whether or not the machining program includes correction of the tool diameter. When the correction of the tool diameter is included, the display control unit 22 displays an image in which the measurement of the tool diameter is selected on the display unit 28.
  • the control device 70 can automatically select tools and correction items used in the machining program, and can select tools that the operator forgets to select or does not need to be measured. Can be avoided.
  • the tool and correction items described in the machining program 76 can be easily selected in a short time.
  • the display unit 28 displays a notification for performing collective measurement of tools.
  • the execution button 35 of the operation panel 31 by pressing the execution button 35 of the operation panel 31, batch measurement of the tool dimensions is started.
  • the machine tool 1 continuously measures the dimensions of a plurality of selected tools.
  • the arithmetic processing unit 25 automatically creates a measurement program for measuring the dimensions of the tool first.
  • the measurement program creation unit 25b creates a measurement program based on the measurement related information extracted from the machining program 76 and the basic information of the tool.
  • the information related to the tool includes basic information of the tool that is input in advance to the control device 70 by the operator and stored in the storage unit 26.
  • the basic information of the tool can be exemplified by the number of blades, a reference length that is a reference tool length, and a reference diameter that is a reference tool diameter.
  • the reference length includes an allowable value for determining whether or not the reference length can be used.
  • the positive tolerance value and the negative tolerance value are set individually.
  • the reference diameter can be displayed by moving the scroll bar 56c.
  • the reference diameter as with the reference length, the reference dimension, the positive tolerance and the negative tolerance are preset.
  • the ball end mill has a curved tip.
  • the radius end mill has a curved corner at the tip.
  • the basic radius of the tool includes the radius of curvature of the end serving as a reference.
  • a reference dimension is also set in advance for the radius of curvature.
  • the basic information of the tool such as these reference dimensions and allowable values can be input or changed by the operator operating the operation unit 30.
  • the measurement program creation unit 25b of the present embodiment creates a measurement program for each tool.
  • the storage unit 26 stores in advance rules for creating a measurement program.
  • the measurement program creation unit 25b selects one rule for measuring the dimensions of the tool based on the basic information of the tool and the measurement related information. Then, a measurement program is created according to the selected rules. For example, it is necessary to set an argument in a command code for measuring a tool length or a tool diameter.
  • the measurement program creation unit 25b sets the argument of the command code based on the basic information of the tool and the measurement related information.
  • the command code argument can be exemplified by the spindle rotation speed included in the measurement related information. Moreover, as an argument of the command code, an axial shift amount of the tool used when measuring the tool diameter can be exemplified. Moreover, the radial shift amount of the tool used when measuring the tool length can be exemplified. Next, the shift amount related to these measurement positions will be described.
  • Fig. 7 shows an enlarged front view of the tip of the radius end mill.
  • a radius end mill 81 will be exemplified and described as a tool.
  • the dimension of the tool is measured by bringing a part of the tool into contact with the laser beam while rotating the tool.
  • the radius end mill 81 has a corner portion 81a at the tip thereof formed in a curved surface shape. That is, unlike the flat end mill, the cross-sectional shape of the corner 81a is curved. For this reason, it is preferable to measure the outermost position in contact with the workpiece while avoiding the curved portion in the dimension measurement.
  • the tool diameter when measuring the tool diameter, it is preferable to move the tool so that the measurement point 82a avoiding the curved portion comes into contact with the laser beam. It is preferable to perform measurement at a measurement point 82a that is shifted in the axial direction by a shift amount La from the tip of the radius end mill 81. Then, as indicated by an arrow 101, accurate measurement can be performed by bringing the measuring point 82a into contact with the laser beam 60a of the tool measuring device 60. Similarly, when measuring the tool length, it is preferable to move the tool so that the measurement point 82b avoiding the curved portion is in contact with the laser beam 60a. It is preferable to perform the measurement at a measurement point 82b that is separated from the central axis CL of the radius end mill 81 in the radial direction by a shift amount Ra.
  • shift amounts La and Ra are determined depending on the type and size of the tool.
  • the radius of curvature of the corner 81a of each tool is included in the basic information of the tool.
  • the measurement program creation unit 25b of the present embodiment automatically calculates the shift amounts La and Ra based on the basic information of the tool. Then, the measurement program creation unit 25b sets the shift amounts La and Ra as arguments of a command code for measuring the tool dimensions.
  • the control device 70 drives each axis servo motor 75 based on this command code, whereby the measurement points 82a and 82b can be brought into contact with the laser beam 60a.
  • the amount of shift of such measurement points varies from tool to tool.
  • the radial shift amount Ra can be set to a value obtained by subtracting a predetermined value from the reference diameter.
  • the axial shift amount La can be set to 0 mm.
  • the radial shift amount Ra can be set to 0 mm.
  • the axial shift amount La can be set to the curvature radius of the tip.
  • the measurement program creation unit 25b is formed so that a necessary shift amount can be calculated for each tool.
  • the measurement program creation unit 25b calculates the measurement position of each tool based on the basic information of the tool.
  • the tool dimensions are measured at the calculated measurement position. For this reason, accurate tool dimension measurement can be performed. Further, an error in setting the shift amount of the worker can be avoided.
  • the control device of this embodiment automatically creates a measurement program for each tool. For this reason, the operator does not need to create a measurement program corresponding to each tool, and can easily measure the dimensions of the tool.
  • the warm-up operation of the machine tool 1 is performed before measuring the tool dimensions.
  • the temperature of the spindle 4 rises due to heat generated by the bearings and the like.
  • the main shaft 4 rises, the main shaft is thermally expanded and the position of the tool center changes. For example, the position of the tip of the flat end mill moves as the temperature of the spindle rises.
  • FIG. 8 is a graph showing the relationship between the warm-up time of the machine tool and the amount of elongation of the spindle in the axial direction.
  • the extension amount of the main shaft corresponds to the movement amount of the position of the tip of the tool.
  • the extension amount of the rotational speed of the three main spindles 4 is described. It can be seen that as the rotational speed of the main shaft 4 increases, the maximum temperature of the main shaft increases and the amount of elongation of the main shaft increases. However, at any rotational speed, it can be seen that the extension amount of the main shaft becomes substantially constant after a predetermined time has elapsed. Thus, by continuing the warm-up time for a predetermined time or longer, the extension amount of the main shaft becomes constant.
  • the maximum extension amount of the spindle does not depend on the type of tool or the size of the tool but depends on the rotational speed of the spindle 4.
  • the arithmetic processing unit 25 of the control device 70 extracts the rotation speed of the tool from the machining program 76.
  • the rotational speed of the tool corresponds to the rotational speed of the main shaft.
  • the motor is driven at a rotational speed at which actual machining is performed. For this reason, the extension amount of the main shaft can be made the same as that during actual machining, and the tool dimensions can be accurately measured.
  • the storage unit 26 stores in advance the warm-up operation time with respect to the rotation speed of the main shaft. Then, the control device 70 of the machine tool sets the warm-up operation time according to the rotational speed of the spindle.
  • the control device 70 performs the warm-up operation for a set time before measuring the tool dimensions. Next, the dimension of the tool is measured based on the measurement program.
  • the measurement program may include a warm-up operation command. Thus, the dimension measurement of one tool can be implemented.
  • the storage control unit 25d causes the storage unit 26 to store the measured tool dimensions.
  • the control device 70 drives the tool changer 40 to change the tool.
  • the tool changer 40 returns the tool attached to the spindle 4 to the tool magazine 41.
  • the tool changer 40 attaches a tool for performing the next measurement to the spindle 4.
  • the next tool is automatically warmed up and dimensioned.
  • the control device 70 repeats this control until the measurement of all the tools on which the marks 57a and 57b are displayed is completed.
  • the warm-up operation is performed for each tool for a length of time corresponding to the rotation speed of the tool.
  • the present invention is not limited to this mode, and the previous tool and the next tool are used. Based on the rotation speed of the spindle at the time of measurement, the warm-up operation time may be shortened or the warm-up operation may be omitted.
  • Fig. 9 shows the tool information screen after measuring the tool dimensions.
  • the correction length and the correction radius are shown as a measurement result by moving the scroll bar 56c.
  • the correction length indicates the measurement result of the tool length.
  • the correction radius indicates the measurement result of the tool diameter.
  • the machine tool 1 is driven based on these correction length and correction radius.
  • the information control unit 20 edits the machining program so as to correct the tool path based on the correction length and the correction radius.
  • the display control unit 22 acquires the measurement result from the storage unit 26 and displays the measurement result on the tool information screen 56.
  • the measured value is displayed in the column of the correction length and the correction radius for the tool that has performed the measurement.
  • the operator can confirm the measured value.
  • the correction corner R is the radius of curvature of the corner portion of the radius end mill. In the present embodiment, when the radius of curvature is corrected, the correction value of the radius of curvature is input by the operator through the operation unit 30.
  • items such as a tool whose dimensions are not measured and a correction radius are blank, but the present invention is not limited to this form.
  • a reference length, a reference diameter, a reference radius of curvature, and the like are included. It may be displayed.
  • the control device of this embodiment can measure the dimensions of the tool while automatically switching the measurement conditions for each tool.
  • Dimension measurement can be automatically performed by a measurement method according to the tool.
  • the dimension measurement of a some tool can be performed automatically continuously. For this reason, an operator's erroneous operation can be suppressed.
  • the tool dimensions can be measured in a short time. Further, since the measurement position of the tool for measuring the dimension is automatically calculated and measured at the measurement position, the tool dimension can be measured with high accuracy in a short time.
  • the tool dimensions are measured while rotating the spindle at the rotational speed extracted from the measurement related information.
  • the dimensions of the tool can be accurately measured. As a result, machining accuracy is improved.
  • a tool that is prohibited from rotating a tool that is prohibited from being used, and a tool that is prohibited from measuring the dimensions of the tool are set in advance.
  • tools that are prohibited from rotating include probes and hail tools for measuring workpieces.
  • the tools whose use is prohibited include a tool whose tool size exceeds an allowable range, a tool whose tool life has been reached, a broken tool, and the like.
  • An example of a tool whose dimension measurement is prohibited is a tool whose tip portion is large and cannot be measured by the tool measuring apparatus. For example, a front milling machine etc. can be illustrated.
  • Such prohibited items of the tool can be displayed by moving the scroll bar 56c.
  • the arithmetic processing unit 25 also operates when the tool for which these prohibited items are set is selected to perform dimension measurement in the selection fields 56e and 56f. Control is performed without measuring the dimensions. By this control, unnecessary measurement can be avoided.
  • the arithmetic processing unit 25 of the present embodiment sets the approximate tool length from the reference dimension of the reference length and the allowable value.
  • the first approximate tool length is a length obtained by adding a positive-side allowable value to the reference dimension.
  • the first approximate tool length is the longer approximate tool length.
  • the second approximate tool length is a length obtained by subtracting the negative tolerance from the reference dimension.
  • the second approximate tool length is the shorter approximate tool length.
  • the measurement program creating unit 25b of the control device 70 can set the first approximate tool length as an argument of the command code for tool measurement. Based on the first approximate tool length, the machine tool 1 can relatively move the spindle 4 and the table 14 at a high speed from the laser beam 60a to a position where the tool is slightly separated.
  • the tool can be relatively moved at a high speed to a position where the first approximate tool length includes a predetermined margin length and is away from the laser beam 60a.
  • the movement time of the table 14 and the spindle 4 can be shortened, and the measurement time of the tool can be shortened.
  • control device 70 of the present embodiment can determine whether or not the measured tool is a tool used in the machining program based on the measurement result of the tool dimensions. Referring to FIG. 6, a reference dimension and an allowable value are determined in advance for the reference length and the reference diameter. That is, an allowable range is defined for the tool length and the tool diameter.
  • the tool determination unit 25c determines whether or not the measurement result of the tool is within the allowable range of the tool dimensions. When the dimension of the tool is out of the allowable range, the tool determination unit 25c determines that the measured tool, that is, the tool arranged in the tool magazine 41 is not a desired tool but another tool. In this case, the display control unit 22 displays an image in which an incorrect tool is arranged in the tool magazine 41 on the tool information screen 56. For example, referring to FIG. 9, there is a column for displaying a warning when the scroll bar 56c is moved, and a warning text indicating the content of the error is displayed in this column.
  • the tool to be used is a desired tool, it can be determined based on the first approximate tool length or the second approximate tool length.
  • the tool determination unit 25c differs in the tool being measured. Can be determined.
  • the tool is determined to be different when the position where the tool blocks the laser beam 60a is farther than the relative position based on the first approximate tool length. Then, the dimension measurement of the tool is interrupted, and the display control unit 22 can display on the tool information screen 56 that the tools are different.
  • the tool is different if the tool determination unit 25c does not detect a signal even when it reaches the position based on the second approximate tool length during the period when the tool is approaching the tool measuring device 60. Can be determined.
  • the measurement is performed when the tip of the tool does not block the laser beam. It can be determined that the tools are different. Then, the measurement of the dimensions of the tool is interrupted, and the fact that the tools are different is displayed on the tool information screen.
  • the first approximate tool diameter and the second approximate tool diameter are set and used based on the first approximate tool diameter and the second approximate tool diameter. It can be determined whether the tool to be performed is a desired tool.
  • control device 70 of the present embodiment can automatically detect that different tools are arranged in the tool magazine 41.

Abstract

 加工プログラムに基づいて工具を交換してワークを加工する工作機械の制御装置であって、加工プログラムを解析し、工具の寸法測定に関連する測定関連情報を加工プログラムから抽出する加工プログラム解析部(25a)と、測定関連情報と予め入力されている工具の基本情報とに基づいて、工具の寸法を測定するための測定プログラムを作成する測定プログラム作成部(25b)とを備える。

Description

工作機械の制御装置および工作機械
 本発明は、工作機械の制御装置および工作機械に関する。
 従来の技術では、ワークに対して工具を相対移動させて切削等の加工を行う工作機械が知られている。また、このような工作機械において工具の経路を所定の送り軸の座標等により指定し、ワークに対して工具を移動させながら加工を行う数値制御式の工作機械が知られている。工作機械は、制御装置の指令に従ってワークおよび工具のうち少なくとも一方が移動することにより、ワークに対する工具の相対位置を変更しながら自動的に加工を行うことができる。
 ワークに対する工具の相対位置を定めた工具経路を作成するときには、工具の形状が考慮される。たとえば、工具の移動する経路は工具中心を基準に設定される。工具中心は工具の中心軸上に設定されるが、実際に加工を行うのは工具の表面である。このために、工具経路は、工具径を考慮して作成される。ところが、工具の形状には個体差があり、工具の基準寸法に対して誤差が存在する。このために、工作機械には、工具長や工具径などの工具の寸法を測定する工具測定装置を備えるものがある。
 特開平8-229776号公報においては、静電容量式の変位測定器にて工具長を測定する測定装置を備える工作機械が開示されている。この工作機械では、実際の加工時の回転数で回転中の工具を変位測定器の測定電極に接近させる。工具と測定電極との間隙が所定の基準値になったときの送り軸の位置データを位置検出部で検出する。そして、演算部は、工具データ記憶部に予め記憶された工具データを取り込み、位置データと工具データとから工具の刃先位置変位を演算することが開示されている。
特開平8-229776号公報
 工作機械では、工具の基準寸法に基づいて作成された工具経路を含む加工プログラムを用いることができる。また、工作機械は、工具測定装置にて工具の寸法を測定し、実際に測定した工具の寸法に基づいて工具経路を補正することができる。実際に測定した工具の寸法に基づいて工具経路を補正することにより、ワークの加工後の寸法の誤差を低減することができる。このために、ワークの加工を行う前には工具の寸法を実際に測定して工具経路を補正することが好ましい。
 ところで、従来の技術における工作機械の工具測定装置では、作業者が加工プログラムにて使用される工具を予め選定する。そして、作業者が1本の工具ごとに工具測定装置にて寸法の測定を行っていた。工具の寸法測定を行う場合には、作業者が手動で工具測定装置を駆動して測定する他に、1本の工具ごとに自動的に測定を行う測定プログラムを作成し、測定プログラムに基づいて工具の寸法測定を行っていた。
 ところが、作業者が手動で工具の寸法の測定を行う場合には、使用する工具を選定するときに誤りが生じたり、工具測定装置の操作を誤ったりすることがあった。また、時間がかかるという問題があった。予め測定プログラムを作成して工具の寸法測定を行う場合にも、測定プログラムに誤りが含まれていたり、全ての工具の測定プログラムを作成するために時間がかかったりするという問題がある。
 本発明は、自動的に工具に応じた測定方法にて工具の寸法の測定を行うことができる工作機械の制御装置および工作機械を提供することを目的とする。
 本発明の工作機械の制御装置は、加工プログラムに基づいて工具を交換してワークを加工する工作機械の制御装置であって、加工プログラムを解析し、工具の寸法測定に関連する測定関連情報を加工プログラムから抽出する加工プログラム解析部と、測定関連情報を記憶する記憶部と、測定関連情報と予め入力されている工具の基本情報とに基づいて、工具の寸法を測定するための測定プログラムを作成する測定プログラム作成部とを備える。
 上記発明においては、測定関連情報は、工具番号、工具長の補正の有無、工具径の補正の有無、および加工時の主軸の回転速度のうち少なくとも一つを含むことができる。
 上記発明においては、工具の基本情報は、工具の種類、基準の工具長、基準の工具径、刃数および工具の端部の曲率半径のうち少なくとも一つを含むことができる。
 上記発明においては、記憶部は、測定プログラムを作成する規則を記憶しており、測定プログラム作成部は、測定関連情報および工具の基本情報に対応する1つの規則を選定し、選定した規則に基づいて測定プログラムを作成することができる。
 上記発明においては、測定プログラム作成部は、工具の基本情報に基づいて、工具における測定位置を算出し、測定位置に基づいて測定プログラムを作成することができる。
 上記発明においては、加工に関する情報を表示する表示部と、表示部の表示を制御する表示制御部とを備え、加工プログラム解析部は、加工プログラムに工具径の補正が含まれているか否かを判別し、表示制御部は、工具径の補正が含まれている場合に表示部に工具径の測定を選択した画像を表示することができる。
 上記発明においては、寸法を測定した工具が、予め定められた工具か否かを判別する工具判定部を備え、工具判定部は、測定した工具の寸法が予め定められた許容範囲を超えている場合には、測定した工具が予め定められた工具とは異なると判定することができる。
 本発明の工作機械は、上述の工作機械の制御装置と、工具の寸法を測定する工具測定装置とを備える。
 本発明によれば、自動的に工具に応じた測定方法にて工具の寸法の測定を行うことができる工作機械の制御装置および工作機械を提供することができる。
工作機械の平面図である。 工作機械のブロック図である。 工作機械の制御装置の演算処理部のブロック図である。 工作機械の操作盤の概略正面図である。 実施の形態におけるプログラム編集画面である。 実施の形態の工具情報画面における第1の画面である。 ラジアスエンドミルの先端部の正面図である。 暖気時間に対する主軸の伸び量のグラフである。 実施の形態の工具情報画面における第2の画面である。
 図1から図9を参照して、実施の形態における工作機械の制御装置および工作機械について説明する。本実施の形態の工作機械は、加工プログラムに基づいて自動的に工具とワークとを相対的に移動させて加工を行う数値制御式である。
 図1は、本実施の形態の数値制御式の工作機械の概略平面図である。工作機械1は、横形マシニングセンタである。工作機械1は、工具とワークとを相対移動させる移動装置を備える。移動装置は、複数の移動軸の方向に被駆動物を移動させる。複数の移動軸は、直線送り軸として互いに直交するX軸、Y軸およびZ軸を含む。
 工作機械1は、基台となるベッド12と、ベッド12の上面に立設されたコラム16とを備える。ベッド12の上面には、Z軸ガイドレール18が固定されている。Z軸ガイドレール18の上面には、テーブルベースを介してテーブル14が配置されている。ワークは、パレット15を介してテーブル14に固定される。テーブル14は、Z軸ガイドレール18に沿ってZ軸方向に移動可能に形成されている。
 コラム16の前面には、サドル17が配置されている。コラム16には、X軸ガイドレール19が固定されている。サドル17は、X軸ガイドレール19に沿って移動可能に形成されている。
 サドル17の前面には、主軸ヘッド3が配置されている。サドル17には、Y軸ガイドレールが固定されている。主軸ヘッド3は、Y軸ガイドレールに沿って移動可能に形成されている。主軸ヘッド3は、主軸4を支持する。主軸4には、ワークを加工する工具5が固定される。主軸4には、工具5を回転させるためのモータが内蔵されている。このモータが駆動することにより、工具5は主軸4の軸線を回転軸にして回転する。
 本実施の形態の工作機械1は、工具5がX軸方向およびY軸方向に移動し、ワークがZ軸方向に移動する。なお、移動装置としては、この形態に限られず、任意の装置でワークに対して工具を相対移動させることができる。また、工作機械としては、直線送り軸の他に、所定の軸線の周りに回転する回転送り軸を有していても構わない。
 本実施の形態の工作機械1は、工具の寸法を測定する工具測定装置60を備える。工具測定装置60は、テーブル14の端部に配置されている。本実施の形態の工具測定装置60は、レーザ光60aを発振する。レーザ光60aに工具5を接近させると、工具5によりレーザ光60aが遮断される。レーザ光60aが遮断された機械座標に基づいて工具5の寸法を測定することができる。工具測定装置としては、この形態に限られず、工具の寸法の測定が可能な任意の装置を採用することができる。たとえば、プローブを工具に接触させることにより工具の寸法を測定する装置や、工具の形状を撮影して画像解析することにより工具の寸法を測定する装置等を例示することができる。
 工作機械1は、自動的に工具を交換する工具交換装置40を備える。工具交換装置40は、複数の工具5を保管する工具マガジン41と、工具マガジン41と主軸4との間で工具を操作する操作装置42とを含む。操作装置42は、ベッド12と工具マガジン41との境界の部分に配置されている。操作装置42は、Z軸方向に延びる回転軸線を中心として旋回可能な交換アーム43を有している。
 本実施の形態の工具マガジン41は、ガイドレールに沿って移動するチェーン組立て体44を含む。チェーン組立て体44は、工具5を挿入する工具ポットを保持するように形成されている。工具5を交換する時には、チェーン組立て体が移動することにより、所定の工具を交換アーム43にて保持できる位置まで移動する。また、主軸ヘッド3が移動することにより、主軸4に保持されている工具5を交換アーム43にて保持できる位置に配置する。そして、操作装置42は、工具マガジン41に保管されている工具を主軸4に取り付けることができる。または、操作装置42は、主軸4に取り付けられている工具を工具マガジン41に移動することができる。なお、工具交換装置としては、この形態に限られず、主軸に取り付ける工具を交換可能に形成されていれば構わない。
 図2に、本実施の形態における工作機械のブロック図を示す。工作機械1は、各送り軸の移動装置の制御を行う制御装置70を備える。制御装置70は、例えば、バスを介して互いに接続されたCPU(Central Processing Unit)、RAM(Random Access Memory)、およびROM(Read Only Memory)等を備えている。
 制御装置70は、入力部71、読取解釈部72、補間演算部73、およびサーボモータ制御部74を含む。数値制御式の工作機械にて加工する場合には、加工プログラム76を予め準備する。加工プログラム76は、ワークの目標形状に基づいてCAM(Computer Aided Manufacturing)装置等にて作成することができる。ワークの目標形状は、例えば、CAD(Computer Aided Design)装置にて作成することができる。
 入力部71には、加工プログラム76が入力される。加工プログラム76には、ワークに対する工具の相対移動の情報が含まれている。加工プログラム76には、例えば、GコードやMコード等の指令コードにより工作機械1に対する指令が記載されている。なお、制御装置70の情報制御部20において作業者が新規に作成した加工プログラムが入力部71に入力されても構わない。
 読取解釈部72は、入力部71から加工プログラム76を読み込む。読取解釈部72は、移動指令を補間演算部73に送出する。補間演算部73は、補間周期毎の位置指令値を演算する。例えば、補間演算部73は、移動指令に基づいて設定された時間間隔ごとの移動量を算出する。補間演算部73は、位置指令値をサーボモータ制御部74に送出する。サーボモータ制御部74は、位置指令値に基づいてX軸、Y軸、およびZ軸等の各送り軸の移動量を算出し、各軸サーボモータ75を駆動する。
 本実施の形態の制御装置70は、ワークの加工に関連する加工情報を制御する情報制御部20と、作業者が加工情報等を入力する操作部30と、加工情報を表示する表示部28とを含む。加工情報としては、プログラムに関する情報、工具に関する情報、座標に関する情報、および検査に関する情報等を例示することができる。情報制御部20は、今回の加工を行うための加工プログラム76を入力部71から取得する。情報制御部20は、プログラムを新規に作成または編集したり、加工情報を取得して加工情報の操作を行ったりする演算処理部25を含む。例えば、演算処理部25は、入力部71から入力された加工プログラム76を編集して今回の加工の加工プログラムを作成し、入力部71に送出することができる。更に、演算処理部25は、入力された加工情報に基づいて所定の判断や所定の計算を行うことができる。
 操作部30は、キーボード等を有し、作業者の手動操作により加工情報を入力する手入力部29を含む。本実施の形態の操作部30は、表示部28を含む。本実施の形態では、表示部28は、画面を接触することにより所望の部分の選択が可能なタッチパネル方式が採用されている。作業者が表示部28の画面を操作することにより、加工情報を入力することができる。操作部30としては、この形態に限られず、作業者が加工情報を入力可能な任意の装置を採用することができる。
 制御装置70は、加工情報を記憶する記憶部26を含む。記憶部26は、前述のROMやRAMの他に、通信インターフェイスを介して接続されたメモリーカードやハードディスクなどの記憶装置であっても構わない。
 情報制御部20は、表示部28に表示する画像を制御する表示制御部22を含む。表示制御部22は、演算処理部25から情報を取得したり、演算処理部25に情報を提供したりする。また、表示制御部22は、加工情報に基づいて画像を作成し、この画像を表示部28に表示する機能を有する。
 情報制御部20は、工作機械の運転状態を検出する各種センサの信号を取得することができる。各種センサとしては、それぞれの送り軸の移動量を検出するセンサ、各軸サーボモータ75に取り付けられた回転速度を検出するセンサ、および、主軸の負荷を検出するセンサ等を例示することができる。
 工具交換装置40は、情報制御部20の指令に基づいて駆動する。また、工具測定装置60は、情報制御部20の指令に基づいて動作する。そして、工具測定装置60にて検出されたレーザ光に関する情報は、情報制御部20に送出される。演算処理部25は、工具測定装置60にて取得されたレーザ光60aの遮断状態と、各軸の機械座標とを取得し、遮断状態と機械座標とに基づいて工具の寸法を算出する。
 図3に、演算処理部25のブロック図を示す。演算処理部25は、加工プログラム76の解析を行う加工プログラム解析部25aを含む。演算処理部25は、工具の寸法を測定する測定プログラムを作成する測定プログラム作成部25bを含む。演算処理部25は、工具測定装置により測定した工具の寸法に基づいて各種の判定を行う工具判定部25cを含む。演算処理部25は、記憶部26に加工情報を記憶させたり、記憶部26から加工情報を読み込んだりする記憶制御部25dを含む。
 図4に、工作機械の制御装置に配置されている操作盤の正面図を示す。図1、図2および図4を参照して、操作盤31は、制御装置70の操作部30および表示部28を含む。操作盤31は、キー入力部32を含む。キー入力部32には、複数のキースイッチが配置されている。キー入力部32のキースイッチを押すことにより、所定の数字や文字を入力することができる。
 また、操作盤31は、所定の操作の選択を行う操作スイッチ部34およびオーバライド値の設定を行うオーバライド設定部33を含む。オーバライド設定部33は、例えば、主軸の回転速度のオーバライド値や加工の送り速度のオーバライド値等を設定することができる。キー入力部32、操作スイッチ部34およびオーバライド設定部33等は、手入力部29として機能する。その他に操作盤31は、工作機械1の異常時に即時に工作機械1を停止させる非常停止ボタン36や工作機械1の駆動を開始するための実行ボタン35等のボタンを含む。
 図5に、加工プログラムを表示および編集するためのプログラム編集画面を示す。表示部28に表示されるプログラム編集画面55は、ワークの加工を行う加工プログラムや試運転のための試験プログラムを作成および表示するための画面である。プログラムの作成には、新規にプログラムを作成する場合と、既に作成されているプログラムを編集する場合とが含まれる。画面の左側には、表示する画面を切り替える選択部51a~51dが配置されている。図5の例では、作業者がプログラム編集の選択部51aを押すことにより、プログラム編集画面55が表示されている。
 選択部51a~51dを押すことにより、実際の加工の際に頻繁に使う画面を表示することができる。例えば、工具情報の選択部51bを押すことにより、工具情報画面を表示することができる。工具情報画面は、工具に関する情報を入力、表示および編集するための画面である。座標情報の選択部51cを押すことにより、座標情報画面を表示することができる。座標情報画面は、座標情報を入力、表示および編集するための画面である。プログラム実行情報の選択部51dを押すことにより、実行情報画面を表示することができる。実行情報画面は、加工プログラムを実行している期間中に工作機械の状態や加工状態を表示する画面である。それぞれの画面の下部には、ボタン領域54が配置されている。ボタン領域54には、予め定められた操作を行うためのボタンが配置されている。
 プログラム編集画面55は、加工プログラムの内容が表示されている表示領域55aと、加工プログラムの概要が表示されている表示領域55bとを含む。作業者がボタン54aを押すと、演算処理部25の加工プログラム解析部25aは、加工プログラムの解析を実施する。図5に示す例では加工プログラムの解析を実施した後の画面が示されている。表示領域55bには、正面フライスやドリルなどの使用する工具ごとに加工面や座標系の情報等が表示される。また、主プログラムに副プログラムが含まれる場合には、副プログラムの情報が示される。作業者は、表示領域55bを確認しながら表示領域55aに示される加工プログラムの確認を行うことができる。または、作業者は、加工プログラムの編集を容易に行うことができる。
 図6に、工具情報を表示および編集するための工具情報画面を示す。工具情報の選択部51bを選択することにより、工具情報を表示することができる。工具情報画面56には、使用する工具を表示する画面を選択する選択部56aと、記憶部に記憶されている工具の情報を表示および編集する画面を選択する選択部56bとを有する。ここでは、工具データの選択部56bが選択されている。それぞれの工具の情報は、表形式で表示されている。工具番号は、それぞれの工具を特定するための番号である。ポット番号の欄には、工具マガジン41のツールポケットの番号が示されている。そして、主軸工具は、主軸に取り付けられている工具を示している。次工具は、工具の待機位置に配置され、次に使用される予定の工具を示している。
 工具情報画面56では、それぞれの工具に対して複数の情報が表示可能に形成されている。スクロールバー56cを動かすことにより、それぞれの工具についての様々な情報を表示することができる。また、スクロールバー56dを動かすことにより、画面に表示されていない工具の情報を表示することができる。工具情報画面56では、工具マガジン41に保管されているすべての工具が表示されている。このために、今回の加工の加工プログラムに記載されていない工具も表示されている。なお、工具情報画面56では、記憶部26に記憶されている全ての工具を表示することもできる。
 本実施の形態の工作機械1では、加工プログラムにて加工を行う前に、加工プログラムに使用されている工具を自動的に選定することができる。そして、工作機械は、工具測定装置60にて、選定した工具の寸法を一括して測定することができる。
 図3および図5を参照して、工具の寸法測定を一括して自動的に行う場合には、始めにプログラム編集画面55において、プログラムの解析を行う。ボタン領域54の解析のボタン54aを押すと、加工プログラム解析部25aは、加工プログラムの解析を実施する。
 加工プログラム解析部25aは、工具の寸法測定に関連する測定関連情報を加工プログラムから抽出する。測定関連情報は、工具番号、工具長の補正の有無、工具径の補正の有無、および加工時の主軸の回転速度のうち少なくとも一つを含むことができる。本実施の形態においては、加工プログラム解析部25aは、測定関連情報として、工具番号、工具の寸法を補正する項目、およびそれぞれの工具について定められている加工時の主軸の回転速度を抽出する。本実施の形態の工具の寸法を補正する項目は、工具長および工具径である。
 本実施の形態では、工具の寸法測定を行う場合には、作業者の指定が無い限り工具長の測定を実施するように設定される。本実施の形態では、加工プログラム76の内部で工具径の補正が行われている場合には工具径の測定も実施するように設定される。一方で、加工プログラム76の内部で工具径の補正が行われていない場合には工具径の測定は実施しないように設定される。なお、工具長についても、加工プログラム76の内部で工具長の補正が行われていない場合には工具長の測定は実施しないように設定しても構わない。このように、加工プログラム解析部25aは、加工プログラム76の内部を解析して、測定関連情報のうち工具長の補正の有無と工具径の補正の有無を抽出することができる。
 加工プログラム解析部25aにおいて解析を行った後には、記憶制御部25dは、抽出した工具番号、工具の寸法を補正する項目、および主軸の回転速度を測定関連情報として記憶部26に記憶させる。
 図6を参照して、作業者は、加工プログラム76の解析が終了した後に、選択部51bを選択し、工具情報画面56を表示する。選択欄56e,56fは、自動的に寸法測定を実施する工具を選択する欄である。表示制御部22は、加工プログラム76から抽出した工具の寸法を補正する項目に基づいて、選択欄56e,56fにマーク57a,57bを表示する。マーク57aが表示されている工具は、加工プログラム76に記載されており、寸法の測定を行っていない工具である。マーク57bは、加工プログラム76に記載されており、過去に測定を行って記憶部26に測定結果が記憶されている工具に表示される。
 工具長の測定については、加工プログラム76に記載されている全ての工具が自動的に選定される。工具径の測定については、加工プログラム76の内部で工具径の補正が行われている工具が自動的に選定される。なお、工具情報画面56では、作業者は、所定の工具に対して、工具長などの測定する項目を追加したり削除したりすることができる。
 このように、加工プログラム解析部25aは、加工プログラムに記載されている工具を抽出する。表示制御部22は、加工プログラムに記載されている工具について工具長の測定を選択した画像を表示する。一方で、加工プログラム解析部25aは、加工プログラムに工具径の補正が含まれているか否かを判別する。工具径の補正が含まれている場合に、表示制御部22は、表示部28に工具径の測定を選択した画像を表示する。
 本実施の形態の制御装置70は、加工プログラムに使用されている工具および補正の項目を自動的に選定することができて、作業者が選定し忘れたり、測定が不必要の工具を選定したりすることを回避できる。また、短時間で容易に加工プログラム76に記載されている工具および補正の項目を選定することができる。
 次に、作業者は、ボタン領域54の一括測定のボタン54bを押す。表示部28には、工具の一括測定を実施する通知が表示される。この状態で、図4を参照して、操作盤31の実行ボタン35を押すことにより工具の寸法の一括測定が開始される。工作機械1は、選択された複数の工具の寸法測定を連続して行う。
 図2および図3を参照して、演算処理部25は、はじめに工具の寸法測定を行うための測定プログラムを自動的に作成する。測定プログラム作成部25bは、加工プログラム76から抽出した測定関連情報と、工具の基本情報とに基づいて測定プログラムを作成する。
 図6を参照して、工具に関連する情報には、作業者が予め制御装置70に入力し、記憶部26に記憶されている工具の基本情報が含まれる。工具の基本情報としては、工具の名称や工具の種類を例示することができる。また、工具の基本情報としては、刃数、基準の工具長である基準長、および基準の工具径である基準径を例示することができる。基準長には、基準寸法に加えて、使用可能か否かを判別する許容値が含まれる。本実施の形態では、正側の許容値と負側の許容値とが個別に設定されている。基準径は、スクロールバー56cを移動させて表示することができる。基準径についても、基準長と同様に、基準寸法および正側の許容値および負側の許容値が予め設定されている。
 さらに、ボールエンドミルは、先端部が曲面状になっている。ラジアスエンドミルは、先端部の角部が曲面状に形成されている。このような曲面状の部分を有する工具については、工具の基本情報に基準となる端部の曲率半径が含まれる。曲率半径についても、基準寸法が予め設定されている。これらの基準寸法および許容値等の工具の基本情報は、作業者が操作部30を操作することにより入力したり変更したりすることができる。
 本実施の形態の測定プログラム作成部25bは、それぞれの工具ごとに測定プログラムを作成する。記憶部26には、測定プログラムを作成する規則が予め記憶されている。測定プログラム作成部25bは、工具の基本情報と測定関連情報とに基づいて、工具の寸法を測定する1つの規則を選定する。そして、選定した規則に従って測定プログラムを作成する。例えば、工具長や工具径を測定する為の指令コードには、引数を設定する必要がある。測定プログラム作成部25bは、指令コードの引数を工具の基本情報および測定関連情報に基づいて設定する。
 指令コードの引数としては、測定関連情報に含まれる主軸の回転速度を例示することができる。また、指令コードの引数としては、工具径を測定する時に使用する工具の軸方向のシフト量を例示することができる。また、工具長を測定する時に使用する工具の径方向のシフト量を例示することができる。次に、これらの測定位置に関するシフト量について説明する。
 図7に、ラジアスエンドミルの先端の拡大正面図を示す。ここでは、工具としてラジアスエンドミル81を例示して説明する。本実施の形態の工具の寸法測定では、工具を回転させながら工具の一部分をレーザ光に接触させることにより、工具の寸法を測定する。ラジアスエンドミル81は、先端部の角部81aが曲面状に形成されている。すなわち、フラットエンドミルとは異なり、角部81aの断面形状が曲線状になる。このために、寸法の測定では曲面状の部分を避けて、ワークに接触する最も外側の位置を測定することが好ましい。
 たとえば、工具径の測定を行う場合には、曲面状の部分を避けた測定点82aがレーザ光に接触するように工具を移動することが好ましい。ラジアスエンドミル81の先端から軸方向にシフト量La離れた測定点82aにて測定を行うことが好ましい。そして、矢印101に示すように、工具測定装置60のレーザ光60aに測定点82aを接触させることにより、正確な測定を行うことができる。同様に、工具長の測定を行う場合には、曲面状の部分を避けた測定点82bがレーザ光60aに接触するように工具を移動することが好ましい。ラジアスエンドミル81の中心軸CLから径方向にシフト量Ra離れた測定点82bにて測定を行うことが好ましい。
 これらのシフト量La,Raは、工具の種類や大きさに依存して定まる。それぞれの工具の角部81aの曲率半径は、工具の基本情報に含まれている。本実施の形態の測定プログラム作成部25bは、工具の基本情報に基づいて、シフト量La,Raを自動的に算出する。そして、測定プログラム作成部25bは、シフト量La,Raを工具の寸法測定を行う指令コードの引数として設定する。制御装置70がこの指令コードに基づいて各軸サーボモータ75を駆動することにより、測定点82a,82bをレーザ光60aに接触させることができる。
 このような測定点のシフト量は、工具ごとに異なる。たとえば、工具がフラットエンドミルの場合には、径方向のシフト量Raは、基準径から予め定められた値を減算した値を設定することができる。軸方向のシフト量Laは、0mmに設定することができる。また、工具がボールエンドミルの場合には、径方向のシフト量Raは、0mmに設定することができる。軸方向のシフト量Laは先端の曲率半径に設定することができる。
 本実施の形態の測定プログラム作成部25bは、工具ごとに必要なシフト量を算出可能に形成されている。測定プログラム作成部25bは、工具の基本情報に基づいて、それぞれの工具の測定位置を算出する。算出した測定位置において、工具の寸法測定を行う。このために、正確な工具の寸法測定を行うことができる。また作業員のシフト量の設定の誤り等を回避することができる。
 本実施の形態の制御装置は、自動的に工具ごとに測定プログラムを作成する。このために、作業者は、それぞれの工具に対応する測定プログラムを作成する必要がなく、容易に工具の寸法測定を実施することができる。
 ところで、工具の寸法を測定する前には工作機械1の暖機運転を実施する。工作機械1は、運転を継続すると、軸受等の発熱により主軸4の温度が上昇する。主軸4の温度が上昇すると、主軸が熱膨張して工具中心の位置が変化する。例えばフラットエンドミルの先端の位置は、主軸の温度が上昇するとともに移動する。
 図8は、工作機械の暖機時間と主軸の軸方向の伸び量との関係を示すグラフである。主軸の伸び量は、工具の先端の位置の移動量に対応する。このグラフでは、3種類の主軸4の回転速度の伸び量が記載されている。主軸4の回転速度が大きくなるほど主軸の最高温度が高くなり、主軸の伸び量が大きくなることがわかる。しかしながら、いずれの回転速度においても、所定の時間の経過後には、主軸の伸び量が、ほぼ一定になることが分かる。このように、暖気時間を予め定められた時間以上で継続することにより、主軸の伸び量が一定になる。工作機械1が定まると、主軸の最大の伸び量は工具の種類や工具の大きさには依存せずに、主軸4の回転速度に依存する。
 制御装置70の演算処理部25は、加工プログラム76から工具の回転速度を抽出する。工具の回転速度は、主軸の回転速度に相当する。暖機運転では、実際の加工を行う回転速度にて駆動する。このために、主軸の伸び量を実際の加工時と同じにすることができて、工具の寸法の正確な測定を行うことができる。記憶部26には、主軸の回転速度に対する暖機運転の時間が予め記憶されている。そして、工作機械の制御装置70は、主軸の回転速度に応じて暖機運転の時間を設定する。
 制御装置70は、工具の寸法測定の前に設定された時間にて暖機運転を実施する。次に、測定プログラムに基づいて工具の寸法を測定する。なお、測定プログラムに暖機運転の指令が含まれていても構わない。このように、1本の工具の寸法測定を実施することができる。記憶制御部25dは、測定した工具の寸法を記憶部26に記憶させる。
 制御装置70は、1つの工具の測定が終了すると工具交換装置40を駆動して、工具を交換する。工具交換装置40は、主軸4に取り付けてあった工具を工具マガジン41に戻す。そして、工具交換装置40は、次の測定を行う工具を主軸4に取り付ける。この後に、次の工具の暖機運転および寸法測定を自動的に実施する。制御装置70は、マーク57a,57bが表示されている全ての工具の測定が終了するまでこの制御を繰り返す。
 なお、本実施の形態では、1本の工具ごとに、工具の回転速度に対応した時間長さにて暖機運転を実施しているが、この形態に限られず、前の工具と次の工具との測定時の主軸の回転速度に基づいて、暖機運転の時間を短くしたり暖機運転を省略したりしても構わない。
 図9に、工具の寸法測定を実施した後の工具情報画面を示す。図9に示す工具情報画面56では、スクロールバー56cを移動して測定結果として、補正長および補正半径が示されている。補正長は、工具長の測定結果を示している。補正半径は、工具径の測定結果を示している。実際の加工では、これらの補正長および補正半径に基づいて工作機械1が駆動される。たとえば、情報制御部20は、補正長および補正半径に基づいて工具経路を補正するように加工プログラムを編集する。
 表示制御部22は、記憶部26から測定結果を取得して工具情報画面56に測定結果を表示する。測定を行った工具には、補正長および補正半径の欄に測定値が表示されている。作業者は、測定値を確認することができる。なお、補正コーナーRは、ラジアスエンドミルの角部の曲率半径である。本実施の形態では、曲率半径を補正する場合には、曲率半径の補正値は、作業者が操作部30により入力している。
 図9に示す例では、寸法の測定を行っていない工具や補正半径等の項目については空欄になっているが、この形態に限られず、例えば基準長、基準径および基準となる曲率半径などが表示されていても構わない。
 本実施の形態の制御装置は、工具ごとに自動的に測定条件を切り替えながら、工具の寸法測定を行うことができる。自動的に工具に応じた測定方法にて寸法測定を行うことができる。また、複数の工具の寸法測定を連続して自動的に行うことができる。このために、作業員の誤操作を抑制することができる。更に、短時間で工具の寸法測定を行うことができる。また、寸法の測定を行う工具の測定位置を自動的に計算し、その測定位置にて測定するために、精度よく短時間で工具の寸法測定を行うことができる。
 更に、本実施の形態の工具の寸法の測定においては、測定関連情報から抽出した回転速度にて主軸を回転させながら工具の寸法を測定する。実際の加工における回転速度と同じ速度で回転させるために、工具の寸法を正確に測定することができる。この結果、加工精度が向上する。
 ところで、本実施の形態の工具の基本情報には、回転が禁止されている工具、使用が禁止されている工具、および工具の寸法測定が禁止されている工具が予め設定されている。回転が禁止されている工具としては、例えば、ワークの測定を行うためのプローブやヘールバイトを例示することができる。使用が禁止されている工具としては、工具の寸法が許容範囲を超えている工具、工具寿命に達した工具、または折損した工具等を例示することができる。寸法測定が禁止される工具としては、例えば、工具の先端部が大きくて、工具測定装置では測定できない工具を例示することができる。例えば、正面フライス等を例示することができる。
 このような工具の禁止事項は、スクロールバー56cを移動することにより表示させることができる。また、図2および図6を参酌して、演算処理部25は、これらの禁止事項が設定されている工具が選択欄56e,56fにて寸法測定を実施するように選択されている場合においても、寸法測定を行わない制御を行っている。この制御により、不必要な測定を行うことを回避できる。
 また、本実施の形態の演算処理部25は、基準長の基準寸法と許容値から概略工具長を設定する。第1の概略工具長は、基準寸法に正側の許容値を加算した長さである。第1の概略工具長は、長い方の概略工具長になる。第2の概略工具長は、基準寸法から負側の許容値を減算した長さである。第2の概略工具長は、短い方の概略工具長になる。そして、制御装置70の測定プログラム作成部25bは、第1の概略工具長を工具の測定の指令コードの引数に設定することができる。工作機械1は、第1の概略工具長に基づいて、レーザ光60aから工具が僅かに離れた位置まで高速にて主軸4およびテーブル14を相対移動させることができる。たとえば、第1の概略工具長に所定の余裕長さを含めた長さにて工具がレーザ光60aから離れている位置まで、高速に相対移動することができる。この制御により、テーブル14および主軸4の移動時間を短縮することができて、工具の測定時間の短縮を図ることができる。
 更に、本実施の形態の制御装置70は、工具の寸法の測定結果に基づいて、測定した工具が加工プログラムに使用されている工具か否かを判定することができる。図6を参照して、基準長や基準径には、基準寸法と許容値とが予め定められている。すなわち、工具長や工具径に対して許容範囲が定められている。
 図3を参照して、工具判定部25cは、工具の測定結果が工具の寸法の許容範囲内であるか否かを判別する。工具の寸法が許容範囲から外れている場合に、工具判定部25cは、測定した工具、すなわち工具マガジン41に配置されている工具が所望の工具ではなくて、別の工具であると判定する。この場合に、表示制御部22は、工具情報画面56において、誤った工具が工具マガジン41に配置されている画像を表示する。たとえば、図9を参照して、スクロールバー56cを移動させると警告を表示する欄があり、この欄に誤りの内容を示す警告文が表示される。
 使用する工具が所望の工具であるか否かを判定する別の制御としては、第1の概略工具長または第2の概略工具長に基づいて判定することができる。工具判定部25cは、工具測定装置60に工具を近づけている期間中に第1の概略工具長に基づいた位置よりも早い時期に信号が検出された場合には、測定している工具が異なっていると判定することができる。本実施の形態の工作機械1では、工具がレーザ光60aを遮断した位置が、第1の概略工具長に基づいた相対位置よりも離れている場合には、工具が異なっていると判定する。そして、工具の寸法測定を中断して、表示制御部22は、工具が異なっていることを工具情報画面56に表示することができる。
 または、工具判定部25cは、工具測定装置60に工具を近づけている期間中に、第2の概略工具長に基づいた位置に到達しても信号が検出されない場合には、工具が異なっていると判定することができる。本実施の形態の工作機械1では、工具の先端部とレーザ光60aとの距離が第2の概略工具長になっても、工具の先端部がレーザ光を遮断しない場合には、測定している工具が異なっていると判定することができる。そして、工具の寸法測定を中断して、工具が異なっていることを工具情報画面に表示する。
 また、工具径についても、工具長に基づく判定と同様に、第1の概略工具径および第2の概略工具径を設定し、第1の概略工具径および第2の概略工具径に基づいて使用する工具が所望の工具であるか否かを判定することができる。
 このように、本実施の形態の制御装置70は、異なる工具が工具マガジン41に配置されていることを自動的に検出することができる。特に、外形が類似している工具であっても所望の工具でないことを容易に検出することができる。
 上記の実施の形態は、適宜組み合わせることができる。上述のそれぞれの図において、同一または相等する部分には同一の符号を付している。なお、上記の実施の形態は例示であり発明を限定するものではない。また、実施の形態においては、請求の範囲に示される実施の形態の変更が含まれている。
 1  工作機械
 5  工具
 20  情報制御部
 22  表示制御部
 25  演算処理部
 25a  加工プログラム解析部
 25b  測定プログラム作成部
 25c  工具判定部
 26  記憶部
 28  表示部
 30  操作部
 40  工具交換装置
 41  工具マガジン
 55  プログラム編集画面
 56  工具情報画面
 56e,56f  選択欄
 60  工具測定装置
 70  制御装置
 76  加工プログラム
 81  ラジアスエンドミル
 82a,82b  測定点

Claims (8)

  1.  加工プログラムに基づいて工具を交換してワークを加工する工作機械の制御装置であって、
     加工プログラムを解析し、前記工具の寸法測定に関連する測定関連情報を加工プログラムから抽出する加工プログラム解析部と、
     前記測定関連情報を記憶する記憶部と、
     前記測定関連情報と予め入力されている前記工具の基本情報とに基づいて、前記工具の寸法を測定するための測定プログラムを作成する測定プログラム作成部と、
     を備えることを特徴とした、工作機械の制御装置。
  2.  前記測定関連情報は、工具番号、工具長の補正の有無、工具径の補正の有無、および加工時の主軸の回転速度のうち少なくとも一つを含む、請求項1に記載の工作機械の制御装置。
  3.  前記工具の基本情報は、工具の種類、基準の工具長、基準の工具径、刃数および工具の端部の曲率半径のうち少なくとも一つを含む、請求項1に記載の工作機械の制御装置。
  4.  前記記憶部は、測定プログラムを作成する規則を記憶しており、
     前記測定プログラム作成部は、前記測定関連情報および前記工具の基本情報に対応する1つの規則を選定し、選定した規則に基づいて測定プログラムを作成する、請求項1に記載の工作機械の制御装置。
  5.  前記測定プログラム作成部は、前記工具の基本情報に基づいて、前記工具における測定位置を算出し、前記測定位置に基づいて測定プログラムを作成する、請求項4に記載の工作機械の制御装置。
  6.  加工に関する情報を表示する表示部と、
     表示部の表示を制御する表示制御部とを備え、
     前記加工プログラム解析部は、加工プログラムに工具径の補正が含まれているか否かを判別し、表示制御部は、工具径の補正が含まれている場合に表示部に工具径の測定を選択した画像を表示する、請求項1に記載の工作機械の制御装置。
  7.  寸法を測定した工具が、予め定められた工具か否かを判別する工具判定部を備え、
     工具判定部は、測定した工具の寸法が予め定められた許容範囲を超えている場合には、測定した工具が予め定められた工具とは異なると判定する、請求項1に記載の工作機械の制御装置。
  8.  請求項1に記載の工作機械の制御装置と、
     工具の寸法を測定する工具測定装置とを備えることを特徴とした、工作機械。
PCT/JP2014/076221 2014-09-30 2014-09-30 工作機械の制御装置および工作機械 WO2016051543A1 (ja)

Priority Applications (5)

Application Number Priority Date Filing Date Title
EP14903344.1A EP3203333B1 (en) 2014-09-30 2014-09-30 Control device for machine tool and machine tool
PCT/JP2014/076221 WO2016051543A1 (ja) 2014-09-30 2014-09-30 工作機械の制御装置および工作機械
US15/510,120 US10248107B2 (en) 2014-09-30 2014-09-30 Control device for machine tool, and machine tool
CN201480082299.8A CN107077118B (zh) 2014-09-30 2014-09-30 机床的控制装置以及机床
JP2016551414A JP6373395B2 (ja) 2014-09-30 2014-09-30 工作機械の制御装置および工作機械

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/JP2014/076221 WO2016051543A1 (ja) 2014-09-30 2014-09-30 工作機械の制御装置および工作機械

Publications (1)

Publication Number Publication Date
WO2016051543A1 true WO2016051543A1 (ja) 2016-04-07

Family

ID=55629634

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2014/076221 WO2016051543A1 (ja) 2014-09-30 2014-09-30 工作機械の制御装置および工作機械

Country Status (5)

Country Link
US (1) US10248107B2 (ja)
EP (1) EP3203333B1 (ja)
JP (1) JP6373395B2 (ja)
CN (1) CN107077118B (ja)
WO (1) WO2016051543A1 (ja)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI627017B (zh) * 2016-09-09 2018-06-21 Makino Milling Machine Co Ltd 工作機械
JP6456452B1 (ja) * 2017-09-29 2019-01-23 株式会社牧野フライス製作所 工作機械の制御装置
EP3454147A1 (en) * 2017-08-08 2019-03-13 DMG Mori Co., Ltd. Tool management device and machine tool provided with the same
JP2019051587A (ja) * 2017-09-18 2019-04-04 デッケル マホ プフロンテン ゲーエムベーハーDECKEL MAHO Pfronten GmbH 工作機械で工具を交換および挿入すなわち取り付けるためのシステムおよびこのシステムを有する工作機械
JP6654740B1 (ja) * 2019-07-19 2020-02-26 ヤマザキマザック株式会社 工作機械、工作機械の加工プログラム編集方法、及び工作機械の加工プログラム編集のためのプログラム
WO2020241597A1 (ja) * 2019-05-24 2020-12-03 Dmg森精機株式会社 情報処理装置、情報処理方法およびプログラム並びに工作機械
JP2021534417A (ja) * 2018-08-22 2021-12-09 ブルム‐ノヴォテスト・ゲゼルシャフト・ミット・ベシュレンクテル・ハフツング ワーク処理機械における工具の検査
JP7084533B1 (ja) 2021-09-06 2022-06-14 Dmg森精機株式会社 表示制御装置

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6836143B2 (ja) * 2016-12-27 2021-02-24 株式会社ジェイテクト 工作機械
JP6506334B2 (ja) * 2017-03-14 2019-04-24 ファナック株式会社 生産管理装置及び生産システム
TWI669484B (zh) * 2018-10-12 2019-08-21 財團法人工業技術研究院 加工程式與對應之切削刀具之匹配辨識方法與系統
JP6978457B2 (ja) * 2019-02-28 2021-12-08 ファナック株式会社 情報処理装置および情報処理方法
CN110238698B (zh) * 2019-05-24 2020-10-27 大族激光科技产业集团股份有限公司 一种工件加工程序自动匹配的加工方法及加工设备
JP7230874B2 (ja) * 2020-03-31 2023-03-01 ブラザー工業株式会社 数値制御装置
TWI788040B (zh) * 2020-10-06 2022-12-21 湛積股份有限公司 智慧手持工具

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11138392A (ja) * 1997-11-10 1999-05-25 Makino Milling Mach Co Ltd 工具寸法測定機能を備えたnc工作機械
JP3687980B2 (ja) * 1996-11-07 2005-08-24 株式会社ミツトヨ Nc加工における測定プログラム作成及びこの測定プログラムを実行した加工管理
JP5235284B2 (ja) * 2000-10-16 2013-07-10 株式会社牧野フライス製作所 測定方法及び工作機械
JP5302165B2 (ja) * 2009-11-04 2013-10-02 ファナック株式会社 計測装置を具備する工作機械を制御する数値制御装置
JP2014087883A (ja) * 2012-10-30 2014-05-15 Toshiba Mach Co Ltd 工具長測定方法および工作機械

Family Cites Families (32)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4979121A (en) * 1987-09-25 1990-12-18 Yamazaki Mazak Corporation Control method and apparatus for controlling machining operations in a machine tool having a plurality of coordinate systems
JPH0566819A (ja) * 1991-04-08 1993-03-19 Fanuc Ltd 対話形自動プログラミング方法
JPH04348842A (ja) 1991-05-23 1992-12-03 Okuma Mach Works Ltd 数値制御装置
JPH06179153A (ja) 1992-12-14 1994-06-28 Mitsubishi Heavy Ind Ltd 旋盤用工具長計測装置
JPH0724543A (ja) 1993-07-08 1995-01-27 Komatsu Ltd 板材加工機のクランパ退避装置
JPH0724543U (ja) * 1993-09-30 1995-05-09 安藤電気株式会社 プリント基板外形加工機
JPH08229776A (ja) 1995-02-24 1996-09-10 Makino Milling Mach Co Ltd 工具の刃先位置変位測定機能を備えたnc工作機械
JPH10118890A (ja) 1996-10-21 1998-05-12 Toyoda Mach Works Ltd 工作機械の制御装置
JP3246360B2 (ja) * 1996-11-13 2002-01-15 株式会社新潟鉄工所 自動加工装置および自動加工方法
JP3800576B2 (ja) * 1998-03-24 2006-07-26 ヤマザキマザック株式会社 加工プログラム作成支援装置
JP3827951B2 (ja) * 1998-08-28 2006-09-27 株式会社森精機製作所 Nc加工におけるncプログラムの最適化方法及び装置
US6584415B1 (en) * 1998-08-28 2003-06-24 Mori Seiki Co., Ltd. Method of creating tool wear data, estimating tool wear and judging use of tool
US6823342B2 (en) * 2001-05-15 2004-11-23 Vykor, Inc. Method and system for capturing, managing, and disseminating manufacturing knowledge
JP2004355464A (ja) * 2003-05-30 2004-12-16 Miyota Kk ツール交換指令プログラム及びそれを用いた数値制御工作機械
GB0414649D0 (en) * 2004-06-30 2004-08-04 Renishaw Plc Generation of a CNC machine tool control program
JP4271248B2 (ja) * 2007-05-24 2009-06-03 ファナック株式会社 先読み停止機能を有する数値制御装置
JP2008305237A (ja) * 2007-06-08 2008-12-18 Jtekt Corp 加工装置
TWI346595B (en) * 2009-01-13 2011-08-11 Univ Chung Yuan Christian System for positioning micro tool of micro machine and method thereof
WO2011080945A1 (ja) * 2009-12-28 2011-07-07 三菱電機株式会社 プログラム作成支援装置
JP5832083B2 (ja) * 2010-10-27 2015-12-16 株式会社牧野フライス製作所 工具寸法の測定方法及び測定装置
JP5149421B2 (ja) * 2011-05-20 2013-02-20 ファナック株式会社 加工時間予測部および加工誤差予測部を有する数値制御装置
RU2586016C2 (ru) * 2011-11-15 2016-06-10 Японское Агентство По Науке И Технике Система предоставления услуги анализа/верификации программ, способ управления такой системой, машиночитаемая среда хранения, устройство для анализа/верификации программ, устройство для управления средством анализа/верификации программ
WO2014038002A1 (ja) * 2012-09-04 2014-03-13 三菱電機株式会社 数値制御装置
CN103909426B (zh) * 2013-01-09 2016-04-13 广西玉柴机器股份有限公司 机床工作台快进转工进控制方法
CN105122160B (zh) * 2013-04-08 2017-07-14 三菱电机株式会社 数控装置
US10007247B2 (en) * 2013-04-30 2018-06-26 Mitsubishi Electric Corporation Numerical control device with plurality of spindles and associated synchronous tapping
JP5702832B2 (ja) * 2013-06-11 2015-04-15 ファナック株式会社 距離測定用ホルダおよび干渉物検知機能を有する工作機械
US9731360B2 (en) * 2013-07-01 2017-08-15 National University Corporation Nagoya University End milling apparatus, CAM apparatus, and NC program
CN103737423A (zh) * 2013-12-04 2014-04-23 天水星火机床有限责任公司 一种数控机床精准对刀方法及数控机床
CN105992976B (zh) * 2013-12-27 2019-08-06 株式会社牧野铣床制作所 加工信息管理装置以及工具路径生成装置
JP6261613B2 (ja) * 2013-12-27 2018-01-17 株式会社牧野フライス製作所 工作機械の制御装置
CN103869775B (zh) 2014-03-06 2016-06-08 无锡职业技术学院 一种数控机床智能化管理方法

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3687980B2 (ja) * 1996-11-07 2005-08-24 株式会社ミツトヨ Nc加工における測定プログラム作成及びこの測定プログラムを実行した加工管理
JPH11138392A (ja) * 1997-11-10 1999-05-25 Makino Milling Mach Co Ltd 工具寸法測定機能を備えたnc工作機械
JP5235284B2 (ja) * 2000-10-16 2013-07-10 株式会社牧野フライス製作所 測定方法及び工作機械
JP5302165B2 (ja) * 2009-11-04 2013-10-02 ファナック株式会社 計測装置を具備する工作機械を制御する数値制御装置
JP2014087883A (ja) * 2012-10-30 2014-05-15 Toshiba Mach Co Ltd 工具長測定方法および工作機械

Cited By (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI627017B (zh) * 2016-09-09 2018-06-21 Makino Milling Machine Co Ltd 工作機械
EP3454147A1 (en) * 2017-08-08 2019-03-13 DMG Mori Co., Ltd. Tool management device and machine tool provided with the same
US10987772B2 (en) 2017-08-08 2021-04-27 Dmg Mori Co., Ltd. Machine tool and machine tool management device with tool state display
JP2019051587A (ja) * 2017-09-18 2019-04-04 デッケル マホ プフロンテン ゲーエムベーハーDECKEL MAHO Pfronten GmbH 工作機械で工具を交換および挿入すなわち取り付けるためのシステムおよびこのシステムを有する工作機械
JP6456452B1 (ja) * 2017-09-29 2019-01-23 株式会社牧野フライス製作所 工作機械の制御装置
WO2019066058A1 (ja) * 2017-09-29 2019-04-04 株式会社牧野フライス製作所 工作機械の制御装置
JP2019067080A (ja) * 2017-09-29 2019-04-25 株式会社牧野フライス製作所 工作機械の制御装置
JP2021534417A (ja) * 2018-08-22 2021-12-09 ブルム‐ノヴォテスト・ゲゼルシャフト・ミット・ベシュレンクテル・ハフツング ワーク処理機械における工具の検査
JP7335951B2 (ja) 2018-08-22 2023-08-30 ブルム‐ノヴォテスト・ゲゼルシャフト・ミット・ベシュレンクテル・ハフツング ワーク処理機械における工具の検査
WO2020241597A1 (ja) * 2019-05-24 2020-12-03 Dmg森精機株式会社 情報処理装置、情報処理方法およびプログラム並びに工作機械
JPWO2020241597A1 (ja) * 2019-05-24 2021-09-13 Dmg森精機株式会社 情報処理装置、情報処理方法およびプログラム並びに工作機械
WO2021014517A1 (ja) * 2019-07-19 2021-01-28 ヤマザキマザック株式会社 工作機械、工作機械の加工プログラム編集方法、及び工作機械の加工プログラム編集のためのプログラム
JP6654740B1 (ja) * 2019-07-19 2020-02-26 ヤマザキマザック株式会社 工作機械、工作機械の加工プログラム編集方法、及び工作機械の加工プログラム編集のためのプログラム
US11940769B2 (en) 2019-07-19 2024-03-26 Yamazaki Mazak Corporation Machine tool, method for editing machining program for machine tool, and non-transitory computer-readable storage medium
JP7084533B1 (ja) 2021-09-06 2022-06-14 Dmg森精機株式会社 表示制御装置
WO2023032382A1 (ja) * 2021-09-06 2023-03-09 Dmg森精機株式会社 表示制御装置、工作機械および表示制御プログラム
JP2023037691A (ja) * 2021-09-06 2023-03-16 Dmg森精機株式会社 表示制御装置

Also Published As

Publication number Publication date
EP3203333A4 (en) 2018-06-06
US10248107B2 (en) 2019-04-02
US20170308063A1 (en) 2017-10-26
CN107077118B (zh) 2019-12-31
EP3203333A1 (en) 2017-08-09
JPWO2016051543A1 (ja) 2017-04-27
JP6373395B2 (ja) 2018-08-15
CN107077118A (zh) 2017-08-18
EP3203333B1 (en) 2019-12-04

Similar Documents

Publication Publication Date Title
JP6373395B2 (ja) 工作機械の制御装置および工作機械
JP6351745B2 (ja) 工作機械の制御方法および工作機械の制御装置
JP6335925B2 (ja) 工作機械の制御装置
JP4229698B2 (ja) 工具の刃先位置の測定方法及び装置、ワークの加工方法、並びに工作機械
JP6584488B2 (ja) 工作機械の制御方法および工作機械の制御装置
JP5235284B2 (ja) 測定方法及び工作機械
JP6150903B2 (ja) 加工情報管理装置および工具経路生成装置
JP5649262B2 (ja) 測定表示方法及び測定表示装置を備えた機械
EP2839925A1 (en) Interference determination method and interference determination device for machine tool
US10416649B2 (en) Numerical controller that prevents a tool compensation value setting error
EP3511121B1 (en) Workpiece measurement method
JP4799472B2 (ja) 工具の刃先位置の測定方法及び装置、ワークの加工方法並びに工作機械
JP6076503B2 (ja) 工作機械の制御装置
KR20020026876A (ko) 금형의 제조방법 및 그 제조장치
JP2010175480A (ja) 形状測定方法及び測定機能を有する機械
JP2020008979A (ja) 数値制御装置
JP2024061276A (ja) 測定プログラム生成方法及び三次元座標測定機
JPS62130160A (ja) Nc工作機械の自動工具補正装置
JP2004216467A (ja) 工作機械の計測装置,工作機械の異常検出方法及びコンピュータプログラム
JP2005131786A (ja) Nc工作機械マシニングセンタによるxy軸平面の寸法計測図面照合測定方法。

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 14903344

Country of ref document: EP

Kind code of ref document: A1

ENP Entry into the national phase

Ref document number: 2016551414

Country of ref document: JP

Kind code of ref document: A

WWE Wipo information: entry into national phase

Ref document number: 15510120

Country of ref document: US

REEP Request for entry into the european phase

Ref document number: 2014903344

Country of ref document: EP

WWE Wipo information: entry into national phase

Ref document number: 2014903344

Country of ref document: EP

NENP Non-entry into the national phase

Ref country code: DE