Machine tool control method, device and machine tool

By simultaneously performing tool detection and machining operations in the machine tool, the problem of cycle time waste caused by independent operation of tool detection and machining is solved, and the working efficiency and machining quality of the machine tool are improved.

CN116352500BActive Publication Date: 2025-08-22HONGFUJIN PRECISION ELECTRONICS ZHENGZHOU
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202310339938.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-03-31
Publication Date
2025-08-22
Estimated Expiration
2043-03-31

AI Technical Summary

Technical Problem

During the processing of machine tools, tool testing and processing need to be operated independently, resulting in waste of periodic working hours and low working efficiency.

Method used

During the process of moving the tool from the processing area to the detection area, the waste of periodic working hours is reduced by simultaneously performing tool detection and the next tool processing action.

Benefits of technology

By simultaneously performing tool detection and machining operations, the machining cycle is shortened, working efficiency is improved, and the number of tool detections is increased to improve machining quality.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116352500B_ABST
    Figure CN116352500B_ABST
Patent Text Reader

Abstract

The present application relates to the technical field of CNC machine tool control, and in particular to a machine tool control method, device and machine tool. The machine tool control method includes: moving a first tool to a processing area; after the first tool completes a first processing action, moving the first tool to a detection area, and moving a second tool to the processing area to perform tool detection on the first tool, while performing a second processing action by the second tool. Since the processing of the workpiece and the tool detection of the tool can be performed simultaneously, and the action of performing tool detection on the first tool can be completed within the time of the second processing action, the tool detection is actually equivalent to not taking up additional time, reducing the waste of cycle time, shortening the processing cycle, and improving work efficiency.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of CNC machine tool control, and in particular to a machine tool control method, device, and machine tool. Background Art

[0002] Machine tools have a program control system that processes programs defined by control codes or other symbolic instructions and issues corresponding control signals to control the various functions of the machine tool. The most common functions of a machine tool are machining workpieces using cutting tools and detecting tool breakage using a broken tool detection system.

[0003] In related technologies, before a machine tool uses a tool to process a workpiece, it first checks whether the tool is broken. If so, an alarm is triggered. If not, machining begins. After the current tool has completed machining and the next tool is needed to process the workpiece, the next tool is checked again to see if it is broken, and so on. Because tool machining and fracture detection need to be performed independently, this results in wasted cycle time and low work efficiency. Summary of the Invention

[0004] The present application provides a machine tool control method, device and machine tool to solve the technical problems of long processing time and low processing efficiency of machine tools.

[0005] In the first aspect, the present application provides a machine tool control method, wherein the tool of the machine tool includes a first tool and a second tool, and the machine tool has a processing area and a detection area. The tool performs processing in the processing area, and the tool performs tool detection in the detection area; the method includes: after receiving a task start instruction, moving the first tool to the processing area; after the first tool completes the first processing action, moving the first tool to the detection area, and moving the second tool to the processing area to perform tool detection on the first tool, and at the same time perform the second processing action through the second tool; when the first tool does not meet the pass condition of the tool detection, outputting a broken tool alarm instruction.

[0006] In the embodiment of the present application, after the first tool completes the first machining operation, the first tool is moved to the inspection area, and the second tool is simultaneously moved to the machining area. Tool inspection of the first tool and the second machining operation of the second tool are then performed simultaneously. Since the machining of the workpiece and tool inspection of the tool can be performed simultaneously, and the tool inspection of the first tool can be completed within the time of the second machining operation, the tool inspection does not actually take up any additional time, thus reducing the waste of cycle time, shortening the machining cycle, and improving work efficiency.

[0007] In one embodiment, the machine tool's tool also includes a third tool, and the first processing action of the first tool is associated with the third processing action of the third tool; the method also includes: stopping the execution of the third processing action of the third tool according to the tool breakage alarm instruction corresponding to the first tool.

[0008] In one embodiment, the method further includes: when the second tool completes the corresponding second processing action and the first tool meets the passing condition of the tool detection, the second tool is moved to the detection area, and the third tool is moved to the processing area to perform tool detection on the second tool, and at the same time, the third processing action is performed by the third tool.

[0009] In one embodiment, moving the first tool to the detection area and moving the second tool to the processing area includes: moving the first tool for performing the first processing action to the detection area, and moving the second tool for performing the second processing action to the processing area; the first processing action is not associated with the second processing action.

[0010] In one embodiment, after receiving the task start instruction and before moving the first tool to the processing area, the method also includes: moving the first tool and the second tool to the detection area to perform tool detection on the first tool and the second tool; moving the first tool to the processing area is configured to be executed when both the first tool and the second tool meet the pass conditions of the tool detection.

[0011] In one embodiment, the machine tool has a processing chamber, which is provided with a safety door; after receiving a task start instruction and before moving the first tool to the processing area, the method also includes: receiving a door closing instruction in real time, the door closing instruction is used to indicate the closing action of the safety door; and outputting a task start instruction according to the door closing instruction.

[0012] In one embodiment, the method further includes: receiving a door opening instruction in real time, the door opening instruction being used to indicate the opening action of the safety door; and outputting a task start instruction according to the door closing instruction, including: outputting a task start instruction when the switching time difference between the door closing instruction and the adjacent door opening instruction is within a preset range.

[0013] In one embodiment, receiving the door opening instruction in real time includes: obtaining a processing NC program; and executing the processing NC program when the program name of the processing NC program meets a preset condition to receive the door closing instruction in real time.

[0014] In a second aspect, the present application provides a machine tool control device, which includes a processor; and a memory for storing executable instructions of the processor; wherein the processor executes the executable instructions so that the machine tool control device implements the method provided in the first aspect.

[0015] In a third aspect, the present application provides a machine tool, comprising a machine tool control device as provided in the second aspect, wherein the tool of the machine tool comprises a first tool and a second tool, the machine tool has a processing area and a detection area, the tool performs processing in the processing area, and the tool performs tool detection in the detection area; the machine tool also includes a moving mechanism, the moving mechanism is used to move the first tool to the processing area in response to a first moving instruction; and, to move the first tool to the detection area in response to a second moving instruction; and, to move the second tool to the processing area in response to a third moving instruction. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] Figure 1 Schematic diagram of the principle of the machine tool control method in the related art.

[0017] Figure 2 A schematic structural diagram of a machine tool provided in an embodiment of the present application.

[0018] Figure 3 A first flow chart of a machine tool control method provided in an embodiment of the present application.

[0019] Figure 4 A schematic diagram of the principle of the machine tool control method provided in an embodiment of the present application.

[0020] Figure 5 A schematic diagram illustrating the relationship between multiple processing actions provided in an embodiment of the present application.

[0021] Figure 6 A second flow chart of a machine tool control method provided in an embodiment of the present application.

[0022] Figure 7 A third flow chart of a machine tool control method provided in an embodiment of the present application.

[0023] Figure 8 This is a fourth flow chart of a machine tool control method provided in an embodiment of the present application.

[0024] Figure 9 A schematic structural diagram of a machine tool control device provided in an embodiment of the present application.

[0025] Description of main component symbols

[0026] Machine tool control device 10

[0027] Processor 101

[0028] Memory 102

[0029] Mobile mechanism 20

[0030] Tool detection mechanism 30

[0031] Door opening and closing detection module 40

[0032] The following specific implementation methods will further illustrate the present application in conjunction with the above-mentioned drawings. DETAILED DESCRIPTION

[0033] It should be noted that the terms "first" and "second" in the description, claims and drawings of this application are used to distinguish similar objects, rather than to describe a specific order or sequence.

[0034] It should also be noted that the method disclosed in the embodiments of the present application or the method shown in the flowchart includes one or more steps for implementing the method. Without departing from the scope of the claims, the execution order of multiple steps can be interchanged with each other, and some steps can also be deleted.

[0035] See also Figure 1 In the related art, machine tools (also known as CNC machine tools) are equipped with broken tool detection systems (also known as Broken Tool Sensor Systems, BTS systems). Machine tools can automatically process workpieces according to pre-programmed procedures. The processing usually requires the use of various different tools. To ensure production quality, the broken tool detection system needs to detect whether the tool is broken before using it for processing.

[0036] For example, if a machine tool needs to use tool N0, tool N1, tool N2, ..., tool Nn in sequence for processing, the actual working process of the machine tool is:

[0037] Step ①: After the previous tool (such as tool N0) completes the processing action, determine the tool to be used currently (such as tool N1); at the same time, the machine tool pauses processing.

[0038] Step ②: Perform a tool change operation, move the previous tool (such as tool N0) out of the processing area, and move the determined tool (such as tool N1) to the detection area of ​​the broken tool detection system; at the same time, the machine tool equipment runs but pauses processing the workpiece.

[0039] Step ③: After the switching operation is completed, the broken tool detection system performs a fracture detection on the determined tool (such as tool N1); at the same time, the machine tool equipment runs but pauses to process the workpiece.

[0040] Step ④: If the broken tool detection system determines that the identified tool (such as tool N1) is not broken, the machine tool can use the tool (such as tool N1) to perform the corresponding processing action, and after the tool (such as tool N1) completes the processing action, return to step ①; until all tools have completed the corresponding processing action.

[0041] Step 5: If the broken tool detection system determines that the determined tool (such as tool N1) is broken, the broken tool detection system marks the tool (such as tool N1) as a broken tool, for example, marking the tool in red, and stops the machine tool from processing the workpiece; until the manager replaces the corresponding tool.

[0042] During the above working process, workpiece processing and fracture detection need to be run separately and independently, resulting in a waste of cycle time. The processing cycle is at least the sum of the workpiece processing time and the fracture detection time, and the work efficiency is low.

[0043] Moreover, in the process design of workpiece processing, considering that tool detection takes up processing time, in order to shorten the processing cycle, the number of tool detections is usually reduced, thereby reducing the total time occupied by all tool detections. For example, when the same tool needs to be called to perform different processing actions, the tool will be detected only after multiple processing actions are completed, which may lead to omissions in tool detection and affect the processing quality.

[0044] To this end, the embodiments of the present application provide a machine tool control method, device, and machine tool to solve the problems of long processing cycle and low work efficiency.

[0045] The following will describe some embodiments with reference to the accompanying drawings. In the absence of conflict, the following embodiments and features therein may be combined with each other.

[0046] Figure 2 This is a schematic diagram of the structure of a machine tool provided in this application. The machine tool includes a tool, a machine tool control device 10, and an execution device. The machine tool control device 10 is electrically connected to the execution device. The machine tool control device 10 is used to load a preset CNC machining program and send control instructions to the corresponding execution device to control the machine tool operation; alternatively, it receives feedback instructions from the execution device and processes them accordingly to manage the machine tool status and work progress. The execution device is used to complete the corresponding work in response to the control instructions.

[0047] Specifically, the machine tool has multiple tools, each of which can be of different types, such as a thread cutting tool, a chamfering tool, a turning tool, etc. Different tools can perform different processing actions.

[0048] Specifically, the execution device includes a moving mechanism 20, which is used to drive the tool to move to a specified position. The moving mechanism 20 can be a track moving mechanism, a cylinder drive mechanism, an oil cylinder drive mechanism, a multi-axis robot, etc., and this application does not limit this.

[0049] Furthermore, there may be multiple moving mechanisms 20, and the multiple moving mechanisms 20 can work together, for example, moving a tool that has just completed processing to a specified position, and at the same time moving a tool that will perform the next processing action to another position.

[0050] Specifically, the execution device also includes a tool detection mechanism 30, which is used to detect tool breakage. The detection method for the breakage detection may be to position the tool with the cutting head facing upward and move the tool detection mechanism 30 directly above the tool. The tool detection mechanism 30 then detects the height of the cutting head. If the cutting head height is within a preset height range, the tool is considered intact; otherwise, the tool is considered broken.

[0051] Specifically, the machine tool has a processing chamber and a tool chamber, which are connected to each other, so that a moving mechanism 20 can drive the tool to move back and forth between the processing chamber and the tool chamber. The tool chamber is used to store the tool, and a detection area is provided in the tool chamber. When the tool is placed in the detection area, the tool detection mechanism 30 can detect the tool for fracture.

[0052] A processing area is provided in the processing chamber, and a fixture is provided in the processing area. The fixture is used to clamp and fix the workpiece, and the tool can process the workpiece in the processing area.

[0053] Specifically, the processing chamber is provided with a window, which is provided with a safety door. The safety door is movably connected to the window, for example, by a rotational connection. During normal machine operation, when a workpiece is being processed in the processing chamber, the safety door needs to be closed and locked. When the machine tool is stopped, the manager can open the safety door and enter the processing chamber through the window to remove the workpiece or inspect and replace the tool head.

[0054] Specifically, the execution device also includes a door opening and closing detection module 40, which is installed in the window and is configured to detect the opening or closing of the safety door. Because the safety door has different positions when open and closed, the door opening and closing detection module 40 can be a position sensor, such as a Hall effect sensor, a photoelectric sensor, or an angle sensor. When the safety door switches from the closed state to the open state, the door opening and closing detection module 40 detects the opening of the safety door and outputs an opening command to the machine tool control device 10. When the safety door switches from the open state to the closed state, the door opening and closing detection module 40 detects the closing of the safety door and outputs a closing command to the machine tool control device 10.

[0055] Specifically, the execution device also includes a display module, which is used to display information such as the working progress of the machine tool and the working status of each tool through a display interface.

[0056] Specifically, the execution device also includes an alarm module, which is used to perform alarm actions when receiving an alarm instruction. The alarm actions include but are not limited to alarming through sound and light equipment, presenting an alarm screen through a display module, sending an alarm email to a remote management terminal, etc.

