电子科技 ›› 2019, Vol. 32 ›› Issue (10): 70-74.doi: 10.16180/j.cnki.issn1007-7820.2019.10.014

• • 上一篇    下一篇

嵌入式组态触摸屏与非标准通讯规约设备的一种通讯方法

丁来伟,董彪,李鹏程,杜海江   

  1. 中国农业大学 信息与电气工程学院,北京 100083
  • 收稿日期:2018-10-15 出版日期:2019-10-15 发布日期:2019-10-29
  • 作者简介:丁来伟(1991-),男,硕士研究生。研究方向:电力电子技术应用。|董彪(1991-),男,硕士研究生。研究方向:电力电子技术及应用。
  • 基金资助:
    中国电力科学研究院科研立项

A Method of Communication Between Embedded Configuration Touch Screen and Non-standard Communication Protocol Equipment

DING Laiwei,DONG Biao,LI Pengcheng,DU Haijiang   

  1. College of Information and Electrical Engineering,China Agricultural University,Beijing 100083,China
  • Received:2018-10-15 Online:2019-10-15 Published:2019-10-29
  • Supported by:
    China Electric Power Research Institute Scientific Research Project

摘要:

目前很多电力电子装置采用非标准通讯规约,以至其无法直接与上位机通讯。文中介绍了一种嵌入式组态触摸屏与非标准通讯规约设备之间通讯的实现方法。该方法使用嵌入式组态软件提供的脚本驱动开发工具,编写非标准通讯规约的设备驱动,并将此设备驱动加载到嵌入式组态软件中,实现了两者之间的通讯。实际测试结果显示,使用该设备驱动,嵌入式组态触摸屏与非标准通讯规约设备之间通讯正常,遥测值读取准确,并且可以按照设定值定时刷新,遥调指令下发正确,从机设备可按照指令正确改变工作模式。

关键词: 电力电子装置, 非标准通讯规约, 嵌入式组态触摸屏, 组态软件, 脚本驱动开发工具, 设备驱动

Abstract:

Many power electronic devices adopt non-standard communication protocol, making them unable to communicate with the upper machine directly. This paper introduced a method to solve the communication problem between embedded configuration touch screen and non-standard communication protocol equipment. The method uses the script-driven development tool provided by the embedded configuration software to write the device driver of the non-standard communication protocol. Then the device driver was loaded into the embedded configuration software to realize the communication. The test results showed that the communication between embedded configuration touch screen and non-standard communication protocol equipment was correct by using the device driver, and the sampling values received by embedded configuration touch screen were right and refreshed correctly. At the same time, the instruction was sent to equipment correctly and the equipment could change its mode following the instruction.

Key words: power electronic equipment, non-standard communication protocol, embedded configuration touch screen, configuration software, script-driven development tool, device driver

中图分类号: 

  • TN919