摘要
RS-485采用平衡传输,具有结构简单、传输距离远、速度快和可靠性高等优点,应用广泛。根据所构建的基于RS-485能源计量系统的需要,设计了RS-485应用层通信协议。该协议主要包括字节格式、帧格式及数据的表示。利用VisualBasic6.0设计了上位机软件,给出了上位机、下位机通信软件流程图,实现了上位机(主节点)与现场仪表(从节点)的通信,完成了系统的数据采集。
RS-485 uses balance transmission, has many merits, such as simple structure, far transmission, high speed and high reliability, and it is used widely. According to the practical requirement of a certain producing enterprise based on RS- 485 bus, the communication protocol of RS- 485 which includes byte format, frame format and the expression of data was designed. The software was designed by using Visual Basic 6.0 and the flow diagram of the software was given out. The communication between computer (master node) and intelligent instrument (slave node) was realized to achieve data acquisition of the system.
出处
《低压电器》
北大核心
2006年第12期30-33,共4页
Low Voltage Apparatus
关键词
RS-485
通信协议
数据采集
能源计量
RS-485
communication protocol
data acquisition
energy consumed statistic