Universal numerical control code analysis method

An analysis method and NC code technology, applied in the general control system, digital control, program control, etc., can solve the problems of not providing a customized interface for the NC system, lack of versatility, and lack of research on NC subroutine processing

Inactive Publication Date: 2008-06-25
NANJING UNIV OF SCI & TECH
View PDF1 Cites 31 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

But this device does not have versatility (patent application number 96180191.3, publication number CN1214001A)
[0005] Xiao Tianyuan and others proposed a general NC code analysis method (Xiao Tianyuan, Han Xiangli, Wang Xinlong. General NC code translation technology. Journal of System Simulation, 1998, 10(5)

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
  • Universal numerical control code analysis method
  • Universal numerical control code analysis method
  • Universal numerical control code analysis method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0059] The present invention will be described in further detail below in conjunction with the accompanying drawings.

[0060] (1) A general NC code analysis method, such as figure 1 As shown, perform the following steps in sequence:

[0061] The first step is to query the rule database; the rule database is used to store the programming rules of the CNC system, which includes machine tool information table, NC rule table, self-defined data type table, subroutine rule table, undefined character table, G code table, M code table and program number rule table; if there is no specific CNC system model to be processed in the machine tool information table, the CNC system customization is performed, and the CNC system customization provides a step so that the user can add the programming rules of the specific CNC system in the rule database , expand the function of the present invention;

[0062] The second step is to import the NC code; read the NC code from the disk file into t...

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 general numerical control code analytic method. The invention relates to an error detection and analytic method for NC codes and provides a customized means which is used for extending functions of a parser on the basis of the method. The invention analyzes morphology and grammar of the NC codes on the basis of a rule database; if errors exist, the parser can output an error report and indicate error types and positions; a user modifies the NC codes and then detects errors, and the process is repeated until no error exists in the codes; the NC codes are analyzed by adoption of a time slice discrete method, and tool position files are generated and used for driving virtual manufacturing processes; as for numerical control systems which are not supported by a system, the user arranges rules of a novel system in the rule database by three steps through a customized interface. The invention has commonality and openness, and can widen application fields of virtual processing systems and processing simulation softwares and then strengthens competitive power of enterprises in the market.

Description

a technical field [0001] The invention relates to the lexical, grammatical error detection and analysis method of numerical control (that is, NC) code, and provides customization means to make the parser based on the method expandable. Two background technology [0002] Virtual processing and processing simulation systems are more and more widely used in enterprises because they can avoid or reduce the "trial cutting" link in actual production. Virtual machining / machining simulation is the essential mapping of the actual machining process in the computer, and its process should also be controlled by the actual NC code. Therefore, NC code analysis is a core technology of this type of system. [0003] Whether it is manual programming or computer automatic programming, NC codes may have lexical errors, grammatical errors and logic errors. The NC code parser should be able to check the correctness of the code, and report the location and type of the error to the user. On this...

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
IPC IPC(8): G05B19/18G05B19/4155
Inventor 张友良徐建国汪惠芬刘婷婷刘佳
Owner NANJING UNIV OF SCI & 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