background image

USR-TCP232-410S User Manual

13 / 46

TCP Client Software Configuration

4.1.2 TCP Server Mode

1) Different from UDP, its connection can be disconnected and kept.
2) 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.

3) It supports USR Synchronous baud rate (Similar RCF2217), which can revise 410S’ serial

parameter as baud rate accordingly. This function should be combined with USR-VCOM.

4) It support 8 clients connections at max. (32 clients will be improved in the following.)
5) Support Modbus TCP function.
6) Under TCP Server mode, 410S listens to local port actively and no monitoring for IP and port

connected. When the 9

th

client is connected, the oldest one will be ticked.

7) Test

Set 410S TCP Server Mode, local port 23, same as default.

Open USR-TCP232-TEST Software: set the mode: TCP Client, Destination IP and port. Click”Connect”
to test data transmission.

Summary of Contents for USR-TCP232-410S

Page 1: ...USR TCP232 410S User Manual 1 46 USR TCP232 410S Manual File Version V1 0 0...

Page 2: ...e 14 4 1 4 UDP Server Mode 16 4 1 5 TCP and UDP Comparison 17 4 1 6 HTTPD Client 17 4 1 7 USR VCOM Application 19 4 1 8 DHCP 21 4 1 9 DNS 21 4 1 10 Webpage to serial 21 4 1 11 KeepAlive 25 4 1 12 Modb...

Page 3: ...USR TCP232 410S User Manual 3 46 5 3 Serial Configuration 45 6 Contact 46...

Page 4: ...2 410S COM with PC s via serial cable or USB to serial cable Connect network interface between 410S and PC s via network cable Then supply power for 410S with our AC adapter make sure you can supply a...

Page 5: ...1 Open test software USR TCP232 Test exe and do hardware connection according to Chapter 1 1 Hardware Testing Environment 2 The right side is Network Settings TCP Client IP address 192 168 0 7 port 23...

Page 6: ...USR TCP232 410S User Manual 6 46 The below picture is for your reference Default Parameter Test...

Page 7: ...ace 7 Support static IP DHCP and search devices within network through UDP broadcast 8 Provide serial and network setting protocol key codes explanation 9 Provide PC TCP IP SOCKET programming example...

Page 8: ...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 Working C...

Page 9: ...hen 410S works well If it is on or off for a period 410S works improperly you should cut the power and restart 3 232TX It twinkles when 410S RS232 sends data 4 232RX It twinkles when 410S RS232 receiv...

Page 10: ...e detected rapidly then make 410S disconnect from former connection and reconnect 3 It will connect to same source port when 410S try to connect server and local port is not 0 4 It supports USR Synchr...

Page 11: ...g other connection request 10 When 410S work under TCP Client need to set 410S s local port to be 0 then it can visit server with randomized so that it can solve in successful re connection in case se...

Page 12: ...ent Software Configuration 3 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 Cli...

Page 13: ...17 which can revise 410S serial parameter as baud rate accordingly This function should be combined with USR VCOM 4 It support 8 clients connections at max 32 clients will be improved in the following...

Page 14: ...t data Broadcast within segment as 192 168 0 255 it can be sent but cannot be received currently 4 Under UDP Client and UDP Server mode host PC allow data length 1460 bytes at max to 410S 5 Test 1 Ope...

Page 15: ...USR TCP232 410S User Manual 15 46 UDP Client Software Configuration UDP Client Testing Screenshot...

Page 16: ...it replies to the IP and port which communicate latest 2 Test 1 Open USR TCP232 M4 E45 Setup Software Set 410S UDP Server local port 23 2 Open USR TCP232 TEST Software twice Set work mode to be UDP De...

Page 17: ...ng interval Disadvantages Long packet starting Jam for small packet and high frequency Inaccurate interval resulted from check and resend mechanism More loss under severe network environment 4 1 6 HTT...

Page 18: ...S HTTPD Client 2 Set HTTPD packet Header HTTPD Client Webpage Configuration Screenshot 1 HTTPD Client only support GET to request HTTPD Server POST will be available in the following 2 GET is settled...

Page 19: ...sion problem of traditional device PC software working as COM USR VCOM support receiving data from set COM and send serial data out as network How to connect 410S with Visual COM 1 Set 410S TCP Server...

Page 20: ...USR TCP232 410S User Manual 20 46 USR VCOM Add a COM USR VCOM Build Connection...