[0057] Figure 3 This is a flow chart of a machine tool control method provided by the present application. The machine tool control method can be applied to the machine tool control device 10 in any of the above embodiments. The machine tool control method specifically includes the following steps.

[0058] S401 : After receiving a task start instruction, move a first tool to a processing area.

[0059] The task start command is used to indicate to the machine tool that the current processing task has begun. When the processing task starts, the workpiece is fixed in the processing chamber and the machine tool needs to use the tool to process the workpiece in the processing area.

[0060] Specifically, a machining task generally includes multiple machining actions, and the multiple machining actions are executed sequentially in a preset order. Each machining action is used to machine a workpiece, and each machining operation is performed by a tool.

[0061] In one embodiment of the present application, a machine tool includes a first tool and a second tool. The first tool is used to perform a first machining operation, and the second tool is used to specify a second machining operation. During a machining task, the first machining operation and the second machining operation are performed sequentially, i.e., the first machining operation is performed first, and the second machining operation is performed after completion.

[0062] After the first tool moves to the processing area, the corresponding first processing action can be performed by the first tool.

[0063] S402 : After the first tool completes the first processing action, the first tool is moved to the detection area, and the second tool is moved to the processing area.

[0064] If the first tool needs to be tested for fracture right after it completes machining, it needs to be moved to the testing area. Also, if the first tool completes the first machining action and the next tool to machine the workpiece is the second tool, the second tool needs to be moved to the machining area.

[0065] When the first tool moves to the detection area, the tool detection mechanism 30 can perform a fracture detection on the first tool. When the second tool moves to the processing area, the second tool can perform a corresponding second processing action.

[0066] In the embodiment of the present application, the first tool moves to the detection area and the second tool moves to the processing area, and the two actions can be completed simultaneously. While the first tool performs fracture detection in the detection area, the second tool can perform the second processing action in the processing area.

[0067] It's understandable that tool detection typically takes less time than a tool needs to perform a single machining operation. Therefore, before the current tool completes its machining operation, the previous tool should complete its corresponding tool detection. That is, before the second tool completes its second machining operation, the first tool should complete tool detection. Therefore, tool detection is essentially completed within the workpiece machining cycle, without taking up any additional time, thus shortening the machining cycle.

[0068] Specifically, the movement mechanism 20 includes a recovery mechanism and a processing mechanism. The recovery mechanism is used to move the tool from the processing chamber to the tool chamber, and the processing mechanism is used to move the tool from the tool chamber to the processing chamber. The recovery mechanism and the processing mechanism can work in conjunction. While the recovery mechanism moves the first tool to the inspection area, the processing mechanism can simultaneously move the second tool to the processing area.

[0069] Correspondingly, step S401 may be: the machine tool control device 10 outputs a first movement instruction to the processing movement mechanism, and the processing movement mechanism moves the first tool to the processing area in response to the first movement instruction.

[0070] Step S402 may be: the machine tool control device 10 outputs a second movement instruction to the recovery movement mechanism and outputs a third movement instruction to the processing movement mechanism; the recovery movement mechanism responds to the second movement instruction to move the first tool to the detection area; the processing movement mechanism responds to the third movement instruction to move the second tool to the processing area.

[0071] It can be understood that by performing fracture detection on the first tool, on the one hand, it can be determined whether the first tool needs to be replaced; on the other hand, it can be determined whether the first tool has completely completed the first processing action. If the first tool breaks, it can also be determined that the first processing action is interrupted, reflecting that the processing position on the workpiece corresponding to the second processing action has not been completed.

[0072] S403, determine whether the first tool meets the pass condition of tool detection, if yes, continue the processing task; if not, execute step S404.

[0073] Tool detection refers to tool head breakage detection. The passing condition for tool detection is that the tool head height is within the preset height range.

[0074] Specifically, the tool is set with the tool head facing upward. The tool detection mechanism 30 includes a distance sensor. When performing tool detection, the tool detection mechanism 30 moves to the top of the tool and detects the distance from the tool head to the tool detection mechanism 30 through the distance sensor, and uses the distance as the tool head height.

[0075] In one embodiment of the present application, a transport mechanism is provided in the tool chamber, and the transport mechanism may be a transmission belt transport mechanism. The tool head detection mechanism is connected to the transport mechanism on a transport path of the transport mechanism provided in the detection area, and the transport mechanism can drive the tool head detection mechanism to move into the detection area.

[0076] In one embodiment of the present application, there can be multiple detection areas and multiple tool head detection modules, and the distribution of each tool head detection module corresponds to the distribution of each detection area, so that each tool head detection module can perform fracture detection on tools in multiple detection areas at the same time.

