Font Size: a A A

Designation Of The PLC Interpreter

Posted on:2014-01-02Degree:MasterType:Thesis
Country:ChinaCandidate:X G LiuFull Text:PDF
GTID:2248330398979135Subject:Circuits and Systems
Abstract/Summary:PDF Full Text Request
PLC, has been used widely in Industrial Control、Environmental Monitoring、 Petrochemical Industry、Medical Treatment and Public Health、Consumer Electronics. PLC has rich instruction set,strong efficiency,outstanding performance,it take over huge market share from China to the whole world.We can anticipate that,in the present and future for a long time,PLC will still continue to spread,continue to serve us to improve our living quality.The S08series MCU is a excellent8-bit MCU,which is produced by Freescale Corporation.It can compare MCS-51single chip microcomputer, exceed in stability than MCS-51. Predecessor of Freescale Corporation is Semiconductors department of Motorola Corporation.From2004,Freescale Corporation independent from Motorola Corporation. Now, Freescale Corporation has its own develop department、 manufacturing department%market departments all over the world. The S08series single chip microcomputer has been applied in all kinds of control field taking advantage of higher cost performance.Although PLC application fields is very extensive, but it has a fatal disadvantage:exorbitant prices.In order to lower the price, at the same time,keep the high stability. We can use single chip microcomputer to replace PLC.Because of the complexity of transition, few people complete it. So, a kind of software to coordinate PLC and single chip microcomputer need be produced, we can make use of it to develop application program on The S08series MCU, to fulfill needs of users.This interpreter mainly contains three parts:1) By using FXGPWIN programming software of Mitsubishi Corporation, we can analysis intermediate code produced by adder diagram or instruction list, then resolve it.2) Dealing with intermediate code after analysising, we translate intermediate code into C language format file, in order to control S08MCU. 3) By Using CodeWarrior software of Freescale Corporation, we can compile、 link C language format file, to produce s08format hex file, then use PE writing flash to write file into S08MCU, to control S08MCU.At last, we need to test it, and offer some examples to test and verify PLC interpreter.This paper design a PLC interpreter, which has some advantages,such as small volume、a very fast speed、simple operation、free and open source. It can be used in most industrial control occasions、real-time products.It has huge allure to these products, because it can meet their actual demand.
Keywords/Search Tags:PLC, S08, Freescale, interpreter
PDF Full Text Request
Related items