Error Codes
| Value (hex) | Value (dec) | Description 
 | 
|---|---|---|
| 0x0000 | 0 | No error. | 
| 0x8001 | 32769 | The specified UDP port could not be opened. | 
| 0x8002 | 32770 | Ports opened by the TwinCAT PLC runtime system could not be closed. | 
| 0x8003 | 32771 | Invalid socket for receiving UDP telegrams. | 
| 0x8004 | 32772 | Invalid socket for sending UDP telegrams. |