WO2008010264A1 - Numerical controller - Google Patents

Numerical controller Download PDF

Info

Publication number
WO2008010264A1
WO2008010264A1 PCT/JP2006/314190 JP2006314190W WO2008010264A1 WO 2008010264 A1 WO2008010264 A1 WO 2008010264A1 JP 2006314190 W JP2006314190 W JP 2006314190W WO 2008010264 A1 WO2008010264 A1 WO 2008010264A1
Authority
WO
WIPO (PCT)
Prior art keywords
tool
information
machining
tool information
machining program
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.)
Ceased
Application number
PCT/JP2006/314190
Other languages
English (en)
French (fr)
Inventor
Yoshinori Yamada
Mitsuo Watanabe
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric Corp
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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to PCT/JP2006/314190 priority Critical patent/WO2008010264A1/ja
Priority to CNA2006800553855A priority patent/CN101489718A/zh
Priority to JP2008525745A priority patent/JPWO2008010264A1/ja
Priority to US12/373,707 priority patent/US20100204818A1/en
Priority to DE112006003954T priority patent/DE112006003954T5/de
Publication of WO2008010264A1 publication Critical patent/WO2008010264A1/ja
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

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/00Program-control systems
    • G05B19/02Program-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 program 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 program 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 program, 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 program 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 program, for the NC machine concerning programming of machining or material parameters, pocket machining
    • G05B19/40938Tool management
    • 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/36Nc in input of data, input key till input tape
    • G05B2219/36254Generate machining program from history of similar tools
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Definitions

  • the present invention relates to a numerical control apparatus that instructs setup for a tool to be used by using information on a tool actually used in the past when a machining program is executed.
  • NC numerical Control
  • a code “T” specifying a tool number is searched from a machining program to create a tool list.
  • this tool list and the tool data stored in advance on the hard disk are compared and verified.
  • the tools that are insufficient for machining are listed as a missing tool list, and the tools that are not needed in the calo are listed as an unnecessary tool list, and the setup device is instructed to the display device.
  • the operator replenishes the tool holder with the shortage tool by tool installation or tool replacement according to the instruction of the tool setup work.
  • Patent Document 1 Japanese Patent Laid-Open No. 6-43920 (Page 14, Fig. 4)
  • the present invention has been made in view of the above, and an object of the present invention is to provide a numerical control device that can reduce the number of tool setup operations in a machine tool and efficiently perform tool replacement. .
  • the present invention analyzes a machining program and controls a machining apparatus when machining a workpiece based on an analysis result of the machining program.
  • the tool that is currently mounted on the processing device and a mounting tool information storage unit that stores mounting tool information related to the tool holder on which the tool is mounted, and the processing using the processing program
  • the tool information used by the processing device when the processing device is controlled using the processing program and the tool holder on which the tool is mounted, and the mounted tool information A tool that extracts the difference between the information on the tool and the tool holder as difference information by comparing with the installed tool information stored in the storage unit
  • the information comparison unit and the tool information comparison unit extract the difference information
  • a setup instruction information for instructing a setup work related to a tool to be mounted on the tool holder of the processing apparatus is created based on the difference information.
  • a setup instruction creation unit that outputs to an external device It is characterized by that.
  • the difference between the information on the performance of the tool and the tool holder used by the processing apparatus is compared with the information on the tool and the tool holder currently mounted on the processing apparatus, and the difference is extracted. Based on this, it creates information for instructing the setup work of the tool to be mounted on the tool holder of the processing device, so that tool change and tool setting can be easily performed according to the tool setup instruction, and the setup of tools with a small number of processes is possible. There is an effect that the tool can be changed efficiently in the work.
  • FIG. 1 is a block diagram showing a configuration of an NC device according to a first embodiment.
  • FIG. 2 is a flowchart showing a processing procedure for tool setup processing.
  • FIG. 3 is a flowchart showing a processing procedure of update processing of used tool information.
  • FIG. 4 is a diagram showing an example of a machining program including used tool information.
  • FIG. 5 is a diagram showing an example of a mounted tool data table.
  • FIG. 6 is a diagram showing an example of a tool data table.
  • FIG. 7 is a diagram showing an example of a tool setup instruction display.
  • FIG. 8 is a block diagram showing the configuration of the NC device according to the second embodiment.
  • FIG. 9 is a block diagram showing a configuration of the NC apparatus according to the third embodiment.
  • FIG. 10 is a diagram showing an example of the configuration of the no-shake value information.
  • FIG. 1 is a block diagram showing the configuration of the NC device according to the first embodiment, and shows the configuration of the main part of the NC device 10.
  • the NC device 10 is connected to an external storage device 40 and a display device 50.
  • the NC device 10 is a numerical control device that analyzes a machining program and controls a machining device (a machine for machining a workpiece) based on the analysis result of the machining program, for example, a personal computer. Consists of.
  • the NC device 10 according to Embodiment 1 has a function of creating instruction information (tool setup instruction information) of setup (hereinafter referred to as tool setup) related to tool installation, etc. as a main feature of the present invention. Have! /
  • the external storage device 40 is a machining program that is read and analyzed by the NC device 10, and has at least a machining program for driving and controlling a machining device for machining a workpiece (workpiece) using a tool.
  • the display device 50 is a tool stage transmitted from the NC device 10. It is a display device for information such as a liquid crystal monitor that receives and displays the handling instruction information.
  • the NC device 10 includes a machining program input / output unit 2, a machining program storage unit 3, an installed tool data storage unit (installed tool information storage unit) 4, a tool data storage unit (tool information storage unit) 5, Tool data input part 6, Installed tool data input part 7, Tool information comparison part 8, Tool setup instruction creation part 9, Tool usage information update part (Tool usage information creation part) 11, Tool information editing enable / disable setting part ( Edit lock setting unit) 12 and instruction input unit 15.
  • the machining program input / output unit 2 inputs the machining program stored in the external storage device 40 and stores it in the cache program storage unit 3.
  • Machining program I / O unit 2 uses tool information (such as information about the tools used by the machining equipment and the results of the tool holder on which the tool was installed) (described later when the machining program was executed previously).
  • the machining program storage unit 3 is means for storing the cache program input from the external storage device 40 by the machining program input / output unit 2.
  • the instruction input unit 15 is a means for inputting instruction information and the like from a user (operator) of the NC device 10, and includes a mouse, a keyboard, and the like. According to the input information, the instruction information etc. input to the instruction input unit 15 is the tool data input unit 6, the installed tool data input unit 7, the tool information comparison unit 8, the tool information update unit 11, the use It is sent to the tool information edit enable / disable setting unit 12.
  • the instruction input unit 15 transmits the instruction information to the machining program input / output unit 2, and the additional program input / output unit Have 2 read the cache program.
  • the instruction input unit 15 sends the tool data to the tool data input unit 6 when the tool data (tool information (tool type, tool length, tool diameter, etc.) associated with the tool number) described later is input.
  • tool data tool information (tool type, tool length, tool diameter, etc.) associated with the tool number
  • the following tool data data that associates the names of all tool holders of the machine tool with the tool number of the currently installed tool or the information indicating that the tool is not installed
  • this tool data is transmitted to the tool data input unit 7.
  • the tool data input unit 6 stores the tool data (tool information) input from the instruction input unit 15 at a predetermined position (address) in the tool data storage unit 5.
  • the tool data input unit 6 outputs information (a tool data table 102 described later) stored in the tool data storage unit 5 to the display device 50 based on the instruction information from the instruction input unit 15.
  • the installation tool data input unit 7 stores the installation tool data (installation tool information) input from the instruction input unit 15 in a predetermined position (address) in the installation tool data storage unit 4.
  • the mounting tool data input unit 7 outputs information stored in the mounting tool data storage unit 4 (a mounting tool data table 101 described later) to the display device 50 based on the instruction information from the instruction input unit 15.
  • the mounting tool data storage unit 4 is means for storing the mounting tool data sent from the mounting tool data input unit 7 as the mounting tool data table 101.
  • the tool data storage unit 5 is a means for storing the tool data sent from the tool data input unit 6 as a tool data table 102 (an information table in which tool data and tool numbers are associated).
  • the tool information comparison unit 8 compares the installed tool data table 101 stored in the installed tool data storage unit 4 with the used tool information added to the machining program in the machining program storage unit 3.
  • the tool information comparison unit 8 compares the tool number of the tool holder in the installed tool data table 101 with the tool number of the tool holder in the tool information used, and the tool number of the tool holder in which the tool number is different (used tool information Extract tool number).
  • the tool information comparison unit 8 transmits the tool number comparison result (tool number of the used tool information) to the tool setup instruction creation unit 9 and the used tool information update unit 11.
  • the tool setup instruction creation unit 9 uses the tool number comparison result (tool number) by the tool information comparison unit 8 to use the tool corresponding to the tool number from the tool data storage unit 5 (tool data table 102). Information (information on tools necessary for machining such as tool type (tool type), tool length, tool diameter, etc.) is acquired.
  • the tool setup instruction creation unit 9 acquires the tool information (information on the tool corresponding to the tool holder that needs to attach and detach the tool), it creates the tool setup instruction information using the acquired tool information. .
  • the used tool information update unit 11 performs a machining process used for machining after the tool setup process is completed.
  • the editing lock information (information indicating whether or not the used tool information can be edited), which will be described later, stored in the used tool information of the program is referenced to determine whether the editing lock information is valid.
  • the used tool information update unit 11 refers to the Caloe program (edit lock information) used for machining after the machining process by the machining device is completed, and determines whether the edit lock information is valid. Also good.
  • the used tool information update unit 11 uses a tool mounted on the tool holder from the mounted tool data table 101 of the mounted tool data storage unit 4. All the numbers are extracted, and the tool information of the machining program stored in the machining program storage unit 3 is overwritten (updated).
  • the tool information editing availability setting unit 12 is activated at any time during the operation of the NC device 10 by a call input from the instruction input unit 15 and inquires whether or not to change the editing lock information. The information is output to the display device 50.
  • the tool information editing enable / disable setting unit 12 edits the tool information stored in the additional program. Update lock information.
  • FIG. 2 is a flowchart showing a processing procedure of tool setup processing by the NC device
  • FIG. 3 is a flowchart showing a processing procedure of update processing of used tool information by the NC device.
  • the operator inputs tool data (information in which tool numbers and tool information are associated) and mounting tool data (information in which tool holder names and tool numbers are associated) from the instruction input unit 15.
  • the operator confirms the tool mounted on the tool holder and inputs the mounted tool data. That is, the operator confirms the tool number of the tool attached to each tool holder, and inputs the tool holder (tool holder name) and the tool number in association with each other.
  • the operator also checks the tool data and tool data table in the tool holder.
  • the tool data of the tool that is in the tool holder and not in the tool data table is input. Specifically, the operator inputs a tool number, a tool type, a tool length, etc. as tool data that is insufficient in the tool data table.
  • the instruction input unit 15 transmits the tool data and the installed tool data to the tool data input unit 6 and the installed tool data input unit 7, respectively.
  • the tool data input unit 6 stores the tool data in the tool data storage unit 5
  • the mounting tool data input unit 7 stores the mounting tool data in the mounting tool data storage unit 4.
  • the operator When starting the machining of the workpiece by the machining apparatus, the operator inputs a machining program (necessary for machining the workpiece) by inputting the instruction information to the instruction input unit 15. Specified machining program), and causes the NC device 10 to read the machining program in the external storage device 40.
  • a machining program (necessary for machining the workpiece) by inputting the instruction information to the instruction input unit 15. Specified machining program), and causes the NC device 10 to read the machining program in the external storage device 40.
  • the machining program input / output unit 2 of the NC device 10 reads the machining program designated by the operator (according to the operator's request) from the machining programs stored in the external storage device 40. And stored in the machining program storage unit 3.
  • the NC device 10 causes the processing device to process the workpiece. Specifically, the NC device 10 sequentially reads the cache program from the cache program storage unit 3 by means of a machining program reading means (not shown) (step S1) and analyzes the machining program (step S1). (Not shown). For example, the NC device 10 sets a machining program requested by the operator from the instruction input unit 15, and starts the machining program read processing and analysis processing when the operator automatically presses the automatic start button on the operation panel.
  • the machining program input to the machining program analysis means is a G command or F command that specifies the tool path or tool feed speed, an M command that specifies machine operation, an S command that specifies the spindle speed, etc.
  • the T command is used to specify the tool to be used for machining.
  • the machining program analysis means performs analysis processing (such as calculation of coordinate values for each control axis) on the machining program, such as tool path and tool movement calculation, and performs movement control of each control axis.
  • the movement control data for performing is generated.
  • the solution of the machining program The movement control data generated by the analyzing means is input to a driving means (not shown) such as a motor of the processing apparatus, the motor is driven, and the work is processed by moving the tool and the workpiece relative to each other. .
  • a driving means such as a motor of the processing apparatus
  • Other commands that do not require analysis are sent to a processing means having a function (not shown) to control the control mode of the NC device 10 and the machine operation.
  • FIG. 4 is a diagram illustrating an example of a cache program including tool information to be used.
  • the tool configuration necessary for machining by the machining program is added to the end of the machining program as tool information associated with the tool number.
  • the tool information used here corresponds to all tool holders of the machining apparatus that performs machining and information indicating the tool number for uniquely identifying the tool to be mounted by this tool holder or information indicating that the tool is not mounted. It is the attached information.
  • the cache program 100 shown in Fig. 4 is an example of a machining program for a multi-system machine tool, for example.
  • a program for the first system (system 1 machining program) starting with "XI", "X2"
  • the program for the 2nd system starting with (the machining program for system 2) and the tool information used starting with "XT”.
  • the machining program 100 When the machining program 100 is executed in order of the leading force, the machining program 100 cannot operate the system 1 machining program and the system 2 machining program in cooperation at the same time. For this reason, the machining program 100, the top shows an end O shake codes from "0/0" preloaded with the machining program storage unit 3 to characters Te over ⁇ of. After that, by simultaneously starting and executing reading from the beginning of each of the machining programs “XI” and “X2” of the machining program 100 stored in the Caloe program storage unit 3 in the NC device 10, machining of the system 1 The program and system 2 machining program can be coordinated and processed into the desired product.
  • Tool information starting with “XT” is also read into the cache program storage unit 3 at the same time as the machining program for system 1 and the machining program for system 2.
  • the tool number “0” indicates that no tool is mounted.
  • the tool information can be edited. It is in a defined state.
  • the contents of the tool information used are referred to and updated as necessary.
  • the machining program analysis means is attached to the tool holder specified by the T command.
  • the specified tool number is identified from the installed tool data in the installed tool data storage unit 4.
  • the analysis means for machining programs is powerful! ] Get information about the tools (tool type, tool length, tool diameter, etc.) necessary for the analysis processing of the program from the tool data storage unit 5 using the tool number as a key.
  • FIG. 5 is a view showing an example of a mounted tool data table
  • FIG. 6 is a view showing an example of a tool data table.
  • the installed tool data table 101 is information in which all tool holders (holder names) of the machine tool are associated with the tool number of the currently installed tool or information indicating that the tool is not installed. It is a table.
  • the tool data table 102 is configured to include tool information necessary for machining such as a tool type (tool type), a tool length, and a tool diameter as a record.
  • the tool data table 102 is an information table in which tool information and tool numbers are associated with each other.
  • the record number is treated as a tool number, which is a key for uniquely identifying the registered tool.
  • the operator inputs the tool type, Enter tool information such as tool length and tool diameter.
  • the tool data input unit 6 adds tool information such as a tool type, a tool length, and a tool diameter to a record of an arbitrary number in the tool data table 102 of the tool data storage unit 5.
  • the operator inputs information specifying the tool holder for attaching / detaching the tool to the instruction input unit 15.
  • the installed tool data input unit 7 refers to the tool data storage unit 5 to extract a tool number corresponding to the tool information, and associates the tool number with the designated tool holder name to install the tool data storage unit. 4 Store in (Installation tool data table 101).
  • the NC device 10 After storing the respective data in the machining program storage unit 3, the mounted tool data storage unit 4, and the tool data storage unit 5, the NC device 10 starts the process of tool setup.
  • the tool information comparison unit 8 compares the use tool information written in the machining program in the machining program storage unit 3 with the installation tool data table 101 stored in the installation tool data storage unit 4. Specifically, the tool information comparison unit 8 compares the tool number of the tool of each tool holder in the mounted tool data table 101 with the tool number of the tool holder of the used tool information (step S2).
  • Tool number comparison result force by tool information comparison unit 8 If all tool holders match (step S3, YES), all tool holders are equipped with tools that satisfy the conditions for machining. Tool setup is not required, and the tool setup process ends.
  • step S3 NO if there is a tool holder that does not match in the tool number comparison result by the tool information comparison unit 8 (step S3, NO), it is necessary to attach a tool that satisfies the conditions for machining to the tool holder. Therefore, the NC device 10 processes the tool setup instruction.
  • the tool information comparison unit 8 of the NC device 10 includes all tool holders (tool numbers) that need to be attached / detached in order to make the installed tool data table 101 of the installed tool data storage unit 4 match the tool information used. In the comparison process, tool holders with different tool numbers are extracted from the tool information. Further, the tool information comparison unit 8 extracts the tool number corresponding to the extracted tool holder from the used tool information. The tool information comparison unit 8 transmits the extracted tool number (difference information) to the tool setup instruction creation unit 9.
  • the tool setup instruction creation unit 9 acquires tool information corresponding to the tool number from the tool data table 102 of the tool data storage unit 5 using the extracted tool number as a key. Ye When the tool setup instruction creating unit 9 acquires the tool information of the tool holder that needs to attach and detach the tool, the tool setup instruction creating unit 9 creates tool setup instruction information using the acquired information. The tool setup instruction creating unit 9 outputs the created tool setup instruction information to the display device 50 (step S4). The display device 50 notifies the operator of a tool setup instruction by displaying information based on the tool setup instruction information.
  • FIG. 7 is a diagram illustrating an example of a tool setup instruction display. As shown in Fig. 7, tool setup instructions are stored in the tool holder name and used tool information for all tool holders with different tool numbers corresponding to the used tool information and the installed tool data table 101. The tool number and the information of the tool corresponding to the tool number are associated with each other.
  • the tool information of the currently installed tool and the tool information of the tool that requires replacement are displayed in association with each holder name.
  • the tool attached to the tool holder name “T03” is a tool having a tool number “5”, a tool type “tap”, a tool length “115”, and a tool diameter “14”.
  • the tool holder name “T03” indicates that the tool number “7”, the tool type “cross hole”, the tool length “105”, and the tool diameter “16” must be installed.
  • Step S5 the operator determines whether to execute the cache program by exchanging the tool mounted on the tool holder and executing the cache program as it is with the tool mounted on the tool holder. The operator inputs this determination result to the instruction input unit 15 of the NC device 10.
  • step S6 When the replacement of the tool mounted on the tool holder is instructed, it is determined that the tool is to be replaced. When the replacement of the tool mounted on the tool holder is not instructed, It is determined that no exchange is performed. If the operator refers to the tool setup instructions and decides to replace the tool installed in the tool holder (step S5, NO), the operator can remove, install, and update the installed tool data table 101. Perform tool change work (step S6).
  • step S7 information indicating that the tool change is completed from the instruction input unit 15 by the operator.
  • step S7 the tool information comparison unit 8 returns to the process of step S2.
  • the NC device 10 compares the tool number comparison result of the tool number by the tool information comparison unit 8 (the tool number of each tool holder in the installed tool data table 101 and the tool number of the tool holder in the tool information to be used). Comparison result) Force Steps S2 to S2 until all tool holders match or until it is determined that the tool is to be executed as it is with the tool that has been mounted on the tool holder in the process of step S5. Repeat the process of S7
  • the tool setup instruction creating unit 9 creates tool setup instruction information and outputs the tool setup instruction information to the display device 50 to notify the operator of the tool setup instruction.
  • the tool setup instruction creating unit 9 may create tool setup instruction information as a control instruction to an automatic tool changer (an external device that performs tool change automatically) or a robot.
  • the tool setup instruction creating unit 9 outputs the created tool setup instruction information to the automatic tool changer or the robot.
  • the automatic tool changer and the robot perform tool change work (removal of tool, mounting, and update of the mounted tool data table 101) based on the tool setup instruction information (step S6).
  • the tool information comparison unit 8 returns to the process of step S2.
  • step S5 when it is determined that the machining program is to be executed as it is with the tool mounted on the tool holder (step S5, YES), the operator executes the machining program with the current tool configuration, and the machining device ( Perform a machine operation test (step S8).
  • step S9 the operator checks whether or not there is a problem such as interference (problem of operation test) that occurs when the cache program is executed with the current tool configuration (step S9).
  • the operator inputs this confirmation result into the instruction input unit 15 of the NC device 10. If there is a problem with the operation test (step S9, NO), perform the tool change work for the problematic tool (step S6).
  • step S7 the tool information comparison unit 8 returns to the process of step S2 and repeats the processes of steps S2 to S9.
  • step S9 If there is no problem in the driving test (step S9, YES), the force check can actually be performed correctly. In order to confirm this, the NC apparatus 10 performs trial machining (step S10). The operator then checks to see if there is a problem with the test force.
  • step S11 If the operator can confirm that the machining can be performed without any problem with the trial force (step S11, YES), the operator inputs information indicating that the tool setup is completed from the instruction input unit 15 (step S11). Step S12), and the setup process ends.
  • step S6 the tool replacement work for the problematic tool is performed.
  • step S7 the tool information comparison unit 8 returns to the process of step S2 and performs the processes of steps S2 to S11. repeat.
  • the tool change according to the tool setup instruction may not be performed. That is, the tool configuration at the time of final machining may be different from the tool configuration indicated in the tool information used.
  • an alternative tool may be mounted when the tool indicated in the tool information used cannot be used for some reason, or when high machining accuracy can be obtained by using a different tool.
  • the processing may be performed with the tool mounted.
  • the used tool information update unit 11 refers to the edit lock information stored in the used tool information of the machining program (step S21). Then, the used tool information update unit 11 determines whether or not the editing lock information is valid (step S22).
  • the used tool information update unit 11 outputs information for inquiring whether or not the used tool information can be updated to the display device 50.
  • the display device 50 displays information asking whether to update the tool information used (such as a message asking whether to update the tool information used) (step S23). This prompts the operator to determine whether or not to update the tool information, and the operator can update the tool information.
  • Information indicating whether new or not is available is input from the instruction input unit 15 (step S24).
  • the tool usage information updating unit 11 When information indicating that updating is not possible is input to the instruction input unit 15 (step S25, NO), the tool usage information updating unit 11 does not update the tool usage information. On the other hand, when information indicating that updating is possible is input to the instruction input unit 15 (step S25, YES), the tool information update unit 11 uses the tool data table 101 in the tool data storage unit 4 to check the tool. All the tool numbers attached to the holder are extracted. Then, the used tool information updating unit 11 overwrites the used tool information with the information in which the tool holder and the tool number are associated with each other for all tool holders (step S26).
  • the tool information editing availability setting unit 12 is activated at any time during the operation of the NC device 10 by a call input from the instruction input unit 15 and inquires whether or not to change the editing lock information. The information is output to the display device 50.
  • the used tool information edit availability setting unit 12 updates edit lock information in the used tool information stored in the specified machining program.
  • step S3 in Fig. 2 if the tool number comparison result by the tool information comparison unit 8 matches in all tool holders (step S3, YES), the tool information update unit 11 Is not entered at the end of the tool setup process. For this reason, the used tool information update unit 11 does not update the used tool information. At this time, the used tool information updating unit 11 may determine not to update the used tool information based on the comparison result of the tool number sent from the tool information comparing unit 8 (no matching of the tool number). .
  • the machining process is performed.
  • Tool setup instructions are displayed to reproduce the tool configuration when the program has worked correctly in the past. As a result, it is possible to easily change the tool according to the tool setup instruction, and it is possible to easily select a tool required for machining by the machining program and attach it to a predetermined tool holder.
  • a tool setup instruction is displayed only when a tool that is different from the one that was previously executed in the cache program is displayed. It is possible to omit the process of removing all the tools and confirming that unnecessary tools do not cause interference. As a result, the number of tool setup operations in the machine tool can be reduced to facilitate efficient tool replacement, and the machining process can be started quickly.
  • the tool data in that state is automatically used for the machining program. Since it can be stored as tool information, it is not necessary to register the tool information used manually.
  • the NC device 10 acquires information about tools from an external device (a tool information storage unit 21 described later), and registers the tool data table 102 and the mounted tool data table 101.
  • FIG. 8 is a block diagram showing a configuration of the NC device according to the second embodiment. Of the components shown in FIG. 8, the components that achieve the same functions as those of the NC device 10 of the first embodiment shown in FIG.
  • the NC device 10 is connected to a tool information storage unit (external device) 21 included in the mounting tool data input unit 7 and the tool data input unit 61 S tool 20.
  • the tool information storage unit 21 is a storage means such as a microchip, and stores the same tool data as the information stored in the tool data storage unit 5.
  • the installed tool data input unit 7 reads information on the tool 20 from the tool information storage unit 21 and collates the read tool data with the tool data in the tool data storage unit 5. If there is a matching tool (record) in the verification of the tool data read from the tool information storage unit 21 and the tool data in the tool data storage unit 5, the tool data is registered in the tool data table 102. No processing! / ...
  • the NC device 10 acquires information about the tool from the tool information storage unit 21, and registers the tool data table 102 and the installed tool data table 101.
  • the manual input process of the mounted tool data table 101 and the tool data table 102 can be omitted.
  • the installed tool data table 101 and the tool It is possible to prevent occurrence of mistakes associated with registration of the data table 102.
  • Embodiment 3 of the present invention will be described with reference to FIG. 9 and FIG.
  • the hash value is used as a search key for the database that stores the tool information to be used, and the record lock that matches the tool value is searched for. Acquires a record in which information and correspondence between tool holders and tool numbers are registered.
  • FIG. 9 is a block diagram showing a configuration of the NC device according to the third embodiment. Of the components shown in FIG. 9, the components that achieve the same functions as those of the NC device 10 of the first embodiment shown in FIG.
  • the NC device 10 includes a tool usage information storage unit 31.
  • the tool information storage unit 31 is a database for storing a record (hash value information 103 to be described later) in which edit lock information and correspondence between tool holders and tool numbers (tool information) and the like are registered.
  • a record key value information 103 to be described later
  • edit lock information and correspondence between tool holders and tool numbers (tool information) and the like are registered.
  • the tool usage information update unit 11 Connected to the information comparison unit 8, the tool usage information update unit 11, and the tool usage information edit enable / disable setting unit 12.
  • the tool information comparison unit 8 here includes the machining program storage unit 3, the installed tool data storage unit 4, the used tool information update unit 11, the used tool information edit availability setting unit 12, and the tool setup instruction.
  • the creation unit 9 and the tool usage information storage unit 31 are connected. In FIG. 9, illustration of the instruction input unit 15 provided in the NC device 10 is omitted.
  • the tool information comparison unit 8 of the NC device 10 calculates the hash value of the cache program that is read by the machining program input / output unit 2 and stored in the cache program storage unit 3. Then, the tool information comparison unit 8 searches for a record (hash value information 103) in the tool information storage unit 31 using the machining program number (for example, “0123”) and the hash value as keys. When the search is successful, the tool information comparison unit 8 extracts the used tool information corresponding to the machining program from which the external storage device 40 has been read out from the hash value information 103.
  • FIG. 10 is a diagram showing an example of the structure of hash value information.
  • No, shush value information 103 is the program number, hash It is a data table of information with which value and used tool information were matched, respectively.
  • the tool information comparison unit 8 When the tool information comparison unit 8 extracts the use tool information corresponding to the machining program read from the external storage device 40 from the hash value information 103, the tool information comparison unit 8 stores each tool information stored in the extracted use tool information. Compare the tool number of the tool in the tool holder with the tool number of the tool holder in the installed tool data table 101. The tool number comparison process by the tool information comparison unit 8 corresponds to the process of step S2 of the first embodiment (FIG. 2).
  • the tool information comparison unit 8 fails to search for the used tool information in the hash value information 103 (when the used tool information corresponding to the machining program is not registered), the used tool information storage unit 31 A new record of cache program number, hash value, hash value, and edit lock information is stored in (hash value information 103).
  • the no-shesh value is short data that is mathematically determined using the no-shush function and! /, A special calculation method, and can be used as a fast search method. Generally known. Specific methods for calculating the no-shake value are publicly known in mathematical literature and on the Internet.
  • this hash value as a search key in the tool information storage unit 31 and searching for a record with a matching hash value, the machining program power to be used and the correspondence between the tool lock and the tool number required It is possible to correctly obtain the record registered. Even when multiple records corresponding to the machining program with the same program number are stored, the machining program power to be used Necessary editing lock information and tools The record in which the correspondence between the holder and the tool number is registered can be obtained correctly.
  • the used tool information update unit 11 Calculate the hash value.
  • the used tool information updating unit 11 refers to the used tool information corresponding to the used machining program stored in the used tool information storage unit 31 and uses the used tool information storage unit 31 (hash value information). 103) Update processing is performed. Since the flow of this update process is the same as that of Embodiment 1, the description thereof is omitted.
  • the use tool information editability setting unit 12 calculates the value of the machining program specified by the instruction input unit 15, and is specified from the machining program stored in the used tool information storage unit 31. Process program is extracted. Then, the use tool information edit availability setting unit 12 updates the edit lock information in the extracted use tool information in the same flow as in the first embodiment.
  • the number of steps for tool setup work and the number of steps for creating and updating tool information used for tool setup instructions are greatly omitted. It is possible to prevent the occurrence of mistakes.
  • the numerical control device is suitable for a setup instruction for a tool used by a processing device for processing a workpiece.

