CN117608239A - Spindle load monitoring method and device, computer equipment and storage medium - Google Patents

Spindle load monitoring method and device, computer equipment and storage medium Download PDF

Info

Publication number
CN117608239A
CN117608239A CN202311605198.1A CN202311605198A CN117608239A CN 117608239 A CN117608239 A CN 117608239A CN 202311605198 A CN202311605198 A CN 202311605198A CN 117608239 A CN117608239 A CN 117608239A
Authority
CN
China
Prior art keywords
load
main shaft
spindle
cutter
value
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202311605198.1A
Other languages
Chinese (zh)
Inventor
王圣坤
吴静飞
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Neway Cnc Equipment Suzhou Co ltd
Original Assignee
Neway Cnc Equipment Suzhou Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Neway Cnc Equipment Suzhou Co ltd filed Critical Neway Cnc Equipment Suzhou Co ltd
Priority to CN202311605198.1A priority Critical patent/CN117608239A/en
Publication of CN117608239A publication Critical patent/CN117608239A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/18Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of programme data in numerical form
    • G05B19/406Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of programme data in numerical form characterised by monitoring or safety
    • G05B19/4065Monitoring tool breakage, life or condition
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/30Nc systems
    • G05B2219/31From computer integrated manufacturing till monitoring
    • G05B2219/31439Alarms can be warning, alert or fault

Landscapes

  • Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Manufacturing & Machinery (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Automation & Control Theory (AREA)
  • Numerical Control (AREA)

Abstract

The invention relates to the technical field of numerical control machine tool processing, and discloses a method and a device for monitoring spindle load, computer equipment and a storage medium. The method comprises the following steps: reading the number of the cutter; acquiring a spindle load value read by a PLC (programmable logic controller) and a first load threshold corresponding to a cutter number; inputting the spindle load value into a macro actuator, and comparing the spindle load value with a first load threshold value through the macro actuator; when the main shaft load value exceeds a first load threshold value, the PLC receives an early warning signal transmitted by the macro-actuator and gives an alarm. The scheme has good accuracy and high efficiency when the main shaft load monitoring function is realized.

Description

Spindle load monitoring method and device, computer equipment and storage medium
Technical Field
The invention relates to the technical field of numerical control machine tool machining, in particular to a method and a device for monitoring spindle load, computer equipment and a storage medium.
Background
In the field of numerically controlled machine tool processing, the spindle unit is the most important component of the machine tool parts, and therefore it is extremely important to efficiently and accurately detect the running state of the spindle.
In the traditional method, load detection is carried out through an abnormal load detection function contained in the numerical control system, the function is integrated in a program of the numerical control system, when a load detection value exceeds a maximum load, alarm interruption processing is carried out in the system, however, a monitoring threshold value set in the function is not a direct spindle load value, but is a variable which is in linear relation with the spindle load value, the function is not visual enough, false alarm can occur when the set threshold value is smaller, alarm sensitivity can be reduced when the set threshold value is larger, timeliness is poor, system parameters need to be changed and parameter numbers need to be memorized when the threshold value is set, and the method is complex. In the related art, an auxiliary code is used for realizing a main shaft load detection function, a first auxiliary code is added for starting main shaft load detection, the overload multiplying power of a second auxiliary code for controlling main shaft load is added, and a main shaft load monitoring function is realized through a PLC (programmable logic controller) program of a numerical control system, however, the auxiliary code method needs to encode codes into a processing program, the requirements on programmers are high, the processing capacity of a PLC is high, the scanning period of the PLC is long, and the operation is slow.
Therefore, there is a need for an intuitive, efficient spindle load monitoring method.
Disclosure of Invention
In view of the above, the present invention provides a method, apparatus, computer device and storage medium for monitoring spindle load, so as to solve the problem of how to intuitively and efficiently monitor spindle load.
In a first aspect, the present invention provides a method for monitoring a spindle load, the method comprising:
reading the number of the cutter;
acquiring a spindle load value read by a PLC (programmable logic controller) and a first load threshold corresponding to the cutter number;
inputting the spindle load value into a macro actuator, and comparing the spindle load value with the first load threshold value through the macro actuator;
and when the spindle load value exceeds the first load threshold value, receiving an early warning signal transmitted by the macro actuator through the PLC and giving an alarm.
According to the scheme, the direct spindle load value is read through the PLC, the method is visual, different first load thresholds are set for different cutters, pertinence is high, the comparison of the spindle load value and the first load threshold is carried out through the macro-actuator, operation is fast and efficient, and accuracy and efficiency are good when spindle load monitoring is achieved.
In an alternative embodiment, the method further comprises:
comparing the main shaft load value with a second load threshold value through a macro actuator, and when the main shaft load value exceeds the second load threshold value, receiving an early warning signal transmitted by the macro actuator through a PLC (programmable logic controller), and performing alarm and stop control; the second load threshold is greater than the first load threshold.
According to the scheme, the second load threshold corresponding to the maximum limit value of the spindle load value is set, so that the machine tool can be stopped and early-warned to a user when the spindle load value reaches the second load threshold, and the machine tool is prevented from being damaged due to the fact that the spindle load value exceeds the maximum limit value.
In an alternative embodiment, prior to said reading the tool number, the method further comprises:
responding to configuration operation of a user, generating a user interface for parameter configuration, wherein a parameter input text box is configured on the user interface;
responding to the parameter input operation of a user, and acquiring the cutter numbers corresponding to the cutters recorded by the user;
and responding to preset setting operation of a user, and acquiring a first load threshold value and a second load threshold value corresponding to the cutter number of each cutter, which are input by the user based on the model number of each cutter and the participated working procedure.
According to the scheme, the user can conveniently carry out parameter configuration by setting the user interface, and corresponding spindle load monitoring can be carried out on different cutters by acquiring the cutter numbers corresponding to the cutters and the first load threshold value and the second load threshold value corresponding to the cutter numbers, so that the spindle load monitoring accuracy is improved.
In an alternative embodiment, after said reading the tool number, the method further comprises:
detecting whether a main shaft load monitoring function switch is turned on or not; wherein, each cutter number is correspondingly provided with a main shaft load monitoring function switch;
and when the main shaft load monitoring function switch is started, determining that the main shaft load monitoring is normally started.
According to the scheme, the corresponding main shaft load monitoring function switch is arranged for each cutter number, so that a user can start or close the corresponding main shaft load monitoring function according to the condition of the cutter, main shaft load monitoring is performed when the main shaft load monitoring function switch is started, and flexibility and safety of main shaft load monitoring are improved.
In an alternative embodiment, the method further comprises:
when the main shaft load monitoring function switch is turned on, detecting whether the read tool number is consistent with the tool number corresponding to the turned-on main shaft load monitoring function switch;
and when the read tool number is consistent with the tool number corresponding to the opened main shaft load monitoring function switch, determining that the main shaft tool to be started is normally started.
According to the scheme, whether the read tool number is consistent with the tool number corresponding to the opened main shaft load monitoring function switch or not is detected, and the main shaft tool is determined to be normally started when the read tool number is consistent with the tool number corresponding to the opened main shaft load monitoring function switch, so that the safety of operation is improved.
In an alternative embodiment, when the spindle load monitoring function corresponding to the tool number is on, the method further comprises:
detecting whether the main shaft is working or not;
and when the main shaft is working, determining that the main shaft is in a normal working state.
According to the scheme, the accuracy of monitoring the load of the main shaft is improved by confirming that the main shaft is in the normal working state.
In an alternative embodiment, the method further comprises:
when the read cutter number changes, an alarm signal is sent out and the machine is stopped.
According to the scheme, alarming and stopping are carried out when the number of the cutter changes, so that the safety of operation is improved.
In a second aspect, the present invention provides a spindle load monitoring apparatus, the apparatus comprising:
the reading module is used for reading the number of the cutter;
the acquisition module is used for acquiring the spindle load value read by the PLC and a first load threshold value corresponding to the cutter number;
the comparison module is used for inputting the spindle load value into a macro actuator, and comparing the spindle load value with the first load threshold through the macro actuator; and when the spindle load value exceeds the first load threshold value, receiving an early warning signal transmitted by the macro actuator through the PLC and giving an alarm.
In a third aspect, the present invention provides a computer device comprising: the spindle load monitoring system comprises a memory and a processor, wherein the memory and the processor are in communication connection, the memory stores computer instructions, and the processor executes the computer instructions, so that the spindle load monitoring method according to the first aspect or any corresponding implementation mode of the first aspect is executed.
In a fourth aspect, the present invention provides a computer readable storage medium having stored thereon computer instructions for causing a computer to execute the spindle load monitoring method of the first aspect or any of its corresponding embodiments.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings that are needed in the description of the embodiments or the prior art will be briefly described, and it is obvious that the drawings in the description below are some embodiments of the present invention, and other drawings can be obtained according to the drawings without inventive effort for a person skilled in the art.
FIG. 1 is a flow chart of a spindle load monitoring method according to an embodiment of the present invention;
FIG. 2 is a flow chart of another spindle load monitoring method according to an embodiment of the present invention;
FIG. 3 illustrates a user interface according to an embodiment of the present application;
FIG. 4 shows a flow chart of a spindle load monitoring method according to an embodiment of the present application;
FIG. 5 is a block diagram of a spindle load monitoring apparatus according to an embodiment of the present invention;
fig. 6 is a schematic diagram of a hardware structure of a computer device according to an embodiment of the present invention.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the embodiments of the present invention more apparent, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention, and it is apparent that the described embodiments are some embodiments of the present invention, but not all embodiments of the present invention. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
In the field of numerically controlled machine tool processing, the spindle unit is the most important component of the machine tool parts, and therefore it is extremely important to efficiently and accurately detect the operation state of the spindle unit. In the related art, the load of the spindle unit is detected through an abnormal load detection function in a numerical control system program, and when the load detection value exceeds a set maximum load threshold value, the numerical control system alarms and the operation of the machine tool is interrupted. However, the threshold value set in the abnormal load detection function provided by the numerical control system is not a direct spindle load value, but a variable which is in linear relation with the spindle load value, and the situation of the spindle load value cannot be intuitively reflected; in addition, when the threshold value set in the abnormal load detection function is smaller, false alarm can occur, and when the set threshold value is larger, the alarm sensitivity is reduced, so that a main shaft and a cutter cannot be effectively protected, and the accuracy is low; in addition, the abnormal load detection function needs to change system parameters when the threshold value is set, and needs to record parameter numbers, so that the abnormal load detection function is complex and inconvenient to operate. In the related art, the main shaft load detection function is realized by using auxiliary codes, the main shaft load detection is started by adding a first auxiliary code in a processing program, the overload multiplying power of the main shaft load is set by adding a second auxiliary code, and the main shaft load monitoring is realized by a PLC program of a numerical control system, however, the method needs to write the codes into the processing program, the requirements on programmers are high, the processing capacity of the needed PLC program is high, and the scanning period of the PLC is long, so that the operation is slow.
Therefore, the embodiment of the invention provides a spindle load monitoring method, which is characterized in that different first load thresholds are set for all cutters, and the spindle load value and the first load threshold are compared through a macro actuator so as to monitor the spindle load, so that the effects of good accuracy and high efficiency are achieved.
According to an embodiment of the present invention, there is provided a spindle load monitoring method embodiment, it being noted that the steps shown in the flowchart of the drawings may be performed in a computer system such as a set of computer executable instructions, and, although a logical order is shown in the flowchart, in some cases, the steps shown or described may be performed in an order other than that shown or described herein.
In this embodiment, a method for monitoring a spindle load is provided, which may be used in an industrial personal computer, a numerical control system, etc., fig. 1 is a flowchart of a method for monitoring a spindle load according to an embodiment of the present invention, as shown in fig. 1, where the flowchart includes the following steps:
step S101, the tool number is read.
In an actual application scene, the numerical control machine tool processes workpieces with different materials and processing requirements through tools with different types, so that when the spindle load is monitored, the number of the tool needs to be read first to acquire the type of the tool corresponding to the number of the tool.
Step S102, acquiring a spindle load value read by the PLC and a first load threshold corresponding to the cutter number.
Because different spindle load values can be generated when different types of cutters are operated, corresponding first load thresholds are preset for each cutter number in a numerical control system of the numerical control machine tool, and the first load thresholds can be selected according to experience or actual detection results. It should be noted that, the function of the PLC itself is used to read the spindle load value, and the PLC can read the spindle load value directly, unlike the variable which is linearly related to the spindle load value and is read by the abnormal load detection function in the related art, so that the method is more accurate.
Step S103, inputting the spindle load value into a macro actuator, and comparing the spindle load value with the first load threshold by the macro actuator. And when the spindle load value exceeds the first load threshold value, receiving an early warning signal transmitted by the macro actuator through the PLC and giving an alarm.
The macro executor is one small application in the numerical control system and is used to execute the instructions written in macro language. Instructions for comparing the spindle load value to the first load threshold may be written in a macro language and executed by a macro executor. Because the macro executor is simple in structure, the macro executor is fast in operation and high in efficiency when executing the comparison instruction. And when the result of the macro executor executing the instruction is that the spindle load value exceeds the first load threshold value, an early warning signal is sent to the PLC. After receiving the early warning signal, the PLC alarms to the user through the alarm function of the PLC.
According to the spindle load monitoring method, the direct spindle load value is read through the PLC, the method is visual, different first load thresholds are set for different cutters, the pertinence is high, the comparison of the spindle load value and the first load threshold is carried out through the macro-actuator, the operation is fast and efficient, and the accuracy and the efficiency are good when the spindle load monitoring is achieved.
In this embodiment, a method for monitoring a spindle load is provided, which may be used in an industrial personal computer, a numerical control system, etc., fig. 2 is a flowchart of a method for monitoring a spindle load according to an embodiment of the present invention, as shown in fig. 2, where the flowchart includes the following steps:
step S201, in response to a configuration operation by a user, a user interface for performing parameter configuration is generated.
The user interface is provided with a parameter input text box through which a desired parameter can be input.
Step S202, responding to the parameter input operation of the user, and acquiring the cutter numbers corresponding to the cutters recorded by the user.
In an actual application scene, different procedures are performed through a plurality of cutters, and the corresponding spindle load values may be different when each cutter performs operation, so that different parameters need to be recorded for different cutters. A parameter input text box may be set for each tool through the user interface and a tool number corresponding to each tool may be input. Further, a spindle load monitoring function switch corresponding to each tool number may be provided, the spindle load monitoring function switch being for indicating an on/off state of the corresponding tool, the corresponding tool being operable only when the spindle load monitoring function switch is in the on state. The user can adjust the on/off state of the corresponding cutter by clicking the main shaft load monitoring function switch.
Step S203, in response to a preset setting operation of the user, obtains a first load threshold and a second load threshold corresponding to the inputted tool number of each tool based on the model number and the participating process of the user.
A parameter input text box for inputting a first load threshold value and a second load threshold value may be set for each tool number, respectively, and the first load threshold value and the second load threshold value corresponding to the tool number are input. The first load threshold is used for indicating a limit value of the spindle load when the spindle runs safely, namely if the spindle load value reaches the first load threshold, an alarm is required to remind a user that the spindle load value reaches the safe running limit value, and adjustment is required to properly reduce the spindle load value. The second load threshold is used for indicating the maximum limit value of the spindle load when the spindle operates, namely, if the spindle load value reaches the second load threshold, the spindle needs to be stopped directly and an alarm is given to remind a user of machine checking and maintenance and the like. The first load threshold and the second load threshold corresponding to the tool number may be selected according to an actual measurement value or an empirical value.
Further, a judgment rule may be preset to judge whether the parameters input by the user meet the specifications. Optionally, a judgment rule for the cutter number is preset, after each cutter number input by a user is received, background data calculation is performed, whether the cutter number input by the user accords with the preset number rule is judged, if not, an error prompt is popped up on the user interface to remind the user that the cutter number input by the user is wrong, and the user needs to input again. For example, the numbering rule is a five-digit numerical code, and a user can pop up a wrong report when inputting digits or letters. Further, a judgment rule for the first load threshold value and the second load threshold value may be preset. When a first load threshold value and a second load threshold value which are input by a user and correspond to the cutter number are received, background data calculation is carried out, and whether the first load threshold value and the second load threshold value are reasonable or not, for example, whether the first load threshold value and the second load threshold value are matched with the cutter number or whether the first load threshold value and the second load threshold value are too large or too small is judged. If the first load threshold value and the second load threshold value are not reasonable, an error prompt is popped up on the user interface so as to remind the user that the first load threshold value and the second load threshold value input are not reasonable. Through setting the user interface, the user can conveniently carry out parameter configuration, and through presetting the judging rule, the purpose of machine error correction can be realized when the user carries out parameter configuration, and the user experience and the accuracy of main shaft load monitoring are further improved.
Step S204, reading the cutter number.
When spindle load monitoring is performed, the tool number needs to be read first to determine a first load threshold value and a second load threshold value corresponding to the tool number. It should be noted that only one tool is typically operated in one machine tool at a time.
Step S205, detecting whether a main shaft load monitoring function switch is turned on; when the main shaft load monitoring function switch is turned on, the normal start of the main shaft load monitoring is determined.
Wherein, each cutter number corresponds to be provided with main shaft load monitoring function switch. The description in step S202 is omitted here.
Step S206, when the main shaft load monitoring function switch is turned on, detecting whether the read tool number is consistent with the tool number corresponding to the turned-on main shaft load monitoring function switch; and when the read tool number is consistent with the tool number corresponding to the opened main shaft load monitoring function switch, determining that the main shaft tool to be started is normally started.
Only when the read tool number is consistent with the tool number corresponding to the opened main shaft load monitoring function switch, the currently used tool can be indicated to correspond to the currently performed main shaft load monitoring, namely, the first load threshold value and the second load threshold value corresponding to the main shaft load monitoring performed at the moment correspond to the currently used tool, so that the correct main shaft load monitoring can be performed.
Step S207, detecting whether the main shaft is working; when the main shaft is working, the main shaft is determined to be in a normal working state.
The normal spindle load value is generated when the spindle is in the normal working state, so that whether the spindle is in the normal working state or not needs to be detected first.
Step S208, acquiring a spindle load value read by the PLC and a first load threshold corresponding to the cutter number.
Please refer to step S102 in the embodiment shown in fig. 1 in detail, which is not described herein.
Step S209, inputting the spindle load value into a macro actuator, and comparing the spindle load value with the first load threshold by the macro actuator. And when the spindle load value exceeds the first load threshold value, receiving an early warning signal transmitted by the macro actuator through the PLC and giving an alarm.
Please refer to step S103 in the embodiment shown in fig. 1 in detail, which is not described herein.
Step S2010, comparing the main shaft load value with a second load threshold value through a macro actuator, and when the main shaft load value exceeds the second load threshold value, receiving an early warning signal transmitted by the macro actuator through a PLC and performing alarm and stop control.
The second load threshold is greater than the first load threshold. The description of the first load threshold and the second load threshold may refer to step S203, and will not be repeated here.
When the spindle load value reaches the second load threshold value, it is indicated that the spindle load value reaches the maximum limit value, which may cause damage to the machine tool, so that not only an alarm, but also an immediate shutdown is required to protect the machine tool.
Optionally, when the read cutter number changes, an alarm signal is sent out and the machine is stopped. If the number of the cutter is read to change, the cutter is changed or the system fails, so that the on-going spindle load monitoring is not necessarily correct, and the machine is stopped and an alarm signal is sent to a user.
According to the spindle load monitoring method, the direct spindle load value is read through the PLC, the method is visual, different first load thresholds are set for different cutters, the pertinence is high, the comparison of the spindle load value and the first load threshold is carried out through the macro-actuator, the operation is fast and efficient, and the accuracy and the efficiency are good when the spindle load monitoring is achieved.
And a second load threshold corresponding to the maximum limit value of the spindle load value is set, so that the machine tool can be stopped and early-warned to a user when the spindle load value reaches the second load threshold, and the machine tool is ensured not to be damaged due to the fact that the spindle load value exceeds the maximum limit value.
And through setting up user interface, the user of being convenient for carries out parameter configuration, through obtaining the cutter serial number that each cutter corresponds and the first load threshold value and the second load threshold value that correspond with the cutter serial number for can carry out corresponding main shaft load control to different cutters, more pertinence, and then improved main shaft load control's accuracy.
And a corresponding main shaft load monitoring function switch is arranged for each cutter number, so that a user can start or close a corresponding main shaft load monitoring function according to the condition of the cutter, and main shaft load monitoring is performed when the main shaft load monitoring function switch is started, so that the flexibility and safety of main shaft load monitoring are improved.
And by detecting whether the read tool number is consistent with the tool number corresponding to the opened main shaft load monitoring function switch, the main shaft tool is normally started only when the read tool number is consistent with the tool number corresponding to the opened main shaft load monitoring function switch, and the main shaft tool is warned and stopped when the tool number is changed, so that the safety of operation is improved. By confirming that the main shaft is in a normal working state, the accuracy of main shaft load monitoring is improved.
As one or more specific application examples of the embodiments of the present invention, the best mode or the most desirable mode of the inventors will be described below in connection with a specific application scenario.
Fig. 3 shows a user interface according to an embodiment of the present application. The tool number is the tool number, the maximum load is the second load threshold, the minimum load is the first load threshold, and the state is the main shaft load monitoring function switch. Fig. 4 shows a flowchart of a spindle load monitoring method according to an embodiment of the present application. The main shaft monitoring function is turned on, namely the main shaft load monitoring function switch is in an on state, whether the main shaft rotates for processing, namely whether the main shaft works, the main shaft cutter number is consistent with the picture cutter number, namely the read cutter number is consistent with the cutter number corresponding to the turned-on main shaft load monitoring function switch, and the machine tool controller can be programmed PMC (Programmable Machine Controller). Optionally, the macro language instructions executed by the macro executor are as follows:
$INCLUDE C:\MCOMPI\LIB\SYSTEM.DEF
08900
#1=D0
#2=E5053
#3=D3004
#4=D3008
#5=D3016
#6=D5504.0
#7=F2.6+F2.1
if[#7gt 0&&#6eq 1&&#1eq#3&&#2ge#5]then
G310 R2001 Q1 L1
else
G310 R2001 Q0 L1
endif
if[#7gt 0&&#6eq 1&&#1eq#3&&#2ge#4]then
G310 R2025 Q1 L1
else
G310 R2025 Q0 L1
endif
for example, when the spindle load value corresponding to the tool with the tool number 2180 exceeds the first load threshold, the hint information "2180TOOL SPINDLE LOAD EXCEEDS THE MINIMUM SET VALUE" is displayed in the hint information address a18.0 shown in fig. 4; when the spindle load value corresponding to the cutter with the cutter number 1181 exceeds the second load threshold, a prompt message '1181 TOOL SPINDLE LOAD EXCEEDS THE MAXIMUM SET VALUE' is displayed in the alarm address A18.1 shown in FIG. 4.
The embodiment also provides a device for monitoring the load of the spindle, which is used for realizing the embodiment and the preferred implementation, and is not described in detail. As used below, the term "module" may be a combination of software and/or hardware that implements a predetermined function. While the means described in the following embodiments are preferably implemented in software, implementation in hardware, or a combination of software and hardware, is also possible and contemplated.
The present embodiment provides a spindle load monitoring apparatus, as shown in fig. 5, including:
a reading module 501 for reading the cutter number;
the acquiring module 502 is configured to acquire a spindle load value read by the PLC and a first load threshold corresponding to the tool number;
a comparing module 503, configured to input the spindle load value into a macro actuator, and compare the spindle load value with the first load threshold through the macro actuator; and when the spindle load value exceeds the first load threshold value, receiving an early warning signal transmitted by the macro actuator through the PLC and giving an alarm.
In some optional embodiments, the system further comprises a shutdown comparison module, which is used for comparing the spindle load value with a second load threshold value through a macro actuator, and when the spindle load value exceeds the second load threshold value, the system receives an early warning signal transmitted by the macro actuator through a PLC and performs alarm and shutdown control; the second load threshold is greater than the first load threshold.
In some optional embodiments, the system further comprises a configuration module, configured to generate a user interface for parameter configuration in response to a configuration operation of a user, wherein the user interface is configured with a parameter input text box; responding to the parameter input operation of a user, and acquiring the cutter numbers corresponding to the cutters recorded by the user; and responding to preset setting operation of a user, and acquiring a first load threshold value and a second load threshold value corresponding to the cutter number of each cutter, which are input by the user based on the model number of the cutter and the participated working procedure.
In some optional embodiments, the device further comprises a switch detection module for detecting whether the spindle load monitoring function switch is on; wherein, each cutter number is correspondingly provided with a main shaft load monitoring function switch; when the main shaft load monitoring function switch is turned on, the normal start of the main shaft load monitoring is determined.
In some optional embodiments, the spindle load monitoring system further comprises a tool detection module, wherein the tool detection module is used for detecting whether the read tool number is consistent with the tool number corresponding to the opened spindle load monitoring function switch when the spindle load monitoring function switch is opened; and when the read tool number is consistent with the tool number corresponding to the opened main shaft load monitoring function switch, determining that the main shaft tool to be started is normally started.
In some alternative embodiments, the device further comprises a main shaft work detection module for detecting whether the main shaft is working or not; when the main shaft is working, the main shaft is determined to be in a normal working state.
In some alternative embodiments, the machine further comprises a number change detection module, which is used for sending out an alarm signal and stopping when the read cutter number changes.
Further functional descriptions of the above respective modules and units are the same as those of the above corresponding embodiments, and are not repeated here.
The spindle load monitoring apparatus in this embodiment is in the form of a functional unit, where the unit refers to an ASIC (Application Specific Integrated Circuit ) circuit, a processor and memory executing one or more software or fixed programs, and/or other devices that can provide the above functions.
The embodiment of the invention also provides computer equipment, which is provided with the main shaft load monitoring device shown in the figure 5.
Referring to fig. 6, fig. 6 is a schematic structural diagram of a computer device according to an alternative embodiment of the present invention, as shown in fig. 6, the computer device includes: one or more processors 10, memory 20, and interfaces for connecting the various components, including high-speed interfaces and low-speed interfaces. The various components are communicatively coupled to each other using different buses and may be mounted on a common motherboard or in other manners as desired. The processor may process instructions executing within the computer device, including instructions stored in or on memory to display graphical information of the GUI on an external input/output device, such as a display device coupled to the interface. In some alternative embodiments, multiple processors and/or multiple buses may be used, if desired, along with multiple memories and multiple memories. Also, multiple computer devices may be connected, each providing a portion of the necessary operations (e.g., as a server array, a set of blade servers, or a multiprocessor system). One processor 10 is illustrated in fig. 6.
The processor 10 may be a central processor, a network processor, or a combination thereof. The processor 10 may further include a hardware chip, among others. The hardware chip may be an application specific integrated circuit, a programmable logic device, or a combination thereof. The programmable logic device may be a complex programmable logic device, a field programmable gate array, a general-purpose array logic, or any combination thereof.
Wherein the memory 20 stores instructions executable by the at least one processor 10 to cause the at least one processor 10 to perform the methods shown in implementing the above embodiments.
The memory 20 may include a storage program area that may store an operating system, at least one application program required for functions, and a storage data area; the storage data area may store data created according to the use of the computer device, etc. In addition, the memory 20 may include high-speed random access memory, and may also include non-transitory memory, such as at least one magnetic disk storage device, flash memory device, or other non-transitory solid-state storage device. In some alternative embodiments, memory 20 may optionally include memory located remotely from processor 10, which may be connected to the computer device via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
Memory 20 may include volatile memory, such as random access memory; the memory may also include non-volatile memory, such as flash memory, hard disk, or solid state disk; the memory 20 may also comprise a combination of the above types of memories.
The computer device further comprises input means 30 and output means 40. The processor 10, memory 20, input device 30, and output device 40 may be connected by a bus or other means, for example in fig. 6.
The input device 30 may receive input numeric or character information and generate key signal inputs related to user settings and function control of the computer apparatus, such as a touch screen, a keypad, a mouse, a trackpad, a touchpad, a pointer stick, one or more mouse buttons, a trackball, a joystick, and the like. The output means 40 may include a display device, auxiliary lighting means (e.g., LEDs), tactile feedback means (e.g., vibration motors), and the like. Such display devices include, but are not limited to, liquid crystal displays, light emitting diodes, displays and plasma displays. In some alternative implementations, the display device may be a touch screen.
The embodiments of the present invention also provide a computer readable storage medium, and the method according to the embodiments of the present invention described above may be implemented in hardware, firmware, or as a computer code which may be recorded on a storage medium, or as original stored in a remote storage medium or a non-transitory machine readable storage medium downloaded through a network and to be stored in a local storage medium, so that the method described herein may be stored on such software process on a storage medium using a general purpose computer, a special purpose processor, or programmable or special purpose hardware. The storage medium can be a magnetic disk, an optical disk, a read-only memory, a random access memory, a flash memory, a hard disk, a solid state disk or the like; further, the storage medium may also comprise a combination of memories of the kind described above. It will be appreciated that a computer, processor, microprocessor controller or programmable hardware includes a storage element that can store or receive software or computer code that, when accessed and executed by the computer, processor or hardware, implements the methods illustrated by the above embodiments.
Although embodiments of the present invention have been described in connection with the accompanying drawings, various modifications and variations may be made by those skilled in the art without departing from the spirit and scope of the invention, and such modifications and variations fall within the scope of the invention as defined by the appended claims.

Claims (10)

1. A method of monitoring spindle load, the method comprising:
reading the number of the cutter;
acquiring a spindle load value read by a PLC (programmable logic controller) and a first load threshold corresponding to the cutter number;
inputting the spindle load value into a macro actuator, and comparing the spindle load value with the first load threshold value through the macro actuator;
and when the spindle load value exceeds the first load threshold value, receiving an early warning signal transmitted by the macro actuator through the PLC and giving an alarm.
2. The method according to claim 1, wherein the method further comprises:
comparing the main shaft load value with a second load threshold value through a macro actuator, and when the main shaft load value exceeds the second load threshold value, receiving an early warning signal transmitted by the macro actuator through a PLC (programmable logic controller), and performing alarm and stop control; the second load threshold is greater than the first load threshold.
3. The method of claim 2, wherein prior to the reading of the tool number, the method further comprises:
responding to configuration operation of a user, generating a user interface for parameter configuration, wherein a parameter input text box is configured on the user interface;
responding to the parameter input operation of a user, and acquiring the cutter numbers corresponding to the cutters recorded by the user;
and responding to preset setting operation of a user, and acquiring a first load threshold value and a second load threshold value corresponding to the cutter number of each cutter, which are input by the user based on the model number of each cutter and the participated working procedure.
4. The method of claim 1, wherein after the reading of the tool number, the method further comprises:
detecting whether a main shaft load monitoring function switch is turned on or not; wherein, each cutter number is correspondingly provided with a main shaft load monitoring function switch;
and when the main shaft load monitoring function switch is started, determining that the main shaft load monitoring is normally started.
5. The method according to claim 4, wherein the method further comprises:
when the main shaft load monitoring function switch is turned on, detecting whether the read tool number is consistent with the tool number corresponding to the turned-on main shaft load monitoring function switch;
and when the read tool number is consistent with the tool number corresponding to the opened main shaft load monitoring function switch, determining that the main shaft tool to be started is normally started.
6. The method of claim 4, wherein when a spindle load monitoring function corresponding to a tool number is on, the method further comprises:
detecting whether the main shaft is working or not;
and when the main shaft is working, determining that the main shaft is in a normal working state.
7. The method according to claim 1, wherein the method further comprises:
when the read cutter number changes, an alarm signal is sent out and the machine is stopped.
8. A spindle load monitoring apparatus, the apparatus comprising:
the reading module is used for reading the number of the cutter;
the acquisition module is used for acquiring the spindle load value read by the PLC and a first load threshold value corresponding to the cutter number;
the comparison module is used for inputting the spindle load value into a macro actuator, and comparing the spindle load value with the first load threshold through the macro actuator; and when the spindle load value exceeds the first load threshold value, receiving an early warning signal transmitted by the macro actuator through the PLC and giving an alarm.
9. A computer device, comprising:
a memory and a processor in communication with each other, the memory having stored therein computer instructions, the processor executing the computer instructions to perform the spindle load monitoring method of any one of claims 1to 7.
10. A computer-readable storage medium having stored thereon computer instructions for causing a computer to perform the spindle load monitoring method according to any one of claims 1to 7.
CN202311605198.1A 2023-11-28 2023-11-28 Spindle load monitoring method and device, computer equipment and storage medium Pending CN117608239A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311605198.1A CN117608239A (en) 2023-11-28 2023-11-28 Spindle load monitoring method and device, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311605198.1A CN117608239A (en) 2023-11-28 2023-11-28 Spindle load monitoring method and device, computer equipment and storage medium

Publications (1)

Publication Number Publication Date
CN117608239A true CN117608239A (en) 2024-02-27

Family

ID=89947681

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311605198.1A Pending CN117608239A (en) 2023-11-28 2023-11-28 Spindle load monitoring method and device, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN117608239A (en)

Similar Documents

Publication Publication Date Title
TWI559107B (en) Monitoring and control apparatus
JP2014016930A (en) Safety system and control device
JP3225757B2 (en) Programmable controller
CN111381563B (en) Error correction method and system for processing equipment
US10528017B2 (en) Information processing apparatus, information processing method, and computer readable storage medium
CN104636221A (en) Method and device for processing computer system fault
KR102124658B1 (en) Method and Apparatus for Monitoring Cutting Load of Machine Tool
US6141628A (en) Programmable logic controller software with embedded class logic and alarm/shutdown functionality
JP2019144716A (en) Unsteady condition detection system and unsteady condition detection method
CN111381558B (en) Error correction method and system for processing equipment
WO2013008274A1 (en) Numerical control apparatus
CN112802225A (en) Monitoring and inspection method, device, equipment and storage medium
CN111007827A (en) Alarm method of equipment, equipment and computer readable storage medium
JP2008176579A (en) Controller of machine
CN117608239A (en) Spindle load monitoring method and device, computer equipment and storage medium
JP7000703B2 (en) Information processing equipment, information processing methods, and information processing programs
CN110733037B (en) Signal processing method and device, storage medium and processor
CN111381562B (en) Error correction method and system for arc corner processing equipment
CN112306018B (en) Automatic flow control method, device, computer equipment and storage medium
CN111381559B (en) Processing equipment error correction method and system based on server
EP3109806A1 (en) Method for generating prognostic alerts and a human machine interface (hmi) device therefor
CN111381557B (en) Processing equipment error correction method and system based on single machine
CN114243715A (en) Method and system for testing hydropower station AGC control device
CN110989496A (en) PMC program-based automatic shutdown method for numerical control machine tool
US11662717B2 (en) Method and system for securely managing operations of a field device in an industrial environment

Legal Events

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