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
| 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_BASETYPES | 1048608 | Error while parsing ADS base types |
| 0x100021 | 1048609 | HMI_ADS_E_PARSE_DATA | 1048609 | Error while parsing ADS data |
| 0x100022 | 1048610 | HMI_ADS_E_NOT_IMPLEMENTED | 1048610 | Function not implemented (trying to write a reference value) |
| 0x100030 | 1048624 | HMI_ADS_E_INVALID_DATA | 1048624 | Invalid data written to server or an ADS datatype can not be parsed |
| 0x100031 | 1048625 | HMI_ADS_E_UPLOAD_DATA | 1048625 | No upload data provided by configured ADS runtime |
| 0x100032 | 1048626 | HMI_ADS_E_UNEXPECTED | 1048626 | Should not happen contact support |
| 0x100033 | 1048627 | HMI_ADS_E_INVALID_RUNTIME | 1048627 | Runtime name is empty or invalid |
| 0x100034 | 1048628 | HMI_ADS_E_INVALID_PARAMETER | 1048628 | A parameter of the requested function is invalid |
| 0x100035 | 1048629 | HMI_ADS_E_NO_OFFLINE_DATA | 1048629 | No offline data available |
| 0x100036 | 1048630 | HMI_ADS_E_INVALID_SYMBOL | 1048630 | The requested symbol is not available |
| 0x100037 | 1048631 | HMI_ADS_E_MISSING_PARAMETER | 1048631 | A parameter is missing in the requested function |
| 0x100038 | 1048632 | HMI_ADS_E_ADD_ROUTE | 1048632 | An ADS route could not be added |
| 0x100039 | 1048633 | HMI_ADS_E_EMPTY | 1048633 | No ADS symbols found |
| 0x10003A | 1048634 | HMI_ADS_E_DISABLED | 1048634 | The requested runtime is disabled in the HMI configuration |
| 0x10003B | 1048635 | HMI_ADS_E_LICENSE | 1048635 | A license error occurred |
| 0x10003C | 1048636 | HMI_ADS_E_INVALID_SYMBOL_TYPE | 1048636 | A type from ADS could not be interpreted |
| 0x10003D | 1048637 | HMI_ADS_E_INVALID_SYMBOL_HANDLE | 1048637 | A handle to an ADS symbol has become invalid |
| 0x10003E | 1048638 | HMI_ADS_E_ABORTED | 1048638 | A TCP/IP error occurred |