USR-TCP232-410S User Manual
2 / 46
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. Hardware......................................................................................................................................................................... 8
3.1 Dimension............................................................................................................................................................. 8
3.2 Indicators...............................................................................................................................................................9
4. Software Design Reference......................................................................................................................................... 9
4.1 Functions...............................................................................................................................................................9
4.1.1 TCP Client Mode....................................................................................................................................10
4.1.2 TCP Server Mode.................................................................................................................................. 13
4.1.3 UDP Client Mode....................................................................................................................................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 Modbus RTU to Modbus TCP............................................................................................................25
4.1.13 Device ID...............................................................................................................................................25
4.1.14 Webpage Port.......................................................................................................................................26
4.1.15 Revise MAC..........................................................................................................................................26
4.1.16 Firmware Upgrade...............................................................................................................................26
4.1.17 Customized Webpage.........................................................................................................................26
4.1.18 Hardware Flow Control RTS/CTS.....................................................................................................27
4.1.19 Reload....................................................................................................................................................27
4.1.20 Flow Calculation...................................................................................................................................27
4.1.21 Synchronous baud rate (RFC2217)..................................................................................................27
4.2 Setting Protocol..................................................................................................................................................29
4.2.1 Network Setting Protocol...................................................................................................................... 29
4.2.2 Serial Setting Protocol...........................................................................................................................34
5. Parameter Configuration............................................................................................................................................ 34
5.1 Software Configuration.....................................................................................................................................34
5.2 Webpage Configuration....................................................................................................................................41