Method, system, device, processor and computer readable storage medium thereof for implementing fast scanning tool magazine tool position

CN115542842BActive Publication Date: 2026-08-11SHANGHAI WEIHONG ELECTRONICS TECH +1
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202211225755.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-10-09
Publication Date
2026-08-11
Estimated Expiration
2042-10-09

AI Technical Summary

Technical Problem

[0009]上述方法因每一行刀位都需停止,效率低

Benefits of technology

[0033] The processor that enables rapid scanning of tool magazine positions is characterized in that the processor is configured to execute computer-executable instructions, which, when executed by the processor, implement the various steps of the method described above for rapidly scanning tool magazine positions.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115542842B_ABST
    Figure CN115542842B_ABST
Patent Text Reader

Abstract

This invention relates to a method for rapidly scanning tool magazine positions, comprising the following steps: setting scanning parameters; moving to the scanning start point; executing the scanning motion, interrupting the program each cycle to check whether the set detection signals are triggered; if triggered, recording the triggered signals and the coordinates of each axis, and continuing the scanning motion; if not triggered, directly executing the scanning motion; processing the recorded scanning data; determining whether there is a tool at each tool position, saving and displaying the results; and returning the tool position to a fixed position. This invention also relates to a system, device, processor, and storage medium for rapidly scanning tool magazine positions. By employing the method, system, device, processor, and computer-readable storage medium of this invention for rapidly scanning tool magazine positions, the purpose of rapid tool scanning is achieved, that is, completing the detection of all tool positions in one go with motion without deceleration, improving machining and debugging efficiency, and helping to reduce costs. It is also convenient for personnel to operate.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of CNC machine tool systems, and more particularly to the field of CNC machine tool machining, specifically to a method, system, device, processor, and computer-readable storage medium for realizing rapid scanning of tool magazine positions. Background Technology

[0002] In CNC machine tool machining, multiple cutting tools can be used, stored in a tool magazine, and automatically changed according to instructions during machining. During tool changing, it is necessary to check whether a tool is present at each tool position in the tool magazine. If each tool position were to be checked individually during machining, machining efficiency would be affected.

[0003] Therefore, one approach is to add a tool magazine scanning function (hereinafter referred to as tool scanning). During tool scanning, the presence or absence of tools in all tool magazine positions is determined based on the detected trigger signals of each tool position, and the results are saved. During machining and tool changing, the presence or absence of tools can be obtained simply by reading and writing this result, without the need to judge the signals, thereby improving machining efficiency.

[0004] When using a multi-row tool magazine, multiple signals are needed to scan multiple tool positions in the magazine during tool scanning, such as... Figure 1 As shown.

[0005] The existing blade sweeping methods are as follows.

[0006] 1. Stop when the movement reaches the position where the line of cutters coincides with the signal.

[0007] 2. Sequentially judge each signal and record the presence or absence of the tool at that tool position.

[0008] 3. Repeat steps 1 and 2 until all tool positions have been checked.

[0009] The above method is inefficient because it requires stopping at each tool position. Summary of the Invention

[0010] The purpose of this invention is to overcome the shortcomings of the prior art and provide a method, system, device, processor and its computer-readable storage medium for achieving rapid scanning of tool magazine positions that is efficient, easy to operate and widely applicable.

[0011] To achieve the above objectives, the present invention provides a method, system, apparatus, processor, and computer-readable storage medium for rapidly scanning tool magazine positions, as follows:

[0012] The main feature of this method for achieving rapid scanning of tool magazine positions is that the method includes the following steps:

[0013] (1) Set the sweeping parameters;

[0014] (2) Move to the starting point of the sweeping blade;

[0015] (3) Execute the sweeping motion. The interrupt program checks whether the set detection signals are triggered in each cycle. If they are triggered, the triggered signals and the coordinates of each axis are recorded, and the sweeping motion continues. If they are not triggered, the sweeping motion is executed directly.

[0016] (4) Process the recorded sweeping data;

[0017] (5) Determine if there is a tool at each tool position, and save and display the results;

[0018] (6) Return the tool position to the fixed position.

[0019] Preferably, step (1) specifically includes the following steps:

[0020] (1.1) Set the axis of motion when sweeping the blade;

[0021] (1.2) Set the mechanical coordinates of the axis at which each tool position trigger signal is located;

[0022] (1.3) Set the detection signal corresponding to each tool position;

[0023] (1.4) Set the tool position detection tolerance;

[0024] (1.5) Set the start and end positions and speed of the sweeping motion.

[0025] Preferably, step (5) specifically includes:

