Modbus_RTU Modbus_TCP test based on RS485 TO ETH (B)

Software configuration

Select Modbus TCP Protocol -->More Advanced Settings and select More -->Simaple Modbus TCP to RTU mode
Modbus_RTU Modbus_TCP test based on RS485 TO ETH (B)_第1张图片

Use the USB TO RS485 serial port to access the simulation test first

Modbus test

RTU Modbus
00 03 00 00 00 01 85 DB
00 03 00 01 00 01 D4 1B
00 03 00 00 00 02 C5 DA 

TCP Modbus
01 07 00 00 00 06 00 03 00 00 00 01
01 07 00 00 00 06 00 03 00 01 00 01
01 07 00 00 00 06 00 03 00 00 00 02

Re-connect the sensor to test:

Modbus_RTU Modbus_TCP test based on RS485 TO ETH (B)_第2张图片

Modbus_RTU Modbus_TCP test based on RS485 TO ETH (B)_第3张图片

你可能感兴趣的:(网络,tcp/ip,服务器)