CN110989489B - Machine tool spindle signal conversion method and device and machine tool equipment - Google Patents

Machine tool spindle signal conversion method and device and machine tool equipment Download PDF

Info

Publication number
CN110989489B
CN110989489B CN201911216455.6A CN201911216455A CN110989489B CN 110989489 B CN110989489 B CN 110989489B CN 201911216455 A CN201911216455 A CN 201911216455A CN 110989489 B CN110989489 B CN 110989489B
Authority
CN
China
Prior art keywords
signal
machine tool
spindle
signals
conversion module
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.)
Active
Application number
CN201911216455.6A
Other languages
Chinese (zh)
Other versions
CN110989489A (en
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.)
Gree Electric Appliances Inc of Zhuhai
Zhuhai Gree Intelligent Equipment Co Ltd
Original Assignee
Gree Electric Appliances Inc of Zhuhai
Zhuhai Gree Intelligent Equipment 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 Gree Electric Appliances Inc of Zhuhai, Zhuhai Gree Intelligent Equipment Co Ltd filed Critical Gree Electric Appliances Inc of Zhuhai
Priority to CN201911216455.6A priority Critical patent/CN110989489B/en
Publication of CN110989489A publication Critical patent/CN110989489A/en
Application granted granted Critical
Publication of CN110989489B publication Critical patent/CN110989489B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

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/19Numerical 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 positioning or contouring control systems, e.g. to control position from one programmed point to another or to control movement along a programmed continuous path
    • 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/35Nc in input of data, input till input file format
    • G05B2219/35349Display part, programmed locus and tool path, traject, dynamic locus

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 discloses a method and a device for converting a machine tool spindle signal and machine tool equipment. Wherein, the method comprises the following steps: detecting a machine tool spindle signal of a target machine tool; determining the number of signals of a main shaft of the machine tool; if the number of the main shaft signals is two, the two machine tool main shaft signals are converted into three conventional main shaft signals when the preset conversion condition is met. The invention solves the technical problems of program compatibility, slow replacement efficiency and influence on the production efficiency of equipment in the related technology for replacing the type of the main shaft of the machine tool.

Description

Machine tool spindle signal conversion method and device and machine tool equipment
Technical Field
The invention relates to the technical field of machine tool equipment control, in particular to a method and a device for converting a machine tool spindle signal and machine tool equipment.
Background
Among the correlation technique, the elasticity sword signal of lathe electricity main shaft is mostly 3 sensor signals, a large amount of lathe equipment's relevant procedure also is based on 3 signals, few part electricity main shaft elasticity sword signals are 2 signals, if after the former equipment more trades the electric main shaft model, because the signal standard is inconsistent, need to change signal conversion module, and there is the compatible problem of procedure, because the main shaft signal is inequality, often need to change original PLC procedure, can influence the tool changing tool setting of lathe equipment like this, can occupy extra IO resource like this, not only change efficiency slower, and the complexity is very high, lead to lathe equipment production efficiency to obviously reduce.
In view of the above problems, no effective solution has been proposed.
Disclosure of Invention
The embodiment of the invention provides a method and a device for converting a machine tool spindle signal and machine tool equipment, which are used for at least solving the technical problems that program compatibility exists when the type of a machine tool spindle is changed in the related technology, and the equipment production efficiency is influenced because the change efficiency is low.
According to an aspect of an embodiment of the present invention, there is provided a method for converting a spindle signal of a machine tool, including: detecting a machine tool spindle signal of a target machine tool; determining the number of the machine tool spindle signals; if the number is two, two machine tool spindle signals are converted into three conventional spindle signals when a preset conversion condition is met.
Optionally, the step of detecting a machine spindle signal of the target machine tool includes: detecting a loosening and tightening cutter signal of an electric spindle of the target machine tool; detecting the state of a tool on the electric spindle; and determining the machine tool spindle signal based on the loosening and tightening tool signal and the tool state.
Optionally, the two spindle signals comprise: TA and TB, three conventional spindle signals include: TI, TO, NT.
Optionally, the step of converting the two machine tool spindle signals into three conventional spindle signals comprises: acquiring a signal truth table, wherein the signal truth table indicates the corresponding relation between the cutter state and each spindle signal; determining the tool state and the signal type indicated by the two spindle signals; if the signal type indicates that the TA signal is normally closed and the TB is normally open, the TA signal and the TB signal are connected in series through the signal conversion module and then are connected TO the TO; or if the signal type indicates that the TA signal is normally open and the TB is normally open, the TA signal and the TB signal are connected in series through the signal conversion module and then are connected to the TI; or if the signal type indicates that the TA signal is normally open and the TB is normally closed, the TA signal and the TB signal are connected in series through the signal conversion module and then are connected to the NT.
Optionally, the tool state comprises at least one of: the main shaft is loose, tight-with-knife and tight-without-knife.
Alternatively, the tool state is determined jointly with two machine spindle signals or jointly with three conventional spindle signals.
According to another aspect of the embodiments of the present invention, there is also provided a method for converting a spindle signal of a machine tool, including: detecting a machine tool spindle signal of a target machine tool; determining the type of the machine tool spindle signal; and if the type is not consistent with the preset standard type, converting the spindle signal into a machine tool spindle signal corresponding to the preset standard type.
According to another aspect of the embodiments of the present invention, there is also provided a machine tool spindle signal conversion apparatus, including: the first detection unit is used for detecting a machine tool spindle signal of a target machine tool; a first determination unit for determining the number of the machine tool spindle signals; and the first conversion unit is used for converting the two machine tool spindle signals into three conventional spindle signals if a preset conversion condition is met when the number is two.
Optionally, the first detection unit includes: the first detection module is used for detecting a loosening and tightening cutter signal of an electric spindle of the target machine tool; the second detection module is used for detecting the state of the cutter on the electric spindle; and the first determination module is used for determining the machine tool spindle signal based on the loosening and tightening cutter signal and the cutter state.
Optionally, the two spindle signals comprise: TA and TB, three conventional spindle signals include: TI, TO, NT.
Optionally, the first conversion unit comprises: the first acquisition module is used for acquiring a signal truth table, wherein the signal truth table indicates the corresponding relation between the cutter state and each spindle signal; determining the tool state and the signal type indicated by the two spindle signals; the first conversion module is used for connecting the TA signal and the TB signal in series through the signal conversion module and then connecting the TA signal and the TB signal TO the TO when the signal type indicates that the TA signal is normally closed and the TB signal is normally open; or the second conversion module is used for connecting the TA signal and the TB signal in series through the signal conversion module and then receiving the TA signal and the TB signal to the TI when the signal type indicates that the TA signal is normally open and the TB signal is normally open; or the third conversion module is used for connecting the TA signal and the TB signal in series through the signal conversion module and then connecting the TA signal and the TB signal to the NT when the signal type indicates that the TA signal is normally open and the TB signal is normally closed.
Optionally, the tool state comprises at least one of: the main shaft is loose, tight-with-knife and tight-without-knife.
Alternatively, the tool state is determined jointly with two machine spindle signals or jointly with three conventional spindle signals.
According to another aspect of the embodiments of the present invention, there is also provided a machine tool spindle signal conversion apparatus, including: the second detection unit is used for detecting a machine tool spindle signal of the target machine tool; the second determination unit is used for determining the type of the machine tool spindle signal; and the second conversion unit is used for converting the spindle signal into a machine tool spindle signal corresponding to the preset standard type when the type is inconsistent with the preset standard type.
According to another aspect of the embodiments of the present invention, there is also provided a machine tool apparatus including: an electric spindle; a processor; and a memory for storing executable instructions of the processor; wherein the processor is configured to execute the method for converting a machine tool spindle signal according to any one of the above items via execution of the executable instructions.
According to another aspect of the embodiments of the present invention, there is also provided a storage medium including a stored program, wherein when the program runs, a device on which the storage medium is located is controlled to execute the method for converting a machine tool spindle signal according to any one of the above.
In the embodiment of the invention, the machine tool spindle signals of a detection target machine tool are adopted, then the number of the machine tool spindle signals is determined, and if the number of the machine tool spindle signals is two, the two machine tool spindle signals are converted into three conventional spindle signals when a preset conversion condition is met. In the embodiment, the machine tool is not changed, redundant IO of the machine tool is not occupied, original programs and macro programs of the machine tool are not changed, two signals are converted into three signals, the machine tool can smoothly and smoothly change the spindle, new spindle signals are compatible, the replacement efficiency is accelerated under the condition that a signal conversion module of the spindle is not changed, and the production efficiency of machine tool equipment is improved, so that the technical problems that the model of the machine tool spindle is changed in the related technology, the programs are compatible, the replacement efficiency is low, and the production efficiency of the equipment is influenced are solved.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the invention and together with the description serve to explain the invention without limiting the invention. In the drawings:
FIG. 1 is a flow chart of an alternative method of converting a machine tool spindle signal according to an embodiment of the present invention;
FIG. 2 is a flow chart of another method for converting spindle signals of a machine tool according to an embodiment of the invention;
fig. 3 is a schematic diagram of an alternative machine tool spindle signal conversion apparatus according to an embodiment of the present invention.
Detailed Description
In order to make the technical solutions of the present invention better understood, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that the terms "first," "second," and the like in the description and claims of the present invention and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the invention described herein are capable of operation in sequences other than those illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
The following embodiments of the present invention can be applied to an implementation environment for replacing a spindle, where the implementation places include but are not limited to: machine tool factories, machine tool production workshops, etc. The performance of the machine tool spindle has great influence on the machining effect of the machine tool, in particular to a high-precision machine tool. When the machining performance of the machine tool is verified, if the machining effect is not ideal, the main shaft is required to be replaced for verification for multiple times. Spindle signals of the machine tool are generally 3, if the spindle signals to be verified are 2, spindle signal conversion can be performed through the scheme described in the following embodiment of the invention, and the compatibility is higher.
Machine tool main shaft signal is different (if 2 signals and 3 signals), when changing the main shaft, is changing the original PLC program of lathe among the prior art, if frequently change the main shaft, and the main shaft signal inequality condition appears many times, then need frequently to change the PLC program, can influence the tool changing tool setting of lathe, and the tool changing tool setting of lathe generally need be based on macro procedure in addition, consequently changes the lathe main shaft, can involve a plurality of control program of change, influences the progress. Meanwhile, if the machine tool IO is changed and is output to the machine tool after internal conversion, extra IO of the machine tool is occupied, and under the condition that IO resources are in shortage, other control IOs must be replaced, so that the method is difficult to implement. In the embodiment of the invention, the signal 2 can be directly converted into the signal 3 without changing the machine tool, and the PLC program does not need to be replaced, so that the recording and converting operations of the program are reduced. The present invention is illustrated below with reference to detailed examples.
In accordance with an embodiment of the present invention, there is provided a method embodiment for converting spindle signals of a machine tool, where the steps illustrated in the flowchart of the figure may be performed in a computer system such as a set of computer executable instructions, and where a logical order is illustrated in the flowchart, in some cases the steps illustrated or described may be performed in an order different than that illustrated or described herein.
Fig. 1 is a flow chart of an alternative method for converting a machine tool spindle signal according to an embodiment of the present invention, as shown in fig. 1, the method includes the following steps:
step S102, detecting a machine tool spindle signal of a target machine tool;
step S104, determining the number of the machine tool spindle signals;
and step S106, if the number of the main shaft signals is two, converting the two main shaft signals of the machine tool into three conventional main shaft signals when a preset conversion condition is met.
Through the steps, the machine tool spindle signals of the target machine tool can be detected firstly, then the number of the machine tool spindle signals is determined, and if the number of the machine tool spindle signals is two, the two machine tool spindle signals are converted into three conventional spindle signals when the preset conversion conditions are met. In the embodiment, the machine tool can be changed without any change, unnecessary IO of the machine tool is not occupied, original programs and macro programs of the machine tool are not required to be changed, the signals 2 are converted into the signals 3, the main shaft of the machine tool can be smoothly and smoothly replaced, new main shaft signals are compatible, and new programs are not required to be recorded under the condition that a signal conversion module of the main shaft is not changed, so that the replacement efficiency can be accelerated, the production efficiency of machine tool equipment is improved, the technical problems that the machine tool main shaft model is replaced in the related technology, the programs are compatible, the replacement efficiency is low, and the production efficiency of the equipment is influenced are solved.
The present invention will be described below with reference to the respective steps.
And step S102, detecting a machine tool spindle signal of the target machine tool.
In an alternative embodiment of the present invention, the step of detecting a machine spindle signal of the target machine tool comprises: detecting a tightness cutter signal of an electric main shaft of a target machine tool; detecting the state of a cutter on the electric spindle; and determining a machine tool spindle signal based on the elastic cutter signal and the cutter state.
And step S104, determining the number of the machine tool spindle signals.
And step S106, if the number of the main shaft signals is two, converting the two main shaft signals of the machine tool into three conventional main shaft signals when a preset conversion condition is met.
Optionally, the two spindle signals include: TA and TB, three conventional spindle signals include: TI, TO, NT.
In the embodiment of the invention, the step of converting two machine tool spindle signals into three conventional spindle signals comprises the following steps: acquiring a signal truth table, wherein the signal truth table indicates the corresponding relation between the cutter state and each spindle signal; determining the tool state and the signal type indicated by the two spindle signals; if the signal type indicates that the TA signal is normally closed and the TB is normally open, the TA signal and the TB signal are connected in series through the signal conversion module and then are connected TO the TO; or if the signal type indicates that the TA signal is normally open and the TB is normally open, the TA signal and the TB signal are connected in series through the signal conversion module and then are connected to the TI; or if the signal type indicates that the TA signal is normally open and the TB is normally closed, the TA signal and the TB signal are connected in series through the signal conversion module and then are connected to the NT.
For the truth table, it is a table showing the tool state and the spindle signal criteria. The signal truth table is illustrated below by table 1.
TABLE 1 truth table
Figure BDA0002299658320000051
Figure BDA0002299658320000061
In an embodiment of the invention, the tool state comprises at least one of: the main shaft is loose, tight-with-knife and tight-without-knife.
The conventional main shafts all adopt three signals of TI, TO and NT TO represent the state of a tool on the main shaft, a few main shafts (a few brands) adopt two signals of TA and TB, the original program of the common machine tool equipment is based on three conventional main shaft signal standards, when the operation program of the machine tool is designed conventionally, an operation circuit and a program are designed based on three conventional main shaft signals, and if the main shaft with 2 signals is adopted, 2 input signals can be changed into 3 signals through a signal conversion module.
Through the analysis of a signal truth table, a signal conversion module can be used for connecting the normally closed state of a TA signal and the normally open state of a TB signal in series and then connecting the TA signal and the TB signal TO TO; after the TA signal is normally open and the TB signal is normally open in series, the TA signal is connected to the TI; after the normally open of the TA signal and the normally closed of the TB are connected in series, the NT is connected. Thereby completing the technical scheme of converting 2 signals into 3 signals.
As an alternative embodiment of the invention, the tool state is determined jointly by two machine tool spindle signals or jointly by three conventional spindle signals.
The embodiment of the invention can be applied to a machine tool factory, and the signal conversion module can be used for replacing the main shafts corresponding to the main shaft signals with different numbers on the existing machine tool prototype, so that the running state of the machine tool is verified, the optimal main shaft matched with the machine tool is obtained through configuration, and the machine tool can be used more reasonably.
The following is a description of an alternative method of converting the machine tool spindle signal.
Fig. 2 is a flowchart of another method for converting a spindle signal of a machine tool according to an embodiment of the present invention, as shown in fig. 2, the method includes:
step S202, detecting a machine tool spindle signal of a target machine tool;
step S204, determining the type of the machine tool spindle signal;
and step S206, if the type is not consistent with the preset standard type, converting the spindle signal into a machine tool spindle signal corresponding to the preset standard type.
Through the steps, a machine tool spindle signal of the target machine tool can be detected firstly, then the type of the machine tool spindle signal is determined, and finally when the type is inconsistent with the preset standard type, the spindle signal is converted into the machine tool spindle signal corresponding to the preset standard type. In the embodiment, the machine tool can be changed without changing the machine tool, the redundant IO of the machine tool is not occupied, the original program and macro program of the machine tool are not changed, the spindle with the signal type 2 is changed into the spindle with the signal type 3, the spindle can be smoothly and smoothly changed by the machine tool, new spindle signals are compatible, the change efficiency is accelerated, and the production efficiency of machine tool equipment is improved, so that the technical problems that the model of the spindle of the machine tool is changed in the related technology, the program compatibility exists, the change efficiency is low, and the production efficiency of the equipment is influenced are solved.
Optionally, the type of the machine tool spindle signal may be 2 signals, and may also be 3 signals. The preset standard type may be set to 3 general spindle signal types.
The invention is illustrated below by means of a further alternative embodiment.
Fig. 3 is a schematic diagram of an alternative conversion device for a machine tool spindle signal according to an embodiment of the present invention, and as shown in fig. 3, the conversion device may include: a first detection unit 31, a first determination unit 33, a first conversion unit 35, wherein,
a first detection unit 31 for detecting a machine tool spindle signal of a target machine tool;
a first determination unit 33 for determining the number of machine tool spindle signals;
and the first conversion unit 35 is used for converting the two machine tool spindle signals into three conventional spindle signals if a preset conversion condition is met when the number of the two spindle signals is two.
The machine tool spindle signal conversion device can detect the machine tool spindle signal of a target machine tool through the first detection unit 31, then determine the number of the machine tool spindle signals through the first determination unit 33, and convert the two machine tool spindle signals into three conventional spindle signals if the number of the machine tool spindle signals is two and preset conversion conditions are met through the first conversion unit. In the embodiment, the machine tool can be changed without any change, unnecessary IO of the machine tool is not occupied, original programs and macro programs of the machine tool are not required to be changed, the signals 2 are converted into the signals 3, the main shaft of the machine tool can be smoothly and smoothly replaced, new main shaft signals are compatible, and new programs are not required to be recorded under the condition that a signal conversion module of the main shaft is not changed, so that the replacement efficiency can be accelerated, the production efficiency of machine tool equipment is improved, the technical problems that the machine tool main shaft model is replaced in the related technology, the programs are compatible, the replacement efficiency is low, and the production efficiency of the equipment is influenced are solved.
Optionally, the first detecting unit includes: the first detection module is used for detecting a loosening and tightening cutter signal of an electric spindle of the target machine tool; the second detection module is used for detecting the state of the cutter on the electric spindle; and the first determining module is used for determining a machine tool spindle signal based on the elastic cutter signal and the cutter state.
Optionally, the two spindle signals include: TA and TB, three conventional spindle signals include: TI, TO, NT.
As an alternative embodiment of the present invention, the first conversion unit includes: the first acquisition module is used for acquiring a signal truth table, wherein the signal truth table indicates the corresponding relation between the cutter state and each spindle signal; determining the tool state and the signal type indicated by the two spindle signals; the first conversion module is used for connecting the TA signal and the TB signal in series through the signal conversion module and then connecting the TA signal and the TB signal TO the TO when the signal type indicates that the TA signal is normally closed and the TB signal is normally open; or the second conversion module is used for connecting the TA signal and the TB signal in series through the signal conversion module and then receiving the TA signal and the TB signal to the TI when the signal type indicates that the TA signal is normally open and the TB is normally open; or the third conversion module is used for connecting the TA signal and the TB signal in series through the signal conversion module and then connecting the TA signal and the TB signal to the NT when the signal type indicates that the TA signal is normally open and the TB signal is normally closed.
Optionally, the tool state includes at least one of: the main shaft is loose, tight-with-knife and tight-without-knife.
Alternatively, the tool state is determined jointly by two machine tool spindle signals, or jointly by three conventional spindle signals.
According to another aspect of the embodiments of the present invention, there is also provided a machine tool spindle signal conversion apparatus, including: the second detection unit is used for detecting a machine tool spindle signal of the target machine tool; the second determination unit is used for determining the type of the machine tool spindle signal; and the second conversion unit is used for converting the spindle signal into a machine tool spindle signal corresponding to the preset standard type when the type is inconsistent with the preset standard type.
The above-mentioned conversion device for machine tool spindle signals may further include a processor and a memory, the above-mentioned first detection unit 31, the first determination unit 33, the first conversion unit 35, and the second detection unit, the second determination unit, the second conversion unit, etc. are all stored in the memory as program units, and the processor executes the above-mentioned program units stored in the memory to implement the corresponding functions.
The processor comprises a kernel, and the kernel calls a corresponding program unit from the memory. The kernel can be set to be one or more than one, and spindle signals are converted into machine tool spindle signals corresponding to preset standard types by adjusting kernel parameters.
The memory may include volatile memory in a computer readable medium, Random Access Memory (RAM) and/or nonvolatile memory such as Read Only Memory (ROM) or flash memory (flash RAM), and the memory includes at least one memory chip.
According to another aspect of the embodiments of the present invention, there is also provided a machine tool apparatus including: an electric spindle; a processor; and a memory for storing executable instructions for the processor; wherein the processor is configured to perform the method of converting a machine tool spindle signal of any one of the above via execution of executable instructions.
According to another aspect of the embodiments of the present invention, there is also provided a storage medium including a stored program, wherein when the program runs, the apparatus on which the storage medium is controlled to execute the method for converting the spindle signal of the machine tool according to any one of the above.
The present application further provides a computer program product adapted to perform a program for initializing the following method steps when executed on a data processing device: detecting a machine tool spindle signal of a target machine tool; determining the number of signals of a main shaft of the machine tool; if the number of the main shaft signals is two, the two machine tool main shaft signals are converted into three conventional main shaft signals when the preset conversion condition is met.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
In the above embodiments of the present invention, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In the embodiments provided in the present application, it should be understood that the disclosed technology can be implemented in other ways. The above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units may be a logical division, and in actual implementation, there may be another division, for example, multiple units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, units or modules, and may be in an electrical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic or optical disk, and other various media capable of storing program codes.
The foregoing is only a preferred embodiment of the present invention, and it should be noted that, for those skilled in the art, various modifications and decorations can be made without departing from the principle of the present invention, and these modifications and decorations should also be regarded as the protection scope of the present invention.

