Usr USR-TCP232- E, USR-TCP232- ED, USR-TCP232-400, USR-TCP232-401, USR-TCP232-500 User Manual

...
Page 1
Multifunctional serial to Ethernet module user manual http://en.usr.cn
Multifunctional
Multifunctional
Multifunctional
Multifunctional S
(USR-TCP232- E ) (USR-TCP232-ED) (USR-TCP232- 400 ) (USR-TCP232-401) (USR-TCP232- 500 ) (USR-TCP232-504)
USR-TCP232-52E)(USR-TCP232-52PE)
S
erial
S
erial
erial to
to
E
thernet
to
E
thernet
to E
E thernet
thernet converter
converter
converter
converter
File version: V1. 3.2
Jinan USR IOT Technology Co., Ltd. works on LAN and WAN and wireless for MCU to
Ethernet Solutions, Ethernet, WIFI, GPRS, Zigbee and Wireless modules, we can supply
custom design for those usage, look ing forward to cooperat e with you.
/
/
Page 1 /
Jinan USR IOT Technology Co., Ltd tec@usr.cn
/ 9
Page 2
Multifunctional serial to Ethernet module user manual http://en.usr.cn
Contents
Contents
Contents
Contents
Multifunctional S erial to E thernet converter ..................................................................................... 1
1. Introduction ................................................................................................................................... 5
1.1. Overview ........................................................................................................................... 5
1.2 Features ............................................................................................................................... 5
1.2. Applications ....................................................................................................................... 6
1.3. Order information .............................................................................................................. 6
1.4. Electrical c haracteristics .................................................................................................... 7
2. Work Mode ................................................................................................................................... 8
2.1. Block diagram .................................................................................................................... 8
2.2. UDP mode .......................................................................................................................... 8
2.3. TCP Client mode ............................................................................................................... 9
2.4. UDP Server mode ............................................................................................................ 10
2.5. TCP Server mode ............................................................................................................. 11
2.6. Httpd Client mode ............................................................................................................ 12
2.7. TCP Auto mode ............................................................................................................... 14
2.8. WEB to Serial mode ........................................................................................................ 16
3. Hardware interface: ..................................................................................................................... 17
3.1. USR-TCP232-E ............................................................................................................... 17
3.1.1. Hardware ............................................................................................................... 17
3.1.2. Power ..................................................................................................................... 17
3.1.3. LED status ............................................................................................................. 18
3.1.4. Serial(TTL) interface ............................................................................................. 18
3.2. USR-TCP232-ED ............................................................................................................ 18
3.2.1. Hardware ............................................................................................................... 18
3.2.2. Power ..................................................................................................................... 19
3.2.3. LED status ............................................................................................................. 19
3.2.4. Serial(TTL) interface ............................................................................................. 20
3.3. USR-TCP232-400 ............................................................................................................ 22
3.3.1. Hardware ............................................................................................................... 22
3.3.2. Power ..................................................................................................................... 22
3.3.3. LED status ............................................................................................................. 23
3.3.4. RS232 interface ..................................................................................................... 23
3.3.5. RS485 /RS422 interface .................................................................................... 24
3.4. USR-TCP232-401 ............................................................................................................ 24
3.4.1. Hardware ............................................................................................................... 24
3.4.2. Power ..................................................................................................................... 25
3.4.3. LED status ............................................................................................................. 25
3.4.4. RS232 interface ..................................................................................................... 25
/
/
Page 2 /
Jinan USR IOT Technology Co., Ltd tec@usr.cn
/ 9
Page 3
Multifunctional serial to Ethernet module user manual http://en.usr.cn
3.4.5. RS485 interface ................................................................................................. 26
3.5. USR-TCP232-500 ............................................................................................................ 26
3.5.1. Hardware ............................................................................................................... 26
3.5.2. Power ..................................................................................................................... 27
3.5.3. LED status ............................................................................................................. 27
3.5.4. RS232 interface ..................................................................................................... 27
3.5.5. RS485 /RS422 interface .................................................................................... 28
3.6. USR-TCP232-504 ............................................................................................................ 29
3.6.1. Hardware ............................................................................................................... 29
3.6.2. Power ..................................................................................................................... 29
3.6.3. LED status ............................................................................................................. 30
3.6.4. RS485 interface ................................................................................................. 30
3.7. USR-TCP232-52E ........................................................................................................... 30
3.7.1. Hardware ............................................................................................................... 30
3.7.2. Power ..................................................................................................................... 31
3.7.3. LED status ............................................................................................................. 33
3.7.4. RS232 interface ..................................................................................................... 33
3.7.5. RS485 interface ................................................................................................. 33
3.7.6. RJ45 interface .................................................................................................... 34
3.8. USR-TCP232-52PE ......................................................................................................... 34
3.8.1. Hardware ............................................................................................................... 34
3.8.2. Power ..................................................................................................................... 34
3.8.3. LED status ............................................................................................................. 34
3.8.4. RS232 interface ..................................................................................................... 35
3.8.5. RS485 interface ................................................................................................. 35
3.8.6. RJ45 interface .................................................................................................... 35
3.9. RJ45 interface .................................................................................................................. 35
3.10. Reload ............................................................................................................................ 36
4. Paramters configuration .............................................................................................................. 36
4.1. Web page ......................................................................................................................... 36
4.2. Serial port ........................................................................................................................ 36
4.3. network command(setup software) .................................................................................. 37
5. Specific functions ........................................................................................................................ 38
5.1. Hardware flow control ..................................................................................................... 38
5.2. User MAC address ........................................................................................................... 39
5.3. Firmupdate ....................................................................................................................... 40
6. Module USES ............................................................................................................................. 42
6.1. Hardware connection ....................................................................................................... 42
6.2. Login ................................................................................................................................ 43
6.3. Default working mode test ............................................................................................... 45
6.4. Common questions .......................................................................................................... 46
6.4.1. Work across network segment ............................................................................... 46
6.4.2. Ping is OK but can not open web pages ................................................................ 47
/
/
Page 3 /
Jinan USR IOT Technology Co., Ltd tec@usr.cn
/ 9
Page 4
Multifunctional serial to Ethernet module user manual http://en.usr.cn
6.4.3. After firm update, can not open web page ............................................................. 47
6.4.4. When connection established, server received serval chars .................................. 47
6.4.5. Every serval seconds, module reconnect ............................................................... 48
7. C ontact us .................................................................................................................................... 49
8. Modified history .......................................................................................................................... 50
/
/
Page 4 /
Jinan USR IOT Technology Co., Ltd tec@usr.cn
/ 9
Page 5
Multifunctional serial to Ethernet module user manual http://en.usr.cn
1.

Introduction

1.
Introduction
1.
1. Introduction
Introduction
1.1.

Overview

1.1.
Overview
1.1.
1.1. Overview
Overview
The USR-TCP232- E45 is an intelligent plug-and-play RS232 to Ethernet adapter that
enables any device or machine with a serial port, to become Ethernet network and
Internet enabled. Go from Ethernet to serial with the USR-TCP232- E45 . 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 Ethernet, and can
also be set up through the serial port and web pages .
We Provide Network products and the best service to our customers.
Chips Modules Software Products
1.2
Features
1.2
Features
1.2

1.2 Features

Features
1. New Cortex-M3 kernel, industrial working temperature range, elaborate optimization
TCPIP protocol stack, stable and reliable.
2. A RS232 port, can set COM port and working mode independently, work
independently, support RTS/CTS hardware flow control.
3. A RS232/RS485 compatible port, auto adaptation.
4. RS232 and RS485 can be used together, work independently, distinguish the
connected serial port via port number.
5. Auto-MDI/MIDX function, discretionarily connect cross-over or direct network cable,
automatic switching.
6. Support TCP Server, TCP Client, UDP, UDP Server, HTTPD Client various of work
modes.
7. Support virtual serial work way, provide corresponding software.
8. Serial port highest baud rate from 110bps to 102 4 0 00 bps(COM0 only max
256000bps) .
9. wide voltage input, more applications.
10. Support DHCP automatically access IP, can inquire the facility within network
through the UDP broadcast protocol.
11. Supply the protocol for VIP customers, can integrate parameter seting function to
users software applications.
12. Provide PC TCP/IP SOCKET programming example, VB , C++ , Delphi , Android , IOS.
13. The built-in web page, also parameter setting via web, can customize web pages for
users.
14. Can also set via UDP, provide the set up protocol and software source code.
15. Reload button, a key restore default Settings.
/
/
Page 5 /
Jinan USR IOT Technology Co., Ltd tec@usr.cn
/ 9
Page 6
Multifunctional serial to Ethernet module user manual http://en.usr.cn
16. RJ45 status indicator light, RJ45 interface built-in isolation transformer, 2 KV
isolation.
17. The global only MAC address bought from IEEE, the user can define MAC address
(please state when you make order) .
18. Support upgrade firmware via network.
19. Support IP and domain name at the same time
20. Support up to 4 link from client when act as TCP Server, send and receive data with
id.
21. Can modify MAC address you wanted.
22. Can modify http server port for module built-in http server.
23. Support Keepalive.
1.2.

Applications

1.2.
Applications
1.2.
1.2. Applications
Applications
Fire and Security Panels
Vending Machines
Point of Sale T erminals
Remote equipment management
IT management services
Access Control
Industrial Control
Home Automation
Instrumentation
Building Control
Power Management
1.3.
Order
1.3.
Order
1.3.
1.3. Order

Order information

Type
Type
Type
Type Part
Serial to Ethernet Converter USR-TCP232- E 2 * TTL 232
Serial to Ethernet Converter USR-TCP232- ED 3 * TTL232
Serial to Ethernet Converter USR-TCP232- 400 1 * RS232 , 1 * RS485 /RS422
Serial to Ethernet Converter USR-TCP232- 401 1 * RS232 , 1 * RS485
Serial to Ethernet Converter USR-TCP232- 500 2 * RS232 , 1 * RS485 /RS422
Serial to Ethernet Converter USR-TCP232- 504 3 * RS485
Serial to Ethernet Converter USR-TCP232- 52E 2 * RS232, 1 * RS485, 2 * RJ45
Serial to Ethernet Converter USR-TCP232- 52PE 2 * RS232, 1 * RS485, 2 * RJ45(POE)
Note:
For webpages: PORT0, PORT1 and PORT2, represent below:
Jinan USR IOT Technology Co., Ltd tec@usr.cn
information
information
information
Part
Numbers
Part
Numbers
Part Numbers
Numbers Electric
Diagram 1 - 1 Order information
/
/
Page 6 /
/ 9
Electric
Electric
Electric interface
interface
interface
interface
Page 7
Multifunctional serial to Ethernet module user manual http://en.usr.cn
TCP232-E: PORT0 represent UART0, PORT1 represent UART1, PORT2 not available in
hardware;
TCP232-ED: PORT0 represent UART0, PORT1 represent UART1, PORT2 represent
UART2;
TCP232-400/401: PORT0 represent RS232 PORT1 represent RS485 PORT2 not available; TCP232-500: PORT0 and PORT1 represent RS232_0 and RS232_1 PORT2 represent
RS485/422;
TCP232-504: PORT0, PORT1, PORT2 represent RS485_0 RS485_1 and RS485_2; TCP232-52E/52PE:PORT0 and PORT1 represent RS232_0 and RS232_1 PORT2 represent
RS485
1.4.
Electrical
1.4.
Electrical
1.4.
1.4. Electrical
Electrical c
DC Power Supply Voltage : Two DC Voltage can be choose for USR-TCP232-E, others see Hard interface
VCC type: 3.3V , min: 3.15 max: 3.45 V VDD type:
Operating supply current : Max: 180 MA
Operating Temperature : -40~85 ° C
Storage temperature : -40~85 ° C
c
haracteristics
c
haracteristics
c haracteristics
haracteristics
5V,
min: 4.5V max: 5.5V
/
/
Page 7 /
Jinan USR IOT Technology Co., Ltd tec@usr.cn
/ 9
Page 8
Multifunctional serial to Ethernet module user manual http://en.usr.cn
2.
Work
2.
Work
2.
2. Work
Work Mode
2.1.
Block
2.1.
Block
2.1.
2.1. Block

Block diagram

Take USR-TCP232-E for example show demo application of module USR-TCP232-E.
Mode
Mode
Mode
diagram
diagram
diagram
power
TTL
User
device
Diagram 2 - 1 USR-TCP232-E application demo
2.2.
UDP
2.2.
UDP
2.2.
2.2. UDP

UDP mode

When in UDP mode, after power on, module listen on specific port.
mode
mode
mode
1. Module listen a UDP port
2. Data transfer With out connection, only data packet
Serial to Ethernet
Converter
USR
-
TCP 232
- E
1 . PC listen a UDP port
MCU
51
,
AVR
,
PIC
,
51
,
51
51
,
,
ARM
AVR
,
PIC
,
ARM
AVR
AVR
,
,
PIC
PIC
,
,
ARM
ARM
RS
232
Ethernet
Ethernet
Module work at UDP mode
Diagram 2 - 2 UDP mode
When received data from this udp port, send it to serial port;otherwise, when data is received
from serial port, send it to ethernet.
The assist software can be download from link below:
http://www.usr.so/Download/121.html
http://www.usr.so/Download/121.html
http://www.usr.so/Download/121.html
http://www.usr.so/Download/121.html
/
/
Page 8 /
Jinan USR IOT Technology Co., Ltd tec@usr.cn
/ 9
Page 9
Multifunctional serial to Ethernet module user manual http://en.usr.cn
Diagram 2 - 3 UDP mode communication test
Note:
1) local port and remote port can be different.
2) Max UDP send length(ethernet to serial) is 1472 bytes. If you want to send more than 1472
Bytes, please div it into shorter packet.
2.3.
TCP
2.3.
TCP
2.3.
2.3. TCP
TCP Client
Open web pages and config module to
Telent Mode: TCP Client
Remote port number: 23
Telnet Server Addr: 192.168.0.131
Client
Client
Client mode
mode
mode
mode
/
/
Page 9 /
Jinan USR IOT Technology Co., Ltd tec@usr.cn
/ 9
Page 10
Multifunctional serial to Ethernet module user manual http://en.usr.cn
Use USR-TCP232-Test,
Diagram 2 - 4 TCP Client mode
Diagram 2 - 5 TCP Client communication test
2.4.
UDP
2.4.
UDP
2.4.
2.4. UDP
UDP Server
Like the socket UDP server in pc API. Many to one data transfer supported, the data
from uart/232/485 part will be transformed to the last UDP packet’s address.
Here show 2 UDP client communicate with server, server send data to the last client
communicates with it.
Jinan USR IOT Technology Co., Ltd tec@usr.cn
Server
Server
Server mode
mode
mode
mode
Page 10 /
/
/
/ 9
Page 11
Multifunctional serial to Ethernet module user manual http://en.usr.cn
Diagram 2 - 6 Client 1 <-> server
Diagram 2 - 7 Client 2 <-> server
2.5.
TCP
2.5.
TCP
2.5.
2.5. TCP
TCP Server
TCP Server mode have 2 parameters: max link number and link type
1. max link number: 1 ~ 4;
2. Link type: typical, completely transparent, send data to all client;
Jinan USR IOT Technology Co., Ltd tec@usr.cn
Server
Server
Server mode
mode
mode
mode
Page11/
/
/
/ 9
Page 12
Multifunctional serial to Ethernet module user manual http://en.usr.cn
extend1, communicate with id, otherwise abandon;
extend2, communicate with id, otherwise send to all client.
For link type extended 1 and extended 2:
When receive data from ethernet, module will send data to serial port with head ‘ I
‘ N
,followed by data. ’ I’represent incoming data, ‘ N
When user MCU want send data to module serial port, start with head ‘ O
represent send out, ‘ N
When new TCP connection incoming, module will send ‘ C’‘ N
that there is current link ‘ N
When link number have exceed maximum, new link requirment will lead to message ‘ F’‘ F ’ .
When disconnect, module will send ‘ D
M.
Note:
serial data need to be sent in one package to module.
represent which client.
accessed, total link number ‘ M ’ .
‘ N
represent client index.
‘ N
data... ‘ O
‘ M
to serial port, indicating
‘ M ’ , represent current link N is delete, left link
Diagram 2 - 8 web page configuration
2.6.
Httpd
2.6.
Httpd
2.6.
2.6. Httpd
Httpd Client
This function is easier used for web page developer. We establish one web server page, add
this:
[<?php echo $_GET['data']; ?>]
Means we can GET data from HTTP client’s request. Open this URL:
www.usr.cn/1.php?data=12345 , the web page is downbelow, we can see that the web server have
got the data(12345),
Jinan USR IOT Technology Co., Ltd tec@usr.cn
Client
Client
Client mode
mode
mode
mode
Page 12 /
/
/
/ 9
Page 13
Multifunctional serial to Ethernet module user manual http://en.usr.cn
www.usr.cn/1.php?
Diagram 2 - 9 Request www.usr.cn/1.php?
www.usr.cn/1.php?
www.usr.cn/1.php? and upload data
Then we take another way, set USR-TCP232-E module Work mode HTTPD Client, Target
www.usr.cn,
address www.usr.cn,
www.usr.cn,
www.usr.cn, Target port 80,
Diagram 2 - 10 config HTTPD Client
/
Jinan USR IOT Technology Co., Ltd tec@usr.cn
Page 13 /
/
/ 9
Page 14
Multifunctional serial to Ethernet module user manual http://en.usr.cn
Diagram 2 -
Note.
HTTPD Client based on TCP Client.
2.7.
TCP
2.7.
TCP
2.7.
2.7. TCP
TCP Auto
When power on, module work as TCP Server, listen on local port, but if there is data received
from serial port before any connection, module will try to connect remote IP and port as TCP
Client.
Auto
Auto
Auto mode
mode
mode
mode
11
module act as HTTPD Client
/
Jinan USR IOT Technology Co., Ltd tec@usr.cn
Page 14 /
/
/ 9
Page 15
Multifunctional serial to Ethernet module user manual http://en.usr.cn
Diagram 2 - 12 TCP Auto act as Server
Diagram 2 - 13 TCP Auto act as Client
/
Jinan USR IOT Technology Co., Ltd tec@usr.cn
Page 15 /
/
/ 9
Page 16
Multifunctional serial to Ethernet module user manual http://en.usr.cn
2.8.
WEB
2.8.
WEB
2.8.
2.8. WEB
WEB to
Communication mode between serial port and web pages.
to
Serial
to
Serial
to Serial
Serial mode
mode
mode
mode
Diagram 2 - 14 config module to WEB to Serial mode
Select Telnet mode Web to Serial
Diagram 2 - 15 WEB to Serial communication demo
Note:
1 received window show data only when click on “ read button or select “ Auto read ” button.
/
Jinan USR IOT Technology Co., Ltd tec@usr.cn
Page 16 /
/
/ 9
Page 17
Multifunctional serial to Ethernet module user manual http://en.usr.cn
2 whether WEB to Serial mode or not, send web data to serial always work.
3.

Hardware

3.
Hardware
3.
3. Hardware

Hardware interface:

3.1.

USR-TCP232-E

3.1.
USR-TCP232-E
3.1.
3.1. USR-TCP232-E
USR-TCP232-E
About the new PCB libraries file, we can load from website.
interface:
interface:
interface:
3.1.1.
3.1.1.
3.1.1.
3.1.1. Hardware
Hardware
Hardware
Hardware
Diagram 3 - 1 USR-TCP232-E
1) Mechanical dimesion : ( L × W × H): 5 5 × 30 × 23 .2 (mm) including RJ45 and connector
2) PCB dimension (L × W): 50 .4 × 30.0 (mm)
3) 5V 3.3V double power input choose 1 input
1) 2 * serial(2 * TTL)
2) TTL serial port support hardware flow control
3.1.2.
3.1.2.
3.1.2.
3.1.2. Power
supply high quality 5 V / 1 A power adapter.
Jinan USR IOT Technology Co., Ltd tec@usr.cn

Power

Power
Power
Power supply socket, The input voltage range 3.3V or
/
Page 17 /
/
/ 9
5V
, current 150 MA. We default
Page 18
Multifunctional serial to Ethernet module user manual http://en.usr.cn
3.1.3.
3.1.3.
3.1.3.
3.1.3. LED
LED
status
LED
status

LED status

status
Except for Link and Data of RJ45, there is one work LED interface
ID name
1 Work
2 Link(green) On RJ45, when ethernet link established, on.
3 Data(yellow) On RJ45, wnen ethernet data communicate, twinkle.
Description
Just interface, have no LED on module,
If you needed, take this pin with LED and 510 ohm
resistor to GND.
See Pin8 for further explantion.
Diagram 3 - 2 LED definition
3.1.4.
3.1.4.
3.1.4.
3.1.4. Serial(TTL)
3.2.
3.2.
3.2.
3.2. USR-TCP232-ED
Serial(TTL)
Serial(TTL)

Serial(TTL) interface

The serial port is TTL level ( 2 * TTL serial port, can be directly connected to MCU ) .
number name Description
1 TXD0 Uart0 transmit data pin
2 RXD0 Uart0 receive data pin
3 CTS0 Uart0 RS232 clear to send
4 RTS0 Uart0 require to send
5 RXD1 Uart1 receive data pin
6 TXD1 Uart1 transmit data pin

USR-TCP232-ED

USR-TCP232-ED
USR-TCP232-ED
interface
interface
interface
Diagram 3 - 3 connector interface(include uart0 and uart1)
3.2.1.
3.2.1.
3.2.1.
3.2.1. Hardware
Jinan USR IOT Technology Co., Ltd tec@usr.cn

Hardware

Hardware
Hardware
Page 18 /
/
/
/ 9
Page 19
Multifunctional serial to Ethernet module user manual http://en.usr.cn
Diagram 3 - 4 USR-TCP232-ED
1) Mechanical dimesion : ( L × W × H): 44.45 × 31.75 × 15.4 (mm) including RJ45 and connector
2) PCB dimension (L × W): 44.45 × 31.75 (mm)
3) 5V 3.3V double power input choose 1 input
4) 3 * serial(3 * TTL)
5) TTL serial port support hardware flow control
3.2.2.
3.2.2.
3.2.2.
3.2.2. Power
supply high quality 5 V / 1 A power adapter.
3.2.3.
3.2.3.
3.2.3.
3.2.3. LED

Power

Power
Power
Power supply socket, The input voltage range 3.3V or
LED
status
LED
status

LED status

status
Except for Link and Data of RJ45, there is one work LED interface
ID name
1 Work
2 Link(green) On RJ45, when ethernet link established, on.
3 Data(yellow) On RJ45, wnen ethernet data communicate, twinkle.
Description
Twinkle every 1 seconds
Diagram 3 - 5 LED definition
5V
, current 150 MA. We default
/
Jinan USR IOT Technology Co., Ltd tec@usr.cn
Page 19 /
/
/ 9
Page 20
Multifunctional serial to Ethernet module user manual http://en.usr.cn
3.2.4.
3.2.4.
3.2.4.
3.2.4. Serial(TTL)
Serial(TTL)
Serial(TTL)

Serial(TTL) interface

interface
interface
interface
Diagram 3 - 6 view from bottom
Diagram 3 - 7 pin diagram
/
Jinan USR IOT Technology Co., Ltd tec@usr.cn
Page 20 /
/
/ 9
Page 21
Multifunctional serial to Ethernet module user manual http://en.usr.cn
The serial port is TTL level ( 3 * TTL serial port, can be directly connected to MCU ) .
number name Description
1 ETH_TX+ Ethernet TX+
2 ETH_TX- Ethernet TX-
3 ETH_RX+ Ethernet RX+
4 ETH_RX- Ethernet RX-
5 LED_DAT A Ethernet Data
6 TXD0 Uart0 transmit data pin
7 RXD0 Uart0 receive data pin 8 485_en(RTS0) RS485 enable Uart0 require to send
9 Reload Restore to factory
10 RST reset
11 GND ground
12 GND ground
13 +5V +5V power
14 +5V +5V power
15 LED_LINK Ethernet link
16 +3.3V +3.3V power
17 RXD1 Uart1 receive data pin
18 TXD1 Uart1 transmit data pin
19 RXD2 Uart2 receive data pin
20 TXD2 Uart2 transmit data pin
21 CTS0 Uart0 RS232 clear to send
22 RTS1 Uart1 require to send
23 CTS1 Uart1 RS232 clear to send
Diagram 3 - 8 connector interface(include uart0, uart1, uart3)
Note:
1) Uart2 have no RTS and CTS
/
Jinan USR IOT Technology Co., Ltd tec@usr.cn
Page 21 /
/
/ 9
Page 22
Multifunctional serial to Ethernet module user manual http://en.usr.cn
3.3.

USR-TCP232-400

3.3.
USR-TCP232-400
3.3.
3.3. USR-TCP232-400
USR-TCP232-400
3.3.1.
3.3.1.
3.3.1.
3.3.1. Hardware

Hardware

Hardware
Hardware
Diagram 3 - 9 USR-TCP232-400
1) Mechanical dimesion : ( L × W × H): 90 × 84 × 2 5 (mm) including RJ45 and connector;
2) PCB dimension (L × W): 80.3 × 50. 3 (mm) ;
3) +5 ~ +18V power input;
4) DC power plug, 5.08 connector power input
5) 2 * serial(1 * RS232, 1 * RS485/422)
6) 1 * RS232 support hardware flow control
7) 1 * RS485/RS422
8) Specific: PIN 9 of the RS232 DB9 can connect to power for special uses.
3.3.2.
3.3.2.
3.3.2.
3.3.2. Power
serial com (through the PCB jumper short circuit, default closed).

Power

Power
Power
This system has three power supply interface, a power hub, a 5.08 terminal, pin 9 of the two
/
Jinan USR IOT Technology Co., Ltd tec@usr.cn
Page 22 /
/
/ 9
Page 23
Multifunctional serial to Ethernet module user manual http://en.usr.cn
Power supply socket, outer diameter 5.5 mm inner 2.1 mm standard size, inside plus, outside
minus. The input voltage range 5 ~ 1 8
A power adapter.
Power supply socket, the terminal and pin 9 of the com , mutual unicom, can choose one
power supply in, and another power supply out, better adapt to the use environment.
3.3.3.
3.3.3.
3.3.3.
3.3.3. LED
3.3.4.
3.3.4.
3.3.4.
3.3.4. RS232
LED
status
LED
status

LED status

status
Equipment have 4 indicator lights in total, sequence from left to right .
ID Name Description
1 Power(red) Bright after power on
2 Work(green) Flash at work
3 Link(green) In RJ45 port, bright after network connection
4 Data(yellow) In RJ45 port, flash if there are datas on network
RS232
RS232

RS232 interface

interface
interface
interface
V,
current 150 MA. W e default supply high quality 5 V / 1
Diagram 3 - 10 LED definition
The serial port is male (needl), RS232 level (can be directly connected to computer serial),
part of RS232 pin sequences consistent to computer COM port. When connected with the
computer, we need to use cross cable (2-3 cross, 7-8 cross, 5-5 direct, 7-8 can don ’ t connect, but
musn ’ t direcly connect to computer . Otherwise, it might lead to irregularly work).
The DB9 interface contains the RS232, RS485 and RS422 interfaces.
Number RS232 RS485 RS422 Description
1 - B(-) TX- RS485 minus or RS422 transmit minus
2 RXD - - RS232 device receive data pin
3 TXD - - RS232 device transmit data pin
4 - - RX- RS422 receive minus
5 GND GND GND Signal ground
6 - A(+) TX+ RS485 plus or RS422 transmit plus
7 RTS - - RS232 require to send
8 CTS - - RS232 clear to send
9 - - RX+ RS422 receive plus
Diagram 3 -
Note: this DB9 interface include RS232 and RS485/RS422.
11
DB9 interface
/
Jinan USR IOT Technology Co., Ltd tec@usr.cn
Page 23 /
/
/ 9
Page 24
Multifunctional serial to Ethernet module user manual http://en.usr.cn
3.3.5.
3.3.5.
3.3.5.
3.3.5. RS485
A (+), B (-) to B (-).
and RS485 interface, but can only use one in a time, autoadaptation, connect as RS485 is RS485
function, connect as RS422 wiring is RS422 function.
3.4.
3.4.
3.4.
3.4. USR-TCP232-401
3.4.1.
3.4.1.
3.4.1.
3.4.1. Hardware
RS485
RS485
RS485 /RS422
RS485 two wirings terminal, A
RS422 interface also connected to RS232 nine needles binding post. The device have RS232

USR-TCP232-401

USR-TCP232-401
USR-TCP232-401

Hardware

Hardware
Hardware
/RS422
/RS422
/RS422 interface
interface
interface
interface
(DATA
+), B (DA TA), when connected with RS485, A (+) to
Diagram 3 - 12 USR-TCP232-401
1) Mechanical dimesion : ( L × W × H): 90 × 84 × 2 5 (mm) including RJ45 and connector;
2) PCB dimension (L × W): 80.3 × 50. 3 (mm) ;
3) +5 ~ +18V power input;
4) DC power plug, 5.08 connector power input
5) 2 * serial(1 * RS232, 1 * RS485)
6) 1 * RS232 support hardware flow control
7) 1 * RS485
/
Jinan USR IOT Technology Co., Ltd tec@usr.cn
Page 24 /
/
/ 9
Page 25
Multifunctional serial to Ethernet module user manual http://en.usr.cn
3.4.2.
3.4.2.
3.4.2.
3.4.2. Power
minus. The input voltage range 5 ~ 1 8
A power adapter.
3.4.3.
3.4.3.
3.4.3.
3.4.3. LED

Power

Power
Power
This system has three power supply interface, a power hub, a 5.08 terminal.
Power supply socket, outer diameter 5.5 mm inner 2.1 mm standard size, inside plus, outside
V,
current 150 MA. W e default supply high quality 5 V / 1
LED
status
LED
status

LED status

status
Equipment have 4 indicator lights in total, sequence from left to right .
ID Name Description
1 Power(red) Bright after power on
2 Work(green) Flash at work
3 Link(green) In RJ45 port, bright after network connection
4 Data(yellow) In RJ45 port, flash if there are datas on network
Diagram 3 - 13 LED definition
3.4.4.
3.4.4.
3.4.4.
3.4.4. RS232
part of RS232 pin sequences consistent to computer COM port. When connected with the
computer, we need to use cross cable (2-3 cross, 7-8 cross, 5-5 direct, 7-8 can don ’ t connect, but
musn ’ t direcly connect to computer . Otherwise, it might lead to irregularly work).
RS232
RS232

RS232 interface

The serial port is male (needl), RS232 level (can be directly connected to computer serial),
The DB9 interface contains the RS232, RS485 and RS422 interfaces.
Number RS232 Description
interface
interface
interface
1 - -
2 RXD RS232 device receive data pin
3 TXD RS232 device transmit data pin
4 - -
5 GND Signal ground
6 - -
7 RTS RS232 require to send
8 CTS RS232 clear to send
9 - -
Diagram 3 - 14 DB9 interface
/
Jinan USR IOT Technology Co., Ltd tec@usr.cn
Page 25 /
/
/ 9
Page 26
Multifunctional serial to Ethernet module user manual http://en.usr.cn
3.4.5.
3.4.5.
3.4.5.
3.4.5. RS485
A (+), B (-) to B (-).
RS485
RS485

RS485 interface

RS485 two wirings terminal, A
interface
interface
interface
Diagram 3 - 15 choose RS485 for 401 if you want to use RS485
(DATA
+), B (DA TA), when connected with RS485, A (+) to
3.5.

USR-TCP232-500

3.5.
USR-TCP232-500
3.5.
3.5. USR-TCP232-500
USR-TCP232-500
3.5.1.
3.5.1.
3.5.1.
3.5.1. Hardware

Hardware

Hardware
Hardware
/
Jinan USR IOT Technology Co., Ltd tec@usr.cn
Page 26 /
/
/ 9
Page 27
Multifunctional serial to Ethernet module user manual http://en.usr.cn
Diagram 3 - 16 USR-TCP232-500
1) Mechanical dimesion : ( L × W × H): 155 × 100 × 34 (mm) , including RJ45 and connector
2) PCB dimension (L × W): 130.5 × 90.2 (mm) ;
3) +5 ~ +48V power input
4) DC power plug, 5.08 connector power input
5) 3 * serial(2 * RS232, 1 * RS485/422)
6) 2 * RS232 support hardware flow control
7) 1 * RS485/RS422
8) Specific: PIN 9 of the RS232 DB9 can connect to power for special uses.
3.5.2.
3.5.2.
3.5.2.
3.5.2. Power
serial com (through the PCB jumper short circuit, default closed).
minus. The input voltage range 5 ~ 48
A power adapter.
power supply in, and another power supply out, better adapt to the use environment.
3.5.3.
3.5.3.
3.5.3.
3.5.3. LED

Power

Power
Power
This system has three power supply interface, a power hub, a 5.08 terminal, pin 9 of the two
Power supply socket, outer diameter 5.5 mm inner 2.1 mm standard size, inside plus, outside
V,
current 150 MA. W e default supply high quality 5 V / 1
Power supply socket, the terminal and pin 9 of the com , mutual unicom, can choose one
LED
status
LED
status

LED status

status
Equipment have 4 indicator lights in total, sequence from left to right .
ID Name Description
1 Power(red) Bright after power on
2 Work(green) Flash at work
3 Link(green) In RJ45 port, bright after network connection
4 Data(yellow) In RJ45 port, flash if there are datas on network
Diagram 3 - 17 LED definition
3.5.4.
3.5.4.
3.5.4.
3.5.4. RS232
connected to computer serial), part of RS232 pin sequences consistent to computer COM port.
When connected with the computer, we need to use cross cable (2-3 cross, 7-8 cross, 5-5 direct,
7-8 can don ’ t connect, but musn ’ t direcly connect to computer. Otherwise, it might lead to
irregularly work).
Jinan USR IOT Technology Co., Ltd tec@usr.cn
RS232
RS232

RS232 interface

It have 2 * RS232 interface. The serial port is male (needl), RS232 level (can be directly
The DB9 interface contains the RS232, RS485 and RS422 interfaces.
interface
interface
interface
Page 27 /
/
/
/ 9
Page 28
Note: none
Multifunctional serial to Ethernet module user manual http://en.usr.cn
Number
2
3
5
name
RXD RS232 device receive data pin
TXD RS232 device transmit data pin
GND Signal ground
Description
7 RTS RS232 require to send
8
CTS RS232 clear to send
9 VCC Default not used. there is one pad jumper, default
disconnect, when connect, it can power supply outside
serial device.
Diagram 3 - 18 DB9 interface
3.5.5.
3.5.5.
3.5.5.
3.5.5. RS485
RS485
RS485
RS485 /RS422
/RS422
/RS422
/RS422 interface
interface
interface
interface
RS485 two wirings terminal, A
(DATA
+), B (DA TA), when connected with RS485, A (+) to
A (+), B (-) to B (-).
RS422 interface also connected to RS232 nine needles binding post. The device have RS232
and RS485 interface, but can only use one in a time, autoadaptation, connect as RS485 is RS485
function, connect as RS422 wiring is RS422 function.
/
Jinan USR IOT Technology Co., Ltd tec@usr.cn
Page 28 /
/
/ 9
Page 29
Multifunctional serial to Ethernet module user manual http://en.usr.cn
3.6.

USR-TCP232-504

3.6.
USR-TCP232-504
3.6.
3.6. USR-TCP232-504
USR-TCP232-504
3.6.1.
3.6.1.
3.6.1.
3.6.1. Hardware

Hardware

Hardware
Hardware
Diagram 3 - 19 USR-TCP232-504
1) Mechanical dimesion : ( L × W × H) 95 × 85 × 25 (mm) , including RJ45 and connector;
2) PCB dimension (L × W): 80 × 50 (mm) ;
3) +5 ~ +18V power input;
4) DC power plug, 5.08 connector power input
5) 3 * serial(3 * RS485)
3.6.2.
3.6.2.
3.6.2.
3.6.2. Power
minus. The input voltage range 5 ~ 48
A power adapter.
Jinan USR IOT Technology Co., Ltd tec@usr.cn

Power

Power
Power
This system has three power supply interface, a power hub, a 5.08 terminal.
Power supply socket, outer diameter 5.5 mm inner 2.1 mm standard size, inside plus, outside
V,
current 150 MA. W e default supply high quality 5 V / 1
/
Page 29 /
/
/ 9
Page 30
Multifunctional serial to Ethernet module user manual http://en.usr.cn
3.6.3.
3.6.3.
3.6.3.
3.6.3. LED
3.6.4.
3.6.4.
3.6.4.
3.6.4. RS485
A (+), B (-) to B (-).
3.7.
3.7.
3.7.
3.7. USR-TCP232-52E
LED
status
LED
status

LED status

status
Equipment have 4 indicator lights in total, sequence from left to right .
ID Name Description
1 Power(red) Bright after power on
2 Work(green) On PCB board(can not be seen)
3 Link(green) In RJ45 port, bright after network connection
4 Data(yellow) In RJ45 port, flash if there are data on network
Diagram 3 - 20 LED definition
RS485
RS485

RS485 interface

RS485 two wirings terminal, A

USR-TCP232-52E

USR-TCP232-52E
USR-TCP232-52E
interface
interface
interface
(DATA
+), B (DA TA), when connected with RS485, A (+) to
3.7.1.
3.7.1.
3.7.1.
3.7.1. Hardware

Hardware

Hardware
Hardware
Diagram 3 - 21 USR-TCP232-52E
1) Mechanical dimesion : ( L × W × H): 103 × 105 × 28 (mm) ;
/
Jinan USR IOT Technology Co., Ltd tec@usr.cn
Page 30 /
/
/ 9
Page 31
Multifunctional serial to Ethernet module user manual http://en.usr.cn
2) PCB dimension (L × W): 100 × 76 (mm) ;
3) DC+5 ~ +28V power input;
4) DC power plug, 3.81connector power input;
5) 3 * serial(2 * RS232, 1 * RS485);
6) 2 * RS232 support hardware flow control;
7) 1 * RS485;
8) Specific: PIN 9 of the RS232 DB9 can connect to power for special uses;
9) 2*RJ45 , 10/100M adaptive ,y ou can t ake advantage of the free foot cable to achieve 5-28V
power supply network port .
Diagram 3 - 22 PCB inches
3.7.2.
3.7.2.
3.7.2.
3.7.2. Power
serial com (through the PCB jumper short circuit, default closed) and RJ45 .
3.81 pitch terminal blocks, terminal external customers through the introduction of 5-28V
Jinan USR IOT Technology Co., Ltd tec@usr.cn

Power

Power
Power
This system has four power supply interface, a power hub, a 3.81 terminal, pin 9 of the two
Power supply socket, outer diameter 5.5 mm inner 2.1 mm standard size, inside plus, outside
minus. The input voltage range 5 ~ 28 V . We default supply high quality 5 V / 1 A power
adapter.
power supply line .
/
Page 31 /
/
/ 9
Page 32
Multifunctional serial to Ethernet module user manual http://en.usr.cn
Power supply socket, the terminal and pin 9 of the com , mutual unicom, can choose one
power supply in, and another power supply out, better adapt to the use environment.
Network power, you can use an external network cable to supply power to the module, power
supply range of 5-28V .
/
Jinan USR IOT Technology Co., Ltd tec@usr.cn
Page 32 /
/
/ 9
Page 33
Multifunctional serial to Ethernet module user manual http://en.usr.cn
3.7.3.
3.7.3.
3.7.3.
3.7.3. LED
3.7.4.
3.7.4.
3.7.4.
3.7.4. RS232
connected to computer serial), part of RS232 pin sequences consistent to computer COM port.
When connected with the computer, we need to use cross cable (2-3 cross, 7-8 cross, 5-5 direct,
LED
status
LED
status
LED status
status
Equipment have 5 indicator lights in total, sequence from left to right .
ID Name Description
1 Power(red) Bright after power on
2 Work(green) Flash at work
3 Link 1 (green) In RJ45 1 port, bright after network connection
4 Link 2 (green) In RJ45 2 port, bright after network connection
5 Link 3 (green)
RS232
RS232

RS232 interface

It have 2 * RS232 interface. The serial port is male (needl), RS232 level (can be directly
interface
interface
interface
bright after network connection
Diagram 3 - 23 LED definition
module
7-8 can don ’ t connect, but musn ’ t direcly connect to computer. Otherwise, it might lead to
irregularly work).
The DB9 interface contains the RS232.
Number
2
3
5
7
8 CTS RS232 clear to send
9 VCC Default not used. there is one pad jumper, default
3.7.5.
3.7.5.
3.7.5.
3.7.5. RS485
A (+), B (-) to B (-).
RS485
RS485

RS485 interface

RS485 two wirings terminal, A
interface
interface
interface
name
RXD RS232 device receive data pin
TXD RS232 device transmit data pin
GND Signal ground
RTS RS232 require to send
Description
disconnect, when connect, it can power supply outside
serial device.
Diagram 3 - 24 DB9 interface
(DATA
+), B (DA TA), when connected with RS485, A (+) to
/
Jinan USR IOT Technology Co., Ltd tec@usr.cn
Page 33 /
/
/ 9
Page 34
Multifunctional serial to Ethernet module user manual http://en.usr.cn
3.7.6.
3.7.6.
3.7.6.
3.7.6. RJ45
While supporting DC5-28V POE power supply network cable, reducing the power supply wiring .
3.8.
3.8.
3.8.
3.8. USR-TCP232-52PE
3.8.1.
3.8.1.
3.8.1.
3.8.1. Hardware
1) Mechanical dimesion : ( L × W × H): 103 × 105 × 28 (mm) ;
2) PCB dimension (L × W): 100 × 76 (mm) ;
3) DC+5 ~ +28V power input;
4) DC power plug, 3.81connector power input;
5) 3 * serial(2 * RS232, 1 * RS485);
6) 2 * RS232 support hardware flow control;
7) 1 * RS485;
8) 2*RJ45 , 10/100M adaptive ,y ou can t ake advantage of the free foot cable to achieve 5-28V
RJ45
interface
RJ45
interface

RJ45 interface

interface
With two network interfaces, can be achieved hand in hand communications equipment.

USR-TCP232-52PE

USR-TCP232-52PE
USR-TCP232-52PE

Hardware

Hardware
Hardware
power supply network port .
3.8.2.
3.8.2.
3.8.2.
3.8.2. Power
Network power supply standard 48V POE .
3.8.3.
3.8.3.
3.8.3.
3.8.3. LED

Power

Power
Power
LED
status
LED
status

LED status

status
Equipment have 5 indicator lights in total, sequence from left to right .
ID Name Description
1 Power(red) Bright after power on
2 Work(green) Flash at work
3 Link 1 (green) In RJ45 1 port, bright after network connection
4 Link 2 (green) In RJ45 2 port, bright after network connection
5 Link 3 (green)
bright after network connection module
Diagram 3 - 25 LED definition
/
Jinan USR IOT Technology Co., Ltd tec@usr.cn
Page 34 /
/
/ 9
Page 35
Multifunctional serial to Ethernet module user manual http://en.usr.cn
3.8.4.
3.8.4.
3.8.4.
3.8.4. RS232
connected to computer serial), part of RS232 pin sequences consistent to computer COM port.
When connected with the computer, we need to use cross cable (2-3 cross, 7-8 cross, 5-5 direct,
7-8 can don ’ t connect, but musn ’ t direcly connect to computer. Otherwise, it might lead to
irregularly work).
3.8.5.
3.8.5.
3.8.5.
3.8.5. RS485
RS232
RS232

RS232 interface

It have 2 * RS232 interface. The serial port is male (needl), RS232 level (can be directly
The DB9 interface contains the RS232 .
Number
RS485
RS485

RS485 interface

interface
interface
interface
name
2
3
5
7
8 CTS RS232 clear to send
RXD RS232 device receive data pin
TXD RS232 device transmit data pin
GND Signal ground
RTS RS232 require to send
interface
interface
interface
Description
Diagram 3 - 26 DB9 interface
RS485 two wirings terminal, A
A (+), B (-) to B (-).
3.8.6.
3.8.6.
3.8.6.
3.8.6.
methods PSE.
3.9.
3.9.
3.9.
3.9. RJ45
AUTO MDI/MDIX, can discretionarily connect cross-over or direct network cable. That is to say,
you can use direct cable to connect with computer or test.
RJ45
interface
RJ45
interface
RJ45

RJ45 interface

interface
Two network communication interface, accepting 1,2,3,6 and 4,5,7,8 standard in two
RJ45
RJ45

RJ45 interface

Internet access port connection, module network interface is 10 M / 100 M adaptive, support
interface
interface
interface
Pin Name Description
1 TX+ Transceiver Data+
2 TX- Transceiver Data-
3 RX+ Receive Data+
4 n/c Not connected
5 n/c Not connected
6 RX- Receive Data-
(DATA
+), B (DA TA), when connected with RS485, A (+) to
/
Jinan USR IOT Technology Co., Ltd tec@usr.cn
Page 35 /
/
/ 9
Page 36
Multifunctional serial to Ethernet module user manual http://en.usr.cn
7 n/c Not connected
8 n/c Not connected
Diagram 3 - 27 RJ45 interface
3.10.
3.10.
3.10.
3.10. Reload
Reload button, device will be factory settings.
Using web pages can also restore default settings.
4.
4.
4.
4. Paramters

Reload

Reload
Reload
This button is used to restore factory settings. Press the button and power on, then free this
Default settings main parameters as follows Address type static IP Static IP Address 192.168.0.7 User name admin password admin Module name USR-TCP232-E
Diagram 3 - 28 restore defaults through web pages
Paramters
Paramters

Paramters configuration

configuration
configuration
configuration
4.1.
Web
4.1.
Web
4.1.
4.1. Web

Web page

Usually, this series of TCP232 module is configured through web pages.
4.2.
Serial
4.2.
Serial
4.2.
4.2. Serial

Serial port

After module already power on, press Reload(for USR-TCP232-E, pull Reload low), module
will go in Serial config mode(in this mode we can config paramters through serial command), then
module serial port 0 will switch to 9600, 8, n, 1, and send char ‘ U ’ , indicating that module already
in serial config mode.
after config complete, module will send ‘ K
Verify error will be ‘ E’and correct verify byte.
Free Reload(for USR-TCP232-E, pull Reload high), module will save paramters and reboot,
config take effect.
name Byte Description example Hex(low front)
Jinan USR IOT Technology Co., Ltd tec@usr.cn
page
page
page
port
port
port
out, indicating config success;
/
Page 36 /
/
/ 9
Page 37
Multifunctional serial to Ethernet module user manual http://en.usr.cn
head 2 Head( 55 BA/55 C1/55 C2 ) 55 BA 55 BA
Target IP 4 Target IP 192.168.0.201 C9 00 A8 C0 Target port 2 Target port 8234 2A 20 Module IP 4 Module IP 192.168.0.7 07 00 A8 C0
Module port 2 Module port 20108 8C 4E
gateway 4 Gateway IP 192.168.0.201 C9 00 A8 C0
1 for TCP Client ; 0 for UDP ; 2
Work mode 1
Baud rate 3 Serial baud rate 115200 00 C2 01
serial param 1 Databit s , stopbit s, v erifybit s N,8,1 03
Unique ID 3
Subnet mask 4 Subnet mask, low front 255.255.255.0 00 FF FF FF
Sum verify 1
Total cmd 55 BA C9 00 A8 C0 2A 20 07 00 A8 C0 8C 4E C9 00 A8 C0 01 00 C2 01 03 00 00 00 00 FF FF FF B9
for UDP Server ; 3 for TCP
Server
ID-H, ID-L, ID-type , 0 for no
use
Sum verification, from target
ip until end
(sum itself not included)
Diagram 4 - 1 protocol structure and example
TCP Client 01
No use 00 00 00
sum B9
Note.
1. Head definition.
55 BA for write Port0 55 BC for read port0;
55 C1 for write Port1 55 C3 for read port1;
55 C2 for write Port2 55 C4for read port2(Port2 only for-500).
2. For further information, see <USR-TCP232-XX config protocol V3.doc>.
4.3.
network
4.3.
network
4.3.
4.3. network
network command(setup
1. through software USR-TCP232-E45 Setup V1.0.5.0;
2. Network command(need to ask for protocol before purchasing).
Downbelow is the Setup for USR-TCP232-E45, http://www.usr.so/Download/90.html
command(setup
command(setup
command(setup software)
software)
software)
software)
http://www.usr.so/Download/90.html
http://www.usr.so/Download/90.html
http://www.usr.so/Download/90.html
/
Jinan USR IOT Technology Co., Ltd tec@usr.cn
Page 37 /
/
/ 9
Page 38
Multifunctional serial to Ethernet module user manual http://en.usr.cn
Diagram 4 - 2 Setup software
(1) click ‘ Search Device ’ ;
(2) Select device in search list;
(3) Modified paramters such as static ip;
(4) Click ‘ Base Save ’ , paramters will be saved;
(5) Click ‘ Save Config ’ , the paramters will take effect;
(6) Search again, module will appear in new paramters.
Note.
After modified paramters, need first ‘ Base Save’or ‘ Save COMX ’ , then ‘ Save Config ’ .
If not, the paramters will only be saved, but not take effect.
5.
Specific
5.
Specific
5.
5. Specific

Specific functions

5.1.
ModbusRTU
5.1.
ModbusRTU
5.1.
5.1. ModbusRTU
ModbusRTU to
The whole series product support ModbusRTU to ModbusTCP. When you use it, you have to
select the protocols, just here:
functions
functions
functions
to
to
to ModbusTCP
ModbusTCP
ModbusTCP
ModbusTCP
/
Jinan USR IOT Technology Co., Ltd tec@usr.cn
Page 38 /
/
/ 9
Page 39
Multifunctional serial to Ethernet module user manual http://en.usr.cn
Here, the usement and function is presented below.
Selection None, that indicate we are using Transparent mode, no protocol convertion.
Selection ModbusTCP, means we use protocol convertion from Modbus RTU to
ModbusTCP.
In the comm side(RS232 or RS485), it's ModbusRTU protocol , the ethernet side is
ModbusTCP.
The ethernet side must be a Master, who send query frame first, and the Modbus RTU device
respond with data to the command.
The function acts as below.
ModbusRTU to ModbusTCP
User Device
Jinan USR IOT Technology Co., Ltd tec@usr.cn
ModbusRTU ModbusTCP
TCP 232-401
Page 39 /
PC
/
/
/ 9
Page 40
Multifunctional serial to Ethernet module user manual http://en.usr.cn
5.2.
Hardware
5.2.
Hardware
5.2.
5.2. Hardware
Hardware flow
RS232 interface support hardware flowcontrol RTS/CTS
Pin name Description IO type Operater
RTS Request to Send O module
CTS Clear to Send I Outside device(PC)
When RTS = 0, enable the other side to send, at this time, TTL is 0 volt, RS232 is -3V ~
-15V;
When CTS = 0, represent module is enabled to send, at this time, TTL is 0 volt, and RS232 is
-3V ~ -15V;
When the logic is reverse, represent that disable the other side to send or was disabled the
module to send.
When connect with PC’s RS232 interface, we can use the serial cable(cross).
5.3.
User
5.3.
User
5.3.
5.3. User
User MAC
MAC
MAC
MAC address
flow
flow
flow control
control
control
control
address
address
address
Diagram 5 - 1 Pin description
User MAC address default is 6 bytes of 0xff that is: FF-FF-FF-FF-FF-FF,
If defaults use the factory MAC address such as: ac- cf-23-20-fe-3d;
If not, user MAC address will take effect.
When modify this address, insert ‘ -’between bytes, or insert nothing. Click ‘ Update Settings
to save parameters, reset to take effect.
Diagram 5 - 2 user MAC address
In Current config and status, can see the currently MAC address in use. Diagram below is
using the factory MAC.
/
Jinan USR IOT Technology Co., Ltd tec@usr.cn
Page 40 /
/
/ 9
Page 41
Multifunctional serial to Ethernet module user manual http://en.usr.cn
Diagram 5 - 3 currently MAC in use
5.4.

Firmupdate

5.4.
Firmupdate
5.4.
5.4. Firmupdate
Firmupdate
Use search and config software to update firmware, only
once for one time, can not cross network segment.
1. Search and select one module
Diagram 5 - 6 search and select
2. ‘ Device’-> firmware update
/
Jinan USR IOT Technology Co., Ltd tec@usr.cn
Page 41 /
/
/ 9
Page 42
Multifunctional serial to Ethernet module user manual http://en.usr.cn
Diagram 5 - 7 firmware update
Click to start update progress.
Diagram 5 - 8 in update progress
3. Update success, click exit.
/
Jinan USR IOT Technology Co., Ltd tec@usr.cn
Page 42 /
/
/ 9
Page 43
Multifunctional serial to Ethernet module user manual http://en.usr.cn
Diagram 5 - 9 success
Note. After update, if can not search module, restore to factory will fix this problem.
6.
Module
6.
Module
6.
6. Module

Module USES

USES
USES
USES
6.1.
Hardware
6.1.
Hardware
6.1.
6.1. Hardware

Hardware connection

For the convenience of use, we designed evaluation board for module USR-TCP232-E , with
the RS232 to TTL conversion circuit, convenient for user communicate with computer .
Here we take USR-TCP232-E for example, The default configuration:
IP address: 192.168.0.7
Subnet mask: 255.255.255.0
The default gateway: 192.168.0.1
connection
connection
connection
Diagram 6 - 1 IP Address Selection
To test briefly, you can connect the module with computer via network cable, or you can also
connect the module and computer to switch or router at the same time. No need to distinguish
/
Jinan USR IOT Technology Co., Ltd tec@usr.cn
Page 43 /
/
/ 9
Page 44
Multifunctional serial to Ethernet module user manual http://en.usr.cn
cross and direct connect cable, the module have automatic switch function. And, change computer
IP to 192.168.0. *, such as 192.168.0. 161 we test.
Connect the module serial to computer through TTL to RS232 turn wiring. if you use TTL to
USB turn wiring, please pay attention to the quality of the turn wiring, most low price USB turn
TTL module on market is low quality at present.
Power up, 5 V connect to VDD or 3.3 V connect to VCC, keep the voltage stable, 150 MA
current at least.
power
TTL
User
device
6.2.

Login

6.2.
Login
6.2.
6.2. Login
Login
Login above IP address http://192.168.0.7 through the browser, you will enter setup web
pages.
User name and password are “ admin ” , this can be modified when login into the system.
Serial to Ethernet
Converter
USR
-
TCP 232
Diagram 6 - 2 Application
- E
Ethernet
/
Jinan USR IOT Technology Co., Ltd tec@usr.cn
Page 44 /
/
/ 9
Page 45
Multifunctional serial to Ethernet module user manual http://en.usr.cn
Diagram 6 - 3 Login web page
Webpage as follows, PORT2 is not available , 2. TTL(uart0) Settings and 3. TTL(uart1)
Settings respectively corresponding to UART 0 and UART 1 Settings, 4. Miscellaneous Settings is
used to set some parameters such as module IP and module name.
/
Jinan USR IOT Technology Co., Ltd tec@usr.cn
Page 45 /
/
/ 9
Page 46
Multifunctional serial to Ethernet module user manual http://en.usr.cn
Diagram 6 - 4 web page of USR-TCP232-E
Note:
For webpages: PORT0, PORT1 and PORT2, represent below:
TCP232-E/ED: PORT0 represent UART0, PORT1 represent UART1, PORT2 not available; TCP232-400/401: PORT0 represent RS232 PORT1 represent RS485 PORT2 not available; TCP232-500: PORT0 and PORT1 represent RS232_0 and RS232_1 PORT2 represent
RS485/422;
TCP232-504: PORT0, PORT1, PORT2 represent RS485_0 RS485_1 and RS485_2
6.3.
Default
6.3.
Default
6.3.
6.3. Default
Default working
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.
working
working
working mode
mode
mode
mode test
test
test
test
/
Jinan USR IOT Technology Co., Ltd tec@usr.cn
Page 46 /
/
/ 9
Page 47
Multifunctional serial to Ethernet module user manual http://en.usr.cn
Diagram 6 - 5 default working mode communication
Specially
Specially
Specially
Specially instruction:
(default 0, closed). Such as setting the Telnet Time out, to prevent the complicated internet
circumstances influencing communication stability, and solving the off lineelink,communication
feign death, TCP connection to be occupied problems.
the module will be active to switch off the client links, release resources, wait for new links,
transmit t ing or receiving data will clear the time.
the module will be active to switch off the server links and try to relink.
6.4.
6.4.
6.4.
6.4. Common
6.4.1.
6.4.1.
6.4.1.
6.4.1. Work
instruction:
instruction:
instruction:
For the robustness of your application system, we suggest you using the time out function
In the TCP Server mode, if still have no new data transceiver when it is time out set t ing time,
In the TCP Client mode, if still have no new data transceiver when it is time out set t ing time,
Common
Common

Common questions

Work
Work
Work across
questions
questions
questions
across
across
across network
network
network
network segment
segment
segment
segment
If your TCP232 device’s IP is 192.168.0.7, and remote PC’s IP is 192.168.1.7, we need to
config.
/
Jinan USR IOT Technology Co., Ltd tec@usr.cn
Page 47 /
/
/ 9
Page 48
Multifunctional serial to Ethernet module user manual http://en.usr.cn
Subnet mask of TCP232 device, PC, and router to 255.255.0.0, if not ,the TCP232 module
will not communicate normally.
6.4.2.
6.4.2.
6.4.2.
6.4.2. Ping
Some possible causes
1. Module is set a static ip and conflicts with another ethernet device.
2. Cross network and false subnet mask .
3. HTTP server port is modified(default 80).
Solutions:
1. Set another static or use DHCP.
2. Set correct subnet mask.
3. Set this port to 80 or open web page with correct port.
6.4.3.
6.4.3.
6.4.3.
6.4.3. After
6.4.4.
6.4.4.
6.4.4.
6.4.4. When
Ping
is
OK
but
can
not
open
Ping
is
OK
but
can
Ping is
is OK
OK but
but can
After
After
After firm
Reload this module back to factory settings.
When
When
When connection
Possible causes.
firm
update,
firm
update,
firm update,
update, can
connection
connection
connection established,
not
can not
not open
can
can
can not
established,
established,
established, server
open
open web
not
open
not
open
not open
open web
web
web
web pages
server
server
server received
web
web
web page
pages
pages
pages
page
page
page
received
received
received serval
serval
serval
serval chars
chars
chars
chars
1) Telnet Protocol use Telnet(usually should be RAW).
2) Module id type is not 0.
Diagram 6 - 6 T elnet Protocol
Diagram 6 - 7 Module id type
Solutions.
1) Telnet Protocol choose
2) Module id type set 0.
RAW.
/
Jinan USR IOT Technology Co., Ltd tec@usr.cn
Page 48 /
/
/ 9
Page 49
Multifunctional serial to Ethernet module user manual http://en.usr.cn
6.4.5.
6.4.5.
6.4.5.
6.4.5. Every
Every
Every
Every serval
Telnet Timeout was set to none 0 value.
Solutions
1) Give Telnet Timeout 0 or send data before timeout.
serval
serval
serval seconds,
seconds,
seconds,
seconds, module
module
module
module reconnect
reconnect
reconnect
reconnect
/
Jinan USR IOT Technology Co., Ltd tec@usr.cn
Page 49 /
/
/ 9
Page 50
Multifunctional serial to Ethernet module user manual http://en.usr.cn
7.
C
7.
7.
7. C
C ompany : Jinan USR IOT Technology Co., Ltd
A ddress : 1- 724--728 , Huizhan Guoji Cheng, Gaoxin Qu, Jinan, Shandong, China
T
Web: http:// en.usr.cn Skype: lisausr
Em ail : sales@usr.cn tec@usr.cn
ontact
C
ontact
C ontact
ontact us
el: 86- 531-55507297 86- 531-88826739 -803
us
us
us
/
Jinan USR IOT Technology Co., Ltd tec@usr.cn
Page 50 /
/
/ 9
Page 51
Multifunctional serial to Ethernet module user manual http://en.usr.cn
8.
Modified
8.
Modified
8.
8. Modified
Modified history
1) V1.0 file established
2) V1.1 take -E, -400, -500 into one file; add TCP Auto, HTTPD Client and so on.
3) V1.2 add Keepalive
4) V1.2.1 add -ED, -401, -504
5) V1.2.3 add-52E,52PE
6) V1.2.5 modify errors
history
history
history
/
Jinan USR IOT Technology Co., Ltd tec@usr.cn
Page 51 /
/
/ 9
Loading...