Landscapes

  • Engineering & Computer Science (AREA)
  • Manufacturing & Machinery (AREA)
  • Physics & Mathematics (AREA)
  • Geometry (AREA)
  • Human Computer Interaction (AREA)
  • General Physics & Mathematics (AREA)
  • Automation & Control Theory (AREA)
  • Numerical Control (AREA)
  • Automatic Tool Replacement In Machine Tools (AREA)

Description

明 細 書
数値制御装置
技術分野
[0001] 本発明は、加工プログラムの実行時に、実際に過去に使用した工具の情報を用い て、使用する工具に対する段取りを指示する数値制御装置に関するものである。 背景技術
[0002] 被カ卩ェ物の加工処理を制御する制御装置として、複数の工具を用いて種々の加工 処理を行なう加工装置に所定の制御指示を行なう数値制御装置(以下、 NC (Numeri cal Control)装置と!/、う)がある。従来の NC装置は、加工プログラムに対応した加工 に使用される工具とそうでな 、工具のみを判別してカ卩ェ制御を行なって 、る。このた め、加工前の段取り作業においては、オペレータが当該加工に必要な不足工具また は不要な工具の工具ホルダへの着脱を行って 、た。
[0003] 例えば、特許文献 1に記載の工具管理方法では、加工プログラムの中から、工具番 号を指定しているコード「T」をサーチし、工具リストを作成している。次に、この工具リ スト及びあらかじめハードディスクに格納されて 、る工具データを比較照合して 、る。 そして、加工に不足している工具を不足工具リストとしてリストアップするとともに、カロ ェに不要な工具を不要工具リストとしてリストアップして、表示装置に工具の段取作業 を指示している。これにより、オペレータは工具の段取作業の指示に従って工具装着 や工具交換によって不足工具を工具ホルダに補充する。
[0004] 特許文献 1 :特開平 6— 43920号公報 (第 1 4頁、第 4図)
発明の開示
発明が解決しょうとする課題
[0005] し力しながら、上記従来の技術では、加工を行うために所定の工具が使用されるか 否かのみを判別し、実際に過去に加工を行った際に工具ホルダに装着されていた全 ての工具の情報 (例えば工具が装着される工具ホルダの情報)を保持して!/、なかつ た。 NC旋盤等では一般に工具ホルダに複数の工具が装着された状態で加工が行 われるため、実際には切削に使用していない工具も加工に伴って工作機械内で移 動することになる。また、加工の際には工具ホルダの任意の位置に必要な工具が保 持されているだけでは不十分であり、加工プログラムに応じて力卩ェに必要な工具が所 定の工具ホルダに装着されている必要がある。
[0006] このため、加工に必要な工具 (使用工具)が所定の工具ホルダに装着されているか 否かを判別するとともに、加工に不要な工具 (不使用工具)が加工に不要な工具ホル ダに装着されている場合には、不要な工具の移動によって他の工具やワーク等との 干渉が起きないようにしなければならない。例えば、往復運動を行なう工具ホルダに 使用工具と不使用工具の両方が装着されて!ヽる場合に、工具ホルダを移動させて使 用工具をワークに近づけると、工具ホルダの移動に伴って工具ホルダ上の不使用ェ 具が移動し、不使用工具とワークとが干渉する場合がある。このような不使用工具とヮ ークとの干渉を回避するため、不要な工具を全て取り外すか、干渉を起こさないこと を確認するための試しカ卩ェをしなければならないという問題があった。
[0007] 本発明は、上記に鑑みてなされたものであって、工作機械における工具段取り作業 の工数を削減して効率良く工具交換を行わせることができる数値制御装置を得ること を目的とする。
課題を解決するための手段
[0008] 上述した課題を解決し、目的を達成するために、本発明は、加工プログラムを解析 するとともに、前記加工プログラムの解析結果に基づいて、被加工物を加工する際の 加工装置の制御を行なう数値制御装置において、前記加工装置に現在装着されて いる工具および当該工具が装着されている工具ホルダに関する装着工具情報を記 憶する装着工具情報記憶部と、前記加工プログラムを用いて前記加工装置を制御 する前に、前記加工プログラムを用いて前記加工装置を制御した際に前記加工装置 が使用した工具および当該工具が装着されていた工具ホルダの実績に関する使用 工具情報と、前記装着工具情報記憶部が記憶する装着工具情報とを比較して、前 記工具および前記工具ホルダに関する情報の差異を差異情報として抽出する工具 情報比較部と、前記工具情報比較部が前記差異情報を抽出した場合に、前記差異 情報に基づいて前記加工装置の工具ホルダに装着させる工具に関する段取作業を 指示する段取指示情報を作成して外部装置に出力する段取指示作成部と、を備え ることを特徴とする。
発明の効果
[0009] この発明によれば、加工装置が使用した工具および工具ホルダの実績に関する情 報と加工装置に現在装着されている工具および工具ホルダに関する情報とを比較し て差異を抽出し、差異に基づいて加工装置の工具ホルダに装着させる工具の段取 作業を指示する情報を作成するので、工具の段取指示に従って容易に工具交換、 工具設定を行うことができ、少ない工程数の工具の段取り作業で効率良く工具交換 を行わせることが可能になるという効果を奏する。
図面の簡単な説明
[0010] [図 1]図 1は、実施の形態 1に係る NC装置の構成を示すブロック図である。
[図 2]図 2は、工具段取処理の処理手順を示すフローチャートである。
[図 3]図 3は、使用工具情報の更新処理の処理手順を示すフローチャートである。
[図 4]図 4は、使用工具情報を含んだ加工プログラムの一例を示す図である。
[図 5]図 5は、装着工具データテーブルの一例を示す図である。
[図 6]図 6は、工具データテーブルの一例を示す図である。
[図 7]図 7は、工具段取指示の表示の一例を示す図である。
[図 8]図 8は、実施の形態 2に係る NC装置の構成を示すブロック図である。
[図 9]図 9は、実施の形態 3に係る NC装置の構成を示すブロック図である。
[図 10]図 10は、ノ、ッシュ値情報の構成の一例を示す図である。
符号の説明
[0011] 2 加工プログラム入出力部
3 加工プログラム記憶部
4 装着工具データ記憶部
5 工具データ記憶部
6 工具データ入力部
7 装着工具データ入力部
8 工具情報比較部
9 工具段取指示作成部 10 NC装置
11 使用工具情報更新部
12 使用工具情報編集可否設定部
15 指示入力部
20 工具
21 工具情報記憶部
31 使用工具情報記憶部
40 外部記憶装置
50 表示装置
100 カロェプログラム
101 装着工具データテーブル
102 工具データテーブル
103 ノ、ッシュ値情報
発明を実施するための最良の形態
[0012] 以下に、本発明にかかる数値制御装置の実施の形態を図面に基づいて詳細に説 明する。なお、この実施の形態によりこの発明が限定されるものではない。
[0013] 実施の形態 1.
図 1は、実施の形態 1に係る NC装置の構成を示すブロック図であり、 NC装置 10の 主要部の構成を示している。 NC装置 10は、外部記憶装置 40、表示装置 50と接続 している。
[0014] NC装置 10は、加工プログラムを解析するとともに、加工プログラムの解析結果に基 づ ヽて加工装置 (被加工物を加工する機械)の制御を行なう数値制御装置であり、例 えばパーソナルコンピュータなどによって構成される。実施の形態 1に係る NC装置 1 0は、本発明の主たる特徴として、工具の取り付け等に関する段取 (以下、工具段取 と 、う)の指示情報 (工具段取指示情報)を作成する機能を有して!/、る。
[0015] 外部記憶装置 40は、 NC装置 10で読取 ·解析される加工プログラムであって、工具 を用いて被加工物(ワーク)を加工する加工装置を駆動制御するための加工プロダラ ムを少なくとも 1つ記憶している。表示装置 50は、 NC装置 10から送信される工具段 取指示情報等を受信して表示する液晶モニタ等の情報の表示装置である。
[0016] NC装置 10は、加工プログラム入出力部 2、加工プログラム記憶部 3、装着工具デ ータ記憶部 (装着工具情報記憶部) 4、工具データ記憶部(工具情報記憶部) 5、ェ 具データ入力部 6、装着工具データ入力部 7、工具情報比較部 8、工具段取指示作 成部 9、使用工具情報更新部 (使用工具情報作成部) 11、使用工具情報編集可否 設定部 (編集ロック設定部) 12、指示入力部 15を備えている。
[0017] 加工プログラム入出力部 2は、外部記憶装置 40が記憶している加工プログラムを入 力してカ卩ェプログラム記憶部 3に記憶させる。加工プログラム入出力部 2は、後述の 使用工具情報 (加工装置が使用した工具および当該工具が装着されていた工具ホ ルダの実績に関する情報など)(加工プログラムを以前に実行したときに、工作機械 の各工具ホルダに装着されていた工具情報、もしくは工具が装着されていな力つたこ とを示す情報が、 "工具ホルダ名 =工具番号"という形で格納されたもの)が加工プロ グラムに付加された場合や加工プログラムに付加された使用工具情報が更新された 場合に、加工プログラム記憶部 3の加工プログラムを取り出して外部記憶装置 40に 出力する。加工プログラム記憶部 3は、加工プログラム入出力部 2が外部記憶装置 4 0から入力したカ卩ェプログラムを記憶する手段である。
[0018] 指示入力部 15は、 NC装置 10の使用者 (オペレータ)からの指示情報等を入力す る手段であり、マウスやキーボード等を備えて構成されている。指示入力部 15に入力 された指示情報等は、入力された情報に応じて、工具データ入力部 6、装着工具デ ータ入力部 7、工具情報比較部 8、使用工具情報更新部 11、使用工具情報編集可 否設定部 12に送信する。
[0019] 指示入力部 15は、例えば外部記憶装置 40から読み出す加工プログラムを指定す る指示情報が入力されると、この指示情報を加工プログラム入出力部 2に送信し、加 ェプログラム入出力部 2にカ卩ェプログラムの読み出しを行なわせる。指示入力部 15 は、後述の工具データ (工具番号に対応付けられた工具情報 (工具の種類、工具長 、工具径等))が入力されると、この工具データを工具データ入力部 6に送信し、後述 の装着工具データ(工作機械の全ての工具ホルダ名と、現在装着されて!ヽる工具の 工具番号または工具の未装着を示す情報が対応付けられたデータ)が入力されると 、この装着工具データを装着工具データ入力部 7に送信する。
[0020] 工具データ入力部 6は、指示入力部 15から入力された工具データ(工具情報)をェ 具データ記憶部 5内の所定の位置 (アドレス)に記憶させる。工具データ入力部 6は、 工具データ記憶部 5が記憶する情報 (後述の工具データテーブル 102)を指示入力 部 15からの指示情報に基づいて表示装置 50に出力する。
[0021] 装着工具データ入力部 7は、指示入力部 15から入力された装着工具データ (装着 工具情報)を装着工具データ記憶部 4内の所定の位置 (アドレス)に記憶させる。装 着工具データ入力部 7は、装着工具データ記憶部 4が記憶する情報 (後述の装着工 具データテーブル 101)を指示入力部 15からの指示情報に基づいて表示装置 50に 出力する。
[0022] 装着工具データ記憶部 4は、装着工具データ入力部 7から送られる装着工具デー タを装着工具データテーブル 101として記憶する手段である。工具データ記憶部 5は 、工具データ入力部 6から送られる工具データを工具データテーブル 102 (工具デー タと工具番号が対応付けられた情報テーブル)として記憶する手段である。
[0023] 工具情報比較部 8は、装着工具データ記憶部 4が記憶する装着工具データテープ ル 101と、加工プログラム記憶部 3の加工プログラムに付加された使用工具情報を比 較する。工具情報比較部 8は、装着工具データテーブル 101の工具ホルダの工具番 号と、使用工具情報の工具ホルダの工具番号とを比較し、両者で工具番号が異なる 工具ホルダの工具番号 (使用工具情報の工具番号)を抽出する。工具情報比較部 8 は、工具番号の比較結果 (使用工具情報の工具番号)を工具段取指示作成部 9や 使用工具情報更新部 11に送信する。
[0024] 工具段取指示作成部 9は、工具情報比較部 8による工具番号の比較結果 (工具番 号)を用いて、工具データ記憶部 5 (工具データテーブル 102)から工具番号に対応 する工具情報 (工具の種類 (工具タイプ)、工具長、工具径等の加工に必要な工具の 情報)を取得する。工具段取指示作成部 9は、工具情報 (工具の着脱を行う必要があ る工具ホルダに対応する工具に関する情報)を取得すると、この取得した工具情報を 用いて工具段取指示情報を作成する。
[0025] 使用工具情報更新部 11は、工具段取処理が完了した後に、加工に用いる加工プ ログラムの使用工具情報に格納された後述の編集ロック情報 (使用工具情報の編集 の可否を示す情報)を参照し、編集ロック情報が有効であるカゝ否かを判断する。使用 工具情報更新部 11は、加工装置による加工処理が完了した後に、加工に用いたカロ ェプログラム (編集ロック情報)を参照して、編集ロック情報が有効であるか否かを判 断してもよい。使用工具情報更新部 11は、編集ロックが無効("EDLK = OFF")で ある場合に、使用工具情報の更新の可否を問い合わせる情報を表示装置 50に出力 する。
[0026] 使用工具情報更新部 11は、指示入力部 15に更新可を示す情報の入力が行われ た場合に、装着工具データ記憶部 4の装着工具データテーブル 101から工具ホルダ に装着された工具番号を全て抽出し、加工プログラム記憶部 3が記憶する加工プロ グラムの使用工具情報を上書き (更新)する。
[0027] 使用工具情報編集可否設定部 12は、 NC装置 10の動作中に随時、指示入力部 1 5からの呼び出し入力によって起動し、編集ロック情報の変更を行うか否かを問い合 わせる情報を表示装置 50に出力する。使用工具情報編集可否設定部 12は、加工 プログラムに対して編集ロックの有効 Z無効を指示する指示情報が指示入力部 15に 入力されると、加ェプログラムに格納された使用工具情報内の編集ロック情報を更新 する。
[0028] つぎに、 NC装置 10の処理手順について説明する。ここでは、 NC装置 10によるェ 具段取処理の処理手順を説明した後、 NC装置 10による使用工具情報の更新処理 の処理手順を説明する。
[0029] 図 2は、 NC装置による工具段取処理の処理手順を示すフローチャートであり、図 3 は、 NC装置による使用工具情報の更新処理の処理手順を示すフローチャートであ る。オペレータは、指示入力部 15から工具データ (工具番号と工具情報を対応付け た情報)、装着工具データ (工具ホルダ名と工具番号とを対応付けた情報)を入力し ておく。このとき、オペレータは、工具ホルダに装着されている工具を確認して、装着 工具データを入力する。すなわち、オペレータは、各工具ホルダに装着されているェ 具の工具番号を確認し、工具ホルダ(工具ホルダ名)と工具番号を対応付けて入力 する。また、オペレータは工具ホルダ内の工具データと工具データテーブルを確認し 、工具ホルダ内には有る工具であって工具データテーブルには無い工具の工具デ ータを入力する。具体的には、オペレータは、工具データテーブルに不足しているェ 具データとして工具番号、工具タイプ、工具長などを入力する。
[0030] 指示入力部 15は、この工具データ、装着工具データをそれぞれ工具データ入力 部 6、装着工具データ入力部 7に送信する。工具データ入力部 6は、工具データをェ 具データ記憶部 5に記憶させ、装着工具データ入力部 7は、装着工具データを装着 工具データ記憶部 4に記憶させる。
[0031] 加工装置によって被カ卩ェ物の加工を開始させる際、オペレータは、指示入力部 15 への指示情報の入力によって工具段取に必要な加工プログラム (被カ卩ェ物の加工に 必要な加工プログラム)を指定し、 NC装置 10に外部記憶装置 40内の加工プロダラ ムを読み出させる。
[0032] これにより、 NC装置 10の加工プログラム入出力部 2は、外部記憶装置 40が記憶し ている加工プログラムの中から、オペレータによって指定された (オペレータの要求に 応じた)加工プログラムを読み出し、加工プログラム記憶部 3に記憶させる。
[0033] この後、 NC装置 10は、加工装置に被カ卩ェ物の加工処理を行わせる。具体的には 、 NC装置 10は、加工プログラムの読取手段(図示せず)によってカ卩ェプログラム記 憶部 3からカ卩ェプログラムを順次読み出して (ステップ S1)、加工プログラムの解析手 段(図示せず)に入力する。例えば、 NC装置 10は、オペレータによって要求される 加工プログラムを指示入力部 15から設定し、操作盤の自動起動ボタンがオペレータ によって押下されることによって、加工プログラムの読み出し処理と解析処理を開始 する。
[0034] 加工プログラムの解析手段に入力される加工プログラムは、工具経路や工具の送り 速度などを指定する G指令や F指令、機械動作を指定する M指令、主軸回転数など を指定する S指令、加工に使用する工具を指定する T指令などを含んで構成されて いる。
[0035] 加工プログラムの解析手段は、加工プログラムに対して、工具経路や工具の移動 計算など解析の必要な指令を解析処理 (各制御軸の座標値計算など)し、各制御軸 の移動制御を行なうための移動制御データを生成する。そして、加工プログラムの解 析手段によって生成された移動制御データを加工装置のモータなどの駆動手段(図 示せず)に入力してモータを駆動させ、工具とワークを相対的に移動させて被加工物 の加工を行わせる。なお、解析を必要としない他の指令は、図示しない機能の処理 手段に送られ、 NC装置 10の制御モードや機械動作の制御を行う。
[0036] 図 4は、使用工具情報を含んだカ卩ェプログラムの一例を示す図である。加工プログ ラムによって機械加工を行うために必要な工具の構成は、工具番号に対応付けした 使用工具情報として纏めて加工プログラムの最後に付加されて 、る。ここでの使用ェ 具情報は、機械加工を行う加工装置の全ての工具ホルダと、この工具ホルダが装着 する工具を一意に識別するための工具番号または工具の未装着を示す情報とが対 応付けられた情報である。
[0037] 図 4に示すカ卩ェプログラム 100は、例えば多系統工作機械用の加工プログラムの 一例であり、 "XI"から始まる第 1系統用のプログラム(系統 1の加工プログラム)、" X2 "から始まる第 2系統用のプログラム(系統 2の加工プログラム)、 "XT"から始まる使用 工具情報で構成されている。
[0038] この加工プログラム 100は、加工プログラム 100を先頭力も順番に実行していくと、 系統 1の加工プログラムと系統 2の加工プログラムを同時に協調して作動できない。こ のため、加工プログラム 100を、先頭からエンドォブレコードを示す"0 /0"の文字まで 加工プログラム記憶部 3にー且全て読み込んでおく。その後、 NC装置 10内部でカロ ェプログラム記憶部 3が記憶する加工プログラム 100の" XI"ど' X2"の加工プロダラ ムの夫々の先頭から同時に読み出しを開始し実行することにより、系統 1の加工プロ グラムと系統 2の加工プログラムの協調動作が可能になり、所望の製品に加工できる こととなる。
[0039] "XT"から始まる使用工具情報も、系統 1の加工プログラムや系統 2の加工プロダラ ムと同時にカ卩ェプログラム記憶部 3に読み込まれている。ここでの使用工具情報は、 加工プログラム 100を以前に実行したときに、工作機械の各工具ホルダに装着され ていた工具情報、もしくは工具が装着されていな力つたことを示す情報が、 "工具ホ ルダ名 =工具番号 "と!/ヽぅ形で全ての工具ホルダに対して格納されたものである。
[0040] 例えば、図 4に示すカ卩ェプログラム 100において、 "T01 = l"という記述は" T01"と いう名前の工具ホルダに、工具データ記憶部 5に登録されている工具番号" 1"のェ 具が装着されて 、たことを示して 、る。
[0041] また、実施の形態 1では、工具番号" 0"は工具の未装着を示すものとする。すなわ ち、図 4の加工プログラム 100における" T04 = 0"は、工具ホルダ" Τ04"には工具が 装着されて 、なかったことを示して 、る。
[0042] また、 "XT"から始まる使用工具情報には、使用工具情報の編集の可否を示す編 集ロック情報が" EDLK=ON (または OFF) "として格納されて 、る。編集ロック情報 が" EDLK=ON"の場合力 使用工具情報の編集が不可に設定されている状態で あり、編集ロック情報が" EDLK=OFF"の場合が、使用工具情報の編集が可に設 定されている状態である。実施の形態 1では必要に応じてこの使用工具情報の内容 が参照及び更新される。
[0043] 加工プログラムの読取手段によってカ卩ェプログラム記憶部 3から加工プログラム中 の工具指令 (T指令)が読み取られると、加工プログラムの解析手段は T指令によって 指定された工具ホルダに装着されている工具番号を装着工具データ記憶部 4内の装 着工具データから特定する。そして、加工プログラムの解析手段は、力!]ェプログラム の解析処理に必要な工具に関する情報 (工具の種類、工具長、工具径等)を、工具 番号をキーとして工具データ記憶部 5から取得する。
[0044] 図 5は、装着工具データテーブルの一例を示す図であり、図 6は工具データテープ ルの一例を示す図である。図 5に示すように、装着工具データテーブル 101は、工作 機械の全ての工具ホルダ (ホルダ名)と、現在装着されている工具の工具番号または 工具の未装着を示す情報が対応付けられた情報テーブルである。
[0045] 図 6に示すように、工具データテーブル 102は、レコードとして工具の種類(工具タ イブ)、工具長、工具径等の加工に必要な工具情報を含んで構成されている。工具 データテーブル 102は、工具情報と工具番号が対応付けられた情報テーブルである 。工具データテーブル 102では、レコードの番号が工具番号として扱われ、登録され た工具を一意に識別するためのキーとなる。
[0046] ここで、工具データ記憶部 5に未登録である工具を工具ホルダに装着する場合の 処理について説明する。まず、オペレータによって指示入力部 15に工具の種類、ェ 具長、工具径等の工具情報を入力する。工具データ入力部 6は、工具データ記憶部 5の工具データテーブル 102の任意の番号のレコードへ工具の種類、工具長、工具 径等の工具情報を追加する。そして、オペレータによって指示入力部 15に、工具の 着脱を行なう工具ホルダを指定する情報が入力される。装着工具データ入力部 7は 、工具データ記憶部 5を参照して、工具情報に対応する工具番号を抽出し、このェ 具番号を指定された工具ホルダ名に対応付けして装着工具データ記憶部 4 (装着工 具データテーブル 101)に記憶させる。
[0047] 加工プログラム記憶部 3、装着工具データ記憶部 4、工具データ記憶部 5にそれぞ れのデータを記憶させた後、 NC装置 10は工具段取の処理を開始する。まず、工具 情報比較部 8は、装着工具データ記憶部 4が記憶する装着工具データテーブル 101 と、加工プログラム記憶部 3の加工プログラムに書込まれた使用工具情報を比較する 。具体的には、工具情報比較部 8は、装着工具データテーブル 101の各工具ホルダ の工具の工具番号と、使用工具情報の工具ホルダの工具番号とを比較する (ステツ プ S2)。
[0048] 工具情報比較部 8による工具番号の比較結果力 全ての工具ホルダにおいて一致 する場合 (ステップ S3、 YES)、全ての工具ホルダに加工を行うための条件を満たす 工具が装着されているので工具段取は不要であり、工具段取の処理は終了する。
[0049] 一方、工具情報比較部 8による工具番号の比較結果において、不一致となる工具 ホルダがある場合 (ステップ S3、 NO)、加工を行うための条件を満たす工具を工具ホ ルダに装着させる必要があるので、 NC装置 10は工具段取指示の処理を行う。
[0050] NC装置 10の工具情報比較部 8は、装着工具データ記憶部 4の装着工具データテ 一ブル 101を使用工具情報に合わせるために工具の着脱を行う必要がある全ての 工具ホルダ(工具番号の比較処理において工具番号が異なる工具ホルダ)を使用ェ 具情報から抽出する。さらに、工具情報比較部 8は、抽出した工具ホルダに対応する 工具番号を使用工具情報から抽出する。工具情報比較部 8は、抽出した工具番号( 差異情報)を工具段取指示作成部 9に送信する。
[0051] 工具段取指示作成部 9は、抽出した工具番号をキーとして、この工具番号に対応 する工具情報を、工具データ記憶部 5の工具データテーブル 102から取得する。ェ 具段取指示作成部 9は、工具の着脱を行う必要がある工具ホルダの工具情報を取得 すると、この取得した情報を用いて工具段取指示情報を作成する。工具段取指示作 成部 9は、作成した工具段取指示情報を表示装置 50に出力する (ステップ S4)。表 示装置 50は、工具段取指示情報に基づいた情報表示を行なうことによってオペレー タに工具段取の指示を報知する。
[0052] 図 7は、工具段取指示の表示の一例を示す図である。図 7に示すように、工具段取 指示は、使用工具情報と装着工具データテーブル 101とで対応する工具番号が異 なっている全ての工具ホルダに対して、工具ホルダ名、使用工具情報に格納された 工具番号、この工具番号に対応する工具の情報を対応付けした情報である。
[0053] 工具段取指示を表示する際には、現在装着されている工具の工具情報と、交換を 必要とする工具の工具情報を、ホルダ名毎に対応付けて表示する。例えば、ここでは 工具ホルダ名" T03"に装着されている工具は、工具番号" 5"で工具タイプが"タップ "、工具長が" 115"、工具径が" 14"の工具である。そして、工具ホルダ名" T03"に は、工具番号" 7"で工具タイプが"クロス穴"、工具長が" 105"、工具径が" 16"のェ 具を装着する必要があることを示して 、る。
[0054] 表示装置 50が工具段取の指示を報知すると、オペレータは表示装置 50が表示す る工具段取指示を確認し、工具段取指示を参照して工具ホルダに装着された工具の 交換を行うか否かを判断する (ステップ S5)。すなわち、オペレータは、工具ホルダに 装着されて 、る工具でそのままカ卩ェプログラムを実行する力 工具ホルダに装着され ている工具を交換してカ卩ェプログラムを実行するかを判断する。オペレータは、この 判断結果を NC装置 10の指示入力部 15に入力する。
[0055] 工具ホルダに装着された工具の交換が指示されている場合には、工具の交換を行 うと判断され、工具ホルダに装着された工具の交換が指示されていない場合には、 工具の交換を行わな 、と判断される。オペレータが工具段取指示を参照して工具ホ ルダに装着された工具の交換を行うと判断した場合 (ステップ S5、 NO)、オペレータ は工具の取り外し、装着および装着工具データテーブル 101の更新力 なる工具交 換作業を行う (ステップ S6)。
[0056] この後、オペレータによって、指示入力部 15から工具交換が完了したことを示す情 報が入力されると (ステップ S7)、工具情報比較部 8はステップ S2の処理に戻る。 NC 装置 10は、ステップ S3の処理において工具情報比較部 8による工具番号の比較結 果 (装着工具データテーブル 101の各工具ホルダの工具の工具番号と、使用工具 情報の工具ホルダの工具番号との比較結果)力 全ての工具ホルダにおいて一致す るまで、またはステップ S5の処理にぉ 、て工具ホルダに装着されて 、る工具でその ままカ卩ェプログラムを実行すると判断されるまで、ステップ S2〜S7の処理を繰り返す
[0057] なお、ここでは工具段取指示作成部 9が工具段取指示情報を作成して工具段取指 示情報を表示装置 50に出力させ、オペレータに工具段取の指示を報知する場合に ついて説明したが、工具段取指示作成部 9は、自動工具交換装置 (工具交換を自動 で行なう外部装置)やロボットへの制御指示として工具段取指示情報を作成してもよ い。この場合、ステップ S4の処理において、工具段取指示作成部 9は、作成したェ 具段取指示情報を自動工具交換装置やロボットに出力する。そして、自動工具交換 装置やロボットは、工具段取指示情報に基づいて工具交換作業 (工具の取り外し、 装着および装着工具データテーブル 101の更新)を行う(ステップ S6)。この後、自動 工具交換装置やロボットによって、工具交換が完了したことを示す情報が指示入力 部 15に入力されると (ステップ S7)、工具情報比較部 8はステップ S2の処理に戻る。
[0058] ステップ S5の処理において、工具ホルダに装着されている工具でそのまま加工プ ログラムを実行すると判断すると (ステップ S5、 YES)、オペレータは現状の工具構成 で加工プログラムを実行し、加工装置 (機械)の運転テストを行なう(ステップ S8)。
[0059] そして、オペレータは現状の工具構成でカ卩ェプログラムを実行した際に発生する干 渉等の問題 (運転テストの問題)の有無を確認する (ステップ S9)。オペレータは、こ の確認結果を NC装置 10の指示入力部 15に入力する。運転テストに問題があった 場合 (ステップ S9、 NO)、問題のあった工具の工具交換取作業を行う (ステップ S6) 。オペレータによって、指示入力部 15から工具交換が完了したことを示す情報が入 力されると (ステップ S7)、工具情報比較部 8はステップ S2の処理に戻り、ステップ S2 〜S9の処理を繰り返す。
[0060] 運転テストに問題がな力つた場合 (ステップ S9、 YES)、実際に力卩ェを正しく行える ことを確認するために NC装置 10は試し加工を行う(ステップ S10)。そして、ォペレ ータは、試し力卩ェに問題があつたか否かを確認する。
[0061] オペレータは、試し力卩ェで問題なく加工が行えることを確認できれば (ステップ S 11 、 YES)、指示入力部 15から工具段取が完了したことを示す情報の入力を行い (ステ ップ S12)、段取処理を終了する。
[0062] 一方、試し力卩ェに問題があった場合 (ステップ Sl l、 NO)、問題のあった工具のェ 具交換取作業を行う (ステップ S6)。オペレータによって、指示入力部 15から工具交 換が完了したことを示す情報が入力されると (ステップ S7)、工具情報比較部 8はステ ップ S2の処理に戻り、ステップ S2〜S11の処理を繰り返す。
[0063] なお、ステップ S6の工具交換作業では、工具段取指示に従った工具交換を行わな い場合があってもよい。すなわち、最終的に加工を行う際の工具構成が使用工具情 報に示される工具構成と異なる場合があってもよい。例えば、使用工具情報に示され る工具が何らかの理由により使用できない場合や、異なる工具を使用することにより、 高い加工精度が得られる場合などに代替工具を装着してもよい。また、工具の交換 前から工具ホルダに装着されている工具であって、実際の加工には使用されないェ 具を交換する手間を省くために、その工具を装着したまま加工を行ってもよい。
[0064] つぎに、使用工具情報の作成処理および更新処理の処理手順について図 3のフロ 一チャートを参照して説明する。使用工具情報更新部 11は、前述した工具段取処理 の最後で工具段取の完了が入力されると、加工プログラムの使用工具情報に格納さ れた編集ロック情報を参照する (ステップ S21)。そして、使用工具情報更新部 11は、 編集ロック情報が有効である力否かを判断する (ステップ S22)。
[0065] 編集ロック情報が有効("EDLK=ON")である場合 (ステップ S22、 YES)、使用 工具情報更新部 11は使用工具情報の更新を行わない。一方、編集ロックが無効 (" EDLK=OFF")である場合 (ステップ S22、 NO)、使用工具情報更新部 11は使用 工具情報の更新の可否を問い合わせる情報を表示装置 50に出力する。そして、表 示装置 50は、使用工具情報を更新するか否かを問う情報 (使用工具情報の更新の 可否を問い合わせるメッセージなど)を表示する (ステップ S23)。これにより、ォペレ ータに使用工具情報の更新の可否の判断を促し、オペレータは使用工具情報の更 新の可否を示す情報を指示入力部 15から入力する (ステップ S24)。
[0066] 指示入力部 15に更新不可を示す情報の入力が行われた場合 (ステップ S25、 NO )、使用工具情報更新部 11は使用工具情報の更新を行わない。一方、指示入力部 1 5に更新可を示す情報の入力が行われた場合 (ステップ S25、 YES)、使用工具情 報更新部 11は装着工具データ記憶部 4の装着工具データテーブル 101から、工具 ホルダに装着された工具番号を全て抽出する。そして、使用工具情報更新部 11は、 全ての工具ホルダに対して、工具ホルダと工具番号を対応付けた情報を使用工具情 報に上書きする (ステップ S 26)。
[0067] 使用工具情報編集可否設定部 12は、 NC装置 10の動作中に随時、指示入力部 1 5からの呼び出し入力によって起動し、編集ロック情報の変更を行うか否かを問い合 わせる情報を表示装置 50に出力する。
[0068] オペレータが加工プログラム記憶部 3内の所定の加工プログラムを指定する情報、 及びこの加工プログラムに対して編集ロックの有効 Z無効を指示する情報を指示入 力部 15から入力することによって、使用工具情報編集可否設定部 12は、指定された 加工プログラムに格納された使用工具情報内の編集ロック情報を更新する。
[0069] すなわち、編集ロックの無効を指示する情報が指示入力部 15に入力されると、使 用工具情報編集可否設定部 12は、使用工具情報の編集ロック情報を" EDLK = O FF"に設定する。また、編集ロックの有効を指示する情報が指示入力部 15に入力さ れると、使用工具情報編集可否設定部 12は、使用工具情報の編集ロック情報を" E DLK=ON"に設定する。
[0070] なお、図 2のステップ S3の処理において、工具情報比較部 8による工具番号の比 較結果が、全ての工具ホルダにおいて一致する場合 (ステップ S3、 YES)、使用ェ 具情報更新部 11は、工具段取処理の最後で工具段取の完了が入力されることはな い。このため、使用工具情報更新部 11は使用工具情報の更新を行わない。このとき 、使用工具情報更新部 11は、工具情報比較部 8から送られる工具番号の比較結果( 工具番号の一致なし)に基づいて、使用工具情報の更新を行わないと判断してもよ い。
[0071] このように実施の形態 1によれば、加工プログラムによる加工を行う際にその加工プ ログラムが過去に正しく動作した時の工具構成を再現するよう工具段取指示の表示 を行わせている。これにより、工具段取指示に従って容易に工具交換を行うことがで き、加工プログラムによる加工で必要となる工具を容易に選択して所定の工具ホルダ に装着することが可能となる。
[0072] また、加工に使用されない工具ホルダに対しても、以前にカ卩ェプログラムを実行し た時とは異なる工具が装着されている場合にのみ工具段取指示を表示させるため、 不要な工具を全て外したり、不要な工具が干渉を起こさな 、ことを確認したりするた めの工程を省くことができる。これにより、工作機械における工具段取り作業の工程 数を削減させて効率の良い工具交換を促すことが可能となり、迅速に加工処理を開 始させることが可會 となる。
[0073] また、使用工具情報の新規作成においては、実際に工具ホルダに装着し、試しカロ ェを行った後に、その状態(工具構成)での装着工具データを自動的に加工プロダラ ムに使用工具情報として格納できるため、手作業での使用工具情報の登録が不要と なる。
[0074] また、使用工具情報の更新においては、代替工具の使用などにより、以前に加工 プログラムを実行して ヽた時の使用工具と異なる工具を使用する場合であつても、加 ェプログラムを実行する際に装着工具データテーブル 101を作成しておくので、自 動的に使用工具情報を更新することができ、手作業で使用工具情報を書き換える手 間を省略できる。これにより、工具段取作業の工程数、工具段取指示のために用いら れる使用工具情報の作成の工程数、使用工具情報の更新の工程数を大幅に削減 することができ、これらの作業に伴うミスの発生を防止することが可能となる。
[0075] また、使用工具情報の管理においては、加工プログラムと対応する使用工具情報 をカロェプログラム中に格納することによって、使用工具情報とカ卩ェプログラムをまとめ て管理することが可能となる。例えば、加工プログラムを外部記憶装置 40に格納して 加工プログラムを管理する場合などに、加工プログラムと使用工具情報を分けて管理 した場合には、加工プログラムと使用工具情報との対応を失うことが起こりうるが、実 施の形態 1では使用工具情報を加工プログラムとまとめて管理するので加工プロダラ ムと使用工具情報との対応の消失を防止することが可能となる。これにより、カロェプロ グラムと使用工具情報との対応を間違えるなどのミスの発生を防止することができる。 また、 NC装置 10以外には特別な装置を必要としないため、簡易な構成で安価にェ 具段取指示の表示を行なわせることが可能となる。
[0076] 実施の形態 2.
つぎに、図 8を用いてこの発明の実施の形態 2について説明する。実施の形態 2で は、 NC装置 10が外部装置 (後述する工具情報記憶部 21)から工具に関する情報を 取得し、工具データテーブル 102や装着工具データテーブル 101の登録を行なう。
[0077] 図 8は、実施の形態 2に係る NC装置の構成を示すブロック図である。図 8の各構成 要素のうち図 1に示す実施の形態 1の NC装置 10と同一機能を達成する構成要素に ついては同一番号を付しており、重複する説明は省略する。
[0078] 実施の形態 2に係る NC装置 10は、装着工具データ入力部 7と工具データ入力部 6 1S 工具 20が有する工具情報記憶部 (外部装置) 21と接続している。工具情報記憶 部 21は、マイクロチップなどの記憶手段であり、工具データ記憶部 5に格納される情 報と同様の工具データを記憶している。
[0079] 装着工具データ入力部 7は、工具情報記憶部 21から工具 20に関する情報を読み 取り、読み取った工具データと工具データ記憶部 5の工具データとを照合する。そし て、工具情報記憶部 21から読み取った工具データと工具データ記憶部 5の工具デ ータとの照合において合致する工具 (レコード)があった場合、工具データテーブル 1 02への工具データの登録処理は行なわな!/、。
[0080] 一方、工具情報記憶部 21から読み取った工具データに合致する工具 (レコード)が 工具データ記憶部 5 (工具データテーブル 102)に登録されていな力つた場合、工具 データ入力部 6は工具情報記憶部 21から読み取った工具データを新たな工具情報 (レコード)として工具データテーブル 102に追加する。 NC装置 10のその他の構成、 動作については実施の形態 1と同様であるため、その説明を省略する。
[0081] このように実施の形態 2によれば、 NC装置 10が工具情報記憶部 21から工具に関 する情報を取得し、工具データテーブル 102や装着工具データテーブル 101の登 録を行なうので、装着工具データテーブル 101や工具データテーブル 102の手作業 による入力工程を省くことができる。これにより、装着工具データテーブル 101や工具 データテーブル 102の登録に伴うミスの発生を防止することが可能となる。
[0082] 実施の形態 3.
つぎに、図 9および図 10を用いてこの発明の実施の形態 3について説明する。実 施の形態 3では、ハッシュ値を使用工具情報を記憶するデータベースの検索キーと して用い、ノ、ッシュ値の一致するレコードを検索することによって、使用する加工プロ グラムカゝら必要な編集ロック情報および工具ホルダと工具番号との対応が登録された レコードを取得する。
[0083] 図 9は、実施の形態 3に係る NC装置の構成を示すブロック図である。図 9の各構成 要素のうち図 1に示す実施の形態 1の NC装置 10と同一機能を達成する構成要素に ついては同一番号を付しており、重複する説明は省略する。
[0084] 実施の形態 3に係る NC装置 10は、使用工具情報記憶部 31を備えている。使用ェ 具情報記憶部 31は、編集ロック情報および工具ホルダと工具番号との対応 (使用ェ 具情報)などが登録されたレコード (後述するハッシュ値情報 103)を記憶するデータ ベースであり、工具情報比較部 8、使用工具情報更新部 11、使用工具情報編集可 否設定部 12と接続されて!ヽる。
[0085] また、ここでの工具情報比較部 8は、加工プログラム記憶部 3、装着工具データ記 憶部 4、使用工具情報更新部 11、使用工具情報編集可否設定部 12、工具段取指 示作成部 9、使用工具情報記憶部 31と接続されている。なお、図 9においては、 NC 装置 10が備える指示入力部 15の図示を省略している。
[0086] NC装置 10の工具情報比較部 8は、加工プログラム入出力部 2が外部記憶装置 40 力 読み出してカ卩ェプログラム記憶部 3に記憶させたカ卩ェプログラムのハッシュ値を 算出する。そして、工具情報比較部 8は、加工プログラムナンバー(例えば" 0123") およびハッシュ値をキーとして、使用工具情報記憶部 31のレコード (ハッシュ値情報 103)を検索する。工具情報比較部 8は、検索が成功した場合は、外部記憶装置 40 力も読み出した加工プログラムに対応する使用工具情報をハッシュ値情報 103から 抽出する。
[0087] ここで、ノ、ッシュ値情報 103の構成について説明する。図 10は、ハッシュ値情報の 構成の一例を示す図である。ノ、ッシュ値情報 103は、プログラムナンバー、ハッシュ 値、使用工具情報がそれぞれ対応付けられた情報のデータテーブルである。ノ、ッシ ュ値情報 103は、実施の形態 1で説明した加工プログラムに付加された使用工具情 報と同様の情報であり、編集ロック情報および工具ホルダと工具番号との対応が登録 されたレコード (使用工具情報)を含んで構成されている。例えば、プログラムナンパ 一" 0123"でハッシュ値" 01234567"の使用工具情報は、編集ロック情報である" E DLK=OFF"、工具ホルダと工具番号との対応関係である" T01 = 1"などを含んで いる。
[0088] 工具情報比較部 8が、外部記憶装置 40から読み出した加工プログラムに対応する 使用工具情報をハッシュ値情報 103から抽出すると、工具情報比較部 8は抽出した 使用工具情報に格納された各工具ホルダの工具の工具番号と、装着工具データテ 一ブル 101の工具ホルダの工具番号と比較する。この工具情報比較部 8による工具 番号の比較処理は、実施の形態 1 (図 2)のステップ S2の処理に対応する。
[0089] 一方、工具情報比較部 8は、ハッシュ値情報 103内の使用工具情報の検索に失敗 した場合 (加工プログラムに対応する使用工具情報が登録されていない場合)、使用 工具情報記憶部 31 (ハッシュ値情報 103)にカ卩ェプログラムナンバー、ノ、ッシュ値お よび編集ロック情報のレコードを新たに格納する。工具情報比較部 8は、使用工具情 報の編集が編集可の場合に編集ロック情報として" EDLK= OFF"を登録し、使用ェ 具情報の編集が編集不可の場合に編集ロック情報として" EDLK=ON"を登録する
[0090] ここでハッシュ値にっ 、て説明する。ノ、ッシュ値は、ノ、ッシュ関数と!/、う特別な計算 方法を使って対象のデータ力 数学的に割り出した短いデータのことであり、検索を 高速ィ匕する手法として用いられることが一般に知られている。ノ、ッシュ値の具体的な 計算方法は、数学関係の文献やインターネット上等で公知にされている。このハツシ ュ値を使用工具情報記憶部 31の検索キーとして用い、ハッシュ値の一致するレコー ドを検索することにより、使用する加工プログラム力 必要な編集ロック情報およびェ 具ホルダと工具番号との対応が登録されたレコードを正しく得ることが可能となる。な お、同一のプログラムナンバーを持つ加工プログラムに対応するレコードが複数格納 されている場合にも、使用する加工プログラム力 必要な編集ロック情報および工具 ホルダと工具番号との対応が登録されたレコードを正しく得ることができる。
[0091] 使用工具情報更新部 11は、図 2で説明した実施の形態 1の工具段取処理の最後 で工具段取完了入力が行われると (ステップ S 12)、使用したカ卩ェプログラムのハツシ ュ値を算出する。そして、使用工具情報更新部 11は、使用工具情報記憶部 31に格 納された加工プログラムであって使用した加工プログラムに対応する使用工具情報 を参照し、使用工具情報記憶部 31 (ハッシュ値情報 103)の更新処理を行う。この更 新処理の流れについては、実施の形態 1と同様であるため、その説明を省略する。
[0092] 使用工具情報編集可否設定部 12は、指示入力部 15で指定された加工プログラム のノ、ッシュ値を算出し、使用工具情報記憶部 31に格納された加工プログラムの中か ら指定された加工プログラムを抽出する。そして、使用工具情報編集可否設定部 12 は、抽出した使用工具情報内の編集ロック情報を実施の形態 1と同様の流れで更新 する。
[0093] このように実施の形態 3によれば、工具段取作業の工程数、工具段取指示のため に用いられる使用工具情報の作成および更新の工程数が大幅に省略され、これらの 作業に伴うミスの発生を防止することができる。
[0094] また、 NC装置 10以外には特別な装置を必要としないため、簡易な構成で安価に 工具段取指示の表示を行なわせることが可能となる。さらに、実施の形態 3では従来 の加工プログラムのフォーマットに改変をカ卩えないため、既存の加工プログラムを変 更せずにそのまま用いた場合でも同様の効果を得ることができる。したがって、実施 の形態 3で用 、た加ェプログラムを NC装置 10以外の他の工作機械でそのまま用 ヽ ることち可會である。
産業上の利用可能性
[0095] 以上のように、本発明に力かる数値制御装置は、加工装置が被カ卩ェ物の加工に使 用する工具に対する段取りの指示に適して 、る。

