检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
机构地区:[1]青岛理工大学自动化工程学院,青岛266033 [2]辽宁建筑职业技术学院,辽阳111000
出 处:《青岛理工大学学报》2009年第2期70-74,88,共6页Journal of Qingdao University of Technology
摘 要:介绍了电力监控仪表与PC机之间串行通信的硬件实现和软件设计.采用单片机的电力监控仪表使用了RS485串口,应用Keil C语言实现通信软件;上位机应用VB6.0的ActiveX控件实现Windows环境下计算机与RS485接口的串行通信.该方法已应用于电力监控装置中,实现了电力监控仪表与计算机间的通信,对用电设备实现了监视和控制.还介绍了串口调试工具的利用,测试通信规约和通信程序,结果表明,通信规约和编写的通信程序完全满足设计要求.The realization of hardware and software of serial communication between the electric power monitoring instrument and PC computer are illustrated in this article.The electric power monitoring instrument with RS485 interface is based on the microprocessor.Keil C language is used to program.Active control component MSComm of the VB6.0 is adopted to realize the serial communication between RS485 interface and computer in the Windows system.The method is used to communicate for the instrument and computer.The monitor and control function are realized for the electric unites.And serial debugging tool is introduced in the paper too,which is used to test the communication protocols and programs.The test results show that the communication protocols and programs can completely meet the demands of design.
关 键 词:串行通信 RS485 电力监控仪表 MSCOMM
分 类 号:TM933[电气工程—电力电子与电力传动]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:216.73.216.145