基于Boot Loader技术的嵌入式软PLC运行系统研究

Research of Embedded Soft PLC Operation System Based on Boot Loader Technology

  • 摘要: 根据在单片机上利用Boot Loader引导加载程序可以实现用户对PLC梯形图在线自编程更新的原理,介绍了一种基于PLC应用的ATmega128的Boot Loader程序的设计。该程序采用仿三菱通信协议将PLC梯形图目标代码通过RS232接口更新写入到单片机的FLASH中。实验表明,将Boot Loader应用于PLC实现梯形图的下载更新,使PLC应用软件设计更具灵活性,同时提高了开发效率。

     

    Abstract: According to principle that writing a Boot Loader program in single-chip microcomputer can realize on-line self-programming updating of ladder diagram of PLC by user, the paper introduced a design of Boot Loader program of ATmega128 based on PLC application. The program writes object code of ladder diagram of PLC into FLASH of single-chip microcomputer through RS232 interface with imitating mitsubishi communication protocol. The experiment showed that it makes design of PLC application software be more flexible and improves development efficiency that applying Boot Loader in PLC to realize downloading and updating of ladder diagram.

     

/

返回文章
返回