Claims

請求の範囲
[1] 加工プログラムを解析するとともに、前記カ卩ェプログラムの解析結果に基づいて、 被加工物を加工する際の加工装置の制御を行なう数値制御装置において、 前記加工装置に現在装着されている工具および当該工具が装着されている工具 ホルダに関する装着工具情報を記憶する装着工具情報記憶部と、
前記加工プログラムを用いて前記加工装置を制御する前に、前記加工プログラム を用いて前記加工装置を制御した際に前記加工装置が使用した工具および当該ェ 具が装着されていた工具ホルダの実績に関する使用工具情報と、前記装着工具情 報記憶部が記憶する装着工具情報とを比較して、前記工具および前記工具ホルダ に関する情報の差異を差異情報として抽出する工具情報比較部と、
前記工具情報比較部が前記差異情報を抽出した場合に、前記差異情報に基づ 、 て前記加工装置の工具ホルダに装着させる工具に関する段取作業を指示する段取 指示情報を作成して外部装置に出力する段取指示作成部と、
を備えることを特徴とする数値制御装置。
[2] 前記加工プログラムを用いて前記加工装置を制御する際に、前記加工装置が使用 した工具および当該工具が装着されて!、た工具ホルダに基づ!/、て前記使用工具情 報を作成する使用工具情報作成部をさらに備えることを特徴とする請求項 1に記載 の数値制御装置。
[3] 前記使用工具情報作成部は、作成した前記使用工具情報を前記加工プログラム に付加することを特徴とする請求項 2に記載の数値制御装置。
[4] 前記使用工具情報作成部は、前記加工プログラムを用いて前記加工装置を制御 する際に新たな使用工具情報を作成すると、作成した新たな使用工具情報を用いて 前記加工プログラムの使用工具情報を更新することを特徴とする請求項 2に記載の 数値制御装置。
[5] 前記使用工具情報は、前記使用工具情報作成部に前記使用工具情報を更新させ るカゝ否かを指定する編集ロック情報を含み、
前記使用工具情報作成部は、前記編集ロック情報が前記使用工具情報作成部に 前記使用工具情報を更新させることを指定する情報を含む場合に、作成した新たな 使用工具情報を用いて前記加工プログラムの使用工具情報を更新することを特徴と する請求項 2に記載の数値制御装置。
[6] 外部入力される指示情報に基づいて、前記編集ロック情報を前記使用工具情報に 設定する編集ロック設定部をさらに備えることを特徴とする請求項 5に記載の数値制 御装置。
[7] 前記工具に関する工具情報を記憶する工具情報記憶部をさらに備え、
前記段取指示作成部は、前記工具情報記憶部が記憶する工具情報を用いて前記 段取指示情報を作成することを特徴とする請求項 1に記載の数値制御装置。
[8] 前記工具情報記憶部は、外部装置から送信される工具情報を受信して記憶するこ とを特徴とする請求項 1に記載の数値制御装置。
[9] 前記加工プログラムに対応する使用工具情報を、前記加工プログラムに基づいて 算出されたハッシュ値と対応付けて記憶する使用工具情報記憶部をさらに備え、 前記工具情報比較部は、前記加ェ装置を制御する際に用いる加ェプログラムに基 づいて当該カ卩ェプログラムのハッシュ値を算出するとともに、算出したハッシュ値を用 V、て前記使用工具情報記憶部が記憶する使用工具情報を抽出し、抽出した使用ェ 具情報と前記装着工具情報記憶部が記憶する装着工具情報とを比較して前記差異 情報を抽出することを特徴とする請求項 1に記載の数値制御装置。
PCT/JP2006/314190 2006-07-18 2006-07-18 Numerical controller Ceased WO2008010264A1 (en)

