Idle stroke elimination control method based on numerical control machine tool, computer equipment and numerical control machine tool

By interacting and flowing information between the machine tool control module and the central control module of the CNC machine tool, the evacuation process status is automatically adjusted to make it consistent, the problem of inconsistent states on the machine tool side and the central control side is solved, and the reliability and safety of processing are improved.

CN120276376APending Publication Date: 2025-07-08INTELLIGENT GRINDOCTOR TECH SHENZHEN CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311856602.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-12-29
Publication Date
2025-07-08

AI Technical Summary

Technical Problem

The air-waste passage status of the CNC machine tool and the central control side are inconsistent, resulting in low processing efficiency or safety risks, and it is impossible to reliably enter the corresponding air-waste passage status according to the operator's settings request.

Method used

Through the information interaction and flow between the machine tool control module and the central control module, the evacuation process status of the two is automatically adjusted to make it consistent, ensuring that the CNC machine tool enters the corresponding evacuation process status according to the operator's settings request.

Benefits of technology

It improves the processing reliability and safety of CNC machine tools, avoids uncertain processing situations, and improves the consistency and stability of processing.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120276376A_ABST
    Figure CN120276376A_ABST
Patent Text Reader

Abstract

The embodiment of the invention relates to the technical field of numerical control machine tools, and discloses an idle stroke elimination control method based on a numerical control machine tool, computer equipment and the numerical control machine tool. The method comprises the steps of determining a target idle stroke eliminating state of a target module in response to an idle stroke eliminating request, obtaining a reference idle stroke eliminating state of a candidate module, and controlling a machine tool machining module according to the target idle stroke eliminating state and the reference idle stroke eliminating state. According to the embodiment, the idle stroke eliminating request can be responded, the idle stroke eliminating state of the machine tool control module and the idle stroke eliminating state of the central control module are automatically obtained, then the machine tool machining module is controlled by integrating the idle stroke eliminating states of the machine tool control module and the central control module, and therefore it can be reliably guaranteed that the numerical control machine tool enters the corresponding idle stroke eliminating state according to the setting request of an operator; the uncertain machining condition of the numerical control machine tool caused by controlling the numerical control machine tool according to the single-side idle stroke eliminating state is avoided, and then the machining reliability and the machining safety are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present application relate to the technical field of numerical control machine tools, and in particular, to a method for eliminating idle travel based on a numerical control machine tool, a computer device, and a numerical control machine tool. Background Art

[0002] The numerical control machine tools provided by the related technologies are usually configured with an idle travel elimination function. Among them, a machine tool control panel is provided on one side of the machine tool body of the numerical control machine tool, and a central control control panel is provided on the central control side. An operator can start or close the idle travel elimination function on the machine tool control panel, and can also start or close the idle travel elimination function on the central control control panel. However, the numerical control machine tools provided by the related technologies are prone to the situation that the idle travel elimination states on the machine tool side and the central control side are inconsistent, resulting in the numerical control machine tool being unable to correctly enter the corresponding idle travel elimination state according to the operator's setting request, and thus various uncertain risks are likely to occur, such as the tool hitting the workpiece, or the tool being unable to efficiently machine the workpiece, and then the workpiece cannot be reliably machined. Summary of the Invention

[0003] An object of the embodiments of the present application is to provide a method for eliminating idle travel based on a numerical control machine tool, a computer device, and a numerical control machine tool, so as to solve the technical problem that the related technologies cannot reliably enter the corresponding idle travel elimination state according to the operator's setting request.

[0004] In a first aspect, the embodiments of the present application provide a method for eliminating idle travel based on a numerical control machine tool. The numerical control machine tool includes a machine tool processing module, a machine tool control module, and a central control module. One of the machine tool control module and the central control module is a target module, and the other of the machine tool control module and the central control module is a candidate module. The method includes:

[0005] Respond to an idle travel elimination request, and determine the target idle travel elimination state of the target module;

[0006] Obtain the reference idle travel elimination state of the candidate module;

[0007] Control the machine tool processing module according to the target idle travel elimination state and the reference idle travel elimination state.

[0008] Optionally, the target module is configured with a target operation interface, and the idle travel elimination request includes a first idle travel elimination request. Responding to the idle travel elimination request and determining the target idle travel elimination state of the target module includes:

[0009] Respond to the idle travel elimination operation received by the target operation interface, and generate a first idle travel elimination request;

[0010] Determine the target idle travel elimination state of the target module according to the first idle travel elimination request.

[0011] Optionally, after determining the target emptying process state of the target module, it further includes: notifying the candidate module of the target emptying process state so that the candidate module records the target emptying process state.

[0012] Optionally, controlling the machine tool processing module according to the target emptying process state and the reference emptying process state includes:

[0013] Determining whether the target emptying process state is consistent with the reference emptying process state;

[0014] If they are consistent, controlling the machine tool processing module according to the target emptying process state;

[0015] If they are inconsistent, generating a prompt message, or sending a status modification request to the candidate module so that the candidate module modifies the reference emptying process state to the target emptying process state according to the status modification request.

[0016] Optionally, the target module is configured with a target operation interface, and generating the prompt message includes: controlling the target operation interface to present the prompt message.

[0017] Optionally, the target emptying process state includes an emptying process start state or an emptying process stop state, and controlling the machine tool processing module according to the target emptying process state includes:

[0018] If the target emptying process state is the emptying process start state, controlling the machine tool processing module to enter the emptying process start state;

[0019] If the target emptying process state is the emptying process stop state, controlling the machine tool processing module to enter the emptying process stop state.

[0020] Optionally, the emptying process request includes a second emptying process request, and responding to the emptying process request and determining the target emptying process state of the target module includes: responding to the second emptying process request sent by the candidate module and determining the target emptying process state of the target module.

[0021] Optionally, the second emptying process request carries a reference emptying process identifier, and obtaining the reference emptying process state of the candidate module includes:

[0022] Parsing out the reference emptying process identifier from the second emptying process request;

[0023] Determining the reference emptying process state according to the reference emptying process identifier.

[0024] Optionally, controlling the machine tool processing module according to the target emptying process state and the reference emptying process state includes:

[0025] Determine whether the target non-cutting travel state is consistent with the reference non-cutting travel state;

[0026] If they are consistent, control the machine tool processing module according to the target non-cutting travel state;

[0027] If they are inconsistent, modify the target non-cutting travel state to the reference non-cutting travel state, or send feedback information to the target module.

[0028] Optionally, the method further includes:

[0029] Detect whether a heartbeat packet sent by the candidate module is received within a preset time period;

[0030] If not, generate an alarm message;

[0031] If so, end the detection operation.

[0032] In a second aspect, an embodiment of the present application provides a computer device, including a memory and a processor, the memory is connected to the processor, the processor is configured to execute one or more computer programs stored in the memory, and when the processor executes the one or more computer programs, the computer device implements the above method.

[0033] In a third aspect, an embodiment of the present application provides a numerically controlled machine tool, including:

[0034] A machine tool processing module;

[0035] A machine tool control module;

[0036] A central control module;

[0037] The above computer device, and the computer device is communicatively connected to the machine tool processing module, the machine tool control module, and the central control module respectively.

