Control method for machine tool guide rail lubrication and related device

By dynamically adjusting the lubrication mode according to the cumulative duration of the machine tool guide rail, the problems of poor lubrication effect and waste of lubrication grease are solved, and the effect of reducing wear and saving lubrication grease is achieved.

CN120255422APending Publication Date: 2025-07-04NANTONG GUOSHENG INTELLIGENCE TECH GRP CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510317257.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-03-18
Publication Date
2025-07-04

AI Technical Summary

Technical Problem

The lubrication method of existing machine tool guide rails leads to poor lubrication effect, especially when the machine tool does not turn on for a long time, and there is a problem of wasting lubricating grease.

Method used

According to the cumulative time of the machine tool guide rail at the end of the last lubrication, different lubrication modes are used for lubrication. For a longer cumulative time, the first lubrication mode (longer lubrication) or for a shorter cumulative time, the second lubrication mode (shorter lubrication) is used for lubrication, so as to reduce wear and save lubrication grease.

Benefits of technology

By dynamically adjusting the lubrication method, it reduces the wear of the machine guide rail, extends the service life of the machine tool, and saves the amount of lubricating grease.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120255422A_ABST
    Figure CN120255422A_ABST
Patent Text Reader

Abstract

The invention discloses a control method and related device for machine tool guide rail lubrication, and the method comprises the steps: responding to the startup of a machine tool, and obtaining the cumulative duration from the current moment to the end of the latest lubrication of the machine tool guide rail; judging whether the accumulated duration is greater than a first preset duration or not; when the accumulated duration is longer than the first preset duration, the machine tool guide rail is controlled to be lubricated in a first lubricating mode; when the accumulated duration is not larger than the first preset duration, the machine tool guide rail is controlled to be lubricated in a second lubricating mode; wherein the lubricating duration in the first lubricating mode is longer than the lubricating duration in the second lubricating mode. Through the method, abrasion of the machine tool guide rail can be reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the technical field of machine tool lubrication, and particularly to a control method for machine tool guideway lubrication and related devices. Background Art

[0002] Currently, the lubrication method for machine tool guideways is mainly that after the machine tool is powered on, the lubrication pump works for the first time (or works until the pressure reach signal is triggered), then stops for the second time, and then lubricates again for the first time, and so on, to achieve the lubrication of the machine tool guideway. However, such a lubrication method still lacks in the lubrication effect of the machine tool. Summary of the Invention

[0003] This application provides a control method for machine tool guideway lubrication and related devices, which can reduce the wear of the machine tool guideway.

[0004] In the first aspect of this application, a control method for machine tool guideway lubrication is provided. The method includes: in response to the machine tool being powered on, obtaining the cumulative duration from the current moment to the end of the most recent lubrication of the machine tool guideway; determining whether the cumulative duration is greater than a first preset duration; when the cumulative duration is greater than the first preset duration, controlling the machine tool guideway to be lubricated in a first lubrication mode; when the cumulative duration is not greater than the first preset duration, controlling the machine tool guideway to be lubricated in a second lubrication mode; wherein, the lubrication duration in the first lubrication mode is greater than the lubrication duration in the second lubrication mode.

[0005] In an embodiment, before the step of determining whether the cumulative duration is greater than the first preset duration, it further includes: determining whether the cumulative duration is greater than a second preset duration, where the second preset duration is less than the first preset duration; when the cumulative duration is greater than the second preset duration, then execute the step of determining whether the cumulative duration is greater than the first preset duration; when the cumulative duration is not greater than the second preset duration, then when the duration from the current moment to the end of the most recent lubrication of the machine tool guideway reaches the second preset duration, control the machine tool guideway to be lubricated in the second lubrication mode.

[0006] In an embodiment, the second lubrication mode is to lubricate the machine tool guideway for one working duration.

[0007] In an embodiment, the first lubrication mode is that the machine tool guideway is lubricated at a preset time interval, and each time the machine tool guideway is lubricated for one working duration, and the preset time interval is less than the second preset duration.