Page 21: ...not transmit data normally but wait for IP 4 1 9 DNS 410S access the domain name or dynamic domain name when work under Client mode The length of domain name must be less than 30 bytes 410S will analy...

Page 22: ...USR TCP232 410S User Manual 22 46 Web to Serial Webpage...

Page 23: ...USR TCP232 410S User Manual 23 46 Web to Serial COM Send Receive Data...

Page 24: ...chapter4 1 17 Customized Webpage can download revised webpage into 410S 1 Build a connection and connect to 410S function connectx try socket new WebSocket ws window location host 6432 socket binaryT...

Page 25: ...odbus RTU to Modbus TCP Settings 1 Open USR TCP232 M4 E45 Setup Software set 410s TCP server TCP client mode 2 Select ModbusTCP 3 Click to save the parameter Modbus TCP Configuration 4 1 13 Device ID...

Page 26: ...1 16 Firmware Upgrade 410S firmware upgrade is fulfilled via network For details please refer to Chapter 5 1 configure parameter with configuration software 4 1 17 Customized Webpage User can make rev...

Page 27: ...to serial user need to control the flow because of limit of serial speed Otherwise serial data will spill For example network send data m bytes every n seconds m bytes should be transmitted with n se...

Page 28: ...bit 115200 N 8 1 55 AA 55 01 C2 00 03 46 9600 N 8 1 55 AA 55 00 25 80 03 28 Serial parameter bit Bit Explanation Value Description 1 0 Data bit selection 00 5 bits 01 6 bits 10 7 bits 11 8bits 2 Stop...

Page 29: ...to MAC known user name password and parameter to be configured 5 Send setting command 6 410S returns correct setting 7 Host PC send save setting command 8 410S returns correct 9 Restart command 10 410...

Page 30: ...01 01 2 Reset command example FF 13 02 d8 b0 4c 00 04 c9 61 64 6d 69 6e 00 61 64 6d 69 6e 00 c8 Sum check C8 13 02 6E 00 User name and password both are 5 bytes 00 bits 0 for the lack 3 Read settings...

Page 31: ...tMask 4 00 FF FF FF Subnet Mask ucModName 16 55 53 52 2D 54 43 50 32 33 32 2D 45 00 00 00 00 410S name username 6 61 64 6D 69 6E 00 username password 6 61 64 6D 69 6E 00 password ucNetSendTim e 1 Writ...

Page 32: ...00 00 00 00 00 00 00 00 00 00 00 00 IP address send in ASCII Example 192 168 0 1 ulTelnetIPAddr 4 00 00 00 00 Not adopted ucFlags 1 02 Enable MODBUSTCP 0x010 bit2 Enable 2217 0x08 bit3 Enable USR clo...

Page 33: ...2 2D 54 43 50 32 33 32 2D 35 30 30 00 00 Device name 35 checksum F0 checksum Example Return results of search command 36 bytes FF 24 01 00 4B C0 A8 00 4D D8 B0 4C 00 04 C9 DD 07 01 00 55 53 52 2D 54 4...

Page 34: ...It is setup software configuration webpage configuration and serial configuration How to configure Revise user name password set IP access method serial parameter 410S work mode work mode related para...

Page 35: ...al 35 46 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 pas...

Page 36: ...410S User Manual 36 46 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 su...

Page 37: ...USR TCP232 410S User Manual 37 46 Software Configuration Full Show...

Page 38: ...Code for revising parameter to avoid other users within same LAN revising it Password same as user name Device Name 410S s name an be revised MAC address 410S MAC IP address type Static and DHCP 410S...

Page 39: ...TCP Client HTTPD Client UDP Client Local Port port 410S to connect Advice to set it to 0 when 410S works under TCP Client for connection with Random port TCP Server Type No Modbus TCP set this when M...

Page 40: ...USR TCP232 410S User Manual 40 46...

Page 41: ...USR TCP232 410S User Manual 41 46 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...

Page 42: ...al running time from be powered Count of data sending how many data sent from powered Count of data receiving how many data received from powered 410S connection status check whether connection is bui...

Page 43: ...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 Serial pack length S...

Page 44: ...ration 410S Name Websocket Port Webpage Port Device ID ID Type MAC Address can be revised User Name Password Cache Data or not whether serial and network data are cached if disconnection Reset time fo...

Page 45: ...USR TCP232 410S User Manual 45 46 Webpage configuration Restart 5 3 Serial Configuration Serial configuration use AT command please refer to Chapter 4 2 1 Serial setting Protocol...

Page 46: ...ct 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 Supp...

Reviews: