MACHINE TOOL, CONTROL METHOD, AND CONTROL PROGRAM
The machine tool system addresses the challenge of tool substitution by prioritizing the replacement of tools without substitutes, ensuring continuous machining operations by managing tool states and substitution effectively.
Patent Information
- Application Number
- JP2023547956
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2021-09-14
- Publication Date
- 2024-11-19
- Estimated Expiration
- 2041-09-14
AI Technical Summary
Existing machine tools cannot effectively manage tool substitution when a tool is in an abnormal state without a suitable substitute, leading to potential machine stoppages until a new tool is installed.
A machine tool system that includes a magazine for holding multiple tools, a processing machine body, and a control unit that acquires tool information to determine tools in abnormal states without suitable substitutes, prioritizing their replacement to avoid machine stoppages by moving these tools to a predetermined position for replacement.
The system allows for efficient tool management, preventing machine stoppages and enabling quicker resumption of machining by prioritizing the replacement of tools without substitutes, thus optimizing tool collection processes.
Smart Images

Figure 0007587050000001 
Figure 0007587050000002 
Figure 0007587050000003
Abstract
Description
[Technical field]
[0001] The present disclosure relates to a machine tool, a control method for the machine tool, and a control program for the machine tool. [Background technology]
[0002] Japanese Patent Laid-Open Publication No. 2004-130451 (Patent Document 1) discloses a tool replacement timing display device equipped with a function for displaying the tool replacement timing. The tool replacement timing display device determines the tool replacement timing according to the workload of tool replacement. As a result, the tool replacement timing display device "carries out planned and efficient tool replacement even in a line with multiple pieces of equipment and with a large number of cutting tools to be replaced, thereby preventing equipment downtime due to failure to replace the cutting tools." [Prior art documents] [Patent documents]
[0003] [Patent Document 1] JP 2004-130451 A Summary of the Invention [Problem to be solved by the invention]
[0004] Even if a machine tool has an abnormal tool, if there is a normal tool of the same type as the abnormal tool, the machine tool can substitute the normal tool for machining. On the other hand, if there is no substitutable tool in the machine tool, the machine tool cannot proceed with machining the workpiece. In this case, the machine tool must stop machining the workpiece until a new tool is installed.
[0005] Therefore, it is desirable to more appropriately determine the priority of tools to be collected depending on the presence or absence of substitutable tools. Note that Patent Document 1 does not disclose this technology. [Means for solving the problem]
[0006] In one example of the present disclosure, a machine tool includes a magazine capable of holding a plurality of tools, a processing machine body for processing a workpiece using at least one of the plurality of tools, and a control unit for controlling the machine tool. The control unit executes a process of acquiring tool information regarding the plurality of tools. The tool information specifies a tool type and a tool state for each of the plurality of tools. The state includes an abnormal state and a normal state. The control unit further executes a process of determining, based on the tool information, a tool in the abnormal state for which a tool of the same type in the normal state does not exist in the magazine as a candidate for collection, and a predetermined process regarding the tool of the candidate for collection.
[0007] In one example of the present disclosure, the machine tool further includes a drive unit for driving the magazine, and the predetermined process includes a process of controlling the drive unit to move the tool candidate for collection to a predetermined position.
[0008] In one example of the present disclosure, the machine tool further includes a display unit, and the predetermined process includes a process of displaying information related to the tool that is a candidate for disposal on the display unit.
[0009] In one example of the present disclosure, the abnormal state includes a damaged state indicating that the tool is damaged and an end-of-life state indicating that the tool has reached the end of its life, and the determining process determines, as the recovery candidate, a tool in the damaged state for which no tool of the same type in the normal state is present in the magazine, in preference to a tool in the end-of-life state for which no tool of the same type in the normal state is present in the magazine.
[0010] In one example of the present disclosure, the abnormal state further includes a life warning state indicating that the life of the tool has not expired and the remaining life of the tool is less than a predetermined threshold. In the determining process, a tool in the life expired state and a tool of the same type not present in the magazine and in the normal state are preferentially determined as the recovery candidate over a tool in the life warning state and a tool of the same type not present in the magazine and in the normal state.
[0011] In one example of the present disclosure, in the determination process, a tool in an abnormal state for which a tool of the same type in the normal state is not present in the magazine is determined as the candidate for recovery preferentially over a tool in an abnormal state for which a tool of the same type in the normal state is present in the magazine.
[0012] In another example of the present disclosure, a method for controlling a machine tool is provided. The machine tool includes a magazine capable of holding a plurality of tools, and a processing machine body for processing a workpiece using at least one of the plurality of tools. The control method includes a step of acquiring tool information regarding the plurality of tools. The tool information specifies a tool type and a tool state for each of the plurality of tools. The state includes an abnormal state and a normal state. The control method further includes a step of determining, based on the tool information, a tool in the abnormal state for which a tool of the same type in the normal state does not exist in the magazine, as a candidate for collection, and a step of executing a predetermined process regarding the tool of the candidate for collection.
[0013] In another example of the present disclosure, a control program for a machine tool is provided. The machine tool includes a magazine capable of holding a plurality of tools, and a processing machine body for processing a workpiece using at least one of the plurality of tools. The control program causes the machine tool to execute a step of acquiring tool information regarding the plurality of tools. The tool information specifies a tool type and a tool state for each of the plurality of tools. The state includes an abnormal state and a normal state. The control program further causes the machine tool to execute a step of determining, based on the tool information, a tool in the abnormal state for which a tool of the same type in the normal state does not exist in the magazine, as a candidate for collection, and a predetermined process regarding the tool of the candidate for collection.
[0014] The above and other objects, features, aspects and advantages of the present invention will become apparent from the following detailed description of the invention taken in conjunction with the accompanying drawings.
Brief Description of the Drawings
[0015] [Figure 1] It is a diagram showing the appearance of a machine tool. [Diagram 2] It is a diagram showing an example of a drive mechanism of a machine tool. [Diagram 3] It is a diagram schematically showing a process of determining a recovery candidate from among the tools held in a magazine. [Figure 4] It is a diagram showing an example of a functional configuration of a machine tool. [Diagram 5] It is a diagram showing an example of a data structure of tool information. [Figure 6] It is a diagram showing an example of a recovery rule. [Figure 7] It is a diagram showing an operation screen of an operation panel. [Figure 8] It is a diagram showing an operation screen according to a modification example. [Figure 9] It is a diagram showing an example of a hardware configuration of a CPU (Central Processing Unit) unit. [Figure 10] It is a diagram showing an example of a hardware configuration of a CNC (Computer Numerical Control) unit. [Figure 11] It is a diagram showing an example of a hardware configuration of an operation panel. [Figure 12] It is a flowchart showing a part of a process executed by a control unit of a machine tool.
Modes for Carrying Out the Invention
[0016] Hereinafter, each embodiment according to the present invention will be described with reference to the drawings. In the following description, the same parts and components are denoted by the same reference numerals. Their names and functions are also the same. Therefore, detailed descriptions thereof will not be repeated. In addition, each embodiment and each modification example described below may be selectively combined as appropriate.
[0017] <A. Machine Tool 100> First, a machine tool 100 according to an embodiment will be described with reference to Fig. 1. Fig. 1 is a diagram showing the external appearance of machine tool 100.
[0018] In this specification, the term "machine tool" is a concept that includes various devices that have the function of machining a workpiece. The machine tool 100 may be a horizontal machining center or a vertical machining center. Alternatively, the machine tool 100 may be a lathe, an additional processing machine, or another cutting machine or grinding machine.
[0019] Machine tool 100 has a tool storage section 40A and a processing machine body 40B. Tool storage section 40A and processing machine body 40B are partitioned by a cover.
[0020] The tool storage section 40A is provided with a magazine 150 and an ATC (Automatic Tool Changer) 160. The processing machine body 40B is provided with a spindle 170.
[0021] The processing machine body 40B uses at least one of a plurality of tools held in the magazine 150 to machine a workpiece. More specifically, the machine tool 100 drives the magazine 150 to move one tool (hereinafter also referred to as the "next tool to be used") corresponding to the machining process to a first tool changing position. The machine tool 100 also drives the spindle 170 to move a tool (hereinafter also referred to as the "used tool") attached to the spindle 170 to a second tool changing position. Thereafter, the ATC 160 replaces the next tool to be used waiting at the first tool changing position with the used tool waiting at the second tool changing position. The tool is replaced via a door D provided in a partition between the processing machine body 40B and the tool storage section 40A. The door D is a sliding door that is opened and closed by a driving source such as a motor. Thereafter, the spindle 170 machines the workpiece using the next tool to be used that is attached.
[0022] Further, the machine tool 100 is provided with an operation panel 400. The operation panel 400 includes a display 405 for displaying various pieces of information related to machining and operation keys 406 for receiving various operations on the machine tool 100.
[0023] <B. Drive Mechanism of Machine Tool 100> Next, with reference to FIG. 2, various components of the machine tool 100 will be described. FIG. 2 is a diagram showing an example of the drive mechanism of the machine tool 100.
[0024] As shown in FIG. 2, the machine tool 100 includes a control unit 50, drive units 110, 120, 130, a magazine 150, an ATC 160, and a spindle 170.
[0025] For the sake of convenience of explanation, hereinafter, the gravitational direction will also be referred to as the "X-axis direction". One direction on the horizontal plane orthogonal to the X-axis will also be referred to as the "Y-axis direction". The direction orthogonal to both the X-axis direction and the Y-axis direction will be referred to as the "Z-axis direction".
[0026] As used in this specification, the "control unit 50" means a device that controls the machine tool 100. The device configuration of the control unit 50 is arbitrary. The control unit 50 may be composed of a single control unit or a plurality of control units. In the example of FIG. 2, the control unit 50 is composed of a CPU unit 200 and a CNC unit 300.
[0027] The CPU unit 200 and the CNC unit 300 communicate with each other via, for example, a bus B. The CPU unit 200 is, for example, a PLC (Programmable Logic Controller).
[0028] The CPU unit 200 controls the drive unit 110 according to a pre-designed PLC program. The PLC program is described, for example, in a ladder program.
[0029] The driving unit 110 is a driving mechanism for driving and rotating the magazine 150. The device configuration of the driving unit 110 is arbitrary. The driving unit 110 may be configured with a single driving unit, or may be configured with a plurality of driving units. In the example of FIG. 2, the driving unit 110 is configured with a motor driver 111M and a motor 112M.
[0030] The motor driver 111M drives the magazine 150 in accordance with a control command from the CPU unit 200. A motor 112M is provided in the magazine 150. The motor 112M may be a servo motor, a stepping motor, or any other type of motor.
[0031] More specifically, the motor driver 111M receives a target rotation speed from the CPU unit 200 and controls the motor 112M. The motor 112M rotates the magazine 150 in accordance with the output current from the motor driver 111M, and drives the next tool T1 to be used, which is designated in the magazine 150, to a designated position.
[0032] Furthermore, the CPU unit 200 controls the driving unit 120 according to a pre-designed PLC program. The driving unit 120 is a driving mechanism for driving the ATC 160. The device configuration of the driving unit 120 is arbitrary. The driving unit 120 may be configured with a single driving unit, or may be configured with multiple driving units. In the example of FIG. 2, the driving unit 120 is configured with an ATC driver 121A and motors 122A and 122B.
[0033] The ATC driver 121A is, for example, a two-axis integrated driver, and controls the driving of the motors 122A and 122B connected to the ATC 160. The ATC 160 includes a central shaft 165 and an arm 166. The arm 166 is, for example, a double arm that can hold two tools at the same time. That is, the arm 166 has a tool gripping part 166A extending from the central shaft 165 in one direction (for example, the X-axis direction) perpendicular to the axial direction of the central shaft 165, and a tool gripping part 166B extending from the central shaft 165 in the opposite direction to the one direction.
[0034] Each of the motors 122A and 122B may be a servo motor, a stepping motor, or other types of motors. The ATC driver 121A receives, for example, an input of a target rotation speed of the motor 122A and an input of a target rotation speed of the motor 122B from the CPU unit 200, and controls each of the motors 122A and 122B. The motor 122A feeds and drives the arm 166 of the ATC 160 according to the output current from the ATC driver 121A, and drives the arm 166 to an arbitrary position in the axial direction of the central shaft 165. The motor 122B rotates and drives the arm 166 of the ATC 160 according to the output current from the ATC driver 121A, and drives the arm 166 to an arbitrary rotation angle with the central shaft 165 as the rotation center.
[0035] As an example, based on receiving a tool exchange command, the ATC 160 obtains the next tool T1 to be used from the magazine 150. After that, the ATC 160 removes the used tool T2 from the spindle 170 and attaches the next tool T1 to the spindle 170. After that, the ATC 160 stores the used tool T2 removed from the spindle 170 in the magazine 150.
[0036] The CNC unit 300 starts executing a pre-designed machining program based on receiving a machining start command from the CPU unit 200. The machining program is written in, for example, an NC (Numerical Control) program. The CNC unit 300 drives the drive unit 130 according to the machining program.
[0037] The driving unit 130 is a driving mechanism for moving the spindle 170. The device configuration of the driving unit 130 is arbitrary. The driving unit 130 may be configured with a single driving unit, or may be configured with a plurality of driving units. In the example of FIG. 2, the driving unit 130 is configured with motor drivers 131B, 131C, 131X, 131Y, and 131Z, and motors 132B, 132C, 132X, 132Y, and 132Z.
[0038] Motor driver 131B sequentially receives the input of the target rotation speed from CNC unit 300 and controls motor 132B. Motor 132B drives and rotates spindle 170 around the Y-axis direction. Motor 132B may be an AC motor, a stepping motor, a servo motor, or any other type of motor.
[0039] When the motor 132B is a servo motor, the motor driver 131B calculates the actual rotation speed of the motor 132B from a feedback signal of an encoder (not shown) for detecting the rotation angle of the motor 132B. Then, the motor driver 131B increases the rotation speed of the motor 132B when the calculated actual rotation speed is smaller than the target rotation speed, and decreases the rotation speed of the motor 132B when the calculated actual rotation speed is larger than the target rotation speed. In this way, the motor driver 131B brings the rotation speed of the motor 132B closer to the target rotation speed while sequentially receiving feedback of the rotation speed of the motor 132B.
[0040] Motor driver 131C sequentially receives input of target positions from CNC unit 300 and controls motor 132C. Motor 132C rotates and drives spindle 170 around the axial direction of spindle 170 as the center of rotation. Motor 132C may be an AC motor, a stepping motor, a servo motor, or another type of motor. The method of controlling motor 132C by motor driver 131C is similar to that of motor driver 131B, and therefore description thereof will not be repeated.
[0041] The motor driver 131X sequentially receives an input of a target position from the CNC unit 300 and controls the motor 132X. The motor 132X feeds and drives the spindle 170 and moves the spindle 170 to an arbitrary position in the X-axis direction. The motor 132X may be an AC motor, a stepping motor, a servo motor, or any other type of motor. The method for controlling the motor 132X by the motor driver 131X is the same as that of the motor driver 131B, so the description thereof will not be repeated.
[0042] The motor driver 131Y sequentially receives an input of a target position from the CNC unit 300 and controls the motor 132Y. The motor 132Y feeds and drives the spindle 170 and moves the spindle 170 to an arbitrary position in the Y-axis direction. The motor 132Y may be an AC motor, a stepping motor, a servo motor, or any other type of motor. The method for controlling the motor 132Y by the motor driver 131Y is the same as that of the motor driver 131B, so the description thereof will not be repeated.
[0043] The motor driver 131Z sequentially receives an input of a target position from the CNC unit 300 and controls the motor 132Z. The motor 132Z feeds and drives the spindle 170 and moves the spindle 170 to an arbitrary position in the Z-axis direction. The motor 132Z may be an AC motor, a stepping motor, a servo motor, or any other type of motor. The method for controlling the motor 132Z by the motor driver 131Z is the same as that of the motor driver 131B, so the description thereof will not be repeated.
[0044] <C. Overview> Referring to FIG. 3, an outline of the tool recovery process will be described. FIG. 3 is a diagram schematically showing a process of determining a recovery candidate from among the tools held in the above-described magazine 150.
[0045] The magazine 150 holds various tools used in machining a workpiece. The magazine 150 may hold not only tools in a normal state, but also tools in an abnormal state.
[0046] An "abnormal tool" refers to a tool that is not recommended for use in machining a workpiece. As an example, an abnormal tool includes a damaged tool, a tool whose life has expired due to wear or the like, and a tool whose remaining life is less than a predetermined time. Types of damage to a tool include, for example, deformation of the tool due to application of excessive force, chipping of the tool blade, and breakage of the tool.
[0047] In contrast, a "tool in a normal state" refers to a tool that is in a state where it can be used to machine a workpiece. Typically, a "tool in a normal state" is a tool other than a tool in an abnormal state.
[0048] In addition, tools whose lifespan has expired due to wear or the like and tools whose remaining lifespan is less than a predetermined time are merely not recommended for use, but can still be used for machining. Therefore, tools whose lifespan has expired due to wear or the like and tools whose remaining lifespan is less than a predetermined time may be considered as "tools in a normal state" rather than "tools in an abnormal state."
[0049] A plurality of pots for holding tools are provided in the magazine 150. The number of pots provided in the magazine 150 is arbitrary. In the example of Fig. 3, three pots P1 to P3 are shown.
[0050] The pot P1 holds a tool T1 of the tool type "A." Assume that the tool T1 is in an abnormal state in which it is not recommended to use the tool T1 for machining a workpiece.
[0051] The pot P2 holds the tool T2 of the tool type "A". In other words, the tool T2 is the same type as the tool T1. The tool T2 is in a normal state and can be used to machine a workpiece.
[0052] The pot P3 holds a tool T3 of the tool type "B". The tool T3 is in an abnormal state in which it is not recommended to use the tool T3 for machining a workpiece. In addition, it is assumed that a tool of the tool type "B" in a normal state does not exist in the magazine 150.
[0053] When tool T3 is called in the machining program, there is no other tool that can be substituted for it, so the operator needs to load a new tool of tool type "B" into magazine 150. In this case, machine tool 100 cannot proceed with machining the workpiece until the loading of the new tool is complete.
[0054] On the other hand, when a tool T1 in an abnormal state is called in the machining program, since a tool T2 in a normal state that is the same type as the tool T1 in the abnormal state exists, the machine tool 100 can proceed with machining the workpiece using tool T2 instead of tool T1.
[0055] In this way, the priority of replacing the tool T3 for which there is no substitutable tool is higher than the priority of replacing the tool T1 for which there is a substitutable tool. Therefore, the machine tool 100 determines the priority of the tool to be collected depending on the presence or absence of a substitutable tool.
[0056] More specifically, first, the control unit 50 of the machine tool 100 acquires tool information on each tool held in the magazine 150. The tool information specifies at least the type of each tool held in the magazine 150 and the state of each tool. The state includes, for example, the normal state and the abnormal state described above. Next, the control unit 50 determines, as a recovery candidate, a tool in an abnormal state in which a tool of the same type in a normal state does not exist in the magazine 150, based on the acquired tool information. As a result, the control unit 50 prioritizes the tool T3 for which no substitutable tool exists as a recovery candidate over the tool T1 for which a substitutable tool exists. Thereafter, the control unit 50 executes a predetermined process on the recovery candidate tool T3. The details of the process will be described later.
[0057] Through the above processing, the machine tool 100 can more appropriately determine the priority of the tool to be recovered according to the presence or absence of replaceable tools. Thereby, the machine tool 100 can avoid the stoppage of work processing. Alternatively, even if the work processing has stopped, the machine tool 100 can resume the work processing earlier.
[0058] <D. Functional Configuration of Machine Tool 100> Next, with reference to FIGS. 4 to 7, the functional configuration of the machine tool 100 will be described. FIG. 4 is a diagram showing an example of the functional configuration of the machine tool 100.
[0059] As shown in FIG. 4, the control unit 50 of the machine tool 100 includes, as functional components, a monitoring unit 52, a determination unit 54, and an execution unit 56. These components will be described in order below.
[0060] Note that the arrangement of each functional component is arbitrary. Part or all of the functional components shown in FIG. 4 may be implemented in the above-described CPU unit 200 (see FIG. 2), may be implemented in the above-described CNC unit 300 (see FIG. 2), or may be implemented in the above-described operation panel 400 (see FIG. 1). As an example, the monitoring unit 52 is implemented in the CNC 300. Each of the determination unit 54 and the execution unit 56 is implemented, for example, in the CPU unit 200 or the operation panel 400. As another example, part of the functional components shown in FIG. 4 may be implemented in an external device such as a server.
[0061] (D1. Monitoring Unit 52) First, with reference to FIG. 5, the function of the monitoring unit 52 shown in FIG. 4 will be described.
[0062] The monitoring unit 52 monitors the state of each tool stored in the machine tool 100. The state of each tool is managed, for example, in the tool information 224 shown in FIG. 5. FIG. 5 is a diagram showing an example of the data structure of the tool information 224.
[0063] The tool information 224 associates, for each pot number in the magazine 150, the identification information of the tool, the type of the tool, the state of the tool, and the remaining life of the tool.
[0064] The pot number defined in the tool information 224 is information for uniquely identifying a storage location in the magazine 150. Typically, the pot number defined in the tool information 224 is assigned in advance to each pot.
[0065] The tool identification information defined in the tool information 224 is information for uniquely identifying a tool. The identification information is, for example, assigned in advance by a setting operation by a user. The identification information may be indicated by a tool number such as an ID or may be indicated by a tool name.
[0066] The tool type defined in the tool information 224 is information for uniquely identifying the type of tool. The tool type is, for example, assigned in advance by a setting operation by a user. The tool type may be indicated by a type number such as an ID or a type name.
[0067] The monitoring unit 52 monitors the attachment and detachment of tools to and from the magazine 150 by the worker, and sequentially updates the tool information 224. More specifically, the worker attaches the tool to be attached to the magazine 150. A barcode or QR code (registered trademark) reader (not shown) is provided near the position where the tool is to be attached, and the reader reads the barcode or QR code attached to the tool. This allows the identification information and the type of the tool to be attached to be read. The monitoring unit 52 writes the read tool information and the read tool type to the tool information 224 after associating them with the pot number of the place where the tool is attached.
[0068] The tool states defined in the tool information 224 include, for example, the above-mentioned normal state and the above-mentioned abnormal state. The abnormal states include, for example, a "damaged state" indicating that the tool is damaged, a "life-ending state" indicating that the tool's life has expired, and a "life warning state" indicating that the tool's life has not expired and the remaining tool life is less than a predetermined threshold value.
[0069] Whether or not the tool is in a "damaged state" is detected, for example, by a damage sensor provided in machine tool 100. As one example, the damage sensor includes a pressure sensor provided on spindle 170 in machine tool 100. The pressure sensor detects the force applied to spindle 170 during machining of a workpiece. Monitoring unit 52 monitors the output value of the pressure sensor, and determines that excessive force has been applied to the tool based on the output value exceeding a predetermined value. When monitoring unit 52 determines that excessive force has been applied to the tool, it determines that there is a possibility that the tool has been bent, and changes the state of the tool to a "damaged state."
[0070] As another example, the damage sensor includes a measurement sensor for measuring the outer shape of a tool. The measurement sensor is, for example, a distance sensor, a touch sensor, or other sensor capable of detecting the outer shape of a tool. As an example, an example of detecting damage to a tool using a distance sensor will be described. The machine tool 100 rotates a tool attached to the spindle 170 in front of the distance sensor to obtain time series data representing the outer shape of the tool from the distance sensor. The monitoring unit 52 calculates the difference between the time series data and a predetermined normal value, and determines that the tool is chipped when the absolute value of the difference result exceeds a predetermined value. When the monitoring unit 52 determines that the tool is chipped, it changes the state of the tool to "damaged state."
[0071] As another example, the damage sensor includes a camera for photographing a tool in machine tool 100. Monitoring unit 52 determines whether or not the tool is damaged by performing predetermined image processing on the image obtained from the camera. When monitoring unit 52 determines that the tool is damaged, it changes the state of the tool to "damaged state."
[0072] As an example, whether or not a damaged tool is captured in an image is recognized using a trained model. The trained model is generated in advance by a learning process using a training dataset. The training dataset includes a plurality of training images in which a tool is captured. Each training image is associated with a label indicating whether or not a normal tool is captured (or a label indicating a type of damage). The internal parameters of the trained model are optimized in advance by a learning process using such a training dataset.
[0073] A variety of machine learning algorithms can be used as a learning method for generating a trained model, including, for example, deep learning, convolutional neural network (CNN), full convolutional neural network (FCN), and support vector machine.
[0074] The monitoring unit 52 shifts the rectangular area on the input image obtained from the camera, and sequentially inputs partial images within the rectangular area to the trained model. As a result, the trained model outputs the probability that a damaged tool is shown in the input partial image. The monitoring unit 52 determines that a damaged tool is shown in a partial image where the probability exceeds a predetermined value, and changes the state of the tool to "damaged state."
[0075] The "life end state" and the "life warning state" are determined, for example, based on machining program 322 of machine tool 100. As a more specific process, monitoring unit 52 monitors machining program 322 and determines whether each tool is being used for machining. For tools in use, monitoring unit 52 counts down the remaining life indicated in tool information 224. The remaining life of a new tool is determined in advance for each tool.
[0076] The term "remaining life" here means the amount of a tool that can be used until the end of its life. The term "amount" is a concept that includes time, distance, and number of times. In other words, the "remaining amount of a tool that can be used" is a concept that includes the remaining time that a tool can be used until the end of its tool life, the remaining distance that a tool can be moved until the end of its tool life, and the remaining number of times that a tool can be used until the end of its tool life.
[0077] An example of a method for monitoring the remaining life of a tool will be described. The machining program 322 of the machine tool 100 is specified in G-code, and includes a tool exchange command for specifying a tool to be attached to the spindle 170, and a drive command for rotating / feeding the spindle 170 and the tool. The monitoring unit 52 specifies the type of tool used to machine the workpiece based on the tool exchange command specified in the machining program 322. Next, the monitoring unit 52 starts counting down the remaining life of the tool based on the execution of a drive command specified in the machining program 322. Next, the monitoring unit 52 stops counting down the remaining life of the tool based on the execution of a stop command or a command in the final line specified in the machining program 322. In this way, the monitoring unit 52 monitors the remaining life of each tool in the tool information 224.
[0078] When the remaining life of the tool falls below a predetermined threshold, the monitoring unit 52 changes the state of the tool from "normal state" to "life warning state" in the tool information 224. In addition, when the remaining life of the tool becomes zero, the monitoring unit 52 changes the state of the tool from "life warning state" to "life expired state" in the tool information 224.
[0079] (D2.Decision part 54) Next, the function of the determination unit 54 shown in FIG. 4 will be described with reference to FIG.
[0080] The determining unit 54 determines a tool to be withdrawn from among the tools held in the magazine 150 depending on the presence or absence of a substitutable tool.
[0081] For ease of explanation, hereinafter, a tool in an abnormal state when another tool of the same type in a normal state is present in the magazine 150 is also referred to as a "replaceable tool in an abnormal state," and a tool when no other tool of the same type in a normal state is present in the magazine 150 is also referred to as a "non-replaceable tool in an abnormal state." The abnormal states include the above-mentioned "damaged state," the above-mentioned "life end state," and the above-mentioned "life warning state."
[0082] As an example, the determination unit 54 determines the priority of the tools that are candidates for collection in accordance with the collection rule 226 shown in Fig. 6. Fig. 6 is a diagram showing an example of the collection rule 226.
[0083] More specifically, the determination unit 54 determines an irreplaceable abnormal tool as a disposal candidate with a higher priority than a replaceable abnormal tool. In this way, an irreplaceable abnormal tool is determined as a disposal candidate with a higher priority.
[0084] When there are a plurality of irreplaceable abnormal tools, the determination unit 54 determines the priority of the tools to be collected according to the tool states.
[0085] More specifically, a damaged tool cannot be used to machine a workpiece. On the other hand, a tool that is past its lifespan is not recommended for use, but can still be used for machining. Therefore, it is preferable that a damaged tool be replaced with a higher priority than a tool that is past its lifespan. In view of this, the determination unit 54 determines irreplaceable damaged tools as recovery candidates with a higher priority than irreplaceable tools that are past their lifespan.
[0086] In addition, since a tool in the end of its life state needs to be replaced more quickly than a tool in the life warning state, the determination unit 54 determines a tool in the end of its life state that is irreplaceable as a candidate for collection with a higher priority than a tool in the life warning state that is irreplaceable.
[0087] Preferably, the determination unit 54 also determines the priority of the disposal candidate for a replaceable abnormal tool. As an example, the determination unit 54 determines a replaceable damaged tool as a disposal candidate with a higher priority than a replaceable end-of-life tool. The determination unit 54 also determines a replaceable end-of-life tool as a disposal candidate with a higher priority than a replaceable life warning tool.
[0088] (D3. Executive Department 56) Next, the function of the execution unit 56 shown in Fig. 4 will be described with reference to Fig. 7. The execution unit 56 executes a predetermined process on the tool candidate for collection determined by the determination unit 54.
[0089] As an example, the execution unit 56 controls the above-mentioned drive unit 110 (see FIG. 2) to move the tool candidate for collection to a predetermined position. The control process is executed, for example, based on receipt of a collection operation by a user. The collection operation is received, for example, by the above-mentioned operation panel 400 (see FIG. 1).
[0090] 7 is a diagram showing an operation screen 410 of the pendant 400. The operation screen 410 is displayed on the display 405 of the pendant 400, for example.
[0091] 7, the operation screen 410 includes a display field 430, an automatic call button 440, and a selective call button 441. In the display field 430, a part or all of the above-mentioned tool information 224 (see FIG. 5) is displayed.
[0092] The automatic call button 440 is a button for calling the tool of the collection candidate determined by the above-described determination unit 54. More specifically, based on the fact that the automatic call button 440 on the operation screen 410 has been pressed, the execution unit 56 identifies the tool with the highest collection priority among the tools of the collection candidate determined by the determination unit 54. Next, the execution unit 56 controls the above-described drive unit 110 (see FIG. 2) and drives the identified tool to a predetermined position. Thereafter, the operator can replace the tool moved to the predetermined position with a tool in a normal state.
[0093] Subsequently, the execution unit 56 controls the above-described drive unit 110 (see FIG. 2) and moves the tool with the second highest collection priority among the tools of the collection candidate to a predetermined position. Thereafter, the operator replaces the tool moved to the predetermined position with a tool in a normal state.
[0094] In this way, the execution unit 56 moves the tools of the collection candidate determined by the determination unit 54 to the predetermined positions in order of priority. As a result, the operator can preferentially replace the abnormal tool for which there is no replaceable tool.
[0095] The selective call button 441 is a button for calling a specific tool. The user can call the selected tool from the magazine 150 by selecting the tool information displayed in the display column 430 and then pressing the selective call button 441.
[0096] In the above description, an example in which the tools of the collection candidate determined by the determination unit 54 are driven to the predetermined positions in order of priority has been described. However, the tool driven to the predetermined position may be only the tool with the highest collection priority, or may be only a predetermined number of tools with higher collection priority.
[0097] <E. Modification Example> Next, with reference to FIG. 8, a modification example of the above-described operation screen 410 will be described. FIG. 8 is a diagram showing an operation screen 410A according to the modification example.
[0098] The operation screen 410A shown in FIG. 8 is different from the operation screen 410 shown in FIG. 7 above in that it further includes a display column 431 and an extraction button 442. Regarding other points, since they are the same as those of the operation screen 410 shown in FIG. 7, the description thereof will not be repeated below.
[0099] In this example, based on the user pressing the extraction button 442, the execution unit 56 displays on the display 405 (display unit) information regarding the tools that are candidates for collection as determined by the determination unit 54. Such information is, for example, displayed in the display column 431 of the operation screen 410A. The information displayed in the display column 431 includes, for example, at least one of the pot number in the magazine 150, tool identification information, tool type, tool status, and remaining life of the tool.
[0100] Preferably, the execution unit 56 displays in the display column 431 information regarding the tools that are candidates for collection as determined by the determination unit 54 in the order of the priority of collection. The tool information displayed in the display column 431 is configured to be selectable. The user can call the selected tool from the magazine 150 by selecting the tool information displayed in the display column 431 and then pressing the selection call button 441. Thereby, the user can perform the tool replacement work after confirming the tool information with a higher priority of collection.
[0101] Note that the execution unit 56 may display only one piece of tool information with the highest priority of collection in the display column 431. Alternatively, the execution unit 56 may display a predetermined number of pieces of tool information with a higher priority of collection in the display column 431.
[0102] <Hardware Configuration of the F.CPU Unit 200> Referring to FIG. 9, the hardware configuration of the CPU unit 200 shown in FIG. 2 above will be described. FIG. 9 is a diagram showing an example of the hardware configuration of the CPU unit 200.
[0103] The CPU unit 200 includes a control circuit 201, a read only memory (ROM) 202, a random access memory (RAM) 203, a communication interface 204, and an auxiliary storage device 220. These components are connected to an internal bus 209.
[0104] The control circuit 201 is configured, for example, by at least one integrated circuit. The integrated circuit may be configured, for example, by at least one CPU, at least one GPU (Graphics Processing Unit), at least one ASIC (Application Specific Integrated Circuit), at least one FPGA (Field Programmable Gate Array), or a combination thereof.
[0105] The control circuit 201 controls the operation of the CPU unit 200 by executing various programs such as a control program 222. The control program 222 is a program for implementing functions related to each functional configuration shown in Fig. 4 above. Upon receiving an execution command for the control program 222, the control circuit 201 reads the control program 222 from the auxiliary storage device 220 or the ROM 202 to the RAM 203. The RAM 203 functions as a working memory and temporarily stores various data required for the execution of the control program 222.
[0106] The communication interface 204 is an interface for performing periodic communication with an external device using a field network. The external device includes, for example, the above-mentioned motor driver 111M (see FIG. 2) and the above-mentioned ATC driver 121A (see FIG. 2). As the field network, for example, EtherCAT (registered trademark), EtherNet / IP (registered trademark), CC-Link (registered trademark), CompoNet (registered trademark), or the like is adopted.
[0107] The auxiliary storage device 220 is a storage medium such as a hard disk or a flash memory, for example. The auxiliary storage device 220 stores a control program 222, the above-described tool information 224, and the above-described recovery rules 226, etc.
[0108] Note that the storage locations of the control program 222, the tool information 224, and the recovery rules 226 are not limited to the auxiliary storage device 220, and may be stored in the storage area of the control circuit 201 (for example, cache memory), ROM 202, RAM 203, an external device (for example, a server), etc.
[0109] Also, the control program 222 may be provided incorporated into a part of an arbitrary program instead of as a single program. In this case, various processes according to the present embodiment are realized in cooperation with an arbitrary program. Even a program that does not include such a part of the module does not deviate from the gist of the control program 222 according to the present embodiment. Furthermore, part or all of the functions provided by the control program 222 may be realized by dedicated hardware. Furthermore, the CPU unit 200 may be configured in a form such as a so-called cloud service in which at least one server executes a part of the processing of the control program 222.
[0110] <Hardware Configuration of G.CNC Unit 300> Next, with reference to FIG. 10, the hardware configuration of the CNC unit 300 shown in FIG. 2 above will be described. FIG. 10 is a diagram showing an example of the hardware configuration of the CNC unit 300.
[0111] The CNC unit 300 includes a control circuit 301, a ROM 302, a RAM 303, a communication interface 304, a communication interface 305, a fieldbus controller 306, and an auxiliary storage device 320. These components are connected to an internal bus 309.
[0112] The control circuit 301 is configured, for example, by at least one integrated circuit. The integrated circuit may be configured, for example, by at least one CPU, at least one ASIC, at least one FPGA, or a combination thereof.
[0113] The control circuit 301 controls the operation of the CNC unit 300 by executing various programs such as a machining program 322. The machining program 322 is a program for realizing workpiece machining. Upon receiving an execution command for the machining program 322, the control circuit 301 reads the machining program 322 from the ROM 302 to the RAM 303. The RAM 303 functions as a working memory and temporarily stores various data required for executing the machining program 322.
[0114] A LAN, a WLAN, or Bluetooth (registered trademark) is connected to the communication interface 304. The CNC unit 300 exchanges data with an external device via the communication interface 304. The external device includes, for example, an operation panel 400 and a server (not shown).
[0115] The communication interface 305 is an interface for realizing communication with an external device. As an example, the CNC unit 300 exchanges data with the external device via the communication interface 305. The external device includes various drive units for workpiece machining (for example, the above-mentioned motor drivers 131B, 131C, 131X to 131Z, etc.).
[0116] The field bus controller 306 is a communication unit for implementing communication with various units connected to the field bus, such as the CPU unit 200.
[0117] The auxiliary storage device 320 is a storage medium such as a hard disk or a flash memory, for example. The auxiliary storage device 320 stores a processing program 322 and the like. Note that the storage location of the processing program 322 is not limited to the auxiliary storage device 320, and it may be stored in a storage area of the control circuit 301 (for example, a cache memory), the ROM 302, the RAM 303, an external device (for example, a server), or the like.
[0118] <H. Hardware Configuration of the Operation Panel 400> Next, with reference to FIG. 11, the hardware configuration of the operation panel 400 shown in FIG. 2 described above will be described. FIG. 11 is a diagram showing an example of the hardware configuration of the operation panel 400.
[0119] The operation panel 400 includes a control circuit 401, a ROM (Read Only Memory) 402, a RAM (Random Access Memory) 403, a communication interface 404, a display 405, operation keys 406, and an auxiliary storage device 420. These components are connected to an internal bus 409.
[0120] The control circuit 401 is constituted by, for example, at least one integrated circuit. The integrated circuit can be constituted by, for example, at least one CPU, at least one GPU, at least one ASIC, at least one FPGA, or a combination thereof.
[0121] The control circuit 401 controls the operation of the operation panel 400 by executing various programs such as a control program 422. The control program 422 defines instructions for controlling the operation panel 400. The control circuit 401 reads the control program 422 from the auxiliary storage device 420 or the ROM 402 into the RAM 403 based on receiving an execution instruction of the control program 422. The RAM 403 functions as a working memory and temporarily stores various data necessary for the execution of the control program 422.
[0122] The communication interface 404 is a communication unit for realizing communication using a LAN (Local Area Network) cable, WLAN, Bluetooth (registered trademark), etc. As an example, the operation panel 400 realizes communication with an external device such as the above-mentioned CNC unit 300 via the communication interface 404.
[0123] Display 405 is, for example, a liquid crystal display, an organic EL display, or other display device. Display 405 sends image signals for displaying images to display 405 in accordance with instructions from control circuit 401 or the like. Display 405 is, for example, configured with a touch panel, and accepts various operations for machine tool 100 by touch operations.
[0124] The operation keys 406 are composed of a plurality of hardware keys, and accept various user operations on the operation panel 400. A signal corresponding to a pressed key is output to the control circuit 401.
[0125] The auxiliary storage device 420 is, for example, a storage medium such as a hard disk or a flash memory. The auxiliary storage device 420 stores a control program 422 and the like. The storage location of the control program 422 is not limited to the auxiliary storage device 420, and may be stored in a storage area (for example, a cache memory) of the control circuit 401, the ROM 402, the RAM 403, an external device (for example, a server), or the like.
[0126] <I.フローチャート> Next, a control structure of machine tool 100 will be described with reference to Fig. 12. Fig. 12 is a flowchart showing a part of the processing executed by control unit 50 of machine tool 100.
[0127] 12 is realized by control unit 50 executing the above-mentioned control program 222 (see FIG. 9) or the like. In another aspect, a part or all of the process may be executed by circuit elements or other hardware.
[0128] In step S110, the control unit 50 judges whether or not an operation to extract a tool as a candidate for collection from among the tools held in the magazine 150 has been accepted. The extraction operation is accepted, for example, based on pressing the above-mentioned extraction button 442 (see FIG. 8). If the control unit 50 judges that an operation to extract a tool as a candidate for collection has been accepted (YES in step S110), it switches control to step S112. If not (NO in step S110), the control unit 50 executes the process of step S110 again.
[0129] In step S112, the control unit 50 acquires the above-mentioned tool information 224 (see FIG. 5). As described above, the tool information 224 specifies information about each tool held in the magazine 150.
[0130] In step S114, the control unit 50 functions as the above-mentioned determination unit 54 (see FIG. 4) and determines a tool as a candidate for collection from among the tools held in the magazine 150, based on the tool information 224 acquired in step S112. The method of determining the tool as a candidate for collection is as described above, and therefore the description thereof will not be repeated.
[0131] In step S116, the control unit 50 functions as the above-mentioned execution unit 56 (see FIG. 4) and displays the tool information related to the tool candidate for withdrawal determined in step S114 in the display field 431 of the above-mentioned operation screen 410A.
[0132] In step S120, the control unit 50 judges whether or not a call operation for a tool that is a candidate for collection has been accepted. As an example, the control unit 50 judges that a call operation has been accepted based on the fact that one or more pieces of tool information displayed in the display field 431 have been selected and the selection call button 441 on the operation screen 410A has been pressed. If the control unit 50 judges that a call operation for a tool that is a candidate for collection has been accepted (YES in step S120), it switches control to step S122. If not (NO in step S120), the control unit 50 switches control to step S130.
[0133] In step S122, the control unit 50 functions as the above-mentioned execution unit 56 (see FIG. 4) and moves the tool candidate for collection selected in the display field 431 of the above-mentioned operation screen 410A to a predetermined position. After that, the control unit 50 ends the process shown in FIG.
[0134] In step S130, the control unit 50 judges whether or not a cancel operation has been accepted. The cancel operation is accepted, for example, when a cancel button (not shown) provided on the above-mentioned operation screen 410A is pressed. Alternatively, the cancel operation is accepted when a button (not shown) for closing the above-mentioned operation screen 410A is pressed. If the control unit 50 judges that a cancel operation has been accepted (YES in step S130), it ends the process shown in FIG. 12. If not (NO in step S130), the control unit 50 returns the control to step S120.
[0135] <J.まとめ> In this manner, the machine tool 100 acquires tool information 224 relating to each tool held in the magazine 150. The tool information 224 defines at least the type of each tool held in the magazine 150 and the state of each tool. The state includes, for example, the normal state and the abnormal state described above. Next, the control unit 50 determines, as a recovery candidate, a tool in an abnormal state for which a tool of the same type in a normal state does not exist in the magazine 150, based on the acquired tool information 224. As a result, the control unit 50 prioritizes a tool for which no substitutable tool exists as a recovery candidate over a tool for which a substitutable tool exists.
[0136] This allows machine tool 100 to more appropriately determine the priority of tools to be collected depending on the presence or absence of substitutable tools. As a result, machine tool 100 can avoid stopping the machining of the workpiece. Or, even if the machining of the workpiece stops, machine tool 100 can resume the machining of the workpiece more quickly.
[0137] The embodiments disclosed herein should be considered to be illustrative and not restrictive in all respects. The scope of the present invention is defined by the claims, not the above description, and is intended to include all modifications within the meaning and scope of the claims. [Explanation of symbols]
[0138] 40A tool storage section, 40B processing machine body, 50 control section, 52 monitoring section, 54 decision section, 56 execution section, 100 machine tool, 110 drive section, 111M motor driver, 112M motor, 120 drive section, 121A ATC driver, 122A motor, 122B motor, 130 drive section, 131B motor driver, 131C motor driver, 131X motor driver, 131Y motor driver, 131Z motor driver, 132B motor, 132C motor, 132X motor, 132Y motor, 132Z motor, 150 magazine, 165 central axis, 166 arm, 166A tool gripping section, 166B tool gripping section, 170 spindle, 200 CPU unit, 201 control circuit, 202 ROM, 203 RAM, 204 communication interface, 209 internal bus, 220 auxiliary storage device, 222 control program, 224 tool information, 226 retrieval rule, 300 CNC unit, 301 control circuit, 302 ROM, 303 RAM, 304 communication interface, 305 communication interface, 306 field bus controller, 309 internal bus, 320 auxiliary storage device, 322 machining program, 400 operation panel, 401 control circuit, 402 ROM, 403 RAM, 404 communication interface, 405 display, 406 operation key, 409 internal bus, 410 operation screen, 410A operation screen, 420 auxiliary storage device, 422 control program, 430 display column, 431 display column, 440 automatic call button, 441 selective call button, 442 extraction button.
Claims
1. A machine tool, A magazine capable of holding multiple tools; a processing machine body for processing a workpiece using at least one tool among the plurality of tools; A control unit for controlling the machine tool; A display unit; a drive unit for driving the magazine, The control unit is execute a process of acquiring tool information regarding the plurality of tools, the tool information defining a tool type and a tool state for each of the plurality of tools, the state including an abnormal state and a normal state, the abnormal state including a damage state indicating that the tool is damaged, an end-of-life state indicating that the tool life has expired, and a life warning state indicating that the tool life has not expired and the remaining tool life is less than a predetermined threshold value; The control unit further includes: determining, based on the tool information, a tool in the abnormal state in which a tool of the same type in the normal state is not present in the magazine, as a candidate for recovery; and executing a predetermined process for the tool candidate for collection; The predetermined process includes: A process of displaying a list of tool information related to the plurality of tools that are candidates for collection on the display unit; A process of receiving a selection regarding the plurality of tools that are candidates for collection and that are displayed on the display unit; and controlling the drive unit to move the selected tool that is a candidate for disposal to a predetermined position.
2. A machine tool as described in claim 1, wherein the list display is configured to display the multiple tools that are candidates for recovery in order of the highest priority for recovery.
3. A machine tool as described in claim 2, wherein the list display is further configured to enable comparison of tool information regarding a plurality of tools that are candidates for recovery with tool information regarding tools stored in the magazine.
4. A machine tool according to any one of claims 1 to 3, wherein the determination process determines, as the recovery candidate, a tool in the damaged state for which a tool of the same type in the normal state is not present in the magazine, in preference to a tool in the expired state for which a tool of the same type in the normal state is not present in the magazine.
5. 5. The machine tool according to claim 4, wherein in the determination process, a tool in the expired state for which no tool of the same type in the normal state is present in the magazine is determined as the candidate for removal with priority over a tool in the life warning state for which no tool of the same type in the normal state is present in the magazine.
6. A machine tool according to any one of claims 1 to 3, wherein in the determination process, a tool in an abnormal state for which a tool of the same type in the normal state is not present in the magazine is determined as the candidate for removal with priority over a tool in an abnormal state for which a tool of the same type in the normal state is present in the magazine.
7. A method for controlling a machine tool, comprising the steps of: The machine tool comprises: A magazine capable of holding multiple tools; a processing machine body for processing a workpiece using at least one tool among the plurality of tools; A display unit; a drive unit for driving the magazine, The control method includes: acquiring tool information about the plurality of tools, the tool information defining a tool type and a tool state for each of the plurality of tools, the state including an abnormal state and a normal state, the abnormal state including a damage state indicating that the tool is damaged, an end-of-life state indicating that the tool life has expired, and a life warning state indicating that the tool life has not expired and the remaining tool life is less than a predetermined threshold value; The control method further comprises: determining, based on the tool information, a tool in an abnormal state in which a tool of the same type in a normal state is not present in the magazine, as a candidate for removal; executing a predetermined process on the tool candidates for recycling; The predetermined process includes: A process of displaying a list of tool information related to the plurality of tools that are candidates for collection on the display unit; A process of receiving a selection regarding the plurality of tools that are candidates for collection and that are displayed on the display unit; The control method includes a process of controlling the drive unit to move the selected tool that is a candidate for disposal to a predetermined position.
8. A control program for a machine tool, comprising: The machine tool comprises: A magazine capable of holding multiple tools; a processing machine body for processing a workpiece using at least one tool among the plurality of tools; A display unit; a drive unit for driving the magazine, The control program causes the machine tool to executing a step of acquiring tool information regarding the plurality of tools, the tool information defining a tool type and a tool state for each of the plurality of tools, the state including an abnormal state and a normal state, the abnormal state including a damage state indicating that the tool is damaged, an end-of-life state indicating that the tool life has expired, and a life warning state indicating that the tool life has not expired and the remaining tool life is less than a predetermined threshold value; The control program further causes the machine tool to determining, based on the tool information, a tool in an abnormal state in which a tool of the same type in a normal state is not present in the magazine, as a candidate for removal; and executing a predetermined process for the tool candidate for disposal, The predetermined process includes: A process of displaying a list of tool information related to the plurality of tools that are candidates for collection on the display unit; A process of receiving a selection regarding the plurality of tools that are candidates for collection and that are displayed on the display unit; and controlling the drive unit to move the selected tool candidate for disposal to a predetermined position.
Citation Information
Patent Citations
Numeric controller
JP1986178151A
Programming method in interactive numerical value control device
JP1990036046A
Tool control system
JP1994043920A
Method for selecting tool, and machine tool using it
JP1998100033A
Tool magazine device
JP2000084775A