[0008] In one embodiment, the method further includes: after lubricating the machine tool guide rail, determining whether the machine tool guide rail moves; when the machine tool guide rail moves, controlling the machine tool guide rail to be lubricated in the second lubrication mode after a second preset duration from the end time of the previous lubrication; when the machine tool guide rail does not move, controlling the machine tool guide rail to be lubricated in the second lubrication mode after a third preset duration from the end time of the previous lubrication; wherein, the third preset duration is greater than the second preset duration.

[0009] In one embodiment, after the step of determining whether the machine tool guide rail moves after lubricating the machine tool guide rail, it further includes: when the machine tool guide rail does not move within the second preset duration from the end time of the previous lubrication and moves within the third preset duration from the end time of the previous lubrication, controlling the machine tool guide rail to be lubricated in the second lubrication mode.

[0010] In one embodiment, the method further includes: after each lubrication of the machine tool guide rail, updating the lubrication end time of the machine tool guide rail.

[0011] The second aspect of the present application provides a control device for lubricating a machine tool guide rail, including: an acquisition module, configured to obtain the cumulative duration from the current moment to the end of the most recent lubrication of the machine tool guide rail in response to the startup of the machine tool; a judgment module, configured to judge whether the cumulative duration is greater than a first preset duration; a first condition execution module, configured to when the cumulative duration is greater than the first preset duration, lubricate the machine tool guide rail in the first lubrication mode; a second condition execution module, configured to when the cumulative duration is not greater than the first preset duration, lubricate the machine tool guide rail in the second lubrication mode; wherein, the lubrication duration in the first lubrication mode is greater than the lubrication duration in the second lubrication mode.

[0012] The third aspect of the present application provides a numerical control machine tool, the numerical control machine tool includes a processor and a memory, and the processor is configured to execute a computer program stored in the memory to implement the steps in the method described in any one of the above embodiments.

[0013] The fourth aspect of the present application provides a computer-readable storage medium, the computer-readable storage medium stores a computer program, and the computer program can be executed by a processor to implement the steps in the driving method described in any one of the above embodiments.

[0014] Distinct from the prior art, the beneficial effects of the present application are as follows: The present application takes into account the influence of the cumulative duration on the lubrication effect, that is, the lubrication effect on the machine tool guide rail will decline due to factors such as its own oxidation, viscosity change, external pollution, or gravity over time. When the cumulative time is long, the machine tool guide rail should be fully lubricated; when the cumulative time is short, normal lubrication of the machine tool guide rail is sufficient. Therefore, by using different lubrication methods to lubricate the machine tool guide rail according to the cumulative duration, the wear of the machine tool guide rail can be reduced and the service life of the machine tool can be extended. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0016] Figure 1 is a schematic flowchart of an implementation manner of the control method for lubricating the machine tool guide rail of the present application;

[0017] Figure 2 is Figure 1 a schematic flowchart of an implementation manner before step S200 in

[0018] Figure 3 is in Figure 1 a schematic flowchart of an implementation manner after the machine tool guide rail lubrication is completed in the step;

[0019] Figure 4 is in Figure 1 a schematic flowchart of another implementation manner after the machine tool guide rail lubrication is completed in the step;

[0020] Figure 5 is a schematic structural diagram of an implementation manner of the control device for guide rail lubrication of the present application;

[0021] Figure 6 is a schematic structural diagram of an implementation manner of a numerically controlled machine tool of the present application;

[0022] Figure 7 is a schematic structural diagram of an implementation manner of a computer-readable storage medium of the present application. DETAILED DESCRIPTION OF THE EMBODIMENTS

[0023] The following will clearly and completely describe the technical solutions in the embodiments of the present application with reference to the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments. 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.

[0024] It should be noted that the terms "first" and "second" in the present application are only used for descriptive purposes and cannot be construed as indicating or implying relative importance or implicitly specifying the quantity of the indicated technical features. Thus, the features defined with "first" and "second" may explicitly or implicitly include at least one of such features. In the description of the present application, the meaning of "a plurality" is at least two, such as two, three, etc., unless otherwise specifically and clearly defined. In addition, the terms "comprising" and "having" and any variations thereof are intended to cover non-exclusive inclusion. For example, a process, method, system, product, or device that includes a series of steps or units is not limited to the listed steps or units, but optionally further includes unlisted steps or units, or optionally further includes other steps or units inherent to these processes, methods, products, or devices.

