Appendix | Return codes Specific positive HRESULT Return Codes: TCP Winsock error codes 5.1.2 HMI_ADS_CONSTANTS Enumeration | HMI_ADS_CONSTANTS Enumeration Return codes of the TcHmiAds extension. Namespace: TcHmiAds Assembly: TcHmiAds (in TcHmiAds.dll) Version: 1.0.0.0 (1.0.0.0) Members TF2000 57 Version: 1.8.0 Hex Dec HRESULT Name Description 0x100D 4109 0x9811100D RTERR EXTIRQALREADYDEF _ An external synchronization interrupt is already applied. 0x100E 4110 0x9811100E RTERR EXTIRQNOTDEF _ No external sync interrupt applied. 0x100F 4111 0x9811100F RTERR EXTIRQINSTALLFAILED _ Application of the external synchronization interrupt has failed.
0x1010 4112 0x98111010 RTERR IRQLNOTLESSOREQUAL _ Call of a service function in the wrong context 0x1017 4119 0x98111017 RTERR VMXNOTSUPPORTED _ Intel® VT-x extension is not supported. 0x1018 4120 0x98111018 RTERR VMXDISABLED _ Intel® VT-x extension is not enabled in the BIOS. 0x1019 4121 0x98111019 RTERR VMXCONTROLSMISSING _ Missing function in Intel® VT-x extension. 0x101A 4122 0x9811101A RTERR VMXENABLEFAILS _ Activation of Intel® VT-x fails. HRESULT Name Description 0x0000 0000 _ S OK _ No error. 0x0000 0001 _ S FALSE _ No error. Example: successful processing, but with a negative or incomplete result. 0x0000 0203 _ S PENDING _ No error. Example:
successful processing, but no result is available yet. 0x0000 0256 _ S WATCHDOG TIMEOUT _ _ No error. Example: successful processing, but a timeout occurred. Hex Dec Name Description 0x274C 10060 WSAETIMEDOUT A connection timeout has occurred - error while establishing the connection, because the remote terminal did not respond properly after a certain period of time, or the established connection could not be maintained because the connected host did not respond. 0x274D 10061 WSAECONNREFUSED Connection refused - no connection could be established because the target computer has explicitly rejected it.
This error usually results from an attempt to connect to a service that is inactive on the external host, that is, a service for which no server application is running. 0x2751 10065 WSAEHOSTUNREACH No route to host - a socket operation referred to an unavailable host. More Winsock error codes:
Win32 error codes Hex Dec Member name Value Description 0x0 0 HMI ADS SUCCESS _ _ 0 No error, everything fine 0x100000 1048576 HMI ADS E OFFSET _ _ _ 1048576 Offset of TcHmiAds specific error codes 0x100010 1048592 HMI ADS E TCDIR _ _ _ 1048592 TwinCAT directory not found on local system 0x100011 1048593 HMI ADS E TCVERSION _ _ _ 1048593 TwinCAT version invalid 0x100012 1048594 HMI ADS E CONFIGDIR _ _ _ 1048594 TwinCAT configuration directory not found 0x100013 1048595 HMI ADS E STATE _ _ _ 1048595 TwinCAT Router is in invalid state no port could be opened 0x100020 1048608 HMI ADS E PARSE BASET _ _ _ _ YPES 1048608 Error while parsing ADS base types 0x100021 1048609 HMI ADS E PARSE DATA _ _ _ _ 1048609 Error while parsing ADS data