摘要
要实现上位机对PLC中数据的读写操作,监控软件必不可少。针对组态软件或者OPC服务器建立通讯时成本高、实时性差等弊端,文中对传统的上位机监控软件进行了改进,根据现场采用S7-400系列PLC的实际情况,创新地使用LIBNODAVE函数库结合VB语言自主开发了基于以太网通讯的监控软件,具有稳定性高、操作灵活、实时性强的特点,优化了上位机与PLC之间的通讯。同时,使用TeeChart设计实时监控曲线功能,从而能够直观地反映所观察数据的动态情况。改进后的监控软件便于实时数据的采集与存储、故障分析及调试,体现了研究的意义所在。
To read data from and write data to PLC,monitoring software in PC is essential. For the drawbacks of the configuration software or OPC server to establish communication,such as high cost and poor real-time,this paper improved the traditional monitoring software,according to the site with using the S7- 400 series PLC,LIBNODAVE Library and VB were used to develop an innovative Ethernet communication-based monitoring software,which is high stability,flexible,real-time,and optimizes the communication between PC and PLC. Meanwhile,it used TeeChart to design real-time monitoring curve function,which can directly reflect the dynamics of the observed data. The improved monitoring software is greatly facilitating real-time data acquisition and storage,error analysis and debugging,and reflecting the significance of the research on it.
出处
《仪表技术与传感器》
CSCD
北大核心
2014年第7期82-84,共3页
Instrument Technique and Sensor
基金
国家自然科学基金资助项目(U1260203)