[0038] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, characterized in that the computer-readable storage medium stores a computer program, the computer program includes program instructions, and when the program instructions are executed by a processor, the processor executes the above method.

[0039] The embodiments of the present application can achieve the following technical effects: In the method for eliminating idle travel based on a numerically controlled machine tool provided by the embodiments of the present application, in response to an idle travel elimination request, the target idle travel state of the target module is determined, the reference idle travel state of the candidate module is obtained, and the machine tool is controlled to process the module according to the target idle travel state and the reference idle travel state. This embodiment can respond to the idle travel elimination request, automatically obtain the idle travel state of the machine tool control module and the idle travel state of the central control module, and then comprehensively control the machine tool to process the module based on the idle travel states of both, so as to reliably ensure that the numerically controlled machine tool enters the corresponding idle travel state according to the settings requested by the operator, avoid controlling the numerically controlled machine tool based on the unilateral idle travel state and resulting in uncertain machining situations of the numerically controlled machine tool, and thereby improve the machining reliability and machining safety. Description of the Drawings

[0040] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for the description of the embodiments of the present application will be briefly introduced below. Obviously, the drawings in the following description are only some embodiments of the present application. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative efforts.

[0041] Figure 1 It is a schematic structural diagram of a numerically controlled machine tool provided by the embodiments of the present application;

[0042] Figure 2 It is a schematic flow diagram of a method for eliminating idle travel based on a numerically controlled machine tool provided by the embodiments of the present application;

[0043] Figure 3 It is a schematic diagram of the operation interface of the central control module provided by the embodiments of the present application;

[0044] Figure 4 It is a schematic diagram of the operation interface of the machine tool control module provided by the embodiments of the present application;

[0045] Figure 5 It is a schematic diagram of the first application scenario of the first implementation manner provided by the embodiments of the present application, where the target module is the central control module and the candidate module is the machine tool control module;

[0046] Figure 6 It is a schematic diagram of the second application scenario of the first implementation manner provided by the embodiments of the present application, where the target module is the machine tool control module and the candidate module is the central control module;

[0047] Figure 7 It is a schematic diagram of the first application scenario of the second implementation manner provided by the embodiments of the present application, where the candidate module is the machine tool control module and the target module is the central control module;

[0048] Figure 8 Schematic diagram of the second application scenario of the first implementation provided by the embodiment of the present application, where the candidate module is the central control module and the target module is the machine tool control module;

[0049] Figure 9 Schematic diagram of the structure of a non - idle stroke control device based on a numerically controlled machine tool provided by the embodiment of the present application;

[0050] Figure 10 Schematic diagram of the structure of a computer device provided by the embodiment of the present application. Detailed implementation manners

[0051] In order to make the objectives, technical solutions and advantages of the present application more clear and understandable, the present application will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present application.

[0052] It should be noted that if there is no conflict, the various features in the embodiments of the present application can be combined with each other, and all are within the protection scope of the present application. In addition, although functional module division is performed in the device schematic diagram and the logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in a different order from the module division in the device or the flowchart. Furthermore, the terms "first", "second", "third", etc. used in the present application do not limit the data and the execution order, but are only used to distinguish the same items or similar items with basically the same functions and effects.

[0053] The numerically controlled machine tools provided by the related technologies are usually configured with a non - idle stroke system, and the non - idle stroke system supports the functions of turning on and turning off the non - idle stroke function. Among them, the non - idle stroke system can shorten the non - idle stroke time during the machining process and avoid collisions between the tool and the workpiece.

[0054] The working principle of the non - idle stroke system is as follows: when the operator turns on the non - idle stroke function, the feed axis of the machine tool feeds towards the workpiece at the first feed speed. When it is monitored that a certain threshold is greater than the preset threshold, it can be determined at this time that the tool and the workpiece are about to contact, and then switch to the second feed speed to approach the workpiece. Among them, the second feed speed is less than the first feed speed, so as to shorten the non - idle stroke. When the operator turns off the non - idle stroke function, the feed axis of the machine tool moves to a safe position at a predetermined distance from the workpiece at the first feed speed, and then switches to the second feed speed to approach the workpiece.

[0055] As described above, the first feed rate is the speed at which the feed axis of the machine tool reaches the safe position. Due to the error within a certain range of the blank workpiece, to ensure that there is no impact risk for the feed axis during the machining process, the feed axis needs to move to the safe position at the first feed rate and then switch to the second feed rate to approach the blank workpiece. The second feed rate is the speed at which the feed axis of the machine tool approaches the workpiece from the safe position.

[0056] The numerically controlled machine tools provided by the related art can support the enabling or disabling of the cancellation of idle travel function on both the machine tool side and the central control side. On the machine tool side, the operator operates the cancellation of idle travel button on the machine tool control panel to enable or disable the cancellation of idle travel function. On the central control side, the operator operates the cancellation of idle travel button on the central control panel to also enable or disable the cancellation of idle travel function. However, the machine tool control panel and the central control panel provided by the related art cannot communicate with each other, which easily leads to the situation where the cancellation of idle travel status on the machine tool side is inconsistent with that on the central control side.

[0057] For example, the operator enables the cancellation of idle travel function on the central control side. However, the cancellation of idle travel status on the machine tool side is disabled, resulting in the numerically controlled machine tool not machining the workpiece in accordance with the enabled cancellation of idle travel status but machining the workpiece in accordance with the disabled cancellation of idle travel status, thus leading to low machining efficiency.

[0058] For example, the operator disables the cancellation of idle travel function on the central control side. However, the cancellation of idle travel status on the machine tool side is enabled, resulting in the numerically controlled machine tool not machining the workpiece in accordance with the disabled cancellation of idle travel status but machining the workpiece in accordance with the enabled cancellation of idle travel status. In this way, the feed axis will contact the workpiece at the first feed rate, causing the tool to collide with the workpiece, thereby damaging the tool or the workpiece.

[0059] For example, the operator enables the cancellation of idle travel function on the machine tool side. However, the cancellation of idle travel status on the central control side is disabled. Although the numerically controlled machine tool machines the workpiece in accordance with the enabled cancellation of idle travel status, when the operator subsequently opens the interaction interface on the central control panel, it is found that the cancellation of idle travel status on the central control panel is disabled, and it is mistakenly believed that the numerically controlled machine tool is currently machining the workpiece in accordance with the disabled cancellation of idle travel status, thus easily resulting in incorrect machining situations.

[0060] For example, the operator disables the cancellation of idle travel function on the machine tool side. However, the cancellation of idle travel status on the central control side is enabled. Although the numerically controlled machine tool machines the workpiece in accordance with the disabled cancellation of idle travel status, when the operator subsequently opens the interaction interface on the central control panel, it is found that the cancellation of idle travel status on the central control panel is enabled, and it is mistakenly believed that the numerically controlled machine tool is currently machining the workpiece in accordance with the enabled cancellation of idle travel status, thus easily leading to incorrect machining situations.

[0061] The embodiments of the present application can adjust by integrating the blanking elimination states of the above two to ensure that the blanking elimination states of the above two are adjusted to the same blanking elimination state, thereby promoting machining consistency and stability.

[0062] The embodiments of the present application can perform information interaction and transfer between the machine tool control module and the central control module, which is beneficial to promoting the negotiation between the blanking elimination states of the two, so that the blanking elimination states of the two after adjustment can remain consistent.

[0063] The embodiments of the present application provide a numerical control machine tool, where the numerical control machine tool can be a vertical numerical control machine tool or a horizontal numerical control machine tool. Please refer to Figure 1 , this embodiment can be applied to the following system architecture: The numerical control machine tool includes a machine tool processing module 11, a machine tool control module 12, and a central control module 13 communicatively connected to the numerical control machine tool. In some possible embodiments, the central control module can be integrated into the numerical control machine tool.

[0064] The machine tool processing module 11 is the machine tool body of the numerical control machine tool, and is used to process workpieces according to various processing commands. The machine tool processing module 11 includes a bed, a motion mechanism, and a tool. The bed is used to support the motion mechanism and the tool, and the motion control mechanism is installed on the bed. The motion mechanism includes a spindle, a feed system, and a servo system. The spindle is used to drive the tool to rotate to realize the processing of the workpiece. The feed system is used to control the movement of the workpiece relative to the tool. The servo system is responsible for controlling and adjusting the motion accuracy and position of the motion control mechanism.

[0065] The machine tool control module 12 is installed on the machine tool processing module 11 and is used to control the working state of the machine tool processing module 11. Among them, the machine tool control module 12 can receive programs and instructions input by the user and control the working state of the machine tool processing module 11.

[0066] The central control module 13 is communicatively connected to the machine tool control module 12. The central control module 13 can receive programs and instructions input by the user and send instructions through the machine tool control module 12 to control the working state of the machine tool processing module 11. In one possible example, the central control module 13 can be an edge-side industrial computer and is communicatively connected to the numerical control system through a network cable. In another example, the central control module 13 can be integrated into the numerical control machine tool.

[0067] Exemplarily, the machine tool control module 12 or the central control module 13 can be a desktop computer, a control panel with logical processing functions, or a control module with an interaction interface. The controller of the control module can be a single-chip microcomputer, a PLC controller, a DSP controller, an ARM processor, or an FPGA controller, etc.

[0068] It can also be understood that either the machine tool control module 12 or the central control module 13 can execute the non - idle stroke control method based on the numerical control machine tool described in each of the following embodiments. For example, the machine tool control module 12 can execute the non - idle stroke control method based on the numerical control machine tool described in each of the following embodiments, or the central control module 13 can execute the non - idle stroke control method based on the numerical control machine tool described in each of the following embodiments.

[0069] As an exemplary illustration of the embodiments of the present application, the embodiments of the present application provide a non - idle stroke control method based on a numerical control machine tool. Among them, the numerical control machine tool can be the numerical control machine tool described in each of the above - mentioned embodiments, the target module is one of the machine tool control module and the central control module, and the candidate module is the other module of the machine tool control module and the central control module. That is: when the machine tool control module is the target module, the central control module is the candidate module. When the central control module is the target module, the machine tool control module is the candidate module.

[0070] Please refer to Figure 2 , the non - idle stroke control method based on the numerical control machine tool includes the following steps:

[0071] S21: Respond to the non - idle stroke request and determine the target non - idle stroke state of the target module.

[0072] In this step, the non - idle stroke request is a request to trigger the execution of the non - idle stroke unification operation. The non - idle stroke unification operation means that: after adjustment, the non - idle stroke state of the target module is consistent with the non - idle stroke state of the candidate module. The target non - idle stroke state is the non - idle stroke state of the target module.

[0073] S22: Obtain the reference non - idle stroke state of the candidate module.

[0074] In this step, the reference non - idle stroke state is the non - idle stroke state of the candidate module.

[0075] S23: Control the machine tool processing module according to the target non - idle stroke state and the reference non - idle stroke state.

[0076] In this step, in some embodiments, when the target non - idle stroke state is inconsistent with the reference non - idle stroke state, in this embodiment, the non - idle stroke state of one of the machine tool control module and the central control module is adjusted so that the adjusted non - idle stroke state of one is consistent with the non - idle stroke state of the other, and the machine tool processing module is controlled according to the non - idle stroke state of the other. In some embodiments, when the target non - idle stroke state is inconsistent with the reference non - idle stroke state, this embodiment generates a prompt message to prompt the operator to adjust the non - idle stroke states of the machine tool control module and the central control module to be consistent.

[0077] This embodiment can respond to the blanking process request, automatically obtain the blanking process status of the machine tool control module and the blanking process status of the central control module, and then comprehensively control the machine tool processing module based on the blanking process status of both. In this way, it can reliably ensure that the CNC machine tool enters the corresponding blanking process status according to the settings requested by the operator, avoid controlling the CNC machine tool based on the unilateral blanking process status, which may lead to uncertain machining situations of the CNC machine tool, and thus improve the machining reliability and machining safety.

[0078] In terms of adjusting the blanking process status of the machine tool control module to be consistent with that of the central control module, the embodiments of the present application provide at least the following two implementation manners, specifically as follows:

[0079] In the first implementation manner, the execution subject is the target module. Among them, the target module can be the central control module or the machine tool control module.

[0080] The target module is configured with a target operation interface. The blanking process request includes a first blanking process request. Responding to the blanking process request and determining the target blanking process status of the target module includes the following steps:

[0081] S211: Respond to the blanking process operation received by the target operation interface to generate a first blanking process request.

[0082] S212: Determine the target blanking process status of the target module according to the first blanking process request.

[0083] In a possible example, the above blanking process operation is received through the input unit.

[0084] The input unit may include a touch panel and other input devices.

[0085] The touch panel is also called a touch screen, which can collect touch operations of users on or near it (such as operations of users using fingers, styli or any suitable objects or accessories on or near the touch panel), and drive the corresponding connection devices according to a pre-set program. Optionally, the touch panel may include two parts: a touch detection device and a touch controller. Among them, the touch detection device detects the touch position of the user and detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into touch point coordinates, and then sends it to the processor, and can receive commands sent by the processor and execute them. In addition, the touch panel can be implemented in multiple types such as resistive, capacitive, infrared, and surface acoustic wave.

[0086] In addition to the touch panel, the input unit may further include other input devices. Specifically, the other input devices may include, but are not limited to, one or more of a physical keyboard, function keys (such as switch buttons, etc.), trackballs, mice, joysticks, etc.

[0087] In S211, the target operation interface can be the operation interface of a physical keyboard or the UI operation interface displayed on a touch screen integrating input and output functions. In some embodiments, refer to Figure 3 , when the target module is the central control module, the target operation interface 31 of the central control module is the UI operation interface. In some embodiments, refer to Figure 4 , when the target module is the machine tool control module, the target operation interface 41 of the machine tool control module is also the UI operation interface.

[0088] The null stroke elimination operation includes a null stroke elimination start operation or a null stroke elimination stop operation. The null stroke elimination start operation is an operation for starting the null stroke elimination function, and the null stroke elimination stop operation is an operation for stopping the null stroke elimination function.

[0089] The target operation interface is provided with a first null stroke elimination switch. In response to the null stroke elimination operation received by the target operation interface, generating a first null stroke elimination request includes the following steps: In response to the null stroke elimination operation received by the first null stroke elimination switch on the target operation interface, generating a target null stroke elimination identifier, and packing the target null stroke elimination identifier into a first null stroke elimination request, where the target null stroke elimination identifier is used to identify the target null stroke elimination state.

[0090] The target null stroke elimination identifier includes a null stroke elimination start identifier or a null stroke elimination stop identifier. In response to the null stroke elimination operation received by the first null stroke elimination switch on the target operation interface, generating a target null stroke elimination identifier includes the following steps: In response to the null stroke elimination operation received by the first null stroke elimination switch on the target operation interface, determining whether the null stroke elimination operation is a null stroke elimination start operation. If the null stroke elimination operation is a null stroke elimination start operation, then generating a null stroke elimination start identifier. If the null stroke elimination operation is a null stroke elimination stop operation, then generating a null stroke elimination stop identifier.

[0091] Please combine with Figure 3 , the target operation interface 31 of the central control module is provided with a null stroke elimination switch 32. When an operator inputs a null stroke elimination start operation on the target operation interface 31 to the null stroke elimination switch 32, for example, the null stroke elimination start operation is a click operation, the central control module generates a null stroke elimination start identifier and packs the null stroke elimination start identifier into a null stroke elimination request. When an operator inputs a null stroke elimination stop operation on the target operation interface 31 to the null stroke elimination switch 32, for example, the null stroke elimination stop operation is a double - click operation, the central control module generates a null stroke elimination stop identifier and packs the null stroke elimination stop identifier into a first null stroke elimination request.

[0092] In the central control module, after an operator activates the null stroke elimination switch 42, the central control module outputs a control signal to the machine tool processing module based on different judgment results by judging whether a collision occurs, and the feed speed of the machine tool processing module changes.

[0093] Please combine with Figure 4, the target operation interface 41 of the machine tool control module is provided with a blanking elimination switch 42. When the operator inputs a blanking elimination start operation on the target operation interface 41, for example, the blanking elimination start operation is a click operation, the central control module generates a blanking elimination start identifier and packages the blanking elimination start identifier into a blanking elimination request. When the operator inputs a blanking elimination stop operation on the target operation interface 41, for example, the blanking elimination stop operation is a click operation again, the central control module generates a blanking elimination stop identifier and packages the blanking elimination stop identifier into a first blanking elimination request.

[0094] In a possible example, on the UI operation interface, when the blanking elimination function is in the closed state, the blanking elimination button icon becomes dim, and when the blanking elimination function is in the open state, the blanking elimination button icon becomes bright.

[0095] In the machine tool control module, after the operator activates the blanking elimination switch 42, the feed axis of the machine tool processing module no longer moves to the safe position at the first feed speed and then changes to the second feed speed, but directly contacts the workpiece at the first feed speed. After the operator closes the blanking elimination switch 42, the feed axis of the machine tool processing module moves to the safe position at the first feed speed and then switches to the second feed speed to approach the workpiece.

[0096] In S212, the first blanking elimination request carries a target blanking elimination identifier. Determining the target blanking elimination state of the target module according to the first blanking elimination request includes the following steps: parsing the first blanking elimination request to obtain the target blanking elimination identifier. If the target blanking elimination identifier is a blanking elimination start identifier, it is determined that the target blanking elimination state of the target module is the blanking elimination start state. If the target blanking elimination identifier is a blanking elimination stop identifier, it is determined that the target blanking elimination state of the target module is the blanking elimination stop state.

[0097] In this embodiment, a target operation interface is configured for the target module, and the operator can select the blanking elimination state of the target module through the target operation interface, which is beneficial to improving the efficiency of the operator in switching the blanking elimination state of the CNC machine tool.

[0098] In some embodiments, after determining the target blanking elimination state of the target module, the method further includes: notifying the target blanking elimination state to the candidate module so that the candidate module records the target blanking elimination state.

[0099] For example, when the target module is the central control module and the candidate module is the machine tool control module, the operator operates the central control module to select to enter the blanking elimination start state, that is, the target blanking elimination state is the blanking elimination start state. The central control module notifies the blanking elimination start state to the machine tool control module in the form of a message, and the machine tool control module records the blanking elimination start state on the local mark register for subsequent blanking elimination consistency operations of the machine tool control module.

[0100] For example, when the target module is a machine tool control module and the candidate module is a central control module, the operator operates the machine tool control module to select to enter the non-cutting stroke off state, that is, the target non-cutting stroke state is the non-cutting stroke off state. The machine tool control module notifies the non-cutting stroke off state to the central control module in the form of a message, and the central control module records the non-cutting stroke off state on the local flag register for subsequent non-cutting stroke consistency operations performed by the central control module.

[0101] This embodiment can notify the target non-cutting stroke state to the candidate module, providing a basis for information judgment for the candidate module to perform non-cutting stroke consistency operations, which is beneficial to the non-cutting stroke consistency operations being smoothly performed on either the machine tool control module or the central control module.

[0102] Obtaining the reference non-cutting stroke state of the candidate module includes the following steps: calling the reference non-cutting stroke state pre-stored in the target module.

[0103] In some embodiments, controlling the machine tool processing module according to the target non-cutting stroke state and the reference non-cutting stroke state includes the following steps:

[0104] S231: Determine whether the target non-cutting stroke state is consistent with the reference non-cutting stroke state.

[0105] S232: If they are consistent, control the machine tool processing module according to the target non-cutting stroke state.

[0106] S233: If they are inconsistent, generate a prompt message, or send a status modification request to the candidate module so that the candidate module modifies the reference non-cutting stroke state to the target non-cutting stroke state according to the status modification request.

[0107] In S231, this embodiment compares the target non-cutting stroke state with the reference non-cutting stroke state to determine whether the target non-cutting stroke state is consistent with the reference non-cutting stroke state.

[0108] In S232, since the target non-cutting stroke state is consistent with the reference non-cutting stroke state, therefore, the non-cutting stroke states of the target module and the candidate module do not need to be adjusted, and the target module directly controls the machine tool processing module according to the target non-cutting stroke state.

[0109] As described above, the target non-cutting stroke state includes the non-cutting stroke on state or the non-cutting stroke off state. Controlling the machine tool processing module according to the target non-cutting stroke state includes the following steps: if the target non-cutting stroke state is the non-cutting stroke on state, control the machine tool processing module to enter the non-cutting stroke on state; if the target non-cutting stroke state is the non-cutting stroke off state, control the machine tool processing module to enter the non-cutting stroke off state.

[0110] When the machine tool processing module enters the open state of the clearance elimination, the feed axis of the machine tool processing module directly contacts the workpiece at the first feed speed. When the machine tool processing module enters the closed state of the clearance elimination, the feed axis of the machine tool processing module moves to a safe position at the first feed speed, and then switches to the second feed speed to approach the workpiece.

[0111] In S233 , the prompt information is information to prompt the operator that the idle state elimination process status of the target module is inconsistent with the idle state elimination process status of the candidate module.

[0112] In some embodiments, generating prompt information includes: voice broadcasting the prompt information.

