User Manual
Your Trustworthy Industrial IoT Partner www.pusr.com
3.2. Configuration software .................................................................................................................................................. 33
3.2.1. Discovering your gateway .................................................................................................................................... 33
3.2.2. Network setting................................................................................................................................................... 33
3.2.3. Reboot the device ................................................................................................................................................34
3.2.4. Restore to factory default settings ....................................................................................................................... 34
3.2.5. Open web server ................................................................................................................................................. 35
4. Operation modes .................................................................................................................................................................... 35
4.1. TCP Server .....................................................................................................................................................................35
4.1.1. Properties ............................................................................................................................................................. 35
4.1.2. Multihost setting ...................................................................................................................................................37
4.2. TCP Client ..................................................................................................................................................................... 37
4.2.1. Properties .............................................................................................................................................................37
4.2.2. SSL/TLS ...............................................................................................................................................................39
4.2.3. Transient connection ........................................................................................................................................... 39
4.3. UDP Server ................................................................................................................................................................... 40
4.3.1. Properties .............................................................................................................................................................40
4.4. UDP Client .....................................................................................................................................................................41
4.4.1. Properties .............................................................................................................................................................41
4.4.2. UDP multicast ...................................................................................................................................................... 42
4.5. HTTP Client ...................................................................................................................................................................44
4.5.1. Properties .............................................................................................................................................................44
4.5.2. HTTPS ................................................................................................................................................................. 45
4.6. Websocket server ......................................................................................................................................................... 45
5. Virtual COM port ..................................................................................................................................................................... 47
5.1. TCP Server Application with Virtual COM .......................................................................................................................49
5.2. TCP Client Application with Virtual COM ....................................................................................................................... 51
5.3. Enable RFC2217 through Virtual COM ........................................................................................................................... 53
5.3.1. PUSR customized RFC2217 protocol .....................................................................................................................55
6. Modbus TCP/RTU gateway ..................................................................................................................................................... 56
6.1. Ethernet masters with serial slaves................................................................................................................................ 56
6.2. Serial master with Ethernet slave .................................................................................................................................. 57
6.3. Serial master with serial slaves......................................................................................................................................59
6.4. Serial master via virtual COM with serial slaves ............................................................................................................. 60
6.5. Modbus poll with serial heartbeat packet ......................................................................................................................63
7. Advanced features .................................................................................................................................................................. 64
7.1. Packing mechanism ....................................................................................................................................................... 64
7.2. Heartbeat packet ...........................................................................................................................................................65
7.3. Registration packet ........................................................................................................................................................66
7.4. Socket B ........................................................................................................................................................................67
7.5. Rs485 bus detection ......................................................................................................................................................67