Serial device server - rs232/rs485 to ethernet converter (13 pages)
Summary of Contents for Usr USR-TCP232- E
Page 1
(USR-TCP232-52E)(USR-TCP232-52PE) 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, looking forward to cooperate with you.
Page 3
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 Page3/ / / / 9 Jinan USR IOT Technology Co., Ltd tec@usr.cn...
Page 4
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. Contact us............................49 8. Modified history..........................50 Page4/ / / / 9 Jinan USR IOT Technology Co., Ltd tec@usr.cn...
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.
2 * RS232, 1 * RS485, 2 * RJ45 Serial to Ethernet Converter USR-TCP232-52PE 2 * RS232, 1 * RS485, 2 * RJ45(POE) Diagram 1-1 Order information Note: For webpages: PORT0, PORT1 and PORT2, represent below: Page6/ / / / 9 Jinan USR IOT Technology Co., Ltd tec@usr.cn...
Page 7
Electrical haracteristics haracteristics 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: 5V, min: 4.5V,max: 5.5V Operating supply current : Max: 180 MA Operating Temperature: -40~85 °C Storage temperature: -40~85 °C...
Block Block diagram diagram 2.1. 2.1. Block Block diagram diagram Take USR-TCP232-E for example, show demo application of module USR-TCP232-E. p o w e r Ethernet T T L Serial to Ethernet U s e r Converter device U S R-T C P2 3 2-E Diagram 2-1 USR-TCP232-E application demo 2.2.
Page 9
2.3. 2.3. TCP TCP Client Client mode mode Open web pages and config module to Telent Mode: TCP Client Remote port number: Telnet Server Addr: 192.168.0.131 Page9/ / / / 9 Jinan USR IOT Technology Co., Ltd tec@usr.cn...
UDP packet’s address. Here show 2 UDP client communicate with server, server send data to the last client communicates with it. Page10/ / / / 9 Jinan USR IOT Technology Co., Ltd tec@usr.cn...
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; Page11/ / / / 9 Jinan USR IOT Technology Co., Ltd tec@usr.cn...
Page 12
[<?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), Page12/ / / / 9 Jinan USR IOT Technology Co., Ltd...
Page 13
Multifunctional serial to Ethernet module user manual http://en.usr.cn www.usr.cn/1.php? www.usr.cn/1.php? Diagram 2-9 Request 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 Page13/ / / / 9 Jinan USR IOT Technology Co., Ltd...
Page 14
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. Page14/ / / / 9 Jinan USR IOT Technology Co., Ltd tec@usr.cn...
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 Page15/ / / / 9 Jinan USR IOT Technology Co., Ltd tec@usr.cn...
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. Page16/ / / / 9 Jinan USR IOT Technology Co., Ltd tec@usr.cn...
3.1.2. Power Power Power supply socket, The input voltage range 3.3V or 5V, current 150 MA. We default supply high quality 5 V / 1 A power adapter. Page17/ / / / 9 Jinan USR IOT Technology Co., Ltd tec@usr.cn...
Except for Link and Data of RJ45, there is one work LED interface Description name Twinkle every 1 seconds Work Link(green) On RJ45, when ethernet link established, on. Data(yellow) On RJ45, wnen ethernet data communicate, twinkle. Diagram 3-5 LED definition Page19/ / / / 9 Jinan USR IOT Technology Co., Ltd tec@usr.cn...
This system has three power supply interface, a power hub, a 5.08 terminal, pin 9 of the two serial com (through the PCB jumper short circuit, default closed). Page22/ / / / 9 Jinan USR IOT Technology Co., Ltd tec@usr.cn...
RS485 plus or RS422 transmit plus RS232 require to send RS232 clear to send RS422 receive plus Diagram 3-11 DB9 interface Note: this DB9 interface include RS232 and RS485/RS422. Page23/ / / / 9 Jinan USR IOT Technology Co., Ltd tec@usr.cn...
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. Page27/ / / / 9 Jinan USR IOT Technology Co., Ltd tec@usr.cn...
Page 28
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. Page28/ / / / 9 Jinan USR IOT Technology Co., Ltd tec@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 ~ 48 V, current 150 MA. We default supply high quality 5 V / 1 A power adapter. Page29/ / / / 9 Jinan USR IOT Technology Co., Ltd tec@usr.cn...
The input voltage range 5 ~ 28 V . We default supply high quality 5 V / 1 A power adapter. � 3.81 pitch terminal blocks, terminal external customers through the introduction of 5-28V power supply line. Page31/ / / / 9 Jinan USR IOT Technology Co., Ltd tec@usr.cn...
Page 32
� Network power, you can use an external network cable to supply power to the module, power supply range of 5-28V. Page32/ / / / 9 Jinan USR IOT Technology Co., Ltd tec@usr.cn...
RS485 interface interface interface interface RS485 two wirings terminal, A (DATA +), B (DATA), when connected with RS485, A (+) to A (+), B (-) to B (-). Page33/ / / / 9 Jinan USR IOT Technology Co., Ltd tec@usr.cn...
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. Name Description Transceiver Data+ Transceiver Data- Receive Data+ Not connected Not connected Receive Data- Page35/ / / / 9 Jinan USR IOT Technology Co., Ltd tec@usr.cn...
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.
Page 37
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 command(setup software) 4.3.
ModbusRTU to to to to ModbusTCP ModbusTCP ModbusTCP 5.1. 5.1. ModbusRTU ModbusTCP The whole series product support ModbusRTU to ModbusTCP. When you use it, you have to select the protocols, just here: Page38/ / / / 9 Jinan USR IOT Technology Co., Ltd tec@usr.cn...
Page 39
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 T C P2 3 2-4 0 1 ModbusRTU ModbusTCP Page39/ / / / 9 Jinan USR IOT Technology Co., Ltd tec@usr.cn...
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. Page40/ / / / 9 Jinan USR IOT Technology Co., Ltd tec@usr.cn...
6.1. Hardware Hardware connection 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...
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. Page44/ / / / 9 Jinan USR IOT Technology Co., Ltd tec@usr.cn...
Page 45
Webpage as follows, PORT2 is not available, 2. TTL(uart0) Settings and 3. TTL(uart1) Settings respectively corresponding to UART0 and UART1 Settings, 4. Miscellaneous Settings is used to set some parameters such as module IP and module name. Page45/ / / / 9 Jinan USR IOT Technology Co., Ltd tec@usr.cn...
Page 46
To test briefly in default working mode, on the foundation of the hardware connection, use the matched software USR-TCP232-Test to make transmitting 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.
6.4.1. 6.4.1. Work Work across across network network 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. Page47/ / / / 9 Jinan USR IOT Technology Co., Ltd tec@usr.cn...
Page 48
Telnet Protocol use Telnet(usually should be RAW). Module id type is not 0. Diagram 6-6 Telnet Protocol Diagram 6-7 Module id type Solutions. Telnet Protocol choose RAW. Module id type set 0. Page48/ / / / 9 Jinan USR IOT Technology Co., Ltd tec@usr.cn...
Page 49
6.4.5. Every Every serval serval seconds, seconds, module module reconnect reconnect Telnet Timeout was set to none 0 value. Solutions Give Telnet Timeout 0 or send data before timeout. Page49/ / / / 9 Jinan USR IOT Technology Co., Ltd tec@usr.cn...
Page 50
7. 7. 7. 7. C C C C ontact ontact ontact ontact us Company: Jinan USR IOT Technology Co., Ltd Address: 1-724--728, Huizhan Guoji Cheng, Gaoxin Qu, Jinan, Shandong, China Tel: 86-531-55507297 86-531-88826739-803 Web: http://en.usr.cn Skype: lisausr Email: sales@usr.cn tec@usr.cn...
Need help?
Do you have a question about the USR-TCP232- E and is the answer not in the manual?
Questions and answers