Method and device for converting universal code based on macroprogram

A general-purpose code and conversion method technology, applied in the field of general-purpose code conversion method and device based on macro programs, can solve the problems of low efficiency when processing codes, and achieve the effects of saving time, avoiding errors, and improving efficiency

Inactive Publication Date: 2011-06-01
CAXA TECH
View PDF0 Cites 7 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The present invention provides a general code conversion method and device based on macro programs to solve the problem of low efficiency in the prior art when converting existing processing codes into processing codes of the type required by the target CNC machine tool

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method and device for converting universal code based on macroprogram
  • Method and device for converting universal code based on macroprogram
  • Method and device for converting universal code based on macroprogram

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0015] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0016] The NC machining code based on the macro program is composed of multiple program segments, each program segment executes a processing step, and a program segment can be composed of several words, the word is the basic element of the program segment, the NC system instructions. With the development of numerical control technology, most numerical control systems can not only handle general preparation functions and auxiliary functions, but also handle mac...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses a method and a device for converting a universal code based on a macroprogram. The method comprises the following steps of: a, reading the current section of the current machining code backward, and converting the current section into internal unified data; b, acquiring a statement tree according to the internal unified data; c, judging whether the backward reading of the current macroprogram machining code is finished or not, if so, executing the step d, otherwise, executing the step a; and d, converting the statement tree into a target machining code according to a control parameter in a configuration file of a target numerical control machine. By the method and the device, code conversion time is saved, efficiency is improved, errors which easily occur in manual code conversion are avoided, and the qualification rate of a product is improved.

Description

technical field [0001] The invention relates to the field of numerical control machine tools, in particular to a general code conversion method and device based on macro programs. Background technique [0002] In order to improve production efficiency, various manufacturing enterprises use a large number of numerical control equipment for product processing. Since these numerical control equipment may not be purchased at one time, the supporting numerical control systems may be different. Basically, the codes of each CNC system are incompatible with each other. If the code processed on one CNC machine tool is changed to another machine tool, it is often necessary to return to the process preparation department, and the CAM (Computer Aided Manage, Computer Aided Management) software will regenerate the code suitable for the machine tool. The reason is that the two CNC machine tools different control systems. Therefore, the preparation time for processing is increased, espe...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): G05B19/4097
Inventor 贾喜存白俊涛高玉凤
Owner CAXA TECH
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products