Products
IoT Gateways
Netcom Products
IoT Modules
PUSR CLoud
ODM/EMS
Pusr Cloud, a cloudplatform for the Internet of Things Zero programming comes with its own Internet of Things system.
200
+ Private Cloud project
Data localization
Business personalization
100k
+ Public Cloud registered
80% functions are free
White-labeling for VIP
LEARN MORE
KingView-A SCADA Software With 25+ Years Of Development History Nice Graphics display to monitor and Control Production flow System.
25
+ Development History
Data Collection, Analysis &
Management
100k
+ respond within 1
Perfect Alarm Monitoring &
Querying
LEARN MORE
PCB Design —— ODM/EMS We provide one-stop turnkey design service to help customers with the delivery of an out-of-the-box hardware platform that is fully tested and ready to use upon delivery.
10
+ years of experience
11 high-speed SMT
10 million pcs daily
200
+ Private Cloud project
ISO9001 cert.
Intelligent MES
LEARN MORE
Support Center
How to Realize Transparent Transmission Between Serial to Ethernet Converters/Serial Device Servers?
2020-05-08

Overview

User can realize transparent transmission between two USR Serial to Ethernet Converters/Serial Device Servers(one works in TCP Server mode and another works in TCP Client mode). Application diagram as follow:

 

 

Serial to Ethernet Converters- Data transmission

Figure 1 Data transmission

 

1.Configuration

Take M0 series Serial to Ethernet Converters/Serial Device Servers as example(one is USR-TCP232-302 and another is USR-TCP232-304) to test.

 

Step 1: Hardware connection

Connect 302 and 304 in same network by LAN interface and also connect 302 and 304 to PC through serial port interface which can run USR USR-TCP232-Test-V1.3.exe to test data transmission. User can download USR-TCP232-Test-V1.3 from https://www.usriot.com/usr-tcp-test-testing-software/

 

Step 2: Search modules in LAN and configure IP address.

 

User can run the setup software for M0 series and search the modules in LAN.(PC which run the setup software needs in same network segment as router, too.). User can download M0 series setup software from https://www.usriot.com/usr-m0-setup-software/.

 

Search modules in LAN and configure IP address

 

Figure 2 Search module

 

 

 

After searching successfully, 302 and 304 IP address should be changed to in same network segment with router which 302 and 304 connect to(In our test, router gateway is 192.168.5.1,so 302 IP address is changed to 192.168.5.200 and 304 IP address is changed to 192.168.5.201).

 

Serial to Ethernet Converters-Configure IP address

 

Serial to Ethernet Converters-Configure IP address

Figure 3 Configure IP address

 

Step 3: Change work mode and configure related parameters.(User can do this step by Web Server or setup software, we take Web Server as example in our test).

 

User can enter Web Server by modules’ IP(Must ensure modules’ IP have been changed to in same network segment as router).

 

 

Configure 304 as TCP server as follow:

Serial to Ethernet Converters-Configure 304 as TCP server

Figure 4 Configure TCP Server module

 

 

Note: When configure module in TCP Server, user just needs to select ‘TCP Server’ in ‘Work Mode’ and configure ‘Local Port Number’(I configure 1000 here).

 

 

Configure 302 as TCP Client as follow:

 

Serial to Ethernet Converters-Configure TCP Client module

Figure 5 Configure TCP Client module

 

 

 

 

 

Note: When configure module in TCP Client, user just needs to select ‘TCP Client’ in ‘Work Mode’ and configure ‘Remote Port Number’/’Remote Server Addr’. And ‘Remote Port Number’/’Remote Server Addr’ must same as TCP server local port number/local IP address(1000/192.168.5.201 here).

 

 

After configuring and saving, user should reset modules to make parameters take effect.

 

2.Data transmission

 

After configuring successfully, user can run the USR-TCP232-Test-V1.3.exe to test data transmission.

 

Serial to Ethernet Converters

 

 

Figure 6 USR-TCP232-TEST-V1.3.exe

 

 

After step 1, we have connected 302 and 304 to PC through serial port interface. Then running the software above and choosing the correct COM port which connected to 302 and 304. After opening COM successfully, data transmission can be realized as follow:

 

Serial to Ethernet Converters-Data transmission

Figure 7 Data transmission

 

 

 

 

 

 

 

 

 

 

Industrial loT Gateways Ranked First in China by Online Sales for Seven Consecutive Years **Data from China's Industrial IoT Gateways Market Research in 2023 by Frost & Sullivan
Subscribe
Be Honest, Do Best
Copyright © Jinan USR IOT Technology Limited All Rights Reserved. Lu ICPB No. 16015649-5/ Sitemap / Privacy Policy