CN112034784A - Machining method, device, equipment and storage medium for machine tool - Google Patents

Machining method, device, equipment and storage medium for machine tool Download PDF

Info

Publication number
CN112034784A
CN112034784A CN202010796246.XA CN202010796246A CN112034784A CN 112034784 A CN112034784 A CN 112034784A CN 202010796246 A CN202010796246 A CN 202010796246A CN 112034784 A CN112034784 A CN 112034784A
Authority
CN
China
Prior art keywords
program
machine tool
machining
segment number
rollback
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202010796246.XA
Other languages
Chinese (zh)
Other versions
CN112034784B (en
Inventor
黄琛琦
何春茂
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Gree Electric Appliances Inc of Zhuhai
Original Assignee
Gree Electric Appliances Inc of Zhuhai
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Gree Electric Appliances Inc of Zhuhai filed Critical Gree Electric Appliances Inc of Zhuhai
Priority to CN202010796246.XA priority Critical patent/CN112034784B/en
Publication of CN112034784A publication Critical patent/CN112034784A/en
Application granted granted Critical
Publication of CN112034784B publication Critical patent/CN112034784B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/18Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of programme data in numerical form
    • G05B19/19Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of programme data in numerical form characterised by positioning or contouring control systems, e.g. to control position from one programmed point to another or to control movement along a programmed continuous path
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B23MACHINE TOOLS; METAL-WORKING NOT OTHERWISE PROVIDED FOR
    • B23QDETAILS, COMPONENTS, OR ACCESSORIES FOR MACHINE TOOLS, e.g. ARRANGEMENTS FOR COPYING OR CONTROLLING; MACHINE TOOLS IN GENERAL CHARACTERISED BY THE CONSTRUCTION OF PARTICULAR DETAILS OR COMPONENTS; COMBINATIONS OR ASSOCIATIONS OF METAL-WORKING MACHINES, NOT DIRECTED TO A PARTICULAR RESULT
    • B23Q15/00Automatic control or regulation of feed movement, cutting velocity or position of tool or work
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P70/00Climate change mitigation technologies in the production process for final industrial or consumer products
    • Y02P70/10Greenhouse gas [GHG] capture, material saving, heat recovery or other energy efficient measures, e.g. motor control, characterised by manufacturing processes, e.g. for rolling metal or metal working

Abstract

The application relates to a machining method, a device, equipment and a storage medium of a machine tool, wherein the method comprises the following steps: when the machine tool is powered off and restarted, acquiring memory information of the machine tool when the machine tool is powered off last time; judging whether the program segment number is the last segment number of the first machining program or not to obtain a judgment result, and acquiring a second machining program according to the judgment result; and controlling the machine tool to execute the machining operation from the position corresponding to the initial segment number of the second machining program. The method and the device are used for solving the problems that the machine tool is damaged and the machining precision of parts is low due to the fact that the machine tool is directly machined continuously according to the memory information after the machine tool is powered off and powered on.

Description

Machining method, device, equipment and storage medium for machine tool
Technical Field
The present disclosure relates to the field of computer technologies, and in particular, to a method, an apparatus, a device, and a storage medium for machining a machine tool.
Background
The normal operation of the numerical control machine tool is not disconnected with a stable power supply, the machine tool stops running and loses processing information due to large power supply fluctuation or accidental power failure, and therefore when the machine tool is accidentally powered off, the processing information during power failure needs to be memorized, and the machine tool is waited to be powered on again and then continues to process at the power failure position according to the memorized processing information.
However, the machining is continued directly at the power-off position based on the stored information, which may cause a reduction in the machining accuracy of the parts and damage to the machine due to the wrong feed of the machine.
Disclosure of Invention
The application provides a machining method, a machining device, machining equipment and a storage medium of a machine tool, and aims to solve the problems that the machine tool is damaged and the machining precision of parts is low due to the fact that the machine tool continues to machine directly according to memory information after power failure and power restoration are conducted.
In a first aspect, the present application provides a method of machining a machine tool, comprising:
when the machine tool is restarted after power failure, acquiring memory information of the machine tool when the machine tool is powered off last time, wherein the memory information comprises: a program segment number of a first machining program that is running at the time of the last power outage;
judging whether the program segment number is the last segment number of the first machining program or not to obtain a judgment result, and acquiring a second machining program according to the judgment result;
and controlling the machine tool to execute the machining operation from the position corresponding to the initial segment number of the second machining program.
Optionally, according to the judgment result, acquiring a second machining program, including:
if the judgment result is yes, acquiring the next machining program to be executed after the execution of the first machining program is finished as the second machining program;
and if the judgment result is negative, acquiring the first machining program as the second machining program.
Optionally, the remembered information further includes: a first position of the machine tool in operation at a last power outage;
controlling the machine tool to execute the machining operation from the position corresponding to the start segment number of the second machining program, and the method comprises the following steps:
acquiring a second position of the machine tool when the power is off and restarted;
generating a rollback program according to the position of the program segment number in the first machining program and a comparison result of whether the first position and the second position are the same;
and executing the rollback program, controlling the machine tool to reach a position corresponding to the initial segment number of the second machining program from the second position, and executing machining operation.
Optionally, generating a rollback program according to the position of the program segment number in the first machining program and a comparison result of whether the first position and the second position are the same, including:
if the first position is different from the second position and the program segment number is the last segment number of the first machining program, taking the first position as a position corresponding to the initial segment number of the second machining program to generate a first rollback program, and taking the first rollback program as the rollback program, wherein the first rollback program is used for controlling the machine tool to rollback from the second position to the first position.
Optionally, generating a rollback program according to the position of the program segment number in the first machining program and a comparison result of whether the first position and the second position are the same, including:
if the first position is different from the second position and the program segment number is not the initial segment number of the first machining program or the last segment number of the first machining program, taking the position corresponding to the initial segment number of the first machining program as the position corresponding to the initial segment number of the second machining program, and generating a first rollback program and a second rollback program;
the first rollback program is used for controlling the machine tool to rollback from the second position to the first position, and the second rollback program is used for controlling the machine tool to rollback from the first position to a position corresponding to a start segment number of the second machining program;
and recombining the first rollback program and the second rollback program to obtain the rollback program.
Optionally, generating a rollback program according to the position of the program segment number in the first machining program and a comparison result of whether the first position and the second position are the same, including:
if the first position is the same as the second position and the program segment number is not the start segment number of the first machining program or the last segment number of the first machining program, taking the position corresponding to the start segment number of the first machining program as the position corresponding to the start segment number of the second machining program, generating a second rollback program, taking the second rollback program as the rollback program, and using the second rollback program to control the machine tool to rollback from the first position to the position corresponding to the start segment number of the second machining program.
Optionally, after controlling the machine tool to reach the position corresponding to the start segment number of the second machining program and before starting to perform the machining operation, the method further includes:
and confirming whether the machine tool is located at the position corresponding to the initial segment number of the second machining program again, and if so, starting to execute machining operation by the machine tool.
In a second aspect, the present application provides a machining device of a machine tool, including:
the first acquisition module is used for acquiring memory information of the machine tool when the machine tool is powered off and restarted last time, and the memory information comprises: a program segment number of a first machining program that is running at the time of the last power outage;
the second obtaining module is used for judging whether the program segment number is the last segment number of the first machining program or not, obtaining a judgment result and obtaining a second machining program according to the judgment result;
and the control module is used for controlling the machine tool to execute the machining operation from the position corresponding to the starting segment number of the second machining program.
In a third aspect, the present application provides an electronic device, comprising: the system comprises a processor, a communication component, a memory and a communication bus, wherein the processor, the communication component and the memory are communicated with each other through the communication bus; the memory for storing a computer program; and the processor is used for executing the program stored in the memory to realize the machining method of the machine tool.
In a fourth aspect, the present application provides a computer-readable storage medium storing a computer program which, when executed by a processor, implements the machining method of the machine tool.
Compared with the prior art, the technical scheme provided by the embodiment of the application has the following advantages: according to the method provided by the embodiment of the application, when the machine tool is powered off and restarted, the memory information of the machine tool when the machine tool is powered off last time is obtained, the machine tool does not directly continue to process according to the program segment number of the first processing program running when the machine tool is powered off last time in the memory information, whether the program segment number is at the last segment number of the first processing program is judged, the judgment result is obtained, the second processing program is obtained according to the judgment result, the machine tool is controlled to start to execute the processing operation from the position corresponding to the initial segment number of the second processing program, the problems that when the machine tool is powered off and the processing program runs to half, the machine tool is not located at the correct processing position and still continues to process are effectively solved, the machine tool damage and the part processing precision is low, and the accuracy and the reliability of the machine tool processing operation after the machine tool is powered off and powered on.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and together with the description, serve to explain the principles of the invention.
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious for those skilled in the art that other drawings can be obtained according to the drawings without inventive exercise.
FIG. 1 is a schematic flow chart of a machining method of a machine tool in an embodiment of the present application;
FIG. 2 is a schematic structural diagram of a numerical control system in an embodiment of the present application;
fig. 3 is a schematic diagram of an implementation of a connection module in an embodiment of the present application;
FIG. 4 is a schematic flow chart illustrating an implementation of an information saving module in an embodiment of the present application;
FIG. 5 is a schematic flow chart illustrating the operation of the machine tool after power failure recovery in the embodiment of the present application;
FIG. 6 is a schematic structural diagram of a machining device of a machine tool according to an embodiment of the present application;
fig. 7 is a schematic structural diagram of an electronic device in an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some embodiments of the present application, but not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The embodiment of the application provides a machining method of a machine tool, the method is applied to a numerical control system of the machine tool, such as a three-axis linkage numerical control system, a servo system and the like, and the method is specifically realized as shown in fig. 1:
specifically, the three-axis linkage numerical control system is taken as an example for detailed description, and the three-axis linkage numerical control system is a set of facility combining hardware and software, wherein the hardware refers to a machine tool itself, the software refers to a triple linkage numerical control system control program, and the three-axis linkage numerical control system is directly referred to as a numerical control system in short below. The present application is described in terms of improvements made on the basis of numerical control systems, but it should be noted that the present application can be applied to not only three-axis linkage numerical control systems.
Step 101, when the machine tool is powered off and restarted, acquiring memory information of the machine tool during the latest power off, wherein the memory information comprises: the program segment number of the first machining program that was running at the time of the last power outage.
Specifically, the power supply mode of the numerical control machine tool is introduced: firstly, the numerical control machine is connected with an external power supply (or called as a main power supply), and in the actual use process, the main power supply is converted into an unused power supply to respectively supply power to different devices of the numerical control machine, such as: a power supply for the operation of the numerical control system, a power supply for the operation of the power supply main shaft and the like. Wherein, the power supply for the operation of the numerical control system is generally more than or equal to 24V.
As shown in fig. 2, the numerical control system is divided into three modules, including: a connection module 201, an information saving module 202 and a power failure recovery operation module 203. When the numerical control machine is powered off, the connection module 201 is triggered, the connection module 201 controls an Uninterruptible Power Supply (UPS for short) to charge the numerical control system, generates an information storage signal, and sends the information storage signal to the information storage module 202. And the information storage module 202 receives the information storage signal sent by the connection module 201, stores the memory information of the machine tool during the latest power failure according to the information storage signal, and sends the stored memory information to the power failure recovery operation module 203. The power failure recovery operation module 203 receives the memory information sent by the information storage module 202, and controls the machine tool to recover operation according to the memory information after the machine tool recovers power on.
Specifically, as shown in fig. 3, the specific implementation of the connection module 201 includes: the UPS is connected in series between a power supply 301 for the operation of the numerical control system and the numerical control system 302, when the numerical control machine is powered off, the UPS charges the numerical control system 302, and the numerical control system 302 is enabled to be normally powered on. At this time, the connection module 201 monitors that the operation signal of the numerical control system is normal and the operation signal of the machine tool is missing, generates an information storage signal, and sends the information storage signal to the information storage module 202.
A specific implementation of the information saving module 202 is illustrated by fig. 4, as follows:
step 401, receiving an information saving signal sent by a connection module.
Step 402, storing the memory information according to the information storage signal.
Through when the machine tool is accidentally powered off, the UPS is adopted to supply power to the numerical control system, so that the numerical control system stores the memory information during the power failure, the machine tool can be quickly processed according to the memory information after the power failure is recovered, the debugging work of continuous processing of the machine tool after the power failure is recovered is avoided, the continuous processing debugging time after the power failure is recovered is saved, and the part processing efficiency is improved.
And 102, judging whether the program segment number is the last segment number of the first machining program or not, obtaining a judgment result, and obtaining a second machining program according to the judgment result.
In a specific embodiment, if the determination result is yes, the next machining program to be executed after the execution of the first machining program is obtained as the second machining program; and if the judgment result is negative, acquiring the first machining program as a second machining program. Therefore, the program segment number is located at the position of the first machining program, the second machining program which is started to be executed after the power-off restart can be effectively determined, and the problem that the machining precision of parts is influenced due to the fact that program errors are operated after the power-off restart is solved.
And 103, controlling the machine tool to start to execute the machining operation from the position corresponding to the initial segment number of the second machining program.
Specifically, the memorizing information further includes: and the first position of the machine tool which is running when the power is cut off last time is the mechanical coordinate position of the machine tool which is running when the power is cut off last time. In addition, a second position of the machine tool when the machine tool is restarted after power failure needs to be acquired, wherein the second position is an actual mechanical coordinate position of the machine tool after the machine tool is powered on again.
In one embodiment, the rollback program is generated based on the position of the program segment number in the first machining program and a comparison of whether the first position and the second position are the same. And executing the rollback program, controlling the machine tool to reach the position corresponding to the initial section number of the second machining program from the second position, and confirming whether the machine tool reaches the position corresponding to the initial section number of the second machining program, if so, executing the second machining program, otherwise, continuing to execute the rollback program until the machine tool reaches the position corresponding to the initial section number of the second machining program.
In one embodiment, if the first position is different from the second position, and the program segment number is the last segment number of the first machining program or the program segment number is the start segment number of the first machining program, under the above conditions, the first position is used as the position corresponding to the start segment number of the second machining program to generate a first rollback program, and the first rollback program is used as the rollback program, which aims to rollback the machine tool from the second position to the first position, thereby avoiding the problems of machine tool damage and part precision reduction caused by continuous machining when the first position is different from the second position. And the first retreating program is used for controlling the machine tool to retreat from the second position to the first position.
In one embodiment, if the first location is different from the second location and the program segment number is not the start segment number of the first machining program or the last segment number of the first machining program, the location corresponding to the start segment number of the first machining program is used as the location corresponding to the start segment number of the second machining program to generate the first rollback program and the second rollback program. And recombining the first rollback program and the second rollback program to obtain the rollback program. And the second rollback program is used for controlling the machine tool to rollback from the first position to the position corresponding to the initial segment number of the second machining program.
Most of existing numerical control machines are high in precision and complex in operation, so that under the conditions, the machine tool is returned to the first position from the second position and then returned to the position corresponding to the initial section number of the second machining program from the first position, the numerical control machine tool is suitable for various types of numerical control machines better, the machine tool can be protected better, and machine tool damage accidents are avoided.
In one embodiment, if the first position is the same as the second position and the program segment number is not the start segment number of the first machining program or the last segment number of the first machining program, under the above conditions, the position corresponding to the start segment number of the first machining program is the position corresponding to the start segment number of the second machining program, a second rollback program is generated, and the second rollback program is used as the rollback program, wherein the purpose of the rollback program is to rollback the machine tool from the first position or the second position to the position corresponding to the start segment number of the first machining program, so that the problems of machine tool damage and low part machining precision caused by the fact that the machine tool is located at a correct machining position and continues to machine when the machining program is executed to half are avoided.
The following describes a specific implementation of the power-off recovery operation of the machine tool by using fig. 5:
and step 501, acquiring the memory information of the machine tool when the power is cut off last time and acquiring a second position of the machine tool when the power is cut off and restarted.
Step 502, determining whether the first position is consistent with the second position, if yes, executing step 503, otherwise, executing step 504.
Step 503, determining whether the program segment number is a program endpoint of the first machining program, where the program endpoint includes: if yes, go to step 505, otherwise go to step 506.
In step 504, a first fallback program is generated, and step 503 is executed.
And step 505, controlling the machine tool to continuously execute the machining operation.
Step 506, a second rollback program is generated.
In step 507, the first machining program and the first rollback program and/or the second rollback program are recombined to generate the target program.
Wherein the object program comprises: a second machining program and a first rollback program, a second machining program and a second rollback program, a second machining program and a first rollback program, and a second rollback program, wherein the second machining program comprises: and executing the next machining program to be executed or the first machining program after the first machining program is completed.
Step 508, judging whether the retraction operation is manually executed, if so, manually retracting, and executing step 509 after the manual retraction, otherwise, automatically retracting, and if not, executing step 509.
In step 509, the machining operation is performed from the position corresponding to the start segment number of the second machining program.
According to the method provided by the embodiment of the application, when the machine tool is powered off and restarted, the memory information of the machine tool when the machine tool is powered off last time is obtained, the machine tool does not directly continue to process according to the program segment number of the first processing program running when the machine tool is powered off last time in the memory information, whether the program segment number is at the last segment number of the first processing program is judged, the judgment result is obtained, the second processing program is obtained according to the judgment result, the machine tool is controlled to start to execute the processing operation from the position corresponding to the initial segment number of the second processing program, the problems that when the machine tool is powered off and the processing program runs to half, the machine tool is not located at the correct processing position and still continues to process are effectively solved, the machine tool damage and the part processing precision is low, and the accuracy and the reliability of the machine tool processing operation after the machine tool is powered off and powered on.
The embodiment of the present application further provides a machining device for a machine tool, and specific implementation of the device may refer to the description of the method embodiment section, and repeated details are not repeated, as shown in fig. 6, the device mainly includes:
the first obtaining module 601 is configured to obtain, when the machine tool is powered off and restarted, memory information of the machine tool when the machine tool was powered off last time, where the memory information includes: the program segment number of the first machining program that was running at the time of the last power outage.
The second obtaining module 602 is configured to determine whether the program segment number is the last segment number of the first processing program, obtain a determination result, and obtain the second processing program according to the determination result.
And a control module 603, configured to control the machine tool to perform a machining operation from a position corresponding to the start segment number of the second machining program.
A second obtaining module 602, configured to, if the determination result is yes, obtain a next machining program to be executed after the execution of the first machining program is completed, as a second machining program; and if the judgment result is negative, acquiring the first machining program as a second machining program.
The control module 603 is specifically configured to obtain a second position of the machine tool when the power is off and the machine tool is restarted; generating a rollback program according to the position of the program segment number in the first machining program and the comparison result of whether the first position is the same as the second position; executing a rollback program, controlling the machine tool to reach a position corresponding to the initial segment number of the second machining program from the second position, and executing the second machining program, wherein the memory information further comprises: a first position of the machine tool that was operating when the power was last removed.
Based on the same concept, an embodiment of the present application further provides an electronic device, as shown in fig. 7, the electronic device mainly includes: a processor 701, a communication component 702, a memory 703 and a communication bus 704, wherein the processor 701, the communication component 702 and the memory 703 communicate with each other via the communication bus 704. The memory 703 stores a program executable by the processor 701, and the processor 701 executes the program stored in the memory 703 to implement the following steps: when the machine tool is restarted after power failure, acquiring the memory information of the machine tool when the power failure is last time, wherein the memory information comprises: a program segment number of a first machining program that is running at the time of the last power outage; judging whether the program segment number is the last segment number of the first machining program or not to obtain a judgment result, and acquiring a second machining program according to the judgment result; and controlling the machine tool to start to execute the machining operation from the position corresponding to the initial segment number of the second machining program.
The communication bus 704 mentioned in the above electronic device may be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The communication bus 704 may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown in FIG. 7, but this is not intended to represent only one bus or type of bus.
The communication component 702 is used for communication between the electronic device and other devices described above.
The Memory 703 may include a Random Access Memory (RAM) or a non-volatile Memory (non-volatile Memory), such as at least one disk Memory. Alternatively, the memory may be at least one memory device located remotely from the processor 701.
The Processor 701 may be a general-purpose Processor, including a Central Processing Unit (CPU), a Network Processor (NP), and the like, or may be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other Programmable logic devices, discrete gates or transistor logic devices, and discrete hardware components.
In still another embodiment of the present application, there is also provided a computer-readable storage medium having stored therein a computer program which, when run on a computer, causes the computer to execute the machining method of a machine tool described in the above-described embodiment.
In the above embodiments, the implementation may be wholly or partially realized by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When loaded and executed on a computer, cause the processes or functions described in accordance with the embodiments of the application to occur, in whole or in part. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored on a computer readable storage medium or transmitted from one computer readable storage medium to another, for example, from one website site, computer, server, or data center to another website site, computer, server, or data center via wire (e.g., coaxial cable, fiber optic, Digital Subscriber Line (DSL)) or wirelessly (e.g., infrared, microwave, etc.). The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device, such as a server, a data center, etc., that includes one or more of the available media. The available media may be magnetic media (e.g., floppy disks, hard disks, tapes, etc.), optical media (e.g., DVDs), or semiconductor media (e.g., solid state drives), among others.
It is noted that, in this document, relational terms such as "first" and "second," and the like, may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
The foregoing are merely exemplary embodiments of the present invention, which enable those skilled in the art to understand or practice the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the invention. Thus, the present invention is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (10)

1. A machining method of a machine tool, characterized by comprising:
when the machine tool is restarted after power failure, acquiring memory information of the machine tool when the machine tool is powered off last time, wherein the memory information comprises: a program segment number of a first machining program that is running at the time of the last power outage;
judging whether the program segment number is the last segment number of the first machining program or not to obtain a judgment result, and acquiring a second machining program according to the judgment result;
and controlling the machine tool to execute the machining operation from the position corresponding to the initial segment number of the second machining program.
2. The machining method of a machine tool according to claim 1, wherein acquiring a second machining program based on the determination result includes:
if the judgment result is yes, acquiring the next machining program to be executed after the execution of the first machining program is finished as the second machining program;
and if the judgment result is negative, acquiring the first machining program as the second machining program.
3. The machining method of a machine tool according to claim 2, wherein the memorizing information further includes: a first position of the machine tool in operation at a last power outage;
controlling the machine tool to execute the machining operation from the position corresponding to the start segment number of the second machining program, and the method comprises the following steps:
acquiring a second position of the machine tool when the power is off and restarted;
generating a rollback program according to the position of the program segment number in the first machining program and a comparison result of whether the first position and the second position are the same;
and executing the rollback program, controlling the machine tool to reach a position corresponding to the initial segment number of the second machining program from the second position, and executing machining operation.
4. The machining method of a machine tool according to claim 3, wherein generating a rollback program based on the position of the program segment number in the first machining program and the comparison result of whether the first position and the second position are the same includes:
if the first position is different from the second position and the program segment number is the last segment number of the first machining program, taking the first position as a position corresponding to the initial segment number of the second machining program to generate a first rollback program, and taking the first rollback program as the rollback program, wherein the first rollback program is used for controlling the machine tool to rollback from the second position to the first position.
5. The machining method of a machine tool according to claim 3, wherein generating a rollback program based on the position of the program segment number in the first machining program and the comparison result of whether the first position and the second position are the same includes:
if the first position is different from the second position and the program segment number is not the initial segment number of the first machining program or the last segment number of the first machining program, taking the position corresponding to the initial segment number of the first machining program as the position corresponding to the initial segment number of the second machining program, and generating a first rollback program and a second rollback program;
the first rollback program is used for controlling the machine tool to rollback from the second position to the first position, and the second rollback program is used for controlling the machine tool to rollback from the first position to a position corresponding to a start segment number of the second machining program;
and recombining the first rollback program and the second rollback program to obtain the rollback program.
6. The machining method of a machine tool according to claim 3, wherein generating a rollback program based on the position of the program segment number in the first machining program and the comparison result of whether the first position and the second position are the same includes:
if the first position is the same as the second position and the program segment number is not the start segment number of the first machining program or the last segment number of the first machining program, taking the position corresponding to the start segment number of the first machining program as the position corresponding to the start segment number of the second machining program, generating a second rollback program, taking the second rollback program as the rollback program, and using the second rollback program to control the machine tool to rollback from the first position to the position corresponding to the start segment number of the second machining program.
7. The method of processing a machine tool according to claim 6, wherein the step of controlling the machine tool to start the processing operation after reaching the position corresponding to the start segment number of the second processing program further comprises:
and confirming whether the machine tool is located at the position corresponding to the initial segment number of the second machining program again, and if so, starting to execute machining operation by the machine tool.
8. A machining device of a machine tool, characterized by comprising:
the first acquisition module is used for acquiring memory information of the machine tool when the machine tool is powered off and restarted last time, and the memory information comprises: a program segment number of a first machining program that is running at the time of the last power outage;
the second obtaining module is used for judging whether the program segment number is the last segment number of the first machining program or not, obtaining a judgment result and obtaining a second machining program according to the judgment result;
and the control module is used for controlling the machine tool to execute the machining operation from the position corresponding to the starting segment number of the second machining program.
9. An electronic device, comprising: the system comprises a processor, a communication component, a memory and a communication bus, wherein the processor, the communication component and the memory are communicated with each other through the communication bus;
the memory for storing a computer program;
the processor is configured to execute the program stored in the memory to implement the machining method of the machine tool according to any one of claims 1 to 7.
10. A computer-readable storage medium storing a computer program, wherein the computer program, when executed by a processor, implements the machining method of a machine tool according to any one of claims 1 to 7.
CN202010796246.XA 2020-08-10 2020-08-10 Machining method, device, equipment and storage medium for machine tool Active CN112034784B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010796246.XA CN112034784B (en) 2020-08-10 2020-08-10 Machining method, device, equipment and storage medium for machine tool

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010796246.XA CN112034784B (en) 2020-08-10 2020-08-10 Machining method, device, equipment and storage medium for machine tool

Publications (2)

Publication Number Publication Date
CN112034784A true CN112034784A (en) 2020-12-04
CN112034784B CN112034784B (en) 2021-10-08

Family

ID=73577795

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010796246.XA Active CN112034784B (en) 2020-08-10 2020-08-10 Machining method, device, equipment and storage medium for machine tool

Country Status (1)

Country Link
CN (1) CN112034784B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113110300A (en) * 2021-03-04 2021-07-13 新代科技(苏州)有限公司 Special tool-breaking point regression method for machining center

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102608949A (en) * 2012-03-23 2012-07-25 天水星火机床有限责任公司 Power failure automatic knife retracting control method and device of numerical control machine tool
CN103140816A (en) * 2010-10-01 2013-06-05 西铁城控股株式会社 Power supply management device and machine tool having the power-supply management device
JP2013193187A (en) * 2012-03-22 2013-09-30 Brother Industries Ltd Machine tool
WO2017128160A1 (en) * 2016-01-28 2017-08-03 深圳配天智能技术研究院有限公司 Method for machining reset, compiler, robot, numerical control system, and machine tool
CN107350871A (en) * 2017-05-22 2017-11-17 成都飞机工业(集团)有限责任公司 A kind of guard method for realizing the processing of large-sized numerical control equipment high level part and its system
CN108436201A (en) * 2018-06-06 2018-08-24 珠海格力智能装备有限公司 The backing method of rigid tapping
CN108788354A (en) * 2018-06-26 2018-11-13 宁波科路机械设备有限公司 A kind of Line Cutting Machine Control System
CN109667075A (en) * 2018-12-21 2019-04-23 南通大学 A kind of quilter broken string, recovery after power cut processing processing method
CN111090260A (en) * 2018-10-23 2020-05-01 广州锐智恒软件有限公司 Method for realizing continuous machining of CNC equipment in case of power failure through NC code analysis
CN111449667A (en) * 2020-03-30 2020-07-28 上海联影医疗科技有限公司 Method and device for automatically recovering scanning interruption and computer equipment

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103140816A (en) * 2010-10-01 2013-06-05 西铁城控股株式会社 Power supply management device and machine tool having the power-supply management device
JP2013193187A (en) * 2012-03-22 2013-09-30 Brother Industries Ltd Machine tool
CN102608949A (en) * 2012-03-23 2012-07-25 天水星火机床有限责任公司 Power failure automatic knife retracting control method and device of numerical control machine tool
WO2017128160A1 (en) * 2016-01-28 2017-08-03 深圳配天智能技术研究院有限公司 Method for machining reset, compiler, robot, numerical control system, and machine tool
CN108027606A (en) * 2016-01-28 2018-05-11 深圳配天智能技术研究院有限公司 Processing resets implementation method, compiler, robot, digital control system and lathe
CN107350871A (en) * 2017-05-22 2017-11-17 成都飞机工业(集团)有限责任公司 A kind of guard method for realizing the processing of large-sized numerical control equipment high level part and its system
CN108436201A (en) * 2018-06-06 2018-08-24 珠海格力智能装备有限公司 The backing method of rigid tapping
CN108788354A (en) * 2018-06-26 2018-11-13 宁波科路机械设备有限公司 A kind of Line Cutting Machine Control System
CN111090260A (en) * 2018-10-23 2020-05-01 广州锐智恒软件有限公司 Method for realizing continuous machining of CNC equipment in case of power failure through NC code analysis
CN109667075A (en) * 2018-12-21 2019-04-23 南通大学 A kind of quilter broken string, recovery after power cut processing processing method
CN111449667A (en) * 2020-03-30 2020-07-28 上海联影医疗科技有限公司 Method and device for automatically recovering scanning interruption and computer equipment

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
胡武军: "数控加工中断后的再续加工", 《科技视界》 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113110300A (en) * 2021-03-04 2021-07-13 新代科技(苏州)有限公司 Special tool-breaking point regression method for machining center

Also Published As

Publication number Publication date
CN112034784B (en) 2021-10-08

Similar Documents

Publication Publication Date Title
US20240012706A1 (en) Method, system and apparatus for fault positioning in starting process of server
CN111324192A (en) System board power supply detection method, device, equipment and storage medium
CN111488233A (en) Method and system for processing bandwidth loss problem of PCIe device
EP2382545B1 (en) Component configuration mechanism for rebooting
CN110445638B (en) Switch system fault protection method and device
CN112034784B (en) Machining method, device, equipment and storage medium for machine tool
CN114116280B (en) Interactive BMC self-recovery method, system, terminal and storage medium
CN104320308A (en) Method and device for detecting anomalies of server
CN102880527A (en) Data recovery method of baseboard management controller
JP2014081700A (en) Programmable controller, data backup method of programmable controller, and starting method of programmable controller
CN112181468A (en) CPLD updating method, server and computer readable storage medium
CN113672306A (en) Server component self-checking abnormity recovery method, device, system and medium
CN114527857A (en) Multi-core system resetting method, device and equipment and readable storage medium
WO2023240944A1 (en) Data recovery method and apparatus, electronic device, and storage medium
CN110908839A (en) Method, device and equipment for relieving fault of logic module
CN110968456B (en) Method and device for processing fault disk in distributed storage system
JP2002543521A (en) Method and apparatus for automatically reintegrating modules into a computer system
CN107179911B (en) Method and equipment for restarting management engine
CN115766410A (en) Method, system, device and medium for switching working states of machine
US9891615B2 (en) Numerical controller with function of automatically reconstructing settings and function of preventing incorrect settings
US11579673B2 (en) Systems and methods for storing FSM state data for a power control system
CN114860292A (en) Terminal equipment firmware upgrading control method and device, computer equipment and medium
CN110412940B (en) Machine state monitoring device
CN113590203A (en) Failure processing method and system for substrate management controller, storage medium and single chip microcomputer
CN114218010B (en) Data backup and recovery method, system, terminal equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant