期刊文献+

Mscomm与C在监控系统和智能仪表的串行通讯中的应用 被引量:7

Application of Mscomm and C in serial communication between computer supervisory control system and intelligent instrument
下载PDF
导出
摘要 讨论了在WinCC构筑的上位监控系统中,从另一个利用8051单片机构成的现场智能仪表中采集数据的一种实现方法。首先,应用VisualBasic的通讯控件Mscomm,通过RS232串口定时将智能仪表中的数据读入装有WinCC上位监控软件的上位机,并存入某个二进制文件;而后利用WinCC软件内嵌的C编译器编程,将二进制文件中相应的数据一一赋值给WinCC中的internaltag(内部标签);这样,在上位监控部分设计中,即可随时读取这些来自于现场智能仪表的实时数据,最终实现将智能仪表中的数据纳入上位监控系统中统一使用。 This paper discussed a way to make serial communication with RS232 serial port between computer superior control system designed by WinCC and intelligent instrument constructed by 8051 single chip (compu-)(ter). At first, the paper expatiated the method of how to use Mscomm.ocx to input the data of intelligent instrument into computer through RS232. Then the data was stored in the form of binary file from which those data could be assigned to internal tag of WinCC following the running of a certain C program file. Finally, the data from intelligent instrument could be incorporated in the computer supervisory control system.
出处 《山东建筑工程学院学报》 2004年第2期17-20,共4页 Journal of Shandong Institute of Architecture and Engineering
关键词 串行通信 MSCOMM WINCC serial communication Mscomm WinCC
  • 相关文献

参考文献1

  • 1范逸之,陈立元.Visual Basic与RS232串行通讯控制[M].北京:中国青年出版社.2002.

共引文献1

同被引文献20

引证文献7

二级引证文献19

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部