摘要
针对Modbus TCP/IP协议通信的特性,研究并设计出一种Modbus TCP/IP协议仿真应用方案。利用MFC框架,分别对协议中客户端和服务器端的功能进行设计,完成对客户端和服务器端的仿真实现,最后用仿真应用对Modbus TCP/IP协议模拟展示。展示结果表明,此仿真应用设计可以完整模拟出Modbus TCP/IP协议的通信流程,这可以更方便地对Modbus TCP/IP协议的通信过程进行模拟和理解,有效支持工控网络安全课程的协议建模与分析实验。
Aiming at the characteristics of Modbus TCP/IP protocol communication,a simulation application scheme of Modbus TCP/IP protocol is studied and designed.Using the MFC framework,we design the functions of the client and server respectively,complete the simulation implementation of the client and server,and finally simulate the Modbus TCP/IP protocol with simulation applications.The display result shows that the simulation application design can completely simulate the Modbus TCP/IP protocol communication process,which can be more convenient to simulate and understand the Modbus TCP/IP protocol communication process.
作者
王洁
高昊宇
冯佳玉
WANG Jie;GAO Haoyu;FENG Jiayu(School of Software Technology,Dalian University of Technology,Dalian 116620,China)
出处
《实验室科学》
2023年第5期70-73,79,共5页
Laboratory Science
基金
国家重点研发计划项目(项目编号:2020YFB2009500)。