CN110412955A - A kind of Machine-Tool Control method, apparatus and computer readable storage medium - Google Patents
A kind of Machine-Tool Control method, apparatus and computer readable storage medium Download PDFInfo
- Publication number
- CN110412955A CN110412955A CN201910644195.6A CN201910644195A CN110412955A CN 110412955 A CN110412955 A CN 110412955A CN 201910644195 A CN201910644195 A CN 201910644195A CN 110412955 A CN110412955 A CN 110412955A
- Authority
- CN
- China
- Prior art keywords
- machine
- lathe
- tool control
- tool
- control
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 43
- 238000003860 storage Methods 0.000 title claims abstract description 19
- 238000004891 communication Methods 0.000 claims abstract description 104
- 230000004044 response Effects 0.000 claims description 16
- 238000013507 mapping Methods 0.000 claims description 7
- 238000012217 deletion Methods 0.000 claims description 3
- 230000037430 deletion Effects 0.000 claims description 3
- 238000007726 management method Methods 0.000 description 53
- 230000001276 controlling effect Effects 0.000 description 19
- 238000004590 computer program Methods 0.000 description 9
- 238000010586 diagram Methods 0.000 description 9
- 238000005516 engineering process Methods 0.000 description 6
- 230000000712 assembly Effects 0.000 description 5
- 238000000429 assembly Methods 0.000 description 5
- 230000000875 corresponding effect Effects 0.000 description 5
- 238000007630 basic procedure Methods 0.000 description 3
- 230000006870 function Effects 0.000 description 2
- 230000014759 maintenance of location Effects 0.000 description 2
- 230000008569 process Effects 0.000 description 2
- 230000001960 triggered effect Effects 0.000 description 2
- 241000208340 Araliaceae Species 0.000 description 1
- 201000004569 Blindness Diseases 0.000 description 1
- 235000005035 Panax pseudoginseng ssp. pseudoginseng Nutrition 0.000 description 1
- 235000003140 Panax quinquefolius Nutrition 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000006073 displacement reaction Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 235000008434 ginseng Nutrition 0.000 description 1
- 238000009776 industrial production Methods 0.000 description 1
- 230000007257 malfunction Effects 0.000 description 1
- 230000007246 mechanism Effects 0.000 description 1
- 238000000465 moulding Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000002360 preparation method Methods 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B19/00—Programme-control systems
- G05B19/02—Programme-control systems electric
- G05B19/418—Total factory control, i.e. centrally controlling a plurality of machines, e.g. direct or distributed numerical control [DNC], flexible manufacturing systems [FMS], integrated manufacturing systems [IMS] or computer integrated manufacturing [CIM]
- G05B19/41815—Total factory control, i.e. centrally controlling a plurality of machines, e.g. direct or distributed numerical control [DNC], flexible manufacturing systems [FMS], integrated manufacturing systems [IMS] or computer integrated manufacturing [CIM] characterised by the cooperation between machine tools, manipulators and conveyor or other workpiece supply system, workcell
- G05B19/41825—Total factory control, i.e. centrally controlling a plurality of machines, e.g. direct or distributed numerical control [DNC], flexible manufacturing systems [FMS], integrated manufacturing systems [IMS] or computer integrated manufacturing [CIM] characterised by the cooperation between machine tools, manipulators and conveyor or other workpiece supply system, workcell machine tools and manipulators only, machining centre
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B19/00—Programme-control systems
- G05B19/02—Programme-control systems electric
- G05B19/418—Total factory control, i.e. centrally controlling a plurality of machines, e.g. direct or distributed numerical control [DNC], flexible manufacturing systems [FMS], integrated manufacturing systems [IMS] or computer integrated manufacturing [CIM]
- G05B19/4188—Total factory control, i.e. centrally controlling a plurality of machines, e.g. direct or distributed numerical control [DNC], flexible manufacturing systems [FMS], integrated manufacturing systems [IMS] or computer integrated manufacturing [CIM] characterised by CIM planning or realisation
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02P—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
- Y02P90/00—Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
- Y02P90/02—Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Manufacturing & Machinery (AREA)
- Quality & Reliability (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Automation & Control Theory (AREA)
- General Factory Administration (AREA)
Abstract
A kind of disclosed Machine-Tool Control method, apparatus and computer readable storage medium according to embodiments of the present invention receive the machine tool control data that lathe controlling terminal sends over based on the communication connection with Machine-Tool Control terminal;Whether judgement currently meets preset Machine-Tool Control trigger condition;It when meeting Machine-Tool Control trigger condition, is connect based on the wire communication with lathe, lathe is controlled by machine tool control data.Implementation through the invention, lathe passes through the second communication interface wire communication connecting machine tool management equipment, then it is communicated to connect by Machine-Tool Control terminal by the first communication interface and machine management equipment, so that all lathes all can effectively improve the safety and efficiency of Machine-Tool Control by machine management equipment by Machine-Tool Control terminal remote centralized control.
Description
Technical field
The present invention relates to electronic technology field more particularly to a kind of Machine-Tool Control method, apparatus and computer-readable storages
Medium.
Background technique
With the fast development of automation, lathe is often used in the industrial production.Current lathe is usually only arranged
There is wired communication interface, to can only have controlling terminal and lathe by this in order or the file for modifying lathe task
Line communication interface establishes physical connection, then will be ordered by controlling terminal or file is transferred on lathe.
However, at present when using the Machine-Tool Control method, it usually needs special operator manually seeks from control centre
The lathe for going to need to control parallel is looked for, thus, on the one hand, operator passes through in the factory is generally configured with certain risk,
The degree of safety of Machine-Tool Control is not high, and on the other hand, the mode of manual control is time-consuming and laborious, and the efficiency of Machine-Tool Control is lower.
Summary of the invention
The main purpose of the embodiment of the present invention is to provide a kind of Machine-Tool Control method, apparatus and computer-readable storage medium
Matter is at least able to solve and is controlled by the way of completely artificial lathe in the related technology, caused Machine-Tool Control
Degree of safety is not high and problem that efficiency is lower.
To achieve the above object, first aspect of the embodiment of the present invention provides a kind of Machine-Tool Control method, applied to having
The machine management equipment of first communication interface and the second communication interface, first communication interface with Machine-Tool Control terminal for building
Vertical communication connection, second communication interface are connect for establishing wire communication with lathe, this method comprises:
Based on the communication connection with the Machine-Tool Control terminal, the lathe control that the Machine-Tool Control terminal sends over is received
Data processed;
Whether judgement currently meets preset Machine-Tool Control trigger condition;
When meeting the Machine-Tool Control trigger condition, is connected based on the wire communication, pass through the Machine-Tool Control number
It is controlled according to the lathe.
To achieve the above object, second aspect of the embodiment of the present invention provides a kind of machine control unit, applied to having
The machine management equipment of first communication interface and the second communication interface, first communication interface with Machine-Tool Control terminal for building
Vertical communication connection, second communication interface are connect for establishing wire communication with lathe, which includes:
Receiving module, for receiving the Machine-Tool Control terminal hair based on the communication connection with the Machine-Tool Control terminal
The machine tool control data brought;
Judgment module, for judging currently whether meet preset Machine-Tool Control trigger condition;
Control module, for being connected based on the wire communication, passing through institute when meeting the Machine-Tool Control trigger condition
Machine tool control data is stated to control the lathe.
To achieve the above object, the third aspect of the embodiment of the present invention provides a kind of electronic device, which includes:
Processor, memory and communication bus;
The communication bus is for realizing the connection communication between the processor and memory;
The processor is above-mentioned any one to realize for executing one or more program stored in the memory
The step of kind Machine-Tool Control method.
To achieve the above object, fourth aspect of the embodiment of the present invention provides a kind of computer readable storage medium, the meter
Calculation machine readable storage medium storing program for executing is stored with one or more program, and one or more of programs can be by one or more
It manages device to execute, the step of to realize any one of the above Machine-Tool Control method.
The Machine-Tool Control method, apparatus and computer readable storage medium provided according to embodiments of the present invention, is based on and machine
The communication connection of bed controlling terminal receives the machine tool control data that lathe controlling terminal sends over;Whether judgement currently meets
Preset Machine-Tool Control trigger condition;When meeting Machine-Tool Control trigger condition, it is connect, is passed through based on the wire communication with lathe
Machine tool control data controls lathe.Implementation through the invention, lathe are connected by the second communication interface wire communication
Then machine management equipment is communicated to connect by Machine-Tool Control terminal by the first communication interface and machine management equipment, so that institute
There is lathe all can effectively improve the safety of Machine-Tool Control by machine management equipment by Machine-Tool Control terminal remote centralized control
Property and efficiency.
Other features of the invention and corresponding effect are described in the aft section of specification, and should be appreciated that
At least partly effect is apparent from from the record in description of the invention.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below
There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this
Some embodiments of invention for those skilled in the art without creative efforts, can also basis
These attached drawings obtain other attached drawings.
Fig. 1 is the architecture diagram for the machine tool control system that first embodiment of the invention provides;
Fig. 2 is the basic procedure schematic diagram for the Machine-Tool Control method that first embodiment of the invention provides;
Fig. 3 is the basic procedure schematic diagram for the lathe judgment method that first embodiment of the invention provides;
Fig. 4 is the refinement flow diagram for the Machine-Tool Control method that second embodiment of the invention provides;
Fig. 5 is the structural schematic diagram for the machine control unit that third embodiment of the invention provides;
Fig. 6 is the structural schematic diagram for the electronic device that fourth embodiment of the invention provides.
Specific embodiment
In order to make the invention's purpose, features and advantages of the invention more obvious and easy to understand, below in conjunction with the present invention
Attached drawing in embodiment, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described reality
Applying example is only a part of the embodiment of the present invention, and not all embodiments.Based on the embodiments of the present invention, those skilled in the art
Member's every other embodiment obtained without making creative work, shall fall within the protection scope of the present invention.
First embodiment:
In order to solve to control by the way of completely artificial lathe in the related technology, caused Machine-Tool Control
Degree of safety is not high and technical problem that efficiency is lower, applied to the lathe with the first communication interface and the second communication interface
Management equipment, the first communication interface are used to establish with Machine-Tool Control terminal and communicate to connect, and the second communication interface with lathe for building
Vertical wire communication connection.It is as shown in Figure 1 a kind of architecture diagram of machine tool control system provided in this embodiment, wherein Mei Geji
Bed is configured with a machine management equipment by way of wire communication connection namely physical connection, and then each machine management is set
It is standby to be communicated to connect respectively with Machine-Tool Control terminal again, and realize single Machine-Tool Control terminal to the remote centralized pipe of multiple lathes
Reason.It should be noted that Machine-Tool Control terminal can be the mobile terminal of operator, it is also possible to the server on factory backstage.
The present embodiment proposes a kind of Machine-Tool Control method, is illustrated in figure 2 Machine-Tool Control method provided in this embodiment
Basic procedure schematic diagram, the present embodiment propose Machine-Tool Control method include the following steps:
Step 201, the lathe control sended over based on the communication connection with Machine-Tool Control terminal, reception lathe controlling terminal
Data processed.
Specifically, in the present embodiment, the communication mode of machine management equipment and Machine-Tool Control terminal can be channel radio
Believe connection type, such as WiFi, bluetooth, LTE, is also possible to the mode of wire communication connection, such as network interface, is actually answering
The visual actual demand in and select, the present embodiment does not limit uniquely.In addition, lathe control of the machine management equipment based on distal end
Machine tool control data transmitted by terminal processed controls the lathe of proximal end, wherein machine management equipment can receive
The machine tool control data sended over to Machine-Tool Control terminal triggers the control to lathe in real time, is also possible to be similar to a net
Network storage dish, the machine tool control data first sent to Machine-Tool Control terminal store, and a certain specific time node is again later
Control to lathe is triggered by Machine-Tool Control terminal.
Optionally, the specific implementation for the machine tool control data that lathe controlling terminal sends over is received in the present embodiment
It is including but not limited to three kinds following:
Mode one receives the Machine-Tool Control instruction that lathe controlling terminal sends over.
Specifically, in the present embodiment, Machine-Tool Control terminal is sent to machine management equipment by radio connection
Be only a machine tool instructions, such as lathe is driven instruction, cutoff command, task switching instruction etc..
Mode two receives the lathe that lathe controlling terminal sends over and executes file.
Specifically, in the present embodiment, Machine-Tool Control terminal is first remote by lathe execution file by radio connection
Journey is transmitted in machine management equipment and is stored, and not triggering Machine-Tool Control instruction in real time, executes above-mentioned lathe to correspond to
Execute file.
Mode three receives the Machine-Tool Control instruction that lathe controlling terminal sends over, and is associated with Machine-Tool Control instruction
Lathe execute file.
Specifically, in the present embodiment, the control mode to lathe is real-time control mode, and implements to control to lathe
Mode processed also relates to increase, the update etc. that lathe executes file.
Whether step 202, judgement currently meet preset Machine-Tool Control trigger condition.
Specifically, only meeting specific Machine-Tool Control triggering in the present embodiment after receiving machine tool control data
When condition, the proximal end lathe that can just connect for machine management equipment wire communication is controlled.Avoid receiving for blindness
Machine tool control data triggers Machine-Tool Control, caused generation the case where not meeting practical demand for control.
The mode whether judgement currently meets preset Machine-Tool Control trigger condition includes but is not limited to following at least one:
Whether mode one, judgement currently reach the preset Machine-Tool Control moment.
Specifically, in practical applications, part Machine-Tool Control demand occurs to be based on this, this reality in specific timing node
Apply whether a real-time judge current time reaches the preset Machine-Tool Control moment to trigger control of the machine management equipment to lathe.
Wherein, when reaching the Machine-Tool Control moment, meet Machine-Tool Control trigger condition.
Mode two, judgement it is current whether real-time reception to lathe when being finished historic task, the preparation fed back is complete
At response.
Specifically, in practical applications, to guarantee workload, lathe be usually it is not parking continue working, and usual machine
The task that bed is continuously performed is different, when usually finishing old task execution, needs to start the execution of new task, is based on
This, whether the present embodiment real-time judge currently receives lathe when having executed old task, and it is generated to be ready to complete response,
I.e. instruction lathe is to execute new task to be ready for completing.Wherein, receive be ready to complete response when, meet Machine-Tool Control triggering
Condition.
Mode three, judgement is current, and whether real-time reception is instructed to the Machine-Tool Control that Machine-Tool Control terminal sends over.
Specifically, in the present embodiment, the Machine-Tool Control instruction that Machine-Tool Control terminal is triggered is also based on, to touch
Send out control of the machine management equipment to proximal end lathe.Wherein, when real-time reception to Machine-Tool Control instructs, meet Machine-Tool Control touching
Clockwork spring part.
Step 203, when meeting Machine-Tool Control trigger condition, based on wire communication connect, pass through machine tool control data pair
Lathe is controlled.
Specifically, in the present embodiment, machine management equipment controls the lathe of proximal end based on wire communication connection
System, to realize long-range management of the machine management terminal to lathe.Wherein, wire communication connection type here may include:
USB connection type, Type-C connection type etc. require in such a way that physical interface carries out physical connection.
Wherein, optionally, including but not limited to following two mode is controlled to lathe by machine tool control data:
Mode one instructs control lathe to carry out machine when machine tool control data is that Machine-Tool Control is instructed by Machine-Tool Control
The deletion or the upload of machine tool operating parameter or reporting for lathe task execution progress of bed execution file.
Specifically, if only relating to the execution of control instruction, corresponding to will have on lathe when controlling lathe
Lathe execute file and deleted, alternatively, the real-time working of lathe uploads or the task execution progress of lathe is reported etc. and not related to
And need to receive the new control mode for executing file.
Mode two includes Machine-Tool Control instruction in machine tool control data, and is associated with the lathe that Machine-Tool Control instructs and holds
It when style of writing part, is instructed by Machine-Tool Control, control lathe is locally increasing lathe execution file, or the history lathe of local is held
Style of writing part is updated to lathe and executes file.
Specifically, in the present embodiment, if Machine-Tool Control is related to being associated with the control instruction of new machine execution file
It executes, then corresponds to and new machine execution file is locally added in lathe according to control instruction, alternatively, by the old lathe of lathe local
File is executed to be updated by new machine execution file.
Optionally, the Machine-Tool Control method of the present embodiment further include: when establishing wire communication for the first time with lathe and connecting, wound
The mapping relations of the unique identification of machine management equipment itself and the unique identification of lathe are built, and mapping relations are uploaded to lathe
Controlling terminal.
More lathes are installed specifically, generally concentrating in practical applications, in computer room, and different lathes may execute
Task it is different, therefore need to identify different lathes in the present embodiment, and then execute corresponding control.Based on this,
In the present embodiment when machine management equipment is established the wire communication with lathe for the first time and connect, can be here for each lathe it is new
When installing lathe management equipment, when being also possible to occur the machine management equipment displacement on lathe, triggering machine management equipment is obtained
Take the unique identification of lathe, then establish the mapping relations of lathe unique identification Yu itself unique identification, realize by lathe with it is right
The machine management equipment that should be connected is bound, and by binding result be uploaded to the central controlled Machine-Tool Control terminal of lathe into
Row record.It should be understood that the unique identification of lathe unique identification and machine management equipment here can be the two
ID。
It is illustrated in figure 3 the flow diagram of lathe judgment method provided in this embodiment, the present embodiment is passing through lathe
It whether is also that target control object judges to the lathe controlled, specifically when controlling before data control lathe
The following steps are included:
Step 301, the lathe unique identification for obtaining lathe;
Step 302 is based on lathe unique identification, judges whether lathe is target control lathe;If so, thening follow the steps
303, if it is not, thening follow the steps 304;
Step 303 controls lathe by machine tool control data;
Step 304, based on the communication connection with Machine-Tool Control terminal, send error control response to Machine-Tool Control terminal.
Specifically, in practical applications, it may occur that specific machine management equipment is connected on the lathe of mistake, from
And when Machine-Tool Control terminal is directly based upon the identification information of machine management equipment to control the lathe, it will lead to lathe
Performed control event error.Based on this, in order to avoid Machine-Tool Control malfunctions, in machine management equipment to close in the present embodiment
When the lathe at end is controlled, the unique identification of lathe is obtained, and determining that current lathe is target machine based on the unique identification
When bed, the control to lathe is executed, conversely, then error control response is carried out to the Machine-Tool Control terminal of distal end, to indicate distal end
Machine-Tool Control terminal carry out wrong reply.
Optionally, it is based on lathe unique identification, judges that lathe whether be non-targeted control lathe includes: acquisition machine management
The unique identification of equipment itself;Judge whether lathe unique identification and the unique identification of machine management equipment itself match;Wherein,
When it fails to match, lathe is non-targeted control lathe.
Specifically, in practical applications, such as when task performed by each lathe is different in computer room, usually to difference
Lathe is fitted with different machine management equipment, is based on this, unique mark in the present embodiment based on lathe Yu machine management equipment
Know whether match determine the lathe currently controlled whether target lathe.
The Machine-Tool Control method provided according to embodiments of the present invention is received based on the communication connection with Machine-Tool Control terminal
The machine tool control data that Machine-Tool Control terminal sends over;Whether judgement currently meets preset Machine-Tool Control trigger condition;In
It when meeting Machine-Tool Control trigger condition, is connect based on the wire communication with lathe, lathe is controlled by machine tool control data
System.Implementation through the invention, lathe is by the second communication interface wire communication connecting machine tool management equipment, then by lathe control
Terminal processed passes through the communication connection of the first communication interface and machine management equipment, so that all lathes can all be set by machine management
For by Machine-Tool Control terminal remote centralized control, the safety and efficiency of Machine-Tool Control can be effectively improved.
Second embodiment:
In order to preferably be illustrated to technical solution of the present invention, the method in Fig. 4 is provided in this embodiment a kind of thin
The Machine-Tool Control method of change, applied to the machine management equipment with wireless communication interface and wired communication interface, wireless communication
Interface is used to establish wireless communication connection with Machine-Tool Control terminal, and wired communication interface, which is used to establish wire communication with lathe, to be connected
Connect, the Machine-Tool Control method specifically includes the following steps:
Step 401 is connected based on wireless communication, receives the Machine-Tool Control instruction that lathe controlling terminal sends over;Lathe
Control instruction is used to indicate lathe and reads new machine execution file.
Specifically, in the present embodiment machine management equipment through wireless communication, the Machine-Tool Control terminal from distal end
Lathe control instruction is received, Machine-Tool Control instruction is then based on, the lathe of proximal end is controlled by way of wire communication
System.
Step 402, the lathe that lookup is associated with Machine-Tool Control instruction in being locally stored according to Machine-Tool Control instruction are held
Style of writing part, and file is executed as new machine.
Specifically, the machine management equipment of the present embodiment locally can prestore lathe when leaving the factory executes file,
It can be and lathe execution file is sent to machine management equipment and stored by Machine-Tool Control terminal in advance.Due to the present embodiment
In Machine-Tool Control instruction be used to indicate lathe and read new machine and execute file, so that machine management equipment is needed based on the lathe
Control instruction searches corresponding lathe in being locally stored and executes file.
Step 403 is connected based on wire communication, obtains the lathe unique identification of lathe, and by lathe unique identification and certainly
The unique identification of body is compared.
Step 404, when lathe unique identification is matched with the unique identification of itself, determine the lathe be target control machine
Bed.
In the present embodiment, before being controlled based on Machine-Tool Control instruction lathe, it is thus necessary to determine that machine management is set
Whether the standby lathe connected is correct lathe, and the present embodiment is uniquely being marked by the way that the unique identification of the two to be compared
When knowing matching, determine that current connected lathe is target control lathe.
Step 405, based on wire communication connect, instructed by Machine-Tool Control, control lathe to new machine execute file into
Row is read.
Step 406, reception lathe successfully read new machine and execute file reading success response transmitted later, and will reading
Success response is taken to be back to Machine-Tool Control terminal.
In the present embodiment, raw when the instruction of lathe successful execution Machine-Tool Control reads and finishes new machine execution file
At reading success response, and Machine-Tool Control terminal is fed back to by machine management equipment.
The Machine-Tool Control method provided according to embodiments of the present invention receives lathe controlling terminal based on wireless communication connection
The Machine-Tool Control instruction sended over;It is searched in being locally stored according to Machine-Tool Control instruction and is associated with Machine-Tool Control instruction
Lathe executes file;When determining current connected lathe is target control lathe, is connected based on wire communication, pass through lathe
Control instruction, control lathe execute file to new machine and are read out;Reception lathe is successfully read after new machine execution file
Transmitted reading success response, and Machine-Tool Control terminal is back to by success response is read.Implementation through the invention, lathe
By wired communication interface connecting machine tool management equipment, then by Machine-Tool Control terminal based on machine management equipment wirelessly connect
It connects, so that all lathes all can effectively improve lathe by machine management equipment by Machine-Tool Control terminal remote centralized control
The safety and efficiency of control.
3rd embodiment:
In order to solve to control by the way of completely artificial lathe in the related technology, caused Machine-Tool Control
Degree of safety is not high and technical problem that efficiency is lower, present embodiment illustrates a kind of machine control unit, applied to having
The machine management equipment of first communication interface and the second communication interface, the first communication interface are used to establish with Machine-Tool Control terminal logical
Letter connection, the second communication interface are connect for establishing wire communication with lathe, specifically refer to Fig. 5, the lathe control of the present embodiment
Device processed includes:
Receiving module 501, for receiving lathe controlling terminal and sending over based on the communication connection with Machine-Tool Control terminal
Machine tool control data;
Judgment module 502, for judging currently whether meet preset Machine-Tool Control trigger condition;
Control module 503, for being connected based on wire communication, passing through lathe control when meeting Machine-Tool Control trigger condition
Data processed control lathe.
In some embodiments of the present embodiment, receiving module 501 is specifically used for based on logical with Machine-Tool Control terminal
Letter connection receives the Machine-Tool Control instruction that lathe controlling terminal sends over;Or, receiving the machine that lathe controlling terminal sends over
Bed executes file;Or, receiving the Machine-Tool Control instruction that lathe controlling terminal sends over, and it is associated with Machine-Tool Control instruction
Lathe executes file.
In some embodiments of the present embodiment, whether judgment module 502 is specifically used for judging currently to reach preset
The Machine-Tool Control moment, wherein when reaching the Machine-Tool Control moment, meet Machine-Tool Control trigger condition;And/or judgement is currently
For no real-time reception to lathe when being finished historic task, that is fed back is ready to complete response, wherein has prepared receiving
When at response, meet Machine-Tool Control trigger condition;And/or currently whether real-time reception is transmitted across to Machine-Tool Control terminal for judgement
The Machine-Tool Control instruction come, wherein when real-time reception to Machine-Tool Control instructs, meet Machine-Tool Control trigger condition.
Further, in some embodiments of the present embodiment, when machine tool control data is that Machine-Tool Control instructs, control
Molding block 503 is specifically used for that control lathe is instructed to carry out deletion or lathe work ginseng that lathe executes file by Machine-Tool Control
Several uploads or lathe task execution progress reports.Include Machine-Tool Control instruction in machine tool control data, and is associated with machine
When the lathe of bed control instruction executes file, control module 503 is specifically used for instructing by Machine-Tool Control, controls lathe in local
Increase lathe and execute file, or local history lathe is executed into file and is updated to lathe execution file.
In some embodiments of the present embodiment, machine control unit further include: creation module, for first with lathe
It is secondary establish wire communication connection when, create machine management equipment itself unique identification and lathe unique identification mapping close
System, and mapping relations are uploaded to Machine-Tool Control terminal.
In some embodiments of the present embodiment, control module is carrying out lathe by machine tool control data to control it
Before, it is also used to obtain the lathe unique identification of lathe;Based on lathe unique identification, judge whether lathe is target control lathe;
When lathe is target control lathe, lathe is controlled by machine tool control data;In the non-targeted control lathe of lathe,
Based on the communication connection with Machine-Tool Control terminal, error control response is sent to Machine-Tool Control terminal.
Further, in some embodiments of the present embodiment, control module is being based on lathe unique identification, judges machine
When whether bed is non-targeted control lathe, specifically for obtaining the unique identification of machine management equipment itself;Judge that lathe is unique
Whether mark matches with the unique identification of machine management equipment itself, wherein when it fails to match, lathe is non-targeted control machine
Bed.
It should be noted that the Machine-Tool Control method in previous embodiment can be based on Machine-Tool Control provided in this embodiment
Device realizes that those of ordinary skill in the art can be clearly understood that, for convenience and simplicity of description, in the present embodiment
The specific work process of described machine control unit, can refer to corresponding processes in the foregoing method embodiment, herein not
It repeats again.
Lathe is received based on the communication connection with Machine-Tool Control terminal using machine control unit provided in this embodiment
The machine tool control data that controlling terminal sends over;Whether judgement currently meets preset Machine-Tool Control trigger condition;Meeting
It when Machine-Tool Control trigger condition, is connect based on the wire communication with lathe, lathe is controlled by machine tool control data.It is logical
Implementation of the invention is crossed, lathe is by the second communication interface wire communication connecting machine tool management equipment, then by Machine-Tool Control end
End passes through the communication connection of the first communication interface and machine management equipment, so that all lathes can all pass through machine management equipment quilt
Machine-Tool Control terminal remote centralized control can effectively improve the safety and efficiency of Machine-Tool Control.
Fourth embodiment:
A kind of electronic device is present embodiments provided, it is shown in Figure 6 comprising processor 601, memory 602 and logical
Believe bus 603, in which: communication bus 603 is for realizing the connection communication between processor 601 and memory 602;Processor
601 for executing one or more computer program stored in memory 602, to realize the lathe in above-described embodiment one
At least one step in control method.
The present embodiment additionally provides a kind of computer readable storage medium, which, which is included in, is used for
Store any method or skill of information (such as computer readable instructions, data structure, computer program module or other data)
The volatibility implemented in art or non-volatile, removable or non-removable medium.Computer readable storage medium includes but not
It is limited to RAM (Random Access Memory, random access memory), ROM (Read-Only Memory, read-only storage
Device), EEPROM (Electrically Erasable Programmable read only memory, band electric erazable programmable
Read-only memory), flash memory or other memory technologies, (Compact Disc Read-Only Memory, CD is only by CD-ROM
Read memory), digital versatile disc (DVD) or other optical disc storages, magnetic holder, tape, disk storage or other magnetic memory apparatus,
Or any other medium that can be used for storing desired information and can be accessed by a computer.
Computer readable storage medium in the present embodiment can be used for storing one or more computer program, storage
One or more computer program can be executed by processor, with realize the method in above-described embodiment one at least one step
Suddenly.
The present embodiment additionally provides a kind of computer program, which can be distributed in computer-readable medium
On, by can computing device execute, to realize at least one step of the method in above-described embodiment one;And in certain situations
Under, at least one shown or described step can be executed using the described sequence of above-described embodiment is different from.
The present embodiment additionally provides a kind of computer program product, including computer readable device, the computer-readable dress
It sets and is stored with computer program as shown above.The computer readable device may include calculating as shown above in the present embodiment
Machine readable storage medium storing program for executing.
As it can be seen that those skilled in the art should be understood that whole or certain steps in method disclosed hereinabove, be
Functional module/unit in system, device may be implemented as the software (computer program code that can be can be performed with computing device
To realize), firmware, hardware and its combination appropriate.In hardware embodiment, the functional module that refers in the above description/
Division between unit not necessarily corresponds to the division of physical assemblies;For example, a physical assemblies can have multiple functions, or
One function of person or step can be executed by several physical assemblies cooperations.Certain physical assemblies or all physical assemblies can be by realities
It applies as by processor, such as the software that central processing unit, digital signal processor or microprocessor execute, or is implemented as hard
Part, or it is implemented as integrated circuit, such as specific integrated circuit.
In addition, known to a person of ordinary skill in the art be, communication media generally comprises computer-readable instruction, data knot
Other data in the modulated data signal of structure, computer program module or such as carrier wave or other transmission mechanisms etc, and
It and may include any information delivery media.So the present invention is not limited to any specific hardware and softwares to combine.
The above content is combining specific embodiment to be further described to made by the embodiment of the present invention, cannot recognize
Fixed specific implementation of the invention is only limited to these instructions.For those of ordinary skill in the art to which the present invention belongs,
Without departing from the inventive concept of the premise, a number of simple deductions or replacements can also be made, all shall be regarded as belonging to the present invention
Protection scope.
Claims (10)
1. a kind of Machine-Tool Control method, applied to the machine management equipment with the first communication interface and the second communication interface, institute
It states the first communication interface to communicate to connect for establishing with Machine-Tool Control terminal, second communication interface is used to have with lathe foundation
Line communication connection characterized by comprising
Based on the communication connection with the Machine-Tool Control terminal, the Machine-Tool Control number that the Machine-Tool Control terminal sends over is received
According to;
Whether judgement currently meets preset Machine-Tool Control trigger condition;
When meeting the Machine-Tool Control trigger condition, is connected based on the wire communication, pass through the machine tool control data pair
The lathe is controlled.
2. Machine-Tool Control method as described in claim 1, which is characterized in that the reception Machine-Tool Control terminal is transmitted across
Come machine tool control data include:
Receive the Machine-Tool Control instruction that the Machine-Tool Control terminal sends over;
Or, receiving the lathe that the Machine-Tool Control terminal sends over executes file;
Or, receiving the Machine-Tool Control instruction that the Machine-Tool Control terminal sends over, and it is associated with the Machine-Tool Control instruction
Lathe execute file.
3. Machine-Tool Control method as described in claim 1, which is characterized in that whether the judgement currently meets preset lathe
Control trigger condition comprises at least one of the following:
Whether judgement currently reaches the preset Machine-Tool Control moment;Wherein, when reaching the Machine-Tool Control moment, described in satisfaction
Machine-Tool Control trigger condition;
Judgement it is current whether real-time reception to the lathe when being finished historic task, that is fed back is ready to complete response;
Wherein, receive it is described be ready to complete response when, meet the Machine-Tool Control trigger condition;
Judgement is current, and whether real-time reception is instructed to the Machine-Tool Control that the Machine-Tool Control terminal sends over;Wherein, real-time
When receiving Machine-Tool Control instruction, meet the Machine-Tool Control trigger condition.
4. Machine-Tool Control method as claimed in claim 2, which is characterized in that refer in the machine tool control data for Machine-Tool Control
When enabling, it is described by the machine tool control data to the lathe carry out control include:
The upper of the deletion or machine tool operating parameter for controlling the lathe progress lathe execution file is instructed by the Machine-Tool Control
It passes or lathe task execution progress reports;
Include Machine-Tool Control instruction in the machine tool control data, and is associated with the lathe that the Machine-Tool Control instructs and executes text
When part, it is described by the machine tool control data to the lathe carry out control include:
It is instructed by the Machine-Tool Control, controls the lathe and locally increasing the lathe execution file, or local being gone through
History lathe executes file and is updated to the lathe execution file.
5. Machine-Tool Control method as described in claim 1, which is characterized in that further include:
When establishing the wire communication for the first time with the lathe and connecting, the unique identification of the machine management equipment itself is created
With the mapping relations of the unique identification of the lathe, and the mapping relations are uploaded to the Machine-Tool Control terminal.
6. the Machine-Tool Control method as described in any one of claim 1 to 5, which is characterized in that pass through the machine described
Before bed control data control the lathe, further includes:
Obtain the lathe unique identification of the lathe;
Based on the lathe unique identification, judge whether the lathe is target control lathe;
When the lathe is target control lathe, execution is described to control the lathe by the machine tool control data
The step of;
In the non-targeted control lathe of the lathe, based on the communication connection with the Machine-Tool Control terminal, Xiang Suoshu lathe control
Terminal processed sends error control response.
7. Machine-Tool Control method as claimed in claim 6, which is characterized in that described to be based on the lathe unique identification, judgement
Whether the lathe is that non-targeted control lathe includes:
Obtain the unique identification of the machine management equipment itself;
Judge whether the lathe unique identification and the unique identification of the machine management equipment itself match;Wherein, it is matching
When failure, the lathe is non-targeted control lathe.
8. a kind of machine control unit, which is characterized in that applied to the lathe with the first communication interface and the second communication interface
Management equipment, first communication interface are used to establish with Machine-Tool Control terminal and communicate to connect, and second communication interface is used for
Wire communication is established with lathe to connect, comprising:
Receiving module, for receiving the Machine-Tool Control terminal and being transmitted across based on the communication connection with the Machine-Tool Control terminal
The machine tool control data come;
Judgment module, for judging currently whether meet preset Machine-Tool Control trigger condition;
Control module, for being connected based on the wire communication, passing through the machine when meeting the Machine-Tool Control trigger condition
Bed control data control the lathe.
9. a kind of electronic device characterized by comprising processor, memory and communication bus;
The communication bus is for realizing the connection communication between the processor and memory;
The processor is for executing one or more program stored in the memory, to realize such as claim 1 to 7
Any one of described in Machine-Tool Control method the step of.
10. a kind of computer readable storage medium, which is characterized in that the computer-readable recording medium storage have one or
Multiple programs, one or more of programs can be executed by one or more processor, to realize such as claim 1 to 7
Any one of described in Machine-Tool Control method the step of.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910644195.6A CN110412955A (en) | 2019-07-17 | 2019-07-17 | A kind of Machine-Tool Control method, apparatus and computer readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910644195.6A CN110412955A (en) | 2019-07-17 | 2019-07-17 | A kind of Machine-Tool Control method, apparatus and computer readable storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110412955A true CN110412955A (en) | 2019-11-05 |
Family
ID=68361754
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910644195.6A Pending CN110412955A (en) | 2019-07-17 | 2019-07-17 | A kind of Machine-Tool Control method, apparatus and computer readable storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110412955A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111144698A (en) * | 2019-12-02 | 2020-05-12 | 上海展湾信息科技有限公司 | Numerical control equipment program management application platform based on public cloud and soft gateway |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2007235559A (en) * | 2006-03-01 | 2007-09-13 | Nec Corp | Remote control system of digital device and server device thereof, and remote control method |
CN101118437A (en) * | 2007-09-03 | 2008-02-06 | 石毅 | New style numerically controlled machine remote condition monitoring and failure diagnosis system realizing method |
CN101334656A (en) * | 2008-07-25 | 2008-12-31 | 华中科技大学 | Numerical control machine processability monitoring system |
JP2015036936A (en) * | 2013-08-15 | 2015-02-23 | ファナック株式会社 | Controller for collecting information about multiple machines or controller and transmitting by electronic mail |
CN106338934A (en) * | 2016-10-24 | 2017-01-18 | 珠海格力节能环保制冷技术研究中心有限公司 | Servo driver remote control method and apparatus |
CN106527353A (en) * | 2016-12-12 | 2017-03-22 | 北京兰光创新科技有限公司 | Remote control method and device for machining of numerical control machines based on multiple protocols |
CN106774179A (en) * | 2017-02-10 | 2017-05-31 | 珠海格力智能装备有限公司 | Network system for controlling numerical control machine tool, upper computer and numerical control machine tool |
-
2019
- 2019-07-17 CN CN201910644195.6A patent/CN110412955A/en active Pending
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2007235559A (en) * | 2006-03-01 | 2007-09-13 | Nec Corp | Remote control system of digital device and server device thereof, and remote control method |
CN101118437A (en) * | 2007-09-03 | 2008-02-06 | 石毅 | New style numerically controlled machine remote condition monitoring and failure diagnosis system realizing method |
CN101334656A (en) * | 2008-07-25 | 2008-12-31 | 华中科技大学 | Numerical control machine processability monitoring system |
JP2015036936A (en) * | 2013-08-15 | 2015-02-23 | ファナック株式会社 | Controller for collecting information about multiple machines or controller and transmitting by electronic mail |
CN106338934A (en) * | 2016-10-24 | 2017-01-18 | 珠海格力节能环保制冷技术研究中心有限公司 | Servo driver remote control method and apparatus |
CN106527353A (en) * | 2016-12-12 | 2017-03-22 | 北京兰光创新科技有限公司 | Remote control method and device for machining of numerical control machines based on multiple protocols |
CN106774179A (en) * | 2017-02-10 | 2017-05-31 | 珠海格力智能装备有限公司 | Network system for controlling numerical control machine tool, upper computer and numerical control machine tool |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111144698A (en) * | 2019-12-02 | 2020-05-12 | 上海展湾信息科技有限公司 | Numerical control equipment program management application platform based on public cloud and soft gateway |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104155972B (en) | Mechanical engineering electronic controller parameter debugging method | |
CN109254789A (en) | The automatically controlled firmware programming method of smart machine, system, smart machine and server | |
CN108153696B (en) | Embedded system serial port module matching method, device, medium and computer equipment | |
CN104916107A (en) | Intelligent household appliance remote control method and device based on mobile terminal | |
CN108427570A (en) | Intelligent household appliance master control program upgrading system and upgrading method | |
CN105100279A (en) | Control method and device for household appliance | |
CN110784906A (en) | Wireless network distribution method and device, storage medium and processor | |
CN105487413A (en) | Main/standby control system and main/standby switching method of urban railway transit | |
CN104205057A (en) | Programmable logic controller, programming tool, and program and parameter editing system | |
CN108551413A (en) | Smart home device binding method, device, gateway device and storage medium | |
CN110412955A (en) | A kind of Machine-Tool Control method, apparatus and computer readable storage medium | |
JP2013219655A (en) | Protocol conversion device and protocol conversion method | |
CN108388441A (en) | Teleprogram update method, system and computer readable storage medium | |
CN111193968A (en) | Verification method, debugging verification host, monitoring host and system of remote signaling information | |
CN112788576B (en) | Equipment offline processing method and system, storage medium and electronic device | |
CN108196529A (en) | Data processing method and its device, data processing system | |
CN106094707A (en) | Method, relevant device and the system of a kind of optical fiber production data acquisition | |
CN109525644A (en) | Method and device for matching machine with position | |
CN104811347A (en) | Software updating method, monitoring module, rectifying module and system | |
JP6310333B2 (en) | Work management system and work management method | |
CN103747034B (en) | A kind of method and device of the state machine state conversion of terminal | |
CN102576222B (en) | For the method for operation site bus interface | |
CN103458030B (en) | welding machine control program upgrading system and upgrading method | |
CN113865171A (en) | Ice making machine | |
CN105446259B (en) | Longitudinal resistance welded pipe sky roll forming adjust automatically and automatic Memory storage system |
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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20191105 |
|
RJ01 | Rejection of invention patent application after publication |