[0025] When a machine tool is in processing, it is often necessary to lubricate its guide rails, and the quality of the lubrication control method will greatly affect the lubrication effect. The lubrication control method in the prior art is to control the lubricating oil pump to lubricate the machine tool guide rails once every preset time period, that is, periodic lubrication. However, this lubrication method will cause waste of lubricating grease when the machine tool is not in processing, and at the same time, it cannot achieve an ideal lubrication effect when the machine tool has not been powered on for a long time.

[0026] Refer to Figure 1 , a control method for lubricating a machine tool guide rail is provided in the first aspect of the present application, and the method includes:

[0027] S100: In response to the machine tool being powered on, obtain the cumulative duration from the current moment to the end of the most recent lubrication of the machine tool guide rail.

[0028] Specifically, when the machine tool is powered on, obtain the current moment and the time when the most recent lubrication ends. The current moment can be the time point when the machine tool is powered on, or the time point after a certain time of delayed detection is set after the machine tool is powered on. Generally speaking, as long as the current moment is after the machine tool power-on time point and within a small time period of the machine tool power-on time point; the time point when the most recent lubrication ends refers to the end time point of the last lubrication before the most recent shutdown. Then the cumulative duration is obtained by subtracting the time point when the most recent lubrication ends from the current moment. It can be understood that the calculated cumulative duration is greater than or equal to the time difference between the current power-on time point and the last shutdown time point.

[0029] S200: Determine whether the cumulative duration is greater than a first preset duration.

[0030] Specifically, the first preset duration is used to measure the length of the machine tool shutdown time. Of course, different machine tools can set different first preset durations. It can be understood that if the cumulative duration is greater than the first preset duration, it can be considered that the time since the last lubrication is too long, or it can also be considered that the shutdown time is too long; if the cumulative duration is not greater than the first preset duration, it can be considered that the time since the last lubrication is shorter, or it can also be considered that the shutdown time is shorter. Therefore, for the above two situations, considering that during a long-term shutdown of the machine tool guide rail, the quality of the lubricating grease will also decline, resulting in a decrease in the lubrication effect. However, if the shutdown is short, the quality of the lubricating grease is still good and the lubrication effect is still excellent.

[0031] S300: When the cumulative duration is greater than the first preset duration, control the machine tool guide rail to be lubricated in a first lubrication mode.

[0032] Specifically, in the case where the cumulative duration is too long, that is, when the shutdown time is too long, control the machine tool guide rail to be lubricated in a first lubrication mode.

[0033] S400: When the cumulative duration is not greater than the first preset duration, control the machine tool guide rail to be lubricated in a second lubrication mode; wherein, the lubrication duration in the first lubrication mode is greater than the lubrication duration in the second lubrication mode.

[0034] Specifically, in the case where the cumulative duration is short, that is, when the shutdown time is short, control the machine tool guide rail to be lubricated in a second lubrication mode. Among them, since the lubrication duration in the first lubrication mode is greater than the lubrication duration in the second lubrication mode, in the case where the cumulative duration is too long, a longer lubrication time is selected, and in the case where the cumulative duration is short, a shorter lubrication time is selected. It can be understood that after a long-term shutdown, the machine tool guide rail is fully lubricated by lengthening the lubrication duration, avoiding wear due to insufficient lubrication of the machine tool guide rail.

[0035] This application is different from the prior art in that it takes into account the influence of the cumulative duration length on the lubrication effect, that is, the lubrication effect on the machine tool guide rail will decline due to factors such as its own oxidation, viscosity change, external pollution, or gravity over time. When the cumulative time is long, the machine tool guide rail should be fully lubricated; when the cumulative time is short, normal lubrication of the machine tool guide rail is sufficient. Therefore, different lubrication methods are adopted to lubricate the machine tool guide rail according to the cumulative duration, which can reduce the wear of the machine tool guide rail and extend the service life of the machine tool.

[0036] Refer to Figure 2 , in an embodiment, before the above step S200, it further includes:

