CN103048952A - Verification method, device and system of machine tool machining codes - Google Patents

Verification method, device and system of machine tool machining codes Download PDF

Info

Publication number
CN103048952A
CN103048952A CN2013100235587A CN201310023558A CN103048952A CN 103048952 A CN103048952 A CN 103048952A CN 2013100235587 A CN2013100235587 A CN 2013100235587A CN 201310023558 A CN201310023558 A CN 201310023558A CN 103048952 A CN103048952 A CN 103048952A
Authority
CN
China
Prior art keywords
operation data
data
virtual machine
machine
machining code
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.)
Granted
Application number
CN2013100235587A
Other languages
Chinese (zh)
Other versions
CN103048952B (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.)
Caxa Technology Co Ltd
Original Assignee
Caxa Technology 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 Caxa Technology Co Ltd filed Critical Caxa Technology Co Ltd
Priority to CN201310023558.7A priority Critical patent/CN103048952B/en
Publication of CN103048952A publication Critical patent/CN103048952A/en
Application granted granted Critical
Publication of CN103048952B publication Critical patent/CN103048952B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Numerical Control (AREA)

Abstract

The invention discloses a verification method, device and system of machine tool machining codes. The method comprises the following steps that: a numerical control system receives the machining codes; the numerical control system uses the machining codes to obtain control instructions; a simulation system uses the control instructions to drive a virtual machine tool to carry out workpiece machining operation, wherein the virtual machine tool is a previously simulated machine tool model; the simulation system acquires machine tool operation data generated in the workpiece machining operation process of the virtual machine tool; the simulation system judges whether the machine tool operation data are accordant with preset operation data, wherein the preset operation data are prestored operation data, corresponding to the machining codes, of the machine tool; and the simulation system confirms that the machining codes are qualified in verification under the condition that the machine tool operation data are accordant with the preset operation data. The effect of accurately analyzing the machining codes so as to accurately verify the machining codes is achieved.

Description

