网站首页期刊简介编委会过刊目录投稿指南广告合作征订与发行联系我们English
浮点型数据的WinCC高速采集方法
英文标题:High speed acquiring method of float data based on WinCC
作者:许洪韬 谭建平 杨俊 曾乐 
单位:中南大学 
关键词:高速采集 浮点型 WinCC 可编程控制器 
分类号:TH-39
出版年,卷(期):页码:2015,40(3):122-126
摘要:

上位机WinCC+下位机可编程控制器(PLC)是工业现场监控系统的主要形式,针对该系统中存在WinCC刷新频率不能满足较高数据采集的问题,根据上位机WinCC与下位机PLC的特点,提出一种新的WinCC高速数据采集方法。该方法通过下位机PLC采集工业现场数据并依次存放于数据块中,数据无需圆整,为浮点型;在上位机WinCC中建立多个外部变量与数据块的过程变量对应,应用C语言编写全局脚本,一次读取数据块中的全部数据;WinCC由原来的一次读取一个数据变为现在的每次读取多个数据,从而间接实现WinCC高速数据采集。对该方法进行了试验测试,结果表明,该高速数据通讯方法能够有效解决WinCC保存数据速率慢的问题,不但保证了读取数据的精确性,而且适用范围更广,为上下位机提供了一种可靠、便捷、低成本的高速数据通讯方案。

The monitoring system in industrial field is mainly comprised of WinCC system and programmable Logical Controller(PLC). For the problem that the refresh frequency of WinCC can not satisfy high speed data acquisition in this system, a new method of high speed data acquisition method based on WinCC was presented based on the features of WinCC and PLC. Firstly, all data was acquired by PLC and stored in DB in proper sequence, and the data was floated without rounding. Then multi external variables corresponding to process variables in DB were established in WinCC system, and global script written by C language acquired all the data in the DB. Winll was changed from collecting a data once a time to collecting multiple data in once, so the high speed data acquisition was achieved indirectly. The experiments were implemented, and the results show that this method can solve the problem of the low speed data acquisition of WinCC. The method not only guarantees the precision of data acquisition, but also can be applied comprehensively. The high speed data communication through a reliable, convenient and low-cost way is suitable for both the upper and lower controlling systems.

基金项目:
国家重点基础研究发展计划(“973”计划)项目(2014CB049405);高性能复杂制造国家重点实验室自主探索基金(zzyjkt2013)
作者简介:
许洪韬(1989-),男,硕士研究生 通讯作者:谭建平(1963-),男,博士,教授,博士生导师
参考文献:


[1]曹宏强,马丽霞, 刘卫华.PLC在液压机控制系统改造中的应用[J].锻压技术, 2008,33(6): 107-110.Cao H Q, Ma L X, Liu W H, et al. Application of PLC in transformation of control system of hydraulic machine and control of analog variable[J]. Forging & Stamping Technology, 2008,33(6): 107-110.
[2]喻寿益,陈亚. 基于WinCC的一万吨多向模锻水压机控制系统[J].仪表技术与传感器, 2008,(9): 62-64.Yu S Y, Chen Y. Control sytem of ten-thousand-ton multidirectional die forging hydraulic press based on WinCC[J]. Instument Technique and Sensor, 2008,(9): 62-64.
[3]赵长平,桂卫华. 大型模锻水压机控制系统设计与实现[J]. 仪表技术与传感器, 2008,(12): 98-100.Zhao C P, Gui W H. Design and implementation of large die-forging water press control system[J]. Instrument Technique and Sensor, 2008,(12): 98-100.
[4]朱明, 谭建平,周俊峰. 125 MN挤压机监控系统设计研究[J]. 锻压技术, 2008,33(3): 109-112.Zhu M, Tan J P, Zhou J F. Design research on monitoring system of 125 MN extruding machine[J]. Forging & Stamping Technology, 2008,33(3): 109-112.
[5]王前, 肖兴明, 陈思忠. 基于ActiveX EXE的PLC高速数据采集在提升机监控系统中的应用[J]. 煤矿安全, 2010,(5): 84-86.Wang Q, Xiao X M, Chen S Z. Application of high speed data acquisition in hoist based on PLC of Active EXE[J]. Coal Mine Safety, 2010,(5):84-86.
[6]朱江新,阳平,夏天. 基于PCI-1711数据采集卡的拉力试验机实时控制系统[J]. 制造技术与机床, 2010,(5): 81-83.Zhu J X, Yang P, Xia T, et al. The real-time control system of tensile testing machine based on PCI-1711 data acquisition card[J]. Manufacturing Technology & Machine Tool, 2010,(5): 81-83.
[7]郭清华,赵英红,郭利. 研华PCL-818L数据采集卡在染色机监控系统中的应用[J]. 工业控制计算机, 2006,19(7): 27-28.Guo Q H, Zhao Y H, Guo L,et al. Application of PCL-818L data acquisition card in temperature controlling system of dyeing machines[J]. Industrial Control Computer, 2006,19(7): 27-28.
[8]Huang B, Li X M, Wang J. Design and implementation of high-speed data acquisition system based on PLX9054[J]. Power System Technology, 2004,28(24): 43-47.
[9]Ludvig, McCarthy, Neuendorffer. Reprogrammable platforms for high-speed data acquisition. in Signals[A]. Systems and Computers[C]. USA, 2001.
[10]Wang Fei, Wu Zhijie, Chen Hong. High-speed data acquisition system based on FPGA/SoPC[A]. In Electronic Measurement & Instruments[C]. Chengdu,2011.
[11]姜丽波, 张根宝. WinCC高速数据采集应用[J]. 电气传动自动化, 2006,28(2): 41-43.Jiang L B, Zhang G B. Application of high-speed data collection with WinCC[J]. Electric Drive Automation, 2006,28(2): 41-43.
[12]舒招强, 谭建平,陈晖. 上、下位机数据高速通讯方法及其在大型锻压机中的应用[J]. 锻压技术, 2013,38(1): 121-126.Shu Z Q, Tan J P, Chen H. High speed communication method between upper and lower control systems and its application on huge forging hydraulic press[J]. Forging & Stamping Technology, 2013,38(1): 121-126.

 

服务与反馈:
文章下载】【加入收藏
《锻压技术》编辑部版权所有

中国机械工业联合会主管  中国机械总院集团北京机电研究所有限公司 中国机械工程学会主办
联系地址:北京市海淀区学清路18号 邮编:100083
电话:+86-010-82415085 传真:+86-010-62920652
E-mail: fst@263.net(稿件) dyjsjournal@163.com(广告)
京ICP备07007000号-9