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
摘要: 以制衣流程生产线上多个RFID读写器的应用需求为背景,引入了一种具有通用性的通信连接方法,利用CAN总线实现PC与多个RFID读写器的实时通信。对RS485总线和CAN总线作了对比,介绍了通信实现的硬件结构和通信中使用的协议格式及涵义。给出了通信的总体流程图和程序实现的关键代码说明以及程序实现中应该注意的问题。
关键词:
CAN总线,
RFID读写器,
通信
CLC Number:
WANG Qigang; TAN Jie. Communication Between PC and RFID Readers Based on CAN Field-bus[J]. Computer Engineering, 2007, 33(11): 244-246.
王启刚;谭 杰. 基于CAN总线的PC与RFID读写器通信实现[J]. 计算机工程, 2007, 33(11): 244-246.