[0026] Determine whether the coordinates of the tool position when the signal is detected are within the set coordinate tolerance range. If they are, the tool position has a tool, and the result is saved and displayed; otherwise, the tool position has no tool.

[0027] The system for implementing the method of claim 1, which enables rapid scanning of tool positions in a tool magazine, is characterized in that the system comprises:

[0028] A tool magazine contains multiple tool positions arranged in m rows and n columns. A signal is installed on each tool position in each column, and the tool positions in the magazine move relative to the signals along the column direction.

[0029] Preferably, the frequency of the detected signal is not less than 1000Hz.

[0030] The main feature of this device for achieving rapid scanning of tool magazine positions is that the device comprises:

[0031] A processor is configured to execute computer-executable instructions;

[0032] The memory stores one or more computer-executable instructions, which, when executed by the processor, implement the steps of the method described above for rapidly scanning tool magazine positions.

[0033] The processor that enables rapid scanning of tool magazine positions is characterized in that the processor is configured to execute computer-executable instructions, which, when executed by the processor, implement the various steps of the method described above for rapidly scanning tool magazine positions.

[0034] The main feature of this computer-readable storage medium is that it stores a computer program thereon, which can be executed by a processor to implement the various steps of the method described above for implementing rapid scanning of tool magazine positions.

[0035] The present invention employs a method, system, device, processor, and computer-readable storage medium for rapidly scanning tool magazine positions. This achieves rapid tool scanning, enabling the detection of all tool positions in a single, uninterrupted motion, thus improving machining and debugging efficiency and reducing costs. It is also easy for operators to use. This invention can be integrated into CNC systems and has been practically applied on user machine tools, demonstrating high efficiency and stability, meeting user needs, and receiving user approval. Attached Figure Description

[0036] Figure 1 This is a schematic diagram of a multi-signal, multi-row, straight-line tool magazine scanning method for achieving rapid scanning of tool magazine positions according to the present invention.

[0037] Figure 2 This is a schematic diagram of the tool position scanning process of the method for achieving rapid scanning of tool magazine tool positions according to the present invention.

[0038] Figure 3 This is a schematic diagram showing whether there is a tool at a tool position in the method for realizing rapid scanning of tool positions in the tool magazine according to the present invention. Detailed Implementation

[0039] To more clearly describe the technical content of the present invention, the following description is provided in conjunction with specific embodiments.

[0040] The method for rapidly scanning tool positions in a tool magazine according to the present invention includes the following steps:

[0041] (1) Set the sweeping parameters;

[0042] (2) Move to the starting point of the sweeping blade;

[0043] (3) Execute the sweeping motion. The interrupt program checks whether the set detection signals are triggered in each cycle. If they are triggered, the triggered signals and the coordinates of each axis are recorded, and the sweeping motion continues. If they are not triggered, the sweeping motion is executed directly.

[0044] (4) Process the recorded sweeping data;

[0045] (5) Determine if there is a tool at each tool position, and save and display the results;

[0046] (6) Return the tool position to the fixed position.

[0047] Preferably, step (1) specifically includes the following steps:

[0048] (1.1) Set the axis of motion when sweeping the blade;

[0049] (1.2) Set the mechanical coordinates of the axis at which each tool position trigger signal is located;

[0050] (1.3) Set the detection signal corresponding to each tool position;

[0051] (1.4) Set the tool position detection tolerance;

[0052] (1.5) Set the start and end positions and speed of the sweeping motion.

[0053] Preferably, step (5) specifically includes:

[0054] Determine whether the coordinates of the tool position when the signal is detected are within the set coordinate tolerance range. If they are, the tool position has a tool, and the result is saved and displayed; otherwise, the tool position has no tool.

[0055] The present invention provides a system for rapidly scanning tool magazine positions according to claim 1, wherein the system comprises:

[0056] A tool magazine contains multiple tool positions arranged in m rows and n columns. A signal is installed on each tool position in each column, and the tool positions in the magazine move relative to the signals along the column direction.

[0057] Preferably, the frequency of the detected signal is not less than 1000Hz.

[0058] The apparatus of the present invention for realizing rapid scanning of tool magazine positions, wherein the apparatus comprises:

[0059] A processor is configured to execute computer-executable instructions;

[0060] The memory stores one or more computer-executable instructions, which, when executed by the processor, implement the steps of the method described above for rapidly scanning tool magazine positions.

[0061] The processor of the present invention for implementing rapid scanning of tool magazine positions is configured to execute computer-executable instructions, which, when executed by the processor, implement the various steps of the method for implementing rapid scanning of tool magazine positions described above.

[0062] The computer-readable storage medium of the present invention stores a computer program thereon, which can be executed by a processor to implement the various steps of the method for implementing rapid scanning of tool magazine positions described above.

