Workpiece processing device

The workpiece processing apparatus optimizes machining conditions based on produced workpieces to align tool exchanges with setup changes, reducing waste and costs in machining tool replacement.

JP2024115097AInactive Publication Date: 2024-08-26FUJI CORP
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
JP2023020575
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Filing Date
2023-02-14
Publication Date
2024-08-26
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

Existing numerical control systems require manual machining tool replacement by operators, leading to inefficiencies and waste in tool replacement work.

Method used

A workpiece processing apparatus that includes multiple processing tools and adjusts machining conditions based on the number of produced workpieces, aligning tool exchange timings with setup changes to optimize tool usage and reduce waste.

Benefits of technology

Reduces waste in machining tool replacement work, minimizes the number of tool exchanges, lowers tool costs, and decreases environmental impact by optimizing tool usage and alignment with production completion.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2024115097000001
    Figure 2024115097000001
Patent Text Reader

Abstract

To provide a workpiece processing device that can eliminate waste in processing tool replacement.SOLUTION: A workpiece processing device has multiple processing tools and processes a workpiece with the processing tools. Processing conditions for the workpiece can be changed based on the number of workpieces to be produced.SELECTED DRAWING: Figure 8
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present specification relates to a workpiece machining device. [Background technology]

[0002] As one type of workpiece machining device, Patent Document 1 discloses a numerical control system including an action information generating unit and a numerical control device. In this numerical control system, the action information generating unit generates new action information for the machining time priority mode and the tool life priority mode by machine learning in the machining time priority mode or the tool life priority mode, and outputs the generated new action information for the machining time priority mode and the tool life priority mode to the numerical control device via the action information output unit. The numerical control device executes a machining program in which the cutting depth and cutting speed for one cycle set in a fixed cycle are updated based on the action information selected by the setting device from the received action information for the machining time priority mode and the tool life priority mode. The numerical control device generates an operation command based on the updated machining program, and causes the machine tool to perform cutting based on the generated operation command. [Prior art documents] [Patent documents]

[0003] [Patent Document 1] International Publication No. 2021 / 187268 Summary of the Invention [Problem to be solved by the invention]

[0004] In the numerical control system described in the above-mentioned Patent Document 1, the machining program can be optimized without increasing the operator's workload. However, the machining tool replacement work is performed by the operator, and there is a demand to eliminate waste in the machining tool replacement work.

[0005] In view of the above circumstances, this specification discloses a workpiece machining device that can eliminate waste in machining tool replacement operations. [Means for solving the problem]

[0006] This specification discloses a workpiece machining device that has a plurality of machining tools and machines a workpiece with the machining tools, and that is capable of changing the machining conditions of the workpiece based on the number of the workpieces produced.

[0007] According to the present disclosure, in a workpiece machining device, it is possible to change the machining conditions of a workpiece based on the number of workpieces produced. For example, the machining conditions include the production time of the workpiece, the number of machining tool replacements, and the machining tool life. By changing the machining conditions of the workpiece based on the number of workpieces produced, it is possible to match the replacement timings of at least two or more machining tools with each other, or to match the replacement timing of a machining tool with the setup change timing. Therefore, waste in the machining tool replacement work can be eliminated. [Brief description of the drawings]

[0008] [Figure 1] 1 is a schematic front view showing a machine tool 10 to which a workpiece machining device is applied. [Diagram 2] FIG. 1 is a front view showing a machine tool 10 to which a workpiece machining device is applied. [Diagram 3] FIG. 3 is a side view showing the machine tool 10 shown in FIG. 2. [Figure 4] FIG. 1 is a block diagram showing a machine tool 10. [Diagram 5] FIG. 5 is a diagram showing a priority item selection screen 51. [Figure 6A] FIG. 5 shows an exchange count pattern selection screen 52. [Figure 6B] FIG. 5 shows an exchange count pattern selection screen 53. [Figure 7A] FIG. 13 is a diagram showing a production time pattern selection screen 54. [Figure 7B] FIG. 13 is a diagram showing a production time pattern selection screen 55. [Figure 8] 5 is a flowchart showing a program executed by a control device 50 shown in FIG. 4. [Figure 9A] FIG. 1 is a graph showing the relationship R between the cutting speed and the cycle time, the tool life, and the number of possible machining operations. [Figure 9B] FIG. 1 is a graph showing the relationship R between cutting resistance and cycle time, tool life, and possible number of machining operations. [Figure 9C] FIG. 13 is a graph showing the relationship R between the cutting edge temperature and the cycle time, the tool life, and the number of possible machining operations. [Figure 10A] FIG. 13 is a diagram showing a processing pattern A. [Figure 10B] FIG. 13 is a diagram showing a processing pattern B. [Figure 10C] FIG. 13 is a diagram showing a processing pattern C. [Figure 10D] FIG. 13 is a diagram showing a processing pattern D. [Figure 10E] FIG. 13 is a diagram showing a processing pattern E. [Figure 10F] FIG. 13 is a diagram showing a processing pattern F. [Figure 11] FIG. 13 is a diagram showing the relationship between the possible number of times of machining and machining time. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0009] (machine tools) An embodiment that is an example of a machine tool to which a workpiece machining device is applied will be described below. In each of the following figures, the directions in the figures will be described using an XYZ coordinate system. In this XYZ coordinate system, a plane parallel to the horizontal plane is the XZ plane. In this XZ plane, the axial direction of spindles 20a, 20b of a machine tool 10 (described later) is referred to as the Z axis direction, and the direction perpendicular to the Z axis direction is referred to as the X axis direction. In addition, the direction perpendicular to the XZ plane is referred to as the Y axis direction.

[0010] The machine tool 10 is a workpiece machining device that performs machining of a workpiece W. As shown in Fig. 1, the machine tool 10 is equipped with multiple (two in this embodiment) machining units 10a and one transport device 10b. The machining units 10a machine the workpiece W with a cutting tool (machining tool) 31. The transport device 10b is a device that transports the workpiece W to and from each machining unit 10a.

[0011] As shown in FIG. 2, the machine tool 10 includes a main body 11, a pair of spindles 20a, 20b, a pair of tool tables 30a, 30b, a workpiece transport robot 40a which is the transport device 10b, and a control device 50 which controls the spindles 20a, 20b, the tool tables 30a, 30b, and the workpiece transport robot 40a.

[0012] The spindle 20a rotatably holds the workpiece W. The spindle 20a is rotatably supported by a spindle stock (not shown) provided on the main body 11 so as to be horizontally disposed along the left-right direction (Z-axis direction) in FIG. 3. A spindle chuck 21 for detachably holding the workpiece W is provided at the tip of the spindle 20a. The spindle chuck 21 has a plurality of gripping jaws 21a, and can grip the workpiece W by closing the gripping jaws 21a and release the workpiece W by opening them. The spindle chuck 21 is opened and closed by an instruction from the control device 50. The spindle 20a is rotated by a servo motor 22 (see FIG. 4). The current (drive current) of the servo motor 22 is detected by a current sensor 23 (see FIG. 4), and the detection result (detected current value) is output to the control device 50 described later. The spindle 20b is configured similarly to the spindle 20a.

[0013] The tool table 30a is a device that imparts a feed motion to a cutting tool (hereinafter, may be simply referred to as a cutting tool) 31, which is a processing tool. The tool table 30a is a so-called turret-type tool table, and has a tool holding section 32 on which a plurality of cutting tools 31 for cutting the workpiece W are attached. The tool holding section 32 is rotatably supported by a rotary drive section (not shown), and can be positioned at a predetermined cutting position. The tool table 30a, and therefore the cutting tools 31, are moved by a tool table moving device 33 in the left-right direction (X-axis direction) and the front-back direction (Z-axis direction) in FIG. 2.

[0014] The tool table moving device 33 has an X-axis driving device 33a (see FIG. 4; X-axis driving shaft, sometimes simply referred to as X-axis) that moves the tool table 30a along the X-axis direction, and a Z-axis driving device 33b (see FIG. 4; Z-axis driving shaft, sometimes simply referred to as Z-axis) that moves the tool table 30a along the Z-axis direction. The X-axis driving device 33a is driven to rotate by a servo motor 33a1 (see FIG. 4). The current (driving current) of the servo motor 33a1 is detected by a current sensor 33a2 (see FIG. 4), and the detection result (detected current value) is output to a control device 50 described later. The Z-axis driving device 33b is driven to rotate by a servo motor 33b1 (see FIG. 4). The current (driving current) of the servo motor 33b1 is detected by a current sensor 33b2 (see FIG. 4), and the detection result (detected current value) is output to a control device 50 described later. Tool stand 30b is configured similarly to tool stand 30a.

[0015] The above-described spindle 20a and tool rest 30a constitute a machining section 10a1 that machines the workpiece W. The above-described spindle 20b and tool rest 30b constitute a machining section 10a2 that machines the workpiece W.

[0016] (Transportation device) The transport device 10b is a work transport robot 40a, which is capable of traveling on the same travelling platform and is capable of loading and unloading the workpiece W to and from the spindles 20a, 20b and the workpiece mounting device 60. The workpiece mounting device 60 is a device capable of mounting the workpiece W, and may be, for example, a workpiece loading device that places the workpiece W to be loaded into the machine tool 10 on a mounting surface, a workpiece unloading device that places the workpiece W to be unloaded from the machine tool 10 on a mounting surface, or an inversion / shift device that inverts or shifts the posture of the workpiece W unloaded from the machine tool 10.

[0017] The transfer device 10b includes a traveling section 41 for moving (moving along the X-axis) itself, a gripping section 42 for detachably gripping the workpiece W, and a gripping section moving section 43 for moving the gripping section 42 relative to the transfer device 41. In this embodiment, the transfer device 10b is, for example, a three-axis Cartesian robot (three-axis gantry robot). The transfer device 10b is not limited to a Cartesian robot, and may be a vertical articulated robot, a horizontal articulated robot (SCARA type robot), or a parallel link robot.

[0018] (Running part) As shown in FIG. 2, the running unit 41 includes a running unit slider 41a (which may also be referred to as an X-axis slider), a guide unit 41b which is a running platform that guides and runs the running unit slider 41a, and a running drive device 41c (see FIG. 4) for driving the running unit slider 41a to run.

[0019] The running part slider 41a can be equipped with a grip part 42 and a grip part moving part 43, and is guided by a guide part 41b extending along the left-right direction (X-axis direction) in Figure 2, and moves reciprocally (linearly) along the left-right direction.

[0020] The guide portion 41b is provided on the main body 11 and disposed above the spindles 20a, 20b and the tool tables 30a, 30b. One end (the left end in FIG. 2) of the guide portion 41b extends to directly above the workpiece placement device 60 installed on the left side of the main body 11. The other end (the right end in FIG. 2) of the guide portion 41b extends to directly above the workpiece placement device 60 installed on the right side of the main body 11. The traveling portion slider 41a and the guide portion 41b form a traveling drive shaft (X-axis drive shaft). The traveling drive device 41c is provided on the traveling portion slider 41a or guide portion 41b side.

[0021] (gripping part) As shown primarily in Fig. 3, the gripper 42 is rotatably connected to a Y-axis slider 45a via a rotation driver 42b. The gripper 42 has a triangular prism-shaped main body 42a having two orthogonal side surfaces and the remaining side surface. One of the two orthogonal side surfaces is a plane that can be parallel to the XZ plane, and is provided with a robot chuck 42c that detachably grips the workpiece W. The other side surface is a plane that is parallel to the XY plane, and is provided with a robot chuck 42d that detachably grips the workpiece W.

[0022] The main body 42a can be rotated by the rotary drive unit 42b, and each of the robot chucks 42c, 42d can be rotated to two positions (a Y-axis downward position and a Z-axis rearward position). As a result, the gripper 42 can transfer the workpiece W to a mounting surface facing upward in the Y-axis direction (e.g., the mounting surface of the workpiece mounting device 60) by setting each of the robot chucks 42c, 42d to a Y-axis downward position. Also, the gripper 42 can transfer the workpiece W to a mounting surface facing the front side in the Z-axis direction (e.g., the mounting surface of the spindle chuck 21 of the spindles 20a, 20b) by setting each of the robot chucks 42c, 42d to a Z-axis rearward position. The robot chucks 42c, 42d have a plurality of gripping jaws (not shown), and can grip the workpiece W by closing these gripping jaws and release the workpiece W by opening them. The robot chucks 42c, 42d are opened and closed by a chuck driving device 42g (see FIG. 4) that is driven by an instruction from the control device 50.

[0023] A rotation drive unit 42b provided on the inclined surface of the tip (lower end) of the Y-axis slider 45a is attached (connected) to the remaining side surface of the main body 42a. The remaining side surface of the main body 42a is disposed parallel to the inclined surface of the tip portion of the Y-axis slider 45a. As shown in FIG. 3, the rotation drive unit 42b has a rotation drive shaft 42e provided on the rotation drive unit 42b and a rotation drive device 42f (see FIG. 4) that rotates and drives the rotation drive shaft 42e.

[0024] (grip moving part) The gripper movement unit 43 moves the gripper 42 relative to the running slider 41a in the left-right direction (Z-axis direction) and the up-down direction (Y-axis direction) in Fig. 3. The gripper movement unit 43 has a Z-axis drive unit 44 that moves the gripper 42 along the Z-axis direction, and a Y-axis drive unit 45 that moves the gripper 42 along the Y-axis direction.

[0025] (Z-axis drive unit) The Z-axis driving unit 44 moves the Z-axis slider 44a, which is slidably attached to the running unit slider 41a, along the Z-axis direction. As shown primarily in Fig. 3, the Z-axis driving unit 44 includes the Z-axis slider 44a, a Z-axis guide unit 44b that guides and moves the Z-axis slider 44a, and a Z-axis driving device 44c (see Fig. 4) that drives and moves the Z-axis slider 44a.

[0026] The Z-axis slider 44a can mount the Y-axis drive unit 45 and thus the grip unit 42, extends in the left-right direction (Z-axis direction) in Fig. 3, and is guided by the Z-axis guide unit 44b to reciprocate (linearly move) along the Z-axis direction. The Z-axis guide unit 44b is provided on the running unit slider 41a. The Z-axis drive unit 44c is provided on the Z-axis guide unit 44b or the Z-axis slider 44a.

[0027] (Y-axis drive unit) The Y-axis driving unit 45 moves a Y-axis slider 45a (on which the gripper 42 is supported) slidably attached to the Z-axis slider 44a along the Y-axis direction. As shown primarily in Fig. 3, the Y-axis driving unit 45 includes the Y-axis slider 45a, a Y-axis guide unit 45b that guides and moves the Y-axis slider 45a, and a Y-axis driving device 45c (see Fig. 4) that drives and moves the Y-axis slider 45a.

[0028] The Y-axis slider 45a can mount the gripper 42, extends in the vertical direction (Y-axis direction) in Fig. 3, and is guided by the Y-axis guide portion 45b to reciprocate (linearly move) along the Y-axis direction. The Y-axis guide portion 45b is provided on the Z-axis slider 44a. The Y-axis drive device 45c is provided on the Y-axis guide portion 45b or the Y-axis slider 45a.

[0029] (Control device) The control device 50 is a control device that drives and controls the spindles 20a and 20b, the tool tables 30a and 30b, and the transport device 10b. In particular, the control device 50 changes the machining conditions of the workpieces W based on the number of workpieces W produced (changing unit). As shown in FIG. 4, the control device 50 is connected to an input device 50a, a display device 50b, a storage device 50c, current sensors 23, 33a2, and 33b2, servo motors 22, 33a1, and 33b1, a traveling drive device 41c, a Y-axis drive device 45c, a Z-axis drive device 44c, a rotation drive device 42f, and a chuck drive device 42g. The input device 50a is provided on the front of the machine tool 10, and is used by an operator (user) to input various settings, various instructions, and the like to the control device 50. The display device 50b is provided on the front of the machine tool 10, and is used to display information such as an operating status and a maintenance status to an operator. The storage device 50c stores data related to the control of the machine tool 10, such as a control program (machining program), parameters used in the control program, data related to various settings and various instructions, actual detection data, association data, etc. (storage unit). The control device 50 has a microcomputer (not shown), which is equipped with an input / output interface, a CPU, a RAM, and a ROM (all not shown), each of which is connected via a bus. The CPU executes various programs to obtain data, detection signals, control information, etc. from the input device 50a, the storage device 50c, and the current sensors 23, 33a2, and 33b2, and controls the display device 50b, the servo motors 22, 33a1, and 33b1, and the transport device 10b. The RAM temporarily stores variables necessary for executing the programs, and the ROM stores the programs.

[0030] (display screen) The display device 50b includes a display unit 50b1 capable of displaying two selection screens. The display unit 50b1 can be formed of a touch panel. The display unit 50b1 may simply display. In this case, it is preferable that the displayed items are selected by an operating device.

[0031] The selection screens are a priority item selection screen 51 shown in Fig. 5, and pattern selection screens 52 to 55 shown in Figs. 6A, 6B, 7A, and 7B. The priority item selection screen 51 is a screen on which priority items can be selected. Priority items are parameters (items) that an operator wants to prioritize when machining the workpieces W, in other words, items that can be prioritized when changing the machining conditions for the workpieces W based on the number of workpieces W produced. Examples of priority items include the production time of the workpieces W, the number of times a machining tool is replaced, and the life of a machining tool.

