摘要
以制衣流程生产线上多个RFID读写器的应用需求为背景,引入了一种具有通用性的通信连接方法,利用CAN总线实现PC与多个RFID读写器的实时通信。对RS485总线和CAN总线作了对比,介绍了通信实现的硬件结构和通信中使用的协议格式及涵义。给出了通信的总体流程图和程序实现的关键代码说明以及程序实现中应该注意的问题。
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.
出处
《计算机工程》
CAS
CSCD
北大核心
2007年第11期244-246,共3页
Computer Engineering
基金
国家"863"计划基金资助项目(2005AA420050)