The verification method of machine tooling code, Apparatus and system
Technical field
The present invention relates to machine tool field, in particular to a kind of verification method, Apparatus and system of machine tooling code.
Background technology
In the engineering in modern times is used, CNC processing technology is used more and more extensive, in order to cultivate the CNC processing technology talent, need to buy a large amount of equipment, the Installation and Debugging of cost long time, particularly the numerical control machine tool of five axles is expensive, not all training organization can purchase to be afforded, in addition, after having bought corresponding equipment run time, also needing has high equipment maintenance cost.In actual NC Machining Process, correctness for the verification numerical control code, need to carry out repeatedly trial cut and can finish predetermined processing tasks until confirm numerical control code, simultaneously digital control processing parameter also needs repeatedly to debug, these operate not only inefficiency, take machine resources, and might cause the problem such as cutter collision or interference and economic loss.
In order to address the above problem, provide following two kinds of emulation modes in the prior art: (1) use CAM software with copying carry out the checking of machining code.The cutter spacing information-driven Virtual Machine operation that the CAM software application receives can be carried out the interference and collision inspection, and this kind method is based on the simulating, verifying of track.Yet in the processing of reality, what lathe received is machining code, and the CAM software emulation is Path, after getting access to Path, this software needs Path is converted into machining code, if out of joint in the follow-up link that Path is converted into machining code, add at lathe and will go wrong man-hour, not thorough to the checking of machining code like this.(2) use special Numerical Control Simulation software, this software is based on the simulating, verifying of machining code, although it is based on the emulation of machining code, it can be resolved the machining code that gets access to, software can be done simplification to the operation of the instruction that has in the process of resolving, and also is that it can not all go all instructions to resolve fully, the just geometric instructions of obtaining such as it, and can not be optimized instruction or speed command, real so problematic instruction may not check out.
When for the available technology adopting analogue system machining code being verified, owing to can not accurately resolve machining code, thus can't obtain the exactly problem of the result, effective solution is not yet proposed at present.
Summary of the invention
When adopting analogue system that machining code is verified in the correlation technique, owing to can not accurately resolve machining code, thereby can't obtain the exactly problem of the result, effective solution is not yet proposed at present, for this reason, fundamental purpose of the present invention is to provide a kind of verification method, Apparatus and system of machine tooling code, to address the above problem.
To achieve these goals, according to an aspect of the present invention, provide a kind of verification method of machine tooling code, the method comprises: digital control system receives machining code; Digital control system is used the controlled instruction of machining code; Analogue system uses steering order driving Virtual Machine to carry out the workpiece process operation, and wherein, Virtual Machine is the lathe model of simulating in advance; Analogue system gathers the machine operation data that Virtual Machine produces in the process of carrying out the workpiece process operation; Analogue system judge the machine operation data whether with the predetermined registration operation data consistent, wherein, the predetermined registration operation data are the service data of the lathe corresponding with machining code that prestore; Analogue system determines that machining code passes through checking in the situation of machine operation data and predetermined registration operation data consistent.
Further, analogue system judge the machine operation data whether with the predetermined registration operation data consistent after, method also comprises: analogue system is obtained in the machine operation data quantity with inconsistent the first data of predetermined registration operation data in machine operation data and the inconsistent situation of predetermined registration operation data; Analogue system judges that whether the quantity of the first data is more than or equal to first threshold; Analogue system is sent the not warning by verifying of machining code in the situation of quantity more than or equal to first threshold of the first data.
Further, reach in the situation of first threshold in the quantity of analogue system in the first data, send machining code not by after the warning of verifying, method also comprises: analogue system is extracted the first data; Digital control system obtains revised steering order by the first data; Return and carry out the step that analogue system use steering order driving Virtual Machine carries out the workpiece process operation.
Further, digital control system uses the step of the controlled instruction of machining code to comprise: the control system by digital control system is carried out interpolation operation to machining code, to obtain resolution data; The servo-drive system of digital control system drives the servomotor operation of servo-drive system with resolution data, and with the service data of servomotor as steering order.
Further, drive with steering order before Virtual Machine carries out the workpiece process operation in analogue system, method also comprises: analogue system is obtained the second property parameters of the stationary parts of first property parameters of functional unit of Virtual Machine and Virtual Machine; Analogue system is assembled into initial Virtual Machine according to the first property parameters and the second property parameters with functional unit and stationary parts simulation; Analogue system is obtained the operational attribute parameter of the functional unit of initial Virtual Machine; Analogue system uses the operational attribute parameter to upgrade the functional unit lathe model of initial Virtual Machine, to obtain Virtual Machine.
To achieve these goals, according to an aspect of the present invention, provide a kind of demo plant of machine tooling code, this device comprises: the first acquisition module is used for obtaining machining code; The first processing module is used for using the controlled instruction of machining code; The first driver module is used for using steering order to drive Virtual Machine and carries out the workpiece process operation, and wherein, Virtual Machine is the lathe model of simulating in advance; The first acquisition module is used for gathering the machine operation data that Virtual Machine produces in the process of carrying out the workpiece process operation; The first judge module, be used for judging the machine operation data whether with the predetermined registration operation data consistent, wherein, the predetermined registration operation data are the service data of the lathe corresponding with machining code that prestore; The second processing module is used in the situation of machine operation data and predetermined registration operation data consistent, determines that machining code passes through checking.
Further, device also comprises: the second acquisition module, be used in machine operation data and the inconsistent situation of predetermined registration operation data, and obtain in the machine operation data quantity with inconsistent the first data of predetermined registration operation data; The second judge module is used for judging that whether the quantity of the first data is more than or equal to first threshold; The 3rd processing module is used in the situation of quantity more than or equal to first threshold of the first data, determines that machining code is not by checking.
Further, device also comprises: the first extraction module is used for extracting the first data; The manages module everywhere, is used for the first data are resolved, and obtains revised steering order; The 5th processing module is used for returning execution the first driver module.
Further, the first processing module comprises: the first computing module is used for machining code is carried out interpolation operation, to obtain resolution data; The first sub-processing module is used for driving with resolution data the servomotor operation of servo-drive system, and with the service data of servomotor as steering order.
To achieve these goals, according to a further aspect in the invention, provide a kind of verification system of machine tooling code, this system comprises: digital control system is used for receiving machining code, and uses the controlled instruction of machining code; Analogue system, be connected with digital control system, be used for after receiving the steering order of digital control system, use steering order to drive Virtual Machine and carry out the workpiece process operation, and gather the machine operation data that Virtual Machine produces in the process of carrying out the workpiece process operation, then judge the machine operation data whether with the predetermined registration operation data consistent, in the situation of machine operation data and predetermined registration operation data consistent, determine that machining code passes through checking, wherein, Virtual Machine is the lathe model of simulation in advance, and the predetermined registration operation data are the service data of the lathe corresponding with machining code that prestore.
By the present invention, use the controlled instruction of machining code by real digital control system, and use steering order to drive Virtual Machine by analogue system and carry out process operation, then obtain the machine operation data of Virtual Machine, and in the situation of machine operation data and predetermined registration operation data consistent, determine that machining code passes through checking, when having solved the available technology adopting analogue system machining code having been verified, owing to can not accurately resolve machining code, thereby can't obtain the exactly problem of the result, thereby realize resolving exactly the effect that machining code is verified machining code exactly.
Description of drawings
Accompanying drawing described herein is used to provide a further understanding of the present invention, consists of the application's a part, and illustrative examples of the present invention and explanation thereof are used for explaining the present invention, do not consist of improper restriction of the present invention.In the accompanying drawings:
Fig. 1 is the structural representation according to the demo plant of the machine tooling code of the embodiment of the invention;
Fig. 2 is the process flow diagram according to the verification system of the machine tooling code of the embodiment of the invention;
Fig. 3 is the process flow diagram according to the verification method of the machine tooling code of the embodiment of the invention; And
Fig. 4 is the process flow diagram according to the verification method of machine tooling code embodiment illustrated in fig. 3.
Embodiment
Need to prove that in the situation of not conflicting, embodiment and the feature among the embodiment among the application can make up mutually.Describe below with reference to the accompanying drawings and in conjunction with the embodiments the present invention in detail.
Fig. 1 is the structural representation according to the demo plant of the machine tooling code of the embodiment of the invention.As shown in Figure 1, this device comprises: the first acquisition module 10 is used for obtaining machining code; The first processing module 30 is used for using the controlled instruction of machining code; The first driver module 50 is used for using steering order to drive Virtual Machine and carries out the workpiece process operation, and wherein, Virtual Machine is the lathe model of simulating in advance; The first acquisition module 70 is used for gathering the machine operation data that Virtual Machine produces in the process of carrying out the workpiece process operation; The first judge module 90, be used for judging the machine operation data whether with the predetermined registration operation data consistent, wherein, the predetermined registration operation data are the service data of the lathe corresponding with machining code that prestore; The second processing module 110 is used in the situation of machine operation data and predetermined registration operation data consistent, determines that machining code passes through checking.
Adopt the demo plant of machine tooling code of the present invention, use the controlled instruction of machining code by real digital control system, and use steering order to drive Virtual Machine by analogue system and carry out process operation, then obtain the machine operation data of Virtual Machine, and in the situation of machine operation data and predetermined registration operation data consistent, determine that machining code passes through checking, when having solved the available technology adopting analogue system machining code having been verified, owing to can not accurately resolve machining code, thereby can't obtain the exactly problem of the result, thereby realize resolving exactly the effect that machining code is verified machining code exactly.
Wherein, machining code is for being used for the machining code of lathe, particularly, the processing model data that the service data of the lathe corresponding with machining code obtains after comprising the motion trace data of lathe lathe in the process of workpiece being carried out process operation and workpiece being finished process operation are (also namely to the result data of workpiece processing, as, the finished product that processing obtains to blank), then judge the machine operation data whether with the process of predetermined registration operation data consistent, comprise judging whether the machine tool motion track data of lathe in the process operation process be consistent with default machine tool motion track data, also comprise and judge whether the lathe processing result data that processing obtains to workpiece are consistent with default processing model data.
According to the abovementioned embodiments of the present invention, device can also comprise: the second acquisition module, be used in machine operation data and the inconsistent situation of predetermined registration operation data, and obtain in the machine operation data quantity with inconsistent the first data of predetermined registration operation data; The second judge module is used for judging that whether the quantity of the first data is more than or equal to first threshold; The 3rd processing module is used in the situation of quantity more than or equal to first threshold of the first data, determines that machining code is not by checking.
In the above embodiment of the present invention, device can also comprise: the first extraction module is used for extracting the first data; The manages module everywhere, is used for the first data are resolved, and obtains revised steering order; The 5th processing module is used for returning execution the first driver module.
According to the abovementioned embodiments of the present invention, the first processing module 30 can comprise: the first computing module is used for machining code is carried out interpolation operation, to obtain resolution data; The first sub-processing module is used for driving with resolution data the servomotor operation of servo-drive system, and with the service data of servomotor as steering order.
Fig. 2 is that this system comprises as shown in Figure 2 according to the process flow diagram of the verification system of the machine tooling code of the embodiment of the invention: digital control system 1 is used for receiving machining code, and uses the controlled instruction of machining code; Analogue system 3, be connected with digital control system 1, be used for after receiving the steering order of digital control system, use steering order to drive Virtual Machine and carry out the workpiece process operation, and gather the machine operation data that Virtual Machine produces in the process of carrying out the workpiece process operation, then judge the machine operation data whether with the predetermined registration operation data consistent, in the situation of machine operation data and predetermined registration operation data consistent, determine that machining code passes through checking, wherein, Virtual Machine is the lathe model of simulation in advance, and the predetermined registration operation data are the service data of the lathe corresponding with machining code that prestore.
Adopt the verification system of machine tooling code of the present invention, use the controlled instruction of machining code by real digital control system, and use steering order to drive Virtual Machine by analogue system and carry out process operation, then obtain the machine operation data of Virtual Machine, and in the situation of machine operation data and predetermined registration operation data consistent, determine that machining code passes through checking, when having solved the available technology adopting analogue system machining code having been verified, owing to can not accurately resolve machining code, thereby can't obtain the exactly problem of the result, thereby realize resolving exactly the effect that machining code is verified machining code exactly.
Fig. 3 is the process flow diagram according to the verification method of the machine tooling code of the embodiment of the invention, and Fig. 4 is the process flow diagram according to the verification method of machine tooling code embodiment illustrated in fig. 3.
As shown in Figure 3 and Figure 4, the method comprises the steps:
Step S102, digital control system receives machining code.
Step S104, digital control system is used the controlled instruction of machining code.
Step S106, analogue system uses steering order driving Virtual Machine to carry out the workpiece process operation, and wherein, Virtual Machine is the lathe model of simulating in advance.
Step S108, analogue system gathers the machine operation data that Virtual Machine produces in the process of carrying out the workpiece process operation.
Step S110, analogue system judge the machine operation data whether with the predetermined registration operation data consistent, wherein, the predetermined registration operation data are the service data of the lathe corresponding with machining code that prestore.
Step S112, analogue system determines that machining code passes through checking in the situation of machine operation data and predetermined registration operation data consistent.
Adopt the verification method of machine tooling code of the present invention, use the controlled instruction of machining code by real digital control system, and use steering order to drive Virtual Machine by analogue system and carry out process operation, then obtain the machine operation data of Virtual Machine, and in the situation of machine operation data and predetermined registration operation data consistent, determine that machining code passes through checking, when having solved the available technology adopting analogue system machining code having been verified, owing to can not accurately resolve machining code, thereby can't obtain the exactly problem of the result, thereby realize resolving exactly the effect that machining code is verified machining code exactly.
In the above-described embodiments, verification method by machining code can saving resource and is avoided risk, and operation that can Virtual Machine simulated machine tool process comes rapidly the machine operation personnel to be giveed training, also can help lathe manufacturer to its product of potential remote client demonstration true to nature, thereby can shorten the construction cycle of product, reduce production costs, improve product quality and production efficiency.Method in above-described embodiment is that operation result take real digital control system is as results-driven, drive virtual lathe by analogue system, process the cutting checking, because lathe is virtual, itself does not have loss, therefore be not afraid of damaged in collision, just in time can simulate the process operation to workpiece of numerically-controlled machine process, and can provide huge convenience for the debugging in long-distance user's demonstration true to nature and lathe manufacturing early stage at the design period of new machine by the present invention, improved lathe production efficiency.
In the above embodiment of the present invention, analogue system judge the machine operation data whether with the predetermined registration operation data consistent after, method can also comprise: analogue system is obtained in the machine operation data quantity with inconsistent the first data of predetermined registration operation data in machine operation data and the inconsistent situation of predetermined registration operation data; Analogue system judges that whether the quantity of the first data is more than or equal to first threshold; Analogue system is sent the not warning by verifying of machining code in the situation of quantity more than or equal to first threshold of the first data.
According to the abovementioned embodiments of the present invention, reach in the situation of first threshold in the quantity of analogue system in the first data, send machining code not by after the warning of verifying, method can also comprise: analogue system is extracted the first data; Digital control system obtains revised steering order by the first data; Return and carry out the step that analogue system use steering order driving Virtual Machine carries out the workpiece process operation.
Particularly; in the Virtual Machine motion process; comprise with the inconsistent data of predetermined registration operation data: the information datas such as collision, interference; when the problems such as the interference that bumps; generate the first data, the first data feedback that analogue system will generate is to digital control system, and digital control system receives after the first data; can make correction to steering order, shut down or other counter-measure so that Virtual Machine can be made.
In the above embodiment of the present invention, digital control system uses the step of the controlled instruction of machining code to comprise: the control system by digital control system is carried out interpolation operation to machining code, to obtain resolution data; The servo-drive system of digital control system drives the servomotor operation of servo-drive system with resolution data, and with the service data of servomotor as steering order.
Particularly, digital control system can comprise control system and servo-drive system.As shown in Figure 4, execution in step S214 at first: receive machining code.
Then execution in step S216: by the controlled instruction of machining code.
Particularly, control system by digital control system is carried out interpolation operation to machining code, send control signal to the servo drive system of servo-drive system, servo drive system amplifies control signal, the servomotor that the control signal of then use amplifying drives servo-drive system moves on request, and the motor message (also being the service data of servomotor) that will collect servomotor is as steering order.
Step S208: drive Virtual Machine by analogue system.Particularly, steering order is issued the Virtual Machine in the analogue system of computing machine, just can be used steering order to drive the Virtual Machine motion by analogue system.
Step S212: Virtual Machine carries out process operation.Particularly, Virtual Machine carries out process operation generation machine operation data.
Step S218: gather the lathe service data.Particularly, analogue system with the machine operation data feedback that collects to digital control system.
In addition, digital control system can also comprise measuring system, for detection of movement position or the speed of servomotor, and feed back to control system, so that the control system Correction and Control signal of digital control system, three parts of digital control system organically combine, and form the digital control system of complete closed-loop control.
According to the abovementioned embodiments of the present invention, drive with steering order before Virtual Machine carries out the workpiece process operation in analogue system, method can comprise: analogue system is obtained the second property parameters of the stationary parts of first property parameters of functional unit of Virtual Machine and Virtual Machine; Analogue system is assembled into initial Virtual Machine according to the first property parameters and the second property parameters with functional unit and stationary parts simulation; Analogue system is obtained the operational attribute parameter of the functional unit of initial Virtual Machine; Analogue system uses the operational attribute parameter to upgrade the functional unit lathe model of initial Virtual Machine, to obtain Virtual Machine.
Particularly, can be by execution in step S202 to step S206: obtain the parts attribute of Virtual Machine, particularly, Virtual Machine both can be the model of setting up with reference to actual lathe 1:1 ratio, also can be the type that does not have in the actual lathe, or the product type in the design.Lathe in Virtual Machine and the reality is similar, also is to be formed by each different component assemble, and according to the component movement of Virtual Machine whether, these parts can be divided into moving component and stationary parts, and moving component refers to the driving carrier of each kinematic axis; Stationary parts refers to actionless parts in the machine cut motion process, such as the parts of lathe bed class.Then, each parts can create in design class software (such as CAD software): for stationary parts, since not demand motive it, therefore need not to specify its basic point, only need to keep its position relationship in whole lathe assembling to get final product, and for moving component, because its motion of demand motive, therefore must specify its basic point and direction of motion, the motion here namely comprises the motion of linear axes, such as XYZ axle or arbitrarily straight line direction motion, also comprise rotatablely moving, as rotating around an axle.
Step S204: assembling Virtual Machine.Particularly, in design class software (such as CAD), create after the parts of Virtual Machine, in design class software, finish assembling, after lathe assembled, utilize the export function of CAD software, can derive all parts of lathe come, other is saved as the file of STL form, and (parts are saved as a stl file, the data of storage are the data under lathe assembling coordinate system), then with these file load in analogue system, thereby obtain initial Virtual Machine.
After obtaining initial Virtual Machine, determine the moving component in the initial Virtual Machine, and give different basic points for each moving component of initial Virtual Machine, direction of motion and maximal value, the soft spacing operational attribute parameter that waits of minimum value, when allowing X-axis move 10mm when us, the parts of X-axis and appurtenances thereof all can move forward along the direction of motion of X-axis the distance of 10mm, wherein, the distance of 10mm refers to it is the distance that positive dirction measures of moving from the basic point of X-axis along X-axis, thereby obtain Virtual Machine, after obtaining Virtual Machine, execution in step S206: whether the verifying virtual machines bed can work, wherein, if so, execution in step S208 then is if cannot work, execution in step S210 then: re-assembly Virtual Machine, until Virtual Machine can work.Particularly, whether we can carry out the simple operations checking to Virtual Machine, can work normally with the Virtual Machine that checking gets access to.
Particularly, we have loaded each parts of Virtual Machine in internal memory, utilize the three-dimensional picture display technique can directly demonstrate all parts, what the user saw like this has been exactly a complete Virtual Machine, three-dimensional picture shows has used ripe OpenGL or DirectX storehouse, can utilize well the hardware-accelerated ability of video card, make demonstration and user operation more smooth, and in analogue system when parts move forward, we can show the parts after moving again, are that component movement has arrived this position In the view of the user like this.
Need to prove, can in the computer system such as one group of computer executable instructions, carry out in the step shown in the process flow diagram of accompanying drawing, and, although there is shown logical order in flow process, but in some cases, can carry out step shown or that describe with the order that is different from herein.
From above description, can find out, the present invention has realized following technique effect: adopt the present invention, use the controlled instruction of machining code by real digital control system, and use steering order to drive Virtual Machine by analogue system and carry out process operation, then obtain the machine operation data of Virtual Machine, and in the situation of machine operation data and predetermined registration operation data consistent, determine that machining code passes through checking, when having solved the available technology adopting analogue system machining code having been verified, owing to can not accurately resolve machining code, thereby can't obtain the exactly problem of the result, thereby realize resolving exactly the effect that machining code is verified machining code exactly.
Obviously, those skilled in the art should be understood that, above-mentioned each module of the present invention or each step can realize with general calculation element, they can concentrate on the single calculation element, perhaps be distributed on the network that a plurality of calculation elements form, alternatively, they can be realized with the executable program code of calculation element, thereby, they can be stored in the memory storage and be carried out by calculation element, perhaps they are made into respectively each integrated circuit modules, perhaps a plurality of modules in them or step are made into the single integrated circuit module and realize.Like this, the present invention is not restricted to any specific hardware and software combination.
The above is the preferred embodiments of the present invention only, is not limited to the present invention, and for a person skilled in the art, the present invention can have various modifications and variations.Within the spirit and principles in the present invention all, any modification of doing, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (10)

1. the verification method of a machine tooling code is characterized in that, comprising:
Digital control system receives machining code;
Described digital control system is used the controlled instruction of described machining code;
Analogue system uses described steering order driving Virtual Machine to carry out the workpiece process operation, and wherein, described Virtual Machine is the lathe model of simulating in advance;
Described analogue system gathers the machine operation data that described Virtual Machine produces in the process of carrying out the workpiece process operation;
Described analogue system judge described machine operation data whether with the predetermined registration operation data consistent, wherein, described predetermined registration operation data are the service data of the lathe corresponding with described machining code that prestore;
Described analogue system determines that described machining code is by checking in the situation of described machine operation data and described predetermined registration operation data consistent.
2. method according to claim 1 is characterized in that, described analogue system judge described machine operation data whether with the predetermined registration operation data consistent after, described method also comprises:
Described analogue system is obtained in the described machine operation data quantity with inconsistent the first data of described predetermined registration operation data in described machine operation data and the inconsistent situation of described predetermined registration operation data;
Described analogue system judges that whether the quantity of described the first data is more than or equal to first threshold;
Described analogue system is sent the not warning by verifying of described machining code in the situation of quantity more than or equal to described first threshold of described the first data.
3. method according to claim 2 is characterized in that, reaches in the situation of described first threshold in the quantity of described analogue system in described the first data, sends described machining code not by after the warning of verifying, described method also comprises:
Described analogue system is extracted described the first data;
Described digital control system obtains revised steering order by described the first data;
Returning the described analogue system of execution uses described steering order to drive the step that Virtual Machine carries out the workpiece process operation.
4. method according to claim 1 is characterized in that, described digital control system uses the step of the controlled instruction of described machining code to comprise:
Control system by described digital control system is carried out interpolation operation to described machining code, to obtain resolution data;
The servo-drive system of described digital control system drives the servomotor operation of described servo-drive system with described resolution data, and with the service data of described servomotor as described steering order.
5. method according to claim 1 is characterized in that, drives with described steering order before Virtual Machine carries out the workpiece process operation in described analogue system, and described method also comprises:
Described analogue system is obtained the second property parameters of the stationary parts of first property parameters of functional unit of described Virtual Machine and described Virtual Machine;
Described analogue system is assembled into initial Virtual Machine according to described the first property parameters and the second property parameters with described functional unit and the simulation of described stationary parts;
Described analogue system is obtained the operational attribute parameter of the functional unit of described initial Virtual Machine;
Described analogue system uses described operational attribute parameter to upgrade the functional unit lathe model of described initial Virtual Machine, to obtain described Virtual Machine.
6. the demo plant of a machine tooling code is characterized in that, comprising:
The first acquisition module is used for obtaining machining code;
The first processing module is used for using the controlled instruction of described machining code;
The first driver module is used for using described steering order to drive Virtual Machine and carries out the workpiece process operation, and wherein, described Virtual Machine is the lathe model of simulating in advance;
The first acquisition module is used for gathering the machine operation data that described Virtual Machine produces in the process of carrying out the workpiece process operation;
The first judge module, be used for judging described machine operation data whether with the predetermined registration operation data consistent, wherein, described predetermined registration operation data are the service data of the lathe corresponding with described machining code that prestore;
The second processing module is used in the situation of described machine operation data and described predetermined registration operation data consistent, determines that described machining code is by checking.
7. device according to claim 6 is characterized in that, described device also comprises:
The second acquisition module is used in described machine operation data and the inconsistent situation of described predetermined registration operation data, obtains in the described machine operation data quantity with inconsistent the first data of described predetermined registration operation data;
The second judge module is used for judging that whether the quantity of described the first data is more than or equal to first threshold;
The 3rd processing module is used in the situation of quantity more than or equal to described first threshold of described the first data, determines that described machining code is not by checking.
8. device according to claim 7 is characterized in that, described device also comprises:
The first extraction module is used for extracting described the first data;
The manages module everywhere, is used for described the first data are resolved, and obtains revised steering order;
The 5th processing module is used for returning described the first driver module of execution.
9. device according to claim 6 is characterized in that, described the first processing module comprises:
The first computing module is used for described machining code is carried out interpolation operation, to obtain resolution data;
The first sub-processing module, the servomotor that is used for driving with described resolution data described servo-drive system operates, and with the service data of described servomotor as described steering order.
10. the verification system of a machine tooling code is characterized in that, comprising:
Digital control system is used for receiving machining code, and uses the controlled instruction of described machining code;
Analogue system, be connected with described digital control system, be used for after receiving the steering order of described digital control system, use described steering order to drive described Virtual Machine and carry out the workpiece process operation, and gather the machine operation data that described Virtual Machine produces in the process of carrying out the workpiece process operation, then judge described machine operation data whether with the predetermined registration operation data consistent, in the situation of described machine operation data and described predetermined registration operation data consistent, determine that described machining code is by checking, wherein, described Virtual Machine is the lathe model of simulation in advance, and described predetermined registration operation data are the service data of the lathe corresponding with described machining code that prestore.
CN201310023558.7A 2013-01-22 2013-01-22 The verification method of machine tooling code, Apparatus and system Active CN103048952B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310023558.7A CN103048952B (en) 2013-01-22 2013-01-22 The verification method of machine tooling code, Apparatus and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310023558.7A CN103048952B (en) 2013-01-22 2013-01-22 The verification method of machine tooling code, Apparatus and system

