摘要
为了能够在嵌入是系统中快速应用Moudbus/TCP协议,设计了直接运行于微处理器之上的modbus/TCP协议栈。实现了地址解析协议,TCP的网络连接建立和关闭,以及modbus应用层协议。最后在xilinx公司zynq-7020微处理器上进行协议栈的通信实验,采用Wireshark软件进行网络抓包,通过实验验证了该协议栈的正确性,请求应答响应延时小于1ms,具有较好的实时性。
In order to quickly apply the Moudbus/TCP protocol in embedded system,a Modbus/TCP protocol stack running directly on the microprocessor is designed.Implementing address resolution protocol,TCP network connection establishment and closing,and MODBUS application layer protocol.Finally,the protocol stack communication experiment is carried out on the zynq-7020 microprocessor of Xilinx company,and Wireshark software is used to capture network packets.The correctness of the protocol stack is verified by the experiment.The response delay of request response is less than 1ms,which has good real-time performance.
作者
柳青
LIU Qing(Beijing Polytechnic,Beijing100176,China)
出处
《机电产品开发与创新》
2020年第6期12-14,共3页
Development & Innovation of Machinery & Electrical Products
基金
北京电子科技职业学院人工智能与智能制造技术研发团队建设项目资助(2019-dkyjsyftd03)。