通用组态软件接入非标准通信协议组件技术分析与实现-technical analysis and implementation of generic configuration software accessing non-standard communication protocol components.docxVIP

  • 26
  • 0
  • 约5.29万字
  • 约 73页
  • 2018-08-07 发布于上海
  • 举报

通用组态软件接入非标准通信协议组件技术分析与实现-technical analysis and implementation of generic configuration software accessing non-standard communication protocol components.docx

通用组态软件接入非标准通信协议组件技术分析与实现-technical analysis and implementation of generic configuration software accessing non-standard communication protocol components

摘要 摘要 摘要 在数据采集与监视控制系统中,位于监控中心的组态软件需要与各从机组件进 行通信,以获取从机采集到的数据。但是在实际应用中,并非所有的从机设备都 使用的是标准通信协议,而是采用设备生产厂家自己定义的非标准通信协议,并 且由于涉及到复杂的专业计算或开发成本方面的原因,这些使用非标准通信协议 的设备往往又难以被替代。 本论文采用 VC++串口通信技术编写了一个协议转换软件,该软件解决了组态 软件与使用非标准通信协议的雷电监测仪的通信问题,实现了组态软件接入雷电 监测仪的目的。论文首先介绍了通用组态软件接入非标通讯协议组件这一主题的 背景和研究意义,其次介绍了使用 VC++实现串口通信的三种方法,并选定了用于 实现协议转换软件中串口通信功能的方法,然后介绍了组态软件所使用的 ModBus 协议以及雷电监测仪所使用的 ZGLF-2 协议,提出了两种协议转换的整体构思, 接着以上述整体构思为基础,使用 VC++串口通信技术编写了一个协议转换软件, 最后对论文所做的主要工作进行了总结,并指出了协议转换软件有待完善和需要 做更深入研究的地方。本文设计的协议转换软件已经在智能化电力监控系统中得 到了应用,同时其技术还可以为今后系统的进一步开发提供参考。 关键词:协议转换软件 串口通信 ModBus ZGLF-2 组态软件 Abstra Abstract Abstract In a SCADA system, in order to obtain the data collected from the machine, the configuration software needs to communicate with slave components. However, in practical applications, not all slave devices use standard communication protocols, instead of using the non-standard communication protocols defined by the equipment manufacturers, and due to reasons related to the complex professional calculation and development costs, the devices that use non-standard communication protocols are often difficult to be replaced. Based on the Visual C++ serial communication technology, we write a piece of protocol conversion software, which solved the communication problem of configuration software with lightning monitor communications. First of all, the paper describes the background and significance of the theme of the general configuration software access non-standard communication protocol components. Secondly, it introduces the three methods of serial communication using Visual C++, and selects the method used to implement the functions of the serial communication of the protocol conversion software. Thirdly, it introduces the ModBus protocol used by the configuration software and the ZGLF-2 protocol used by the lightning monitor, puts forward the whole idea of the conversion of two protocols, and then, using Visual C++ serial communication technology write a protocol conversion software. I

您可能关注的文档

文档评论(0)

1亿VIP精品文档

相关文档