摘要
在自动化检测系统中,为实现现场作业的远程监控,需要通过网络在现场控制站和远程监控站之间传输大量实时数据。为此,需要针对不同的检测系统设计相应的网络通信模块,增加了系统开发周期和难度。基于C++Builder的开发环境,设计了一种通用的网络通信模块,通过制定不同格式的通信协议进行数据的打包和解析,实现了不同检测系统传感器数据的实时网络传输。实际测试表明,该模块在缩短检测系统软件开发周期的同时,以较低的丢包率和较快的传输速率保证了网络数据的传输,同时,该通信模块能在许多自动化检测系统中加以运用,具有通用性。
In automation detection systems, in order to implement remote monitoring for field operations, it is necessary to transform a large amount of data between field control station and remote monitoring station. So, appropriate network communication module has to be designed in accordance with different detection system, this will definitely increase development cycle and difficulty of the system. Based on developing environment of C++ Builder, the common network communication module is designed. Through drawing up different formatted communication protocol, the data are packaged and analysed for realizing real time network transmission based on different sensor data of the detection system. The practical test indicates that with use of this module, the detection software development cycle has been shortened and the network data transmission is faster and with less rate of packet loss. In addition, this communication module can be used in many automation detection systems with good commonality.
出处
《自动化仪表》
CAS
北大核心
2014年第4期53-56,共4页
Process Automation Instrumentation