Jinan USR IOT Technology USR-TCP232-410S Manual

Jinan USR IOT Technology USR-TCP232-410S Manual

Serial device server

Advertisement

Quick Links

USR-TCP232-410S User Manual
USR-TCP232-410S Manual
File Version: V1.0.0
1 / 46

Advertisement

Table of Contents
loading
Need help?

Need help?

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

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for Jinan USR IOT Technology USR-TCP232-410S

  • Page 1 USR-TCP232-410S User Manual USR-TCP232-410S Manual File Version: V1.0.0 1 / 46...
  • Page 2: Table Of Contents

    USR-TCP232-410S User Manual Contents 1. Quick Start..................................4 1.1. Hardware Testing Environment........................4 1.2. Data Transmission Testing..........................4 1.3. Default Parameter Test............................5 2. Overview..................................7 2.1. Brief Introduction..............................7 2.2. Features................................7 2.3 Declaration of Compatibility with USR-TCP232-410..................8 2.4 Basic Parameter..............................8 3.
  • Page 3 USR-TCP232-410S User Manual 5.3 Serial Configuration............................45 6. Contact ..................................46 3 / 46...
  • Page 4: Quick Start

    Any question during testing, please submit it on our technical support center: http://h.usriot.com 1.1. Hardware Testing Environment Connect 410S (shorten for USR-TCP232-410S) ‘COM with PC’s via serial cable(or USB to serial cable). Connect network interface between 410S’ and PC’s via network cable.
  • Page 5: Default Parameter Test

    USR-TCP232-410S User Manual PC Local Connection Configuration 1.3. Default Parameter Test Default parameter is as below excel: User name admin Password admin IP address 192.168.0.7 Subnet Mask 255.255.255.0 Default Gateway 192.168.0.1 Default Work Mode TCP Server Default Local Port Baud Rate...
  • Page 6 USR-TCP232-410S User Manual The below picture is for your reference: Default Parameter Test 6 / 46...
  • Page 7: Overview

    USR-TCP232-410S User Manual 2. Overview 2.1. Brief Introduction USR-TCP232-410S is to transmit transparently between TCP/UDP data packet and RS232/RS485 interface. It carries ARM Processor, low power, fast speed, high stability. 2.2. Features 1. Multiple indicator lights for convenient debugging 2. Power-line terminal for industrial application 3.
  • Page 8: Declaration Of Compatibility With Usr-Tcp232-410

    USR-TCP232-410S User Manual 2.3 Declaration of Compatibility with USR-TCP232-410 410S’ software is fully compatible with 410, as well as power interface, RS485 interface, RS232 interface and network interface, not for outlook and size. 2.4 Basic Parameter Parameter Value Input Voltage DC5~36V...
  • Page 9: Indicators

    USR-TCP232-410S User Manual 3.2 Indicators POWER: indicate power. It is on when power is supplied. WORK: indicate working status. It twinkles when 410S works well. If it is on or off for a period, 410S works improperly, you should cut the power and restart.
  • Page 10: Tcp Client Mode

    USR-TCP232-410S User Manual 410S Function Diagram 4.1.1 TCP Client Mode Different from UDP mode, its connection can be disconnected and kept. Identify disconnects. After connection built, it sends keepalive searching packet every 15 seconds. Once there is an interrupt, it can be detected rapidly then make 410S disconnect from former connection and reconnect.
  • Page 11 USR-TCP232-410S User Manual Support Modbus TCP function. When 410S work under TCP Client to connect to TCP server, Destination IP and port should be cared. The IP can be device with same LAN, also can be different LAN or cross public network. If it connects to server cross public network, the server should have public IP.
  • Page 12 USR-TCP232-410S User Manual TCP Client Software Configuration USR-TCP232-TEST software: Configure serial parameter. Click to open the port. Test software network part shows connection message:192.168.0.7:49153(port# assigned randomly). Click “send”, you can gain data from each side. 12 / 46...
  • Page 13: Tcp Server Mode

    USR-TCP232-410S User Manual TCP Client Software Configuration 4.1.2 TCP Server Mode Different from UDP, its connection can be disconnected and kept. 410S listens to local port set firstly, respond and build connection when there is a request. COM send data received to all devices connected with 410S at the same time.
  • Page 14: Udp Client Mode

    USR-TCP232-410S User Manual TCP Server Test Screenshot 4.1.3 UDP Client Mode It belongs to UDP protocol, no connection, just sending data. 410S only communicate with destination port of IP. Otherwise, the data cannot be received. Destination Address is 255.255.255.255, then it can make UDP broadcast and receive broadcast data.
  • Page 15 USR-TCP232-410S User Manual UDP Client Software Configuration UDP Client Testing Screenshot 15 / 46...
  • Page 16: Udp Server Mode

    USR-TCP232-410S User Manual 4.1.4 UDP Server Mode It doesn't verify source IP address. Every time 410S receive a UDP data packet, it revise destination IP to where data comes and it replies to the IP and port which communicate latest.
  • Page 17: Tcp And Udp Comparison

    USR-TCP232-410S User Manual UDP Server Test Screenshot 4.1.5 TCP and UDP Comparison Advantages Stable, no loss No connection mechanism, simple and Reliable connection mechanism flexible Resend after data sending fails Suit for small packet and high frequency Accurate data sending interval...
  • Page 18 USR-TCP232-410S User Manual And 410S totally transmit the data returned, the user need to take part the packets and analysis. Test: Open its webpage 1. Set 410S HTTPD Client. 2. Set HTTPD packet Header. HTTPD Client Webpage Configuration Screenshot HTTPD Client only support GET to request HTTPD Server. POST will be available in the following.
  • Page 19: Usr-Vcom Application

    USR-TCP232-410S User Manual 3. Save the parameters and restart 410S. 4. Open serial to send data, then the data can be submitted onto our webpage server. 5. For more, please refer to Application Case on USR Website: www.usriot.com. HTTPD Client Test Screenshot 4.1.7 USR-VCOM Application...
  • Page 20 USR-TCP232-410S User Manual USR-VCOM Add a COM USR-VCOM Build Connection 20 / 46...
  • Page 21: Dhcp

    USR-TCP232-410S User Manual 4.1.8 DHCP DHCP is obtaining IP address automatically. 410S’ IP obtaining have 2 types: DHCP and static IP. It is static IP192.168.0.7 by default. DHCP is effective after change to DHCP and restart. When 410S connects to router or device assigning IP, it require IP address from host within network, which takes about 5-15 seconds.Then you can search...
  • Page 22 USR-TCP232-410S User Manual Web to Serial Webpage 22 / 46...
  • Page 23 USR-TCP232-410S User Manual Web to Serial COM Send/Receive Data 23 / 46...
  • Page 24 USR-TCP232-410S User Manual Web to serial test Web to serial needs user’s webpage programming ability. Design webpage, request own device’s data and process data then reveal the results on webpage. According to chapter4.1.17 Customized Webpage, can download revised webpage into 410S.
  • Page 25: Keepalive

    USR-TCP232-410S User Manual 4.1.11 KeepAlive When 410S’ network is abnormal, it can judge the status in time and disconnect. And connect to server once network recovers. 4.1.12 Modbus RTU to Modbus TCP Settings: Open USR-TCP232-M4,E45 Setup Software, set 410s TCP server/TCP client mode.
  • Page 26: Webpage Port

    USR-TCP232-410S User Manual 4.1.14 Webpage Port 410S has built-in webpage server and the port is 80. Also the port can be revised and visit the web via revised port. 4.1.15 Revise MAC User can check software’s MAC address. 410S’s MAC is Globally Unique. Also it support customized MAC.
  • Page 27: Hardware Flow Control Rts/Cts

    USR-TCP232-410S User Manual 4.1.18 Hardware Flow Control RTS/CTS 410S support serial RTS/CTS Hardware flow control function. It is disabled by default. Don’t enable it if device doesn't support Hardware flow control . 4.1.19 Reload Cut off power firstly. Press “reload” and supply power. Then keep pressing reload for 5 seconds.
  • Page 28 USR-TCP232-410S User Manual RFC2217 protocol to improve accuracy of transmission. Protocol length is 8 bytes. And values taken for example is in HEX: Packet Name Baud Rate Bytes parameter Parity Header Bytes Remove 4 bits High is in front, reduce...
  • Page 29: Setting Protocol

    USR-TCP232-410S User Manual 4.2 Setting Protocol It is network setting protocol and serial port setting protocol. 4.2.1 Network Setting Protocol 4.2.1.1 Set Parameter Process Build SOCKET: Build UDP SOCKET, destination IP: 55.255.255.255, destination port: 1901. Low is in front. Setting command process:...
  • Page 30 USR-TCP232-410S User Manual [MAC] [usrname] settings [password] parameter [MAC] [usrname] settings [password] parameter 0x10 [MAC] [usrname] Cloud [password] Command examples Search command example Search command is set to: FF 01 01 02 Sum check: 02 = 01 + 01 Reset command example...
  • Page 31 USR-TCP232-410S User Manual Basic Parameter: Name Byte Example Explanation ucSequenceN Write the read values ucCRC Write the read values ucVersion Write the read values ucFlags IP address type: 0 in 8 bit: DHCP;1 in 8 bit: Static IP usLocationUR 20 19...
  • Page 32 USR-TCP232-410S User Manual Port settings parameter command Port parameter: Name bytes example Explanation ulBaudRate 00 C2 01 00 Baud Rate ucDataSize COM data bits (0X05/0x06/0x07/0x08) COM parity ucParity 1: no, 2: odd, 3: even, 4: mark, 5: space ucStopBits COM stop bit (0x01/0x02) ucFlowControl COM flow control ( 0x01;...
  • Page 33 USR-TCP232-410S User Manual 4.1.1.3 Commands’ Return Content Return results of search command Return command: Bytes Name Example Explanation TAG_STATUS Packet_length CMD_DISCOVER_TARG Board_type Board_ID Client_IP_address C0 A8 00 07 Device IP(High in front) AC CF 23 20 FE 9~14 MAC_address Device MAC(High in front)
  • Page 34: Serial Setting Protocol

    USR-TCP232-410S User Manual Return results of save settings command If settings are correct, it returns: FF 01 04 4B Return results of basic settings command FF 01 05 4B Others return results Sum check fault returns 'E' + right parity...
  • Page 35 USR-TCP232-410S User Manual Software Configuration—Search 1. Click searched device and check user name/password. If it is correct, it reveals 410S information. If not, it pops up retype window, click “Confirm”. User name and password is admin by default. 35 / 46...
  • Page 36 USR-TCP232-410S User Manual Software Configuration-Password 2. Basic parameter configuration Click “show all” and all basic parameter is revealed. Set the parameter as needs and click “Base Save” then can set successfully. 36 / 46...
  • Page 37 USR-TCP232-410S User Manual Software Configuration --Full Show 37 / 46...
  • Page 38 USR-TCP232-410S User Manual Software Configuration-Base Save Websocket port: refer to Chapter 4.1.8.3 Webpage to serial  Webpage port: it is 80 by default when visit webpage.  Device ID: refer to Chapter 4.1.8.6 Device ID  Device ID type: sending ID type ...
  • Page 39 USR-TCP232-410S User Manual Software Configuration-COM 1 Configuration Serial Baud rate: it can be standard or customized. Parity/Data/Stop: serial parameter. Serial Flow control: None/RS485/Hardware, None/RS485 for no flow control, Hardware for dishware flow control. Work Mode: TCP Server /TCP Client/HTTPD Client/UDP Client/UDP Server Destination IP/Port: IP connected when 410S works as client (TCP Client/HTTPD Client/UDP Client) Local Port: port 410S to connect.
  • Page 40 USR-TCP232-410S User Manual 40 / 46...
  • Page 41: Webpage Configuration

    USR-TCP232-410S User Manual Firmware Upgrade 5.2 Webpage Configuration Open browser and type in 410s’ IP (192.168.0.7 by default) Then user name: admin and password: admin. 41 / 46...
  • Page 42 USR-TCP232-410S User Manual Webpage Log In 1. Current page reveals basic information: 410S name  Firmware version  Current IP address  MAC address  Total running time: from be powered  Count of data sending: how many data sent from powered ...
  • Page 43 USR-TCP232-410S User Manual Webpage Configuration-Local IP Configuration 3. RS232 Baud Rate  Data Bit  Parity Bit  Stop Bit  Flow hardware and RS485  Local Port  Remote Port  Work Mode  Remote server address  Serial pack time ...
  • Page 44 USR-TCP232-410S User Manual 5. Web to serial Click “web to serial ” and “connect success” pops up. Confirm then send data. Web to Serial 6. Advanced configuration 410S Name  Websocket Port  Webpage Port  Device ID  ID Type ...
  • Page 45 USR-TCP232-410S User Manual Webpage configuration- Restart 5.3 Serial Configuration Serial configuration use AT command, please refer to Chapter 4.2.1 Serial setting Protocol. 45 / 46...
  • Page 46 USR-TCP232-410S User Manual 6. Contact Company: Jinan USR IOT Technology Limited Address: Floor 11,Building1,No.1166 Xinluo Street,Gaoxin Distric,Jinan,Shandong,250101 China Tel: 86-531-55507297, 86-531-88826739 Web: http://www.usriot.com Support : http://h.usriot.com Email: sales@usr.cn 46 / 46...

Table of Contents