CN106325214A - Automatic coding method for numerical control lathe - Google Patents
Automatic coding method for numerical control lathe Download PDFInfo
- Publication number
- CN106325214A CN106325214A CN201510374620.6A CN201510374620A CN106325214A CN 106325214 A CN106325214 A CN 106325214A CN 201510374620 A CN201510374620 A CN 201510374620A CN 106325214 A CN106325214 A CN 106325214A
- Authority
- CN
- China
- Prior art keywords
- scheme
- basic
- coding
- localized approach
- processing
- 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
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/18—Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of programme data in numerical form
- G05B19/4093—Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of programme data in numerical form characterised by part programming, e.g. entry of geometrical information as taken from a technical drawing, combining this with machining and material information to obtain control information, named part programme, for the NC machine
Landscapes
- Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Geometry (AREA)
- Human Computer Interaction (AREA)
- Manufacturing & Machinery (AREA)
- General Physics & Mathematics (AREA)
- Automation & Control Theory (AREA)
- Numerical Control (AREA)
Abstract
The invention provides an automatic coding method for a numerical control lathe. The method comprises the following steps of reading image data, decomposing a processing scheme, traversing local schemes, traversing basic schemes, carrying out analog simulation, carrying out local verification, caching the local schemes, carrying out complete verification, combining the local schemes, carrying out complete simulation, carrying out complete verification, carrying out operation instruction conversion, and outputting an instruction. Through decomposition, traversing and simulation mode, automatic coding can be realized, and the manual cost, the time cost and related risks for an enterprise on the aspect of numerical control lathe programming can be greatly reduced.
Description
Technical field
The present invention relates to a kind of numerically controlled lathe auto-coding method, belong to.
Background technology
In prior art, programming of NC-Lathe need professional after obtaining workpiece size, young
Then thin research every bit size sets processing scheme, then encodes, and during this,
The professional degree of operator is extremely important, and the people higher due to this process necessary specialty degree comes
Operating, the cost of labor of enterprise is the highest, and for complex structure, coding
The longest, operation easier is high, as easy as rolling off a log makes mistakes, operator checked after having encoded time
Wait difficulty also very big, thus also bring along the highest time cost and relevant risk.
Summary of the invention
For solving above-mentioned technical problem, the invention provides a kind of numerically controlled lathe auto-coding side
Method, this numerically controlled lathe auto-coding method, can be real by the way of decomposing, travel through, simulating
Existing auto-coding, such that it is able to reduce artificial in terms of programming of NC-Lathe of enterprise greatly
Cost, time cost and relevant risk.
The present invention is achieved by the following technical programs.
A kind of numerically controlled lathe auto-coding method that the present invention provides, comprises the steps:
1. view data is read: from the image identification system of numerically controlled lathe, read workpiece to be processed
Digital image data;
2. processing scheme is decomposed: according to the characteristic point of view data, be decomposed into by processing scheme many
The localized approach of individual partial operation operation;
3. localized approach is traveled through: travel through decomposing the multiple localized approach obtained, until connecing
Receive the signal traveled through;
4. basic scheme is traveled through: for each localized approach, travel through possible basic process operation
Basic scheme;
5. analogue simulation: the view data that the basic scheme traversed combines processing workpiece is carried out
Analogue simulation;
6. checking partial: the simulation results operated basic scheme in localized approach is carried out
Checking, verifies feasible, carries out step 7., verify infeasible, be back to 4. to continue traversal until
Traversal terminates;
7. localized approach is cached: the feasible basic scheme that will receive caches the office for empirical tests
Portion's scheme;
8. integrity authentication: the most all localized approach of contrast verification are all buffered the office into empirical tests
9. portion's scheme, the most then carry out step, 3. continues traversal until traversal terminates as otherwise returned;
9. localized approach is combined: by the localized approach of the step 7. empirical tests of middle caching, according to step
The rapid 2. middle mode decomposed is reversed combination;
10. full simulation: the view data that the scheme of combination combines processing workpiece carries out entirety and adds
Work analogue simulation;
Integrity authentication: the most feasible to the result verification of overall processing analogue simulation, feasible then
Enter step, infeasible, it is back to the most again decompose;
Conversion operational order: combination is completed and the processing scheme coding of empirical tests, be converted to
The digital control system discernible operational order collection of numerical control Xichuan;
Output order: the operational order collection converted is exported the numerical control system to numerically controlled lathe
System performs.
In described stepAnd stepBetween also carry out resolve basic coding,
Resolve basic coding: carry out function call and unpack, combination completed and the processing of empirical tests
The single instruction of complex operations in scheme code, resolves to most basic operation coding.
Described step 2. in, each view data is divided into solution number of times be up to 10 times, as exceeded
10 times still by stepReturn mistake, then log off and show miscue.
The beneficial effects of the present invention is: 1. by the way of decomposing, travel through, simulating, can be real
Existing auto-coding, such that it is able to reduce artificial in terms of programming of NC-Lathe of enterprise greatly
Cost, time cost and relevant risk;2. by the way of computer automation, datumization,
Can effectively ensure that enterprise can constantly accumulate during life-time service, thus amassing with data base
For many generations for the knowledge accumulation of people, the treasure of its long term accumulation can also back up easily,
Sharing, shift, the development for technology provides more structurally sound basis;3. can directly outer add to now
Having in the digital control system of the numerically controlled lathe in technology, enterprise also can be fine without changing complete equipment
Used, enterprise acceptance level is high, and market prospect is good.
Accompanying drawing explanation
Fig. 1 is the schematic flow sheet of the present invention.
Detailed description of the invention
Technical scheme is described further below, but claimed scope is not limited to
In described.
A kind of numerically controlled lathe auto-coding method as shown in Figure 1, comprises the steps:
1. view data is read: from the image identification system of numerically controlled lathe, read workpiece to be processed
Digital image data;
2. processing scheme is decomposed: according to the characteristic point of view data, be decomposed into by processing scheme many
The localized approach of individual partial operation operation;
3. localized approach is traveled through: travel through decomposing the multiple localized approach obtained, until connecing
Receive the signal traveled through;
4. basic scheme is traveled through: for each localized approach, travel through possible basic process operation
Basic scheme;
5. analogue simulation: the view data that the basic scheme traversed combines processing workpiece is carried out
Analogue simulation;
6. checking partial: the simulation results operated basic scheme in localized approach is carried out
Checking, verifies feasible, carries out step 7., verify infeasible, be back to 4. to continue traversal until
Traversal terminates;
7. localized approach is cached: the feasible basic scheme that will receive caches the office for empirical tests
Portion's scheme;
8. integrity authentication: the most all localized approach of contrast verification are all buffered the office into empirical tests
9. portion's scheme, the most then carry out step, 3. continues traversal until traversal terminates as otherwise returned;
9. localized approach is combined: by the localized approach of the step 7. empirical tests of middle caching, according to step
The rapid 2. middle mode decomposed is reversed combination;
10. full simulation: the view data that the scheme of combination combines processing workpiece carries out entirety and adds
Work analogue simulation;
Integrity authentication: the most feasible to the result verification of overall processing analogue simulation, feasible then
Enter step, infeasible, it is back to the most again decompose;
Conversion operational order: combination is completed and the processing scheme coding of empirical tests, be converted to
The digital control system discernible operational order collection of numerical control Xichuan;
Output order: the operational order collection converted is exported the numerical control system to numerically controlled lathe
System performs.
As the mode of raising system effectiveness, when scheme traversal, analogue simulation, part is the most multiple
The basic coding that miscellaneous but extremely common partial operation step is regarded as supplementing came with a line generation
Code or a simple order realize, and this means that such coding is being converted into digital control system
During discernible coding, need to call and two processes of code conversion through parsing, therefore, right
In in described stepAnd stepBetween also carry out resolve basic coding, resolve basic coding:
Carry out function call to unpack, combination is completed and complex operations in the processing scheme coding of empirical tests
Single instruction, resolve to most basic operation coding.
The escape mechanism of automatization cannot be completed as total system, described step 2. in, to often
One view data be divided into solution number of times be up to 10 times, as more than 10 times still by stepReturn mistake
By mistake, then log off and show miscue.
Claims (3)
1. a numerically controlled lathe auto-coding method, it is characterised in that: comprise the steps:
1. view data is read: from the image identification system of numerically controlled lathe, read workpiece to be processed
Digital image data;
2. processing scheme is decomposed: according to the characteristic point of view data, be decomposed into by processing scheme many
The localized approach of individual partial operation operation;
3. localized approach is traveled through: travel through decomposing the multiple localized approach obtained, until connecing
Receive the signal traveled through;
4. basic scheme is traveled through: for each localized approach, travel through possible basic process operation
Basic scheme;
5. analogue simulation: the view data that the basic scheme traversed combines processing workpiece is carried out
Analogue simulation;
6. checking partial: the simulation results operated basic scheme in localized approach is carried out
Checking, verifies feasible, carries out step 7., verify infeasible, be back to 4. to continue traversal until
Traversal terminates;
7. localized approach is cached: the feasible basic scheme that will receive caches the office for empirical tests
Portion's scheme;
8. integrity authentication: the most all localized approach of contrast verification are all buffered the office into empirical tests
9. portion's scheme, the most then carry out step, 3. continues traversal until traversal terminates as otherwise returned;
9. localized approach is combined: by the localized approach of the step 7. empirical tests of middle caching, according to step
The rapid 2. middle mode decomposed is reversed combination;
10. full simulation: the view data that the scheme of combination combines processing workpiece carries out entirety and adds
Work analogue simulation;
Integrity authentication: the most feasible to the result verification of overall processing analogue simulation, feasible then
Enter stepInfeasible, it is back to the most again decompose;
Conversion operational order: combination is completed and the processing scheme coding of empirical tests, be converted to
The digital control system discernible operational order collection of numerical control Xichuan;
Output order: the operational order collection converted is exported the numerical control system to numerically controlled lathe
System performs.
2. numerically controlled lathe auto-coding method as claimed in claim 1, it is characterised in that:
In described stepAnd stepBetween also carry out resolve basic coding,
Resolve basic coding: carry out function call and unpack, combination completed and the processing of empirical tests
The single instruction of complex operations in scheme code, resolves to most basic operation coding.
3. numerically controlled lathe auto-coding method as claimed in claim 2, it is characterised in that:
Described step 2. in, each view data is divided into solution number of times be up to 10 times, as more than 10
Secondary still by stepReturn mistake, then log off and show miscue.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510374620.6A CN106325214A (en) | 2015-06-30 | 2015-06-30 | Automatic coding method for numerical control lathe |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510374620.6A CN106325214A (en) | 2015-06-30 | 2015-06-30 | Automatic coding method for numerical control lathe |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106325214A true CN106325214A (en) | 2017-01-11 |
Family
ID=57722855
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510374620.6A Pending CN106325214A (en) | 2015-06-30 | 2015-06-30 | Automatic coding method for numerical control lathe |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106325214A (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2004072740A2 (en) * | 2003-02-13 | 2004-08-26 | Renishaw Plc | Method for producing a measurement probe path on a numerically controlled coordinate measuring machine |
CN201134038Y (en) * | 2007-12-27 | 2008-10-15 | 四川普什宁江机床有限公司 | On-line part recognition system based on machine vision |
WO2011131509A1 (en) * | 2010-04-22 | 2011-10-27 | Trumpf Werkzeugmaschinen Gmbh + Co. Kg | Nc program and method for simplified post-production on a machine tool |
CN104331022A (en) * | 2014-10-14 | 2015-02-04 | 福建骏鹏通信科技有限公司 | Industrial robot bending fast programming system |
CN104678898A (en) * | 2013-11-29 | 2015-06-03 | 哈尔滨功成科技创业投资有限公司 | Automatic programming system for movement track of ball slice cutting robot based on CAD (computer-aided design) |
-
2015
- 2015-06-30 CN CN201510374620.6A patent/CN106325214A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2004072740A2 (en) * | 2003-02-13 | 2004-08-26 | Renishaw Plc | Method for producing a measurement probe path on a numerically controlled coordinate measuring machine |
CN201134038Y (en) * | 2007-12-27 | 2008-10-15 | 四川普什宁江机床有限公司 | On-line part recognition system based on machine vision |
WO2011131509A1 (en) * | 2010-04-22 | 2011-10-27 | Trumpf Werkzeugmaschinen Gmbh + Co. Kg | Nc program and method for simplified post-production on a machine tool |
CN104678898A (en) * | 2013-11-29 | 2015-06-03 | 哈尔滨功成科技创业投资有限公司 | Automatic programming system for movement track of ball slice cutting robot based on CAD (computer-aided design) |
CN104331022A (en) * | 2014-10-14 | 2015-02-04 | 福建骏鹏通信科技有限公司 | Industrial robot bending fast programming system |
Non-Patent Citations (1)
Title |
---|
白雪岭: "《数控车床自动编程系统研究》", 《中国优秀硕士学位论文全文数据库 工程科技辑》 * |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104063325A (en) | Automatic generation device and method for test cases of embedded software | |
WO2019170176A3 (en) | System and method for data processing | |
CN109857803B (en) | Data synchronization method, device, equipment, system and computer readable storage medium | |
WO2020057593A1 (en) | Convolution processing method, apparatus, and storage medium of convolutional neural network | |
CN109241330A (en) | The method, apparatus, equipment and medium of key phrase in audio for identification | |
CN105335133A (en) | Method and apparatus for generating business rule model | |
CN109978499B (en) | Quick processing method for multi-station post telemetry data | |
CN106779143A (en) | One kind production scheduling method for optimizing scheduling | |
EP1916666A3 (en) | Method and system for designing a nuclear reactor core for uprated power operations | |
CN109783496B (en) | Excel & VBA-based data collection and processing automation tool and using method | |
CN113780367A (en) | Classification model training and data classification method and device, and electronic equipment | |
CN108804091A (en) | A kind of software code generation method | |
CN111324781A (en) | Data analysis method, device and equipment | |
US20110107315A1 (en) | Abstracting benefit rules from computer code | |
CN106325214A (en) | Automatic coding method for numerical control lathe | |
CN113344218B (en) | Deployment method and device of machine learning model, electronic equipment and storage medium | |
KR101541150B1 (en) | Common cause failure parameter evaluation system and method for nuclear power plant equipment | |
CN118822504A (en) | Intelligent question-answering system and method for mechanical equipment maintenance | |
CN109634215B (en) | Nuclear power plant operation procedure design method based on planar graph coding technology | |
CN103810013B (en) | Programming Auxiliary Processing Unit based on toggle switch array and method | |
Thomas | On the use of cumulative curves and numerical taxonomy | |
CN105094056A (en) | Numerical control milling machine automation coding method | |
CN107133178A (en) | A kind of different-format method for automatically leading in test cases | |
CN114240023A (en) | Flow reconstruction method and system for initiating explosive device production workshop | |
CN105975598A (en) | Event early warning method for obtaining data on the basis of simulation operation way of condition retrieval |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20170111 |