Priority Applications (5)

Application Number Priority Date Filing Date Title
PCT/JP2006/314190 WO2008010264A1 (en) 2006-07-18 2006-07-18 Numerical controller
CNA2006800553855A CN101489718A (zh) 2006-07-18 2006-07-18 数控装置
JP2008525745A JPWO2008010264A1 (ja) 2006-07-18 2006-07-18 数値制御装置
US12/373,707 US20100204818A1 (en) 2006-07-18 2006-07-18 Numerical control device
DE112006003954T DE112006003954T5 (de) 2006-07-18 2006-07-18 Vorrichtung mit einer numerischen Steuerung

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/JP2006/314190 WO2008010264A1 (en) 2006-07-18 2006-07-18 Numerical controller

Publications (1)

Publication Number Publication Date
WO2008010264A1 true WO2008010264A1 (en) 2008-01-24

Family

ID=38956602

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2006/314190 Ceased WO2008010264A1 (en) 2006-07-18 2006-07-18 Numerical controller

Country Status (5)

Country Link
US (1) US20100204818A1 (ja)
JP (1) JPWO2008010264A1 (ja)
CN (1) CN101489718A (ja)
DE (1) DE112006003954T5 (ja)
WO (1) WO2008010264A1 (ja)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2021003796A (ja) * 2019-06-27 2021-01-14 Dmg森精機株式会社 工具挿入補助装置

Families Citing this family (20)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5334701B2 (ja) * 2009-06-22 2013-11-06 株式会社ジェイテクト 最適工程決定装置および最適工程決定方法
US20110144786A1 (en) * 2009-12-11 2011-06-16 Gonzalez Technical Services, Inc. Material management system and method for retooling and producing a manufacturing line
JP2012011492A (ja) * 2010-06-30 2012-01-19 Brother Industries Ltd 工具配置算出装置、工具配置算出プログラムおよび記憶媒体
CN104956274B (zh) * 2013-01-30 2016-11-09 三菱电机株式会社 数控装置
WO2015029232A1 (ja) * 2013-08-30 2015-03-05 株式会社牧野フライス製作所 工具管理システム
WO2015097886A1 (ja) * 2013-12-27 2015-07-02 株式会社牧野フライス製作所 加工情報管理装置および工具経路生成装置
JP6185408B2 (ja) * 2014-03-07 2017-08-23 Dmg森精機株式会社 Ncプログラム生成、編集装置
JP6140115B2 (ja) 2014-08-12 2017-05-31 ファナック株式会社 加工シミュレーション装置
DE102015108535B3 (de) * 2015-05-29 2016-11-24 Kaltenbach Gmbh + Co. Kg Verfahren zur Werkzeugsubstitution
JP2017033346A (ja) * 2015-08-03 2017-02-09 オークマ株式会社 工作機械の情報取得装置
TWI610738B (zh) 2016-08-19 2018-01-11 財團法人工業技術研究院 工具機刀具管理系統與方法
JP6847729B2 (ja) * 2017-03-28 2021-03-24 株式会社ディスコ 切削装置
JP6603272B2 (ja) 2017-07-18 2019-11-06 ファナック株式会社 情報収集装置及び情報収集方法
JP6761004B2 (ja) * 2018-07-26 2020-09-23 ファナック株式会社 工具管理システム、工具管理装置及び工具管理方法
CN109782689B (zh) * 2019-01-10 2020-12-15 上海交通大学 一种基于大数据技术的数控加工的刀具管理方法及系统
TW202131120A (zh) 2020-01-31 2021-08-16 財團法人工業技術研究院 工具機刀具管理方法
JP7230874B2 (ja) * 2020-03-31 2023-03-01 ブラザー工業株式会社 数値制御装置
JP7547808B2 (ja) * 2020-06-23 2024-09-10 株式会社ジェイテクト 加工システム
CN114888543B (zh) * 2022-07-13 2022-12-13 成都飞机工业(集团)有限责任公司 一种刀具测试系统及测试方法
CN119057542B (zh) * 2024-11-05 2025-03-25 冈田智能(江苏)股份有限公司 一种平置刀库的配刀控制方法及系统

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05138509A (ja) * 1991-11-20 1993-06-01 Amada Co Ltd 工作機械のダイレクトnc運転方法
JPH10113836A (ja) * 1996-10-09 1998-05-06 Hitachi Seiki Co Ltd Nc工作機械の使用工具チェック方法および装置

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS57172411A (en) * 1981-04-15 1982-10-23 Mitsubishi Electric Corp Numeric controller
JPS58143934A (ja) * 1982-02-19 1983-08-26 Toyoda Mach Works Ltd 工具取替装置を備えた数値制御工作機械
US4739488A (en) * 1984-09-21 1988-04-19 Brother Kogyo Kabushiki Kaisha Machine tool with tool selection and work sequence determination
JPS6416A (en) 1986-12-23 1989-01-05 Santen Pharmaceut Co Ltd Remedy for arthritis
US5933353A (en) * 1997-09-16 1999-08-03 New Focus, Inc. Method and apparatus for computer aided machining
US6350222B2 (en) * 1999-07-28 2002-02-26 Thermwood Corporation Machine tool with improved tool changer means
DE102005029589B4 (de) * 2005-06-25 2022-05-19 Zf Friedrichshafen Ag Vorrichtung zum Steuern wenigstens eines hydraulisch betätigbaren Schaltelementes eines Automatgetriebes
TWI353496B (en) * 2006-08-04 2011-12-01 Hurco Co Inc System and method and computer readable medium for

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05138509A (ja) * 1991-11-20 1993-06-01 Amada Co Ltd 工作機械のダイレクトnc運転方法
JPH10113836A (ja) * 1996-10-09 1998-05-06 Hitachi Seiki Co Ltd Nc工作機械の使用工具チェック方法および装置

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2021003796A (ja) * 2019-06-27 2021-01-14 Dmg森精機株式会社 工具挿入補助装置

