Q&A
USR-N5xx realize Modbus RTU Master&Modbus TCP Slave Communication
2020-05-19
926

 Overview

 

This manual is to configure Serial to Ethernet Converters USR-N5xx(include USR-N510/USR-N520/USR-N540) to realize communication between Modbus RTU Master and Modbus TCP slave.

 

 

1.Configuration

In this manual, we test with USR-N510.(Serial to Ethernet Converter) Connect USR-N510(USRIOTSerial to Ethernet Converter) to PC by RS232 cable and also connect USR-N510(Serial to Ethernet Converter)  to PC or same router as PC by Ethernet cable.

 

 

Firstly, run setup software for USR-N510(Serial to Ethernet Converter)  to configure module.

1.png

 

Then, configure N510(Serial to Ethernet Converter)  as follow:

 

 

configure N510(Serial to Ethernet Converter)

Step 1: Click ‘Search Device’ to search N510(Serial to Ethernet Converter)  in LAN.

 

Step 2: Change module static IP to in same network segment as PC(We connect N510(Serial to Ethernet Converter)  to same router with PC which has gateway 192.168.5.1, so configure N510 static IP to 192.168.5.7) and click ‘Base Save’ to save and reset.

 

Step 3: After resetting module, search device again and configure Port1 parameters: Choose TCP Client as work mode, change remoter IP to PC’s IP in router and write a remote port which is available on PC; enable ModbusTCP. After configuring, click ‘Save COM1’ to save and reset.

 

 

After configuring N510(Serial to Ethernet Converter) , run Modbus Slave software and Modbus Poll software to simulate Modbus TCP slave and Modbus RTU Master as follow:

configure N510(Serial to Ethernet Converter)

 

After configuring, change value in Slave, values in master will also change.

 

configure N510(Serial to Ethernet Converter) , change values master

 

 

 

 

 

 

 

上一篇: Configuration of Serial to Ethernet Converters 下一篇: One to one transparent transmission(USR Cloud) of serial device server 410S Return
Top recommendations
热门标签