Safe cutter stopping method and system and storage medium
By introducing analog input modules and tool control modules into the control system of the old-fashioned deep-hole drilling and boring machine, the operating status of the machine is monitored and responded in real time, and the problem that old-fashioned machine tools cannot effectively reduce the blade damage rate, achieving the effect of improving yield and improving production efficiency.
Patent Information
- Application Number
- CN202411798411.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-09
- Publication Date
- 2025-03-18
AI Technical Summary
The prior art cannot effectively reduce the insert damage rate of old-fashioned deep-hole drilling boring machines and improve the product yield, especially in the absence of a CNC system.
By introducing an analog input module and a tool control module into the control system of the machine tool, the actual voltage analog quantity and expected torque value of the machine tool rotates in real time, the processing state is judged, and the tool stop signal is sent in an emergency state.
It effectively reduces the damage rate of machine tool blades, improves the product yield, enhances the safety and reliability of machine tools, and improves production efficiency and economic benefits.
Smart Images

Figure CN119644906A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of machine tool processing, and in particular to a safe tool stopping method, system and storage medium. Background Art
[0002] At present, with the continuous updating of CNC systems at home and abroad, the performance and safety measures of machine tools have been greatly improved. For machine tools with CNC systems, when the machine tools process workpieces, in order to ensure that the machine tools will not be blocked, the tools will not be damaged, and even the workpiece processing will not be unqualified due to excessive chip volume, serious wear of the chip blade, and the iron chips in the deep hole drilling and boring bar are not cleaned out in time, a safety stop function is set for the tools.
[0003] In the related art, for machine tools with numerical control systems, the safe tool stop function can be used to reduce the blade damage rate and improve the product yield rate. However, for machine tools without numerical control systems, such as old deep hole drilling and boring machines, timely tool stop cannot be guaranteed, resulting in tool jams, tool damage, and unqualified workpiece processing still existing in the machine tools. Summary of the invention
[0004] The problem solved by the invention is how to reduce the damage rate of the blade of the machine tool and improve the yield rate of the product.
[0005] In order to solve the above problems, the present invention provides a safe knife stopping method, system and storage medium.
[0006] In a first aspect, the present invention provides a safe tool stopping method, which is applied to a control system of a machine tool, wherein the control system comprises an analog input module and a tool control module, wherein the analog input module is communicatively connected with the tool control module;
[0007] The safe stopping method comprises:
[0008] Acquire the actual voltage analog quantity output by the tool control module when the machine tool tool rotates through the analog quantity input module, and obtain the actual torque value of the machine tool according to the actual voltage analog quantity;
[0009] Acquiring an expected torque value of the machine tool tool through the tool control module, and judging a machining state of the machine tool according to the expected torque value and the actual torque value, wherein the machining state includes an emergency state;
[0010] When the machine tool is in the emergency state, a tool stop signal is sent to the machine tool tool by transmitting control information.
[0011] Optionally, obtaining, through the analog quantity input module, an actual voltage analog quantity output by the tool control module when the machine tool tool rotates, comprises:
[0012] By setting the measurement type of the measuring range card of the analog input module, analog quantity acquisition is performed on the tool control module;
[0013] After the measurement type of the measuring range card is set to voltage detection, sampling is performed from the analog output pin of the tool control module according to a preset sampling rate to obtain the actual voltage analog quantity.
[0014] Optionally, obtaining the expected torque value of the machine tool tool through the tool control module includes:
[0015] Determining the current value of the machine tool tool when it rotates through the PLC program of the tool control module, and determining the switch position of the Gray code rotary switch according to the current value;
[0016] The expected torque value is obtained through the switch position, wherein a match is performed in a preset parameter table according to the switch position, a variable assignment corresponding to the switch position is determined, and then the variable assignment is used as the expected torque value of the machine tool tool.
[0017] Optionally, obtaining the actual torque value of the machine tool according to the actual voltage analog quantity includes:
[0018] Performing analog-to-digital conversion according to the actual voltage analog quantity according to the preset resolution of the measuring range card to obtain a digital value corresponding to the actual voltage analog quantity;
[0019] According to the measuring range of the measuring range card and the preset resolution, converting the digital value into the actual voltage value;
[0020] The actual torque value of the machine tool is determined by calculating according to the actual voltage value in combination with a proportional constant.
[0021] Optionally, the machining state further includes a normal state, and judging the machining state of the machine tool according to the expected torque value and the actual torque value includes:
[0022] Determining whether the expected torque value is greater than or equal to the actual torque value;
[0023] If yes, determining that the processing state is the emergency state;
[0024] If not, it is determined that the processing state is the normal state.
[0025] Optionally, the machining state further includes a normal state, and judging the machining state of the machine tool according to the expected torque value and the actual torque value includes:
[0026] Determining a normal torque range of the machine tool tool according to the actual torque value;
[0027] determining whether the expected torque value is within the normal torque range;
[0028] If yes, determining that the processing state is the normal state;
[0029] If not, it is determined that the processing state is the emergency state.
[0030] Optionally, when the machine tool is in the emergency state, sending a tool stop signal to the machine tool tool comprises:
[0031] When the machine tool is in the emergency state, starting timing by sending a signal to the timer of the tool control module;
[0032] During the timing process of the timer, if the machine tool is always in the emergency state, a stop signal is sent to the machine tool tool after the timing time of the timer reaches a preset time;
[0033] During the timing of the timer, if the machine tool is switched to the normal state, the timer is stopped and reset.
[0034] Optionally, when the machine tool is in the emergency state, sending a tool stop signal to the machine tool tool by transmitting control information includes:
[0035] By setting the intermediate address in the control information as a valid control bit;
[0036] The control information after setting is sent to the machine tool tool as the tool stop signal.
[0037] In a second aspect, the present invention provides a safety tool stopping device, which is applied to a control system of a machine tool, wherein the control system comprises an analog input module and a tool control module, wherein the analog input module is communicatively connected with the tool control module;
[0038] The safety knife stopping device comprises:
[0039] A data conversion unit, used for obtaining, through the analog quantity input module, an actual voltage analog quantity output by the tool control module when the machine tool tool rotates, and obtaining an actual torque value of the machine tool according to the actual voltage analog quantity;
[0040] A control unit is used to obtain the expected torque value of the machine tool tool through the tool control module, and judge the processing state of the machine tool according to the expected torque value and the actual torque value, wherein the processing state includes an emergency state; when the machine tool is in the emergency state, a stop signal is sent to the machine tool tool by transmitting control information.
[0041] In a third aspect, the present invention provides a computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the above-mentioned safe tool stopping method is implemented.
[0042] The safe tool stopping method, system and storage medium of the present invention, for machine tools whose torque exists in the form of analog voltage signals, such as some machine tools, are connected to the tool control module of the machine tool through an analog input module, so that the analog input module can obtain the actual voltage analog output when the tool of the machine tool rotates and the expected torque value of the machine tool tool in real time, thereby realizing real-time monitoring of the machine tool. Secondly, by setting the program of the tool control module, the actual voltage analog is converted into an actual torque value, and the processing state of the machine tool is judged by comparing the expected torque value and the actual torque value, especially whether it enters an emergency state. The processing state of the machine tool is monitored by the tool control module, and potential dangerous situations are discovered in time, such as torque abnormalities caused by tool damage, chip blockage or excessive processing load. Finally, when it is judged that the machine tool is in an emergency state, a tool stop signal will be sent to the machine tool tool to stop the rotation of the tool in time to avoid further damage and reduce production interruptions and equipment failures caused by tool damage. The present invention connects an analog input module to the machine tool, so that the operating status of the machine tool can be monitored and responded to in real time, and emergency situations can be discovered and handled in time, thereby effectively reducing the damage rate of the blades of the machine tool. At the same time, since processing interruptions and product quality problems caused by tool problems are reduced, the yield rate of the product is improved. This method not only improves the safety and reliability of the machine tool, but also improves production efficiency and economic benefits. BRIEF DESCRIPTION OF THE DRAWINGS
[0043] Figure 1 A schematic diagram of a process flow of a safe knife stopping method in one embodiment of the present invention;
[0044] Figure 2 A schematic diagram of the connection between the analog input module and the tool control module in another embodiment of the present invention;
[0045] Figure 3 This is one of the control schematic diagrams of a safe knife stopping method in another embodiment of the present invention;
[0046] Figure 4 This is a second control schematic diagram of a safe knife stopping method in another embodiment of the present invention;
[0047] Figure 5 This is a third control schematic diagram of a safe knife stopping method in another embodiment of the present invention;
[0048] Figure 6 This is a fourth control schematic diagram of a safe knife stopping method in another embodiment of the present invention;
[0049] Figure 7 This is a fifth control diagram of a safe knife stopping method in another embodiment of the present invention;
[0050] Figure 8 It is a schematic structural diagram of a safety knife stopping device in another embodiment of the present invention. DETAILED DESCRIPTION
[0051] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, the specific embodiments of the present invention are described in detail below in conjunction with the accompanying drawings. Although certain embodiments of the present invention are shown in the accompanying drawings, it should be understood that the present invention can be implemented in various forms and should not be interpreted as being limited to the embodiments described herein. On the contrary, these embodiments are provided to provide a more thorough and complete understanding of the present invention. It should be understood that the drawings and embodiments of the present invention are only for exemplary purposes and are not intended to limit the scope of protection of the present invention.
[0052] It should be understood that the various steps described in the method embodiments of the present invention may be performed in different orders and / or in parallel. In addition, the method embodiments may include additional steps and / or omit the steps shown. The scope of the present invention is not limited in this respect.
[0053] The term "including" and its variations used in this document are open inclusions, that is, "including but not limited to"; the term "based on" means "based at least in part on"; the term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one other embodiment"; the term "some embodiments" means "at least some embodiments"; the term "optionally" means "optional embodiments". The relevant definitions of other terms will be given in the following description. It should be noted that the concepts of "first", "second", etc. mentioned in the present invention are only used to distinguish different devices, modules or units, and are not used to limit the order or interdependence of the functions performed by these devices, modules or units.
[0054] It should be noted that the modifications of "one" and "plurality" mentioned in the present invention are illustrative rather than restrictive, and those skilled in the art should understand that, unless otherwise clearly indicated in the context, it should be understood as "one or more".
[0055] The names of the messages or information exchanged between multiple devices in the embodiments of the present invention are only used for illustrative purposes, and are not used to limit the scope of these messages or information.
[0056] In view of the problems existing in the above-mentioned related technologies, this embodiment provides a safe tool stopping method, system and storage medium.
[0057] like Figure 1 As shown, an embodiment of the present invention provides a safe tool stopping method, which is applied to a control system of a machine tool. The control system includes an analog input module and a tool control module, and the analog input module is communicatively connected to the tool control module.
[0058] Specifically, the analog input module is used to communicate with the tool control module to form a machine tool control system, wherein the interface of the analog input module and the analog output terminal of the tool control module are hardware configured to achieve communication connection, combined with Figure 2 As shown, in a preferred embodiment of the present invention, the analog input module can be SM331, and the machine tool uses the 6RA70 system as the tool control module. If the connection between the analog input module and the tool control module is to be realized, the analog output terminals 16 and 17 of the CUD1 mainboard of the 6RA70 system need to be connected to the 0 and 1 channels of the SM331 respectively. At the same time, the 6RA70 system parameters are set as: P755 (source of analog output value) = K042 (actual torque value); the analog output access mode is set to 1; the filter time of the analog output is set to 1MS; the analog output normalization is set to 0.01V; the bias of analog output 2 is set to 0. In order to complete the hardware connection of the analog input module, it is necessary to add the analog input module to the original program of the machine tool and define the signal type for each channel. The present invention detects the voltage, therefore, the 0-1 channel is defined as a voltage signal, and other channels that do not participate in the hardware connection can be defined as other signals, and then define the address for each channel to complete the hardware configuration work.
[0059] The safe stopping method comprises:
[0060] The actual voltage analog quantity output by the tool control module when the machine tool tool rotates is obtained through the analog quantity input module, and the actual torque value of the machine tool is obtained according to the actual voltage analog quantity.
[0061] Specifically, in the safe tool stop method, the actual voltage analog output by the tool control module when the machine tool rotates is obtained through the analog input module (such as SM331). The analog input module receives the torque voltage signal from the tool control module and converts it into a digital signal. This conversion process is necessary because the PLC can only process digital signals, and the torque of the machine tool can only exist in the form of an analog voltage signal. Through the PLC program, these digital signals are converted into actual torque values, which are stored in the data block of the PLC.
[0062] The expected torque value of the machine tool tool is acquired through the tool control module, and the machining state of the machine tool is determined according to the expected torque value and the actual torque value, wherein the machining state includes an emergency state.
[0063] Specifically, the expected torque value of the machine tool tool is obtained through the tool control module, wherein the expected torque value is set by the operator and reflects the ideal torque of the machine tool under normal working conditions. The PLC program stores this expected torque value in a data block, and then the PLC program compares the expected torque value and the actual torque value to determine the processing status of the machine tool. If the actual torque value exceeds the expected torque value, the system will determine that the machine tool may be in an emergency state, such as tool wear or chip blockage, and immediate measures need to be taken. In a preferred embodiment of the present invention, the expected torque value is that in actual work, the machine tool will have different currents when processing different workpieces (different materials, different cutting amounts), and the current signal in the system is monitored by the PLC program and displayed through the DB point in the PLC.
[0064] The actual voltage analog quantity output by the tool control module when the machine tool tool rotates is obtained through the analog quantity input module, and the actual torque value of the machine tool is obtained according to the actual voltage analog quantity.
[0065] Specifically, when it is determined that the machine tool is in an emergency state, a stop signal is sent to the machine tool by transmitting control information. In a preferred embodiment of the present invention, this can be achieved through an intermediate variable, which controls the communication with the machine tool tool and triggers the stop action. This stop signal may be a digital output signal, which is sent to the tool control module of the machine tool through the output module of the PLC to quickly stop the tool rotation and prevent further damage, ensuring that the machine tool can respond quickly when an abnormal situation is detected to protect the safety of the machine tool and the operator.
[0066] The safe tool stopping method of the present invention is connected to the tool control module of the machine tool through the analog input module for the torque in the form of analog voltage signal, so that the analog input module can obtain the actual voltage analog output when the tool of the machine tool rotates and the expected torque value of the tool of the machine tool in real time, so as to realize the real-time monitoring of the machine tool. Secondly, by setting the program of the tool control module, the actual voltage analog is converted into the actual torque value, and the processing state of the machine tool is judged by comparing the expected torque value and the actual torque value, especially whether it enters the emergency state. The tool control module is used to monitor the processing state of the machine tool, and potential dangerous situations are discovered in time, such as torque abnormalities caused by tool damage, chip blockage or excessive processing load. Finally, when it is judged that the machine tool is in an emergency state, a tool stopping signal will be sent to the machine tool tool to stop the rotation of the tool in time to avoid further damage and reduce production interruptions and equipment failures caused by tool damage. The present invention can monitor and respond to the operating state of the machine tool in real time by connecting the analog input module to the machine tool, and timely discover and handle emergency situations, thereby effectively reducing the damage rate of the blade of the machine tool. At the same time, the yield rate of products has been improved due to the reduction of processing interruptions and product quality problems caused by tool problems. This approach not only improves the safety and reliability of machine tools, but also improves production efficiency and economic benefits.
[0067] Optionally, obtaining, through the analog quantity input module, an actual voltage analog quantity output by the tool control module when the machine tool tool rotates, comprises:
[0068] By setting the measurement type of the measuring range card of the analog input module, analog quantity acquisition is performed on the tool control module;
[0069] After the measurement type of the measuring range card is set to voltage detection, sampling is performed from the analog output pin of the tool control module according to a preset sampling rate to obtain the actual voltage analog quantity.
[0070] Specifically, the actual voltage analog quantity output by the tool control module when the machine tool rotates is obtained through the analog input module, wherein the measurement type of the range card of the analog input module is set to voltage detection, and sampling is performed from the analog output pin of the tool control module according to the preset sampling rate. In a preferred embodiment of the present invention, the analog input module is an SM331 module, and the SM331 module has four range cards (each channel group has a range card), each range card can be inserted into four different positions, namely A, B, C, and D. Each position will determine the type of module input signal, therefore, the position of the range card is set to B, i.e., voltage detection. Through this setting, the SM331 module can correctly receive the torque voltage signal from the tool control module, i.e., the all-digital DC speed regulating device, for further processing by the PLC. This hardware configuration ensures the accuracy and reliability of signal acquisition, and provides a solid foundation for subsequent torque calculation and machine tool state judgment.
[0071] In an embodiment of the present invention, by setting the measuring range card for voltage detection, the system can ensure that the analog input module correctly identifies and processes the signal from the tool control module, thereby facilitating the subsequent real-time detection of the torque of the machine tool tool, so that the PLC can make fast and accurate decisions based on these data.
[0072] Optionally, obtaining the expected torque value of the machine tool tool through the tool control module includes:
[0073] Determining the current value of the machine tool tool when it rotates through the PLC program of the tool control module, and determining the switch position of the Gray code rotary switch according to the current value;
[0074] The expected torque value is obtained through the switch position, wherein a match is performed in a preset parameter table according to the switch position, a variable assignment corresponding to the switch position is determined, and then the variable assignment is used as the expected torque value of the machine tool tool.
[0075] Specifically, the process of obtaining the expected torque value of the machine tool through the tool control module involves the coordinated work of the PLC program and the Gray code rotary switch. Specifically, the PLC program first determines the current value when the machine tool tool rotates, and this current value can be obtained through the current display table on the operation panel. According to the current value, a corresponding position is selected through the Gray code rotary switch, and this position corresponds to the value in the preset parameter table. In a preferred embodiment of the present invention, combined with Table 1, according to the different switch positions listed in Table 1 and the corresponding limit current values and variable assignments, if the ammeter displays 18.5A, it is determined that the Gray code rotary switch should be in position 2, and this position corresponds to the limit current of 20A in the parameter table. At this time, the variable assignment is 190, which is used as the expected torque value. In this way, the PLC program can determine the expected torque value according to the switch position, and this value is used as a reference for subsequent comparison and judgment of the machine tool processing state.
[0076] Table 1
[0077]
[0078] In the embodiment of the present invention, by using the Gray code rotary switch and the preset parameter table, it is possible to quickly respond to different processing conditions and material properties and accurately set the desired torque value. This method not only improves the adaptability and processing accuracy of the machine tool, but also enhances the control of the processing process, helps prevent tool damage or machine tool failure caused by excessive torque, thereby improving the product yield and processing efficiency.
[0079] Optionally, obtaining the actual torque value of the machine tool according to the actual voltage analog quantity includes:
[0080] Performing analog-to-digital conversion according to the actual voltage analog quantity according to the preset resolution of the measuring range card to obtain a digital value corresponding to the actual voltage analog quantity;
[0081] According to the measuring range of the measuring range card and the preset resolution, converting the digital value into the actual voltage value;
[0082] The actual torque value of the machine tool is determined by calculating according to the actual voltage value in combination with a proportional constant.
[0083] Specifically, the process of obtaining the actual torque value of the machine tool based on the actual voltage analog quantity involves precise analog-to-digital conversion and calculation. First, the analog input module performs analog-to-digital conversion on the actual voltage analog quantity according to the preset resolution of the range card to obtain the corresponding digital quantity value. Subsequently, according to the range and preset resolution of the range card, the digital quantity value is converted into the actual voltage value. In the preferred embodiment of the present invention, the range card is set to position B for measuring voltage, so the SM331 module can convert the analog signal into the corresponding voltage value according to the setting of the range card. Finally, in combination with the proportional constant (for example, if 1V corresponds to a torque of 100 Nm, the proportional constant is 100 Nm / V), the actual voltage value is converted into the actual torque value, that is, the digital quantity.
[0084] In the embodiment of the present invention, by converting the analog quantity into a specific digital quantity, the actual torque value of the machine tool can also be monitored and controlled in real time. This high-precision monitoring is crucial for preventing tool damage to the machine tool, ensuring machining quality, and improving production safety. In this way, changes in the machine tool state can be responded to in a timely manner, and necessary measures can be taken, such as adjusting machining parameters or performing a safe tool stop, to protect the machine tool and improve production efficiency.
[0085] Optionally, the machining state further includes a normal state. The judging of the machining state of the machine tool according to the desired torque value and the actual torque value includes:
[0086] Judging whether the desired torque value is greater than or equal to the actual torque value;
[0087] If so, determining that the machining state is the emergency state;
[0088] If not, determining that the machining state is the normal state.
[0089] Specifically, the judgment of the machining state of the machine tool is realized by comparing the desired torque value and the actual torque value. First, the PLC program will obtain the desired torque value set based on the machining task requirements, which is the torque value set by the operator; then, the program will obtain the actual torque value, which is the current torque of the machine tool obtained by converting the actual voltage analog quantity through the analog input module and combining the proportional constant. Then, the PLC program will compare these two values: if the desired torque value is greater than or equal to the actual torque value, it indicates that the machine tool may encounter an emergency, such as tool damage or chip blockage, so the program will determine that the machining state is the emergency state and trigger the safe tool stop program; if the desired torque value is less than the actual torque value, that is, MW150 < MW120, it is determined that the machining state is the normal state, and the machine tool can continue to run, ensuring that measures can be taken in a timely manner when the torque is abnormal to avoid further equipment damage.
[0090] In the embodiment of the present invention, by comparing the expected torque value with the actual torque value, a simple and effective mechanism is used to judge the operating state of the machine tool, thereby realizing the detection of the operating state of the machine tool and making corresponding control decisions accordingly. This method can monitor the torque of the machine tool in real time and detect abnormal conditions in time, thereby reducing machine tool failures and improving processing safety.
[0091] Optionally, the machining state further includes a normal state, and judging the machining state of the machine tool according to the expected torque value and the actual torque value includes:
[0092] Determining a normal torque range of the machine tool tool according to the actual torque value;
[0093] determining whether the expected torque value is within the normal torque range;
[0094] If yes, determining that the processing state is the normal state;
[0095] If not, it is determined that the processing state is the emergency state.
[0096] Specifically, first, the system determines the normal torque range of the machine tool tool based on the actual torque value. This range is set based on historical data, experience values or preset safety operating parameters. For example, in combination with the above Table 1, the limit current values and variable assignments corresponding to different switch positions are listed. These values can be used to determine the normal torque range. Then, the system determines whether the expected torque value is within this normal torque range. If the expected torque value is within the normal range, it means that the operating status of the machine tool tool is as expected. The system will determine that the processing status is normal and the machine tool can continue processing. If the expected torque value exceeds the normal torque range, the system will determine that the processing status is an emergency state, which may mean that the machine tool tool has encountered a problem, such as tool wear or chip blockage, and immediate measures need to be taken.
[0097] In the embodiment of the present invention, by judging the processing state of the machine tool, it is ensured that the machine tool operates within a safe torque range. This method can reduce machine tool failures and tool damage caused by abnormal torque and improve the safety and reliability of processing. By real-time monitoring and comparing torque values, the system can identify potential risks in a timely manner and respond.
[0098] Optionally, when the machine tool is in the emergency state, sending a tool stop signal to the machine tool tool comprises:
[0099] When the machine tool is in the emergency state, starting timing by sending a signal to the timer of the tool control module;
[0100] During the timing process of the timer, if the machine tool is always in the emergency state, a stop signal is sent to the machine tool tool after the timing time of the timer reaches a preset time;
[0101] During the timing of the timer, if the machine tool is switched to the normal state, the timer is stopped and reset.
[0102] Specifically, when the machine tool is judged to be in an emergency state, the PLC program will start timing by sending a signal to the timer of the tool control module. When the actual torque value exceeds the expected torque value, that is, it is judged to be an emergency state, the timer in the PLC program is triggered to start timing. If the machine tool continues to be in an emergency state within the preset time of the timer, that is, the actual torque value continues to exceed the expected torque value, after the timer reaches the preset time, the PLC will send a stop signal to the machine tool to ensure safety. In a preferred embodiment of the present invention, the preset time is set to 500MS, that is, during the timer timing process, if the machine tool is always in the emergency state, the boring bar feed stop program is executed after a delay of 500MS. If the machine tool state switches to a normal state during the timing process, that is, the actual torque value falls back to the expected torque value range, the PLC program will stop and reset the timer to avoid unnecessary stop. This design allows the system to stop the tool only when it is confirmed that the emergency state persists, reducing misoperation caused by instantaneous fluctuations.
[0103] In an embodiment of the present invention, a timer is used to implement a delayed tool stop operation to ensure that action is taken only when the machine tool really needs an emergency tool stop, thereby reducing unnecessary production interruptions caused by instantaneous or temporary torque anomalies, thereby improving production continuity and efficiency.
[0104] Optionally, when the machine tool is in the emergency state, sending a tool stop signal to the machine tool tool by transmitting control information includes:
[0105] By setting the intermediate address in the control information as a valid control bit;
[0106] The control information after setting is sent to the machine tool tool as the tool stop signal.
[0107] Specifically, when the machine tool is judged to be in an emergency state, the PLC program sends a stop signal to the machine tool through a specific intermediate address, where the intermediate address can be a control bit in the message. When the actual torque value exceeds the expected torque value, that is, it is judged to be an emergency state, the PLC program sets the specific intermediate address as a valid control bit, and this address is configured as a control signal to trigger the stop action. After the setting is completed, this control information is sent to the machine tool as a stop signal to instruct the tool to stop rotating.
[0108] In the embodiment of the present invention, by sending the control information directly to the machine tool, this method can minimize the safety risks caused by delay or signal transmission problems. In addition, the use of intermediate addresses as control signals enables the PLC program to flexibly control multiple machine tool tools, thereby improving the scalability and flexibility of the system.
[0109] In summary, in a preferred embodiment of the present invention, combined with Figure 3 As shown, the intermediate variables such as M90.0, M90.1, M91.5, and M91.6 are turned on through the Gray code rotary switch; combined with Figure 4 As shown, by turning on the middle positions of M90.0, M90.1, etc., MW150 is assigned a value as the expected torque value; combined with Figure 5 As shown in the figure, the torque voltage output after the drill pipe rotates is converted into a digital quantity through the SM331 module and assigned to MW120 as the actual torque value; combined with Figure 6 As shown, if the value of MW120 is less than the value of MW150, it is determined to be an emergency state, and a signal is sent to T51, i.e., a timer; combined with Figure 7 As shown, after the timer delays for 500MS and it is confirmed that it is always in an emergency state, the boring bar feed stop procedure is executed.
[0110] Combination Figure 8 As shown, a safety tool stopping device according to another embodiment of the present invention is applied to a control system of a machine tool, wherein the control system comprises an analog input module and a tool control module, and the analog input module is communicatively connected with the tool control module;
[0111] The safety knife stopping device comprises:
[0112] A data conversion unit, used for obtaining, through the analog quantity input module, an actual voltage analog quantity output by the tool control module when the machine tool tool rotates, and obtaining an actual torque value of the machine tool according to the actual voltage analog quantity;
[0113] A control unit is used to obtain the expected torque value of the machine tool tool through the tool control module, and judge the processing state of the machine tool according to the expected torque value and the actual torque value, wherein the processing state includes an emergency state; when the machine tool is in the emergency state, a stop signal is sent to the machine tool tool by transmitting control information.
[0114] In this embodiment, the safety tool stop system, for a machine tool whose torque exists in the form of an analog voltage signal, is connected to the tool control module of the machine tool through an analog input module, so that the analog input module can obtain the actual voltage analog output when the tool of the machine tool rotates and the expected torque value of the machine tool tool in real time, thereby realizing real-time monitoring of the machine tool. Secondly, by setting the program of the tool control module, the actual voltage analog is converted into an actual torque value, and the processing state of the machine tool is judged by comparing the expected torque value and the actual torque value, especially whether it enters an emergency state. The tool control module monitors the processing state of the machine tool, and timely discovers potential dangerous situations, such as torque abnormalities caused by tool damage, chip blockage or excessive processing load. Finally, when it is determined that the machine tool is in an emergency state, a tool stop signal will be sent to the machine tool tool to stop the rotation of the tool in time to avoid further damage and reduce production interruptions and equipment failures caused by tool damage. The present invention can monitor and respond to the operating state of the machine tool in real time by connecting an analog input module to the machine tool, and timely discover and handle emergency situations, thereby effectively reducing the damage rate of the blade of the machine tool. At the same time, the yield rate of products has been improved due to the reduction of processing interruptions and product quality problems caused by tool problems. This approach not only improves the safety and reliability of machine tools, but also improves production efficiency and economic benefits.
[0115] A computer-readable storage medium according to another embodiment of the present invention stores a computer program, and when the computer program is executed by a processor, the above-mentioned safe tool stopping method is implemented.
[0116] In this embodiment, the computer-readable storage medium, for a machine tool whose torque exists in the form of an analog voltage signal, is connected to the tool control module of the machine tool through an analog input module, so that the analog input module can obtain the actual voltage analog output when the tool of the machine tool rotates and the expected torque value of the machine tool tool in real time, thereby realizing real-time monitoring of the machine tool. Secondly, by setting the program of the tool control module, the actual voltage analog is converted into an actual torque value, and the processing state of the machine tool is judged by comparing the expected torque value and the actual torque value, especially whether it enters an emergency state. The processing state of the machine tool is monitored by the tool control module, and potential dangerous situations are discovered in time, such as torque abnormalities caused by tool damage, chip blockage or excessive processing load. Finally, when it is determined that the machine tool is in an emergency state, a stop signal will be sent to the machine tool tool to stop the rotation of the tool in time to avoid further damage and reduce production interruptions and equipment failures caused by tool damage. The present invention can monitor and respond to the operating state of the machine tool in real time by connecting an analog input module to the machine tool, and timely discover and handle emergency situations, thereby effectively reducing the damage rate of the blade of the machine tool. At the same time, the yield rate of products has been improved due to the reduction of processing interruptions and product quality problems caused by tool problems. This approach not only improves the safety and reliability of machine tools, but also improves production efficiency and economic benefits.
[0117] A person of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment method can be completed by instructing the relevant hardware through a computer program, and the program can be stored in a computer-readable storage medium. When the program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, the storage medium can be a disk, an optical disk, a read-only memory (ROM) or a random access memory (RAM), etc. In the present application, the unit described as a separate component may or may not be physically separated, and the component displayed as a unit may or may not be a physical unit, that is, it may be located in one place, or it may be distributed on multiple network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the embodiment of the present invention. In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, or each unit can exist physically separately, or two or more units can be integrated in one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of a software functional unit.
[0118] Although the present invention is disclosed as above, the protection scope of the present invention is not limited thereto. Those skilled in the art may make various changes and modifications without departing from the spirit and scope of the present invention, and these changes and modifications will fall within the protection scope of the present invention.
Claims
1. A safe knife stopping method, characterized in that: The safe tool stopping method is applied to a control system of a machine tool, wherein the control system comprises an analog input module and a tool control module, and the analog input module is communicatively connected with the tool control module; The safe stopping method comprises: Acquire the actual voltage analog quantity output by the tool control module when the machine tool tool rotates through the analog quantity input module, and obtain the actual torque value of the machine tool according to the actual voltage analog quantity; Acquiring an expected torque value of the machine tool tool through the tool control module, and judging a machining state of the machine tool according to the expected torque value and the actual torque value, wherein the machining state includes an emergency state; When the machine tool is in the emergency state, a tool stop signal is sent to the machine tool tool by transmitting control information.
2. The safe knife stopping method according to claim 1, characterized in that: The step of obtaining, through the analog quantity input module, the actual voltage analog quantity output by the tool control module when the machine tool tool rotates comprises: By setting the measurement type of the measuring range card of the analog input module, analog quantity acquisition is performed on the tool control module; After the measurement type of the measuring range card is set to voltage detection, sampling is performed from the analog output pin of the tool control module according to a preset sampling rate to obtain the actual voltage analog quantity.
3. The safe knife stopping method according to claim 1, characterized in that: The obtaining the expected torque value of the machine tool tool by the tool control module includes: Determining the current value of the machine tool tool when it rotates through the PLC program of the tool control module, and determining the switch position of the Gray code rotary switch according to the current value; The expected torque value is obtained through the switch position, wherein a match is performed in a preset parameter table according to the switch position, a variable assignment corresponding to the switch position is determined, and then the variable assignment is used as the expected torque value of the machine tool tool.
4. The safe knife stopping method according to claim 2, characterized in that: The step of obtaining the actual torque value of the machine tool according to the actual voltage analog value comprises: Performing analog-to-digital conversion according to the actual voltage analog quantity according to the preset resolution of the measuring range card to obtain a digital value corresponding to the actual voltage analog quantity; According to the measuring range of the measuring range card and the preset resolution, converting the digital value into the actual voltage value; The actual torque value of the machine tool is determined by calculating according to the actual voltage value in combination with a proportional constant.
5. The safe knife stopping method according to claim 1, characterized in that: The processing state also includes a normal state, and judging the processing state of the machine tool according to the expected torque value and the actual torque value includes: Determining whether the expected torque value is greater than or equal to the actual torque value; If yes, determining that the processing state is the emergency state; If not, it is determined that the processing state is the normal state.
6. The safe knife stopping method according to claim 1, characterized in that: The processing state also includes a normal state, and judging the processing state of the machine tool according to the expected torque value and the actual torque value includes: Determining a normal torque range of the machine tool tool according to the actual torque value; determining whether the expected torque value is within the normal torque range; If yes, determining that the processing state is the normal state; If not, it is determined that the processing state is the emergency state.
7. The safe knife stopping method according to claim 5 or 6, characterized in that: When the machine tool is in the emergency state, sending a tool stop signal to the machine tool tool comprises: When the machine tool is in the emergency state, starting timing by sending a signal to the timer of the tool control module; During the timing process of the timer, if the machine tool is always in the emergency state, a stop signal is sent to the machine tool tool after the timing time of the timer reaches a preset time; During the timing of the timer, if the machine tool is switched to the normal state, the timer is stopped and reset.
8. The safe knife stopping method according to claim 7, characterized in that: When the machine tool is in the emergency state, sending a tool stop signal to the machine tool tool by transmitting control information includes: By setting the intermediate address in the control information as a valid control bit; The control information after setting is sent to the machine tool tool as the tool stop signal.
9. A safety knife stopping device, characterized in that: The safety tool stopping device is applied to a control system of a machine tool, wherein the control system comprises an analog input module and a tool control module, and the analog input module is communicatively connected with the tool control module; The safety knife stopping device comprises: A data conversion unit, used for obtaining, through the analog quantity input module, an actual voltage analog quantity output by the tool control module when the machine tool tool rotates, and obtaining an actual torque value of the machine tool according to the actual voltage analog quantity; A control unit is used to obtain the expected torque value of the machine tool tool through the tool control module, and judge the processing state of the machine tool according to the expected torque value and the actual torque value, wherein the processing state includes an emergency state; when the machine tool is in the emergency state, a stop signal is sent to the machine tool tool by transmitting control information.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the safe tool stopping method according to any one of claims 1 to 8 is implemented.