Page 3
USR-TCP232-304 User Manual Features 10/100Mbps Ethernet port, support Auto-MDI/MDIX. Support TCP Server, TCP Client, UDP Client, UDP Server, HTTPD Client. Support Baud rate from 600bps to 230.4bps; Support None, Odd, Even, Mark, Space. Support heartbeat packet and identity packet.
Page 4
USR-TCP232-304 User Manual 1. Get Start Product link: http://www.usriot.com/p/rs485-to-ethernet-converter/ Setup software: http://www.usriot.com/usr-m0-setup-software/ Figure 1 Download Page If you have any question, please submit it back to customer center: http://h.usriot.com 1.1. Application Diagram Figure 2 Application diagram...
Page 6
USR-TCP232-304 User Manual 2. Product Functions This chapter introduces the functions of USR-TCP232-304 as the following diagram shown, you can get an overall knowledge of it. Serial port TCP Server/TCP Client/UDP Socket packaging Server/UDP Client/HTTPD Client Identity Keep-Alive packet Serial port heartbeat packet...
Page 7
USR-TCP232-304 User Manual Figure 5 Static IP/DHCP 2.1.2. Restore default settings Hardware: User can press Reload over 5 seconds and less than 15 seconds then release to restore default settings. Software: User can use setup software to restore default settings.
Page 8
Addr and Remote Port Number. TCP232-304 work in TCP Client won’t accept other connection request except target server and will access server with random local port if user set local port to zero. User can set TCP232-304 in TCP Client mode and related parameters by setup software or web server as follows:...
Page 9
TCP232-304 work in TCP Server support 16 client connections at most and will kick off oldest connection beyond maximum connections(User can enable/disable this function by web server). User can set TCP232-304 in TCP Server mode and related parameters by setup software or web server as follows:...
Page 10
USR-TCP232-304 User Manual Figure 8 TCP Server 2.2.3. UDP Client UDP transport protocol provides simple and unreliable communication services. No connection connected /disconnected.
Page 11
After firmware version 4015, 304 support broadcasting in same network segment.(Such like xxx.xxx.xxx.255 broadcasting way). User can set TCP232-304 in UDP Client mode and related parameters by setup software or web server as follows: Figure 9 UDP Client...
Page 12
USR-TCP232-304 User Manual 2.2.4. UDP Server In UDP Server mode, TCP232-304 will change target IP every time after receiving UDP data from a new IP/Port and will send data to latest communication IP/Port. User can set TCP232-304 in UDP Server mode and related parameters by setup software or web server as follows:...
Page 13
In HTTPD Client mode, TCP232-304 can achieve data transmission between serial port device and HTTP server. User just need set TCP232-304 in HTTPD Client and set the HTTPD header, URL and some other related parameters, then can achieve data transmission between serial port device and HTTP server and don’t need care about the HTTP format of data.
Page 14
2.3.2. VCOM Application User can download VCOM software from http://www.usriot.com/usr-vcom-virtual-serial-software/. Through this software user can set up connection between TCP232-304 and virtual serial to solve the problem that traditional equipment PC software used in serial port communication way. 2.3.3. Serial Package Methods For network speed is faster than serial.
Page 15
Identity data will be add on the front of every data packet. Identity packet can be MAC address or user editable data (User editable data at most 40 bytes). User can set TCP232-304 with Identity Packet function by web server as follow: Figure 15 Identity Packet...
Page 16
Figure 16 Heartbeat Packet 2.4.3. Editable Web server TCP232-304 support user modify the web server based on template according to needs, then use related tool to upgrade. If user have this demand can contact to our salespersons for web server source and tool.
Page 17
USR-TCP232-304 User Manual Figure 17 Reset function 2.4.5. Index function Index function: Used in situation when 304 work in TCP Server mode and establish more than one connection to TCP Client. After open Index function, 304 will mark every TCP Client to distinguish them. User can send/receive data to/from different TCP Client according to their unique mark.
Page 18
USR-TCP232-304 User Manual 2.4.6. TCP Server setting 304 work in TCP Server mode allow at most 16 TCP Clients connection. Default is 4 TCP Clients and user can change maximum TCP Clients connection by web server. When TCP Clients more than 4, user need make every connection data less than 200 bytes/s.
Page 19
TCP232-304 support non-persistent connection function in TCP Client mode. When TCP232-304 adopt this function, TCP232-304 will connect to server and send data after receiving data from serial port side and will disconnect to server after sending all the data to server and no data from serial port side or network side over a fixed time.
Page 20
3.1. Setup software Configuration User can download setup software from http://www.usriot.com/usr-m0-setup-software/. When user want to configure the TCP232-304 by setup software, user can run setup software, search TCP232-304 in same LAN and configure the TCP232-304 as follow: Figure 22 Setup software After researching TCP232-304 and clicking TCP232-304 to configure, user need log in with user name and password.
Page 21
USR-TCP232-304 User Manual After firstly connecting PC to TCP232-304, user can open browser and enter default IP 192.168.0.7 into address bar, then log in user name and password, user will enter into web server. Web server screenshot as follow: Figure 24 Web Server 3.3.
Need help?
Do you have a question about the TCP232-304 and is the answer not in the manual?
Questions and answers