摘要
介绍了Windows环境下,利用Visual Basic 6.0与串行通信控件MSComm结合实现IEC60870-1-101规约的方法,给出了实现IEC60870-1-101规约的全过程,即首先利用串行通信控件MSComm接收、发送IEC60870-1-101规约报文;然后利用Visual Basic 6.0编制的软件程序分析、转化报文,获得报文中传送的遥测、遥信值以及这些数值所对应的地址;最后将这些遥测、遥信值和地址储存在Access数据库中,利用ADO Data控件在程序中显示,并可以文本形式输出。在实际环境下运行证明该方法新颖有效,可以为检修维护人员提供检测与监控通信系统的工作平台。
A new practicable method providing data trom SCADA to power system aovanced application software through serial port under Windows, is illustrated in this pape. Combining Visual Basic and MSComm, this method could easily transmit data under the protocol of IEC60870-1-101. Firstly, MSComm, a component for correspondence, are used for receiving and sending out the text of the protocol of IEC60870-1-101. Then a software designing by Visual Basic 6.0 analyse and transform the text for getting the data. The data can be saveed in a real-time database, and can be output with a text mode. Data share and user-defined message are employed for serial communication; Access and ADO data are used for data saving and data showing; by means of encapsulation, the software becomes opening and reusable. According to this method, a program has been developed to get realtime data in a substation. The application shows the reliability and effectiveness of the propose.
出处
《太原理工大学学报》
CAS
北大核心
2007年第2期168-170,共3页
Journal of Taiyuan University of Technology
基金
山西省自然科学基金项目(2006011032)