|国家预印本平台
首页|WinCC串口通讯的研究与实现

WinCC串口通讯的研究与实现

Research on Serial Communication of WinCC and its Implementation

中文摘要英文摘要

本文讨论了在WinCC构筑的上位机监控系统中,通过计算机串口(COM口)从现场智能仪表采集数据的一种实现方法。该方法采用Microsoft提供的串口通讯控件MScomm作为中间桥梁,在该控件的OnComm事件中使用WinCC脚本语言VBs编写程序,实现对数据采集,接收,处理和显示功能。本文较为详细地介绍了Mscomm控件的各种主要性能属性,并通过模拟的现场仪表进行了调试,在模拟调试中解决了仪表发送数据和脚本运行速度不匹配的问题。

his paper discussesed a technique of collecting data from an intelligent meter through serial port in the system of WinCC monitor.It adopted Microsoft Comm Controller(Mscomm) as a bridge between PC and intelligent meter.In the event of Oncomm of Mscomm, it used VBs of WinCC to receive, peocess and display data. The paper also elaborated several major properties of Mscomm. It had resolved the problem of speed matching between sending and running script by doing simulative debugging.

雷汝海、步园明、周谷鸣

通信自动化技术、自动化技术设备计算技术、计算机技术

串口通讯VBsWinCC

Serial CommunicationVBsWinCC

雷汝海,步园明,周谷鸣.WinCC串口通讯的研究与实现[EB/OL].(2009-05-11)[2025-08-02].http://www.paper.edu.cn/releasepaper/content/200905-218.点此复制

评论