Usr -TCP232- E Manual

Usr -TCP232- E Manual

Ethernet converter
Hide thumbs Also See for USR-TCP232- E:

Advertisement

Multifunctional serial to Ethernet module user manual
Multifunctional
Multifunctional S S S S erial
Multifunctional
Multifunctional
(USR-TCP232-52E)(USR-TCP232-52PE)
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.
Jinan USR IOT Technology Co., Ltd
erial to to to to E E E E thernet
erial
erial
(USR-TCP232-E)(USR-TCP232-ED)
(USR-TCP232-400)(USR-TCP232-401)
(USR-TCP232-500)(USR-TCP232-504)
Page1/ / / / 9
thernet
thernet
converter
converter
thernet converter
converter
File version: V1.3.2
http://en.usr.cn
tec@usr.cn

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the USR-TCP232- E and is the answer not in the manual?

Questions and answers

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 2: Table Of Contents

    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 Page2/ / / / 9 Jinan USR IOT Technology Co., Ltd tec@usr.cn...
  • 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...
  • Page 5: Introduction

    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.
  • Page 6: Applications

    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...
  • Page 8: Work Mode

    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...
  • Page 10: Tcp Client Mode

    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...
  • Page 11: Tcp Server Mode

    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...
  • Page 16: 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. Page16/ / / / 9 Jinan USR IOT Technology Co., Ltd tec@usr.cn...
  • Page 17: Hardware Interface

    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...
  • Page 18: Led Status

    TXD1 Uart1 transmit data pin Diagram 3-3 connector interface(include uart0 and uart1) 3.2. 3.2. USR-TCP232-ED USR-TCP232-ED 3.2. 3.2. USR-TCP232-ED USR-TCP232-ED 3.2.1. 3.2.1. 3.2.1. 3.2.1. Hardware Hardware Hardware Hardware Page18/ / / / 9 Jinan USR IOT Technology Co., Ltd tec@usr.cn...
  • Page 19: Power

    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...
  • Page 20: Serial(Ttl) Interface

    Multifunctional serial to Ethernet module user manual http://en.usr.cn 3.2.4. 3.2.4. Serial(TTL) Serial(TTL) interface interface 3.2.4. 3.2.4. Serial(TTL) Serial(TTL) interface interface Diagram 3-6 view from bottom Diagram 3-7 pin diagram Page20/ / / / 9 Jinan USR IOT Technology Co., Ltd tec@usr.cn...
  • Page 21 Uart0 RS232 clear to send RTS1 Uart1 require to send CTS1 Uart1 RS232 clear to send Diagram 3-8 connector interface(include uart0, uart1, uart3) Note: Uart2 have no RTS and CTS Page21/ / / / 9 Jinan USR IOT Technology Co., Ltd tec@usr.cn...
  • Page 22: Usr-Tcp232-400

    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...
  • Page 23: Led Status

    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...
  • Page 24: Usr-Tcp232-401

    +5 ~ +18V power input; DC power plug, 5.08 connector power input 2 * serial(1 * RS232, 1 * RS485) 1 * RS232 support hardware flow control 1 * RS485 Page24/ / / / 9 Jinan USR IOT Technology Co., Ltd tec@usr.cn...
  • Page 25: Power

    The DB9 interface contains the RS232, RS485 and RS422 interfaces. Number RS232 Description RS232 device receive data pin RS232 device transmit data pin Signal ground RS232 require to send RS232 clear to send Diagram 3-14 DB9 interface Page25/ / / / 9 Jinan USR IOT Technology Co., Ltd tec@usr.cn...
  • Page 26: Rs485 Interface

    Diagram 3-15 choose RS485 for 401 if you want to use RS485 3.5. USR-TCP232-500 3.5. 3.5. 3.5. USR-TCP232-500 USR-TCP232-500 USR-TCP232-500 3.5.1. 3.5.1. Hardware Hardware 3.5.1. 3.5.1. Hardware Hardware Page26/ / / / 9 Jinan USR IOT Technology Co., Ltd tec@usr.cn...
  • Page 27: Power

    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...
  • Page 29: Usr-Tcp232-504

    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...
  • Page 30: Led Status

    A (+), B (-) to B (-). 3.7. 3.7. USR-TCP232-52E USR-TCP232-52E 3.7. 3.7. USR-TCP232-52E USR-TCP232-52E 3.7.1. Hardware 3.7.1. 3.7.1. 3.7.1. Hardware Hardware Hardware Diagram 3-21 USR-TCP232-52E Mechanical dimesion: (L×W×H): 103×105×28(mm); Page30/ / / / 9 Jinan USR IOT Technology Co., Ltd tec@usr.cn...
  • Page 31: Power

    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...
  • Page 33: Led Status

    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...
  • Page 34: Rj45 Interface

    Link1(green) In RJ45 1 port, bright after network connection Link2(green) In RJ45 2 port, bright after network connection Link3(green) bright after network connection module Diagram 3-25 LED definition Page34/ / / / 9 Jinan USR IOT Technology Co., Ltd tec@usr.cn...
  • Page 35: Rs232 Interface

    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...
  • Page 36: Reload

    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.
  • Page 38: Specific Functions

    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...
  • Page 40: Hardware Flow Control

    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...
  • Page 41: Firmupdate

    1. Search and select one module Diagram 5-6 search and select 2. ‘Device’ -> firmware update Page41/ / / / 9 Jinan USR IOT Technology Co., Ltd tec@usr.cn...
  • Page 42: Module Uses

    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. Page42/ / / / 9 Jinan USR IOT Technology Co., Ltd tec@usr.cn...
  • Page 43: Hardware Connection

    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...
  • Page 44: 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. 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.
  • Page 47: Common Questions

    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...
  • Page 51: Modified History

    -E, -400, -500 into one file; add TCP Auto, HTTPD Client and so on. V1.2 add Keepalive V1.2.1 add -ED, -401, -504 V1.2.3 add-52E,52PE V1.2.5 modify errors Page51/ / / / 9 Jinan USR IOT Technology Co., Ltd tec@usr.cn...

Table of Contents

Save PDF