Font Size: a A A

Study And Realization Of Open CNC System Machining Instruction Code Interpreter

Posted on:2007-04-15Degree:MasterType:Thesis
Country:ChinaCandidate:M NaFull Text:PDF
GTID:2121360185450108Subject:Computer application technology
Abstract/Summary:PDF Full Text Request
As representation of productivity of modern machine process, CNC machine tool determines productivity development of a country. Traditional NC technology can not adapt development of CNC technology any more because of much deficiency. So research of CNC system has changed greatly, the opening of CNC system become the focus of mass. The opening CNC system is established on opening architecture and has many predominant advantages. But at present, CNC machine tools are design and develop by a department itself, the opening of CNC machine tool still has many shortages. So it needs to develop a set of powerful CNC system.This paper labors requirement of process code interpreter, and then clarifies architecture of it. Then it illustrates sub-module of interpreter and demonstrate communication and synchronization mechanism among modules.Then the paper demonstrates realization of process code interpreter. It begins with analyzing common CNC code format and then expresses its grammar with EBNF, so continuous research of coding module is established on compiler principle. The whole interpreter process composes of two parts: coding parts and executing parts. The coding process accomplishes accidence analysis, syntax analysis, and semantic analysis and transitional codes are generated on it. Executing process read transitional codes and generate corresponding motion track.At last the paper lucubrate executing module of interpreter and illustrate interpolation realization of motion control card and driver exploitation of motion control chip MCX314 is discussed on it.In the paper CNC interpreter grammar is stored in the database and code structure checking process is finished by searching database. The source code of interpreter does not need to be changed when grammar in the database is changed. It improves the opening of CNC system greatly.
Keywords/Search Tags:Numerical Control, CNC process instruction code interpreter, MCX314, Linux driver exploitation
PDF Full Text Request
Related items