[0063] In a specific embodiment of the present invention, a method for rapid tool sweeping is provided, which uses multiple signals to scan all tool positions in one motion without the need for deceleration, thereby improving efficiency.

[0064] This invention performs tool position signal detection in an interrupt program with a frequency of not less than 1000Hz, enabling high-speed, uninterrupted movement during tool sweeping. While moving, it detects multiple signals and records the data when all signals are triggered. During the tool sweeping movement without deceleration, each signal can detect multiple tool positions.

[0065] Tool magazine and signal distribution as follows Figure 1 As shown. Figure 1 The tool magazine has m rows and n columns of tool positions. A signal is installed for each column of tool positions along the movement path, for a total of n signals. The tool magazine moves relative to the signals along the column direction.

[0066] The objective of this invention is achieved through the following measures.

[0067] 1. Set the machine coordinates for each tool position trigger signal;

[0068] 2. Set the correspondence between each tool position and the detection signal;

[0069] 3. While the sweeping blade is moving, record the coordinates and other data when each detection signal is triggered.

[0070] 4. Compare the recorded data with the pre-set tool position coordinates to determine whether there is a tool at each tool position. Save the results in the system.

[0071] The detection signal frequency reaches 1000Hz, which can support accurate detection of each detection signal trigger during high-speed movement. Theoretically, even if the speed of the tool position relative to the detection signal reaches a high speed of 30000mm / min, it can ensure that tools with a signal trigger range of 1mm are detected.

[0072] To achieve the aforementioned high-frequency detection, the detection and data recording of the detection signal will be executed in a 1ms interrupt routine.

[0073] Another possible solution is to use a PLC to detect the signal and record data when the signal is triggered. However, due to the long execution cycle of a PLC, the frequency of signal detection is relatively low. Therefore, it may be necessary to reduce the movement speed at the location of the signal detection to extend the signal duration and give the PLC a chance to detect the trigger. For example, at the same high-speed movement of 30,000 mm / min, the range of the PLC-detected signal trigger might need to be greater than 8 mm, limiting the applicable scenarios and making the conditions more stringent.

[0074] The sweeping motion process is as follows Figure 2 As shown:

[0075] 1. Define axis B for the movement during tool sweeping. Axis B is the axis that causes relative movement between the tool and the detection signal during tool sweeping, so that the tool passes through the detection signal.

[0076] 2. Set the mechanical coordinates of axis B at which each tool position trigger signal is located.

[0077] 3. Set the detection signal corresponding to each tool position.

[0078] 4. Set tool position detection tolerance. If the coordinates of the tool position when the signal is actually detected are within the set coordinate tolerance range, then the tool is considered to be in position.

[0079] 5. Set the start and end points of the sweeping motion and the speed of the motion.

[0080] 6. Perform the sweeping motion.

[0081] 7. During the sweeping motion, the interrupt program checks each set detection signal for triggering in each cycle. If triggered, the triggered signal and the coordinates of each axis are recorded.

[0082] 8. After the sweeping motion, process the recorded data and determine whether there is a tool at each tool position. Save the results in the system and display them on the corresponding interface. For example... Figure 3 As shown in the image, black indicates no knife, while gray indicates a knife.

[0083] Figure 2 All parameters are set in the system before the sweeping operation is performed. Figure 2 The setting of the sweeping parameters mentioned above refers to transmitting the signals that need to be detected during the sweeping process to the interrupt program, so that the interrupt program can start detecting these signals.

[0084] For the specific implementation scheme of this embodiment, please refer to the relevant descriptions in the above embodiments, which will not be repeated here.

[0085] It is understood that the same or similar parts in the above embodiments can be referred to each other, and the contents not described in detail in some embodiments can be referred to the same or similar contents in other embodiments.

[0086] It should be noted that in the description of this invention, the terms "first," "second," etc., are used for descriptive purposes only and should not be construed as indicating or implying relative importance. Furthermore, in the description of this invention, unless otherwise stated, "a plurality of" means at least two.

[0087] Any process or method description in the flowchart or otherwise herein can be understood as representing a module, segment, or portion of code comprising one or more executable instructions for implementing a particular logical function or process, and the scope of the preferred embodiments of the invention includes additional implementations in which functions may be performed not in the order shown or discussed, including substantially simultaneously or in reverse order depending on the functions involved, as will be understood by those skilled in the art to which embodiments of the invention pertain.