[0113] In some embodiments, generating prompt information includes: generating lighting information, where the lighting information is the prompt information.

[0114] In some embodiments, the target module is configured with a target operation interface, and generating prompt information includes: controlling the target operation interface to present the prompt information.

[0115] For example, please combine Figure 3 , the target module is the central control module, and the candidate module is the machine tool control module. Before the operator operates the central control module, the reference air-elimination process state of the machine tool control module is the air-elimination process closed state. Figure 3 As shown, the operator inputs the empty space elimination process start operation to the empty space elimination process switch 32 on the target operation interface 31, and the central control module enters the empty space elimination process start state, that is, the target empty space elimination process state is the empty space elimination process start state.

[0116] The central control module determines that the target air-elimination process state is inconsistent with the reference air-elimination process state, and presents a prompt message 33 on the target operation interface 31. For example, the prompt message 33 is: It is recognized that the machine tool air-elimination process function is not turned on. The machine tool air-elimination process function must be turned on at the same time to achieve monitoring. The operator sees the prompt message on the target operation interface of the central control module, and then moves to the machine tool control module, and then displays the prompt message on the target operation interface. Figure 4 Turn on the air-eliminating switch on the target operation interface of the machine tool control module shown in the figure. The machine tool control module sends the new reference air-eliminating state to the central control module. The central control module detects that the target air-eliminating state is consistent with the reference air-eliminating state, and then controls the machine tool processing module according to the target air-eliminating state.

[0117] For example, please combine Figure 4 , the target module is the machine tool control module, and the candidate module is the central control module. Before the operator operates the machine tool control module, the reference air-elimination process state of the central control module is the air-elimination process closed state. Figure 4 As shown, the operator inputs the void elimination start operation to the void elimination switch 42 on the target operation interface 41, and the machine tool control module enters the void elimination start state, that is, the target void elimination state is the void elimination start state.

[0118] When the machine tool control module determines that the target non-cutting travel state is inconsistent with the reference non-cutting travel state, a prompt message 43 is presented on the target operation interface 41. For example, the prompt message 43 is: Please turn on the software non-cutting travel button first, otherwise there is a risk of collision. When the operator sees the prompt message on the target operation interface of the machine tool control module, the operator then moves to the central control module, and then opens the non-cutting travel switch on the target operation interface of the central control module as shown Figure 3 below. The central control module sends the new reference non-cutting travel state to the machine tool control module. When the machine tool control module detects that the target non-cutting travel state is consistent with the reference non-cutting travel state, it controls the machine tool processing module according to the target non-cutting travel state.

[0119] In some embodiments, the target module sends a status modification request to the candidate module, so that the candidate module modifies the reference non-cutting travel state to the target non-cutting travel state according to the status modification request. Wherein, the status modification request carries a target non-cutting travel identifier.

[0120] The candidate module parses the status modification request to obtain the target non-cutting travel identifier, and the candidate module modifies the reference non-cutting travel state to the target non-cutting travel state. For example, please combine Figure 3 with the central control module determining that the target non-cutting travel state is inconsistent with the reference non-cutting travel state, sending the non-cutting travel start identifier corresponding to the non-cutting travel start state to the machine tool control module, and the machine tool control module modifying its own non-cutting travel off state to the non-cutting travel on state.

[0121] This embodiment can not only promote the consistency between the non-cutting travel state of the central control module and the non-cutting travel state of the machine tool control module, but also provide a prompt message for the user when the non-cutting travel state of the central control module is inconsistent with the non-cutting travel state of the machine tool control module, so that the user can clearly understand the state of the machine tool processing module, and is beneficial to the reliable and safe processing of the machine tool processing module.

[0122] To elaborate in detail on the non-cutting travel control method based on a numerically controlled machine tool provided in this embodiment, the following two application scenarios are provided in this embodiment to illustrate the first implementation manner, specifically as follows:

[0123] The first application scenario:

[0124] Please refer to Figure 5 below. The target module is the central control module, the candidate module is the machine tool control module, the operating side is the central control side, and the passive side is the machine tool side. The specific process of the non-cutting travel control method based on the numerically controlled machine tool is as Figure 5 shown:

[0125] S51: The target operation interface of the central control module detects a non-cutting travel operation and generates a first non-cutting travel request.

[0126] S52: The central control module determines the target blanking distance state according to the first blanking distance request.

[0127] S53: The central control module sends the target blanking distance state to the machine tool control module.

[0128] S54: The machine tool control module saves the target blanking distance state.

[0129] S55: The central control module calls the locally pre-stored reference blanking distance state.

[0130] S56: The central control module determines whether the target blanking distance state is consistent with the reference blanking distance state.

[0131] S57: If they are consistent, the central control module controls the machine tool processing module according to the target blanking distance state.

[0132] S58: If they are inconsistent, the central control module presents a prompt message on the target operation interface.

[0133] The second application scenario:

[0134] Please refer to Figure 6 , the target module is the machine tool control module, the candidate module is the central control module, the operating side is the machine tool side, and the passive side is the central control side. The specific process of the blanking distance control method based on the numerical control machine tool is as Figure 6 shown:

[0135] S61: The target operation interface of the machine tool control module detects a blanking distance operation and generates a first blanking distance request.

[0136] S62: The machine tool control module determines the target blanking distance state according to the first blanking distance request.

[0137] S63: The machine tool control module sends the target blanking distance state to the central control module.

[0138] S64: The central control module saves the target blanking distance state.

[0139] S65: The machine tool control module calls the locally pre-stored reference blanking distance state.

[0140] S66: The machine tool control module determines whether the target blanking distance state is consistent with the reference blanking distance state.

[0141] S67: If they are consistent, the machine tool control module controls the machine tool processing module according to the target blanking distance state.

[0142] S68: If they are inconsistent, the machine tool control module presents a prompt message on the target operation interface.

[0143] Generally speaking, the central control module provided in this embodiment can interact with the machine tool control module, so that the blanking process elimination states of the two can be kept consistent, which is beneficial to improving the processing safety, reliability and certainty.

[0144] In the second implementation manner, the execution subject is the target module, where the target module can be the central control module or the machine tool control module.

[0145] The blanking process elimination request includes a second blanking process elimination request. In response to the blanking process elimination request, determining the target blanking process elimination state of the target module includes the following steps: responding to the second blanking process elimination request sent by the candidate module and determining the target blanking process elimination state of the target module.

[0146] Responding to the second blanking process elimination request sent by the candidate module and determining the target blanking process elimination state of the target module includes the following steps: responding to the second blanking process elimination request sent by the candidate module and calling the target blanking process elimination state pre-stored in the target module.

[0147] The candidate module is configured with a reference operation interface, where the reference operation interface can refer to Figure 4 or Figure 5 the provided operation interface. The reference operation interface is provided with a second blanking process elimination switch. The candidate module responds to the blanking process elimination operation received by the second blanking process elimination switch on the reference operation interface, generates a reference blanking process elimination identifier, and packs the reference blanking process elimination identifier into a second blanking process elimination request, where the reference blanking process elimination identifier is used to identify the reference blanking process elimination state.