Claims (8)

1. A method for converting a spindle signal of a machine tool, comprising:
detecting a machine tool spindle signal of a target machine tool;
determining the number of the machine tool spindle signals;
if the number is two, converting two machine tool spindle signals into three conventional spindle signals when a preset conversion condition is met;
two of the spindle signals include: TA and TB, three of the conventional spindle signals include: TI, TO, NT;
the step of converting two machine tool spindle signals into three conventional spindle signals, comprising:
acquiring a signal truth table, wherein the signal truth table indicates the corresponding relation between the cutter state and each spindle signal;
determining the tool state and the signal type indicated by the two spindle signals;
if the signal type indicates that the TA signal is normally closed and the TB is normally open, the TA signal and the TB signal are connected in series through the signal conversion module and then are connected TO the TO; alternatively, the first and second electrodes may be,
if the signal type indicates that the TA signal is normally open and the TB is normally open, the TA signal and the TB signal are connected in series through the signal conversion module and then are connected to the TI; alternatively, the first and second electrodes may be,
if the signal type indicates that the TA signal is normally open and the TB is normally closed, the TA signal and the TB signal are connected in series through the signal conversion module and then are connected to the NT.
2. The conversion method according to claim 1, wherein the step of detecting a machine spindle signal of the target machine tool comprises:
detecting a loosening and tightening cutter signal of an electric spindle of the target machine tool; and
detecting the state of a cutter on the electric spindle;
and determining the machine tool spindle signal based on the loosening and tightening tool signal and the tool state.
3. The conversion method according to claim 2 or 1, wherein the tool state comprises at least one of: the main shaft is loose, tight-with-knife and tight-without-knife.
4. A conversion method according to claim 3, characterized in that the tool state is determined jointly with two machine tool spindle signals or jointly with three conventional spindle signals.
5. A method for converting a spindle signal of a machine tool, comprising:
detecting a machine tool spindle signal of a target machine tool;
determining the type of the machine tool spindle signal;
if the type is not consistent with a preset standard type, converting the spindle signal into a machine tool spindle signal corresponding to the preset standard type;
the machine tool spindle signals corresponding to the preset standard types are three conventional spindle signals;
two of the spindle signals include: TA and TB, three of the conventional spindle signals include: TI, TO, NT;
the step of converting two machine tool spindle signals into three conventional spindle signals, comprising:
acquiring a signal truth table, wherein the signal truth table indicates the corresponding relation between the cutter state and each spindle signal;
determining the tool state and the signal type indicated by the two spindle signals;
if the signal type indicates that the TA signal is normally closed and the TB is normally open, the TA signal and the TB signal are connected in series through the signal conversion module and then are connected TO the TO; alternatively, the first and second electrodes may be,
if the signal type indicates that the TA signal is normally open and the TB is normally open, the TA signal and the TB signal are connected in series through the signal conversion module and then are connected to the TI; alternatively, the first and second electrodes may be,
if the signal type indicates that the TA signal is normally open and the TB is normally closed, the TA signal and the TB signal are connected in series through the signal conversion module and then are connected to the NT.
6. A device for converting a spindle signal of a machine tool, comprising:
the first detection unit is used for detecting a machine tool spindle signal of a target machine tool;
a first determination unit for determining the number of the machine tool spindle signals;
the first conversion unit is used for converting two machine tool spindle signals into three conventional spindle signals if the number is two and preset conversion conditions are met;
two of the spindle signals include: TA and TB, three of the conventional spindle signals include: TI, TO, NT;
the first conversion unit comprises a first acquisition module, a determination module, a first conversion module, a second conversion module and a third conversion module;
the first acquisition module is used for acquiring a signal truth table, wherein the signal truth table indicates the corresponding relation between the cutter state and each spindle signal;
the determining module is used for determining the tool state and the signal type indicated by the two spindle signals;
the first conversion module is used for connecting the TA signal and the TB signal in series through the signal conversion module and then connecting the TA signal and the TB signal TO the TO when the signal type indicates that the TA signal is normally closed and the TB signal is normally open;
the second conversion module is used for connecting the TA signal and the TB signal in series through the signal conversion module and then connecting the TA signal and the TB signal to the TI when the signal type indicates that the TA signal is normally open and the TB is normally open;
and the third conversion module is used for connecting the TA signal and the TB signal in series through the signal conversion module and then connecting the TA signal and the TB signal to the NT when the signal type indicates that the TA signal is normally open and the TB signal is normally closed.
7. A device for converting a spindle signal of a machine tool, comprising:
the second detection unit is used for detecting a machine tool spindle signal of the target machine tool;
the second determination unit is used for determining the type of the machine tool spindle signal;
the second conversion unit is used for converting the spindle signal into a machine tool spindle signal corresponding to the preset standard type when the type is inconsistent with the preset standard type;
the machine tool spindle signals corresponding to the preset standard types are three conventional spindle signals;
two of the spindle signals include: TA and TB, three of the conventional spindle signals include: TI, TO, NT;
the conversion means is further adapted to perform the steps of:
the step of converting two machine tool spindle signals into three conventional spindle signals, comprising:
acquiring a signal truth table, wherein the signal truth table indicates the corresponding relation between the cutter state and each spindle signal;
determining the tool state and the signal type indicated by the two spindle signals;
if the signal type indicates that the TA signal is normally closed and the TB is normally open, the TA signal and the TB signal are connected in series through the signal conversion module and then are connected TO the TO; alternatively, the first and second electrodes may be,
if the signal type indicates that the TA signal is normally open and the TB is normally open, the TA signal and the TB signal are connected in series through the signal conversion module and then are connected to the TI; alternatively, the first and second electrodes may be,
if the signal type indicates that the TA signal is normally open and the TB is normally closed, the TA signal and the TB signal are connected in series through the signal conversion module and then are connected to the NT.
8. A machine tool apparatus, comprising:
an electric spindle;
a processor; and
a memory for storing executable instructions of the processor;
wherein the processor is configured to perform the method of converting a machine tool spindle signal of any one of claims 1 to 5 via execution of the executable instructions.
CN201911216455.6A 2019-12-02 2019-12-02 Machine tool spindle signal conversion method and device and machine tool equipment Active CN110989489B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911216455.6A CN110989489B (en) 2019-12-02 2019-12-02 Machine tool spindle signal conversion method and device and machine tool equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911216455.6A CN110989489B (en) 2019-12-02 2019-12-02 Machine tool spindle signal conversion method and device and machine tool equipment

Publications (2)

Publication Number Publication Date
CN110989489A CN110989489A (en) 2020-04-10
CN110989489B true CN110989489B (en) 2021-03-12

Family

ID=70089594

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911216455.6A Active CN110989489B (en) 2019-12-02 2019-12-02 Machine tool spindle signal conversion method and device and machine tool equipment

Country Status (1)

Country Link
CN (1) CN110989489B (en)

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE10155078B4 (en) * 2001-11-09 2005-06-02 Walter Ag Machine with temperature-compensated work spindle
JP2010039505A (en) * 2008-07-31 2010-02-18 Toshiba Corp Controller device
CN202632051U (en) * 2012-04-27 2012-12-26 滕州市山森创发数控设备有限公司 Lathe controller
KR102053465B1 (en) * 2013-10-08 2019-12-10 두산공작기계 주식회사 Automatic conversion device of themal deformation compensation parameter automatic conversion for machine tool and method thereof
KR101503178B1 (en) * 2013-11-29 2015-03-16 현대위아 주식회사 Apparatus for compensating thermal deformation in machine tool and method for driving the same
CN203679932U (en) * 2014-01-28 2014-07-02 苏州大学 Tool setting equipment for numerically-controlled machine tool
CN109759898B (en) * 2019-03-22 2024-02-27 陕西宝光真空电器股份有限公司 Electric spindle fault test diagnosis system for engraving and milling machine and diagnosis method thereof