[0088] It should be understood that various parts of the present invention can be implemented in hardware, software, firmware, or a combination thereof. In the above embodiments, multiple steps or methods can be implemented in software or firmware stored in memory and executed by a suitable instruction execution device. For example, if implemented in hardware, as in another embodiment, it can be implemented using any one or a combination of the following techniques known in the art: discrete logic circuits having logic gates for implementing logical functions on data signals, application-specific integrated circuits (ASICs) having suitable combinational logic gates, programmable gate arrays (PGAs), field-programmable gate arrays (FPGAs), etc.

[0089] Those skilled in the art will understand that all or part of the steps of the methods in the above embodiments can be implemented by a program instructing related hardware. The corresponding program can be stored in a computer-readable storage medium. When the program is executed, it includes one or a combination of the steps of the method embodiments.

[0090] Furthermore, the functional units in the various embodiments of the present invention can be integrated into a processing module, or each unit can exist physically separately, or two or more units can be integrated into a module. The integrated module can be implemented in hardware or as a software functional module. If the integrated module is implemented as a software functional module and sold or used as an independent product, it can also be stored in a computer-readable storage medium.

[0091] The storage media mentioned above can be read-only memory, disk, or optical disk, etc.

[0092] In the description of this specification, references to terms such as "one embodiment," "some embodiments," "example," "specific example," or "some examples," etc., indicate that a specific feature, structure, material, or characteristic described in connection with that embodiment or example is included in at least one embodiment or example of the invention. In this specification, the illustrative expressions of the above terms do not necessarily refer to the same embodiment or example. Furthermore, the specific features, structures, materials, or characteristics described may be combined in any suitable manner in one or more embodiments or examples.

[0093] The present invention employs a method, system, device, processor, and computer-readable storage medium for rapidly scanning tool magazine positions. This achieves rapid tool scanning, enabling the detection of all tool positions in a single, uninterrupted motion, thus improving machining and debugging efficiency and reducing costs. It is also easy for operators to use. This invention can be integrated into CNC systems and has been practically applied on user machine tools, demonstrating high efficiency and stability, meeting user needs, and receiving user approval.

[0094] In this specification, the invention has been described with reference to specific embodiments thereof. However, it will be apparent that various modifications and variations can be made without departing from the spirit and scope of the invention. Therefore, the specification and drawings should be considered illustrative rather than restrictive.

Claims

1. A method for achieving rapid scanning of tool magazine positions, characterized in that, The tool magazine has multiple tool positions arranged in m rows and n columns. A signal is installed on each tool position in each column. The movement direction of the tool positions relative to the signals is along the column direction. The method includes the following steps: (1) Set the sweeping parameters; (2) Move to the starting point of the sweeping blade; (3) Execute the sweeping motion. The interrupt program checks whether the set detection signals are triggered in each cycle. If they are triggered, the triggered signals and the coordinates of each axis are recorded, and the sweeping motion continues. If they are not triggered, the sweeping motion is executed directly. (4) Process the recorded sweeping data; (5) Determine whether there is a tool at each tool position, and save and display the results; (6) Return the tool position to the fixed position.

2. The method for realizing rapid scanning of tool magazine positions according to claim 1, characterized in that, Step (1) specifically includes the following steps: (1.1) Set the axis of motion when the sweeping blade is in motion; (1.2) Set the mechanical coordinates of the axis at which each tool position trigger signal is located; (1.3) Set the detection signal corresponding to each tool position; (1.4) Set the tool position detection tolerance; (1.5) Set the start and end positions and speed of the sweeping motion.

3. The method for realizing rapid scanning of tool magazine positions according to claim 1, characterized in that, The specific steps (5) are as follows: Determine whether the coordinates of the tool position when the signal is detected are within the set coordinate tolerance range. If they are, the tool position has a tool, and the result is saved and displayed; otherwise, the tool position has no tool.

4. A system for rapidly scanning tool magazine positions using the method of claim 1, characterized in that, The system detects that the frequency of the signal is not less than 1000Hz.

5. A device for realizing rapid scanning of tool magazine positions, characterized in that, The device includes: A processor is configured to execute computer-executable instructions; The memory stores one or more computer-executable instructions, which, when executed by the processor, implement the steps of the method for implementing rapid scanning of tool magazine positions as described in any one of claims 1 to 3.

6. A processor for implementing rapid scanning of tool magazine positions, characterized in that, The processor is configured to execute computer-executable instructions, which, when executed by the processor, implement the steps of the method for implementing rapid scanning of tool magazine positions as described in any one of claims 1 to 3.

7. A computer-readable storage medium, characterized in that, It stores a computer program, which is executed by a processor to implement the steps of the method for implementing rapid scanning of tool magazine positions as described in any one of claims 1 to 3.

Citation Information

Patent Citations

  • Tool magazine detection device and machine tool

    CN222791408U