[0148] The reference blanking process elimination identifier includes a blanking process elimination start identifier or a blanking process elimination stop identifier. Responding to the blanking process elimination operation received by the second blanking process elimination switch on the reference operation interface and generating the reference blanking process elimination identifier includes the following steps: responding to the blanking process elimination operation received by the second blanking process elimination switch on the reference operation interface, determining whether the blanking process elimination operation is a blanking process elimination start operation. If the blanking process elimination operation is a blanking process elimination start operation, then generate a blanking process elimination start identifier. If the blanking process elimination operation is a blanking process elimination stop operation, then generate a blanking process elimination stop identifier.

[0149] For example, the target module is the central control module and the candidate module is the machine tool control module. The user operates the second blanking process elimination switch on the reference operation interface of the machine tool control module, triggering the machine tool control module to send a second blanking process elimination request to the central control module. The central control module is triggered by the second blanking process elimination request and calls the target blanking process elimination state pre-stored locally.

[0150] For another example, the target module is the machine tool control module and the candidate module is the central control module. The user operates the second blanking process elimination switch on the reference operation interface of the central control module, triggering the central control module to send a second blanking process elimination request to the machine tool control module. The machine tool control module is triggered by the second blanking process elimination request and calls the target blanking process elimination state pre-stored locally.

[0151] In some embodiments, the second blanking process request carries a reference blanking process identifier, and obtaining the reference blanking process status of the candidate module includes the following steps: parsing the reference blanking process identifier from the second blanking process request, and determining the reference blanking process status according to the reference blanking process identifier.

[0152] For example, the target module is a central control module, the candidate module is a machine tool control module, and the machine tool control module packs the blanking process start identifier as the reference blanking process identifier in the second blanking process request. After receiving the second blanking process request, the central control module parses the second blanking process request to obtain the reference blanking process identifier. Since the reference blanking process identifier is the blanking process start identifier, the central control module determines that the reference blanking process status is the blanking process start state. Alternatively, the machine tool control module packs the blanking process stop identifier as the reference blanking process identifier in the second blanking process request. After receiving the second blanking process request, the central control module parses the second blanking process request to obtain the reference blanking process identifier. Since the reference blanking process identifier is the blanking process stop identifier, the central control module determines that the reference blanking process status is the blanking process stop state.

[0153] In some embodiments, controlling the machine tool processing module according to the target blanking process status and the reference blanking process status includes the following steps:

[0154] S234: Determine whether the target blanking process status is consistent with the reference blanking process status.

[0155] S235: If they are consistent, control the machine tool processing module according to the target blanking process status.

[0156] S236: If they are inconsistent, modify the target blanking process status to the reference blanking process status, or send feedback information to the target module.

[0157] In S234, in this embodiment, the target blanking process status is compared with the reference blanking process status to determine whether the target blanking process status is consistent with the reference blanking process status.

[0158] In S235, since the target blanking process status is consistent with the reference blanking process status, therefore, the blanking process status of the target module and the candidate module does not need to be adjusted, and the target module directly controls the machine tool processing module according to the target blanking process status.

[0159] In S236, for example, please refer to Figure 3 , the target module is a machine tool control module, and the candidate module is a central control module. Before the operator operates the machine tool control module, the reference blanking process status of the central control module is the blanking process stop state, and the target blanking process status of the machine tool control module is also the blanking process stop state. As Figure 3As shown, the operator inputs the emptying process start operation to the emptying process switch on the reference operation interface of the central control module, and the central control module packs the emptying process start mark in the second emptying process request, and sends the second emptying process request to the machine tool control module. On the one hand, the machine tool control module is triggered by the second emptying process request and calls the locally pre-stored target emptying process state. On the other hand, the machine tool control module parses the second emptying process request and obtains the emptying process start mark. The machine tool control module determines that the reference emptying process state of the central control module is the emptying process start state, and the machine tool control module determines that the target emptying process state (i.e., the emptying process closed state) is consistent with the reference emptying process state. If the free space elimination state (i.e. free space elimination state) is inconsistent, the machine tool control module changes the target free space elimination state (i.e. free space elimination state) to the free space elimination state. In this way, the machine tool control module can respond to the free space elimination state of the central control module as the operating side (i.e. the operator operating the central control module) without human intervention, and automatically changes its own free space elimination state to be consistent with the free space elimination state of the central control module. In this way, the free space elimination state of the machine tool control module and the central control module can be kept consistent, and there is no need for human to go to the machine tool control module for manual adjustment, thereby improving the robustness of maintaining the consistency of the free space elimination state.

[0160] The feedback information is information that prompts the operator that the emptying process state of the target module is inconsistent with the emptying process state of the candidate module.

[0161] In some embodiments, generating feedback information includes: voice broadcasting the feedback information.

[0162] In some embodiments, generating feedback information includes: generating lighting information, where the lighting information is the feedback information.

[0163] In some embodiments, the target module is configured with a target operation interface, and generating feedback information includes: controlling the target operation interface to present the feedback information.

[0164] This embodiment can not only promote the consistency between the free space elimination state of the central control module and the free space elimination state of the machine tool control module, but also provide prompt information to the user when the free space elimination state of the central control module is inconsistent with the free space elimination state of the machine tool control module, so that the user can clearly understand the status of the machine tool processing module, and it is beneficial for the machine tool processing module to perform processing reliably and safely.

[0165] In order to elaborate on the air clearance control method based on a CNC machine tool provided in this embodiment, this embodiment provides the following two application scenarios to illustrate the second implementation method, as follows:

[0166] The first application scenario:

[0167] See also Figure 7, the candidate module is the machine tool control module, the target module is the central control module, the operating side is the machine tool side, and the passive side is the central control side. The specific process of the empty stroke elimination control method based on the numerical control machine tool is as Figure 7 shown below:

[0168] S71: The reference operation interface of the machine tool control module detects an empty stroke elimination operation and sends a second empty stroke elimination request to the central control module.

[0169] S72: Triggered by the second empty stroke elimination request, the central control module calls the target empty stroke elimination state pre-stored locally.

[0170] S73: The central control module determines the reference empty stroke elimination identifier of the machine tool control module according to the second empty stroke elimination request.

[0171] S74: The central control module judges whether the target empty stroke elimination state is consistent with the reference empty stroke elimination state.

[0172] S75: If they are consistent, the central control module controls the machine tool processing module according to the target empty stroke elimination state.

[0173] S76: If they are inconsistent, the central control module modifies the target empty stroke elimination state to the reference empty stroke elimination state.

[0174] The second application scenario:

[0175] Please refer to Figure 8 , the candidate module is the central control module, the target module is the machine tool control module, the operating side is the central control side, and the passive side is the machine tool side. The specific process of the empty stroke elimination control method based on the numerical control machine tool is as Figure 8 shown below:

[0176] S81: The reference operation interface of the central control module detects an empty stroke elimination operation and sends a second empty stroke elimination request to the machine tool control module.

[0177] S82: Triggered by the second empty stroke elimination request, the machine tool control module calls the target empty stroke elimination state pre-stored locally.

[0178] S83: The machine tool control module determines the reference empty stroke elimination identifier of the central control module according to the second empty stroke elimination request.

[0179] S84: The machine tool control module judges whether the target empty stroke elimination state is consistent with the reference empty stroke elimination state.