Also Published As

Publication number Publication date
CN110989489A (en) 2020-04-10

Similar Documents

Publication Publication Date Title
US11158143B2 (en) Vehicle diagnostic method and device, and computer readable storage medium
CN103023984B (en) Terminal application server and application log filtering method thereof
CN103838181B (en) Machine tool state judgment method and system
CN110888354A (en) Method and device for realizing automatic identification of access equipment, computer equipment and medium
CN104980552B (en) Realize the method and system of Android mobile terminal automatic test
CN107463441A (en) A kind of number of threads control method and equipment
CN109918221B (en) Hard disk error reporting analysis method, system, terminal and storage medium
CN104598340A (en) Detection system of hardware faults, electronic device and method
CN108093275B (en) Data processing method and device
CN110989489B (en) Machine tool spindle signal conversion method and device and machine tool equipment
CN101727987B (en) Data programming and reading method and single time programmable memory applying the same
CN117389792A (en) Fault checking method and device, storage medium and electronic equipment
CN112181479A (en) Method and device for determining difference between code file versions and electronic equipment
CN117214664A (en) Method, system, device, equipment and storage medium for offline testing chip
CN112527610A (en) Method and device for monitoring operation state of equipment
CN107704533B (en) User terminal online quantity statistical method and system
CN104636279A (en) Address assignment identification method and address assignment identification circuit
CN110347343B (en) Data management method and device
CN109709418B (en) Detection method and device for charging facility, storage medium and processor
CN110908876B (en) Method and device for acquiring hardware performance data
CN109739808B (en) Method, system and related equipment for converting format of automobile data stream recording file
CN110781092A (en) Script testing method, device, terminal and storage medium
CN111123744A (en) Menu recording method and device, storage medium and electronic equipment
CN112131082A (en) Method, device and storage medium for realizing software system state detection
US20200151046A1 (en) Method for determining location where memory error occurs

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
GR01 Patent grant
GR01 Patent grant