Font Size: a A A

The Design Of Movement Control Language Based On Movement Controller

Posted on:2008-03-23Degree:MasterType:Thesis
Country:ChinaCandidate:L L XiaFull Text:PDF
GTID:2178360212992997Subject:Software engineering
Abstract/Summary:PDF Full Text Request
Movement controller develops in the foundation of the high performance,high-speed microprocessor and the large-scale programmable logic device which takes DSP(Digital Signal Processor) as the representative .Movement controller makes many industrial production equipments thrive strongly by its special flexibility and excellent movement track control ability.Generally speaking,movement control language composes of movement track control, position control, PLC logic control, mathematics operation and other functions. Control language generally adopts definited deluxe language or G code, they are different in different factorys, there is no unified form.The G code grammars of different factorys are diffrent too.The deluxe movement control language usually adopt the form which is similar to C language, Basic language or Pascal language, and some factory also has its own particular deluxe language.This text starts the research aiming at designing and realizing the open form of movement controller language,and then design and carry out a kind of deluxe movement control language LM which has a basic movement control function.This language has logic control and movement control function, solves the problem that traditional movement control language hasn't logic control function and PLC language hasn't movement control function, so it carries out the combining of both effectively and increases the efficiency of compiling movement control procedure.This language's running environment is composed of machine complier and down-position machine movement control interpreter .The up-position machine through four steps including lexical analysis, syntax analysis, semantic analysis and target code generating , it compiles language in advance,and outputs error information in the list text file, then finally generates target codes in format of *.ef . The target codes are downloaded to down-position machine movement control interpreter through network or serial interface, then are interpretered and performed, movement control function is thus carried out.Movement control interpreter of the down-position machine adopt national defense science and technology university of MC400-GP movement controller, it is designed based to PCI total line, four stalk movement and adopts an bran-new double RAM and ISP, DSP technique, the operating system adopts the real time embedded uC/OS-II operating system.The interpreter can adopt DSP of the integrated development environment CCS which adopts C code language and assemble language to compile and then would be downloaded into movement control controller.From many experiments, the results proves that the running efficiency has raised 2-3 times compared to traditional movement control language. LM language adopt the form of similar C code, its structure is simple, its syntax is explicit and no longer difficult to understand, so it is easy to customer studying, comprehension, and the efficiency of coding is thus raised greatly. The research of this kind of language, is an important aspect of studying the open type movement controller. It is significant to realize easy coding and easy transplating for cotrolling program and opening for movement controller.
Keywords/Search Tags:Movement controller, Movement control language, LM(Logic& Motion), Complier
PDF Full Text Request
Related items