Numerical control machine tool tool replacement method and device, electronic equipment and readable storage medium
By real-time monitoring and comparison of the rotation steps of the tool chain rotation mechanism, combined with magnetic induction switch detection, the accuracy and safety of CNC machine tool tool changing are ensured, solving the problem of low reliability of tool changing in existing technologies and improving processing efficiency and safety.
Patent Information
- Application Number
- CN202410795482.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-19
- Publication Date
- 2025-12-12
- Estimated Expiration
- 2044-06-19
AI Technical Summary
The existing CNC machine tool tool changing process has a problem of low reliability, which leads to tool changing errors and affects machining efficiency and safety.
By monitoring and comparing the real-time rotation steps of the tool chain rotating mechanism with the target rotation steps, and combining this with magnetic induction switch detection, the rotation position of the tool chain rotating mechanism can be accurately determined. This ensures that the tool is in the correct position before tool replacement, and triggers an abnormal alarm when necessary to avoid collisions.
It improves the reliability of tool changing in CNC machine tools, avoids tool changing errors, enhances the working efficiency and safety of machining centers, and reduces production costs.
Smart Images

Figure CN118635951B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] Embodiments of the present application relate to the field of numerical control technology, and in particular to a numerical control machine tool replacement method, a numerical control machine tool replacement device, an electronic device, and a computer readable storage medium. BACKGROUND
[0002] In the rigid manufacturing stage of the last century, manufacturers continuously tried to improve the machining efficiency of machine tools by increasing the spindle speed and feed speed of the machine tool, increasing the power and torque of the spindle motor, increasing the cutting depth, and using high-quality tools. However, today's customer needs are personalized, and rigid production lines cannot meet customer needs, so the current manufacturing process is a flexible manufacturing of multiple varieties and small batches, and the manufacturing equipment used is various machining centers equipped with tool magazines. In the high-beat multiple-tool-changing numerical control machining process, the tool storage and automatic exchange are realized through the automatic tool changer, which can reduce the non-cutting time in the machining process, improve the production efficiency, reduce the production cost, and thus improve the productivity of the machining center and even the flexible line. However, the current numerical control machine tool replacement still has the problem of error, which leads to low reliability of the numerical control machine tool tool change. SUMMARY
[0003] Embodiments of the present application provide a numerical control machine tool replacement method, device, electronic device, and computer readable storage medium to solve the problem of tool replacement error existing in numerical control machine tools.
[0004] Embodiments of the present application disclose a numerical control machine tool replacement method, the numerical control machine tool comprising a spindle and a tool chain rotating mechanism, the tool chain rotating mechanism comprising a tool magazine, the tool magazine storing a tool, the spindle comprising a tool holder for fixing the tool, and the method comprising:
[0005] receiving selection instruction information for selecting a tool, and obtaining a tool list of the tool magazine;
[0006] determining a target tool holder identifier and a first tool changing position tool holder identifier according to the tool list and the selection instruction information, wherein the target tool holder identifier is a position identifier of a target tool to be replaced in the tool magazine, and the first tool changing position tool holder identifier is a position identifier of the tool in the spindle based on the selection instruction information;
[0007] determining a target rotation step number of the tool chain rotating mechanism according to the target tool holder identifier and the first tool changing position tool holder identifier;
[0008] monitoring a real-time rotation step number of the tool chain rotating mechanism;
[0009] determining whether to stop rotating the tool chain rotating mechanism according to the target rotation step number and the real-time rotation step number.
[0010] stopping rotating the tool chain rotating mechanism when the target tool is replaced to the tool seat of the spindle.
[0011] Optionally, the determining whether to stop rotating the tool chain rotating mechanism according to the target rotating step number and the real-time rotating step number comprises:
[0012] stopping rotating the tool chain rotating mechanism when the target rotating step number and the real-time rotating step number are consistent;
[0013] continuing rotating the tool chain rotating mechanism when the target rotating step number and the real-time rotating step number are inconsistent.
[0014] Optionally, the determining whether to stop rotating the tool chain rotating mechanism according to the target rotating step number and the real-time rotating step number comprises:
[0015] detecting a second tool changing position tool seat identifier of the tool chain rotating mechanism; wherein the second tool changing position tool seat identifier is a position identifier of the tool chain rotating mechanism currently in the tool seat of the spindle detected;
[0016] determining whether to stop rotating the tool chain rotating mechanism according to the first tool changing position tool seat identifier, the second tool changing position tool seat identifier, the target rotating step number and the real-time rotating step number.
[0017] Optionally, the determining whether to stop rotating the tool chain rotating mechanism according to the first tool changing position tool seat identifier, the second tool changing position tool seat identifier, the target rotating step number and the real-time rotating step number comprises:
[0018] stopping rotating the tool chain rotating mechanism when the first tool changing position tool seat identifier and the second tool changing position tool seat identifier are consistent and the target rotating step number and the real-time rotating step number are consistent;
[0019] continuing rotating the tool chain rotating mechanism when the first tool changing position tool seat identifier and the second tool changing position tool seat identifier are inconsistent or the target rotating step number and the real-time rotating step number are inconsistent.
[0020] Optionally, after the determining the target rotating step number of the tool chain rotating mechanism according to the target tool seat identifier and the first tool changing position tool seat identifier, the method further comprises:
[0021] determining a time for the tool chain rotating mechanism to rotate soon according to the target tool seat identifier and the first tool changing position tool seat identifier;
[0022] determining whether to trigger an abnormal alarm according to the time for rotating soon.
[0023] Optionally, the determining whether to trigger an abnormal alarm according to the rotation time period comprises:
[0024] recording a rotated time of the tool chain rotating mechanism;
[0025] triggering an abnormal alarm when the rotated time does not fall within a time range generated by the rotation time period and a preset error and the tool chain rotating mechanism does not stop rotating.
[0026] Optionally, after the triggering of the abnormal alarm when the rotated time does not fall within the time range generated by the rotation time period and the preset error and the tool chain rotating mechanism does not stop rotating, the method further comprises:
[0027] suspending replacement of the target tool on the spindle of the numerical control machine tool.
[0028] Optionally, the monitoring of the real-time rotation step number of the tool chain rotating mechanism comprises:
[0029] monitoring the real-time rotation step number of the tool chain rotating mechanism by a magnetic induction switch of the numerical control machine tool.
[0030] Optionally, after the stopping of the rotation of the tool chain rotating mechanism and the replacement of the target tool to the tool holder of the spindle, the method further comprises:
[0031] counting replacement information of each replacement of the target tool; wherein the replacement information at least comprises replacement time and replacement speed of the target tool;
[0032] determining whether the tool chain rotating mechanism is abnormal according to the replacement information of the replacement of the target tool.
[0033] Embodiments of the present application also disclose a numerical control machine tool tool replacement device, the numerical control machine tool comprising a spindle and a tool chain rotating mechanism, the tool chain rotating mechanism comprising a tool magazine, the tool magazine storing tools, the spindle comprising a tool holder for fixing tools, the device comprising:
[0034] a selection instruction information receiving module for receiving selection instruction information of selecting tools and acquiring a tool list of the tool magazine;
[0035] a tool replacement position tool holder identification determining module for determining target tool holder identification and first tool replacement position tool holder identification according to the tool list and the selection instruction information; wherein the target tool holder identification is position identification of a target tool to be replaced in the tool magazine, and the first tool replacement position tool holder identification is position identification of the tool currently in the tool holder of the spindle based on the selection instruction information;
[0036] a target rotation step determination module, configured to determine a target rotation step of the tool chain rotation mechanism according to the target tool holder identifier and the first tool changing position tool holder identifier;
[0037] a real-time rotation step determination module, configured to monitor a real-time rotation step of the tool chain rotation mechanism;
[0038] a mechanism rotation determination module, configured to determine whether to stop rotating the tool chain rotation mechanism according to the target rotation step and the real-time rotation step;
[0039] a tool changing module, configured to change the target tool to the tool holder of the spindle when the tool chain rotation mechanism is stopped.
[0040] Optionally, the mechanism rotation determination module is configured to:
[0041] stop rotating the tool chain rotation mechanism when the target rotation step and the real-time rotation step are consistent;
[0042] continue rotating the tool chain rotation mechanism when the target rotation step and the real-time rotation step are inconsistent.
[0043] Optionally, the mechanism rotation determination module is configured to:
[0044] detect a second tool changing position tool holder identifier of the tool chain rotation mechanism; wherein the second tool changing position tool holder identifier is a position identifier of the tool chain rotation mechanism currently at the tool of the spindle detected;
[0045] determine whether to stop rotating the tool chain rotation mechanism according to the first tool changing position tool holder identifier, the second tool changing position tool holder identifier, the target rotation step and the real-time rotation step.
[0046] Optionally, the mechanism rotation determination module is configured to:
[0047] stop rotating the tool chain rotation mechanism when the first tool changing position tool holder identifier and the second tool changing position tool holder identifier are consistent and the target rotation step and the real-time rotation step are consistent;
[0048] continue rotating the tool chain rotation mechanism when the first tool changing position tool holder identifier and the second tool changing position tool holder identifier are inconsistent or the target rotation step and the real-time rotation step are inconsistent.
[0049] Optionally, the device further comprises an abnormal alarm triggering module, configured to:
[0050] determine a time to be used for the tool chain rotation mechanism according to the target tool holder identifier and the first tool changing position tool holder identifier;
[0051] determine whether to trigger an abnormal alarm according to the rotation time.
[0052] Optionally, the abnormal alarm triggering module is configured to:
[0053] record the rotated time of the tool chain rotating mechanism;
[0054] trigger an abnormal alarm when the rotated time does not fall within the time range generated by the rotation time and a preset error and the tool chain rotating mechanism does not stop rotating.
[0055] Optionally, the abnormal alarm triggering module is configured to:
[0056] suspend replacement of the target tool on the spindle of the numerical control machine tool.
[0057] In an embodiment of the present application, the real-time rotation step determination module is configured to:
[0058] monitor the real-time rotation step of the tool chain rotating mechanism through a magnetic induction switch of the numerical control machine tool.
[0059] Optionally, the device further comprises a statistics module configured to:
[0060] statistically record replacement information of each replacement of the target tool, wherein the replacement information at least includes replacement time and replacement speed of the target tool;
[0061] determine whether the tool chain rotating mechanism is abnormal according to the replacement information of the replacement of the target tool.
[0062] An electronic device is also disclosed in the embodiments of the present application, which comprises a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory complete communication with each other through the communication bus.
[0063] The memory is configured to store a computer program.
[0064] The processor is configured to execute the program stored on the memory, so as to realize the method as described in the embodiments of the present application.
[0065] A computer program product is also disclosed in the embodiments of the present application, which is stored in a storage medium and is executed by at least one processor to realize the method as described in the embodiments of the present application.
[0066] A computer readable storage medium is also disclosed in the embodiments of the present application, which stores instructions, and when executed by one or more processors, causes the processors to execute the method as described in the embodiments of the present application.
[0067] Embodiments of the present application include the following advantages:
[0068] In the embodiments of the present application, the numerical control machine tool can include a spindle, a tool chain rotating mechanism, wherein the tool chain rotating mechanism includes a tool magazine for storing tools, and the spindle includes a tool seat for fixing the tools, when it is necessary to replace the tools on the spindle, receiving selection instruction information of the selected tools, obtaining a tool list of the tool magazine, determining a target tool seat identifier and a first tool changing position tool seat identifier according to the tool list and the selection instruction information, wherein the target tool seat identifier is the position identifier of the target tool to be replaced in the tool magazine, and the first tool changing position tool seat identifier is the position identifier of the tool on the spindle based on the selection instruction information, the target rotating step number of the tool chain rotating mechanism can be determined according to the target tool seat identifier and the first tool changing position tool seat identifier, at the same time, the real-time rotating step number of the tool chain rotating mechanism is monitored in real time, whether to stop rotating the tool chain rotating mechanism can be determined according to the target rotating step number and the real-time rotating step number, when the tool chain rotating mechanism is stopped, the target tool can be replaced to the tool seat of the spindle, and the replacement of the tools of the numerical control machine tool is completed. In the embodiments of the present application, the real-time rotating step number of the tool chain rotating mechanism is monitored in real time, and the target tool seat identifier and the first tool changing position tool seat identifier are determined by analyzing the selection instruction information, so that the target rotating step number is accurately determined, and the numerical control machine tool can analyze and determine whether the rotation of the tool chain rotating mechanism is in place according to the target rotating step number and the real-time rotating step number, so as to ensure the safety and reliability of the tool chain rotating mechanism in the tool changing process, and further improve the reliability of the numerical control machine tool. BRIEF DESCRIPTION OF DRAWINGS
[0069] Figure 1 is a step flow chart of a numerical control machine tool tool replacement method provided in the embodiments of the present application;
[0070] Figure 2 is a flowchart of a numerical control machine tool tool replacement provided in the embodiments of the present application;
[0071] Figure 3 is a structural block diagram of a numerical control machine tool tool replacement device provided in the embodiments of the present application;
[0072] Figure 4 is a hardware structure schematic diagram of an electronic device for realizing various embodiments of the present application. DETAILED DESCRIPTION
[0073] In order to make the above-mentioned purposes, features and advantages of the present application more obvious and easy to understand, the present application will be further described in detail below with reference to the drawings and specific embodiments.
[0074] REFERENCE Figure 1, a step flow chart of a tool changing method provided in an embodiment of the present application is shown, the numerical control machine tool comprises a spindle and a tool chain rotating mechanism, the tool chain rotating mechanism comprises a tool magazine, the tool magazine stores tools, the spindle comprises a tool seat for fixing tools, and the tool seat can specifically comprise the following steps:
[0075] Step 101, receiving selection instruction information for selecting a tool, and obtaining a tool list of the tool magazine.
[0076] In a specific implementation, the numerical control machine tool comprises a spindle, a tool chain rotating mechanism and a tool magazine. The spindle is provided with a tool seat, which is a device for fixing tools, and the tool seat can ensure the stability and accuracy of the tools during machining of workpieces. The tool magazine comprises a tool position, which is a position for storing tools in the numerical control machine tool, and the tool magazine can store multiple tools to automatically change the tools during machining of workpieces according to machining requirements.
[0077] The numerical control machine tool is pre-stored with a tool list, which comprises information of tools in the tool magazine. Specifically, the information of the tools can comprise tool numbers, tool types, tool sizes, tool service lives and tool positions (i.e. positions of the tools in the tool magazine). The selection instruction information can be T instruction information of the numerical control machine tool. When the numerical control machine tool selects the selection instruction information of the tools, the tool list is obtained to determine relevant information of the tools to be changed, so that it can be determined by the relevant information which tool in the tool magazine will be used and how to correctly take it out of the tool magazine and install it on the spindle.
[0078] Step 102, determining a target tool seat identifier and a first tool changing position tool seat identifier according to the tool list and the selection instruction information, wherein the target tool seat identifier is a position identifier of a target tool to be changed in the tool magazine, and the first tool changing position tool seat identifier is a position identifier of the tool in the spindle currently determined based on the selection instruction information.
[0079] Step 103, determining a target rotating step number of the tool chain rotating mechanism according to the target tool seat identifier and the first tool changing position tool seat identifier.
[0080] The identifiers of the target tool seat identifier and the first tool changing position tool seat identifier can be numbers, such as 001, 002, 003, etc.
[0081] In the embodiment of the present application, the target tool holder number and the first tool changing position tool holder number are determined according to the tool table and the selection instruction information, specifically, the target tool holder number is the position number of the target tool in the tool magazine to be replaced on the spindle, and the first tool changing position tool holder number is the position number of the tool on the spindle based on the selection instruction information, so that the number of steps that the tool chain rotating mechanism needs to rotate, i.e. the target rotating step number, can be determined according to the target tool holder number and the first tool changing position tool holder number.
[0082] Step 104, monitoring the real-time rotating step number of the tool chain rotating mechanism.
[0083] In the embodiment of the present application, the real-time rotating step number of the tool chain rotating mechanism can be monitored in various ways, so as to ensure that the target tool can be correctly replaced on the spindle.
[0084] In an embodiment of the present application, the monitoring of the real-time rotating step number of the tool chain rotating mechanism comprises:
[0085] The real-time rotating step number of the tool chain rotating mechanism is monitored by the magnetic induction switch of the numerical control machine tool.
[0086] In a specific implementation, the numerical control machine tool can be installed with a magnetic induction switch, which can be used to monitor and control the position and movement of mechanical components, so that the embodiment of the present application can monitor the real-time rotating step number of the tool chain rotating mechanism through the magnetic induction switch of the numerical control machine tool, to ensure that the tool chain rotating mechanism can accurately move to the predetermined tool changing position.
[0087] Step 105, determining whether to stop rotating the tool chain rotating mechanism according to the target rotating step number and the real-time rotating step number.
[0088] In an embodiment of the present application, the determination of whether to stop the rotating tool chain rotating mechanism according to the target rotating step number and the real-time rotating step number comprises:
[0089] When the target rotating step number and the real-time rotating step number are consistent, the tool chain rotating mechanism is stopped rotating;
[0090] When the target rotating step number and the real-time rotating step number are inconsistent, the tool chain rotating mechanism is continued to rotate.
[0091] In the embodiment of the present application, whether to stop rotating the tool chain rotating mechanism can be determined according to the target rotating step number and the real-time rotating step number. Specifically, when the target rotating step number and the real-time rotating step number are consistent, it indicates that the tool chain rotating mechanism has moved to the predetermined tool changing position, and the tool chain rotating mechanism can be stopped rotating. When the target rotating step number and the real-time rotating step number are inconsistent, it indicates that the tool chain rotating mechanism has not moved to the predetermined tool changing position, and the tool chain rotating mechanism can continue rotating.
[0092] In step 106, when the tool chain rotating mechanism is stopped rotating, the target tool is replaced to the tool seat of the spindle.
[0093] In the embodiment of the present application, when it is determined to stop rotating the tool chain rotating mechanism according to the target rotating step number and the real-time rotating step number, the target tool can be replaced to the tool seat of the spindle, so that the tool replacement of the numerical control machine tool is realized.
[0094] In the embodiment of the present application, the numerical control machine tool can include a spindle and a tool chain rotating mechanism. The tool chain rotating mechanism includes a tool magazine for storing tools. The spindle includes a tool seat for fixing tools. When it is necessary to replace a tool on the spindle, selection instruction information of a selected tool is received, a tool list of the tool magazine is obtained, a target tool seat identifier and a first tool changing position tool seat identifier are determined according to the tool list and the selection instruction information. The target tool seat identifier is a position identifier of a target tool to be replaced in the tool magazine. The first tool changing position tool seat identifier is a position identifier of the tool chain rotating mechanism in the tool seat of the spindle determined based on the selection instruction information. A target rotating step number of the tool chain rotating mechanism can be determined according to the target tool seat identifier and the first tool changing position tool seat identifier. Meanwhile, a real-time rotating step number of the tool chain rotating mechanism is monitored in real time. Whether to stop rotating the tool chain rotating mechanism can be determined according to the target rotating step number and the real-time rotating step number. When the tool chain rotating mechanism is stopped rotating, the target tool can be replaced to the tool seat of the spindle, so that the tool replacement of the numerical control machine tool is completed. In the embodiment of the present application, the real-time rotating step number of the tool chain rotating mechanism is monitored in real time, and the target tool seat identifier and the first tool changing position tool seat identifier are determined by analyzing the selection instruction information, so that the target rotating step number is accurately determined. The numerical control machine tool can analyze and determine whether the tool chain rotating mechanism is in place according to the target rotating step number and the real-time rotating step number. The safety and reliability of the tool chain rotating mechanism in the tool changing process are ensured, and the reliability of the numerical control machine tool is improved.
[0095] In one embodiment of the present application, whether to stop rotating the tool chain rotating mechanism according to the target rotating step number and the real-time rotating step number includes:
[0096] The second tool changing position tool seat identifier is obtained by detecting the tool chain rotating mechanism, and is a position identifier of the tool chain rotating mechanism in the tool seat of the spindle.
[0097] According to the first tool changing position tool holder identifier, the second tool changing position tool holder identifier, the target rotation step number and the real-time rotation step number, it is determined whether to stop rotating the tool chain rotating mechanism.
[0098] In a specific implementation, the chain tool magazine is widely applied to machining centers, and the chain tool magazine is divided into a servo tool magazine and a common tool magazine according to different driving devices, wherein the servo tool magazine is driven by a servo motor, and the tool chain rotating mechanism of the common tool magazine is driven by a common three-phase asynchronous motor. At present, the application of the common tool magazine accounts for a large proportion, and the tool chain rotating mechanism thereof relies on a counting switch to count the rotation step number. However, the counting scheme has risks such as loosening of the counting switch, unresponsive, detection of position change and low reliability. If the tool holder counting is wrong, the target tool on the spindle after replacement is not the tool required for processing, and the tool will collide with the part to be processed or the fixture, which may cause damage to the tool, scrap of the part, damage to the key parts such as the spindle, loss of the machining precision of the machine tool, and even a major safety accident of machine damage and human casualty.
[0099] In the embodiment of the application, the tool chain rotating mechanism is detected to obtain a second tool changing position tool holder identifier, wherein the second tool changing position tool holder identifier is a position identifier of the tool on the spindle currently detected by the tool chain rotating mechanism, and whether to stop rotating the tool chain rotating mechanism is determined according to the first tool changing position tool holder identifier, the second tool changing position tool holder identifier, the target rotation step number and the real-time rotation step number. In this way, on the basis of whether the target rotation step number detected and the real-time rotation step number actually monitored are consistent to determine whether the tool chain rotating mechanism has moved to the predetermined tool changing position, the first tool changing position tool holder identifier and the second tool changing position tool holder identifier are combined to determine whether the tool chain rotating mechanism has moved to the predetermined tool changing position, so that the reliability of the tool changing process of the tool chain rotating mechanism is improved.
[0100] In an embodiment of the application, the determination of whether to stop rotating the tool chain rotating mechanism according to the first tool changing position tool holder identifier, the second tool changing position tool holder identifier, the target rotation step number and the real-time rotation step number comprises:
[0101] When the first tool changing position tool holder identifier and the second tool changing position tool holder identifier are consistent and the target rotation step number and the real-time rotation step number are consistent, the tool chain rotating mechanism is stopped from rotating.
[0102] When the first tool changing position tool holder identifier and the second tool changing position tool holder identifier are inconsistent or the target rotation step number and the real-time rotation step number are inconsistent, the tool chain rotating mechanism is continued to rotate.
[0103] Specifically, when the first tool changing position turret identifier and the second tool changing position turret identifier are consistent, and the target rotation step number and the real-time rotation step number are consistent, it indicates that the tool chain rotating mechanism has moved to the predetermined tool changing position, at this time, the tool chain rotating mechanism is stopped, otherwise, when the first tool changing position turret identifier and the second tool changing position turret identifier are inconsistent, or the target rotation step number and the real-time rotation step number are inconsistent, it indicates that the tool chain rotating mechanism has not moved to the predetermined tool changing position, the tool chain rotating mechanism is continued to be rotated, of course, if the real-time rotation step number exceeds the target rotation step number, an abnormal alarm can also be triggered.
[0104] The embodiment of the present application is aimed at the tool chain rotating mechanism of the general tool magazine of the machining center, adopts the double security feedback mechanism of numerical comparison and process monitoring, performs real-time detection on the position of the tool chain rotating mechanism, analyzes and judges whether the rotation of the tool chain rotating mechanism is in place through operation, ensures the safety and reliability of the tool changing process, avoids machine collision, and improves the machining efficiency of the flexible production line.
[0105] In an embodiment of the present application, after the target rotation step number of the tool chain rotating mechanism is determined according to the target tool turret identifier and the first tool changing position turret identifier, the method further comprises:
[0106] determining the time to be rotated of the tool chain rotating mechanism according to the target tool turret identifier and the first tool changing position turret identifier;
[0107] determining whether to trigger an abnormal alarm according to the time to be rotated.
[0108] In the embodiment of the present application, in addition to the target rotation step number of the tool chain rotating mechanism calculated according to the target tool turret identifier and the first tool changing position turret identifier, the time to be rotated of the tool chain rotating mechanism, that is, the time theoretically required for the tool chain rotating mechanism to move to the predetermined tool changing position, can also be calculated, and the time to be rotated can be estimated according to the specifications and performance parameters of the tool chain rotating mechanism, in combination with the target tool turret identifier and the first tool changing position turret identifier.
[0109] Subsequently, whether to trigger an abnormal alarm can be determined according to the time to be rotated, and in an embodiment of the present application, the determination of whether to trigger an abnormal alarm according to the time to be rotated comprises:
[0110] recording the rotated time of the tool chain rotating mechanism;
[0111] when the rotated time does not fall within the time range generated by the time to be rotated and a preset error and the tool chain rotating mechanism has not stopped rotating, triggering an abnormal alarm.
[0112] In the embodiment of the present application, a time range can be generated based on the rotation time and a preset error, wherein the preset error can be adaptively set according to actual conditions. In the actual rotation process of the cutter chain rotating mechanism, the rotated time of the cutter chain rotating mechanism is monitored and recorded in real time. If the rotated time does not fall within the time range and the cutter chain rotating mechanism continues to rotate, it indicates that the cutter chain rotating mechanism may have an abnormality, and an abnormal alarm can be triggered at this time.
[0113] In an embodiment of the present application, after the abnormal alarm is triggered when the rotated time does not fall within the time range generated by the rotation time and the preset error and the cutter chain rotating mechanism does not stop rotating, the method further comprises:
[0114] suspending the replacement of the target tool on the spindle of the numerical control machine tool.
[0115] In the embodiment of the present application, when the abnormal alarm is triggered, the operator can be notified or automatic measures can be taken, for example, the operation of the cutter chain rotating mechanism can be directly stopped, so as to suspend the replacement of the target tool on the spindle of the numerical control machine tool, to prevent problems such as damage or processing errors of the cutter chain rotating mechanism.
[0116] In an embodiment of the present application, after the cutter chain rotating mechanism is stopped and the target tool is replaced on the tool holder of the spindle, the method further comprises:
[0117] statistically recording replacement information of each replacement of the target tool; wherein the replacement information at least includes replacement time and replacement speed of the target tool;
[0118] determining whether the cutter chain rotating mechanism has an abnormality according to the replacement information of the replacement of the target tool.
[0119] In the embodiment of the present application, the operating system of the numerical control machine tool statistically records the replacement information of each replacement of the target tool, wherein the replacement information can include replacement time and replacement speed. The embodiment of the present application can determine an average replacement information according to historical replacement information, and then, when replacing the target tool at the current time, the replacement information of the replacement of the target tool is obtained, and then compared with the historical average replacement information. If the error between the two is small, it can be determined that the cutter chain rotating mechanism is normal, and if the error between the two is large, it can be determined that the cutter chain rotating mechanism may have an abnormality. For example, the replacement time of the current replacement of the target tool is greater than the historical average replacement time, and the replacement speed of the current replacement of the target tool is greater than the historical average replacement speed, which indicates that the cutter chain rotating mechanism may have mechanical failure or operation error and other abnormalities. The operator can be notified to take timely measures to ensure that the cutter chain rotating mechanism of the numerical control machine tool can operate stably, thereby ensuring the processing quality.
[0120] For the better understanding of the embodiments of the present application by those skilled in the art, the following is described with a specific example. Referring to Figure 2 , is a step flow chart of tool replacement of a numerical control machine tool provided in the embodiments of the present application, the numerical control machine tool can include a data analysis unit, and the specific steps are as follows:
[0121] Step 1: the data analysis unit acquires tool table and T instruction information;
[0122] Step 2: the data analysis unit decodes and stores the received T instruction information;
[0123] Step 3: the data analysis unit starts a tool searching mechanism, calculates and stores a target tool holder number according to the tool table and the received T instruction information;
[0124] Step 4: the data analysis unit performs operation according to the following formula, calculates and stores a step number Step (target rotation step number) of a tool chain rotation mechanism which needs to be rotated;
[0125] Step=Dir*(NoMbdz-NoHdwdz), when NoMbdz is greater than NoHdwdz, Dir=1; when NoMbdz is equal to NoHdwdz, Dir=0; when NoMbdz is less than NoHdwdz, Dir=-1.
[0126] Wherein, Dir represents a rotation direction of the tool chain; Dir=1 positive rotation, Dir=-1 negative rotation, Dir=0 no rotation; NoMbdz represents the target tool holder number, and NoHdwdz represents the tool changing position tool holder number;
[0127] Step 5: the data analysis unit performs operation, calculates a rotation time of the tool chain rotation mechanism, and presets the calculation result to a running monitoring module of the data analysis unit;
[0128] Step 6: the data analysis unit performs data processing, compares the current detected tool changing position tool holder number with the calculation result of step 3, and sets the output result as 1 if they are the same, and as 0 if they are different;
[0129] Step 7: the data analysis unit monitors a real-time rotation step number of the tool chain through a magnetic induction switch, compares the received feedback result with the calculation step number result (target rotation step number) of step 4, and sets the result as 1 if they are the same, and as 0 if they are different;
[0130] Step 8: performs logical AND operation on the output results of step 6 and step 7, sets the output as 1 if both of them are 1, and as 0 if not, and stores the output result;
[0131] Step 9: When the cutter chain rotating mechanism starts to rotate, the operation monitoring module of the data analysis unit starts to work, and the output is 1 when the preset value is not reached, and the output is 0 when the preset value is reached;
[0132] Step 10: Determine whether the operation result of step 8 is equal to 1; if the operation result of step 8 is 0, return to step 6 for continuous execution;
[0133] Step 11: If the operation result of step 8 is 1, stop the cutter chain rotating mechanism from rotating, reset the monitoring process, and feed the above result to the CPU (Central Processing Unit) module of the numerical control machine tool;
[0134] Step 12: Continue to execute the subsequent tool changing action;
[0135] Step 13: If the output of step 9 is 0, stop the tool changing process and trigger an abnormal alarm;
[0136] Step 14: End.
[0137] The embodiment of the application improves the reliability of the ordinary tool magazine tool changing, thereby improving the reliability of the numerical control machine tool. Moreover, the rotating step count error of the cutter chain rotating mechanism can be avoided, the work efficiency of the machining center is improved, the production cost is reduced, and the productivity of the machining center and even the flexible line is improved.
[0138] It should be noted that, for the method embodiments, in order to simply describe, they are all described as a series of action combinations, but those skilled in the art should know that the embodiments of the application are not limited by the action sequence described, because according to the embodiments of the application, certain steps can be performed in other sequences or simultaneously. Secondly, those skilled in the art should know that the embodiments described in the specification all belong to preferred embodiments, and the actions involved are not necessarily necessary for the embodiments of the application.
[0139] Referring to Figure 3 , a structural block diagram of a numerical control machine tool tool changing device provided in the embodiment of the application is shown, the numerical control machine tool includes a main shaft and a cutter chain rotating mechanism, the cutter chain rotating mechanism includes a tool magazine, the tool magazine stores tools, the main shaft includes a tool seat for fixing the tools, and the device can specifically include the following modules:
[0140] The selection instruction information receiving module 301 is used for receiving selection instruction information of selecting tools, and acquiring a tool list of the tool magazine;
[0141] The tool changer position identification determination module 302 is configured to determine a target tool holder identification and a first tool changer position identification according to the tool table and the selection instruction information, wherein the target tool holder identification is a position identification of a target tool to be replaced in the tool magazine, and the first tool changer position identification is a position identification of a tool of the spindle based on the selection instruction information.
[0142] The target rotation step determination module 303 is configured to determine a target rotation step of the tool chain rotation mechanism according to the target tool holder identification and the first tool changer position identification.
[0143] The real-time rotation step determination module 304 is configured to monitor a real-time rotation step of the tool chain rotation mechanism.
[0144] The mechanism rotation determination module 305 is configured to determine whether to stop rotating the tool chain rotation mechanism according to the target rotation step and the real-time rotation step.
[0145] The tool changer module 306 is configured to replace the target tool to the tool holder of the spindle when the tool chain rotation mechanism is stopped.
[0146] In an embodiment of the present application, the mechanism rotation determination module 305 is configured to:
[0147] When the target rotation step and the real-time rotation step are consistent, the tool chain rotation mechanism is stopped.
[0148] When the target rotation step and the real-time rotation step are inconsistent, the tool chain rotation mechanism is continued to rotate.
[0149] In an embodiment of the present application, the mechanism rotation determination module 305 is configured to:
[0150] The second tool changer position identification is obtained by detecting the tool chain rotation mechanism, and the second tool changer position identification is a position identification of a tool of the spindle based on the detection.
[0151] The mechanism rotation determination module 305 is configured to determine whether to stop rotating the tool chain rotation mechanism according to the first tool changer position identification, the second tool changer position identification, the target rotation step and the real-time rotation step.
[0152] In an embodiment of the present application, the mechanism rotation determination module 305 is configured to:
[0153] When the first tool changer position identification and the second tool changer position identification are consistent and the target rotation step and the real-time rotation step are consistent, the tool chain rotation mechanism is stopped.
[0154] continue to rotate the tool chain rotating mechanism when the first tool changing position magazine identifier and the second tool changing position magazine identifier are inconsistent or the target rotation step number and the real-time rotation step number are inconsistent.
[0155] In an embodiment of the present application, the device further comprises an abnormal alarm triggering module, configured to:
[0156] determine the time for the tool chain rotating mechanism to rotate according to the target tool magazine identifier and the first tool changing position magazine identifier;
[0157] determine whether to trigger an abnormal alarm according to the time for rotation.
[0158] In an embodiment of the present application, the abnormal alarm triggering module is configured to:
[0159] record the rotated time of the tool chain rotating mechanism;
[0160] trigger an abnormal alarm when the rotated time does not fall within the time range generated by the time for rotation and a preset error and the tool chain rotating mechanism has not stopped rotating.
[0161] In an embodiment of the present application, the abnormal alarm triggering module is configured to:
[0162] suspend changing the target tool on the spindle of the numerical control machine tool.
[0163] In an embodiment of the present application, the real-time rotation step number determining module 304 is configured to:
[0164] monitor the real-time rotation step number of the tool chain rotating mechanism through a magnetic induction switch of the numerical control machine tool.
[0165] In an embodiment of the present application, the device further comprises a statistical module, configured to:
[0166] statistically record the changing information of each time of changing the target tool; wherein the changing information at least includes the changing time and the changing speed of the target tool;
[0167] determine whether the tool chain rotating mechanism is abnormal according to the changing information of changing the target tool.
[0168] In the embodiment of the present application, the numerical control machine tool can include a spindle and a tool chain rotating mechanism, wherein the tool chain rotating mechanism includes a tool magazine for storing tools, and the spindle includes a tool seat for fixing the tools, when it is necessary to replace the tools on the spindle, the selection instruction information of the selected tools is received, the tool table of the tool magazine is acquired, the target tool seat identifier and the first tool changing position tool seat identifier are determined according to the tool table and the selection instruction information, wherein the target tool seat identifier is the position identifier of the target tool to be replaced in the tool magazine, and the first tool changing position tool seat identifier is the position identifier of the tool on the spindle based on the selection instruction information, the target rotating step number of the tool chain rotating mechanism can be determined according to the target tool seat identifier and the first tool changing position tool seat identifier, at the same time, the real-time rotating step number of the tool chain rotating mechanism is monitored in real time, whether to stop rotating the tool chain rotating mechanism can be determined according to the target rotating step number and the real-time rotating step number, when the tool chain rotating mechanism is stopped, the target tool can be replaced to the tool seat of the spindle, and the replacement of the tools of the numerical control machine tool is completed. In the embodiment of the present application, the real-time rotating step number of the tool chain rotating mechanism is monitored in real time, and the target rotating step number is accurately determined by analyzing the selection instruction information to determine the target tool seat identifier and the first tool changing position tool seat identifier, so that the numerical control machine tool can analyze and judge whether the rotation of the tool chain rotating mechanism is in place according to the target rotating step number and the real-time rotating step number, the safety and reliability of the tool chain rotating mechanism in the tool changing process are ensured, and the reliability of the numerical control machine tool is improved.
[0169] For the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the related parts refer to the part of the method embodiment.
[0170] In addition, the embodiment of the present application also provides an electronic device, which includes a processor, a memory, and a computer program stored in the memory and executable on the processor, wherein the computer program is executed by the processor to implement each process of the above-mentioned numerical control machine tool tool replacement method embodiment and achieve the same technical effects. To avoid repetition, this will not be repeated here.
[0171] The embodiment of the present application also provides a computer readable storage medium, which stores a computer program, wherein the computer program is executed by a processor to implement each process of the above-mentioned numerical control machine tool tool replacement method embodiment and achieve the same technical effects. To avoid repetition, this will not be repeated here. The computer readable storage medium includes a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, etc.
[0172] The embodiment of the present application also provides a computer program product stored in a storage medium, which is executed by at least one processor to realize each process of the numerical control machine tool tool changing method embodiment and achieve the same technical effects. To avoid repetition, details are not described herein.
[0173] Figure 4 A hardware structure schematic diagram of an electronic device for implementing various embodiments of the present application.
[0174] The electronic device 400 includes, but is not limited to, a radio frequency unit 401, a network module 402, an audio output unit 403, an input unit 404, a sensor 405, a display unit 406, a user input unit 407, an interface unit 408, a memory 409, a processor 410, and a power supply 411, etc. Those skilled in the art can understand that the electronic device 400 can include more or less components, or combine some components, or arrange different components. In the embodiments of the present application, the electronic device includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle terminal, a wearable device, and a pedometer, etc. Figure 4 The electronic device structure shown in the above table does not constitute a limitation on the electronic device, and the electronic device can include more or less components than the diagram, or combine some components, or arrange different components. In the embodiments of the present application, the electronic device includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle terminal, a wearable device, and a pedometer, etc.
[0175] It should be understood that, in the embodiments of the present application, the radio frequency unit 401 can be used for receiving and sending signals in the process of information or call, specifically, receiving downlink data from a base station and processing by the processor 410; in addition, sending uplink data to the base station. Generally, the radio frequency unit 401 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, etc. In addition, the radio frequency unit 401 can also communicate with the network and other devices through a wireless communication system.
[0176] The electronic device provides wireless broadband Internet access for users through the network module 402, such as helping users to send and receive emails, browse web pages, and access streaming media, etc.
[0177] The audio output unit 403 can convert audio data received by the radio frequency unit 401 or the network module 402 or stored in the memory 409 into an audio signal and output as a sound. Moreover, the audio output unit 403 can also provide audio output related to a specific function performed by the electronic device 400 (for example, a call signal receiving sound, a message receiving sound, etc.). The audio output unit 403 includes a speaker, a buzzer, and a receiver, etc.
[0178] The input unit 404 is configured to receive audio or video signals. The input unit 404 can include a graphics processor (GPU) 4041 and a microphone 4042. The graphics processor 4041 processes image data of a still picture or a video obtained by an image capture device (e.g., a camera) in a video capture mode or an image capture mode. Processed image frames can be displayed on the display unit 406. Processed image frames can be stored in the memory 409 (or other storage medium) or transmitted via the radio frequency unit 401 or the network module 402. The microphone 4042 can receive sound and is capable of processing such sound as audio data. Processed audio data can be converted into a format that can be transmitted to a mobile communication base station via the radio frequency unit 401 in a telephone call mode.
[0179] The electronic device 400 further includes at least one sensor 405, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor and a proximity sensor, wherein the ambient light sensor can adjust the brightness of the display panel 4061 according to the brightness of ambient light, and the proximity sensor can turn off the display panel 4061 and / or the backlight when the electronic device 400 is moved to the ear. As one of the motion sensors, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally three axes), and when at rest, can detect the magnitude and direction of gravity, and can be used to identify the electronic device posture (such as screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer, knock), and the like. The sensor 405 can also include a fingerprint sensor, a pressure sensor, an iris sensor, a molecular sensor, a gyroscope, a barometer, a hygrometer, a thermometer, an infrared sensor, and the like, which will not be described here.
[0180] The display unit 406 is configured to display information input by a user or information provided to the user. The display unit 406 can include a display panel 4061, which can be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), or the like.
[0181] The user input unit 407 can be used to receive inputted digital or character information, and to generate key signal input related to user settings of the electronic device and control of functions. Specifically, the user input unit 407 includes a touch panel 4071 and other input devices 4072. The touch panel 4071, also called a touch screen, can collect a user's touch operation (such as a user's operation on or near the touch panel 4071 using a finger, a stylus, or any suitable object or accessory) on or near it. The touch panel 4071 can include two parts, a touch detection device and a touch controller. The touch detection device detects the user's touch position and detects a signal caused by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into touch coordinates, and sends it to the processor 410, receives commands from the processor 410 and executes them. In addition, the touch panel 4071 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic wave. In addition to the touch panel 4071, the user input unit 407 can also include other input devices 4072. Specifically, the other input devices 4072 can include, but are not limited to, a physical keyboard, function keys (such as volume control buttons, on / off buttons, etc.), trackballs, mice, joysticks, and the like, which will not be described here.
[0182] Further, the touch panel 4071 can be overlaid on the display panel 4061, and when the touch panel 4071 detects a touch operation on or near it, it transmits to the processor 410 to determine the type of touch event, and then the processor 410 provides corresponding visual output on the display panel 4061 according to the type of touch event. Although in the above embodiment, the touch panel 4071 and the display panel 4061 are implemented as two independent components to realize the input and output functions of the electronic device, in some embodiments, the touch panel 4071 and the display panel 4061 can be integrated to realize the input and output functions of the electronic device, which is not limited here. Figure 4
[0183] The interface unit 408 is an interface for connecting external devices to the electronic device 400. For example, the external devices can include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input / output (I / O) port, a video I / O port, an earphone port, and the like. The interface unit 408 can be used to receive input (e.g., data information, power, etc.) from external devices and transmit the received input to one or more elements within the electronic device 400 or can be used to transmit data between the electronic device 400 and external devices.
[0184] The memory 409 can be used to store software programs and various data. The memory 409 can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system, application programs required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; and the data storage area can store data created according to the use of the mobile phone (such as audio data, a phone book, etc.), and the like. In addition, the memory 409 can include a high-speed random access memory, and can also include a nonvolatile memory, for example, at least one magnetic disk storage device, a flash memory device, or other volatile solid-state memory device.
[0185] The processor 410 is the control center of the electronic device, connects all parts of the electronic device through various interfaces and lines, executes various functions of the electronic device and processes data by running or executing software programs and / or modules stored in the memory 409 and calling data stored in the memory 409, and thus monitors the whole electronic device. The processor 410 can include one or more processing units; preferably, the processor 410 can integrate an application processor and a modem processor, wherein the application processor mainly processes an operating system, a user interface, and application programs, and the like, and the modem processor mainly processes wireless communication. It can be understood that the above-mentioned modem processor can also not be integrated into the processor 410.
[0186] The electronic device 400 can further include a power supply 411 (such as a battery) for supplying power to various components; preferably, the power supply 411 can be logically connected to the processor 410 through a power management system, so as to realize the functions of managing charging, discharging, and power consumption management, and the like through the power management system.
[0187] In addition, the electronic device 400 includes some functional modules that are not shown, which will not be described here.
[0188] It should be noted that, in this document, the term "comprising" or "including" or any other variant thereof is intended to cover non-exclusive inclusion, so that a process, method, article, or device including a series of elements not only includes those elements, but also includes other elements not explicitly listed, or further includes elements inherent to such a process, method, article, or device. Without more limitations, the element defined by the statement "including a" does not exclude the presence of another identical element in the process, method, article, or device including the element.
[0189] Those skilled in the art can clearly understand that the above-mentioned embodiment method can be realized by means of software and necessary general hardware platform, of course, it can also be realized by hardware, but in many cases, the former is a better embodiment. Based on such understanding, the technical solutions of the present application can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) and includes a plurality of instructions for making a terminal (which can be a mobile phone, computer, server, air conditioner, or network device) execute the method described in each embodiment of the present application.
[0190] The embodiments of the present application are described above with reference to the accompanying drawings, but the present application is not limited to the above-mentioned specific embodiments, and the above-mentioned specific embodiments are only illustrative, not restrictive. Those skilled in the art can make many forms without departing from the purpose of the present application and the scope protected by the claims under the inspiration of the present application, which all belong to the protection of the present application.
[0191] Those skilled in the art can realize that the units and algorithm steps of each example described in combination with the embodiments disclosed in the embodiments of the present application can be realized by electronic hardware or a combination of computer software and electronic hardware. Whether the functions are realized in hardware or software depends on the specific application and design constraints of the technical solutions. Those skilled in the art can use different methods to realize the described functions for each specific application, but such implementation should not be considered beyond the scope of the present application.
[0192] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working process of the above-mentioned system, device and unit can refer to the corresponding process in the foregoing method embodiments, which will not be repeated here.
[0193] In the embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only illustrative, for example, the division of the units is only a logical function division, and actual implementation can have another division manner, for example, a plurality of units or components can be combined or integrated into another system, or some features can be ignored or not executed. In addition, the coupling or direct coupling or communication connection between the displayed or discussed units can be indirect coupling or communication connection through some interfaces, devices or units, which can be electrical, mechanical or other forms.
[0194] The units described as separate components may or may not be physically separate, and the components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed on multiple network units. Part or all of the units can be selected according to actual needs to achieve the purpose of the embodiment scheme.
[0195] In addition, each functional unit in each embodiment of the present application can be integrated in one processing unit, or each unit can exist physically, or two or more units can be integrated in one unit.
[0196] If the functions are realized in the form of software functional units and sold or used as independent products, they can be stored in a computer readable storage medium. Based on this understanding, the technical solutions of the present application or the part of the prior art that essentially contributes or the part of the technical solutions can be embodied in the form of a software product. The computer software product is stored in a storage medium and includes a plurality of instructions for causing a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, ROM, RAM, magnetic disk or optical disk, and various program code storage media.
[0197] The above is only a specific embodiment of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art can easily think of changes or replacements within the technical range disclosed by the present application, which should be covered within the protection scope of the present application. Therefore, the protection scope of the present application should be subject to the protection scope of the claims.
Claims
1. A method for changing cutting tools on a CNC machine tool, characterized in that, The CNC machine tool includes a spindle and a tool chain rotation mechanism. The tool chain rotation mechanism includes a tool magazine containing cutting tools. The spindle includes a tool holder for fixing the cutting tools. The method includes: Receive the tool selection instruction information and obtain the tool table of the tool magazine; The target tool holder identifier and the first tool change position tool holder identifier are determined according to the tool list and the selection instruction information; wherein, the target tool holder identifier is the position identifier of the target tool to be replaced in the tool magazine, and the first tool change position tool holder identifier is the position identifier of the tool of the tool chain rotation mechanism on the spindle, determined based on the selection instruction information; The target number of rotation steps of the tool chain rotation mechanism is determined based on the target tool holder identifier and the first tool change position tool holder identifier. Monitor the real-time rotation steps of the blade chain rotation mechanism; Whether to stop rotating the blade chain rotation mechanism is determined based on the target rotation step number and the real-time rotation step number; When the rotation of the tool chain mechanism is stopped, the target tool is replaced onto the tool holder of the spindle; The step of determining whether to stop rotating the blade chain rotating mechanism based on the target rotation step number and the real-time rotation step number includes: The tool chain rotation mechanism is detected to obtain a second tool change position tool holder identifier; wherein, the second tool change position tool holder identifier is the position identifier of the tool on the spindle of the tool chain rotation mechanism obtained by detection; The decision to stop rotating the tool chain mechanism is determined based on the first tool change position tool holder identifier, the second tool change position tool holder identifier, the target rotation step count, and the real-time rotation step count.
2. The method according to claim 1, characterized in that, The step of determining whether to stop rotating the blade chain rotating mechanism based on the target rotation step number and the real-time rotation step number includes: When the target rotation step number and the real-time rotation step number are consistent, the rotation of the blade chain rotation mechanism is stopped; When the target rotation step number and the real-time rotation step number are inconsistent, the blade chain rotation mechanism continues to rotate.
3. The method according to claim 1, characterized in that, The step of determining whether to stop rotating the tool chain rotation mechanism based on the first tool change position tool holder identifier, the second tool change position tool holder identifier, the target rotation step number, and the real-time rotation step number includes: When the first tool change position tool holder identifier and the second tool change position tool holder identifier are the same, and the target rotation step number and the real-time rotation step number are the same, the rotation of the tool chain rotation mechanism is stopped. When the first tool change position tool holder identifier and the second tool change position tool holder identifier are inconsistent, or when the target rotation step number and the real-time rotation step number are inconsistent, the tool chain rotation mechanism continues to rotate.
4. The method according to claim 1, characterized in that, After determining the target rotation number of the tool chain rotation mechanism based on the target tool holder identifier and the first tool change position tool holder identifier, the method further includes: The time required for the tool chain rotation mechanism to rotate is determined based on the target tool holder identifier and the first tool change position tool holder identifier. Whether to trigger an abnormal alarm is determined based on the rotation time.
5. The method according to claim 4, characterized in that, The step of determining whether to trigger an abnormal alarm based on the rotation time includes: Record the rotation time of the blade chain rotating mechanism; An abnormal alarm is triggered when the rotation time does not fall within the time range of the rotation time and the time range of the preset error generation, and the blade chain rotation mechanism does not stop rotating.
6. The method according to claim 5, characterized in that, After triggering an abnormal alarm when the rotation time does not fall within the time range of the rotation time and the time range of the preset error generation, and the blade chain rotation mechanism does not stop rotating, the method further includes: Pause on the spindle of the CNC machine tool to change the target tool.
7. The method according to claim 1, characterized in that, The monitoring of the real-time rotation steps of the blade chain rotation mechanism includes: The real-time rotation steps of the tool chain rotation mechanism are monitored by the magnetic induction switch of the CNC machine tool.
8. The method according to claim 1, characterized in that, After the target tool is replaced onto the tool holder of the spindle when the rotation of the tool chain mechanism is stopped, the method further includes: Collect statistics on the replacement information of the target tool each time it is replaced; wherein, the replacement information includes at least the replacement time and replacement speed of the target tool; The abnormality of the tool chain rotation mechanism is determined based on the replacement information of the target tool.
9. A tool changing device for a CNC machine tool, characterized in that, The CNC machine tool includes a spindle and a tool chain rotation mechanism. The tool chain rotation mechanism includes a tool magazine containing cutting tools. The spindle includes a tool holder for fixing the cutting tools. The device includes: The selection instruction information receiving module is used to receive the selection instruction information for selecting a tool and obtain the tool table of the tool magazine; The tool change position tool holder identification module is used to determine the target tool holder identification and the first tool change position tool holder identification based on the tool list and the selection instruction information; wherein, the target tool holder identification is the position identification of the target tool to be replaced in the tool magazine, and the first tool change position tool holder identification is the position identification of the tool of the tool chain rotation mechanism on the spindle as determined based on the selection instruction information; The target rotation step determination module is used to determine the target rotation step of the tool chain rotation mechanism based on the target tool holder identifier and the first tool change position tool holder identifier. A real-time rotation step count determination module is used to monitor the real-time rotation step count of the blade chain rotation mechanism; The mechanism rotation determination module is used to determine whether to stop rotating the cutter chain rotation mechanism based on the target rotation step number and the real-time rotation step number; The tool changing module is used to change the target tool to the tool holder of the spindle when the tool chain rotation mechanism stops rotating; The mechanism rotation determination module is used for: The tool chain rotation mechanism is detected to obtain a second tool change position tool holder identifier; wherein, the second tool change position tool holder identifier is the position identifier of the tool on the spindle of the tool chain rotation mechanism obtained by detection; The decision to stop rotating the tool chain mechanism is determined based on the first tool change position tool holder identifier, the second tool change position tool holder identifier, the target rotation step count, and the real-time rotation step count.
10. An electronic device, characterized in that, It includes a processor, a communication interface, a memory, and a communication bus, wherein the processor, the communication interface, and the memory communicate with each other through the communication bus; The memory is used to store computer programs; When the processor executes a program stored in the memory, it implements the method as described in any one of claims 1-8.
11. A computer-readable storage medium having instructions stored thereon that, when executed by one or more processors, cause the processors to perform the method as described in any one of claims 1-8.
Citation Information
Patent Citations
Method and apparatus for controlling tool magazines
US4581810A