[0037] S500: Determine whether the cumulative duration is greater than a second preset duration, where the second preset duration is less than the first preset duration.

[0038] Specifically, the second preset duration is less than the first preset duration. The second preset duration is generally a short duration. For the relationship between the cumulative duration and the second preset duration, the present application further makes a separate treatment. That is, in two cases of short time and extremely short time, different lubrication methods need to be adopted. The second preset duration is the time interval between two adjacent lubrications when the lubrication pump lubricates periodically during the normal operation of the machine tool guide rail. It can be understood that when the time point of this startup is very close to the time point of the last shutdown, and the time interval between startup and shutdown is less than the time interval of the periodic lubrication of the lubrication pump itself, there is no need to lubricate immediately to avoid excessive lubrication and waste of lubricating oil.

[0039] S600: When the cumulative duration is greater than the second preset duration, then execute the step of determining whether the cumulative duration is greater than the first preset duration.

[0040] Specifically, when the cumulative duration is greater than the time interval between two adjacent lubrications, it indicates that the machine tool guide rail needs to be lubricated. However, it is necessary to further determine whether the cumulative duration is greater than the first preset duration, that is, jump to step S200, and determine whether to execute step S300 or step S400 according to the magnitude of the cumulative duration.

[0041] S700: When the cumulative duration is not greater than the second preset duration, then when the duration from the current moment to the end of the most recent lubrication of the machine tool guide rail reaches the second preset duration, control the machine tool guide rail to be lubricated in the second lubrication mode.

[0042] Specifically, when the cumulative duration is not greater than the time interval between two adjacent lubrications, that is, the time from the current moment of this startup to the end of the last lubrication is quite short. Then, within such a short time, there is no need to lubricate again, which can save lubricating oil. Until the duration from the current moment to the end of the most recent lubrication of the machine tool guide rail reaches the time interval between two adjacent lubrications, control the machine tool guide rail to be lubricated in the second lubrication mode.

[0043] It can be seen from the above that the present application gives different lubrication methods for different cumulative durations. On the one hand, it can reduce the wear of the machine tool guide rail, and on the other hand, it can also save the usage amount of lubricating oil.

[0044] Of course, it should be noted that in the above embodiments, in the steps after the judgment, the lubrication duration executed is not limited to that provided in the above embodiments. In other embodiments, the executed lubrication duration can be adjusted according to the actual situation.

[0045] In one embodiment, the second lubrication mode is to lubricate the machine tool guide rail for one working duration.

[0046] Specifically, the working duration can be understood as the standard lubrication duration of the machine tool guide rail under normal operation, that is, in the powered-on state, when the machine tool guide rail is moving normally all the time, the lubrication pump performs periodic lubrication for the standard lubrication duration, and there will be a fixed duration of rest between every lubrication for the standard lubrication duration. This fixed duration is the time interval between two adjacent lubrications.

[0047] In one embodiment, the first lubrication mode is that the machine tool guide rail is lubricated at a preset time interval, and each time the machine tool guide rail is lubricated for one working duration, and the preset time interval is less than the second preset duration.

[0048] Specifically, the lubrication duration in the first lubrication mode is longer than that in the second lubrication mode. Therefore, when the second lubrication mode lubricates the machine tool guide rail for one working duration, the first lubrication mode can be multiple working durations with a preset time interval between adjacent working durations. The preset time interval cannot be equal to the second preset duration, and even less than the second preset duration, otherwise the lubrication effect will be no different from or even worse than the conventional periodic lubrication. Only when the preset time interval is less than the second preset duration can it ensure sufficient lubrication of the machine tool guide rail.

[0049] Of course, in some other embodiments, the first lubrication mode can also be continuous lubrication of the machine tool guide rail, and the total lubrication duration is longer than one working duration.

[0050] Refer to Figure 3 , in one embodiment, the method of the present application further includes:

[0051] S810: After lubricating the machine tool guide rail, determine whether the machine tool guide rail moves.

[0052] Specifically, when the machine tool guide rail moves, it will consume the lubricating grease on the guide rail. The reduction of the quality of the lubricating grease on the machine tool guide rail will have a greater impact on the lubrication effect of the machine tool guide rail. It is necessary to determine whether the machine tool guide rail moves, so as to process the movement situation of the machine tool guide rail separately. Among them, it can be judged whether the machine tool guide rail moves by obtaining the monitoring signal of the position sensor.

[0053] It should be noted that when judging whether the machine tool guide rail moves, it can be some guide rails of the machine tool or all guide rails of the machine tool. When some guide rails of the machine tool are selected as the judgment condition, the guide rails with higher movement frequency are usually selected. In this way, on the one hand, the monitoring workload can be reduced, and at the same time, the lubrication effect can reach an ideal state.

[0054] S820: When the machine tool guide rail moves, after a second preset time period from the end time of the previous lubrication, control the machine tool guide rail to be lubricated in a second lubrication mode.

[0055] Specifically, when the machine tool guide rail moves, the lubricating grease on the machine tool guide rail will be consumed at this time, and the lubrication effect will decrease due to the movement of the machine tool guide rail. Therefore, it is necessary to lubricate the machine tool guide rail after a second preset time period from the end time of the previous lubrication.

[0056] S830: When the machine tool guide rail does not move, after a third preset time period from the end time of the previous lubrication, control the machine tool guide rail to be lubricated in a second lubrication mode; wherein, the third preset time period is greater than the second preset time period.

[0057] Specifically, when the machine tool guide rail does not move, there will also be a certain natural loss of the lubricating grease on the machine tool guide rail at this time, and the lubrication effect will also decrease. Therefore, it is necessary to lubricate the machine tool guide rail after a third preset time period from the end time of the previous lubrication. Although the second lubrication mode is selected for lubrication in both cases of whether the machine tool guide rail moves or not, the waiting time is different. If the machine tool guide rail moves, the lubricating grease is consumed quickly and needs to be lubricated as soon as possible. At this time, lubrication is carried out after a second preset time period from the end time of the previous lubrication. If the machine tool guide rail does not move, the consumption of the lubricating grease is reduced without the factor of the guide rail movement, and it does not need to be lubricated as soon as possible. At this time, lubrication can be carried out after a third preset time period from the end time of the previous lubrication. If the second preset time period is also selected for waiting for lubrication, it will not only not increase the lubrication effect but also waste the lubricating grease. It can be seen that controlling the lubrication of the machine tool guide rail according to whether the machine tool guide rail moves can save the consumption of the lubricating grease to a certain extent.

[0058] In an embodiment, after the above step S810, it further includes: when the machine tool guide rail does not move within a second preset time period from the end time of the previous lubrication and moves within a third preset time period from the end time of the previous lubrication, control the machine tool guide rail to be lubricated in a second lubrication mode.

[0059] Specifically, the previous embodiment considered the movement of the machine tool guide rail within the second preset duration from the end time of the previous lubrication, and the non-movement within the third preset duration from the end time of the previous lubrication. However, in order to achieve a better lubrication effect, if the machine tool guide rail did not move within the second preset duration from the end time of the previous lubrication but moved within the third preset duration from the end time of the previous lubrication, and if lubrication was still carried out after the third preset duration from the end time of the previous lubrication, the lubrication effect during this period would be insufficient because the guide rail had already consumed lubricating grease. Therefore, within the time period between the second preset duration and the third preset duration from the end time of the previous lubrication, as long as the machine tool guide rail moves, it is necessary to immediately control the machine tool guide rail to be lubricated in the second lubrication mode.

[0060] Refer to Figure 4 , in one embodiment, the method of the present application further includes:

[0061] S910: After lubricating the machine tool guide rail, determine whether the movement amount of the machine tool guide rail is greater than the movement threshold.

[0062] Specifically, the movement of the machine tool guide rail will affect the consumption of lubricating grease. Therefore, the specific movement amount of the machine tool guide rail affects the consumption of lubricating grease. Generally speaking, the remaining amount of lubricating grease and the ease of wear of the machine tool guide rail are not completely linearly related. When the remaining amount of lubricating grease reaches a certain value, the ease of wear of the machine tool guide rail will increase sharply at this time. If lubrication is not carried out at this time, the damage to the machine tool guide rail will be quite large. And the consumption of lubricating grease and the movement amount of the machine tool guide rail show an approximate linear relationship within a certain range. Therefore, the consumption of lubricating grease can be indirectly determined by monitoring the movement amount of the machine tool guide rail. It should be noted that different types and sizes of guide rails have different consumption of lubricating grease.

[0063] S920: When the movement amount of the machine tool guide rail is greater than the movement threshold, then after the second preset duration from the end time of the previous lubrication, control the machine tool guide rail to be lubricated in the second lubrication mode.

[0064] Specifically, when the movement amount of the machine tool guide rail is large and greater than the movement threshold, at this time, the consumption of lubricating grease on the machine tool guide rail is large and the lubrication effect decreases. Therefore, it is necessary to lubricate the machine tool guide rail after the second preset duration from the end time of the previous lubrication.

[0065] S930: When the movement amount of the machine tool guide rail is not greater than the movement threshold, then after the third preset duration from the end time of the previous lubrication, control the machine tool guide rail to be lubricated in the second lubrication mode; where the third preset duration is greater than the second preset duration.

[0066] Specifically, when the moving amount of the machine tool guide rail is small and does not exceed the moving threshold, the consumption of lubricating grease on the machine tool guide rail is large at this time, and the lubrication effect decreases. Therefore, it is necessary to lubricate the machine tool guide rail after a third preset time duration from the end time of the previous lubrication. At the same time, considering the influence of the moving amount on the consumption of lubricating grease, when the moving amount does not exceed the moving threshold, the lubrication interval time of the guide rail can be appropriately extended to avoid waste caused by over-lubrication.

[0067] In one embodiment, the method of the present application further includes: after each lubrication of the machine tool guide rail, updating the lubrication end time of the machine tool guide rail.

[0068] Specifically, after each lubrication ends, the corresponding lubrication end time can cover the previous lubrication end time, which can reduce data occupancy. Of course, it is also possible not to cover the previous lubrication end time, but to record each lubrication end time to generate historical lubrication information, which is convenient for users to view the lubrication history and troubleshoot related reasons in case of abnormalities.

[0069] Refer to Figure 5 In the second aspect of the present application, a control device 10 for lubricating a machine tool guide rail is provided. The control device 10 includes an acquisition module 11, a judgment module 12, a first condition execution module 13, and a second condition execution module 14.

[0070] The acquisition module 11 is configured to, in response to the startup of the machine tool, acquire the cumulative time duration from the current moment to the end time of the most recent lubrication of the machine tool guide rail.

[0071] The judgment module 12 is configured to judge whether the cumulative time duration is greater than a first preset time duration.

[0072] The first condition execution module 13 is configured to, when the cumulative time duration is greater than the first preset time duration, lubricate the machine tool guide rail in a first lubrication mode.

[0073] The second condition execution module 14 is configured to, when the cumulative time duration is not greater than the first preset time duration, lubricate the machine tool guide rail in a second lubrication mode; wherein, the lubrication time duration in the first lubrication mode is greater than the lubrication time duration in the second lubrication mode.

[0074] Regarding the control method of the lubrication control device 10 of the numerical control machine tool, reference can be made to the above embodiments.

[0075] Refer to Figure 6 In the third aspect of the present application, a numerical control machine tool 20 is provided. The numerical control machine tool 20 includes a processor 21 and a memory 22. The processor 21 is configured to execute a computer program stored in the memory 22 to implement the steps in the method in any one of the above embodiments.

[0076] In this embodiment, the processor 21 may also be referred to as a CPU (Central Processing Unit). The processor 21 may be an integrated circuit chip with the ability to process signals. The processor 21 may also be a general-purpose processor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components. The general-purpose processor may be a microprocessor, or the processor 21 may also be any conventional processor, etc.

[0077] Refer to Figure 7 , Figure 7 FIG. is a schematic structural diagram of an embodiment of the computer-readable storage medium of the present application. The computer-readable storage medium 30 stores a computer program 31, and the computer program 31 can be executed by a processor to implement the steps in any of the above methods. For the detailed method steps, reference can be made to the relevant content above, and details are not described herein.