[0032] In addition, the processing conditions are matters related to processing when machining the workpiece W, and examples of the processing conditions include the cutting speed of the cutting tool 31, the cutting resistance of the cutting tool 31, the torque (servo torque) of the motor related to cutting by the cutting tool 31, and the temperature of the cutting edge of the cutting tool 31.

[0033] The priority item selection screen 51 has an exchange count selection section 51a where the number of cutting tool exchanges (sometimes simply referred to as exchange count) can be selected as the priority item, and a production time selection section 51b where the production time can be selected as the priority item. Note that the priority item selection screen 51 shown in FIG. 5 only has the exchange count selection section 51a and the production time selection section 51b, but it may also have a machining tool life selection section where the machining tool life can be selected as the priority item. In this way, the priority item selection screen 51 is a selection section where the priority item can be selected by the operator's selection operation. Note that the selection section is not limited to a selection screen, and may be formed by a selection switch or the like.

[0034] When the exchange count selection section 51a is selected by the operator on the priority item selection screen 51, the control device 50 calculates a processing pattern by changing the processing conditions with priority given to the exchange count through a process described later, and displays processing patterns with advantageous exchange counts in order using the exchange count as a key (criterion) on the exchange count pattern selection screen 52. In this case, the displayed processing patterns may be up to a predetermined number from the top (fifth in this embodiment).

[0035] As shown in FIG. 6A, the first to fifth pattern selection sections 52a to 52e are displayed on the exchange count pattern selection screen 52. The first pattern selection section 52a displays the processing pattern with the least number of exchanges together with the number of exchanges. In this embodiment, for example, the first pattern selection section 52a has the number of exchanges of two, and the processing pattern is processing pattern D. The second pattern selection section 52b has the number of exchanges of three, and the processing pattern is processing pattern F. The third pattern selection section 52c has the number of exchanges of three, and the processing pattern is processing pattern B. The fourth pattern selection section 52d has the number of exchanges of three, and the processing pattern is processing pattern C. The fifth pattern selection section 52e has the number of exchanges of four, and the processing pattern is processing pattern E. The processing patterns A to F will be described later.

[0036] It should be noted that production time may be added to the pattern selection section. In this case, production time is not the total production time but the increased production time, and indicates the tool exchange time, the additional production time (the machining time that increases or decreases with the change of machining conditions) and the added time. Specifically, as shown in FIG. 6B, the exchange count pattern selection screen 53 displays the first to fifth pattern selection sections 53a to 53e. The first pattern selection section 53a displays the machining pattern with the least number of exchanges together with the number of exchanges and the production time.

[0037] In this embodiment, for example, the first pattern selection unit 53a has a number of replacements of 2, a production time of 140 seconds, and a processing pattern of processing pattern D. The second pattern selection unit 53b has a number of replacements of 3, a production time of 90 seconds, and a processing pattern of processing pattern F. The third pattern selection unit 53c has a number of replacements of 3, a production time of 100 seconds, and a processing pattern of processing pattern B. The fourth pattern selection unit 53d has a number of replacements of 3, a production time of 105.5 seconds, and a processing pattern of processing pattern C. The fifth pattern selection unit 53e has a number of replacements of 4, a production time of 100 seconds, and a processing pattern of processing pattern E.

[0038] When the production time selection section 51b is selected by the worker on the priority item selection screen 51, the control device 50 calculates a processing pattern by changing the processing conditions with a priority on production time through a process described later, and displays the processing patterns with the most advantageous production time using the production time as a key (standard) in order on the production time pattern selection screen 54. In this case, the processing patterns to be displayed may be up to a predetermined number from the top (the fifth in this embodiment).

[0039] As shown in FIG. 7A, the production time pattern selection screen 54 displays the first to fifth pattern selection sections 54a to 54e. The first pattern selection section 54a displays the processing pattern with the shortest production time together with the production time. In this embodiment, for example, the first pattern selection section 54a has a production time of 90 seconds and a processing pattern of processing pattern F. The second pattern selection section 54b has a production time of 100 seconds and a processing pattern of processing pattern B. The third pattern selection section 54c has a production time of 100 seconds and a processing pattern of processing pattern E. The fourth pattern selection section 54d has a production time of 105.5 seconds and a processing pattern of processing pattern C. The fifth pattern selection section 54e has a production time of 140 seconds and a processing pattern of processing pattern D.

[0040] In addition, the number of replacements may be added to the pattern selection section. Specifically, as shown in Fig. 7B, first to fifth pattern selection sections 55a to 55e are displayed on the production time pattern selection screen 55. The first pattern selection section 55a displays the processing pattern with the shortest production time together with the production time and the number of replacements.

[0041] In this embodiment, for example, the first pattern selection unit 55a has a production time of 90 seconds, a number of replacements of 3, and a processing pattern of processing pattern F. The second pattern selection unit 55b has a production time of 100 seconds, a number of replacements of 3, and a processing pattern of processing pattern B. The third pattern selection unit 55c has a production time of 100 seconds, a number of replacements of 4, and a processing pattern of processing pattern E. The fourth pattern selection unit 55d has a production time of 105.5 seconds, a number of replacements of 3, and a processing pattern of processing pattern C. The fifth pattern selection unit 55e has a production time of 140 seconds, a number of replacements of 2, and a processing pattern of processing pattern D.

[0042] (Selection of processing pattern) Furthermore, selection of a machining pattern in the above-mentioned workpiece machining device (machine tool 10) will be described with reference to the flowchart shown in Fig. 8. The control device 50 carries out processing in accordance with this flowchart.

[0043] When the machine tool 10 is at the start of production and the number of workpieces W to be produced is input by the worker, the control device 50 displays the priority items on the display unit 50b1 of the display device 50b. The control device 50 displays a machining pattern on the display device 50b with the priority items selected by the worker. At this time, the control device 50 changes the machining conditions of the workpieces W based on the number of workpieces W to be produced, and calculates the machining pattern. The control device 50 performs machining of the workpieces W with the machining pattern selected by the worker.

[0044] In step S102, the control device 50 determines whether or not the machine tool 10 is at the start of production of the workpiece W. For example, the control device 50 determines that the production of the workpiece W is at the start when the machine tool 10 is preparing to start production by performing a setup change or the like and thereafter starts machining of a new workpiece W according to the machining program.

[0045] If the control device 50 determines that it is the production start time of the work W, it judges "YES" in step S102 and causes the program to proceed to step S104. On the other hand, if the control device 50 does not determine that it is the production start time of the work W, it judges "NO" in step S102 and repeatedly performs the processing of step S102 until it determines that it is the production start time of the work W.

[0046] In step S104, the control device 50 judges whether or not the number of workpieces W to be produced (production number) has been input by the worker. For example, the production number can be input by the worker's input operation into the input device 50a, and the input production number can be stored in the storage device 50c. If the production number has been input into the input device 50a, the control device 50 judges that the production number has been input. If the production number of workpieces W has been input, the control device 50 judges "YES" in step S104 and causes the program to proceed to step S106. On the other hand, if the production number of workpieces W has not been input, the control device 50 judges "NO" in step S104 and repeats the processing of step S104 until the production number of workpieces W is input.

[0047] The number of pieces to be produced is not limited to being directly input by the worker, but may be written in data or a processing program transmitted from another control device (host computer). The number of pieces to be produced can be obtained from the transmitted data or processing program. In this case, in step S104, the control device 50 determines whether or not the transmitted data or processing program includes an instruction on the number of pieces to be produced.

[0048] In step S106, the control device 50 acquires the production quantity, the number of times each cutting tool 31 (machining tool) can perform machining, the replacement time of each cutting tool 31, and the relationship R from the storage device 50c (acquisition unit).

[0049] The number of times that the cutting tool 31 can perform machining is the number of times that the cutting tool 31 can perform machining of the workpiece W (a specified machining process (machining location)), and may be replaced with the number of workpieces W that the cutting tool 31 can perform machining. The number of times that the cutting tool 31 can perform machining can be changed according to the cutting speed of the cutting tool 31, and the number of times that the cutting tool 31 can perform machining is set within the range of the number of times that the cutting tool 31 can perform machining. The faster the cutting speed, the greater the number of times that the cutting tool can perform machining, but the shorter the tool life span.

[0050] The replacement time of the blade 31 is the time to replace one blade 31 alone, and is not only the replacement time to simply replace the blade 31 (the time to replace only the blade), but also the time to replace only the blade plus the preparatory work before the replacement (stopping the machine tool 10, opening the cover, etc.) and the preparatory work after the replacement (restarting the machine tool 10, closing the cover, etc.). When replacing multiple blades 31 at once, the replacement time of multiple blades 31 is not simply multiple times the replacement time for one blade, but is obtained by adding multiple times the preparatory work time before and after the replacement to the time to replace only the blade. For example, the replacement time of the blade T1 is 30 seconds, but when the blade T2 is also replaced at the same time, the replacement time of the blades T1 and T2 is 40 seconds.

