如何接截取TCPmodbus通讯数据

时间:2024-10-13 17:26:50

TCPmodbus是工业领域经常用到通讯协议,在一些特殊场合我们可能要截取哌囿亡噱TCPmodbus服务器(Server)和客户端(Client)之间的数据,我们可以通过以下办法截取

如何接截取TCPmodbus通讯数据

工具/原料

TCP (Server)

TCP(Client)

网络调试助手

截取(Client)客户端数据

1、想要截取(Client)数据就要将网络调试助手设为(Server)

如何接截取TCPmodbus通讯数据

2、设置对应ip地址

如何接截取TCPmodbus通讯数据

3、设置端口号502,modbus TCP有固定的、经标准确认的端口号:502

如何接截取TCPmodbus通讯数据

4、点击连接

如何接截取TCPmodbus通讯数据

5、已经截取到了(Client)客户端数据

如何接截取TCPmodbus通讯数据

截取(Server)数据

1、同理想要截取(Server)数据就要将网络调试助手设为(Client)

如何接截取TCPmodbus通讯数据

2、设置对应ip地址此地址位服务端地址

如何接截取TCPmodbus通讯数据

3、设置端口号502,

如何接截取TCPmodbus通讯数据

4、点击连接

如何接截取TCPmodbus通讯数据

5、已经截取到了(Server)客户端数据

如何接截取TCPmodbus通讯数据
© 手抄报圈