Method, device and processing system for solving tool magazine position error
By automatically detecting and controlling the tool changing action during the tool change phase, the problem of low efficiency in correcting tool magazine position errors in existing technologies has been solved, achieving a more efficient automated error correction process and ensuring personnel safety.
Patent Information
- Application Number
- CN202111447707.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-11-30
- Publication Date
- 2024-09-03
- Estimated Expiration
- 2041-11-30
AI Technical Summary
Existing methods for troubleshooting tool magazine position errors are inefficient and require manual operation, which is slow.
By detecting the tool changing stage during the tool change process, and upon receiving an error resolution command, the tool magazine automatically controls the tool changer to execute the target tool changing action in the order of the tool changing stages, including the first target tool changing action and the second target tool changing action, thereby clearing the position error alarm.
It improves the efficiency of tool magazine position error resolution, ensures personnel safety, and avoids the tedious process of manual operation.
Smart Images

Figure CN114137906B
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of tool magazine control, and in particular to a method, device, computer-readable storage medium, processor and processing system for troubleshooting tool magazine position errors. Background Art
[0002] Most of the existing machining centers use disc-type tool magazines. The traditional way to fix tool magazine errors is to manually rotate the large nut of the mechanical tool arm to twist it back to its original position. This method of fixing tool magazine errors is very slow.
[0003] The above information disclosed in the background technology section is only used to enhance the understanding of the background technology of the technology described in this article. Therefore, the background technology may contain certain information that does not form the prior art known in this country for those skilled in the art. Summary of the invention
[0004] The main purpose of the present application is to provide a method, device, computer-readable storage medium, processor and processing system for solving tool magazine position errors, so as to solve the problem of low efficiency of the method for solving tool magazine position errors in the prior art.
[0005] According to one aspect of an embodiment of the present invention, a method for troubleshooting a tool magazine position error is provided, comprising: upon receiving an error troubleshooting instruction, detecting the tool change stage of the tool change process in which the tool magazine is located to obtain a target tool change stage, the tool change process comprising a plurality of tool change stages arranged in a sequence of execution, the tool change stages corresponding one-to-one to tool change actions, and the error troubleshooting instruction being triggered by a position error alarm of the tool magazine; controlling the tool magazine to execute a first target tool change action, and in a case where the tool change process also includes the tool change stage after the target tool change stage, controlling the tool magazine to execute a second target tool change action in the order of the tool change stages after executing the first target tool change action, the first target tool change action being the tool change action corresponding to the target tool change stage, and the second target tool change action being the tool change actions of all the tool change stages after the target tool change stage.
[0006] Optionally, detecting the tool changing stage of the tool changing process in which the tool magazine is located to obtain a target tool changing stage includes: detecting in sequence in the order of execution whether the tool changing actions corresponding to each of the tool changing stages are completed until a first target tool changing action is determined, the first target tool changing action being the first uncompleted tool changing action detected; and determining that the tool changing stage corresponding to the first target tool changing action is the target tool changing stage.
[0007] Optionally, the tool changing process includes a first tool changing stage, a second tool changing stage and a third tool changing stage arranged in an execution order, the tool changing action corresponding to the first tool changing stage is a first tool changing action, the tool changing action corresponding to the second tool changing stage is a second tool changing action, and the tool changing action corresponding to the third tool changing stage is a third tool changing action, and the tool changing action corresponding to each tool changing stage is detected in order of execution to see whether the tool changing actions corresponding to each tool changing stage are completed until the first target tool changing action is determined, including: when it is detected that the first tool changing action is not completed, determining that the first tool changing action is the first target tool changing action, and the second tool changing action and the third tool changing action are the second target tool changing action; when the first tool changing action is completed and the second tool changing action is not completed, determining that the second tool changing action is the first target tool changing action, and the third tool changing action is the second target tool changing action; when the first tool changing action is completed, the second tool changing action is completed and the third tool changing action is not completed, determining that the third tool changing action is the first target tool changing action and there is no second target tool changing action.
[0008] Optionally, the tool changing process includes 8 tool changing stages arranged in a sequence of execution, and the 8 tool changing stages correspond to the tool changing actions, namely, the first tool changing action, the second tool changing action, the third tool changing action, the fourth tool changing action, the fifth tool changing action, the sixth tool changing action, the seventh tool changing action and the eighth tool changing action, the first tool changing action is that the tool magazine spindle moves to the first tool changing position, the second tool changing action is that the tool sleeve rotates to the second tool changing position, the tool sleeve is used to load the tool, the third tool changing action is that the tool arm rotates to a first predetermined angle so that the tool of the tool sleeve and the tool of the tool magazine spindle are fixed on the tool arm, the fourth tool changing action is that the tool magazine spindle releases the tool, the fifth tool changing action is that the tool arm rotates to a second predetermined angle so that the tool of the tool sleeve and the tool of the tool magazine spindle exchange positions, the sixth tool changing action is that the tool magazine spindle clamps the tool, the seventh tool changing action is that the tool arm rotates to the starting position of the tool arm, and the eighth tool changing action is that the tool sleeve rotates to the starting position of the tool sleeve.
[0009] Optionally, the tool magazine is a disc-type tool magazine or a chain-type tool magazine.
[0010] Optionally, when an error correction instruction is received, the tool changing stage of the tool changing process in which the tool magazine is located is detected, and before the target tool changing stage is obtained, the method includes: when the tool magazine is reset, urgently stopped or powered off during the tool changing process, triggering an error alarm, generating the error correction instruction in response to a predetermined operation acting on the error correction button.
[0011] According to another aspect of an embodiment of the present invention, a device for troubleshooting a tool magazine position error is provided, comprising: a detection unit, for detecting, upon receiving an error troubleshooting instruction, the tool changing stage of the tool changing process in which the tool magazine is located, and obtaining a target tool changing stage, wherein the tool changing process comprises a plurality of tool changing stages arranged in a sequence of execution, the tool changing stages corresponding one-to-one to tool changing actions, and the error troubleshooting instruction is triggered by a position error alarm of the tool magazine; a control unit, for controlling the tool magazine to execute a first target tool changing action, and when the tool changing process also includes the tool changing stage after the target tool changing stage, controlling the tool magazine to execute a second target tool changing action in the order of the tool changing stages after executing the first target tool changing action, wherein the first target tool changing action is the tool changing action corresponding to the target tool changing stage, and the second target tool changing action is the tool changing action of all the tool changing stages after the target tool changing stage.
[0012] According to yet another aspect of the embodiments of the present invention, a computer-readable storage medium is provided, wherein the computer-readable storage medium includes a stored program, wherein the program executes any one of the methods described.
[0013] According to yet another aspect of an embodiment of the present invention, a processor is provided, wherein the processor is used to run a program, wherein any one of the methods is executed when the program is run.
[0014] According to another aspect of the embodiments of the present invention, there is further provided a machining system, including a tool magazine and a device for resolving tool magazine position errors, wherein the device for resolving tool magazine position errors is used to execute any one of the methods described.
[0015] In an embodiment of the present invention, in the error correction method for the tool magazine position error, first, when a correction instruction is received, the tool changing stage of the tool changing process in which the tool magazine is located is detected to obtain a target tool changing stage, the tool changing process includes a plurality of the tool changing stages arranged in an order of execution, the tool changing stages correspond one-to-one to the tool changing actions, and the correction instruction is triggered by the position error of the tool magazine; then, the tool magazine is controlled to execute a first target tool changing action and a second target tool changing action in the order of the tool changing stages, the first target tool changing action being the tool changing action corresponding to the target tool changing stage, and the second target tool changing action being the tool changing actions of all the tool changing stages after the target tool changing stage. The method detects the tool changing stage when the error correction instruction is received to obtain the target tool changing stage, and then controls the tool magazine to execute the tool changing action corresponding to the target tool changing stage and the tool changing action corresponding to the tool changing stage after the target tool changing stage, so as to complete the tool changing and release the tool magazine position error alarm. There is no need to manually open the guard cover on the top of the machine tool tool magazine, use a wrench to twist the tool arm to the origin little by little, and then turn on the tool magazine debugging mode to restore the tool sleeve, which improves efficiency, ensures personnel safety, and solves the problem of low efficiency of the tool magazine position error correction method in the prior art. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] The drawings constituting part of the present application are used to provide a further understanding of the present application. The exemplary embodiments and descriptions of the present application are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:
[0017] Figure 1 A flow chart showing a method for resolving a tool magazine position error according to an embodiment of the present application is shown;
[0018] Figure 2 A schematic diagram of a device for resolving tool magazine position errors according to an embodiment of the present application is shown. DETAILED DESCRIPTION
[0019] It should be noted that, in the absence of conflict, the embodiments and features in the embodiments of the present application can be combined with each other. The present application will be described in detail below with reference to the accompanying drawings and in combination with the embodiments.
[0020] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present application.
[0021] It should be noted that the terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequential order. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present application described here. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0022] It should be understood that when an element (such as a layer, film, region, or substrate) is described as being "on" another element, the element may be directly on the other element, or there may be intermediate elements. Moreover, in the specification and claims, when an element is described as being "connected" to another element, the element may be "directly connected" to the other element, or "connected" to the other element through a third element.
[0023] As mentioned in the background technology, the method for troubleshooting tool magazine position errors in the prior art is inefficient. In order to solve the above problem, in a typical embodiment of the present application, a method, device, computer-readable storage medium, processor and processing system for troubleshooting tool magazine position errors are provided.
[0024] According to an embodiment of the present application, a method for resolving a tool magazine position error is provided.
[0025] Figure 1 1 is a flow chart of a method for solving a tool magazine position error according to an embodiment of the present application. Figure 1 As shown, the method comprises the following steps:
[0026] Step S101, in the case of receiving an error correction instruction, detecting the tool change stage of the tool change process in which the tool magazine is located, and obtaining a target tool change stage, wherein the tool change process includes a plurality of tool change stages arranged in a sequence of execution, and the tool change stages correspond to tool change actions one by one, and the error correction instruction is triggered by a position error alarm of the tool magazine;
[0027] Step S102, controlling the tool magazine to execute a first target tool changing action. In the case that the tool changing process also includes the tool changing stage after the target tool changing stage, after the tool magazine executes the first target tool changing action, the tool magazine is controlled to execute a second target tool changing action in the order of the tool changing stages. The first target tool changing action is the tool changing action corresponding to the target tool changing stage, and the second target tool changing action is the tool changing action of all the tool changing stages after the target tool changing stage.
[0028] In the above-mentioned method for troubleshooting the tool magazine position error, first, upon receiving the troubleshooting instruction, the tool changing stage of the tool changing process in which the tool magazine is located is detected to obtain the target tool changing stage, the above-mentioned tool changing process includes the above-mentioned multiple tool changing stages arranged in order of execution, the above-mentioned tool changing stages correspond one-to-one to the tool changing actions, and the above-mentioned troubleshooting instruction is triggered by the position error of the above-mentioned tool magazine; then, the above-mentioned tool magazine is controlled to execute the first target tool changing action and the second target tool changing action in the order of the above-mentioned tool changing stages, the above-mentioned first target tool changing action is the above-mentioned tool changing action corresponding to the above-mentioned target tool changing stage, and the above-mentioned second target tool changing action is the above-mentioned tool changing action of all the above-mentioned tool changing stages after the above-mentioned target tool changing stage. The method detects the tool changing stage when the error correction instruction is received to obtain the target tool changing stage, and then controls the tool magazine to execute the tool changing action corresponding to the target tool changing stage and the tool changing action corresponding to the tool changing stage after the target tool changing stage, so as to complete the tool changing and release the tool magazine position error alarm. There is no need to manually open the guard cover on the top of the machine tool tool magazine, use a wrench to twist the tool arm to the origin, and then turn on the tool magazine debugging mode to restore the tool sleeve, which improves efficiency, ensures personnel safety, and solves the problem of low efficiency of the tool magazine position error correction method in the prior art.
[0029] It should be noted that the steps shown in the flowcharts of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and that, although a logical order is shown in the flowcharts, in some cases, the steps shown or described can be executed in an order different from that shown here.
[0030] In one embodiment of the present application, the tool changing stage of the tool changing process in which the tool magazine is located is detected to obtain the target tool changing stage, including: detecting whether the tool changing actions corresponding to the tool changing stages are completed in order of execution, until the first target tool changing action is determined, the first target tool changing action is the first uncompleted tool changing action detected; determining the tool changing stage corresponding to the first target tool changing action as the target tool changing stage. Specifically, the tool changing process of the tool magazine sequentially executes multiple tool changing actions, and the tool changing stage of the tool changing process in which the tool magazine is located is detected. It can detect whether the tool changing actions are completed in turn, and determine that the first uncompleted tool changing action detected is the first target tool changing action, and the tool changing stage corresponding to the first target tool changing action is the target tool changing stage.
[0031] In one embodiment of the present application, the tool changing process includes a first tool changing stage, a second tool changing stage and a third tool changing stage arranged in an execution order, the tool changing action corresponding to the first tool changing stage is a first tool changing action, the tool changing action corresponding to the second tool changing stage is a second tool changing action, and the tool changing action corresponding to the third tool changing stage is a third tool changing action, and the tool changing action corresponding to each of the tool changing stages is detected in order of execution to see whether the tool changing actions corresponding to the tool changing stages are completed until the first target tool changing action is determined, including: when it is detected that the first tool changing action is not completed, determining that the first tool changing action is the first target tool changing action, and the second tool changing action and the third tool changing action are the second target tool changing action; when the first tool changing action is completed and the second tool changing action is not completed, determining that the second tool changing action is the first target tool changing action, and the third tool changing action is the second target tool changing action; when the first tool changing action is completed, the second tool changing action is completed and the third tool changing action is not completed, determining that the third tool changing action is the first target tool changing action and there is no second target tool changing action. Specifically, the tool changing stage corresponding to the first unfinished tool changing action is the first target tool changing action, and the subsequent tool changing action is the second tool changing action. Therefore, when it is detected that the first tool changing action is not completed, the first tool changing action is the first target tool changing action, and the second tool changing action and the third tool changing action are the second target tool changing action. When the third tool changing action is not completed, it is determined that the third tool changing action is the first target tool changing action and there is no second target tool changing action.
[0032] In one embodiment of the present application, the tool changing process includes 8 tool changing stages arranged in a sequence of execution, and the 8 tool changing stages correspond to the tool changing actions, namely, a first tool changing action, a second tool changing action, a third tool changing action, a fourth tool changing action, a fifth tool changing action, a sixth tool changing action, a seventh tool changing action and an eighth tool changing action. The first tool changing action is that the tool magazine spindle moves to a first tool changing position, the second tool changing action is that the tool sleeve rotates to a second tool changing position, and the tool sleeve is used to load the tool. The third tool changing action is that the tool arm rotates to a first predetermined angle so that the tool of the tool sleeve and the tool of the tool magazine spindle are fixed on the tool arm. The fourth tool changing action is that the tool magazine spindle releases the tool. The fifth tool changing action is that the tool arm rotates to a second predetermined angle so that the tool of the tool sleeve and the tool of the tool magazine spindle exchange positions. The sixth tool changing action is that the tool magazine spindle clamps the tool. The seventh tool changing action is that the tool arm rotates to a starting position of the tool arm. The eighth tool changing action is that the tool sleeve rotates to a starting position of the tool sleeve. Specifically, a tool changing process of a disc-type tool magazine includes the 8 tool changing stages arranged in order of execution, corresponding to 8 tool changing actions. First, an error correction instruction is received, and the error correction function is turned on. The tool magazine spindle is moved to the first tool changing position, the tool holder is rotated to the second tool changing position, and the tool arm is rotated to the first predetermined angle in sequence, so that the tool of the tool holder and the tool of the tool magazine spindle are fixed on the tool arm, the tool magazine spindle releases the tool, and the tool arm is rotated to the second predetermined angle, so that the tool of the tool holder and the tool of the tool magazine spindle are exchanged, the tool magazine spindle clamps the tool, the tool arm is rotated to the starting position of the tool arm, and the tool holder is rotated to the starting position of the tool holder. The entire tool changing process is completed.
[0033] In one embodiment of the present application, the tool magazine is a disc tool magazine or a chain tool magazine. Specifically, the method can be applied to a disc tool magazine commonly used in a vertical machining center, and can also be applied to a chain tool magazine in a horizontal machining center, but is certainly not limited thereto and can also be applied to other tool magazines.
[0034] In one embodiment of the present application, when receiving an error correction instruction, the tool change stage of the tool change process in which the tool magazine is located is detected, and before obtaining the target tool change stage, the method includes: when the tool magazine is reset, stopped urgently, or powered off during the tool change process, triggering an error alarm, in response to a predetermined operation acting on the error correction key, generating the error correction instruction. Specifically, during processing, there are often erroneous operations, such as pressing the reset button, pressing the emergency stop button, or cutting off the air, or a sudden power failure causing the tool change to be interrupted, triggering an error alarm, and the operator operates the error correction key to generate the error correction instruction, and controls the tool magazine to perform error correction to realize the error correction function.
[0035] The embodiment of the present application also provides a tool magazine position error error solving device. It should be noted that the tool magazine position error solving device of the embodiment of the present application can be used to execute the tool magazine position error solving method provided by the embodiment of the present application. The tool magazine position error solving device provided by the embodiment of the present application is introduced below.
[0036] Figure 2 Schematic diagram of a tool magazine position error resolution device according to an embodiment of the present application. Figure 2 As shown, the device comprises:
[0037] The detection unit 10 is used to detect the tool change stage of the tool change process in which the tool magazine is located when receiving the error correction instruction, and obtain the target tool change stage, wherein the tool change process includes a plurality of the tool change stages arranged in a sequence of execution, and the tool change stages correspond to the tool change actions one by one, and the error correction instruction is triggered by the position error alarm of the tool magazine;
[0038] The control unit 20 is used to control the tool magazine to execute a first target tool changing action. In the case where the tool changing process also includes the tool changing stage after the target tool changing stage, after the tool magazine executes the first target tool changing action, the tool magazine is controlled to execute a second target tool changing action in the order of the tool changing stages. The first target tool changing action is the tool changing action corresponding to the target tool changing stage, and the second target tool changing action is the tool changing action of all the tool changing stages after the target tool changing stage.
[0039] In the above-mentioned tool magazine position error error error correction device, the detection unit, upon receiving the error correction instruction, detects the tool changing stage of the tool changing process in which the tool magazine is located, and obtains the target tool changing stage. The above-mentioned tool changing process includes the above-mentioned multiple tool changing stages arranged in order of execution, and the above-mentioned tool changing stages correspond one-to-one to the tool changing actions. The above-mentioned error correction instruction is triggered by the position error of the above-mentioned tool magazine; the control unit controls the above-mentioned tool magazine to execute the first target tool changing action and the second target tool changing action in the order of the above-mentioned tool changing stages. The above-mentioned first target tool changing action is the above-mentioned tool changing action corresponding to the above-mentioned target tool changing stage, and the above-mentioned second target tool changing action is the above-mentioned tool changing action of all the above-mentioned tool changing stages after the above-mentioned target tool changing stage. The device detects the tool changing stage when receiving the error correction instruction, obtains the target tool changing stage, and then controls the tool magazine to execute the tool changing action corresponding to the target tool changing stage and the tool changing action corresponding to the tool changing stage after the target tool changing stage, so as to complete the tool changing and release the tool magazine position error alarm. There is no need to manually open the guard cover on the top of the machine tool tool magazine, use a wrench to twist the tool arm to the origin, and then turn on the tool magazine debugging mode to restore the tool sleeve, which improves efficiency, ensures personnel safety, and solves the problem of low efficiency of the tool magazine position error correction method in the prior art.
[0040] In one embodiment of the present application, the detection unit includes a detection module and a determination module, wherein the detection module is used to detect whether the tool changing actions corresponding to each of the tool changing stages are completed in order of execution until a first target tool changing action is determined, and the first target tool changing action is the first uncompleted tool changing action detected; the determination module is used to determine that the tool changing stage corresponding to the first target tool changing action is the target tool changing stage. Specifically, the tool magazine tool changing process sequentially executes multiple tool changing actions, and the tool changing stage of the tool changing process in which the tool magazine is located is detected. Whether the tool changing actions are completed can be detected in turn, and the first uncompleted tool changing action detected is determined to be the first target tool changing action, and the tool changing stage corresponding to the first target tool changing action is the target tool changing stage.
[0041] In one embodiment of the present application, the tool changing process includes a first tool changing stage, a second tool changing stage and a third tool changing stage arranged in a sequence of execution, the tool changing action corresponding to the first tool changing stage is a first tool changing action, the tool changing action corresponding to the second tool changing stage is a second tool changing action, and the tool changing action corresponding to the third tool changing stage is a third tool changing action, and the determination module includes a first determination submodule, a second determination submodule and a third determination submodule, wherein the first determination submodule is used to determine that the first tool changing action is the first tool changing action when it is detected that the first tool changing action is not completed. The target tool-changing action, and the second tool-changing action and the third tool-changing action are the second target tool-changing action; the second determination submodule is used to determine that the second tool-changing action is the first target tool-changing action, and the third tool-changing action is the second target tool-changing action when the first tool-changing action is completed and the second tool-changing action is not completed; the third determination submodule is used to determine that the third tool-changing action is the first target tool-changing action and there is no second target tool-changing action when the first tool-changing action is completed, the second tool-changing action is completed and the third tool-changing action is not completed. Specifically, the tool-changing stage corresponding to the first uncompleted tool-changing action is the first target tool-changing action, and the subsequent tool-changing action is the second tool-changing action. Therefore, when it is detected that the first tool-changing action is not completed, the first tool-changing action is the first target tool-changing action, and the second tool-changing action and the third tool-changing action are the second target tool-changing action. When the third tool-changing action is not completed, it is determined that the third tool-changing action is the first target tool-changing action and there is no second target tool-changing action.
[0042] In one embodiment of the present application, the tool changing process includes 8 tool changing stages arranged in a sequence of execution, and the 8 tool changing stages correspond to the tool changing actions, namely, a first tool changing action, a second tool changing action, a third tool changing action, a fourth tool changing action, a fifth tool changing action, a sixth tool changing action, a seventh tool changing action and an eighth tool changing action. The first tool changing action is that the tool magazine spindle moves to a first tool changing position, the second tool changing action is that the tool sleeve rotates to a second tool changing position, and the tool sleeve is used to load the tool. The third tool changing action is that the tool arm rotates to a first predetermined angle so that the tool of the tool sleeve and the tool of the tool magazine spindle are fixed on the tool arm. The fourth tool changing action is that the tool magazine spindle releases the tool. The fifth tool changing action is that the tool arm rotates to a second predetermined angle so that the tool of the tool sleeve and the tool of the tool magazine spindle exchange positions. The sixth tool changing action is that the tool magazine spindle clamps the tool. The seventh tool changing action is that the tool arm rotates to a starting position of the tool arm. The eighth tool changing action is that the tool sleeve rotates to a starting position of the tool sleeve. Specifically, a tool changing process of a disc-type tool magazine includes the 8 tool changing stages arranged in order of execution, corresponding to 8 tool changing actions. First, an error correction instruction is received, and the error correction function is turned on. The tool magazine spindle is moved to the first tool changing position, the tool holder is rotated to the second tool changing position, and the tool arm is rotated to the first predetermined angle in sequence, so that the tool of the tool holder and the tool of the tool magazine spindle are fixed on the tool arm, the tool magazine spindle releases the tool, and the tool arm is rotated to the second predetermined angle, so that the tool of the tool holder and the tool of the tool magazine spindle are exchanged, the tool magazine spindle clamps the tool, the tool arm is rotated to the starting position of the tool arm, and the tool holder is rotated to the starting position of the tool holder. The entire tool changing process is completed.
[0043] In one embodiment of the present application, the tool magazine is a disc tool magazine or a chain tool magazine. Specifically, the method can be applied to a disc tool magazine commonly used in a vertical machining center, and can also be applied to a chain tool magazine in a horizontal machining center, but is certainly not limited thereto and can also be applied to other tool magazines.
[0044] In one embodiment of the present application, when receiving an error correction instruction, the tool change stage of the tool change process in which the tool magazine is located is detected, and before obtaining the target tool change stage, the method includes: when the tool magazine is reset, stopped urgently, or powered off during the tool change process, triggering an error alarm, in response to a predetermined operation acting on the error correction key, generating the error correction instruction. Specifically, during processing, there are often erroneous operations, such as pressing the reset button, pressing the emergency stop button, or cutting off the air, or a sudden power failure causing the tool change to be interrupted, triggering an error alarm, and the operator operates the error correction key to generate the error correction instruction, and controls the tool magazine to perform error correction to realize the error correction function.
[0045] An embodiment of the present application further provides a processing system, including a tool magazine and a device for correcting tool magazine position errors, wherein the device for correcting tool magazine position errors is used to execute any one of the above methods.
[0046] The above-mentioned machining system includes a tool magazine and a device for correcting the position error of the tool magazine. When receiving the error correction instruction, the detection unit detects the tool changing stage of the tool changing process in which the tool magazine is located to obtain the target tool changing stage. The above-mentioned tool changing process includes multiple tool changing stages arranged in an execution order, and the above-mentioned tool changing stages correspond to tool changing actions one by one. The above-mentioned error correction instruction is triggered by the position error of the above-mentioned tool magazine; the control unit controls the above-mentioned tool magazine to execute the first target tool changing action and the second target tool changing action in the order of the above-mentioned tool changing stages. The above-mentioned first target tool changing action is the above-mentioned tool changing action corresponding to the above-mentioned target tool changing stage, and the above-mentioned second target tool changing action is the above-mentioned tool changing action of all the above-mentioned tool changing stages after the above-mentioned target tool changing stage. The system detects the tool changing stage when receiving the error correction instruction, obtains the target tool changing stage, and then controls the tool magazine to execute the tool changing action corresponding to the target tool changing stage and the tool changing action corresponding to the tool changing stage after the target tool changing stage, so as to complete the tool changing and release the tool magazine position error alarm. There is no need to manually open the guard cover on the top of the machine tool tool magazine, use a wrench to twist the tool arm to the origin, and then turn on the tool magazine debugging mode to restore the tool sleeve, which improves efficiency, ensures personnel safety, and solves the problem of low efficiency of the tool magazine position error correction method in the prior art.
[0047] The tool magazine position error solving device comprises a processor and a memory. The detection unit and the control unit are stored in the memory as program units. The processor executes the program units stored in the memory to realize corresponding functions.
[0048] The processor includes a kernel, and the kernel retrieves the corresponding program unit from the memory. One or more kernels can be provided, and the problem of low efficiency of the error solving method for tool magazine position error in the prior art can be solved by adjusting kernel parameters.
[0049] The memory may include non-permanent memory in a computer-readable medium, random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash RAM, and the memory includes at least one memory chip.
[0050] An embodiment of the present invention provides a computer-readable storage medium on which a program is stored. When the program is executed by a processor, the above method is implemented.
[0051] An embodiment of the present invention provides a processor, and the processor is used to run a program, wherein the method is executed when the program is run.
[0052] An embodiment of the present invention provides a device, the device including a processor, a memory, and a program stored in the memory and executable on the processor, and when the processor executes the program, at least the following steps are implemented:
[0053] Step S101, in the case of receiving an error correction instruction, detecting the tool change stage of the tool change process in which the tool magazine is located, and obtaining a target tool change stage, wherein the tool change process includes a plurality of tool change stages arranged in a sequence of execution, and the tool change stages correspond to tool change actions one by one, and the error correction instruction is triggered by a position error alarm of the tool magazine;
[0054] Step S102, controlling the tool magazine to execute a first target tool changing action. In the case that the tool changing process also includes the tool changing stage after the target tool changing stage, after the tool magazine executes the first target tool changing action, the tool magazine is controlled to execute a second target tool changing action in the order of the tool changing stages. The first target tool changing action is the tool changing action corresponding to the target tool changing stage, and the second target tool changing action is the tool changing action of all the tool changing stages after the target tool changing stage.
[0055] The devices in this article can be servers, PCs, PADs, mobile phones, etc.
[0056] The present application also provides a computer program product, which, when executed on a data processing device, is suitable for executing a program for initializing at least the following method steps:
[0057] Step S101, in the case of receiving an error correction instruction, detecting the tool change stage of the tool change process in which the tool magazine is located, and obtaining a target tool change stage, wherein the tool change process includes a plurality of tool change stages arranged in a sequence of execution, and the tool change stages correspond to tool change actions one by one, and the error correction instruction is triggered by a position error alarm of the tool magazine;
[0058] Step S102, controlling the tool magazine to execute a first target tool changing action. In the case that the tool changing process also includes the tool changing stage after the target tool changing stage, after the tool magazine executes the first target tool changing action, the tool magazine is controlled to execute a second target tool changing action in the order of the tool changing stages. The first target tool changing action is the tool changing action corresponding to the target tool changing stage, and the second target tool changing action is the tool changing action of all the tool changing stages after the target tool changing stage.
[0059] In the above embodiments of the present invention, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0060] In the several embodiments provided in this application, it should be understood that the disclosed technical content can be implemented in other ways. Among them, the device embodiments described above are only schematic. For example, the division of the above-mentioned units can be a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of units or modules, which can be electrical or other forms.
[0061] The units described above as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple units. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.
[0062] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0063] If the above-mentioned integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable computer-readable storage medium. Based on this understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a computer-readable storage medium, including a number of instructions for a computer device (which can be a personal computer, a server or a network device, etc.) to perform all or part of the steps of the above-mentioned methods of each embodiment of the present invention. The aforementioned computer-readable storage medium includes: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, magnetic disk or optical disk and other media that can store program codes.
[0064] From the above description, it can be seen that the above embodiments of the present application achieve the following technical effects:
[0065] 1) In the error correction method for the tool magazine position error of the present application, the detection unit, upon receiving the error correction instruction, detects the tool changing stage of the tool changing process in which the tool magazine is located, and obtains the target tool changing stage. The above-mentioned tool changing process includes the above-mentioned multiple tool changing stages arranged in an execution order, and the above-mentioned tool changing stages correspond one-to-one to the tool changing actions. The above-mentioned error correction instruction is triggered by the position error of the above-mentioned tool magazine; the control unit controls the above-mentioned tool magazine to execute the first target tool changing action and the second target tool changing action in the order of the above-mentioned tool changing stages, and the above-mentioned first target tool changing action is the above-mentioned tool changing action corresponding to the above-mentioned target tool changing stage, and the above-mentioned second target tool changing action is the above-mentioned tool changing action of all the above-mentioned tool changing stages after the above-mentioned target tool changing stage. The device detects the tool changing stage when receiving the error correction instruction, obtains the target tool changing stage, and then controls the tool magazine to execute the tool changing action corresponding to the target tool changing stage and the tool changing action corresponding to the tool changing stage after the target tool changing stage, so as to complete the tool changing and release the tool magazine position error alarm. There is no need to manually open the guard cover on the top of the machine tool tool magazine, use a wrench to twist the tool arm to the origin, and then turn on the tool magazine debugging mode to restore the tool sleeve, which improves efficiency, ensures personnel safety, and solves the problem of low efficiency of the tool magazine position error correction method in the prior art.
[0066] 2) In the tool magazine position error error correction device of the present application, the detection unit, upon receiving the error correction instruction, detects the tool changing stage of the tool changing process in which the tool magazine is located, and obtains the target tool changing stage. The tool changing process includes the plurality of tool changing stages arranged in an execution order, the tool changing stages corresponding to the tool changing actions one by one, and the error correction instruction is triggered by the position error of the tool magazine; the control unit controls the tool magazine to perform the first target tool changing action and the second target tool changing action in the order of the tool changing stages, the first target tool changing action being the tool changing action corresponding to the target tool changing stage, and the second target tool changing action being the tool changing actions of all the tool changing stages after the target tool changing stage. The device detects the tool changing stage when receiving the error correction instruction, obtains the target tool changing stage, and then controls the tool magazine to execute the tool changing action corresponding to the target tool changing stage and the tool changing action corresponding to the tool changing stage after the target tool changing stage, so as to complete the tool changing and release the tool magazine position error alarm. There is no need to manually open the guard cover on the top of the machine tool tool magazine, use a wrench to twist the tool arm to the origin, and then turn on the tool magazine debugging mode to restore the tool sleeve, which improves efficiency, ensures personnel safety, and solves the problem of low efficiency of the tool magazine position error correction method in the prior art.
[0067] 3) The processing system of the present application includes a tool magazine and a device for correcting the position error of the tool magazine. When receiving the error correction instruction, the detection unit detects the tool changing stage of the tool changing process in which the tool magazine is located to obtain the target tool changing stage. The tool changing process includes multiple tool changing stages arranged in order of execution, and the tool changing stages correspond one-to-one to the tool changing actions. The error correction instruction is triggered by the position error of the tool magazine; the control unit controls the tool magazine to perform the first target tool changing action and the second target tool changing action in the order of the tool changing stages. The first target tool changing action is the tool changing action corresponding to the target tool changing stage, and the second target tool changing action is the tool changing action of all the tool changing stages after the target tool changing stage. The system detects the tool changing stage when receiving the error correction instruction, obtains the target tool changing stage, and then controls the tool magazine to execute the tool changing action corresponding to the target tool changing stage and the tool changing action corresponding to the tool changing stage after the target tool changing stage, so as to complete the tool changing and release the tool magazine position error alarm. There is no need to manually open the guard cover on the top of the machine tool tool magazine, use a wrench to twist the tool arm to the origin, and then turn on the tool magazine debugging mode to restore the tool sleeve, which improves efficiency, ensures personnel safety, and solves the problem of low efficiency of the tool magazine position error correction method in the prior art.
[0068] The above description is only the preferred embodiment of the present application and is not intended to limit the present application. For those skilled in the art, the present application may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application shall be included in the protection scope of the present application.
Claims
1. A method for solving a tool magazine position error, characterized in that: include: In the case of receiving the error correction instruction, detecting the tool change stage of the tool change process in which the tool magazine is located, and obtaining the target tool change stage, wherein the tool change process includes a plurality of tool change stages arranged in a sequence of execution, wherein the tool change stages correspond to tool change actions one by one, and the error correction instruction is triggered by a position error alarm of the tool magazine; Control the tool magazine to perform a first target tool changing action. When the tool changing process also includes the tool changing stage after the target tool changing stage, control the tool magazine to perform a second target tool changing action in the order of the tool changing stages after performing the first target tool changing action. The first target tool changing action is the tool changing action corresponding to the target tool changing stage, and the second target tool changing action is the tool changing action of all the tool changing stages after the target tool changing stage.
2. The method according to claim 1, characterized in that Detect the tool change stage of the tool change process in which the tool magazine is located, and obtain the target tool change stage, including: Whether the tool changing actions corresponding to the tool changing stages are completed is detected in sequence according to the execution order until a first target tool changing action is determined, wherein the first target tool changing action is the first uncompleted tool changing action detected; and the tool changing stage corresponding to the first target tool changing action is determined to be the target tool changing stage.
3. The method according to claim 2, characterized in that The tool changing process includes a first tool changing stage, a second tool changing stage and a third tool changing stage arranged in a sequence of execution, the tool changing action corresponding to the first tool changing stage is a first tool changing action, the tool changing action corresponding to the second tool changing stage is a second tool changing action, and the tool changing action corresponding to the third tool changing stage is a third tool changing action, and the tool changing actions corresponding to each of the tool changing stages are detected in sequence according to the execution sequence to determine whether they are completed until the first target tool changing action is determined, including: In the case where it is detected that the first tool changing action is not completed, determining that the first tool changing action is the first target tool changing action, and the second tool changing action and the third tool changing action are the second target tool changing action; When the first tool changing action is completed and the second tool changing action is not completed, determining the second tool changing action as the first target tool changing action, and the third tool changing action as the second target tool changing action; When the first tool changing action is completed, the second tool changing action is completed, and the third tool changing action is not completed, it is determined that the third tool changing action is the first target tool changing action and there is no second target tool changing action.
4. The method according to claim 1, characterized in that: The tool changing process includes 8 tool changing stages arranged in the order of execution, and the 8 tool changing stages correspond to the tool changing actions, namely, the first tool changing action, the second tool changing action, the third tool changing action, the fourth tool changing action, the fifth tool changing action, the sixth tool changing action, the seventh tool changing action and the eighth tool changing action. The first tool changing action is that the tool magazine spindle moves to the first tool changing position, the second tool changing action is that the tool sleeve rotates to the second tool changing position, and the tool sleeve is used to load the tool. The third tool changing action is that the tool arm rotates to the first predetermined angle so that the tool of the tool sleeve and the tool of the tool magazine spindle are fixed on the tool arm. The fourth tool changing action is that the tool magazine spindle releases the tool. The fifth tool changing action is that the tool arm rotates to the second predetermined angle so that the tool of the tool sleeve and the tool of the tool magazine spindle exchange positions. The sixth tool changing action is that the tool magazine spindle clamps the tool. The seventh tool changing action is that the tool arm rotates to the starting position of the tool arm. The eighth tool changing action is that the tool sleeve rotates to the starting position of the tool sleeve.
5. The method according to claim 1, characterized in that The tool magazine is a disc-type tool magazine or a chain-type tool magazine.
6. The method according to any one of claims 1 to 5, characterized in that: When receiving the error correction instruction, detecting the tool change stage of the tool change process in which the tool magazine is located, and obtaining the target tool change stage, the method includes: In the case where the tool magazine is reset, stopped urgently or powered off during the tool change process and an error alarm is triggered, the error correction instruction is generated in response to a predetermined operation on the error correction button.
7. A tool magazine position error resolution device, characterized in that: include: The detection unit is used to detect the tool change stage of the tool change process in which the tool magazine is located when receiving the error correction instruction, and obtain the target tool change stage, wherein the tool change process includes a plurality of tool change stages arranged in a sequence of execution, and the tool change stages correspond to tool change actions one by one, and the error correction instruction is triggered by a position error alarm of the tool magazine; A control unit is used to control the tool magazine to perform a first target tool changing action. When the tool changing process also includes the tool changing stage after the target tool changing stage, the control unit controls the tool magazine to perform a second target tool changing action in the order of the tool changing stages after the tool changing process completes the first target tool changing action. The first target tool changing action is the tool changing action corresponding to the target tool changing stage, and the second target tool changing action is the tool changing action of all the tool changing stages after the target tool changing stage.
8. A computer-readable storage medium, characterized in that: The computer-readable storage medium includes a stored program, wherein the program executes the method of any one of claims 1 to 6.
9. A processor, characterized in that: The processor is used to run a program, wherein the program executes the method according to any one of claims 1 to 6 when running.
10. A machining system, comprising a tool magazine and a tool magazine position error resolution device, characterized in that: The tool magazine position error resolution device is used to execute the method described in any one of claims 1 to 6.
