首页 | 本学科首页   官方微博 | 高级检索  
     

基于CAN的嵌入式PLC和手持编程器通信设计
引用本文:李霞,蔡启仲,陈文辉.基于CAN的嵌入式PLC和手持编程器通信设计[J].计算机工程与设计,2012,33(2):535-539.
作者姓名:李霞  蔡启仲  陈文辉
作者单位:1. 桂林电子科技大学计算机与控制学院,广西桂林,541004
2. 广西工学院电子信息与控制工程系,广西柳州,545006
摘    要:为解决嵌入式PLC和手持编程器的通信问题,分析了嵌入式PLC和手持编程器的通信工作过程,提出了采用LPC2478以及其自带的CAN控制器进行通信节点硬件设计.针对系统通信特点,设计了CAN扩展协议,并重点介绍了CAN扩展协议的格式含义及采用uC/OS-Ⅱ实时操作系统和CAN扩展协议进行系统软件应用程序的设计及编写方法.通过实验结果表明,该设计可以实现手持编程器和嵌入式PLC远程下载、读取、监控等通信功能.

关 键 词:LPC2478  CAN  uC/OS-Ⅱ  CAN协议  手持编程器

Design of embedded PLC and handheld programmer communication based on CAN
LI Xia , CAI Qi-zhong , CHEN Wen-hui.Design of embedded PLC and handheld programmer communication based on CAN[J].Computer Engineering and Design,2012,33(2):535-539.
Authors:LI Xia  CAI Qi-zhong  CHEN Wen-hui
Affiliation:1.School of Computer and Control,Guilin University of Electronic Technology,Guilin 541004,China; 2.Department of Electronic Information and Control Engineering,Gangxi University of Technology,Liuzhou 545006,China)
Abstract:To solve communication problems of embedded PLC and hand-held programmer,communication working process of embedded PLC and hand-held programmer is analyzed,and communication node hardware design by LPC2478 and its own CAN controller is proposed.According to system communication characteristics,a custom CAN expand agreement is designed,and CAN expand agreement format meaning and software application design and program method by uC/OS-II real-time operating system and the custom CAN expand protocol are emphatically introduced.Tests show that this design can realize communication functions of handheld programmer and embedded PLC,such as remote downloading,reading,monitoring and so on.
Keywords:LPC2478  CAN  uC/OS-II  CAN protocol  hand-held program
本文献已被 CNKI 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号