For the problems of data communication in the system of Access Gates, a new multi-host communication system based on CANopen protocol is designed.Firstly, the composition of Access Gates control system based on PIC18F4680 single-chip microcontroller is presented.Secondly,communication ob-ject PDO,SDO and NMT in CANopen protocol are used,so a series of operations including data transmit-ting,instruction sending and value modifying are realized.The experimental result shows the system′s relia-ble stability and rapid information transfer in course of data communication.%针对门禁闸机系统中数据通信问题,设计了一种基于CANopen协议的多主通信系统。在基于PIC18F4680单片机的门禁闸机控制系统组成的基础上,应用CANopen协议中的PDO、SDO、NMT通信对象,实现了多主通信系统的数据传输、指令发送、参数修改等操作,实验结果表明,该系统数据通信稳定可靠、传送速度快。
展开▼