[0051] The relationship R is the relationship between the machining conditions, the tool life, and the production time (cycle time). Examples of the machining conditions include the cutting speed of the cutting tool 31, the cutting resistance of the cutting tool 31, the torque (servo torque) of the motor involved in cutting with the cutting tool 31, and the temperature of the cutting edge of the cutting tool 31.

[0052] The cutting speed of the blade 31 can be calculated (detected) from the rotation speed of the servo motor 22 of the spindle 20a (20b), and the cutting speed of the blade 31 can be controlled by controlling the rotation speed of the spindle 20a. Also, the torque (servo torque) of the motor involved in cutting with the blade 31 can be calculated (detected) from the detected current value (detected value of the current sensor 23) of the servo motor 22 of the spindle 20a (20b), and the torque (servo torque) of the motor involved in cutting with the blade 31 can be controlled by controlling the drive current of the spindle 20a.

[0053] The cutting resistance of the cutting tool 31 can be calculated from the torque (servo torque) of the motor involved in cutting with the cutting tool 31, and the cutting resistance of the cutting tool 31 can be controlled by controlling the drive current of the spindle 20a. The cutting resistance of the cutting tool 31 can also be controlled by controlling the movement of the tool table moving device 33. The cutting edge temperature of the cutting tool 31 can be detected by a temperature detection device that can detect the cutting edge temperature. An example of the temperature detection device is an infrared thermal temperature measurement device that can measure the cutting edge temperature without contact. The cutting edge temperature of the cutting tool 31 can be controlled by controlling the drive current and rotation speed of the spindle 20a.

[0054] The machining conditions can be changed based on the production number of workpieces W. For example, if the reference machining number (previous change number) of the number of possible machining operations per cutting tool, i.e., the reference machining number (previous change number) of the number of possible machining operations per cutting tool, is not an integer multiple of the production number of workpieces W (if the time when the production of the workpieces W is completed is different from the timing of changing the cutting tool), the number of possible machining operations per cutting tool is changed from the reference machining number to the changed number so that the sum of the post-change numbers of possible machining operations, which are respectively changed to the post-change numbers, becomes the production number of workpieces W.

[0055] As will be described later in step S108, the machining conditions can be changed by giving priority to any one of the production time of the workpiece W, the number of times the machining tools are replaced, and the machining tool life. Furthermore, the machining conditions can be changed from (based on) the relationship R.

[0056] The relationship R is generally such that, when the machining conditions become stricter, the cycle time becomes shorter and the cutting tool life becomes shorter, whereas, when the machining conditions become looser, the cycle time becomes longer and the cutting tool life becomes longer. For example, as shown in FIG. 9A, the relationship R between the cutting speed and the cycle time (tool life, number of possible machining operations) is such that, as the cutting speed (machining speed) of the machining conditions becomes faster, the cycle time becomes shorter, but the cutting tool life becomes shorter and the number of possible machining operations becomes shorter. In this case, the relationship R between the cutting speed and the cycle time (tool life, number of possible machining operations) is not a linear function relationship, but a quadratic or exponential function relationship. Note that FIG. 9 shows the relationships R between the machining conditions and the cycle time, the tool life, and the number of possible machining operations.

[0057] 9B, the relationship R between the cutting resistance and the cycle time (tool life, number of possible machining operations) is such that the higher the cutting resistance of the machining conditions, the shorter the cycle time, but the shorter the tool life and the shorter the number of possible machining operations. In this case, the relationship R between the cutting resistance and the cycle time (tool life, number of possible machining operations) is not a linear function relationship, but a quadratic or exponential function relationship.

[0058] 9C, the relationship R between the cutting edge temperature and the cycle time (tool life, number of possible machining operations) is such that the higher the cutting edge temperature in the machining conditions, the shorter the cycle time, but the shorter the cutting tool life and the shorter the number of possible machining operations. In this case, the relationship R between the cutting edge temperature and the cycle time (tool life, number of possible machining operations) is not a linear function relationship, but a quadratic or exponential function relationship.

[0059] The relationship R among the above-mentioned machining conditions, machining tool life, and production time (cycle time) can be learned in advance. The learned relationship R is stored in the storage device 50c. The control device 50 can store data relating the cycle time, tool life, and possible number of machining operations to the cutting speed for each cutting tool 31 each time a workpiece W (whether for each lot or each cutting tool) is machined, and can optimize the relationship R by learning based on this data.

[0060] (Processing pattern calculation) In step S108, the control device 50 calculates a machining pattern in which the machining possible number of times of at least one machining tool is changed using the production quantity, the machining possible number of times (reference machining number of times), the exchange time of each machining tool, and the relationship R (machining pattern calculation unit). The machining pattern includes the production time and the exchange number of times of the machining tool. In this embodiment, machining patterns A to F will be described as examples.

[0061] In processing patterns A to F, the case where two cutting tools T1 and T2 are used is explained. In processing patterns B to E, the number of times cutting tool T2 can be used is fixed and the number of times cutting tool T1 can be used is changed to change the effective timing of cutting tool T1. In processing pattern F, the number of times cutting tools T1 and T2 can be used is changed to change the effective timing of cutting tools T1 and T2.

[0062] The number of workpieces W produced is 100, the reference number of times of machining (the number of times previously changed) per cutting tool T1 is 30, and the reference number of times of machining (the number of times previously changed) per cutting tool T2 is 50. The replacement time for cutting tool T1 is 30 seconds, the replacement time for cutting tool T2 is 30 seconds, and the simultaneous replacement time for cutting tools T1 and T2 is 40 seconds. When production of the workpiece W is started, new cutting tools T1 and T2 are attached. The replacement timing for cutting tool T1 is indicated by a solid line, the replacement timing for cutting tool T2 is indicated by a dashed line, and the simultaneous replacement timing is indicated by a dashed line.

[0063] (Processing pattern A: Standard processing) In the machining pattern A, the number of possible machining times of the cutting tools T1 and T2 is set to the reference number of machining times (the number of times before the change) (without change), and the number of workpieces W produced is 100 pieces, as shown in FIG. 10A, the number of possible machining times per cutting tool T1 is 30 times, which is the reference number of machining times (30 pieces of the reference number of machining), and the number of possible machining times per cutting tool T2 is 50 times, which is the reference number of machining times (50 pieces of the reference number of machining). Note that the case where the number of possible machining times per cutting tool is the reference number of machining times for machining the workpiece W is referred to as the reference machining. Also, the number of possible machining times of the cutting tools T1 and T2 remains set to the number of possible machining times immediately before the machining pattern is calculated.

[0064] In the machining pattern A, as shown in FIG. 10A, in order to produce 100 workpieces W, the cutting tool T1 needs to be replaced three times, and the cutting tool T2 needs to be replaced once. Therefore, the total number of replacements of the cutting tools T1 and T2 is four. In addition, the cutting tools T1 and T2 are not replaced simultaneously. Therefore, the replacement time of the cutting tool T1 is 90 seconds because the cutting tool T1 is replaced three times, and the replacement time of the cutting tool T2 is 30 seconds because the cutting tool T2 is replaced once, which is a total of 120 seconds. The production time of the workpiece W can be calculated as the sum of the total cutting time (cycle time) by the cutting tools T1 and T2 and the replacement time of the cutting tools T1 and T2. In FIG. 10A to FIG. 10F, the number of replacements of the cutting tools T1 and T2 related to the machining pattern A and the production time of the workpiece W are written at the right end of the drawing.

[0065] In addition, in processing pattern A, as shown in FIG. 10A, the remaining tool life of tool T1 is 20 times when production of workpiece W is completed, and since the replacement timing of tool T2 coincides with the time when production of the workpiece is completed, the remaining tool life of tool T2 is 0 times.

[0066] (Processing pattern B: Only the number of times that cutting tool T1 can process a specified number of pieces is increased) In machining pattern B, as shown in FIG. 10B, the number of times that the cutting tool T2 can machine is left set to the standard number of times of machining (the number before the change), the number of times that the cutting tool T1 can machine only the specified number of pieces (the third piece) is increased from the standard number of times of machining to the increased number after the change (the number after the change), and the number of times that the cutting tool T1 can machine pieces other than the specified number of pieces (the third piece) is left set to the standard number of times of machining, and the workpiece W is produced.

[0067] In this case, the predetermined number of the blades T1 can be set to the blades T1 in the order that minimizes the increase in the number of times that the blades T1 can be processed (the increased number of times that the blades T1 can be processed) and allows the replacement timing of the blades T1 to coincide with the replacement timing of the blades T2. For example, when trying to match the replacement timing of the first blade T1 with the replacement timing of the first blade T2, it is necessary to increase the number of times that the blades T1 can be processed (the number of pieces) from 30 times to 50 times, and the increased number of times that the blades T1 can be processed is 20 times.