[0180] S85: If they are consistent, the machine tool control module controls the machine tool processing module according to the target empty stroke elimination state.

[0181] S86: If they are inconsistent, the machine tool control module modifies the target empty stroke elimination state to the reference empty stroke elimination state.

[0182] Generally speaking, the central control module provided in this embodiment can interact with the machine tool control module, enabling the empty stroke elimination states of both to be consistent, which is beneficial to improving machining safety, reliability, and certainty.

[0183] In some embodiments, the method further includes the following steps: detecting whether a heartbeat packet sent by a candidate module is received within a preset duration. If not, an alarm message is generated. If so, the detection operation ends.

[0184] For example, if the target module is the machine tool control module and the candidate module is the central control module, when the central control module experiences a program crash, is accidentally turned off, freezes, or for other reasons cannot communicate normally with the machine tool control module, the central control module will stop sending heartbeat packets to the machine tool control module. When the machine tool control module does not receive a heartbeat packet sent by the central control module within the preset duration, the machine tool control module considers the central control module to be in an abnormal state and thus generates an alarm message, which can improve the working reliability of the machine tool control module and the central control module. When the machine tool control module receives a heartbeat packet sent by the central control module within the preset duration, the machine tool control module considers the central control module to be in a normal state and thus ends the detection operation. Herein, the preset duration is customized by the designer based on engineering experience. For example, the preset duration is 1 minute.

[0185] Generally speaking, there are deficiencies in the interaction mechanism between the machine tool control module and the central control module provided by the related technology. It requires the artificial memory of the operator to keep the empty stroke elimination states on both sides consistent. Moreover, when an abnormal situation occurs in the central control module, the operator often cannot detect it in time and needs to make a manual judgment and monitoring.

[0186] By adopting the methods provided in the above respective embodiments, the embodiments of the present application can automatically adjust the empty stroke elimination state of the machine tool control module to be consistent with that of the central control module. In addition, the embodiments of the present application detect whether there is an abnormal situation in the central control module by whether a heartbeat packet is sent. In this way, the downtime caused by potential safety hazards can be reduced, the occurrence of unexpected events can be reduced, the maintenance cost can be lowered, the manual operation and monitoring time can be reduced, and the work efficiency can be improved.

[0187] It should be noted that in the above respective embodiments, there is not necessarily a certain sequence among the above steps. Those of ordinary skill in the art can understand according to the description of the embodiments of the present application that in different embodiments, the above steps can have different execution sequences, that is, they can be executed in parallel or exchanged, etc.

[0188] As another aspect of the embodiments of the present application, the embodiments of the present application provide a control device for eliminating idle travel based on a numerically controlled machine tool. Among them, the control device for eliminating idle travel based on a numerically controlled machine tool can be a software module. The software module includes a number of instructions stored in a memory, and a processor can access the memory and call the instructions for execution to complete the method for controlling the elimination of idle travel based on a numerically controlled machine tool described in each of the above embodiments.

[0189] In some embodiments, the control device for eliminating idle travel based on a numerically controlled machine tool can also be built by hardware devices. For example, the control device for eliminating idle travel based on a numerically controlled machine tool can be built by one or more than two chips, and each chip can work in coordination with each other to complete the method for controlling the elimination of idle travel based on a numerically controlled machine tool described in each of the above embodiments. For another example, the control device for eliminating idle travel based on a numerically controlled machine tool can also be built by various logic devices, such as being built by a general-purpose processor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA), a single-chip microcomputer, an ARM (Acorn RISC Machine), or other programmable logic devices, discrete gate or transistor logic, discrete hardware components, or any combination of these components.

[0190] The control device 900 for eliminating idle travel based on a numerically controlled machine tool includes a state determination module 901, a state acquisition module 902, and a module control module 903.

[0191] The state determination module 901 is configured to respond to an idle travel elimination request and determine the target idle travel state of the target module. The state acquisition module 902 is configured to acquire the reference idle travel state of the candidate module. The module control module 903 is configured to control the machining module of the machine tool according to the target idle travel state and the reference idle travel state. This embodiment can respond to the idle travel elimination request, automatically obtain the idle travel state of the machine tool control module and the idle travel state of the central control module, and then comprehensively control the machining module of the machine tool based on the idle travel states of both, so as to reliably ensure that the numerically controlled machine tool enters the corresponding idle travel state according to the setting request of the operator, avoid controlling the numerically controlled machine tool based on the unilateral idle travel state and resulting in uncertain machining situations of the numerically controlled machine tool, and thus improve the machining reliability and machining safety.

[0192] In some embodiments, the target module is configured with a target operation interface, and the idle travel elimination request includes a first idle travel elimination request. The state determination module 901 is specifically configured to: respond to the idle travel elimination operation received by the target operation interface, generate a first idle travel elimination request, and determine the target idle travel state of the target module according to the first idle travel elimination request.

[0193] In some embodiments, after determining the target emptying process state of the target module, the state determination module 901 is specifically configured to: notify the target emptying process state to the candidate module so that the candidate module records the target emptying process state.

[0194] In some embodiments, the module control module 903 is specifically configured to: determine whether the target emptying process state is consistent with the reference emptying process state. If they are consistent, control the machine tool processing module according to the target emptying process state. If they are inconsistent, generate a prompt message, or send a status modification request to the candidate module so that the candidate module modifies the reference emptying process state to the target emptying process state according to the status modification request.

[0195] In some embodiments, the target module is configured with a target operation interface, and the module control module 903 is specifically configured to: control the target operation interface to present a prompt message.

[0196] In some embodiments, the target emptying process state includes an emptying process start state or an emptying process stop state. The module control module 903 is specifically configured to: if the target emptying process state is the emptying process start state, control the machine tool processing module to enter the emptying process start state. If the target emptying process state is the emptying process stop state, control the machine tool processing module to enter the emptying process stop state.

[0197] In some embodiments, the emptying process request includes a second emptying process request. The state determination module 901 is specifically configured to: respond to the second emptying process request sent by the candidate module and determine the target emptying process state of the target module.

[0198] In some embodiments, the second emptying process request carries a reference emptying process identifier. The state determination module 901 is specifically configured to: parse the reference emptying process identifier from the second emptying process request and determine the reference emptying process state according to the reference emptying process identifier.

[0199] In some embodiments, the module control module 903 is specifically configured to: determine whether the target emptying process state is consistent with the reference emptying process state. If they are consistent, control the machine tool processing module according to the target emptying process state. If they are inconsistent, modify the target emptying process state to the reference emptying process state, or send feedback information to the target module.

[0200] In some embodiments, the module control module 903 is specifically configured to: detect whether a heartbeat packet sent by the candidate module is received within a preset duration. If not, generate an alarm message. If so, end the detection operation.

[0201] It should be noted that the above empty stroke elimination control device based on a numerically controlled machine tool can execute the empty stroke elimination control method based on a numerically controlled machine tool provided by the embodiments of the present application, and has corresponding function modules and beneficial effects for executing the method. For technical details not described in detail in the embodiments of the empty stroke elimination control device based on a numerically controlled machine tool, reference can be made to the empty stroke elimination control method based on a numerically controlled machine tool provided by the embodiments of the present application.