[0077] S404: Output a tool breakage alarm instruction.

[0078] When the first tool does not meet the passing condition of the tool detection, it indicates that the first tool is broken, and a tool breakage alarm instruction is output.

[0079] Specifically, the broken knife alarm instruction can be sent to the alarm module. The alarm module takes an alarm action in response to the broken knife alarm instruction.

[0080] Specifically, the broken tool alarm instruction may also be sent to the display module. In response to the broken tool alarm instruction, the display module highlights the first tool corresponding to the broken tool alarm instruction in the display interface, for example, by displaying a red icon, to remind the management personnel that the first tool is detected to be broken.

[0081] It is understood that in an actual machining task, if the second tool is completed and the first tool passes the tool detection, the current second tool can be used as the first tool, the next tool of the current second tool is updated to the second tool, and the process returns to step S402. This process is repeated until the machining task is completed.

[0082] See also Figure 4 In the embodiment of the present application, after the first tool completes the first machining operation, the first tool is moved to the inspection area, and the second tool is simultaneously moved to the machining area. Tool inspection of the first tool and the second machining operation of the second tool are then performed simultaneously. Since the machining of the workpiece and tool inspection of the tool can be performed simultaneously, and the tool inspection of the first tool can be completed within the time of the second machining operation, the tool inspection does not actually take up any additional time, thus reducing the waste of cycle time, shortening the machining cycle, and improving work efficiency.

[0083] Moreover, since the problem of tool detection taking up processing time has been solved, the number of tool detections can be increased as much as possible in the process design of workpiece processing. Tool detection is performed after each processing action, which comprehensively increases the scope of tool detection and improves processing quality.

[0084] Table 1 shows a comparison of the CNC data before and after the machine tool improvement. Machine tools A, B, and C are different models of machine tools, each equipped with a different number of tools.

[0085] Before improvement, the machine tool uses the control method of relevant technology for processing.

[0086] After improvement means that the machine tool adopts the control method proposed in the embodiment of this application for processing.

[0087] The number of tool calls refers to the number of times the machine tool needs to call the tool to perform processing actions.

[0088] Tool monitoring times refers to the total number of tool detections (i.e., breakage detections) performed on each tool during a specified machining task.

[0089] Tool monitoring single time refers to the time required to perform one tool detection, the unit is: second / tool.

[0090] Tool saving cycle time refers to the total time taken for tool detection based on the number of tool calls before improvement.

[0091]

[0092] Table 1- Comparison of CNC data before and after machine tool improvement

[0093] It can be seen that for machine tool A, although the number of tool calls before and after the improvement was 71, only 47 tool inspections could be performed before the improvement, while 68 tool inspections could be performed after the improvement. Moreover, since tool inspection does not require working hours, at least 126.9 seconds can be saved.

[0094] Similarly, for machine tool B, although the number of tool calls before and after the improvement was 74, only 51 tool inspections could be performed before the improvement, while 71 tool inspections could be performed after the improvement. Moreover, since tool inspections do not require working hours, at least 142.8 seconds can be saved.

[0095] Similarly, for machine tool C, although the number of tool calls before and after the improvement was 51, only 43 tool inspections could be performed before the improvement, while 48 tool inspections could be performed after the improvement. Moreover, since tool inspections do not require working hours, at least 116.1 seconds can be saved.

[0096] See also Figure 5 In one embodiment of the present application, multiple processing actions within a processing task may be associated with each other. When multiple processing actions are associated with each other, the multiple processing actions must be executed in a corresponding processing order, i.e., one processing action serves as the basis for executing another processing action.

[0097] For example, in a processing task, it is necessary to process a groove A on the surface of the workpiece through processing action A, and to process a circular surface B in the groove wall of groove A through processing action B. Then processing action A must be executed first. Only after processing action A is executed can processing action B be executed. It can be considered that processing action A is associated with processing action B.

[0098] For another example, in a processing task, it is necessary to process groove A on the surface of one side of the workpiece through processing action A, and process groove C on the surface of the other side of the workpiece through processing action C. Then, processing action A and processing action C do not need to be executed in a specific order, and there is no mutual dependence between the two. It can be considered that processing action A and processing action B are not related.

[0099] In one embodiment of the present application, multiple processing actions in a processing task are executed sequentially according to a preset processing order, wherein two adjacent processing actions are configured to be unrelated, and one processing action is required to separate two related processing actions.

[0100] For example, if a processing task includes processing actions A, B, C, and D, which are executed in sequence, then processing action A is not associated with processing action B, processing action B is not associated with processing action C, and processing action C is not associated with processing action D. At the same time, processing action A can be associated with processing action C, and processing action B can be associated with processing action D.