[0068] Furthermore, if the replacement timing of the second cutting tool T1 is to be matched to the replacement timing of the first cutting tool T2, the number of times (number of pieces) that the cutting tool T1 can process must be reduced from 30 times to 20 times, and the reduced number of times that the cutting tool T1 can process is 20 times. If the replacement timing of the second cutting tool T1 is to be matched to the replacement timing of the second cutting tool T2, this is not realistic because it would exceed the replacement timing of the third cutting tool T1 (i.e., the number of times that the cutting tool T1 can process is twice the standard number of times). Furthermore, if the replacement timing of the third cutting tool T1 is to be matched to the replacement timing of the second cutting tool T2, the number of times (number of pieces) that the cutting tool T1 can process must be increased from 30 times to 40 times, and the increased number of times that the cutting tool T1 can process is 10 times.

[0069] From the above, it can be understood that the increased number of machining operations can be minimized when the replacement timing of the third cutting tool T1 is to be synchronized with the replacement timing of the second cutting tool T2, and the predetermined number of cutting tools T1 is the third cutting tool. In this case, the number of machining operations possible for the first and second cutting tools T1 is the standard number of machining operations of 30 times, and the number of machining operations possible for the third cutting tool T1 is the increased number of machining operations of 40 times. Note that the number of machining operations possible for the first and second cutting tools T2 remains at the standard number of machining operations of 50 times.

[0070] In the processing pattern B, as shown in FIG. 10B, in order to produce 100 workpieces W, the cutting tool T1 needs to be replaced twice and the cutting tool T2 needs to be replaced once. Therefore, the total number of replacements of the cutting tools T1 and T2 is three. In addition, the cutting tools T1 and T2 are not replaced simultaneously. Therefore, the replacement time of the cutting tool T1 is 60 seconds because the cutting tool T1 is replaced twice, and the replacement time of the cutting tool T2 is 30 seconds because the cutting tool T2 is replaced once, which is 90 seconds in total. The production time of the workpiece W can be calculated as the sum of the total cutting time (cycle time) by the cutting tools T1 and T2, the replacement time of the cutting tools T1 and T2, and the increased processing time of 10 seconds during increased processing. In other words, the production time of the workpiece W can be calculated by adding 100 seconds (= the replacement time of the cutting tools T1 and T2 (90 seconds) + the increased processing time (10 seconds)) to the total cutting time (cycle time) by the cutting tools T1 and T2.

[0071] In the increased machining, the cutting speed is slower than that during standard machining to increase the number of possible machining operations, so the cycle time becomes longer. Therefore, the increased machining time is a time that is longer (increased) than that during standard machining. For example, in machining pattern B, when the possible machining time of the third cutting tool T1 is increased, the increased machining time is 10 seconds.

[0072] The increased machining time can be calculated from the relationship between the machining time and the possible number of times of machining shown in FIG. 11. This relationship is stored in the storage device 50c for each cutting tool 31. The relationship between the machining time and the possible number of times of machining is such that the machining time increases as the possible number of times of machining increases. In this case, the relationship between the machining time and the possible number of times of machining is not a linear function relationship but a quadratic function or exponential function relationship. For example, in machining pattern B, the possible number of times of machining is increased from 30 times to 40 times, so the increased machining time is 10 seconds from FIG. 11. The increased machining time or decreased machining time of each machining pattern described later can be calculated in the same manner.

[0073] In addition, in processing pattern B, there is no simultaneous replacement, but the tool life of both cutting tools T1 and T2 will be reached when production of 100 pieces is completed, and it becomes possible to replace both cutting tools T1 and T2. Therefore, since there are no leftover cutting tools for both cutting tools T1 and T2 (because there are no cutting tools with no remaining life (0 number of possible processing times)), the cost of cutting tools can be kept low by using up the cutting tools. In addition, the number of times cutting tools with no remaining life are discarded can be reduced, and the burden on the environment can be reduced.

[0074] In addition, in the above-mentioned processing pattern B, the number of times that the first and second cutting tools T1 can perform processing is set as the standard processing number, and the number of times that the third cutting tool T1 can perform processing is set as the increased processing number, so that the replacement timing of the third cutting tool T1 is aligned with the replacement timing of the second cutting tool T2. However, the number of times that the first and third cutting tools T1 can perform processing is set as the standard processing number, and the number of times that the second cutting tool T1 can perform processing is set as the increased processing number, so that the replacement timing of the third cutting tool T1 is aligned with the replacement timing of the second cutting tool T2.

[0075] In addition, in the processing pattern B, as shown in FIG. 10B, the replacement timings of both the cutting tools T1 and T2 coincide with the time when the production of the workpiece is completed, so that the remaining cutting tool life of each of the cutting tools T1 and T2 is 0 times.

[0076] (Processing pattern C: Reducing the number of times the cutting tool T1 is replaced and increasing the number of times multiple cutting tools T1 can be used for processing) In the processing pattern C, as shown in FIG. 10C, the number of times that the cutting tool T2 can perform processing is left set to the reference number of times of processing (the number before the change), the number of times that the cutting tool T1 is replaced is reduced from the reference number of times of processing, and the number of times that the multiple cutting tools T1 can perform processing is increased from the reference number of times of processing to a post-change increased number of times (the number after the change), and the workpiece W is produced.

[0077] At this time, the number of times the cutting tool T1 is replaced is reduced by one from the standard processing to two times, and the number of times the cutting tool T1 can be replaced is set so that the timing of replacing the third cutting tool T1 matches the timing of replacing the second cutting tool T2. In other words, the number of times the cutting tool T1 can be replaced is changed so that the total number of times the cutting tool T1 can be replaced is the production number. For example, the number of times the cutting tool T1 can be replaced is changed so that the number of times the cutting tool T1 can be replaced is the same (or approximately the same). The load on all the cutting tools T1 from the first cutting tool T1 to the third cutting tool T1 can be made uniform. The number of times the cutting tool T1 can be replaced may be changed so that all the values ​​are different.

[0078] For example, the number of possible machining operations for the first and second cutting tools T1 is changed from the standard number of machining operations of 30 times to the increased number of machining operations of 33 times, and the number of possible machining operations for the third cutting tool T1 is changed from the standard number of machining operations of 30 times to the increased number of machining operations of 34 times.

[0079] In the processing pattern C, as shown in FIG. 10C, in order to produce 100 workpieces W, the cutting tool T1 needs to be replaced twice and the cutting tool T2 needs to be replaced once. Therefore, the total number of replacements of the cutting tools T1 and T2 is three. In addition, the cutting tools T1 and T2 are not replaced simultaneously. Therefore, the replacement time of the cutting tool T1 is 60 seconds because the cutting tool T1 is replaced twice, and the replacement time of the cutting tool T2 is 30 seconds because the cutting tool T2 is replaced once, which is 90 seconds in total. The production time of the workpiece W can be calculated as the sum of the total cutting time (cycle time) by the cutting tools T1 and T2, the replacement time of the cutting tools T1 and T2, and the total increased processing time during increased processing, which is 15.5 seconds. In other words, the production time of the workpiece W can be calculated by adding 105.5 seconds (= the replacement time of the cutting tools T1, T2 (90 seconds) + the total increased machining time (15.5 seconds)) to the total cutting time (cycle time) using the cutting tools T1, T2.

[0080] In addition, in machining pattern C, when the machining time for the first tool T1 is increased to an increased machining number of 33 times, the increased machining time is 5 seconds, when the machining time for the second tool T1 is increased to an increased machining number of 33 times, the increased machining time is 5 seconds, and when the machining time for the third tool T1 is increased to an increased machining number of 34 times, the increased machining time is 5.5 seconds, and the total increased machining time is 15.5 seconds.

[0081] In addition, in the processing pattern C, although there is no simultaneous replacement, the tool life of both the cutting tools T1 and T2 will be reached when the production of 100 pieces is completed, and it becomes possible to reach the time to replace both the cutting tools T1 and T2. This makes it possible to reduce the cost of cutting tools and the environmental burden.

[0082] In addition, in the machining pattern C, as shown in FIG. 10C, the replacement timings of both the cutting tools T1 and T2 coincide with the time when the production of the workpiece is completed, so the remaining cutting tool life of each of the cutting tools T1 and T2 is 0 times.

[0083] (Processing pattern D: Reducing the number of times the cutting tool T1 needs to be replaced and increasing the number of times multiple cutting tools T1 can be used for processing) In machining pattern D, as shown in FIG. 10D, the number of machining times that the cutting tool T2 can perform is left set to the reference machining times (the number before the change), the number of times that the cutting tool T1 is replaced is reduced from the reference machining times, and the number of machining times that the multiple cutting tools T1 can perform is increased from the reference machining times to the post-change increased times (the number after the change), and the workpiece W is produced.

