Overview This manual is to configure serial to ethernet converter USR-N5xx(include USR-N510/N520/N540) to realize communication between Modbus RTU Master and Modbus TCP slave.
1.Configuration In this manual, we test with USR-N510. Connect USR-N510 to PC by RS232 cable and also connect USR-N510 to PC or same router as PC by Ethernet cable. Firstly, run setup software(https://usriot.com/support/downloads/usr-tcp232-m4k3-setup-software.html) for USR-N510 to configure module.
Then, configure N510 as follow:
USR-N5x realize Modbus RTU Master&Modbus TCP Slave communication
Step 1: Click ‘Search Device’ to search N510 in LAN.
Step 2: Change module static IP to in same network segment as PC(We connect N510 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, run Modbus Slave software and Modbus Poll software to simulate Modbus TCP slave and Modbus RTU Master as follow:
After configuring, change value in Slave, values in master will also change.
Technical Support: h.usriot.com