CNC machine tool data synchronization methods, devices, CNC machine tools and storage media
By automatically synchronizing the external sensor signal data and internal electrical control data of the CNC machine tool, the problem of time-consuming and labor-intensive manual alignment in the existing technology is solved, and efficient data synchronization is achieved.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-29
- Publication Date
- 2026-03-13
AI Technical Summary
In existing technologies, the synchronization of internal and external data of CNC machine tools relies on manual processing, which is time-consuming, labor-intensive, and ineffective.
Automatic data synchronization is achieved by collecting signal data from external sensors of CNC machine tools and recording the callback trigger timestamp, combined with the start timestamp of internal electrical control data collection.
It enables efficient data alignment without human intervention, improving the efficiency and accuracy of data synchronization.
Smart Images

Figure CN119057560B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of data processing technology, and in particular to a method, apparatus, CNC machine tool, and storage medium for synchronizing data in CNC machine tools. Background Technology
[0002] With the continuous development of science and technology, intelligent CNC machine tools have been widely used in many modern industrial processing fields due to their excellent intelligent functions.
[0003] The intelligent functions of CNC machine tools mainly rely on their self-sensing, self-learning, and self-decision-making regarding the machining status. During machine tool operation, the CNC system generates a large amount of electrical control data, such as position, speed, power, current, and error. This data primarily originates from the actual control, feedback, and status information of the machine tool's operation. The key technologies for intelligent CNC machine tools lie in error compensation and prediction, component-level health status monitoring and maintenance, etc. Essentially, this involves data mining of the large amount of data acquired during CNC machine tool operation using a data-driven approach. To enhance the machine tool's self-sensing capabilities, external sensors are often connected. The fusion of internal electrical control data and external sensor data can greatly improve the self-sensing capabilities of CNC machine tools. However, internal electrical control data and external sensor signal data are acquired through different acquisition devices and methods. Currently, the acquisition of their synchronous data is mostly achieved by saving local data for transfer and then manually splicing and aligning it.
[0004] It is evident that existing technologies rely on manual alignment of internal and external data collected by CNC machine tools, which is time-consuming, labor-intensive, and ineffective. Summary of the Invention
[0005] In view of this, it is necessary to provide a method, device, CNC machine tool and storage medium for synchronizing CNC machine tool data, so as to solve the problem that the existing technology relies on manual alignment of internal and external data collected by CNC machine tools, which is time-consuming, labor-intensive and ineffective.
[0006] To address the above problems, this invention provides a method for synchronizing data in CNC machine tools, comprising:
[0007] Collect external sensor signal data of CNC machine tool, and call back the external sensor signal data according to a preset first time interval, and record the callback trigger timestamp;
[0008] Collect the internal electrical control data of the CNC machine tool and record the start timestamp of the internal electrical control data collection.
[0009] The external sensor signal data and the internal electronic control data are synchronized based on the start acquisition timestamp and the callback trigger timestamp.
[0010] In one possible implementation, the step of acquiring external sensor signal data of the CNC machine tool and recalling the external sensor signal data according to a preset first time interval includes:
[0011] The external sensor signal data of the CNC machine tool is acquired by the acquisition card, and the external sensor signal data is stored in the buffer area of the acquisition card.
[0012] The external sensor signal data of the buffer area is sent back to the local storage area according to a preset first time interval.
[0013] In one possible implementation, the step of acquiring the internal electrical control data of the CNC machine tool and recording the start timestamp of the internal electrical control data acquisition includes:
[0014] Based on the data acquisition command, the internal electrical control data of the CNC machine tool is acquired, and the timestamp of the start of acquisition of the internal electrical control data is recorded.
[0015] The internal electronic control data is stored in the internal cache area, and then stored in the local storage area according to a preset second time interval.
[0016] In one possible implementation, synchronizing the external sensor signal data and the internal electronic control data based on the start acquisition timestamp and the callback trigger timestamp includes:
[0017] Determine the target callback trigger timestamp that is closest to the start collection timestamp;
[0018] Extract the external sensor signal data segment between the start acquisition timestamp and the target callback trigger timestamp;
[0019] Synchronize the internal electronic control data with the external sensor signal data segments.
[0020] In one possible implementation, synchronizing the internal electronic control data with the external sensor signal data segment includes:
[0021] Based on the start time stamp of data collection or the determined data synchronization time;
[0022] The internal electronic control data and external sensor signal data after the data synchronization time are synchronously stored in the local storage area.
[0023] In one possible implementation, the start time of acquiring the external sensor signal data is earlier than the start time of acquiring the internal electronic control data.
[0024] In one possible implementation, the method includes:
[0025] Parallel threads are set up for the internal electronic control data and the external sensor signal data;
[0026] The internal electronic control data and the external sensor signal data are acquired in parallel through the parallel thread.
[0027] The present invention also provides a data synchronization device for CNC machine tools, comprising:
[0028] An external data acquisition module is used to acquire signal data from external sensors of CNC machine tools, and to call back the signal data from the external sensors according to a preset first time interval, recording the call-back trigger timestamp.
[0029] An internal data acquisition module is used to acquire the internal electrical control data of the CNC machine tool and record the start timestamp of the acquisition of the internal electrical control data;
[0030] The data synchronization module is used to synchronize the external sensor signal data and the internal electronic control data based on the start acquisition timestamp and the callback trigger timestamp.
[0031] The present invention also provides a CNC machine tool, including a memory and a processor, wherein,
[0032] The memory is used to store programs;
[0033] The processor, coupled to the memory, is used to execute the program stored in the memory to implement the steps in the CNC machine tool data synchronization method described in any of the above embodiments.
[0034] The present invention also provides a computer-readable storage medium for storing a computer-readable program or instruction, which, when executed by a processor, can implement the steps in the CNC machine tool data synchronization method described in any of the above embodiments.
[0035] The beneficial effects of the present invention are as follows: The data synchronization method for machine tools provided by the present invention collects external sensor signal data of CNC machine tools, and periodically calls back the external sensor signal data, records the callback trigger timestamp, and records the start timetamp of collecting internal electrical control data of CNC machine tools. Then, based on the callback trigger timestamp and the start timetamp, the internal electrical control data and external sensor signal data are synchronized, ensuring that the data is aligned with the timestamp. No manual data synchronization processing is required, improving work efficiency and achieving a high degree of data synchronization. Attached Figure Description
[0036] To more clearly illustrate the technical solutions in the embodiments of the present invention, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0037] Figure 1 is a flowchart illustrating a CNC machine tool data synchronization method according to an embodiment of the present invention;
[0038] Figure 2 This is a flowchart illustrating an embodiment of the present invention for acquiring signal data from an external sensor.
[0039] Figure 3 This invention provides a flowchart for acquiring signal data from an external sensor.
[0040] Figure 4 This is a flowchart illustrating an internal electronic control data acquisition method according to an embodiment of the present invention.
[0041] Figure 5 An internal electronic control data acquisition flowchart is provided for an embodiment of the present invention;
[0042] Figure 6 A flowchart illustrating an implementation method of S103 in an embodiment of the present invention is provided;
[0043] Figure 7 A flowchart illustrating one implementation method of S603 in an embodiment of the present invention is provided.
[0044] Figure 8 This is a flowchart illustrating a parallel acquisition method provided in an embodiment of the present invention;
[0045] Figure 9 This is a schematic diagram of the structure of a CNC machine tool data synchronization device provided in an embodiment of the present invention;
[0046] Figure 10 This is a schematic diagram of the structure of a CNC machine tool provided in an embodiment of the present invention. Detailed Implementation
[0047] The preferred embodiments of the present invention will now be described in detail with reference to the accompanying drawings, which constitute a part of the present invention and are used together with the embodiments of the present invention to illustrate the principles of the present invention, but are not intended to limit the scope of the present invention.
[0048] The terms "first," "second," etc., used in the embodiments of this invention are for descriptive purposes only and should not be construed as indicating or implying their relative importance or implicitly specifying the number of technical features indicated. Therefore, a technical feature defined with "first" or "second" may explicitly or implicitly include at least one of that feature.
[0049] In this document, the term "embodiment" means that a particular feature, structure, or characteristic described in connection with an embodiment may be included in at least one embodiment of the invention. The appearance of this phrase in various places throughout the specification does not necessarily refer to the same embodiment, nor is it a mutually exclusive, independent, or alternative embodiment. It will be explicitly and implicitly understood by those skilled in the art that the embodiments described herein can be combined with other embodiments.
[0050] A specific embodiment of the present invention, such as Figure 1 As shown, a method for synchronizing data in a CNC machine tool is disclosed, including:
[0051] S101: Collect external sensor signal data of CNC machine tool, and call back the external sensor signal data according to the preset first time interval, and record the callback trigger timestamp;
[0052] S102, collect the internal electrical control data of the CNC machine tool and record the start timestamp of the internal electrical control data collection;
[0053] S103 synchronizes external sensor signal data and internal electronic control data based on the start acquisition timestamp and callback trigger timestamp.
[0054] In this embodiment of the invention, the CNC machine tool can have multiple external sensor devices, such as vibration sensors, chip force sensors, sound sensors, and image sensors, which can acquire various types of signal data during the machining process, providing richer machine tool operation data for the realization of key intelligent technologies. Optionally, when collecting external sensor signal data, a sampling frequency can be set. Based on this sampling frequency, the external sensor signal data collected within a preset first time interval is retrieved. Optionally, this first time interval can be set according to actual conditions, such as 30s, 60s, etc. For each retrieval of external sensor signal data, a retrieval trigger timestamp is recorded.
[0055] In this embodiment of the invention, the internal electrical control data of the CNC machine tool can be continuously collected directly through the internal data acquisition module of the data machine tool. At the start of each collection, the start timestamp is recorded. It should be noted that after the CNC machine tool is powered on and running, it can start collecting the internal electrical control data of the data machine tool. Generally, when the CNC machine tool is in continuous machining mode, it only needs to issue a sequential data acquisition start command. Based on the data acquisition start command, the internal data acquisition module of the CNC machine tool will continuously collect the internal electrical control data. Therefore, it is only necessary to record the sequential start timestamp.
[0056] In this embodiment of the invention, the internal electronic control data and the external sensor information data can be synchronized based on the start time stamp of the start of the acquisition of internal electronic control data and the callback trigger time stamp of the callback external sensor information data. The specific synchronization method will be described in detail later in this invention.
[0057] The data synchronization method for machine tools provided by this invention collects external sensor signal data of CNC machine tools, periodically calls back the external sensor signal data, records the callback trigger timestamp, and records the start timetamp of collecting internal electrical control data of CNC machine tools. Then, based on the callback trigger timestamp and the start timetamp of the collection, the internal electrical control data and external sensor signal data are synchronized to ensure that the data and timestamps are aligned. No manual data synchronization processing is required, improving work efficiency and achieving a high degree of data synchronization.
[0058] As one possible embodiment of the present invention, in this embodiment, such as Figure 2 As shown, the system collects external sensor signal data from the CNC machine tool and retrieves the external sensor signal data according to a preset first time interval, including:
[0059] S201 collects external sensor signal data of CNC machine tools through a data acquisition card and stores the external sensor signal data in the buffer area of the data acquisition card;
[0060] S202, according to the preset first time interval, the external sensor signal data in the buffer area is sent back to the local storage area.
[0061] In this embodiment of the invention, for the acquisition of external sensor signal data, it is necessary to first set up an acquisition environment. Taking a CNC machine tool with an external three-axis accelerometer as an example, it can acquire the signal data of the accelerometer through a data acquisition card, store the signal data in the buffer area of the data acquisition card, and then, according to a preset first time interval, retrieve the external sensor signal data from the buffer area of the data acquisition card to the local storage area. Specifically, as shown... Figure 3As shown, a secondary development program for external data acquisition can be designed. This program can be used to configure sampling tasks, acquisition channels, and acquisition parameters to drive the acquisition card to acquire sensor data. It uses a callback function triggering mode to save and update external sensor information data in the cache. By setting a task timer, the callback function is triggered after the first time interval, and the stored data is transferred to the local machine, the cache data is cleared, and new acquisition data is started again. The callback function reads and stores the data passed from the cache to achieve continuous acquisition of external data.
[0062] This invention implements a callback function to retrieve external sensor signal data from the data acquisition card's buffer, thereby enabling continuous acquisition of external sensor signal data.
[0063] As one possible embodiment of the present invention, in this embodiment, such as Figure 4 As shown, the internal electrical control data of the CNC machine tool is collected, and the start timestamp of the internal electrical control data collection is recorded, including:
[0064] S401, based on the data acquisition command, begins to acquire the internal electrical control data of the CNC machine tool and records the start timestamp of the internal electrical control data acquisition;
[0065] S402 stores the internal electronic control data in the internal cache area and stores the internal electronic control data in the local storage area according to the preset second time interval.
[0066] In this embodiment of the invention, the acquisition of internal electrical control data of CNC machine tools, such as Figure 5 As shown, it is necessary to first establish a data transmission connection between the acquisition program and the CNC system by configuring the IP address and port number. By calling the acquisition function developed by the secondary development of the CNC system and setting acquisition parameters such as acquisition channel, sampling frequency and sampling time, the data acquisition command of the start acquisition function is called. The internal electrical control data of the CNC system will be continuously stored in the internal buffer according to the sampling configuration. The buffer data will be read at equal intervals and written to the local data stream file, so as to realize the continuous reading and saving of internal data after the acquisition starts.
[0067] Furthermore, such as Figure 6 As shown, the external sensor signal data and internal electronic control data are synchronized based on the start acquisition timestamp and callback trigger timestamp, including:
[0068] S601, determine the target callback trigger timestamp that is closest to the start collection timestamp;
[0069] S602, extracts the external sensor signal data segment between the start acquisition timestamp and the target callback trigger timestamp;
[0070] S603 synchronizes internal electronic control data with external sensor signal data segments.
[0071] In this embodiment of the invention, there is only one start acquisition timestamp for a CNC machine tool in continuous operation, but there are multiple callback trigger timestamps. Therefore, it is necessary to first determine the target callback trigger timestamp to be synchronized with the start acquisition timestamp. Generally, the callback trigger timestamp with the shortest time interval from the start acquisition timestamp can be determined as the target callback trigger timestamp. This is because the trigger callback timestamp records the callback time of external sensor signal data, and the callback data is the data acquired within a certain period before the trigger callback timestamp. For the target callback trigger timestamp, regardless of whether the start acquisition timestamp is before or after it, it can be guaranteed that the acquisition time of the callback external sensor signal data corresponding to the target callback trigger timestamp includes the start acquisition timestamp, ensuring that the internal electronic control data corresponding to the start acquisition timestamp has the corresponding external sensor signal data. Based on this, after determining the target callback trigger timestamp, the external sensor data segment between the start acquisition timestamp and the target callback timestamp is extracted, and the external sensor signal data segment is synchronized with the internal electronic control data.
[0072] This invention determines the target callback trigger timestamp by starting the acquisition timestamp, and determines the external sensor signal data segment that needs to be synchronized with the internal electronic control data based on the target callback trigger timestamp, thereby achieving precise synchronization between the internal electronic control data and the external sensor signal data of the CNC machine tool.
[0073] Furthermore, such as Figure 7 As shown, synchronizing internal electronic control data with external sensor signal data segments includes:
[0074] S701 determines the data synchronization time based on the start collection timestamp;
[0075] S702 synchronizes and stores internal electronic control data and external sensor signal data after the data synchronization time to the local storage area.
[0076] In this embodiment of the invention, after determining the target callback trigger timestamp and extracting the external sensor signal data segment, the time corresponding to the start acquisition timestamp is determined as the data synchronization time, indicating that the CNC machine tool starts to synchronously acquire internal electrical control data and external sensor signal data from this data synchronization time. Starting from this data synchronization time, the internal electrical control data and external sensor signal data acquired after the data synchronization time are synchronously stored in the local storage area.
[0077] Furthermore, the start time for acquiring external sensor signal data is earlier than the start time for acquiring internal electronic control data.
[0078] In this embodiment of the invention, an external acquisition task is first configured to put the external acquisition process into a data acquisition state. Then, an internal data acquisition process is started. An external variable is used to control the data saving command of the external acquisition process, and the trigger time of the callback function of the external acquisition is captured. By passing the internal start acquisition timestamp and start data saving instruction to the external acquisition process, the callback function closest to the start acquisition timestamp starts saving the acquired data. The time interval between the callback function trigger timestamp and the start acquisition timestamp is used to extract and save the data segment between the start acquisition timestamp and the callback function trigger timestamp in the external acquisition cache. The external acquisition is put into a continuous data saving cache state, so that the start timestamps of the external acquisition and internal acquisition data saving are aligned, and finally, the synchronous acquisition of internal and external data is achieved.
[0079] Optional, such as Figure 8 As shown, the method includes:
[0080] S801 sets up parallel threads for internal electronic control data and external sensor signal data;
[0081] The S802 acquires internal electronic control data and external sensor signal data in parallel through parallel threads.
[0082] In this embodiment of the invention, to improve the acquisition efficiency of internal electronic control data and external sensor signal data, parallel threads can be set up for the internal electronic control data and external sensor signal data, and these parallel threads can be used to acquire the internal electronic control data and external sensor signal data in parallel. Specifically, parallel threads for internal acquisition and external sensor data acquisition are created through a secondary development program. Considering that the internal acquisition of the CNC system is a continuous data stream mode with data stored in a buffer, and that the external acquisition card typically uses a buffer loop acquisition and timed trigger data transmission mode, the internal acquisition start timestamp and the external acquisition callback trigger timestamp are captured, and the internal acquisition start timestamp is passed to the external acquisition callback function. By using a start data saving command and extracting sensor data segments from the external acquisition buffer from the start acquisition timestamp to the trigger callback time, the start data saving timestamps of the internal data and the external data are aligned, thereby achieving synchronous acquisition of internal electronic control data and external sensor data.
[0083] To better implement the CNC machine tool data synchronization method in this embodiment of the invention, based on the CNC machine tool data synchronization method, correspondingly, as follows: Figure 9 As shown, this embodiment of the invention also provides a CNC machine tool data synchronization device, the CNC machine tool data synchronization device 900 comprising:
[0084] The external data acquisition module 901 is used to acquire external sensor signal data of CNC machine tools, and to call back the external sensor signal data according to a preset first time interval, and record the call-back trigger timestamp.
[0085] The internal data acquisition module 902 is used to acquire the internal electrical control data of the CNC machine tool and record the start timestamp of the internal electrical control data acquisition.
[0086] The data synchronization module 903 is used to synchronize external sensor signal data and internal electronic control data based on the start acquisition timestamp and callback trigger timestamp.
[0087] The CNC machine tool data synchronization device 700 provided in the above embodiments can realize the technical solutions described in the above CNC machine tool data synchronization method embodiments. The specific implementation principles of each module or unit can be found in the corresponding content in the above CNC machine tool data synchronization method embodiments, and will not be repeated here.
[0088] The data synchronization device for machine tools provided by this invention collects external sensor signal data of CNC machine tools, periodically calls back the external sensor signal data, records the callback trigger timestamp, and records the start timetamp of collecting internal electrical control data of CNC machine tools. Then, based on the callback trigger timestamp and the start timetamp of the collection, the internal electrical control data and external sensor signal data are synchronized to ensure that the data and timestamps are aligned. No manual data synchronization processing is required, improving work efficiency and achieving a high degree of data synchronization.
[0089] like Figure 10 As shown, the present invention also provides a CNC machine tool 1000. The CNC machine tool 1000 includes a processor 1001, a memory 1002, and a display 1003. Figure 10 Only some components of the CNC machine tool 1000 are shown, but it should be understood that it is not required to implement all the components shown, and more or fewer components may be implemented instead.
[0090] In some embodiments, processor 1001 may be a central processing unit (CPU), a microprocessor, or other data processing chip, used to run program code stored in memory 1002 or process data, such as the CNC machine tool data synchronization method of the present invention.
[0091] In some embodiments, processor 1001 may be a single server or a group of servers. The server group may be centralized or distributed. In some embodiments, processor 1001 may be local or remote. In some embodiments, processor 1001 may be implemented on a cloud platform. In one embodiment, the cloud platform may include a private cloud, public cloud, hybrid cloud, community cloud, distributed cloud, internal cloud, multi-cloud, etc., or any combination thereof.
[0092] In some embodiments, memory 1002 may be an internal storage unit of the CNC machine tool 1000, such as a hard disk or memory of the CNC machine tool 1000. In other embodiments, memory 1002 may also be an external storage device of the CNC machine tool 1000, such as a plug-in hard disk, smart media card (SMC), secure digital (SD) card, flash card, etc., equipped on the CNC machine tool 1000.
[0093] Furthermore, the memory 1002 may include both internal storage units of the CNC machine tool 1000 and external storage devices. The memory 1002 is used to store application software and various types of data installed on the CNC machine tool 1000.
[0094] In some embodiments, display 1003 may be an LED display, a liquid crystal display, a touch-screen liquid crystal display, or an OLED (Organic Light-Emitting Diode) touchscreen. Display 1003 is used to display information from the CNC machine tool 1000 and to display a visual user interface. Components 1001-1003 of the CNC machine tool 1000 communicate with each other via a system bus.
[0095] In some embodiments, when the processor 1001 executes the CNC machine tool data synchronization program in the memory 1002, the following steps may be implemented:
[0096] Collect external sensor signal data of CNC machine tool, and call back the external sensor signal data according to the preset first time interval, and record the callback trigger timestamp;
[0097] Collect internal electrical control data of CNC machine tools and record the start timestamp of internal electrical control data collection;
[0098] The external sensor signal data and internal electronic control data are synchronized based on the start acquisition timestamp and callback trigger timestamp.
[0099] It should be understood that when the processor 1001 executes the CNC machine tool data synchronization program in the memory 1002, in addition to the functions mentioned above, it can also perform other functions, as can be found in the description of the corresponding method embodiments above.
[0100] Accordingly, embodiments of the present invention also provide a computer-readable storage medium for storing computer-readable programs or instructions. When the programs or instructions are executed by a processor, they can implement the steps or functions of the CNC machine tool data synchronization method provided in the above-described method embodiments.
[0101] Those skilled in the art will understand that all or part of the processes of the methods described in the above embodiments can be implemented by a computer program instructing related hardware, and the program can be stored in a computer-readable storage medium. The computer-readable storage medium may be a disk, optical disk, read-only memory, or random access memory, etc.
[0102] The above description is only a preferred embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. Any changes or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in the present invention should be included within the scope of protection of the present invention.
Claims
1. A method for data synchronization of a numerical control machine, characterized in that, The method comprises: collecting external sensor signal data of a numerical control machine tool, and calling back the external sensor signal data according to a preset first time interval, and recording a callback trigger timestamp; collecting internal electric control data of the numerical control machine tool, and recording a start collection timestamp of the internal electric control data; synchronizing the external sensor signal data and the internal electric control data based on the start collection timestamp and the callback trigger timestamp; The method comprises: collecting external sensor signal data of a numerical control machine tool, and calling back the external sensor signal data according to a preset first time interval, and recording a callback trigger timestamp; collecting internal electric control data of the numerical control machine tool, and recording a start collection timestamp of the internal electric control data; synchronizing the external sensor signal data and the internal electric control data based on the start collection timestamp and the callback trigger timestamp. The method comprises: determining a target callback trigger timestamp closest to the start collection timestamp; cutting out an external sensor signal data segment between the start collection timestamp and the target callback trigger timestamp; synchronizing the internal electric control data and the external sensor signal data segment. The method comprises: determining a data synchronization time based on the start collection timestamp; 2. The data synchronization method of a CNC machine tool according to claim 1, characterized in that, synchronously storing internal electric control data and external sensor signal data after the data synchronization time to the local storage area. The start collection time of the external sensor signal data is earlier than the start collection time of the internal electric control data. The method comprises:
3. The data synchronization method of a CNC machine tool according to claim 1, characterized in that, setting parallel threads for the internal electric control data and the external sensor signal data; 4. The data synchronization method of a CNC machine tool according to claim 1, characterized by, collecting the internal electric control data and the external sensor signal data in parallel through the parallel threads. The method comprises: an external data collection module for collecting external sensor signal data of a numerical control machine tool, and calling back the external sensor signal data according to a preset first time interval, and recording a callback trigger timestamp; 5. A data synchronization device for a numerically controlled machine tool, adapted to the data synchronization method for a numerically controlled machine tool according to any one of claims 1 to 4, characterized in that, an internal data collection module for collecting internal electric control data of the numerical control machine tool, and recording a start collection timestamp of the internal electric control data; a data synchronization module for synchronizing the external sensor signal data and the internal electric control data based on the start collection timestamp and the callback trigger timestamp. The method comprises: a memory and a processor, wherein 6. A numerically controlled machine tool, characterized by comprising: the memory is used for storing programs; The processor is coupled with the memory and used to execute the program stored in the memory to realize the steps in the numerical control machine tool data synchronization method in any one of claims 1 to 4.
7. A computer-readable storage medium, characterized in that, A computer readable program or instruction is stored, and the program or instruction is executed by the processor to realize the steps in the numerical control machine tool data synchronization method in any one of claims 1 to 4.
Citation Information
Patent Citations
Synchronizing device, synchronization method and synchronization program
US20190383701A1