Also Published As

Publication number Publication date
US20100204818A1 (en) 2010-08-12
JPWO2008010264A1 (ja) 2009-12-10
DE112006003954T5 (de) 2009-05-07
CN101489718A (zh) 2009-07-22

Similar Documents

Publication Publication Date Title
WO2008010264A1 (en) Numerical controller
JP6114828B2 (ja) 工具管理システム
CN106796425B (zh) 机床的控制装置
JP7198824B2 (ja) 工作機械の制御装置
JP2021142613A (ja) 工具管理システム、工具寸法測定装置、および端末
US7110851B2 (en) Numerically controlled device
JP5210070B2 (ja) 数値制御工作機械
JP4097670B2 (ja) 工作機械におけるモニタ装置
JPH08328829A (ja) パラメータ変更履歴管理システム
JP2002166335A (ja) 工具交換機能付工作機械用数値制御装置の操作盤
US20250076839A1 (en) Numerical control apparatus
JP3180805B2 (ja) 数値制御工作機械
JP7602092B1 (ja) Nc工作機械用の加工実績管理システム、サーバ装置、および加工状況監視プログラム
JP2013114425A (ja) 数値制御装置
JP2636131B2 (ja) タレットパンチプレスにおける金型自動交換の対話型管理方法とその制御装置
JP3873773B2 (ja) 数値制御装置及び数値制御方法
JPH0643920A (ja) 工具管理方式
JP2001147707A (ja) 加工実績記録装置
JPH0716844B2 (ja) Nc工作機械の工具編集装置
JPH04223835A (ja) Nc工作機械の工具番号登録方法
AU2016253678A1 (en) A cnc machine programming and program management method
JPH07110461B2 (ja) 工具マガジンの工具貯蔵方法とその工具マガジンファイル装置
JPH02308309A (ja) 数値制御装置の運転方式
WO2022224388A1 (ja) 数値制御装置及びコンピュータが読み取り可能な記憶媒体
JP4818551B2 (ja) 工作機械のスケジュール運転管理装置、スケジュール運転システムおよびスケジュール運転方法

Legal Events

Date Code Title Description
WWE Wipo information: entry into national phase

Ref document number: 200680055385.5

Country of ref document: CN

DPE2 Request for preliminary examination filed before expiration of 19th month from priority date (pct application filed from 20040101)
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 06781203

Country of ref document: EP

Kind code of ref document: A1

WWE Wipo information: entry into national phase

Ref document number: 2008525745

Country of ref document: JP

WWE Wipo information: entry into national phase

Ref document number: 12373707

Country of ref document: US

WWE Wipo information: entry into national phase

Ref document number: 1120060039547

Country of ref document: DE

NENP Non-entry into the national phase

Ref country code: RU

RET De translation (de og part 6b)

Ref document number: 112006003954

Country of ref document: DE

Date of ref document: 20090507

Kind code of ref document: P

122 Ep: pct application non-entry in european phase

Ref document number: 06781203

Country of ref document: EP

Kind code of ref document: A1