[0078] Among them, the computer-readable storage medium 30 may specifically be a USB flash drive, a mobile hard disk, a read-only memory (ROM, Read-Only Memory), a random access memory (RAM, Random Access Memory), a magnetic disk, or an optical disc, etc., which can store the computer program 31, or it may also be a server storing the computer program 31. The server can send the stored computer program 31 to other devices for running, or it can also run the stored computer program 31 by itself.

[0079] The above are only the embodiments of the present application, and do not limit the patent scope of the present application. Any equivalent structure or equivalent process transformation made by using the content of the specification and drawings of the present application, or directly or indirectly applied in other related technical fields, shall be equally included in the patent protection scope of the present application.

Claims

1. A control method for lubricating a machine tool guide rail, characterized in that, The method includes: In response to the machine tool being powered on, obtaining the cumulative duration from the current moment to the end of the most recent lubrication of the machine tool guide rail; Judging whether the cumulative duration is greater than a first preset duration; When the cumulative duration is greater than the first preset duration, controlling the machine tool guide rail to be lubricated in a first lubrication mode; When the cumulative duration is not greater than the first preset duration, controlling the machine tool guide rail to be lubricated in a second lubrication mode; wherein, the lubrication duration in the first lubrication mode is greater than the lubrication duration in the second lubrication mode.

2. The method according to claim 1, wherein Before the step of judging whether the cumulative duration is greater than the first preset duration, it further includes: Judging whether the cumulative duration is greater than a second preset duration, wherein the second preset duration is less than the first preset duration; When the cumulative duration is greater than the second preset duration, then execute the step of judging whether the cumulative duration is greater than the first preset duration; When the cumulative duration is not greater than the second preset duration, then when the duration from the current moment to the end of the most recent lubrication of the machine tool guide rail reaches the second preset duration, controlling the machine tool guide rail to be lubricated in the second lubrication mode.

3. The method according to claim 2, wherein The second lubrication mode is to lubricate the machine tool guide rail for one working duration.

4. The method according to claim 3, wherein The first lubrication mode is that the machine tool guide rail is lubricated at a preset time interval, and each time the machine tool guide rail is lubricated for one working duration, and the preset time interval is less than the second preset duration.

5. The method according to claim 1, characterized in that The method further includes: After the machine tool guide rail is lubricated, judging whether the machine tool guide rail moves; When the machine tool guide rail moves, then after a second preset duration from the end time of the previous lubrication, controlling the machine tool guide rail to be lubricated in the second lubrication mode; When the machine tool guide rail does not move, then after a third preset duration from the end time of the previous lubrication, controlling the machine tool guide rail to be lubricated in the second lubrication mode; wherein, the third preset duration is greater than the second preset duration.

6. The method according to claim 5, characterized in that, After the step of judging whether the machine tool guide rail moves after the machine tool guide rail is lubricated, it further includes: When the machine tool guide rail does not move within the second preset duration from the end time of the previous lubrication and moves within the third preset duration from the end time of the previous lubrication, controlling the machine tool guide rail to be lubricated in the second lubrication mode.

7. The method according to claim 1, wherein The method further includes: After each lubrication of the machine tool guide rail, updating the lubrication end time of the machine tool guide rail.

8. A control device for lubricating a machine tool guide rail, characterized in that, It includes: An acquisition module, configured to obtain the cumulative duration from the current moment to the end of the most recent lubrication of the machine tool guide rail in response to the machine tool being powered on; A judgment module, configured to judge whether the cumulative duration is greater than a first preset duration; A first condition execution module, configured to when the cumulative duration is greater than the first preset duration, the machine tool guide rail is lubricated in a first lubrication mode; A second condition execution module, configured to lubricate the machine tool guide rail in a second lubrication mode when the accumulated duration is not greater than the first preset duration; wherein, the lubrication duration in the first lubrication mode is greater than the lubrication duration in the second lubrication mode.

9. A numerical control machine tool, characterized in that, The numerical control machine tool includes a processor and a memory, and the processor is configured to execute a computer program stored in the memory to implement the steps in the method according to any one of claims 1-7.

10. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program, and the computer program can be executed by a processor to implement the steps in the method according to any one of claims 1-7.