论文部分内容阅读
以铁路车号自动识别系统中多个AEI的应用需求为背景,引入了一种具有通用性的通信连接方法,利用CAN总线实现CPS与多个AEI的实时通信。对CAN总线优点进行了说明,介绍了通信实现的硬件结构和通信中使用的协议格式及涵义。给出了通信的总体流程图和程序实现的关键代码说明以及程序实现中应该注意的问题。
Taking the application requirements of multiple AEIs in automatic identification system of railway vehicle number as the background, a universal communication connection method is introduced, which realizes the real-time communication between CPS and multiple AEIs by using CAN bus. The advantages of the CAN bus are described, and the hardware structure of the communication and the format and meaning of the protocol used in the communication are introduced. The overall flow chart of communication and key code description of program implementation and the problems that should be noticed in program implementation are given.