USR IOT USR-TCP232-E2 Manuale utente

Multifunctional serial to Ethernet module user manual http://en.usr.cn
Jinan USR IOT Technology Co., Ltd tec@usr.cnPage 1 /
/
/
/9
Multifunctional
Multifunctional
Multifunctional
Multifunctional S
S
S
S erial
erial
erial
erial to
to
to
to E
E
E
E thernet
thernet
thernet
thernet converter
converter
converter
converter
(USR-TCP232- E2 )
(USR-TCP232-ED2)
(USR-TCP232- 410 )
File version: V1. 0.1
Jinan USR IOT Technology Co., Ltd. works on LAN and WAN and wireless for MCU to
Ethernet Solutions, Ethernet, WIFI, GPRS, and Wireless modules, we can supply custom
design for those usage, look ing forward to cooperat e with you.

Multifunctional serial to Ethernet module user manual http://en.usr.cn
Jinan USR IOT Technology Co., Ltd tec@usr.cnPage 2 /
/
/
/9
Contents
Contents
Contents
Contents
Multifunctional S erial to E thernet converter ..................................................................................... 1
1. Introduction ................................................................................................................................... 4
1.1. Overview ........................................................................................................................... 4
1.2 Features ............................................................................................................................... 4
1.2. Applications ....................................................................................................................... 5
1.3. Order information .............................................................................................................. 5
1.4. Electrical c haracteristics .................................................................................................... 6
2. Module USES ............................................................................................................................... 7
2.1. Hardware connection ......................................................................................................... 7
2.2. Login .................................................................................................................................. 8
2.3. Default parameter test ...................................................................................................... 10
3. Work mode .................................................................................................................................. 11
3.1. UDP mode ........................................................................................................................ 11
3.2. TCP Client mode ............................................................................................................. 12
3.3. UDP Server mode ............................................................................................................ 13
3.4. TCP Server mode ............................................................................................................. 14
3.5. Httpd Client mode ............................................................................................................ 15
3.6. TCP Auto mode ............................................................................................................... 17
3.7. WEB to Serial mode ........................................................................................................ 19
4. Hardware interface ...................................................................................................................... 20
4.1. USR-TCP232-E2 ............................................................................................................. 20
4.1.1. Hardware ............................................................................................................... 20
4.1.2. Power and other pin ............................................................................................... 20
4.1.3. LED status ............................................................................................................. 21
4.1.4. Serial(TTL) interface ............................................................................................. 22
4.2. USR-TCP232-ED2 .......................................................................................................... 22
4.2.1. Hardware ............................................................................................................... 22
4.2.2. Power ..................................................................................................................... 23
4.2.3. LED status ............................................................................................................. 23
4.2.4. Serial(TTL) interface ............................................................................................. 23
4.3. USR-TCP232-410 ............................................................................................................ 25
4.3.1. Hardware ............................................................................................................... 25
4.3.2. Power ..................................................................................................................... 26
4.3.3. LED status ............................................................................................................. 26
4.3.4. RS232 interface ..................................................................................................... 26
4.3.5. RS485 interface ................................................................................................. 27
4.4. RJ45 interface .................................................................................................................. 27
4.5. Reload .............................................................................................................................. 27

Multifunctional serial to Ethernet module user manual http://en.usr.cn
Jinan USR IOT Technology Co., Ltd tec@usr.cnPage 3 /
/
/
/9
5. Paramters configuration .............................................................................................................. 28
5.1. Web page ......................................................................................................................... 28
5.2. Serial port ........................................................................................................................ 28
5.3. network command(setup software) .................................................................................. 28
6. Specific functions ........................................................................................................................ 29
6.1. ModbusRTU to ModbusTCP ........................................................................................... 29
6.2. Hardware flow control(RTS/CTS) ................................................................................... 31
6.3. User MAC address ........................................................................................................... 31
6.4. Firmupdate ....................................................................................................................... 32
6.5. Common questions .......................................................................................................... 34
6.5.1. Work across network segment ............................................................................... 34
6.5.2. Ping is OK but can not open web pages ................................................................ 34
6.5.3. After firm update, can not open web page ............................................................. 35
6.5.4. When connection established, server received serval chars .................................. 35
6.5.5. Every serval seconds, module reconnect ............................................................... 35
7. C ontact us .................................................................................................................................... 36
8. Modified history .......................................................................................................................... 37

Multifunctional serial to Ethernet module user manual http://en.usr.cn
Jinan USR IOT Technology Co., Ltd tec@usr.cnPage 4 /
/
/
/9
1.
1.
1.
1. Introduction
Introduction
Introduction
Introduction
1.1.
1.1.
1.1.
1.1. Overview
Overview
Overview
Overview
The USR-TCP232- E45 product series i s an intelligent plug-and-play
RS232 /RS485/UART to Ethernet adapter that enables any device or machine with a serial
port, to become Ethernet network and Internet enabled , and have network data transmit
ability . It features a powerful built-in device server, so you can access your serial device
from anywhere in the world over internet! The USR-TCP232- E45 is easily configured via
local network, or through the serial port and web pages .
We Provide Network products and the best service to our customers.
• Chips • Modules • Software • Products
1.2
1.2
1.2
1.2 Features
Features
Features
Features
1. New Cortex-M 4 kernel, industrial working temperature range (-40~85 ℃) , elaborate
optimization TCPIP protocol stack, stable and reliable.
2. selectable RS232 /RS485/UART port, Different port can be used together, work
independently, distinguish the connected serial port via port number.
3. Auto-MIDX function, discretionarily connect cross-over or direct network cable,
automatic switching.
4. Support TCP Server, TCP Client, UDP, UDP Server, HTTPD Client ,websocket,
various of ethernet protocols .
5. Support virtual serial port, provide corresponding software.
6. Serial port highest baud rate from 300bps to 102 4 0 00 bps(COM0 only max
256000bps) .
7. wide voltage input, more applications.
8. Support DHCP , automatically access IP, can inquire the facility within network
through the UDP broadcast protocol (using software USR-TCP232-E45 Setup) .
9. Supply the protocol for VIP customers
10. Provide PC TCP/IP SOCKET programming example, VB , C++ , Delphi , Android , IOS.
11. A built-in web page, also parameter setting via web, can customize web pages for
users.
12. Can also set via UDP broadcast , provide the set up protocol.
13. Reload button, a key restore default Settings.
14. RJ45 status indicator light, RJ45 interface built-in isolation transformer, 2 KV
isolation.
15. The global unique MAC address bought from IEEE, the user can define MAC
address (please state when you make order) .

Multifunctional serial to Ethernet module user manual http://en.usr.cn
Jinan USR IOT Technology Co., Ltd tec@usr.cnPage 5 /
/
/
/9
16. Support upgrade firmware via network.
17. Support visit IP and domain name at the same time
18. Support up to 8 link from client when act as TCP Server, same data will be send to all
client.
19. Can modify http server port from default port 80 for module built-in http server.
20. Support Keepalive, detect a dead link quickly and make sure the connection more
stable.
1.2.
1.2.
1.2.
1.2. Applications
Applications
Applications
Applications
Fire and Security Panels
Vending Machines
Point of Sale Terminals
Remote equipment management
IT management services
Access Control
Industrial Control
Home Automation
Instrumentation
Building Control
Power Management
1.3.
1.3.
1.3.
1.3. Order
Order
Order
Order information
information
information
information
Type
Type
Type
Type Part
Part
Part
Part Numbers
Numbers
Numbers
Numbers Electric
Electric
Electric
Electric interface
interface
interface
interface
Serial to Ethernet Converter USR-TCP232- E2 2 * TTL 232
Serial to Ethernet Converter USR-TCP232- ED2 3 * TTL232
Serial to Ethernet Converter USR-TCP232- 410 1 * RS232 , 1 * RS485
Diagram 1 - 1 Order information
Note:
For webpages: PORT0, PORT1 and PORT2, represent below:
TCP232-E2: PORT0 represent UART0, PORT1 represent UART1, PORT2 not available in
hardware;
TCP232-ED2: PORT0 represent UART0, PORT1 represent UART1, PORT2 represent
UART2;
TCP232-410: PORT0 represent RS232 ,PORT1 represent RS485 ,PORT2 not available;

Multifunctional serial to Ethernet module user manual http://en.usr.cn
Jinan USR IOT Technology Co., Ltd tec@usr.cnPage 6 /
/
/
/9
1.4.
1.4.
1.4.
1.4. Electrical
Electrical
Electrical
Electrical c
c
c
c haracteristics
haracteristics
haracteristics
haracteristics
All the data is get at tempture 25 ℃, network cable plug in, max data transmittion(10ms, 20
byte, sending data constantly).
Working tempterature range: -40~85 ℃.
Unpowered storage temperature and humidity range: -65~150 ℃, 5~95%RH
Input Voltage
range
Current
cosumption at
3.3V
Current
cosumption at
5V
Current
cosumption at
12V
TCP232-E2 DC3.3 or 5V 120mA(115-12
5)
120mA(115-12
5)
Not available
TCP232-ED2 DC3.3 or 5V 120mA(115-12
5)
120mA(115-12
5)
Not available
TCP232-410 DC5~18V Not available 86.5mA(85-87.
9)
44.3mA(43.7-4
5.1)

