摘要
对PPI通讯协议进行分析,利用C#语言对其进行封装;根据WTTVS监控管理系统读/写PLC内部存储区的需求,将PLC中的一部分数据存储区V区划分为当前和历史存储块,利用PLC中的定时中断方式,将采集数据暂存于对应存储块内,PC机实时读取和显示当前存储块中的数据,待装置运行结束后读取历史存储块中的数据,批量存入数据库,实现密集采样数据监测。
This paper makes a brief analysis of the PPI communication protocol that packaged by C # language. Then,combining with the needs that WTTVS monitoring and management system has to read/write PLC internal storage area, part of data storage area V in the PLC is divided into current and historical storage block in order to achieve rapid changes in data-intensive sampling. The sampling data was temporarily stored in corresponding storage blocks by using PLC timer interruption. The PC can real-time read and show the data in current storage block. After the end of system running, the data in historical storage block was read and batched into the database, which can monitor intensive sampling data.
出处
《气象水文海洋仪器》
2013年第4期56-61,66,共7页
Meteorological,Hydrological and Marine Instruments
基金
国家自然科学基金项目(40976062)资助
江苏省自然科学基金项目(BK2012513)资助
解放军理工大学气象海洋学院基础理论研究基金资助
关键词
监控管理系统
点对点接口通讯协议
数据采集
monitoring management system
PPI communication protocol
data sampling