首页 | 本学科首页   官方微博 | 高级检索  
     

电力监控仪与PC机串行通信的实现
引用本文:周玉国,;王青山.电力监控仪与PC机串行通信的实现[J].青岛建筑工程学院学报,2009(2):70-74.
作者姓名:周玉国  ;王青山
作者单位:[1]青岛理工大学自动化工程学院,青岛266033; [2]辽宁建筑职业技术学院,辽阳111000
摘    要:介绍了电力监控仪表与PC机之间串行通信的硬件实现和软件设计.采用单片机的电力监控仪表使用了RS485串口,应用Keil C语言实现通信软件;上位机应用VB6.0的ActiveX控件实现Windows环境下计算机与RS485接口的串行通信.该方法已应用于电力监控装置中,实现了电力监控仪表与计算机间的通信,对用电设备实现了监视和控制.还介绍了串口调试工具的利用,测试通信规约和通信程序,结果表明,通信规约和编写的通信程序完全满足设计要求.

关 键 词:串行通信  RS485  电力监控仪表  MSComm

The Realization of Serial Communication Between Electric Power Monitoring Instrument and PC Computer
Affiliation:ZHOU Yu-guo,WANG Qing-shan (1.School of Automation Engineering,Qingdao Technological University,Qingdao 266033,China;2.Liaoning Technological College of Construction,Liaoyang 111000,China)
Abstract: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.
Keywords:serial communication  RS485  the electric power monitoring instrument  MSComm
本文献已被 维普 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号