Font Size: a A A

The Design And Implementation Of Scalable Character Command Programming Based On LT CNC

Posted on:2013-03-07Degree:MasterType:Thesis
Country:ChinaCandidate:J Y LiFull Text:PDF
GTID:2231330362465161Subject:Computer Science and Technology
Abstract/Summary:PDF Full Text Request
Character command programing is an important part of the CNC interpreter, whichis a programming mode using the mnemonic code to realize the file management,graphics management and interprocess communication. The purpose of the introductionof the character command programming is to simplify the complexity of the interaction,to enhance human-computer interaction, and to expanded CNC programmingmechanism.This characters command programing in this paper is able to implement scalabilitythrough a configuration file, by the way of costuming the sequence of syntax elements,realizing the interpretation of the character command with little or no modify the lexicaland syntax analysis of source code. The following is included in this paper:Firstly, This paper designed the programming rules of the characters commandprograming. In order to make users use it esaily, programming rules are designedsimilarly to shell commands. In order to make the programming mechanismconfigurablely,the paper designed the configuration files and parsing sequence.Secondly, the overall structure of the characters in the command programing wasdesigned and carried out in this paper, in accordance with the running order of theinterpreter it is divided into five major modules: the parser module, the syntax analysismodule, command module and the external interface module. This paper proposed andsolved the problems encountered in implementing these modules, parameter storage,low coupling, and the parser can be configured. The key technologies of each modulethrough the program algorithms, flow charts, and some source code to be displayed.Finally, the paper verifies the correctness and fault tolerance of the charactercommand programing, and gives the methods and steps to use the character of thecommand programing.
Keywords/Search Tags:Lantian CNC, Interpreter, Character command programming, Configurability, Syntax element
PDF Full Text Request
Related items