[0202] See Figure 10 , Figure 10 is a schematic structural diagram of a computer device provided by an embodiment of the present application. The computer device 100 includes one or more processors 101 and a memory 102. The memory 102 is connected to one or more processors 101, for example, connected to the processor 101 through a bus.

[0203] The processor 101 is configured to support the computer device to execute the corresponding functions in the method described in the above method embodiments. The processor may be a central processing unit (CPU), a network processor (NP), a hardware chip, or any combination thereof. The above hardware chip may be an application specific integrated circuit (ASIC), a programmable logic device (PLD), or a combination thereof. The above PLD may be a complex programmable logic device (CPLD), a field-programmable gate array (FPGA), a generic array logic (GAL), or any combination thereof.

[0204] The memory 102 is used to store program codes and the like. The memory 102 may include a volatile memory (VM), such as a random access memory (RAM); the memory may also include a non-volatile memory (NVM), such as a read-only memory (ROM), a flash memory, a hard disk drive (HDD), or a solid-state drive (SSD); the memory may also include a combination of the above types of memories.

[0205] The memory 102 can be used to store non-volatile software programs, non-volatile computer-executable programs, and modules, such as the program instructions / modules corresponding to the non-cutting stroke control method based on a numerically controlled machine tool in the embodiments of the present application. By running the non-volatile software programs, instructions, and modules stored in the memory, the processor executes various functional applications and data processing of the non-cutting stroke control method based on a numerically controlled machine tool and the non-cutting stroke control device based on a numerically controlled machine tool, that is, implements the functions of each module or unit of the non-cutting stroke control method based on a numerically controlled machine tool and the non-cutting stroke control device based on a numerically controlled machine tool provided in the above method embodiments.

[0206] The memory 102 may include a program storage area and a data storage area. Among them, the program storage area can store an operating system and application programs required for at least one function. The data storage area can store data created according to the use of the non-cutting stroke control device based on a numerically controlled machine tool. In some embodiments, the memory may optionally include a memory remotely provided relative to the processor, and these remote memories can be connected to the non-cutting stroke control device based on a numerically controlled machine tool through a network. Examples of the above network include but are not limited to the Internet, enterprise intranet, local area network, mobile communication network, and combinations thereof.

[0207] The one or more modules are stored in the memory and, when executed by the one or more processors, execute the non-cutting stroke control method based on a numerically controlled machine tool in any of the above method embodiments. For example, execute the method steps described in the above method embodiments and implement the functions of the modules described in the above device embodiments.

[0208] The embodiments of the present application further provide a computer-readable storage medium. The computer-readable storage medium stores a computer program, and the computer program includes program instructions. When the program instructions are executed by a computer, the computer is caused to execute the method as described in the foregoing embodiments.

[0209] Those of ordinary skill in the art can understand that all or part of the processes in implementing the methods in the above embodiments can be completed by instructing relevant hardware through a computer program. The program can be stored in a computer-readable storage medium. When the program is executed, it can include the processes of the embodiments of the above various methods. Among them, the storage medium can be a magnetic disk, an optical disk, a read-only memory (ROM), a random access memory (RAM), or the like.

[0210] The foregoing disclosure is only for the preferred embodiments of the present application. Of course, the scope of the rights of the present application cannot be limited thereby. Therefore, equivalent changes made according to the claims of the present application still fall within the scope covered by the present application.

Claims

1. A control method for eliminating idle travel based on a numerical control machine tool, characterized in that, The numerically controlled machine tool includes a machine tool processing module, a machine tool control module, and a central control module. One of the machine tool control module and the central control module is a target module, and the other is a candidate module. The method includes: Responding to a blanking stroke request to determine the target blanking stroke state of the target module; Obtaining the reference blanking stroke state of the candidate module; Controlling the machine tool processing module according to the target blanking stroke state and the reference blanking stroke state.

2. The method according to claim 1, characterized in that The target module is configured with a target operation interface. The blanking stroke request includes a first blanking stroke request. Responding to the blanking stroke request to determine the target blanking stroke state of the target module includes: Responding to the blanking stroke operation received by the target operation interface to generate a first blanking stroke request; Determining the target blanking stroke state of the target module according to the first blanking stroke request.

3. The method according to claim 2, wherein After determining the target blanking stroke state of the target module, it further includes: Notifying the target blanking stroke state to the candidate module so that the candidate module records the target blanking stroke state.

4. The method according to claim 1, wherein The controlling the machine tool processing module according to the target blanking stroke state and the reference blanking stroke state includes: Judging whether the target blanking stroke state is consistent with the reference blanking stroke state; If they are consistent, controlling the machine tool processing module according to the target blanking stroke state; If they are inconsistent, generating a prompt message, or sending a status modification request to the candidate module so that the candidate module modifies the reference blanking stroke state to the target blanking stroke state according to the status modification request.

5. The method according to claim 4, wherein The target module is configured with a target operation interface. The generating the prompt message includes: Controlling the target operation interface to present the prompt message.

6. The control method according to claim 4, characterized in that, The target blanking stroke state includes a blanking stroke on state or a blanking stroke off state. The controlling the machine tool processing module according to the target blanking stroke state includes: If the target blanking stroke state is the blanking stroke on state, controlling the machine tool processing module to enter the blanking stroke on state; If the target blanking stroke state is the blanking stroke off state, controlling the machine tool processing module to enter the blanking stroke off state.

7. The method according to claim 1, wherein The blanking stroke request includes a second blanking stroke request. Responding to the blanking stroke request to determine the target blanking stroke state of the target module includes: Responding to the second blanking stroke request sent by the candidate module to determine the target blanking stroke state of the target module.

8. The method according to claim 7, characterized in that The second blanking stroke request carries a reference blanking stroke identifier. The obtaining the reference blanking stroke state of the candidate module includes: Parsing out the reference blanking stroke identifier from the second blanking stroke request; Determining the reference blanking stroke state according to the reference blanking stroke identifier.

9. The method according to claim 1, characterized in that, The controlling the machine tool processing module according to the target blanking stroke state and the reference blanking stroke state includes: Judging whether the target blanking stroke state is consistent with the reference blanking stroke state; If they are consistent, controlling the machine tool processing module according to the target blanking stroke state; If they are inconsistent, modifying the target blanking stroke state to the reference blanking stroke state, or sending feedback information to the target module.

10. The method according to any one of claims 1 to 9, characterized in that, It further includes: Detect whether a heartbeat packet sent by the candidate module is received within a preset duration; If not, generate an alarm message; If so, end the detection operation.

11. A computer device, characterized in that, It includes a memory and a processor, the memory is connected to the processor, and the processor is configured to execute one or more computer programs stored in the memory. When the processor executes the one or more computer programs, the computer device implements the method according to any one of claims 1-10.

12. A numerical control machine tool, characterized in that, It includes: A machine tool processing module; A machine tool control module; A central control module; The computer device according to claim 11, wherein the computer device is communicatively connected to the machine tool processing module, the machine tool control module, and the central control module respectively.

13. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program, and the computer program includes program instructions. When the program instructions are executed by a processor, the processor executes the method according to any one of claims 1-10.