[0084] At this time, the number of times the cutting tool T1 is replaced is reduced by two from the standard processing to one time, and the number of times the cutting tool T1 can be processed from the first cutting tool T1 to the second cutting tool T1 is set so that the timing of replacing the second cutting tool T1 matches the timing of replacing the second cutting tool T2. In other words, the number of times the cutting tool T1 can be processed from the first cutting tool T1 to the second cutting tool T1 may be changed so that the total number of times the cutting tool T1 can be processed from the first cutting tool T1 to the second cutting tool T1 is the production number. For example, the number of times the cutting tool T1 can be processed from the first cutting tool T1 to the second cutting tool T1 is changed to have the same value. The burden on all the cutting tools T1 from the first cutting tool T1 to the second cutting tool T1 can be equalized. The number of times the cutting tool T1 can be processed from the first cutting tool T1 to the second cutting tool T1 may be changed so that they all have different values.

[0085] For example, the number of possible machining operations for the first and second cutting tools T1 is changed from the standard number of machining operations of 30 times to the increased number of machining operations of 50 times.

[0086] In this manner, by changing the possible number of machining operations of the cutting tool T2, which requires less cutting tool replacement, to the possible number of machining operations of the cutting tool T1, which requires more cutting tool replacement, the replacement timings of the cutting tools T1 and T2 may be made to be simultaneous.

[0087] In the processing pattern D, as shown in FIG. 10D, in order to produce 100 workpieces W, the cutting tool T1 needs to be replaced once, and the cutting tool T2 needs to be replaced once. Therefore, the total number of replacements of the cutting tools T1 and T2 is two. In addition, the cutting tools T1 and T2 are replaced simultaneously once. Therefore, the replacement time is one simultaneous replacement of the cutting tools T1 and T2, and the replacement time for the simultaneous replacement of the cutting tools T1 and T2 is 40 seconds. The production time of the workpiece W can be calculated as the sum of the total cutting time (cycle time) by the cutting tools T1 and T2, the replacement time of the cutting tools T1 and T2, and the total increased processing time during increased processing, which is 100 seconds. In other words, the production time of the workpiece W can be calculated by adding 140 seconds (= the replacement time of the cutting tools T1 and T2 (40 seconds) + the total increased processing time (100 seconds)) to the total cutting time (cycle time) by the cutting tools T1 and T2.

[0088] Furthermore, in processing pattern D, when the processing time of the cutting tool T1 for the first and second teeth is increased to 50 times, which is the increased processing number, the increased processing time becomes 50 seconds, and the total increased processing time becomes 100 (= 50 seconds × 2) seconds.

[0089] In addition, in the processing pattern D, the tool life of both the cutting tools T1 and T2 is reached when the production of 100 pieces is completed, and it becomes possible to reach the time to replace both the cutting tools T1 and T2. This makes it possible to reduce the cost of the cutting tools and the environmental burden.

[0090] In addition, in the machining pattern D, as shown in FIG. 10D, the replacement timings of both the cutting tools T1 and T2 coincide with the time when the production of the workpiece is completed, so the remaining cutting tool life of each of the cutting tools T1 and T2 is 0 times.

[0091] (Processing pattern E: Reduces the number of times cutting tool T1 can be used) 10E, in the machining pattern E, the number of possible machining operations of the cutting tool T2 is kept set to the reference machining operation number (pre-change number), the number of times the cutting tool T1 is replaced is maintained during the reference machining operation, and the number of possible machining operations of the multiple cutting tools T1 is reduced from the reference machining operation number to a post-change reduced number (post-change number), and the workpiece W is produced. Note that the cutting tool T1 is replaced at the post-change reduced number (post-change number) while keeping the machining speed the same as during the reference machining operation.

[0092] At this time, the number of times the blade T1 is replaced is three times, the same as the standard processing, and the number of times the first blade T1 to the fourth blade T1 can be processed is set so that the replacement timing of the second blade T1 is matched to the replacement timing of the first blade T2, and the replacement timing of the fourth blade T1 is matched to the replacement timing of the second blade T2. In other words, the total number of times the first blade T1 to the fourth blade T1 can be processed is the production number, and the total number of times the first blade T1 group can be processed is the same as the number of times the first blade T2 can be processed, and the total number of times the second blade T1 group can be processed is the same as the number of times the second blade T2 can be processed.

[0093] The number of times that the series of cutting tools T1 used to cut the workpiece W can be changed so that the end of the number of cut pieces by the cutting tool T1 (replacement timing) is the same as the end of the number of cut pieces by the cutting tool T2.

[0094] In the machining pattern E, for example, the possible machining counts of the first to fourth cutting tools T1 are changed from the standard machining count of 30 times to the reduced machining count of 25 times.

[0095] In the machining pattern E, as shown in FIG. 10E, in order to produce 100 workpieces W, the cutting tool T1 needs to be replaced three times and the cutting tool T2 needs to be replaced once. Therefore, the total number of replacements of the cutting tools T1 and T2 is four. In addition, the cutting tools T1 and T2 are replaced simultaneously once. Therefore, the replacement time is 100 seconds, since the cutting tools T1 and T2 are replaced simultaneously once and the replacement time for the simultaneous replacement is 40 seconds, and the cutting tool T1 is replaced independently twice and the replacement time for the cutting tool T1 is 60 seconds. The production time of the workpiece W can be calculated as the sum of the total cutting time (cycle time) by the cutting tools T1 and T2 and the replacement time of the cutting tools T1 and T2 (because the machining speed is the same as that during standard machining, there is no increase or decrease in the machining time). That is, the production time of the workpiece W can be calculated by adding 100 seconds (=the replacement time of the cutting tools T1, T2 (100 seconds)) to the total cutting time (cycle time) by the cutting tools T1, T2.

[0096] In addition, in the processing pattern E, the tool life of both the cutting tools T1 and T2 is reached when the production of 100 pieces is completed, and it becomes possible to reach the time to replace both the cutting tools T1 and T2. This makes it possible to reduce the cost of the cutting tools and the environmental burden.

[0097] In the machining pattern E, the cutting tool T1 was replaced at the reduced number of times after the change while keeping the machining speed the same as during the reference machining, but the machining speed may be increased from that during the reference machining. In this case, the number of times that the cutting tool T1 can perform machining may be changed from the reference machining number of 30 times to the reduced machining number of 25 times. When machining at the reduced number of times of machining, for example, the reduced machining time is 3 seconds, and the total reduced machining time is 12 seconds (= 3 seconds x 4). The production time of the workpiece W can be calculated by subtracting the total reduced machining time of 12 seconds from the sum of the total cutting time (cycle time) by the cutting tools T1 and T2 and the replacement time (100 seconds) for the cutting tools T1 and T2.

[0098] In addition, in the machining pattern E, as shown in FIG. 10E, the replacement timings of both the cutting tools T1 and T2 coincide with the time when the production of the workpiece is completed, so the remaining cutting tool life of each of the cutting tools T1 and T2 is 0 times.

[0099] (Processing pattern F: Change the number of times cutting tools T1 and T2 can both be used) In machining pattern F, as shown in FIG. 10F, the number of times that the blade T2 can machine a predetermined number of pieces (the first piece) is increased from the standard number of machining times (the number before the change) to the increased number after the change (the number after the change), and the number of times that the blade T1 can machine only the predetermined number of pieces (the third piece) is increased from the standard number of machining times to the increased number after the change (the number after the change), and the number of times that the blade T1 can machine pieces other than the predetermined number of pieces (the third piece) is set to the standard number of machining times, and the workpiece W is produced.

[0100] At this time, the predetermined number of the blade T1 can be set to the blade T1 in the order that minimizes the increase in the number of times that the blade T1 can be machined (the increased number of times that the blade T1 can be machined) and allows the timing of replacing the last blade T1 to coincide with the completion of the production of the number of workpieces W. In addition, in the processing pattern F, the predetermined number of the blade T1 can be calculated in the same manner as in the processing pattern B, and when it is desired to coincide the timing of replacing the third blade T1 with the completion of the production of the number of workpieces W, it is necessary to increase the number of times that the blade T1 can be machined (the number of pieces) from 30 times to 40 times, and the increased number of times that the blade T1 can be machined is 10 times.

[0101] In addition, the predetermined number of the blade T2 can be set to the blade T2 in the order that minimizes the increase in the number of times that the blade T2 can be processed (the increased number of times that the blade T2 can be processed) and allows the replacement timing of the blade T2 to coincide with the replacement timing of the blade T1. In this case, like the processing pattern B, the predetermined number of the blade T2 can be calculated, and when it is desired to match the replacement timing of the first blade T2 with the replacement timing of the second blade T1, it is necessary to increase the number of times that the blade T2 can be processed (the number of pieces) from 50 times to 60 times, and the increased number of times that the blade T2 can be processed is 10 times.

