作者投稿和查稿 主编审稿 专家审稿 编委审稿 远程编辑

计算机工程 ›› 2007, Vol. 33 ›› Issue (11): 244-246. doi: 10.3969/j.issn.1000-3428.2007.11.088

• 工程应用技术与实现 • 上一篇    下一篇

基于CAN总线的PC与RFID读写器通信实现

王启刚,谭 杰   

  1. (中国科学院自动化所,北京 100080)
  • 收稿日期:1900-01-01 修回日期:1900-01-01 出版日期:2007-06-05 发布日期:2007-06-05

Communication Between PC and RFID Readers Based on CAN Field-bus

WANG Qigang, TAN Jie   

  1. (Institute of Automation, Chinese Academy of Sciences, Beijing 100080)
  • Received:1900-01-01 Revised:1900-01-01 Online:2007-06-05 Published:2007-06-05

摘要: 以制衣流程生产线上多个RFID读写器的应用需求为背景,引入了一种具有通用性的通信连接方法,利用CAN总线实现PC与多个RFID读写器的实时通信。对RS485总线和CAN总线作了对比,介绍了通信实现的硬件结构和通信中使用的协议格式及涵义。给出了通信的总体流程图和程序实现的关键代码说明以及程序实现中应该注意的问题。

关键词: CAN总线, RFID读写器, 通信

Abstract: Based on the background of application requirements of multiple readers on the dressmaking stream line. The paper presents a general connection and communication method——utilizing CAN field-bus to complete the communication between PC and RFID readers, After the comparison of RS485 field-bus to CAN field-bus, the hardware architecture for communication is introduced as well as format and means of the communication protocol. The whole communicating flow chart and the description to the key code of the communication program are given with problems to be noticed.

Key words: CAN field-bus, RFID reader, Communication

中图分类号: