Design and Implementation of Device-Independent Programming for Control Unit
Peifeng Zeng · 2010
A device independent programming method is proposed. Communication protocol definitions and device port addresses are stored in control units as text files. A standard communication interface is established by means of the working space and the command interpreter. The physical and logical addresses for devices in communication are associated by means of XML mapping. Therefore,the changes of peripheral communication protocol and port address have no effect on application software. Moreover,the communication command conversion and data communication are implemented device independence.