Publications (2)

Publication Number Publication Date
CN103048952A true CN103048952A (en) 2013-04-17
CN103048952B CN103048952B (en) 2016-04-27

Family

ID=48061631

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310023558.7A Active CN103048952B (en) 2013-01-22 2013-01-22 The verification method of machine tooling code, Apparatus and system

Country Status (1)

Country Link
CN (1) CN103048952B (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105759716A (en) * 2016-02-25 2016-07-13 成都亨通兆业精密机械有限公司 Virtual machine tool processing system
CN107290980A (en) * 2017-07-11 2017-10-24 深圳国泰安教育技术股份有限公司 Method, terminal device and the computer-readable recording medium of machining simulation
CN108027602A (en) * 2015-09-18 2018-05-11 西门子公司 The analogy method of the real controllers of simulation industrial process, facility or machine and the simulation system for performing the analogy method
CN110249275A (en) * 2018-01-10 2019-09-17 三菱电机株式会社 Numerical control device and digital control system
CN110618657A (en) * 2018-06-19 2019-12-27 发那科株式会社 Numerical controller and error input detection method
CN116303105A (en) * 2023-05-23 2023-06-23 中科航迈数控软件(深圳)有限公司 Automatic checking method, device, equipment and medium for control codes of numerical control machine tool

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020133264A1 (en) * 2001-01-26 2002-09-19 New Jersey Institute Of Technology Virtual reality system for creation of design models and generation of numerically controlled machining trajectories
CN1749898A (en) * 2004-09-16 2006-03-22 山崎马扎克公司 Simulation apparatus and method for nc machining
CN101187815A (en) * 2006-11-15 2008-05-28 哈恩和特斯基工件指数有限商业两合公司 Emulation system
CN201196731Y (en) * 2008-05-29 2009-02-18 上海电气集团股份有限公司 Virtual machine and actual electrical simulation system of five-shaft numerical control machine
CN101836169A (en) * 2007-09-14 2010-09-15 哈恩和特斯基工件指数有限商业两合公司 Method and virtual machine tool for representing operations of a real machine tool
CN101968767A (en) * 2010-10-15 2011-02-09 北京数码大方科技有限公司 Macroprogram-based code debugging and simulation method and device
CN102169336A (en) * 2010-02-25 2011-08-31 仁安资讯科技股份有限公司 An aid system and an aid method for computer numerical value control
CN102736553A (en) * 2012-06-20 2012-10-17 武汉华中数控股份有限公司 Method for realizing virtual machine tool model-based cloud terminal numerical control system and virtual machine tool model-based cloud terminal numerical control system

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020133264A1 (en) * 2001-01-26 2002-09-19 New Jersey Institute Of Technology Virtual reality system for creation of design models and generation of numerically controlled machining trajectories
CN1749898A (en) * 2004-09-16 2006-03-22 山崎马扎克公司 Simulation apparatus and method for nc machining
CN101187815A (en) * 2006-11-15 2008-05-28 哈恩和特斯基工件指数有限商业两合公司 Emulation system
CN101836169A (en) * 2007-09-14 2010-09-15 哈恩和特斯基工件指数有限商业两合公司 Method and virtual machine tool for representing operations of a real machine tool
CN201196731Y (en) * 2008-05-29 2009-02-18 上海电气集团股份有限公司 Virtual machine and actual electrical simulation system of five-shaft numerical control machine
CN102169336A (en) * 2010-02-25 2011-08-31 仁安资讯科技股份有限公司 An aid system and an aid method for computer numerical value control
CN101968767A (en) * 2010-10-15 2011-02-09 北京数码大方科技有限公司 Macroprogram-based code debugging and simulation method and device
CN102736553A (en) * 2012-06-20 2012-10-17 武汉华中数控股份有限公司 Method for realizing virtual machine tool model-based cloud terminal numerical control system and virtual machine tool model-based cloud terminal numerical control system

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
白艳 等: "数控车床碰撞检测系统中NC程序检错与纠错模块的开发", 《组合机床与自动化加工技术》 *
骆勇骏等: "基于数控加工工艺验证的仿真方法研究", 《组合机床与自动化加工技术》 *

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108027602A (en) * 2015-09-18 2018-05-11 西门子公司 The analogy method of the real controllers of simulation industrial process, facility or machine and the simulation system for performing the analogy method
US11287802B2 (en) 2015-09-18 2022-03-29 Siemens Aktiengesellschaft Simulation method for simulating a real control for an industrial process, a system, or a machine, and simulation system for carrying out such a simulation method
CN105759716A (en) * 2016-02-25 2016-07-13 成都亨通兆业精密机械有限公司 Virtual machine tool processing system
CN107290980A (en) * 2017-07-11 2017-10-24 深圳国泰安教育技术股份有限公司 Method, terminal device and the computer-readable recording medium of machining simulation
CN110249275A (en) * 2018-01-10 2019-09-17 三菱电机株式会社 Numerical control device and digital control system
CN110618657A (en) * 2018-06-19 2019-12-27 发那科株式会社 Numerical controller and error input detection method
CN116303105A (en) * 2023-05-23 2023-06-23 中科航迈数控软件(深圳)有限公司 Automatic checking method, device, equipment and medium for control codes of numerical control machine tool
CN116303105B (en) * 2023-05-23 2023-08-08 中科航迈数控软件(深圳)有限公司 Automatic checking method, device, equipment and medium for control codes of numerical control machine tool

Also Published As

Publication number Publication date
CN103048952B (en) 2016-04-27

Similar Documents

Publication Publication Date Title
CN103048952B (en) The verification method of machine tooling code, Apparatus and system
CN112487668B (en) Near-physical simulation integrated debugging method and system based on digital twin
EP3002646B1 (en) Virtual design engineering
CN110597162A (en) Virtual debugging system for intelligent manufacturing and processing
Martins et al. Shop floor virtualization and industry 4.0
CN105786483A (en) Welding robot offline programming system based on tablet computer, and offline programming method thereof
CN111797521A (en) Three-dimensional simulation debugging and monitoring method for automatic production line
CN103135446B (en) Motion trail authentication device of multiaxis numerical control machine tool
CN106202767A (en) A kind of real-time collision-proof method of Digit Control Machine Tool
CN101984376A (en) Fault simulation device of numerical control machine
CN105137902A (en) Simulation system
Zivanovic et al. Configuring a mini-laboratory and desktop 3-axis parallel kinematic milling machine
Ugarte et al. Implementation of digital twin-based virtual commissioning in machine tool manufacturing
Shen et al. Digital twin based virtual commissioning for computerized numerical control machine tools
CN113703412A (en) Numerical control machine tool virtual debugging system based on digital twin and system construction method
Zhu et al. A digital twin-based machining motion simulation and visualization monitoring system for milling robot
CN111324045B (en) Production line simulation system and method combining simulation and real objects
CN107942723B (en) Simulation test method based on industrial robot
CN106338966A (en) Novel programming method for trajectory planning of industrial robot
Pürzel et al. Real NC Control unit and virtual machine to improve operator training
CN116300726A (en) Gearbox transmission shaft production line simulation and debugging method based on digital factory
Zhu et al. A web-based virtual CNC turn-milling system
Thapa et al. Auto-generation of IEC standard PLC code using t-MPSG
Danielsson et al. Validation, off-line programming and optimisation of industrial control logic
KR101254575B1 (en) Method and apparatus for extracting simulation model of robot

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant