USR TCP232 410s User Manual
USR TCP232 410s User Manual
com
Contents
USR-TCP232-410s User Manual......................................................................................................................... 1
Features .................................................................................................................................................................... 3
1. Get Start ................................................................................................................................................................ 4
1.1. Application Diagram............................................................................................................................... 4
1.2. Hardware Design..................................................................................................................................... 5
1.2.1. Hardware Dimensions ................................................................................................................ 5
1.2.2. LED.................................................................................................................................................. 5
2. Product Functions .............................................................................................................................................. 6
2.1. Basic Functions ........................................................................................................................................ 6
2.1.1. Static IP/DHCP .............................................................................................................................. 6
2.1.2. Reset to default settings .............................................................................................................. 7
2.2. Socket functions ...................................................................................................................................... 7
2.2.1. TCP Client ...................................................................................................................................... 7
2.2.2. TCP Server ..................................................................................................................................... 7
2.2.3. UDP Client ..................................................................................................................................... 8
2.2.4. UDP Server .................................................................................................................................... 9
2.2.5. HTTP Client ................................................................................................................................... 9
2.2.6. WebSocket ................................................................................................................................... 10
2.3. Serial port................................................................................................................................................ 11
2.3.1. Serial port basic parameters .................................................................................................... 11
2.3.2. VCOM Application ....................................................................................................................... 11
2.3.3. Flow Control ................................................................................................................................. 11
2.3.4. Serial package methods ............................................................................................................. 11
2.3.5. Baud rate synchronization ........................................................................................................ 11
2.4. Features................................................................................................................................................... 12
2.4.1. Identity packet function ............................................................................................................ 12
2.4.2. Heartbeat packet function ....................................................................................................... 12
2.4.3. Non-persistent connection ...................................................................................................... 12
2.4.4. Modbus gateway......................................................................................................................... 12
2.4.5. Network printing........................................................................................................................ 13
2.4.6. Editable Web Server ................................................................................................................... 13
3. Parameter Setting............................................................................................................................................. 14
3.1. Setup software........................................................................................................................................ 14
3.2. Web Server ............................................................................................................................................. 14
3.3. AT command .......................................................................................................................................... 15
3.3.1. Serial AT command.................................................................................................................... 15
3.3.2. Network AT command ............................................................................................................... 15
4. Contact Us........................................................................................................................................................... 17
5. Disclaimer .......................................................................................................................................................... 17
6. Update History .................................................................................................................................................. 17
Features
◼ 10/100Mbps Ethernet interface and support Auto-MDI/MDIX.
◼ Support TCP Server, TCP Client, UDP Client, UDP Server, HTTP Client.
◼ Support configuring through Web Server
◼ Support RS232 and RS485 and they can work independently.
◼ Support RTS/CTS hardware flow control and Xon/Xoff software flow control.
◼ Support USR-VCOM.
◼ Support Modbus Gateway.
◼ Support serial port baud rate 600bps~230.4K bps; support None, Odd, Even, Mark, Space parity way.
◼ Support Static IP or DHCP.
◼ Support Websocket function.
◼ Support Reload button to reset to default settings by hardware way.
◼ Support Keep-alive.
◼ Support timeout restart function and timeout reconnect function.
1. Get Start
Product link:
https://www.usriot.com/products/modbus-serial-to-ethernet-converter.html
Setup software:
https://www.usriot.com/support/downloads/usr-tcp232-m4k3-setup-software.html
1.2.2. LED
LED Status
Light: Power on
POWER
Off: Power off
Blink: Working normally
WORK
Off or light: Not working normally
Blink: Sending data to serial(RS232)
232TX
Off: No data sending to serial(RS232)
Blink: Receiving data from serial(RS232)
232RX
Off: No data receiving from serial(RS232)
Blink: Sending data to serial(RS485)
485TX
Off: No data sending to serial(RS485)
Blink: Receiving data from serial(RS485)
485RX
Off: No data receiving from serial(RS485)
Figure 4 LED
2. Product Functions
This chapter introduces the functions of USR-TCP232-410s as the following diagram shown, you can get an
overall knowledge of it.
Serial
USR Identity
port CLOUD
Keep-Alive
Packet
packaging
Socket B TCPC/UDPC 1
Serial Serial
Port Network
Device port Serial port
Webserver
Network data 1
packaging transmission
Websocket
AT Command Mode
ModbusTCP Gateway
Modbus Gateway
Static IP: Default setting of module is Static IP and default IP is 192.168.0.7. When user configures module in Static
IP mode, user need set IP, subnet mask and gateway and must pay attention to the relation among IP, subnet mask
and gateway.
DHCP: Module in DHCP mode can dynamically get IP, Gateway, and DNS server address from Gateway Host. When
user connects 410s directly to PC, module can’t be set in DHCP mode. Because common computer does not have
the ability to assign IP addresses.
Jinan USR IOT Technology Limited 6 www.usriot.com
USR-TCP232-410s User Manual Technical Support: h.usriot.com
Software: User can also reset to default settings through setup software for 410s.
410s supports dual sockets mode. Socket A supports TCP Server, TCP Client, UDP Server, UDP Client and HTTP
Client. Socket B supports TCP Client and UDP Client.
TCP Client mode supports Keep-Alive function: After establishing connection, 410s will send Keep-Alive package
in every 15 second to check TCP connection and 410s will disconnect and reconnect to server if any connection
exception occurs. TCP Client mode also supports baud rate synchronization, USR Cloud and Modbus gateway.
410s works in TCP Client mode needs connect to TCP Server and needs set the parameter: Remote IP/Port. 410s
works in TCP Client won’t accept other connection request except target server and will access server with
random local port if configuring local port to 0.
410s works in TCP Server mode will listen local port which user set and build connection after receiving
connection request. Serial data will be sent to all TCP Client devices connected to 410s in TCP Server mode
simultaneously.
410s works in TCP Server mode supports 8 client connections at most. 410s also supports Keep-Alive function,
baud rate synchronization and Modbus gateway.
In UDP Client mode, if user configure Remote IP to 255.255.255.255, 410s can achieve UDP broadcast to all
network segment and receive broadcast data. User can also configure Remote IP to xxx.xxx.xxx.255 to realize UDP
broadcast in same network segment.
ABC
2.2.6. WebSocket
Figure 12 WebSocket
WebSocket function can achieve real-time interaction between RS232 interface and Web Server and display user
data on Web Server.
Through this software user can set up connection between 410s and virtual serial to solve the problem that
traditional equipment PC software used in serial port communication way.
⚫ 410s serial package time: Default is 4 bytes sending time, range from 0 to 255.
⚫ 410s serial package length: Default is 1460 bytes, range from 0 to 1460.
2.4. Features
Identity packet is used for identifying the device when 410s works as TCP client/UDP client. There are two
methods to send identity packet.
⚫ Identity packet will be sent after connection is established.
⚫ Identity packet will be added on the front of every data package.
Identity packet can be MAC address or user editable identity packet. User editable identity packet should less than
40 bytes.
Modbus RTU<=>Modbus TCP: Set 410s in TCP Server or TCP Client mode, then user can set 410s with Modbus
3. Parameter Setting
There are three ways to configure USR-TCP232-410s. They are setup software, Web Server and AT command.
User can connect PC to 410s through LAN port and enter Web Server to configure.
3.3. AT command
4. Contact Us
Address: Floor 11, Building 1, No. 1166 Xinluo Street, Gaoxin District, Jinan, Shandong, 250101, China
Web: www.usriot.com
Support: h.usriot.com
Email: [email protected]
Tel: 86-531-88826739/86-531-55507297
5. Disclaimer
This document provides the information of USR-TCP232-410s products, it hasn’t been granted any intellectual
property license by forbidding speak or other ways either explicitly or implicitly. Except the duty declared in sales
terms and conditions, we don’t take any other responsibilities. We don’t warrant the products sales and use
explicitly or implicitly, including particular purpose merchant-ability and marketability, the tort liability of any
other patent right, copyright, intellectual property right. We may modify specification and description at any time
without prior notice.
6. Update History