Numerical control device
By pre-reading the tool type and blade type selection instructions in the machining program in the numerical control device, and selecting the tool with the least number of tools to replace according to the remaining life of the blade, the problem of increasing cycle time caused by the depletion of the blade life in multi-cutting tool processing is solved, and more efficient processing and cost control is achieved.
Patent Information
- Application Number
- CN202011096435.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Priority Date
- 2019-10-18
- Filing Date
- 2020-10-14
- Publication Date
- 2025-06-27
- Estimated Expiration
- 2040-10-14
AI Technical Summary
During the processing of multi-edge tools, when the life of one blade is exhausted, the tool replacement cycle time increases.
Design a numerical control device to store the types of blades and tools through the tool information storage, read the types of tool and tool type selection instructions in the pre-read processing program, generate internal information, and select the tool with the least number of tools to be replaced according to the remaining life of the blade.
Even when the life of one blade is exhausted, the increase in cycle time can be suppressed in the machining of multi-edge tools, improving machining efficiency and reducing costs.
Smart Images

Figure CN112684761B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to a numerical control device. Background Art
[0002] There is a multi-edge tool having a plurality of cutting edges. There is known a technique in which, based on the life data and the cumulative use time data of each cutting edge of a multi-edge tool, the remaining life of each cutting edge is calculated when outputting a machining operation instruction, and when at least one cutting edge exceeds the remaining life, it is determined that the multi-edge tool has reached the end of its life. For example, refer to Patent Document 1.
[0003] Prior Art Documents
[0004] Patent Document 1: Japanese Patent Laid-Open No. 7-314290
[0005] In addition, when it is desired to perform a series of machining using different cutting edges of a single tool without replacing the tool by taking advantage of the characteristics of the multi-edge tool, since the life of one cutting edge is exhausted, the tool is replaced, resulting in an increase in the cycle time. Summary of the Invention
[0006] Therefore, it is desired to suppress the cycle time in machining using a multi-edge tool even when the life of one cutting edge is exhausted.
[0007] One aspect of the numerical control device of the present disclosure is a numerical control device for a machine tool. The machine tool uses a multi-edge tool having a plurality of cutting edges of different specifications to machine a workpiece, and the numerical control device includes: a tool information memory that stores, in association with each other, a cutting edge type number that determines the type of the cutting edge and a tool type number that determines the type of the tool; a tool type selection instruction and cutting edge type selection instruction interpretation unit that pre-reads a plurality of program blocks included in a machining program, interprets a tool type selection instruction for selecting the type of the tool and / or a cutting edge type selection instruction for selecting the type of the cutting edge in the pre-read plurality of program blocks, and generates internal information including the interpreted tool type selection instruction and / or the cutting edge type selection instruction; and a tool selection unit that selects a tool with the least number of tool replacements during the execution of at least the pre-read plurality of program blocks based on the remaining life of each cutting edge stored in the tool information memory and the internal information generated by the tool type selection instruction and cutting edge type selection instruction interpretation unit.
[0008] Advantages of the Invention
[0009] According to one aspect, even when the life of one cutting edge is exhausted, the cycle time can be suppressed in machining using a multi-edge tool. Brief Description of the Drawings
[0010] Figure 1 It is a functional block diagram showing a functional structure example of a numerical control device according to an embodiment.
[0011] Figure 2 It is a diagram showing an example of a tool and cutting edge data sheet.
[0012] Figure 3A It is a diagram showing an example of a multi-edge tool.
[0013] Figure 3B It is a diagram showing an example of a multi-edge tool.
[0014] Figure 3C It is a diagram showing an example of a multi-edge tool.
[0015] Figure 4 It is a diagram showing an example of a machining program.
[0016] Figure 5 It is a flowchart explaining the NC instruction interpretation process of the numerical control device.
[0017] Figure 6 It is for Figure 5 It is a flowchart explaining the detailed processing content of the NC instruction interpretation process shown in step S2.
[0018] Figure 7 It is for Figure 6 It is a flowchart explaining the detailed processing content of the main interpretation process shown in step S24.
[0019] Figure 8 It is for Figure 7 It is a flowchart explaining the detailed processing content of the tool type selection instruction and cutting edge type selection instruction storage process shown in step S41.
[0020] Figure 9 It is for Figure 7 It is a flowchart explaining the detailed processing content of the next program block read-in determination process shown in step S43.
[0021] Figure 10 It is for Figure 9 It is a flowchart showing the continuation of the next program block read-in determination process.
[0022] Figure 11 It is a flowchart explaining the NC instruction execution process of the numerical control device.
[0023] Figure 12 It is for Figure 11 It is a flowchart explaining the detailed processing content of the tool selection process shown in step S110.
[0024] Figure 13It is a flowchart showing the continuation of the tool selection process Figure 12
[0025] Figure 14 It is a flowchart showing the continuation of the tool selection process Figure 12
[0026] Figure 15 It is a flowchart for explaining in detail the processing content of the tool selection process (1) shown in step S208 in Figure 13
[0027] Figure 16 It is a flowchart for explaining in detail the processing content of the tool selection process (2) shown in step S212 in Figure 14
[0028] Explanation of reference numerals
[0029] 10 Numerical control device; 111 Tool type and cutting edge type selection instruction interpretation unit; 120 Tool selection unit; 200 Tool information storage Detailed implementation mode
[0030]
[0031] First, an overview of this embodiment will be described. In this embodiment, the numerical control device pre-reads a plurality of program blocks included in the machining program, interprets the tool type selection instruction for selecting the type of the tool to be implemented and the cutting edge type selection instruction for selecting the type of the cutting edge in the pre-read plurality of program blocks. The numerical control device generates internal information including the interpreted tool type selection instruction and cutting edge type selection instruction. The numerical control device selects the tool with the minimum number of tool replacements at least during the execution of the pre-read plurality of program blocks based on the remaining life of each cutting edge stored in the tool information storage and the generated internal information.
[0032] Thus, according to this embodiment, the following problem can be solved: "Even when the life of one cutting edge is exhausted, the cycle time is suppressed during the machining process using a multi-cutting-edge tool."
[0033] The above is the overview of this embodiment.
[0034] Next, the structure of this embodiment will be described in detail with reference to the drawings.
[0035] Figure 1 It is a functional block diagram showing a functional structure example of a numerical control device related to an embodiment.
[0036] The numerical control device 10 and the machine tool 20 can be directly connected to each other via a connection interface (not shown). Additionally, the numerical control device 10 and the machine tool 20 can also be connected to each other via a network (not shown) such as a LAN (Local Area Network) or the Internet. In this case, the numerical control device 10 and the machine tool 20 have a communication unit (not shown) for communicating with each other through such a connection.
[0037] The numerical control device 10 is a well-known numerical control device to those skilled in the art. It generates an operation instruction according to control information and sends the generated operation instruction to the machine tool 20. Thus, the numerical control device 10 controls the operation of the machine tool 20. Additionally, when the machine tool 20 is a robot or the like, the numerical control device 10 can be a robot control device or the like.
[0038] Furthermore, the control object of the numerical control device 10 is not limited to the machine tool 20 or the robot, and it can be widely applied to the entire industrial machinery. So-called industrial machinery includes various machines such as machine tools, industrial robots, service robots, forging machines, and injection molding machines.
[0039] As Figure 1 shown, the numerical control device 10 has a control unit 100 and a tool information memory 200. And the control unit 100 has: an NC instruction interpretation unit 110, a tool selection unit 120, a tool change execution unit 130, a tool calibration unit 140, and a pulse distribution unit 150. And the NC instruction interpretation unit 110 has a tool type and edge type selection instruction interpretation unit 111.
[0040] <Tool Information Memory 200>
[0041] The tool information memory 200 is an SSD (Solid State Drive), an HDD (Hard Disk Drive), or the like. The tool information memory 200 stores a tool and edge data table 210.
[0042] The tool and edge data table 210 is, for example, a list of tool information related to tools that the machine tool 20 can select. In addition, when the tool is a multi-edge tool, the edge number of the number of edges is registered for each multi-edge tool, thereby ensuring an area for storing information for each edge. And the tool and edge data table 210 assigns the same edge number to edges with the same edge attributes (processing purpose, material, edge tip R correction amount, etc.) and registers them for each edge.
[0043] In addition, for tools other than multi-edge tools, the edge number is not registered, thereby being equivalent to the structure of the existing tool information memory.
[0044] Figure 2 This is a diagram showing an example of the tool and blade data table 210.
[0045] As Figure 2 shown, the tool and blade data table 210 has: a storage area that stores the tool number assigned in the registration order, a tool type number indicating the type of the pre-set tool, a blade number assigned to each blade of each multi-blade tool, a blade type number indicating the type of each blade, and the remaining life (number of uses).
[0046] In addition, the tool and blade data table 210 may also have a storage area for storing the tool position offset (e.g., for turning tools), the tool length correction amount (e.g., for milling tools), and the tip R correction amount, etc. for each tool.
[0047] As described above, the tool and blade data table 210 can store the tool numbers from "1" to "7" assigned in the registration order. In addition, the tool and blade data table 210 assigns and stores pre-set tool type numbers such as "100" according to the type of the tool.
[0048] In addition, since the tool type numbers of the tools with tool numbers "1" to "3" are "100", the tools with tool numbers "1" to "3" represent the same type of tool.
[0049] In addition, in the tool and blade data table 210, blade numbers from "1" to "3" are assigned and stored for each of the tools with tool numbers "1" to "5". Therefore, the tools with tool numbers "1" to "5" represent multi-blade tools with three blades. However, as the tool type numbers of the tools with tool numbers "1" to "3" are "100", the tool type number of the tool with tool number "4" is "101", and the tool type number of the tool with tool number "5" is "110", the types of the tools are different. Therefore, the tools with tool numbers "1" to "3", the tool with tool number "4", and the tool with tool number "5" represent multi-blade tools of different types.
[0050] Figures 3A - 3C This is a diagram showing an example of a multi-blade tool.
[0051] Figure 3AMulti-edge tools of tool type number "100" are represented by tool numbers "1" to "3". For the multi-edge tools of tool type number "100", cutting edge number "1" has a cutting edge for rough machining, cutting edge number "2" has a cutting edge for medium finish machining, and cutting edge number "3" has a cutting edge for finish machining. Thus, by rotating the multi-edge tool around the B-axis (Y-axis), rough machining, medium finish machining, and finish machining can be continuously performed. Also, cutting edge type numbers "11" to "13" are pre-assigned to cutting edge numbers "1" to "3".
[0052] Figure 3B A multi-edge tool of tool type number "101" is represented by tool number "4". The multi-edge tool of tool type number "101" has the same function as the Figure 3A multi-edge tool, but the size of the tool is different. Therefore, for the Figure 3B multi-edge tool, a different tool type number "101" is assigned compared to the Figure 3A multi-edge tool.
[0053] Figure 3C A multi-edge tool of tool type number "110" is represented by tool number "5". For the multi-edge tool of tool type number "110", a tip turning tool is set at cutting edge number "1", a right cutting turning tool is set at cutting edge number "2", and a left cutting turning tool is set at cutting edge number "3". Thus, Figure 3C the multi-edge tool can continuously perform turning operations of no offset, right offset, and left offset by rotating around the B-axis (Y-axis). Also, cutting edge type numbers "15" to "17" are pre-assigned to cutting edge numbers "1" to "3".
[0054] Thus, in the tool and cutting edge data table 210, cutting edge type numbers "11" to "13" are stored for each cutting edge number "1" to "3" of the tools with tool numbers "1" to "4", and cutting edge type numbers "15" to "17" are stored for cutting edge numbers "1" to "3" of the tool with tool number "5".
[0055] In addition, the tools with tool numbers "6" and "7" are not assigned cutting edge numbers, so they are tools other than multi-edge tools. For example, the tool with tool number "6" is a grooving turning tool of tool type number "200", and the tool with tool number "7" is a profiling turning tool of tool type number "210", etc. Therefore, in the tool and cutting edge data table 210, the cutting edge number and cutting edge type number are blank for tool numbers "6" and "7".
[0056] In addition, the tool and blade data table 210 stores the remaining life (number of uses) by tool or by blade. For example, regarding the remaining life (number of uses) of the tool and blade data table 210, when replacing a new tool, etc., the maximum number of uses is set as an initial value by blade or by tool, and it is decremented by 1 each time it is used. Figure 2 In the tool and blade data table 210 of Figure 2 , the remaining life (number of uses) of blade number "3" among the blades of the multi-blade tool with tool number "3" is "0", indicating that the life has expired.
[0057] Alternatively, the life (number of uses) can be incremented sequentially from 0. In this case, the numerical control device 10 can determine whether the life has expired by determining whether the life (usage time) has reached the maximum number of uses. Or, the life (number of uses) can also be the cumulative usage time of the tool, etc. In this case, the numerical control device 10 can determine whether the life has expired by determining whether the cumulative usage time of the tool has reached a preset specified time.
[0058] <Control Unit 100>
[0059] It is well-known to those skilled in the art that the control unit 100 includes: a CPU, a ROM, a RAM, a CMOS memory, etc., which are configured to be able to communicate with each other via a bus.
[0060] The CPU is a processor that controls the numerical control device 10 as a whole. The CPU reads out the system program and application program stored in the ROM via the bus, and controls the numerical control device 10 as a whole according to the system program and application program. Thus, as Figure 1 shown, the control unit 100 is configured to implement the functions of the NC instruction interpretation unit 110, the tool selection unit 120, the tool replacement execution unit 130, the tool calibration unit 140, and the pulse distribution unit 150. Various data such as temporary calculation data or display data are stored in the RAM. The CMOS memory is configured as a non-volatile memory and is backed up by a battery (not shown), and can maintain the storage state even when the power of the numerical control device 10 is turned off.
[0061] The NC instruction interpretation unit 110, for example, obtains the machining program 30 generated by an external device such as a CAD / CAM device, and analyzes the obtained machining program 30.
[0062] The tool type and blade type selection instruction interpretation unit 111 pre-reads a plurality of program blocks included in the machining program 30, and interprets the tool type selection instruction for selecting the type of tool and / or the blade type selection instruction for selecting the type of blade in the pre-read plurality of program blocks. The tool type and blade type selection instruction interpretation unit 111 generates internal information including the interpreted tool type and / or blade type selection instruction.
[0063] Figure 4 This is a diagram showing an example of the machining program 30.
[0064] Figure 4 In this case, the machining program 30 is a program having program blocks labeled with serial numbers N1 to N60. The program block of serial number N1 selects the cutting edge assigned the above-mentioned cutting edge type number "11". The program block of serial number N2 replaces the tool selected by the tool selection unit 120 described later or changes the cutting edge. The program block of serial number N3 positions the cutting edge inference axis of the selected cutting edge type number "11". The program block of serial number N4 applies the correction amount allocated corresponding to the angle of the cutting edge.
[0065] In addition, the program block of serial number N10 selects the cutting edge of the above-mentioned cutting edge type number "12". The program block of serial number N11 changes to the selected cutting edge of cutting edge type number "12". The program block of serial number N12 positions the cutting edge inference axis of the selected cutting edge type number "12". The program block of serial number N20 selects the tool of the above-mentioned tool type number "200". The program block of serial number N21 replaces it with the selected tool of tool type number "200".
[0066] In addition, the program block of serial number N30 selects the tool of the above-mentioned tool type number "100" and the cutting edge of cutting edge type number "11". The program block of serial number N31 replaces it with the selected tool of tool type number "100". The program block of serial number N32 positions the cutting edge inference axis of the selected cutting edge type number "11". The program block of serial number N40 selects the cutting edge of cutting edge type number "12". The program block of serial number N41 changes to the selected cutting edge of cutting edge type number "12". The program block of serial number N42 positions the cutting edge inference axis of the selected cutting edge type number "12". The program block of serial number N50 selects the cutting edge of cutting edge type number "13". The program block of serial number N51 changes to the selected cutting edge of cutting edge type number "13". The program block of serial number N52 positions the cutting edge inference axis of the selected cutting edge type number "13". The program block of serial number N60 selects the tool of tool type number "210". The program block of serial number N61 replaces it with the selected tool of tool type number "210". And, the program block of "M30" ends the machining program 30.
[0067] The tool type and cutting edge type selection instruction interpretation unit 111, for example, Figure 4In the machining program 30, the program blocks with tool type selection instructions having only serial numbers N20 or N60 (i.e., the program blocks for selecting tools other than multi-edge tools) are grouped together for look-ahead. That is, the tool type and edge type selection instruction interpretation unit 111 initially performs look-ahead on the program blocks with serial numbers N1 to N20. The tool type and edge type selection instruction interpretation unit 111 extracts the program blocks with serial numbers N1, N10, and 20 that contain at least a tool type selection instruction or an edge type selection instruction from the look-ahead program blocks. The program block with serial number N1 only has an edge type selection instruction for edge type number "11". Therefore, the tool type and edge type selection instruction interpretation unit 111 records "0" indicating no tool type selection instruction in the first T[1] of the arrangement table T for the data of the tool type instructed by the tool type selection instruction. On the other hand, the tool type and edge type selection instruction interpretation unit 111 records "11" in the first P[1] of the arrangement table P for the data of the edge type instructed by the edge type selection instruction. Hereinafter, the arrangement table T can be referred to as "tool type T", and the arrangement table P can be referred to as "edge type P".
[0068] Next, in the program block with serial number N10, the tool type and edge type selection instruction interpretation unit 111 records "0" in the second tool type T[2] and records "12" in the second edge type P[2]. In addition, in the program block with serial number N20, since there is only a tool type selection instruction for tool type number "200", the tool type and edge type selection instruction interpretation unit 111 records "200" in the third tool type T[3] and records "0" indicating no edge type selection instruction in the third edge type P[3].
[0069] And, in the program blocks with serial numbers N1 to N20, the tool type and edge type selection instruction interpretation unit 111 generates
[0070] T[1]=0, P[1]="11"
[0071] T[2]=0, P[2]="12"
[0072] Internal information of T[3]="200", P[3]="0". The tool type and edge type selection instruction interpretation unit 111 outputs the generated internal information to the tool selection unit 120 described later.
[0073] Next, the tool type and edge type selection instruction interpretation unit 111 performs look-ahead on the program blocks with serial numbers N30 to N60 of the machining program 30. In this case, the tool type and edge type selection instruction interpretation unit 111 can initialize the arrangement tables T and P.
[0074] Further, similar to the case of the program blocks with serial numbers N1 to N20 described above, the tool type and blade type selection instruction interpretation unit 111 generates
[0075] T[1] = "100", P[1] = "11"
[0076] T[2] = "0", P[2] = "12"
[0077] T[3] = "0", P[3] = "13"
[0078] the internal information of T[4] = "210", P[4] = "0". The tool type and blade type selection instruction interpretation unit 111 outputs the generated internal information to the tool selection unit 120 described later.
[0079] Based on the remaining life of each blade stored in the tool information memory 200 and the internal information generated by the tool type and blade type selection instruction interpretation unit 111, the tool selection unit 120 selects the tool with the fewest number of tool replacements at least during the execution of the plurality of pre-read program blocks.
[0080] That is, in the case of tools other than replacing with a multi-blade tool, the tool selection unit 120 utilizes the characteristics of the multi-blade tool to select a multi-blade tool so as to perform a series of machining using different blades of one tool without replacing the tool. In other words, the tool selection unit 120 determines whether the multiple blades of the multi-blade tool can be continuously used for machining based on the interpretation result of the machining program 30, i.e., the internal information, and performs the target machining without replacing the tool, and selects a tool whose blade life has not been exhausted during the machining process. Thus, the numerical control device 10 can suppress the cycle time by minimizing the number of tool replacements.
[0081] Specifically, when the tool selection unit 120 pre-reads the program blocks with serial numbers N1 to N20 in the Figure 4 machining program 30, as internal information, it receives the following from the tool type and blade type selection instruction interpretation unit 111:
[0082] T[1] = 0, P[1] = "11"
[0083] T[2] = 0, P[2] = "12"
[0084] T[3] = "200", P[3] = "0".
[0085] When based on Figure 2For the tool and blade data table 210, blade types P[1] = "11", and P[2] = "12", when a multi-blade tool with tool numbers "1" to "4" having blade type numbers "11" and "12" is selected, the tool selection unit 120 determines that it can be continuously used for the target machining without changing the tool. Also, the tool selection unit 120 selects a tool whose remaining life (number of uses) after subtracting 1 is not negative.
[0086] In this case, Figure 4 in the machining program 30, the blade type number "13" is not specified in the sequence numbers N1 to N20. Thus, during the execution of the program blocks with sequence numbers N1 to N11 in the machining program 30, the tool selection unit 120 selects the multi-blade tool with tool number "3" whose blade of blade type number "13" has exhausted its life. Thus, the numerical control device 10 can suppress the cycle time in machining using a multi-blade tool even when the life of one blade is exhausted. In addition, each blade of the multi-blade tool can be used without waste, thereby suppressing costs.
[0087] In addition, based on the tool type T[3] = "200" of the internal information, the tool selection unit 120 selects the tool with tool number "6" in the program block with sequence number N20 of the machining program 30. And the tool selection unit 120 sends the selection result to the tool change execution unit 130 and the tool calibration unit 140.
[0088] Therefore, during the execution of the program blocks with sequence numbers N1 to N20 in the machining program 30, the tool selection unit 120 performs at least one tool change from tool number "3" to tool number "6", thereby suppressing the cycle time.
[0089] Next, when the tool selection unit 120 pre-reads the program blocks with sequence numbers N30 to N60 of the machining program 30, it receives the following from the tool type and blade type selection instruction interpretation unit 111 as internal information:
[0090] T[1] = "100", P[1] = "11"
[0091] T[2] = "0", P[2] = "12"
[0092] T[3] = "0", P[3] = "13"
[0093] T[4] = "210", P[4] = "0".
[0094] When the tool selection unit 120 selects a multi-edge tool with tool numbers "1" to "4" having edge type numbers "11" to "13" according to the tool and edge data table 210, edge type P[1] = "11", P[2] = "12", and P[3] = "13", it is determined that continuous machining of the target can be performed without changing the tool. In this case, the tool selection unit 120 selects the multi-edge tool with tool number "2" having the least remaining life (number of uses) of the three edges.
[0095] In addition, the tool selection unit 120 selects a tool with tool number "7" in the block of sequence number N60 of the machining program 30 according to the tool type T[4] = "210" of the internal information. And the tool selection unit 120 sends the selection result to the tool change execution unit 130 and the tool calibration unit 140.
[0096] Therefore, during the execution of the blocks of sequence numbers N30 to N60 of the machining program 30, the tool selection unit 120 can suppress the cycle time by performing at least 2 tool changes, from tool number "6" to tool number "2" and from tool number "2" to tool number "7".
[0097] The tool change execution unit 130 calculates the axis movement amount for changing to the tool selected by the tool selection unit 120.
[0098] The tool calibration unit 140 calculates the tool calibration amount using the position offset amount of the tool and edge selected by the tool selection unit 120 (for example, turning tool) / tool length calibration amount (for example, milling tool), and the tip R calibration amount.
[0099] The pulse distribution unit 150 outputs pulses corresponding to the calculated axis movement amounts for tool change / tool calibration to each servo motor (not shown) included in the machine tool 20.
[0100] <NC instruction interpretation process of the numerical control device 10>
[0101] Next, the operation related to the NC instruction interpretation process of the numerical control device 10 according to an embodiment will be described.
[0102] Figure 5 It is a flowchart for explaining the NC instruction interpretation process of the numerical control device 10. The process shown here notifies a tool change request or an edge change request to the NC instruction execution process described later according to the interpretation result. In addition, the process shown here is repeatedly executed whenever the numerical control device 10 acquires the machining program 30.
[0103] In step S1, the NC instruction interpretation unit 110 reads in the block of the machining program 30.
[0104] In step S2, the NC instruction interpretation unit 110 performs NC instruction interpretation processing on the machining program 30 read in through step S1. In addition, the detailed process of the NC instruction interpretation processing will be described later.
[0105] In step S3, the NC instruction interpretation unit 110 determines whether the end of the machining program 30 has been read. When the end of the program is read, the processing ends. On the other hand, when the end of the program has not been read, the processing returns to step S1.
[0106] Figure 6 Yes, it is Figure 5 A flowchart for explaining the detailed processing content of the NC instruction interpretation processing shown in step S2. Figure 6 In the flowchart of, when the NC instruction of the read program block is a tool type selection instruction and / or a cutting edge type selection instruction, the reading of the program block of the machining program 30 is performed until the information for determining the selected tool is complete. In addition, in Figure 6 In the flowchart of, steps S21 to S29 represent the processing flow of the tool type and cutting edge type selection instruction interpretation unit 111.
[0107] In step S21, the tool type and cutting edge type selection instruction interpretation unit 111 determines whether the NC instruction of the program block read in step S1 is a tool type selection instruction or a cutting edge type selection instruction. When it is a tool type selection instruction and / or a cutting edge type selection instruction, the processing proceeds to step S22. When it is not a tool type selection instruction and / or a cutting edge type selection instruction, the flow of the NC instruction interpretation processing ends and the processing proceeds to step S3.
[0108] In step S22, the tool type and cutting edge type selection instruction interpretation unit 111 initializes the variable n representing the number of program blocks including the tool type selection instruction and / or the cutting edge type selection instruction.
[0109] In step S23, the tool type and cutting edge type selection instruction interpretation unit 111 increments the variable n by 1.
[0110] In step S24, the tool type and cutting edge type selection instruction interpretation unit 111 performs the main interpretation processing. In addition, the detailed process of the main interpretation processing will be described later.
[0111] In step S25, the tool type and cutting edge type selection instruction interpretation unit 111 determines whether to read the next program block based on the result of the main interpretation processing in step S24. When the next program block is read (i.e., pre-reading is performed), the processing proceeds to step S26. On the other hand, when the next program block is not read, the flow of the NC instruction interpretation processing ends and the processing proceeds to Figure 5 step S3 of.
[0112] In step S26, the tool type and blade type selection instruction interpretation unit 111 reads the next program block of the machining program 30.
[0113] In step S27, the tool type and blade type selection instruction interpretation unit 111 determines whether the program block read in step S26 is program end or mask buffer. When the program block is program end or mask buffer, the process transfers to step S29. On the other hand, when the program block is not program end or mask buffer, the process transfers to step S28.
[0114] In step S28, the tool type and blade type selection instruction interpretation unit 111 determines whether the NC instruction of the program block read in step S26 is a tool type selection instruction and / or a blade type selection instruction. When it is a tool type selection instruction and / or a blade type selection instruction, the process transfers to step S23. On the other hand, when it is not a tool type selection instruction and / or a blade type selection instruction, the process transfers to step S26.
[0115] In step S29, the tool type and blade type selection instruction interpretation unit 111 increments the variable n by 1 and outputs a tool change request to the tool selection unit 120. Then, the flow of the NC instruction interpretation process ends, and the process transfers to step S3. In addition, the NC instruction execution process of the numerical control device 10 when the tool type and blade type selection instruction interpretation unit 111 outputs a tool change request to the tool selection unit 120 will be described later.
[0116] Figure 7 Yes, it is Figure 6 a flowchart for explaining the detailed processing content of the interpretation main process shown in step S24 in Figure 7 In the flowchart of , steps S41 to S43 represent the processing flow of the tool type and blade type selection instruction interpretation unit 111.
[0117] In step S41, the tool type and blade type selection instruction interpretation unit 111 performs tool type selection instruction and blade type selection instruction storage processing. In addition, the tool type selection instruction and blade type selection instruction storage processing will be described later.
[0118] In step S42, the tool type and blade type selection instruction interpretation unit 111 performs an alarm process. For example, when the tool type and blade type selection instruction interpretation unit 111 does not issue an instruction for the blade type selection instruction regardless of whether a multi-blade tool is selected by the tool type selection instruction, an alarm can be generated and the reading of the program block can be ended. Alternatively, when the tool type and blade type selection instruction interpretation unit 111 issues an instruction for the blade type selection instruction regardless of whether a tool other than a multi-blade tool is selected by the tool type selection instruction, an alarm can also be generated and the reading of the program block can be ended.
[0119] In addition, when the tool type and blade type selection instruction interpretation unit 111 generates an alarm, the numerical control device 10 can display the content of the alarm on a display device (not shown) such as a liquid crystal display included in the numerical control device 10. Thus, the user of the numerical control device 10 can grasp the content of the alarm and respond to the alarm.
[0120] In step S43, the tool type and blade type selection instruction interpretation unit 111 performs the next program block read-in determination process. Then, the process of the main interpretation process is ended and the process transfers to Figure 6 step S25. In addition, the next program block read-in determination process will be described later.
[0121] Figure 8 is a Figure 7 flowchart for explaining the detailed processing content of the tool type selection instruction and blade type selection instruction storage process shown in step S41. Figure 8 In the flowchart of , steps S51 to S56 represent the processing flow of the tool type and blade type selection instruction interpretation unit 111.
[0122] In step S51, the tool type and blade type selection instruction interpretation unit 111 determines whether there is a blade type selection instruction in the nth read program block. When there is no blade type selection instruction, the process transfers to step S52. On the other hand, when there is a blade type selection instruction, the process transfers to step S53.
[0123] In step S52, the tool type and blade type selection instruction interpretation unit 111 stores "0" in the nth blade type P[n].
[0124] In step S53, the tool type and blade type selection instruction interpretation unit 111 stores the blade type number specified by the blade type selection instruction of the nth read program block in the blade type P[n].
[0125] In step S54, the tool type and cutting edge type selection instruction interpretation unit 111 determines whether a tool type selection instruction exists in the nth read program block. When there is no tool type selection instruction, the process proceeds to step S55. On the other hand, when there is a tool type selection instruction, the process proceeds to step S56.
[0126] In step S55, the tool type and cutting edge type selection instruction interpretation unit 111 stores "0" in the nth tool type T[n]. Then, the process of storing the tool type selection instruction and the cutting edge type selection instruction ends, and the process proceeds to Figure 7 step S42.
[0127] In step S56, the tool type and cutting edge type selection instruction interpretation unit 111 stores the tool type number specified by the tool type selection instruction in the nth read program block into the tool type T[n]. Then, the process of storing the tool type selection instruction and the cutting edge type selection instruction ends, and the process proceeds to Figure 7 step S42.
[0128] Figure 9 and Figure 10 are flowcharts for explaining the detailed processing content of the next program block read determination process shown in step S43 in Figure 7 In the flowcharts of Figure 9 and Figure 10 , steps S61 to S73 represent the processing flow of the tool type and cutting edge type selection instruction interpretation unit 111.
[0129] In step S61, the tool type and cutting edge type selection instruction interpretation unit 111 determines whether the nth cutting edge type P[n] is "0". When the cutting edge type P[n] is "0", the process proceeds to step S62. On the other hand, when the cutting edge type P[n] is not "0", the process proceeds to step S63.
[0130] In step S62, the tool type and cutting edge type selection instruction interpretation unit 111 notifies the tool selection unit 120 of the tool change request and decides not to read the next program block. Then, the tool type and cutting edge type selection instruction interpretation unit 111 ends the process of the next program block read determination process, and the process proceeds to Figure 6 step S25.
[0131] For example, as described above, Figure 4 In the block with sequence number N1 of the machining program 30, the result read in advance into the block with sequence number N20 is P[3] = "0". Therefore, the tool type and cutting edge type selection instruction interpretation unit 111 notifies the tool selection unit 120 of a tool change request. The tool type and cutting edge type selection instruction interpretation unit 111 decides not to read the next block after sequence number N30. Thus, in Figure 6 step S25, the tool type and cutting edge type selection instruction interpretation unit 111 determines not to read the next block. Then, Figure 6 the process flow of the NC instruction interpretation process ends, and the process transfers to Figure 5 step S3. In other words, the numerical control device 10 starts the NC instruction interpretation process for the blocks after sequence number N2 of the machining program 30. Figure 4
[0132] Then, even in the block with sequence number N30 of the machining program 30, the result read into the block with sequence number N60 is P[4] = "0". Therefore, the tool type and cutting edge type selection instruction interpretation unit 111 decides not to read the next block. Thus, Figure 6 in step S25, the tool type and cutting edge type selection instruction interpretation unit 111 determines not to read the next block. Then, Figure 6 the process flow of the NC instruction interpretation process ends, and the process transfers to Figure 5 step S3.
[0133] In step S63, the tool type and cutting edge type selection instruction interpretation unit 111 determines whether tool replacement is not required only by changing the cutting edge type of the cutting edge type P[n]. When tool replacement is not required, the process transfers to step S64. On the other hand, when tool replacement is required, the process transfers to Figure 10 step S65.
[0134] In step S64, the tool type and cutting edge type selection instruction interpretation unit 111 notifies the tool selection unit 120 of a cutting edge change request and decides not to read the next block. Then, the tool type and cutting edge type selection instruction interpretation unit 111 ends the process flow of the next block read-in determination process, and the process transfers to Figure 6 step S25.
[0135] For example, in Figure 4 In the block of the sequence number N10 of the machining program 30, the tool type and cutting edge type selection instruction interpretation unit 111 generates internal information with the cutting edge type P[1] = "12". In this case, there is no tool type selection instruction for "tools other than the currently used tool" in the block of the sequence number N10, and in the tool number "3" selected in the block of the sequence number N1, the life of the specified cutting edge type P[1] has not expired. Therefore, based on the cutting edge type P[1] = "12", the tool type and cutting edge type selection instruction interpretation unit 111 notifies the tool selection unit 120 of a cutting edge change request to change the cutting edge number to "2" for the tool with the tool number "3".
[0136] Figure 10 In step S65, the tool type and cutting edge type selection instruction interpretation unit 111 determines whether the tool type number of the first tool type T[1] is "0". When the tool type number of the tool type T[1] is "0", the process proceeds to step S68. On the other hand, when the tool type number of the tool type T[1] is not "0", the process proceeds to step S66.
[0137] In step S66, the tool type and cutting edge type selection instruction interpretation unit 111 determines whether a tool type different from the tool type T[1] is specified for the tool type T[n]. When the tool type T[n] and the tool type T[1] are different tool types, the process proceeds to step S72. On the other hand, when the tool type T[n] and the tool type T[1] are the same tool type, the process proceeds to step S67.
[0138] In step S67, the tool type and cutting edge type selection instruction interpretation unit 111 sets the multi-edge tool represented by the tool type number of the tool type T[1] as the selection target.
[0139] In step S68, the tool type and cutting edge type selection instruction interpretation unit 111 determines whether the tool type number of the nth tool type T[n] is "0" (i.e., whether there is no tool type selection instruction at all). When the tool type number of the tool type T[n] is "0", the process proceeds to step S69. On the other hand, when the tool type number of the tool type T[n] is not "0", the process proceeds to step S70.
[0140] In step S69, since there is no tool type selection instruction at all, the tool type and cutting edge type selection instruction interpretation unit 111 sets all multi-edge tools as the selection target.
[0141] In step S70, the tool type and cutting edge type selection instruction interpretation unit 111 sets the multi-edge tool represented by the tool type number of the tool type T[n] as the selection target.
[0142] In step S71, the tool type and cutting edge type selection instruction interpretation unit 111 determines whether the cutting edge types P[1] - P[n] among the selected objects set in step S67, step S69, or step S70 belong to the cutting edges of the same tool. When the cutting edge types P[1] - P[n] belong to the cutting edges of the same tool, the process proceeds to step S73. On the other hand, when the cutting edge types P[1] - P[n] do not belong to the cutting edges of the same tool, the process proceeds to step S72.
[0143] In step S72, the tool type and cutting edge type selection instruction interpretation unit 111 notifies the tool selection unit 120 of a tool change request and decides not to read the next program block. Then, the process flow of the next program block read determination process ends and proceeds to Figure 6 step S25.
[0144] In step S73, the tool type and cutting edge type selection instruction interpretation unit 111 sets T[1] = T[n] and decides to read the next program block. Then, the process flow of the next program block read determination process ends and proceeds to Figure 6 step S25.
[0145] For example, when the internal information is
[0146] T[1] = "0", P[1] = "11"
[0147] T[2] = "0", P[2] = "12"
[0148] T[3] = "0", P[3] = "13"
[0149] T[4] = "100", P[4] = "11"
[0150] T[5] = "0", P[5] = "12"
[0151] T[6] = "101", P[6] = "11",
[0152] when the tool type and cutting edge type selection instruction interpretation unit 111 reads the tool type T[4], in step S71, it determines that the cutting edge types P[1] - P[4] belong to the cutting edges of the same tool and proceeds to step S73. In step S73, it executes T[1] = T[4], T[1] = "100".
[0153] On the other hand, when the tool type and cutting edge type selection instruction interpretation unit 111 reads the tool type T[6], in step S66, it determines that T[1] and T[6] are different tool types and proceeds to step S72.
[0154] <Numerical control device 10's NC instruction execution process>
[0155] Next, the operations related to the NC instruction execution process of the numerical control device 10 according to an embodiment will be described.
[0156] Figure 11 is a flowchart for explaining the NC instruction execution process of the numerical control device 10. The process shown here is repeatedly executed whenever a tool change request or a cutting edge change request for the NC instruction interpretation process based on Figure 5 is notified.
[0157] In step S100, the tool selection unit 120 determines whether it has received a notification of a tool change request or a cutting edge change request from the tool type and cutting edge type selection instruction interpretation unit 111. When a notification of a tool change request or a cutting edge change request is received, the process proceeds to step S110. On the other hand, when no notification of a tool change request or a cutting edge change request is received, the process of the NC instruction execution process ends.
[0158] In step S110, the tool selection unit 120 performs tool selection processing. The tool selection processing will be described later.
[0159] In step S120, the tool change execution unit 130 calculates the axis movement amount for changing to the tool selected in step S110.
[0160] In step S130, the tool calibration unit 140 calculates the tool calibration amount using the position offset amount (e.g., turning tool) / tool length calibration amount (e.g., milling tool) and the cutting edge R calibration amount of the tool and cutting edge selected in step S110.
[0161] In step S140, the pulse distribution unit 150 outputs pulses corresponding to the axis movement amounts of tool change / tool calibration calculated in step S120 and step S130 to each servo motor (not shown) included in the machine tool 20.
[0162] Figures 12 - 14 is for Figure 11 a flowchart for explaining the detailed processing content of the tool selection processing shown in step S110. Figures 12 - 14 In the flowchart of, steps S201 to S212 represent the processing flow of the tool selection unit 120.
[0163] In step S201, the tool selection unit 120 determines whether the request received in step S110 is a tool change request. When it is a tool change request, the process proceeds to step S202. On the other hand, when it is not a tool change request but a cutting edge change request, the tool selection unit 120 directly uses the currently selected tool to perform cutting edge replacement, so the process proceeds to step S120.
[0164] In step S202, the tool selection unit 120 determines whether the variable n is greater than 2 in order to determine whether multiple tool type selection instructions and cutting edge type selection instructions greater than 2 have been interpreted. When the variable n is greater than 2, the process transfers to Figure 14 step S209. On the other hand, when the variable n is 2 or less, the process transfers to step S203.
[0165] In step S203, the tool selection unit 120 determines whether the cutting edge type P[1] is "0". When the cutting edge type P[1] is "0", the process transfers to step S204. On the other hand, when the cutting edge type P[1] is not "0", the process transfers to Figure 13 step S205.
[0166] In step S204, the tool selection unit 120 selects the tool with the minimum remaining life among the tool types T[1]. Then, the process of the tool selection process in step S110 ends, and the process transfers to Figure 11 step S120.
[0167] In addition, the so-called "minimum remaining life" excludes the state of having no remaining life, that is, the remaining life is "0".
[0168] Figure 13 In step S205, the tool selection unit 120 determines whether the tool type T[1] is "0" (that is, whether there is no tool type selection instruction). When the tool type T[1] is "0", that is, when there is no tool type selection instruction, the process transfers to step S206. On the other hand, when the tool type T[1] is not "0", that is, when there is a tool type selection instruction, the process transfers to step S207.
[0169] In step S206, the tool selection unit 120 sets all multi-edge tools as selection targets.
[0170] In step S207, the tool selection unit 120 sets the multi-edge tools of the tool type T[1] as selection targets.
[0171] In step S208, the tool selection unit 120 performs tool selection process (1). The tool selection process (1) will be described later.
[0172] Figure 14 In step S209, the tool selection unit 120 determines whether the tool type T[1] is "0" (that is, whether there is no tool type selection instruction). When the tool type T[1] is "0", that is, when there is no tool type selection instruction, the process transfers to step S210. On the other hand, when the tool type T[1] is not "0", that is, when there is a tool type selection instruction, the process transfers to step S211.
[0173] In step S210, the tool selection unit 120 sets all multi-edge tools as the selection objects.
[0174] In step S211, the tool selection unit 120 sets the multi-edge tools of tool type T[1] as the selection objects.
[0175] In step S212, the tool selection unit 120 performs tool selection process (2). The tool selection process (2) will be described later.
[0176] Figure 15 Yes, it is Figure 13 a flowchart for explaining the detailed processing content of the tool selection process (1) shown in step S208. Figure 15 In the flowchart of
[0177] In step S301, the tool selection unit 120 determines whether there is a multi-edge tool with remaining life of the cutting edge of cutting edge type P[1]. When there is a multi-edge tool with remaining life of the cutting edge of cutting edge type P[1], the process proceeds to step S303. On the other hand, when there is no multi-edge tool with remaining life of the cutting edge of cutting edge type P[1], the process proceeds to step S302.
[0178] In step S302, the tool selection unit 120 performs an alarm generation process in order to let the user of the numerical control device 10 know that there is no multi-edge tool with remaining life of the cutting edge of cutting edge type P[1]. Then, the process of the tool selection process (1) in step S208 ends, and the process proceeds to Figure 11 step S120 of
[0179] In this case, for example, the tool selection unit 120 can cause a display device (not shown) of the numerical control device 10 to display the content of an alarm indicating that there is no multi-edge tool with remaining life of the cutting edge of cutting edge type P[1]. Thus, the user of the numerical control device 10 can replace it with a new multi-edge tool having a cutting edge of cutting edge type P[1].
[0180] In step S303, the tool selection unit 120 determines whether there is a multi-edge tool with exhausted life of a cutting edge other than the cutting edge of cutting edge type P[1]. When there is a multi-edge tool with exhausted life of a cutting edge other than the cutting edge of cutting edge type P[1], the process proceeds to step S305. On the other hand, when there is no multi-edge tool with exhausted life of a cutting edge other than the cutting edge of cutting edge type P[1], the process proceeds to step S304.
[0181] In step S304, the tool selection unit 120 selects the tool with the smallest remaining life of the cutting edge of cutting edge type P[1].
[0182] In step S305, the tool selection unit 120 selects the tool with the largest number of blades whose life has expired.
[0183] In addition, when there are multiple eligible tools, the tool selection unit 120 may select the tool with the smallest remaining life of the blade type P[1].
[0184] In step S306, when there are multiple tools selected in step S304 or step S305, the tool selection unit 120 selects the tool with the smallest cumulative value of the remaining lives of all blades. And when there are multiple tools, the tool selection unit 120 selects the tool with the smallest tool number. Then, the process of the tool selection process (1) in step S208 ends, and the process transfers to Figure 11 step S120.
[0185] Figure 16 It is Figure 14 a flowchart for explaining the detailed processing content of the tool selection process (2) described in step S212. Figure 16 In the flowchart of , steps S401 to S407 represent the processing flow of the tool selection unit 120.
[0186] In step S401, the tool selection unit 120 counts the specified blade types and the specified times of each blade specified by the blade types P[1] - P[n - 1].
[0187] In step S402, the tool selection unit 120 subtracts the specified times obtained by counting in step S401 from the remaining lives of all the specified blade types of the blade types P[1] - P[n - 1], and determines whether there is a tool with a non - negative remaining life. When there is a tool with a non - negative remaining life, the process transfers to step S404. On the other hand, when there is no tool with a non - negative remaining life, that is, the remaining lives of the specified blade types in all tools are negative, the process transfers to step S403.
[0188] In step S403, the tool selection unit 120 performs an alarm generation process to let the user of the numerical control device 10 know that the remaining lives of the specified blade types in all tools are negative. Then, the process of the tool selection process (2) in step S212 ends, and the process transfers to Figure 11 step S120.
[0189] For example, in this case, the tool selection unit 120 can make the display device (not shown) of the numerical control device 10 display the content of the alarm, and the content of the alarm indicates that the remaining lives of the specified blade types in all tools are negative. Then, the user of the numerical control device 10 can replace it with a new multi - blade tool having the specified blade type.
[0190] In step S404, the tool selection unit 120 determines whether there is a multi-edge tool in which the life of an edge other than the edge types P[1] - P[n - 1] has expired. When there is a multi-edge tool in which the life of an edge has expired, the process proceeds to step S406. On the other hand, when there is no multi-edge tool in which the life of an edge has expired, the process proceeds to step S405.
[0191] In step S405, the tool selection unit 120 subtracts each specified number from the remaining life of the edge types specified by the edge types P[1] - P[n - 1], and selects the tool with the edge having the minimum remaining life.
[0192] In step S406, the tool selection unit 120 selects the tool with the largest number of edges whose life has expired.
[0193] In addition, when there are multiple matching tools, the tool selection unit 120 subtracts each specified number from the remaining life of all the edge types specified by the edge types P[1] - P[n - 1], and selects the tool with the edge having the minimum remaining life.
[0194] In step S407, when there are multiple tools selected in step S405 or step S406, the tool selection unit 120 selects the tool with the smallest cumulative value of the remaining life of all the edges. And when there are multiple tools, the tool selection unit 120 selects the tool with the smallest tool number. Then, the process of the tool selection process (2) in step S212 ends, and the process proceeds to Figure 11 step S120.
[0195] Through the above, the numerical control device 10 of one embodiment pre-reads a plurality of program blocks included in the machining program 30, and interprets a tool type selection instruction for selecting the type of the tool to be implemented and / or an edge type selection instruction for selecting the type of the edge to be implemented in the pre-read plurality of program blocks. The numerical control device 10 generates internal information including the interpreted tool type selection instruction and / or edge type selection instruction. The numerical control device 10 selects the tool with the fewest number of tool replacements during the execution of at least the pre-read plurality of program blocks based on the remaining life of each edge stored in the tool information memory and the generated internal information.
[0196] Thereby, even when the life of one edge has expired, the numerical control device 10 can suppress the cycle time in machining using a multi-edge tool.
[0197] In addition, when there are multiple-edge tools with the same tool type number and there is at least one edge that is not specified during the execution of at least multiple pre-read program blocks, the numerical control device 10 preferentially selects the multiple-edge tool in which the life of the unspecified edge has expired. Thus, the numerical control device 10 can use each edge of the multiple-edge tool without waste, thereby suppressing costs.
[0198] As described above, one embodiment has been described, but the numerical control device 10 is not limited to the above-described embodiment, and includes variations, improvements, etc. within the scope that can achieve the object.
[0199] In the above-described embodiment, Figure 5 the NC instruction interpretation process and Figure 11 the NC instruction execution process have been processed in order, but it is not limited thereto, and they may also be processed in parallel.
[0200] In addition, each function included in the numerical control device 10 of one embodiment can be implemented separately by hardware, software, or a combination thereof. Here, implementing by software means that a computer reads and executes a program to achieve it.
[0201] Various types of non-transitory computer-readable media can be used to store programs and provide them to a computer. Non-transitory computer-readable media include various types of tangible storage media. Examples of non-transitory computer-readable media include: magnetic storage media (e.g., floppy disks, magnetic tapes, hard disk drives), magneto-optical storage media (e.g., optical disks), CD-ROM (Read Only Memory), CD-R, CD-R / W, semiconductor memories (e.g., mask ROM, PROM (Programmable ROM), EPROM (Erasable PROM), flash ROM, RAM). In addition, programs can be supplied to a computer through various types of transitory computer-readable media. Examples of transitory computer-readable media include electrical signals, optical signals, and electromagnetic waves. Transitory computer-readable media can supply programs to a computer via wired communication paths such as wires and optical fibers or wireless communication paths.
[0202] In addition, regarding the steps of describing the program recorded in the recording medium, the processing performed in time series in this order, needless to say, also includes processing that is not necessarily in time series, as well as processing performed in parallel or individually.
[0203] In other words, the numerical control device of the present disclosure can obtain various embodiments having the following structures.
[0204] Technical solution (1): The numerical control device 10 of the present disclosure is a numerical control device of a machine tool 20 that processes a workpiece using a multi-edge tool having a plurality of cutting edges of different specifications, and has: a tool information memory 200 that stores the cutting edge type number that determines the type of cutting edge in association with the tool type number that determines the type of tool; a tool type and cutting edge type selection instruction interpretation unit 111 that pre-reads a plurality of program blocks included in the machining program 30, interprets the tool type selection instruction for implementing the tool type selection and / or the cutting edge type selection instruction for implementing the cutting edge type selection in the pre-read plurality of program blocks, and generates internal information including the interpreted tool type selection instruction and / or cutting edge type selection instruction; and a tool selection unit 120 that selects at least the tool with the least number of tool replacements during the execution of the pre-read plurality of program blocks based on the remaining life of each cutting edge stored in the tool information memory 200 and the internal information generated by the tool type and cutting edge type selection instruction interpretation unit 111.
[0205] According to the numerical control device 10, even when the life of the cutting edge is exhausted, the cycle time can be suppressed in machining using a multi-edge tool.
[0206] Technical solution (2): In the numerical control device 10 described in technical solution (1), it may also be that when it is determined that there is no continuous machining using all the cutting edges of the multi-edge tool, the tool selection unit 120 preferentially selects the tool having the cutting edge with the exhausted life.
[0207] Thereby, the numerical control device 10 can use each cutting edge of the multi-edge tool without waste, and thus can suppress costs.
[0208] Technical solution (3): In the numerical control device 10 described in technical solution (1) or (2), it may also be that the multi-edge tool is a tool for turning machining.
[0209] Thereby, the numerical control device 10 can achieve the same effects as those in technical solution (1) or (2).
[0210] Technical solution (4): In the numerical control device 10 described in technical solution (1) or (2), it may also be that the multi-edge tool is a tool for milling machining.
[0211] Thereby, the numerical control device 10 can achieve the same effects as those in technical solution (1) or (2).
Claims
1. A numerical control device for a machine tool, the machine tool using a multi-edge tool having a plurality of cutting edges with different specifications to machine a workpiece, characterized in that, The numerical control device has: a tool information memory that stores, in association with each other, a cutting edge type number that determines the type of the cutting edge and a tool type number that determines the type of the tool; a tool type selection instruction and cutting edge type selection instruction interpretation unit that pre-reads a plurality of program blocks included in a machining program, interprets, in the pre-read plurality of program blocks, a tool type selection instruction for selecting the type of the tool and / or a cutting edge type selection instruction for selecting the type of the cutting edge, and generates internal information including the interpreted tool type selection instruction and / or the cutting edge type selection instruction; and a tool selection unit that selects, based on the remaining life of each of the cutting edges stored in the tool information memory and the internal information generated by the tool type selection instruction and cutting edge type selection instruction interpretation unit, at least a tool with the smallest number of tool replacements during the execution of the pre-read plurality of program blocks, when it has been determined that continuous machining using all the cutting edges of the multi-cutting-edge tool has not been performed, the tool selection unit preferentially selects a tool having a cutting edge with a depleted life.
2. The numerical control device according to claim 1, wherein the multi-cutting-edge tool is a tool for turning machining.
3. The numerical control device according to claim 1, wherein the multi-cutting-edge tool is a tool for milling machining.
Citation Information
Patent Citations
Life management device for multi-edged tool
JP1995314290A
Method of controlling lifetime of complex tool
US20020002419A1