[0101] In one embodiment of the present application, the tool of the machine tool further includes a third tool. The third tool is used to perform a third processing action. Specifically, the third processing action is associated with the first processing action, and the first processing action is not associated with the second processing action.

[0102] It is understood that the difference between the first and third cutting tools is that they are used to perform different processing actions, and these different processing actions are performed at different time periods. Therefore, the first and third cutting tools can actually be the same tool or different tools, depending on the actual settings of the processing task.

[0103] See also Figure 6 In one embodiment of the present application, the machine tool control method further includes:

[0104] S405 , according to the tool breakage alarm instruction corresponding to the first tool, stopping the third machining action of the third tool.

[0105] If the first tool breaks, the first machining operation may not have been fully completed, creating a risk of missed milling. Since the third machining operation is related to the first, executing the third machining operation could exacerbate missed milling of the workpiece and damage the third tool or the workpiece, necessitating the termination of the third machining operation.

[0106] It can be understood that since the second processing action is not related to the first processing action, even if the first processing action is not completely executed, it will not affect the second processing action, so the second processing action can be executed as usual.

[0107] In one embodiment of the present application, in step S403 , if the first tool meets the passing condition of the tool detection, step S406 is executed.

[0108] S406 , after the second tool completes the corresponding second processing action, the second tool is moved to the detection area, and the third tool is moved to the processing area.

[0109] Among them, when the second tool completes the corresponding second processing action and the first tool meets the passing conditions of the tool detection, the second tool is moved to the detection area and the third tool is moved to the processing area to perform tool detection on the second tool, and the third processing action is performed by the third tool at the same time.

[0110] It can be understood that if the first tool does not break, it means that the first processing action has been completely executed, there is no risk of missing milling, and the basic conditions for executing the third processing action are met. Therefore, the third processing action can be executed after the second processing action is completed.

[0111] See also Figure 7 For example, a machining task includes machining actions A, B, and C, which are performed sequentially. Machining action A is not related to machining action B, and machining action A is not related to machining action C. The machine tool's tools include a first tool T1 for performing the first machining action A, a second tool T2 for performing the second machining action B, and a third tool T3 for performing the third machining action C.

[0112] The actual machine tool control process is:

[0113] Step 1: Move the first tool T1 to the processing area, and perform the first processing action A by the first tool T1. After the first processing action A is completed, the next step is performed.

[0114] Step 2: Move the first tool T1 to the inspection area and the second tool T2 to the processing area. Perform a tool inspection on the first tool T1 while performing the second processing action B with the second tool T2. If the first tool T1 passes the tool inspection, the next step is executed after the second processing action B is completed. If the first tool T1 fails the tool inspection, the third tool T3 associated with the first tool T1 is discontinued, and the third processing action C is stopped.

[0115] Step 3: Move the second tool T2 to the inspection area and the third tool T3 to the processing area. A tool inspection is performed on the second tool T2, and the third processing action C is performed using the third tool T3. If the second tool T2 passes the tool inspection, the next step is executed after the third processing action C is completed. If the second tool T2 fails the tool inspection, the tool associated with the second tool T2 is stopped, and so on.

[0116] In one embodiment of the present application, before step S401, the machine tool control method further includes:

[0117] S601: Determine a tool corresponding to a processing action to be performed, and move the determined tool to a detection area.

[0118] Among them, the processing task includes at least the first processing action and the second processing action, and the tools corresponding to the processing actions to be executed include the first tool and the second tool. The first tool and the second tool are moved to the detection area, and then the first tool and the second tool are subjected to tool detection.

[0119] S602: Determine whether the determined tool meets the pass condition of tool detection. If yes, execute step S401; if not, stop starting the processing task.

[0120] Among them, if the tool used in the processing task has not broken, each processing action is allowed to start, ensuring that the tool has not broken before actual processing. On the one hand, it guarantees the processing quality and reduces the occurrence of missed milling structures. On the other hand, it ensures that the tool breakage detected in the subsequent steps occurs during the processing process, which is convenient for diagnosis and analysis.

[0121] For example, if both the first tool and the second tool meet the tool detection pass condition, step S401 can be executed to move the first tool to the processing area. It can be understood that step S401 is equivalent to being configured to be executed when both the first tool and the second tool meet the tool detection pass condition.

[0122] It can be understood that in some embodiments, if the processing task includes the first processing action, the second processing action and the third processing action, the tools corresponding to the processing actions to be executed may include the first tool, the second tool and the third tool, which can be set specifically according to the processing task.

[0123] See also Figure 8 In one embodiment of the present application, before step S401, the machine tool control method further includes:

[0124] S801. Receive door closing and door opening instructions in real time.

[0125] The door closing command is used to instruct the safety door to close, and the door opening command is used to instruct the safety door to open.

[0126] It is understandable that before the staff performs preparatory work such as installing workpieces and changing tools in the processing chamber, they need to open the safety door, that is, perform the door opening action, and after completing the preparatory work, they will close the safety door, that is, perform the door closing action.

[0127] S802: Output a task start instruction according to the door closing instruction.

[0128] Among them, after the door closing action is detected, it can be determined that the preparatory work before processing has been completed and processing can begin.

[0129] In one embodiment of the present application, the task start command is triggered by: opening and closing a door, and by a control panel. It is understood that the machine tool's processing chamber and control panel are typically located in different locations. After completing preparatory work and closing the safety door, the operator does not need to move to the control panel to control the machine tool to start processing. The processing task can be started by closing the safety door, which is more convenient and saves cycle time.

[0130] In one embodiment of the present application, step S802 specifically includes:

[0131] S8021. Determine the switching time difference between the door closing instruction and the adjacent door opening instruction.

[0132] Among them, the opening and closing time difference can reflect the time from when the safety door is closed to when it is most recently opened, that is, the time from when the staff opens the safety door to when it closes the safety door.

[0133] S8022: Determine whether the on / off time difference is within a preset range. If so, execute step S8023; if not, remain in standby mode.

[0134] Under normal circumstances, since the operator needs to handle preparatory work after opening the safety door, the switching time difference should be greater than a preset value; and since the machine tool needs to perform the next processing in time after completing the preparatory work, the switching time difference should be less than another preset value.

[0135] In one embodiment of the present application, the preset range is 10 seconds to 100 seconds. When the on / off time difference is ≥10 seconds and ≤100 seconds, step S8023 is executed. When the on / off time difference is <10 seconds or >100 seconds, it indicates that the machine tool does not need to continue processing temporarily, or there is a problem in the processing chamber that requires a lot of time to handle. In this case, the machine tool remains on standby, waiting for the staff to input the task start command through the control panel.

[0136] S8023. Output task start instruction.

[0137] In one embodiment of the present application, before step S401, the machine tool control method further includes:

[0138] S901, obtaining a machining NC program.

[0139] The machining NC program contains control codes, and the machine tool control device 10 executes the machining task by loading the machining NC program.

[0140] It is understood that different machining NC programs correspond to different machining tasks. Before executing workpiece machining, the staff can select a specified machining NC program to run in the control panel to execute the specified machining task.

[0141] S902, determine whether the program name of the processing NC program meets the preset conditions, if so, execute step S903; if not, execute step S904.

[0142] The preset conditions include the naming format of the processing NC program. Specifically, the machine tool can support a variety of processing tasks, and correspondingly stores a variety of programs. Different programs have different naming formats according to their uses.

[0143] S903, loading the machining NC program to receive the door closing instruction in real time.

[0144] When the program name of the processing NC program meets the preset conditions, the processing NC program is executed and the processing task begins.

[0145] S904: Output program error instruction.

[0146] The program error instruction can be sent to an alarm module. The alarm module responds to the program error instruction and generates an alarm. Specifically, the program error instruction can also be sent to a display module. The display module responds to the program error instruction and displays a program error prompt on a display interface, prompting the operator to reselect the CNC program for machining.

[0147] Figure 9 This is a schematic diagram of the structure of a machine tool control device 10 provided in this application. The machine tool control device 10 includes a processor 101 and a memory 102, wherein the memory 102 is used to store executable instructions of the processor 101. The processor 101 executes the executable instructions so that the machine tool control device 10 implements the machine tool control method of the technical solution described above.

[0148] The processor 101 may be a central processing unit (CPU), or other general-purpose processors 101, digital signal processors 101 (DSP), application-specific integrated circuits (ASIC), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor 101 may be a microprocessor 101 or any conventional processor 101.

[0149] The memory 102 can be used to store the computer programs and / or modules. The processor 101 implements the various functions of the machine tool control device 10 by running or acquiring the computer programs and / or modules stored in the memory 102 and calling the data stored in the memory 102. The memory 102 may mainly include a program storage area and a data storage area. The program storage area may store an operating system and at least one application required for a function (such as a sound playback function, an image playback function, etc.); the data storage area may store data created based on the use of the machine tool. In addition, the memory 102 may include non-volatile memory, such as a hard disk, a memory, a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) card, a flash card, at least one disk storage device, a flash memory device, or other non-volatile solid-state storage device.