[0102] From the above, it can be understood that the increased machining times of the cutting tools T1 and T2, which is the sum of the increased machining times of the cutting tools T1 and T2, can be minimized when the replacement timing of the third cutting tool T1 is adjusted to coincide with the completion of production of the production number of the workpiece W and the replacement timing of the first cutting tool T2 is adjusted to coincide with the replacement timing of the second cutting tool T1, and the predetermined number of the cutting tool T1 is the third cutting tool and the predetermined number of the cutting tool T2 is the first cutting tool. In this case, the number of possible machining times of the first and second cutting tools T1 is 30 times, which is the standard number of machining times, and the number of possible machining times of the third cutting tool T1 is 40 times, which is the increased number of machining times. In addition, the number of possible machining times of the first cutting tool T2 is 60 times, which is the increased number of machining times, and the number of possible machining times of the second cutting tool T2 is 50 times, which is the standard number of machining times.

[0103] In processing pattern F, as shown in Fig. 10F, in order to produce 100 workpieces W, cutting tool T1 needs to be replaced twice and cutting tool T2 needs to be replaced once. Therefore, the total number of replacements of cutting tools T1 and T2 is three. In addition, cutting tools T1 and T2 are replaced simultaneously once. Therefore, the replacement time is 70 seconds in total, with cutting tools T1 and T2 being replaced simultaneously once, resulting in 40 seconds, and cutting tool T1 being replaced independently once, resulting in 30 seconds.

[0104] In addition, the production time of the workpiece W can be calculated as the sum of the total cutting time (cycle time) by the cutting tools T1, T2, the time to replace the cutting tools T1, T2, and the total increased machining time during increased machining, which is 20 seconds. In other words, the production time of the workpiece W can be calculated by adding 90 seconds (= the time to replace the cutting tools T1, T2 (70 seconds) + the total increased machining time (20 seconds)) to the total cutting time (cycle time) by the cutting tools T1, T2.

[0105] In addition, in machining pattern F, when the machining time for the third blade T1 is increased to an increased machining count of 40 times, the increased machining time becomes 10 seconds, and when the machining time for the first blade T2 is increased to an increased machining count of 60 times, the increased machining time becomes 10 seconds, and the total increased machining time becomes 20 (= 10 seconds × 2) seconds.

[0106] In addition, in the processing pattern F, although simultaneous replacement is performed, the cutting tool T1 reaches the end of its tool life when the production of 100 pieces is completed, and it becomes possible to meet the timing for replacement of the cutting tool T1. Therefore, it is possible to reduce the cost of the cutting tool and the environmental burden.

[0107] In addition, in the above-mentioned processing pattern F, the number of possible processing times of the first and second cutting tools T1 is set as the reference number of processing times, and the number of possible processing times of the third cutting tool T1 is set as the increased number of processing times, so that the timing of replacing the third cutting tool T1 is synchronized with the completion of the production of the number of production pieces of the workpieces W. However, the number of possible processing times of the first and third cutting tools T1 may be set as the reference number of processing times, and the number of possible processing times of the second cutting tool T1 may be set as the increased number of processing times, so that the timing of replacing the third cutting tool T1 is synchronized with the completion of the production of the number of production pieces of the workpieces W. In this case, the number of possible processing times of the first cutting tool T2 is 70 times (30 times (the number of possible processing times of the first cutting tool T1) + 40 times (the number of possible processing times of the second cutting tool T1)), and the increased processing time is longer than 10 seconds when the number of possible processing times is 60 times.

[0108] In addition, in processing pattern F, as shown in FIG. 10F, the replacement timing of cutting tool T1 coincides with the time when production of the workpiece is completed, so the remaining cutting tool life of cutting tool T1 is 0 times, and the remaining cutting tool life of cutting tool T2 at the time when production of the workpiece W is completed is 10 times.

[0109] As described above, when calculating each machining pattern, the control device 50 changes the number of times that the cutting tool can perform machining so that the timing of replacing the cutting tool coincides with the completion of production of the workpiece W, or changes the number of times that the cutting tool can perform machining so that the timing of replacing one cutting tool coincides with the timing of replacing another cutting tool. In other words, the control device 50 changes the machining conditions for the workpiece W based on the number of workpieces W produced (changing unit).

[0110] As described above, when calculating each machining pattern, the control device 50 changes the machining conditions for the workpiece W and then starts machining the workpiece W, and the calculation of the machining pattern, i.e., the change of the machining conditions, is performed immediately before the start of machining of the workpiece W, such as during a changeover, or before the machining of the workpiece W. Also, the timing immediately before the start of machining of the workpiece W or before the machining of the workpiece W is a timing when the cutting tool 31 can be replaced, so the calculation of the machining pattern, i.e., the change of the machining conditions, is performed at a timing when the cutting tool 31 can be replaced.

[0111] The control device 50 stores each of the machining patterns A to F calculated as described above in the storage device 50c, including the number of replacements, production time, the number of times each blade can machine a predetermined number of blades, etc. In addition, the machining patterns are not limited to the above-mentioned machining patterns A to F.

[0112] (Display and select priority items) After calculating the machining pattern as described above, the control device 50 displays priority items on the display device 50b in step S110 (priority item display section). Priority items are items that the operator wants to prioritize when machining the workpiece W, and include the production time of the workpiece W, the number of times the machining tool is replaced, and the life of the machining tool. These priority items are displayed on a priority item selection screen 51 displayed on the display section 50b1 of the display device 50b. As shown in FIG. 5, the priority item selection screen 51 displays a number of times of replacement selection section 51a and a production time selection section 51b, and the number of times of replacement selection section 51a and the production time selection section 51b can be selected by an operation of the operator.

[0113] When the operator selects a desired priority item from the priority items displayed on the priority item selection screen 51 ("YES" in step S112), the control device 50 displays the machining patterns in ascending order for the selected priority item on the exchange count pattern selection screen 52 in step S114. Meanwhile, the control device 50 continues to display the priority items on the priority item selection screen 51 until the operator selects a desired priority item ("NO" in step S112). In step S112, when the operator selects a desired priority item from the priority items displayed on the priority item selection screen 51, the control device 50 determines that the desired priority item has been selected (priority item selection unit).

[0114] (Display and select processing patterns) The control device 50 displays a list of machining patterns arranged in ascending order according to the priority item selected by the operator on the display device 50b (machining pattern display section). For example, when the operator selects the replacement count selection section 51a, the control device 50 displays the machining patterns on the replacement count pattern selection screen 52 in ascending order according to the replacement count, which is the selected priority item, in step S114. Specifically, as shown in FIG. 6A, the replacement count pattern selection screen 52 displays the first to fifth pattern selection sections 52a to 52e. Each pattern selection section has the number of replacements of the cutting tool and a machining pattern. In this embodiment, for example, the first pattern selection section 52a has the number of replacements twice, and the machining pattern is the machining pattern D. The second pattern selection section 52b has the number of replacements three times, and the machining pattern is the machining pattern F. The third pattern selection section 52c has the number of replacements three times, and the machining pattern is the machining pattern B. The fourth pattern selection section 52d has the number of replacements three times, and the machining pattern is the machining pattern C. The fifth pattern selection section 52e has the number of exchanges being four and the processing pattern being processing pattern E.

[0115] In addition, in step S114, the control device 50 may display a replacement count pattern selection screen 53 (see FIG. 6B) to which production time has been added, instead of the replacement count pattern selection screen 52. At this time, if the number of replacements is the same, the processing patterns are displayed in ascending order of production time. According to this, if the number of replacements is the same, the operator can reliably and easily select the one with the shorter production time.

[0116] Also, for example, when the worker selects the production time selection section 51b, the control device 50 displays the processing patterns on the production time pattern selection screen 54 in ascending order of the production time, which is the selected priority item, in step S114. Specifically, as shown in FIG. 7A, the production time pattern selection screen 54 displays the first to fifth pattern selection sections 54a to 54e. The first pattern selection section 54a displays the processing pattern with the shortest production time together with the production time. In this embodiment, for example, the first pattern selection section 54a has a production time of 90 seconds and a processing pattern of processing pattern F. The second pattern selection section 54b has a production time of 100 seconds and a processing pattern of processing pattern B. The third pattern selection section 54c has a production time of 100 seconds and a processing pattern of processing pattern E. The fourth pattern selection section 54d has a production time of 105.5 seconds and a processing pattern of processing pattern C. The fifth pattern selection unit 54e has a production time of 140 seconds and a processing pattern of processing pattern D.

[0117] In step S114, the control device 50 may display a production time pattern selection screen 55 (see FIG. 7B) with the number of replacements added, instead of the production time pattern selection screen 54. At this time, if the production times are the same, the processing patterns are displayed in ascending order of the number of replacements. This allows the operator to reliably and easily select the pattern with the fewer number of replacements when the production times are the same.

[0118] In addition, in the above-described flowchart, the priority items are displayed (step S110) after the processing pattern is calculated (step S108), but the processing pattern may be calculated after the priority items are displayed.

[0119] (Workpiece processing) When the worker selects a desired machining pattern from the machining patterns displayed on the replacement count pattern selection screen 52 ("YES" in step S116), the control device 50 performs machining of the workpiece W with the selected machining pattern in step S118. Meanwhile, the control device 50 continues to display the machining patterns on the replacement count pattern selection screen 52 until the worker selects the desired machining pattern ("NO" in step S116). In step S116, when the worker selects the desired machining pattern from the machining patterns displayed on the replacement count pattern selection screen 52, the control device 50 determines that the desired machining pattern has been selected (machining pattern selection unit).

[0120] In step S118, the control device 50 performs machining of the workpiece W using the selected machining pattern. The control device 50 reads information on the selected machining pattern (such as the number of replacements, production time, and the number of times each cutting tool can perform machining for a predetermined number of pieces) from the storage device 50c, and performs machining of the workpiece W based on the machining pattern information.

[0121] For example, when machining pattern D is selected on replacement count pattern selection screen 52, the control device 50 changes the possible machining count of the first and second cutting tools T1 from the standard machining count of 30 times to the increased machining count of 50 times, and while keeping the possible machining count of the cutting tool T2 set to the standard machining count (the previous change count) of 50 times, performs machining of 100 workpieces W. This reduces the number of replacements of each of the cutting tools T1 and T2 to once, and makes it possible to match the timing of replacement of the final cutting tools T1 and T2 to the completion of production of the workpiece W, reducing the number of cutting tool replacements to two, and making it possible to reduce the total increased machining time of the production time of the workpiece W to 140 seconds.

[0122] (Effects of this embodiment) The workpiece machining device (machine tool 10) according to the embodiment described above has a plurality of machining tools (cutting tools 31), and in the machine tool 10 which machines the workpiece W using the cutting tools 31, the machining conditions of the workpiece W can be changed based on the number of workpieces W to be produced.

[0123] According to this embodiment, in the machine tool 10, it is possible to change the machining conditions of the workpieces W based on the number of workpieces W produced. For example, the machining conditions include the production time of the workpieces W, the number of machining tool changes, and the machining tool life. By changing the machining conditions of the workpieces W based on the number of workpieces W produced, it is possible to match the replacement timings of at least two or more cutting tools 31 with each other, or to match the replacement timing of the cutting tools 31 with the setup change timing. This makes it possible to eliminate waste in the machining tool replacement work.

[0124] Also, the number of times the cutting tool 31 needs to be replaced can be reduced as much as possible, and thus the cost of the cutting tool 31 can be reduced. Furthermore, by matching the timing of replacing the cutting tool 31 with the completion of production of the workpiece W, it is possible to prevent the occurrence of partially used (remaining) cutting tools 31 at the time of completion of production of the workpiece W. Therefore, it is possible to reduce the burden of managing partially used cutting tools 31, and also to reduce the disposal of partially used cutting tools 31, thereby reducing the environmental load. Furthermore, it is possible to set a desired balance between the machining accuracy of the workpiece W and the cycle time.

[0125] In addition, in this embodiment, the machining conditions can be changed by giving priority to any one of the production time of the workpiece W, the number of times the machining tools are replaced, and the machining tool life as a priority item. This makes it possible to change the machining conditions by giving priority to the priority item that the operator wants to prioritize, and to calculate a machining pattern that emphasizes the priority item, and ultimately makes it possible to machine the workpiece W according to the machining pattern that the operator desires.

[0126] Furthermore, in this embodiment, the machine tool 10 has a selection section (priority item selection screen 51) that allows the operator to select a priority item by a selection operation. This allows the operator to reliably select the priority item that he or she wants to prioritize, and ultimately allows the operator to reliably machine the workpiece W in the machining pattern that he or she desires.

[0127] Furthermore, in this embodiment, the machine tool 10 changes the machining conditions based on the relationship R between the machining conditions, the machining tool life, and the production time. This makes it possible to accurately and reliably change the machining conditions by prioritizing the priority items that the operator desires to prioritize, and to accurately and reliably calculate a machining pattern that emphasizes the priority items, thereby making it possible to accurately and reliably machine the workpiece W using the machining pattern desired by the operator.

[0128] Furthermore, in this embodiment, the machine tool 10 learns in advance the relationship R. This makes it possible to change the machining conditions using the previously learned relationship R, and enables the operator to change the machining conditions more accurately and reliably by prioritizing the priority items that he or she desires to prioritize.

[0129] (Modification) In the above-described embodiment, the change of the machining conditions, i.e., the calculation of the machining pattern, is performed immediately before the start of machining of the workpiece W or before machining of the workpiece W, but it may be performed at a timing when the blade 31 can be replaced. For example, during production (during machining) after the start of production, it may be performed at a timing when one of the multiple blades 31 is replaced, or it may be performed at a timing when two or more of the multiple blades 31 are replaced simultaneously. In this way, the change of the machining conditions is performed at a timing when the blade 31 can be replaced. According to this, since the machining conditions can be changed while the machining of the workpiece W is stopped, rather than during the machining of the workpiece W, it is possible to change the machining conditions at an appropriate timing.

[0130] As described above, the machining conditions are changed at any timing when the machining tools can be replaced, including the timing immediately before the start of production of the workpiece W. However, the present invention is not limited to this, and the machining conditions may be changed at the timing when the cutting tool replacement counter is reset.

[0131] In addition, in the above-described embodiment, the case where two cutting tools are used when calculating the machining pattern has been described. However, when there are three or more cutting tools, similarly to the case where there are two cutting tools, multiple machining patterns can be calculated by changing the machining conditions of each cutting tool so that the timing for changing a cutting tool coincides with the timing for completing production of the workpiece W, or the timing for changing one cutting tool coincides with the timing for changing another cutting tool.

[0132] In the above-described embodiment, the time required for one blade replacement operation for each blade and the N-blade simultaneous replacement operation time for simultaneously replacing N blades when replacing multiple blades at the same time may be stored in the storage device 50c. This allows the time required for replacing the blades to be calculated with high accuracy, and therefore allows the calculation of a machining pattern with higher accuracy.

[0133] Furthermore, in the above-described embodiment, a cutting tool is used as the processing tool, but other processing tools for processing the workpiece W may be used. Furthermore, in the above-described embodiment, a dual gantry type machine tool 10 is provided with two spindles, tool tables, and transport devices, but it is also possible to adopt a machine tool provided with one spindle, tool table, and transport devices, or three or more. Furthermore, in the above-described embodiment, one transport device 10b is provided, but two or more transport devices may be provided.

[0134] In the above-described embodiment, the relationship R is learned in advance, but at this time, the torques (servo torques) of the servo motor 22 of the spindle 20a, which is a motor related to cutting by the cutting tool 31, and the servo motors 33a1, 33b1 that drive the tool table moving device 33 may also be learned. This makes it possible to learn the relationship R with higher accuracy, and ultimately to calculate a machining pattern with higher accuracy.

[0135] In the above-described embodiment, when the machining tool life selection section that allows the selection of the machining tool life is selected, the pattern selection screen displays machining patterns arranged in ascending order of the remaining blade life. For example, machining pattern D, machining pattern B, machining pattern C, and machining pattern E, which have a remaining blade life of 0 times, are displayed in this order, followed by machining pattern F, which has a remaining blade life of 10 times, and machining pattern A, which has a remaining blade life of 20 times.

[0136] In the above-described embodiment, an eco mode may be added to the priority items to make it possible to select the eco mode. In the eco mode, the remaining tool life is 0, and it is possible to automatically select a machining pattern with a low number of tool replacements and a short production time. [Explanation of symbols]

[0137] 10...machine tool (workpiece processing device), 31, T1, T2...cutting tool (processing tool), 50...control device, 51...priority item selection screen (selection section), R...relationship, W...workpiece.

Claims

1. A workpiece machining apparatus having a plurality of machining tools for machining a workpiece, A workpiece machining device capable of changing machining conditions for the workpiece based on the number of works to be produced.

2. 2. The workpiece machining device according to claim 1, wherein the machining conditions can be changed by giving priority to any one of a production time of the workpiece, a number of times the machining tools are replaced, and a machining tool life as a priority item.

3. 3. The workpiece machining device according to claim 2, further comprising a selection section for allowing an operator to select the priority item through a selection operation.

4. 3. The workpiece machining device according to claim 2, wherein the machining conditions are changed based on a relationship between the machining conditions, the machining tool life, and production time.

5. 5. The workpiece machining device according to claim 4, wherein the relationship is learned in advance.

6. The workpiece machining device according to claim 1 , wherein the machining conditions are changed at a timing when the machining tool can be replaced.

Citation Information

Patent Citations

  • Machine learning device, numerical control system, setting device, numerical control device, and machine learning method

    WO2021187268A1