Features IOT-RS232-01 User Manual 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.
1.2.2. DB9 Pin definition 1, 4, 6, 7, 8 Definition Figure 4 DB9 Pin 2. Product Functions This chapter introduces the functions of IOT-RS232-01 as the following diagram shown, you can get an overall knowledge of it. Serial port TCP Server/TCP Client/UDP Socket...
IOT-RS232-01 User Manual Figure 6 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.
IOT-RS232-01 User Manual 2.2. Socket functions TCP232-302 socket support TCP Server, TCP Client, UDP Server, UDP Client and HTTPD Client. 2.2.1. TCP Client TCP Client provides Client connections for TCP network services. TCP Client device will connect to server to realize data transmission between the serial port and server.
IOT-RS232-01 User Manual Figure 8 TCP Client 2.2.2. TCP Server TCP Server will listen network connections and build network connections, commonly used for communication with TCP clients on a LAN. According to the TCP protocol, TCP Server has connection/disconnection status differences to ensure reliable data transmission.
IOT-RS232-01 User Manual 2.2.3. UDP Client UDP transport protocol provides simple and unreliable communication services. No connection connected /disconnected.
IOT-RS232-01 User Manual 2.2.4. UDP Server In UDP Server mode, TCP232-302 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-302 in UDP Server mode and related parameters by setup software or web server as follows: 2.2.5.
IOT-RS232-01 User Manual 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-302 and virtual serial to solve the problem that traditional equipment PC software used in serial port communication way.
IOT-RS232-01 User Manual 2.4. Features 2.4.1. Identity Packet Function Figure 15 Identity Packet application diagram Identity packet is used for identify the device when module works as TCP client/UDP client. There are two sending methods for identity packet. Identity data will be sent when connection is established.
IOT-RS232-01 User Manual 2.4.2. Heartbeat Packet Function Heartbeat packet: Module will output heartbeat data to serial or network periodic. User can configure the heartbeat data and time interval. Serial heartbeat data can be used for polling Modbus data. Network heartbeat data can be used for showing connection status and keep the connection (only take effect in TCP/UDP Client mode).
IOT-RS232-01 User Manual Figure 18 Reset function 2.4.5. Index function Index function: Used in situation when 302 work in TCP Server mode and establish more than one connection to TCP Client. After open Index function, 302 will mark every TCP Client to distinguish them. User can send/receive data to/from different TCP Client according to their unique mark.
IOT-RS232-01 User Manual 2.4.7. Non-persistent Connection TCP232-302 support non-persistent connection function in TCP Client mode. When TCP232-302 adopt this function, TCP232-302 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.
IOT-RS232-01 User Manual Figure 21 Non-persistent Connection 2.4.8. Timeout Reset function Timeout reset function(no data reset): If network side no data transmission beyond a fixed time(User can set this fixed time between 60~65535s, default is 3600s. If user set a time less than 60s, this function will be disable), 302 will reset.
Page 17
IOT-RS232-01 User Manual Figure 23 Setup software After researching TCP232-302 and clicking TCP232-302 to configure, user need log in with user name and password. Default user name and password both are admin. If user keep the default parameters, it is not necessary to log in.
Need help?
Do you have a question about the IOT-RS232-01 and is the answer not in the manual?
Questions and answers