摘要
随着控制网络的发展,越来越多的具有不同串口接口的现场设备需要与不同协议的总线进行通信的问题日益凸显,该设计以W78E58B单片机为主控制器,以CAN控制器SJA1000与PCA82C250作为CAN总线接口模块,以Profibus专用智能协议芯片SPC3组成Profibus-DP总线接口模块,以MAX3162作为串口RS232/RS485/RS422电平转换芯片,设计了集成CAN总线与Profibus-DP总线到RS232/RS485/RS422串口接口的多协议通信适配器,并对其硬件电路与软件进行了设计。该装置能够实现具有任何一种标准接口RS485\RS232\RS422的工业现场设备到任何一种现场总线Profibus-DP总线、CAN总线的通信任务。实际证明该装置运行稳定、可靠。
With the development of control networks,more and more problem of the communication between the field devices with different serial interfaces and the bus with different protocols has become increasingly prominent. In this paper,by microcontroller W78E58B as the master controller,with CAN controller SJA1000 and PCA82C250 as CAN bus interface module,and that make up a Profibus-DP Bus in Profibus protocol dedicated smart chip SPC3 interface module with MAX3162 as serial RS232 / RS485 / RS422 level conversion chip,based on all this above,we design a multi-protocol communications adapter which was from integrated CAN bus and Profihus-DP bus to RS232 / RS485 / RS422 serial interface,also design the hardware circuitry and software. The device can be achieved with a standard interface communication tasks for any kind of RS485 / RS232 / RS422 industrial field devices to any kind of field Bus Profibus-DP Bus,CAN Bus. It turned out that the device was stable and reliable.
出处
《自动化与仪表》
2015年第1期37-42,66,共7页
Automation & Instrumentation
基金
内蒙古自然科学基金项目(2013MS0921)