摘要
本文介绍了基于RS485总线构建的半双工、主从式上下位机多机通信网络,以PC机为主机,51系列单片机为从机,使用VB6.0的MSComm控件实现PC机与单片机的多机通信,给出了RS485通信网络接口的硬件设计和软件设计,最后详细地分析了通信的可靠性问题,并给出相关的解决方法。
A Half-Duplex、Master-Slave multi-communication network system based on RS485 bus is presented in this paper. The master is PC while the slave is MCS-51. The communication between them is realized by using the MSComm control in VB6.0. The hardware interface and software interface of this system is designed. Then,a detailed analysis about the reliability of communication is presented and some methods and suggests are given.
出处
《微计算机信息》
北大核心
2008年第36期112-113,126,共3页
Control & Automation