2 / 69
Contents
1. Quick Start.......................................................................................................................................................................4
1.1. Hardware Testing Environment........................................................................................................................ 4
1.2. Network Test Environment................................................................................................................................ 4
1.3. Default Parameter ............................................................................................................................................ 5
1.4. Data Transmission Test..................................................................................................................................... 5
2. Overview..........................................................................................................................................................................7
2.1. Brief Introduction.................................................................................................................................................7
2.2. Features............................................................................................................................................................... 7
2.3. Basic Parameter................................................................................................................................................. 8
2.4. Dimension............................................................................................................................................................ 8
2.5. Indicators and Dial switch................................................................................................................................. 9
2.6. DB9 Pin Definition............................................................................................................................................ 11
3. Product Function..........................................................................................................................................................12
3.1. Socket A Communication................................................................................................................................ 12
3.1.1. TCP Client Model.................................................................................................................................. 12
4.1.1 TCP Client Mode.................................................................................................................................... 12
3.1.2. TCP Server Mode................................................................................................................................. 15
3.1.3. UDP Client Mode.................................................................................................................................. 16
3.1.4. UDP Server Mode.................................................................................................................................18
3.1.5. TCP and UDP Comparison................................................................................................................. 19
3.1.6. HTTPD Client.........................................................................................................................................19
3.2. Socket B Communication................................................................................................................................21
3.3. USR-VCOM Application.................................................................................................................................. 23
3.4. Modbus Gateway..............................................................................................................................................24
3.4.1. Transmit modbus protocol in transparent mode.............................................................................. 24
3.4.2. Modbus RTU to Modbus TCP.............................................................................................................24
3.4.3. Modbus Active Query Function...........................................................................................................26
3.4.4. Modbus Polling Function..................................................................................................................... 29
3.5. Value-added Functions....................................................................................................................................32
3.5.1. DHCP...................................................................................................................................................... 32
3.5.2. DNS......................................................................................................................................................... 32
3.5.3. Self-Defined Heartbeat Function........................................................................................................32
3.5.4. Self-Defined Registration Package Function................................................................................... 34
3.5.5. Web to serial.......................................................................................................................................... 36
3.5.6. Customized Webpage..........................................................................................................................39
3.5.7. Network Printing Function................................................................................................................... 39
3.5.8. Serial Port Packaging Mechanism.....................................................................................................41
3.5.9. Flow Calculation....................................................................................................................................42
3.5.10. Synchronous baud rate (RFC2217)................................................................................................ 42
3.5.11. KeepAlive............................................................................................................................................. 44
3.5.12. Device ID..............................................................................................................................................44