Products
Product Classification
Data download
Support Center
USR-N5xx realize Modbus RTU Master&Modbus TCP Slave Communication
2020-05-19

 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

 

 

 

 

 

 

 

Don't hesitate to contact PUSR.
Reliable products and services around you!
Subscribe Email
Ethernet Modules
WiFi Modules
4G Modules
Bluetooth Module
Contact Us
Email : inquiry@usriot.com
Tel : +86-531-88826739
Fax : +86-531-88826739-808
Address : Floor 12 and 13, CEIBS
of Maolingshan, Lixia District, Jinan,
Shandong, China
Copyright © Jinan USR IOT Technology Limited All Rights Reserved. Tags   /  Sitemap   /  Privacy Policy