Multifunctional serial to Ethernet module user manual http://en.usr.cn
Jinan USR IOT Technology Co., Ltd tec@usr.cnPage 7 /
/
/
/9
2.
2.
2.
2. Module
Module
Module
Module Test
Test
Test
Test
2.1.
2.1.
2.1.
2.1. Hardware
Hardware
Hardware
Hardware connection
connection
connection
connection
The picture below is a serial device server of TCP232-410 . It have 1 RS232 and 1 RS485,
they can work independently, now we are going to test it's RS232 function.
Diagram 2 - 1 TCP232-410 with case
Power 410 with DC5V adaptor(make sure you can supply at least 200mA current at DC5V)
Connect 410's RJ45 to PC directly with network cable( No need to distinguish cross or direct
connect cable ), or connect the module and PC via switch or router and set the PC's ip address to
192.168.0.201(must be a format of 192.168.0.xxx), netmask 255.255.255.0.
Connect 410 and PC's comm port together, with a standard female-female extend
cable(default cross-over cable).
Here is TCP232-410's default net configuration ,
IP address: 192.168.0.7
Subnet mask: 255.255.255.0
The default gateway: 192.168.0.1

Multifunctional serial to Ethernet module user manual http://en.usr.cn
Jinan USR IOT Technology Co., Ltd tec@usr.cnPage 8 /
/
/
/9
Diagram 2 - 2 IP Address Selection in module's built-in webpage
2.2.
2.2.
2.2.
2.2. Login
Login
Login
Login
Open a browser, type and Login above IP address http://192.168.0.7 , you will enter module's
setup web pages.
User name and password are both “ admin ” , this can be modified after login into the system.

Multifunctional serial to Ethernet module user manual http://en.usr.cn
Jinan USR IOT Technology Co., Ltd tec@usr.cnPage 9 /
/
/
/9
Diagram 2 - 3 Login module's web page
After you have login, you can see w ebpage as follow ,
Diagram 2 - 4 page after login
Current config and status: include display of firmware revision, ip address and mac address.
Port0 settings: represent RS232 port config.
Port1 settings: represent RS485 port config.
Port2 settings: not available.
Web to serial: wesocket function which enable you send and receive data between webpage
and comm port 0(Port 0 only).

Multifunctional serial to Ethernet module user manual http://en.usr.cn
Jinan USR IOT Technology Co., Ltd tec@usr.cnPage 10 /
/
/
/9
Miscellaneous s ettings : used to set key parameters such as module IP and module name , also
include reset and reload button in webpage.
Note:
For webpages: PORT0, PORT1 and PORT2, represent below:
TCP232-E2/ED2: PORT0 represent UART0, PORT1 represent UART1, PORT2 not available;
TCP232-410: PORT0 represent RS232 ,PORT1 represent RS485 ,PORT2 not available;
2.3.
2.3.
2.3.
2.3. Default
Default
Default
Default parameter
parameter
parameter
parameter test
test
test
test
To test briefly in default working mode, on the foundation of the hardware connection, use
the matched software USR-TCP232-Test to make transmit t ing and receiving test. The left side is
serial port, use software default settings, the right side is the network part, set to TCP Client and
server to be IP 192.168.0.7, port 23.
By default, the two COM port to be set as TCP Server mode, port is 23/26.
This illustration shows the 10 ms two-way simultaneous automatically transmit screenshots.
As the allocated memory of the display control is limited, in order to test large amount of data
transceiver, here will suspend the receive display, only statistical data. Below is the effect after
testing for a few hours, and transmit t ing millions of bytes. Stable and reliable, without a byte loss.
Altri manuali per USR-TCP232-E2
1
Questo manuale è adatto per i seguenti modelli
2
Indice
Altri manuali USR IOT Convertitore multimediale

USR IOT
USR IOT USR-W610 Manuale utente

USR IOT
USR IOT USR-DR404 Manuale utente

USR IOT
USR IOT USR-C322 Manuale utente

USR IOT
USR IOT USR-TCP232-ED2 Manuale utente

USR IOT
USR IOT USR-W630 Manuale utente

USR IOT
USR IOT USR-CANET200 Manuale utente

USR IOT
USR IOT USR-W600 Manuale utente

USR IOT
USR IOT USR-TCP232-410s Manuale utente

USR IOT
USR IOT USR-GM1 Manuale utente

USR IOT
USR IOT USR-N520 Manuale utente




