[0150] The memory 102 may be an external memory and / or an internal memory of the machine tool control device 10. Furthermore, the memory 102 may be a physical memory, such as a memory stick, a TF card (Trans-flash Card), and the like.

[0151] If the program code and various data in the memory are implemented in the form of a software functional unit and sold or used as an independent product, they can be stored in a computer-readable storage medium. Based on this understanding, the present application implements all or part of the processes in the above-mentioned embodiment method, such as the machine tool control method, and can also be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium, and the computer program can implement the steps of the above-mentioned various method embodiments when executed by the processor 101. Among them, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form, etc. The computer-readable medium may include: any entity or device that can carry the computer program code, recording medium, U disk, mobile hard disk, disk, optical disk, computer memory, read-only memory (ROM, Read-Only Memory), etc.

[0152] It can be understood that the beneficial effects that can be achieved by the machine tool and the machine tool control device 10 provided in the embodiment of the present application can refer to the beneficial effects of the corresponding machine tool control method provided above, and will not be repeated here.

[0153] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application and are not intended to limit the present application. Although the present application has been described in detail with reference to the preferred embodiments, those skilled in the art should understand that the technical solutions of the present application may be modified or replaced by equivalents without departing from the spirit and scope of the technical solutions of the present application.

Claims

1. A machine tool control method, characterized in that: The tool of the machine tool includes a first tool and a second tool. The machine tool has a processing area and a detection area. The tool performs processing in the processing area and performs tool detection in the detection area. The method includes: After receiving a task start instruction, moving the first tool to the processing area; After the first tool completes the first processing action, the first tool is moved to the detection area, and the second tool is moved to the processing area to perform tool detection on the first tool, while the second tool performs the second processing action; When the first tool does not meet the passing condition of the tool detection, a tool breakage alarm instruction is output.

2. The method according to claim 1, characterized in that The tool of the machine tool further includes a third tool, and the first processing action of the first tool is associated with the third processing action of the third tool; the method further includes: According to the tool breakage alarm instruction corresponding to the first tool, the third machining action of the third tool is stopped.

3. The method according to claim 2, characterized in that The method further comprises: When the second tool completes the corresponding second processing action and the first tool meets the passing condition of the tool detection, the second tool is moved to the detection area, and the third tool is moved to the processing area to perform tool detection on the second tool, and the third processing action is performed by the third tool at the same time.

4. The method according to any one of claims 1 to 3, characterized in that The step of moving the first tool to the detection area and the second tool to the processing area comprises: The first tool for performing a first processing action is moved to the detection area, and the second tool for performing a second processing action is moved to the processing area; the first processing action is not associated with the second processing action.

5. The method according to any one of claims 1 to 3, characterized in that After receiving the task start instruction and before moving the first tool to the processing area, the method further includes: Moving the first tool and the second tool to the detection area to perform tool detection on the first tool and the second tool; The moving of the first tool to the processing area is configured to be performed when both the first tool and the second tool meet a passing condition of tool detection.

6. The method according to any one of claims 1 to 3, characterized in that The machine tool has a processing chamber, and the processing chamber is provided with a safety door; after receiving the task start instruction and before moving the first tool to the processing area, the method further includes: receiving a door closing instruction in real time, wherein the door closing instruction is used to instruct the closing action of the safety door; According to the door closing instruction, the task start instruction is output.

7. The method according to claim 6, characterized in that The method further comprises: receiving a door opening instruction in real time, wherein the door opening instruction is used to instruct the opening action of the safety door; Outputting the task start instruction according to the door closing instruction includes: When the switch time difference between the door closing instruction and the adjacent door opening instruction is within a preset range, the task start instruction is output.

8. The method according to claim 7, characterized in that The real-time receiving of the door opening instruction includes: Obtain machining NC program; When the program name of the machining NC program meets a preset condition, the machining NC program is executed to receive the door closing instruction in real time.

9. A machine tool control device, characterized in that: processor; as well as a memory for storing executable instructions of the processor; The processor executes the executable instructions so that the machine tool control device implements the method according to any one of claims 1 to 8.

10. A machine tool, characterized in that: The machine tool control device comprises the machine tool control device according to claim 9; the tool of the machine tool comprises a first tool and a second tool, the machine tool has a processing area and a detection area, the tool performs processing in the processing area, and the tool performs tool detection in the detection area; The machine tool further includes a moving mechanism configured to move the first tool to the processing area in response to a first moving instruction; and for moving the first tool to the detection area in response to a second movement instruction; and Used to move the second tool to the processing area in response to a third movement instruction.

Citation Information

Patent Citations

  • Apparatus and method for detecting damage to tool in machine

    CN103249522A

  • Operational control method in machine tool

    US20180243833A1