Font Size: a A A

Analysis And Development Of Code Compiler For Open CNC System Based Motion Controller Card

Posted on:2010-02-09Degree:MasterType:Thesis
Country:ChinaCandidate:X M XuFull Text:PDF
GTID:2121360302459829Subject:Mechanical and electrical engineering
Abstract/Summary:PDF Full Text Request
According to the compiler's requirement from the open CNC system based on motion controller , an in-depth study to NC code compiler is maked , a NC code compiler applicable to open CNC system is developped , and compile function is realized . Relatively complete Lexical analysis rule and Syntax analysis rule were established aiming at NC code's characteristics , the corresponding examination functions are compiled . Input-Output data structures appliable to the requirement of open CNC system's NC code compiler are established and it satisfies the requirement of functions examination . A method based on logic position operation to complete syntax analysis is presented aiming at the code compiler open CNC system PC-based , By adopting this method ,it provides the convenience to syntax analysis and subsequent extending characters and code examination rules library . Combining NC keywords table, it enhances the scalability and generality of NC code compiler .Baseed on the in-depth study to characteristics of deep hole machining canned cycle , an attempt has been carried out in changing the size of drilling depth according to arithmetical progression or geometric progression growth . the format and rule of deep hole machining canned cycle G75,G76 was definited , Its rule means drilling depth decreases in the law of arithmetic progression to minimum drilling depth with the increasing of depth of holing . The cycle makes a good consideration to chip removal and machining efficiency , and it can effectively improve tool's life . the method to compile canned cycle G75,G76 is papered .Advantage of cubic spline is analyzed . the format of cubic spline interpolation was definited , according to the parameter to confirm cubic spline . Concrete compiling process is detailed descripted according to the uncertainty of coordinates point number .To validate the capability of NC code compiler , the tests of interger funtion,canned cycle and cubic spline interpolation are conducted . Test result indicates that the NC code compiler has reliable performance , and it meets the requirements .
Keywords/Search Tags:motion controller card, NC code compiler, changeable drilling depth, deep hole machining canned cycle, cubic spline interpolation
PDF Full Text Request
Related items