Error codes
Overview
Codes (hex) | Codes (dec) | Error source | Description |
---|---|---|---|
0x00000000-0x00002000 | 0-8192 | Serial communication errors | Serial communication error (only if error source=eIEC870_ESRC_IEC60870_5_101LINK ). |
0x00000000-0x00007800 | 0-30720 | TwinCAT System error | TwinCAT System error (ADS error codes inclusive only if error error source <>eIEC870_ESRC_IEC60870_5_101LINK ). |
0x80070000-0x8007FFFF | 2147942400-2148007935 | Error source = Code - 0x80070000 = Win32 system error code | 0x80070000-0x8007FFFF |
0x00008100-0x000081FF | 32768-33023 | IEC 60870-5-10x error | Internal IEC 60870-5-10x error |
IEC 60870-5-10x errors
Code (hex) | Code (dec) | Symbolic constant | Description |
---|---|---|---|
0x00008101 | 33025 | IEC870_COMMERR_INVALIDSTARTBYTE | Invalid frame start character <> 0x68 |
0x00008102 | 33026 | IEC870_COMMERR_RXBUFFOVERFLOW | Receive buffer overflow |
0x00008103 | 33027 | IEC870_COMMERR_TXBUFFOVERFLOW | Send buffer overflow |
0x00008104 | 33028 | IEC870_COMMERR_INVALIDUFFMT | Invalid U-Frame format, more than one function (STARTDT, STOPDT, TESTFR) activated |
0x00008105 | 33029 | IEC870_COMMERR_INVALIDSFFMT | Invalid S-Frame format, invalid length parameter |
0x00008106 | 33030 | IEC870_COMMERR_T1RESPONSE | t1 (response timeout) expired |
0x00008107 | 33031 | IEC870_COMMERR_SENDSEQ | Send sequence error |
0x00008108 | 33032 | IEC870_COMMERR_KOVERFLOW | k reached |
0x00008109 | 33033 | IEC870_COMMERR_FATALERR | Fatal internal error |
0x0000810A | 33034 | IEC870_COMMERR_INVALIDSTATE | Device is in invalid state (disconnected?) |
0x0000810B | 33035 | IEC870_COMMERR_INVALIDSIZE | Invalid parameter size |
0x0000810C | 33036 | IEC870_COMMERR_INVALIDVALUE | Invalid parameter value |
0x0000810D | 33037 | IEC870_COMMERR_INVALIDTYPE | Invalid asdu (object) type |
0x0000810F | 33039 | IEC870_COMMERR_TIMEOUT | Communication timeout |
0x00008110 | 33040 | IEC870_COMMERR_LENGTH1 | Invalid length field value |
0x00008111 | 33041 | IEC870_COMMERR_LENGTH2 | Length field and length field copy differs |
0x00008112 | 33042 | IEC870_COMMERR_STARTCHAR2 | Invalid second stat character |
0x00008113 | 33043 | IEC870_COMMERR_CHECKSUM | Invalid checksum |
0x00008114 | 33044 | IEC870_COMMERR_ENDCHAR | Invalid end character |
0x00008115 | 33045 | IEC870_COMMERR_LINKADDR | Invalid link address size |
0x00008116 | 33046 | IEC870_COMMERR_SRVFUNCODE | Invalid link service function code |
0x00008117 | 33047 | IEC870_COMMERR_FRAMETYPE | Invalid frame type |
0x00008118 | 33048 | IEC870_COMMERR_UNSUPMODE | Unsupported comunication mode (balanced mode) |
0x00008119 | 33049 | IEC870_COMMERR_T2KOVERFLOW | k reached and t2 (response timeout) expired |
0x0000811A | 33050 | IEC870_COMMERR_INVALIDCONFIG | Invalid object configuration/initialization |
0x0000811B | 33051 | IEC870_COMMERR_UNKNOWNTYPE | Unknown asdu type |
0x0000811C | 33052 | IEC870_COMMERR_UNKNOWNCOT | Unknown cause of transfer |
0x0000811D | 33053 | IEC870_COMMERR_UNKNOWNASDUADDR | Unknown asdu address |
0x0000811E | 33054 | IEC870_COMMERR_UNKNOWNOBJADDR | Unknown object address |
0x0000811F | 33055 | IEC870_COMMERR_NEGACTCON | Negative activation confirmation |
0x00008120 | 33056 | IEC870_COMMERR_NEGACTTERM | Negative activation termination |
0x00008121 | 33057 | IEC870_COMMERR_NEGDEACTCON | Negative deactivation confirmation |
0x00008122 | 33058 | IEC870_COMMERR_BUSY | Allready in busy state |
0x00008123 | 33059 | IEC870_COMMERR_AODBOVERFLOW | Application object database overflow |
0x00008124 | 33060 | IEC870_COMMERR_AODBNOTFOUND | Application object not in database |
0x00008125 | 33061 | IEC870_COMMERR_ACTCONTIMEOUT | Activation confirmation timeout error |
0x00008126 | 33062 | IEC870_COMMERR_ACTTERMTIMEOUT | Activation termination timeout error |
0x00008127 | 33063 | IEC870_COMMERR_DEACTCONTIMEOUT | Deactivation termination error |
0x00008128 | 33064 | IEC870_COMMERR_SELEXECTIMEOUT | Command select/execute timeout error |
0x00008129 | 33065 | IEC870_COMMERR_READRESTIMEOUT | Read command response timeout error |
0x00008130 | 33072 | IEC870_COMMERR_LIBNOTCOMPAT | Product libraries are incompatible |
0x00008131 | 33073 | IEC870_COMMERR_DIR | Invalid DIR bit value |
0x00008132 | 33074 | IEC870_COMMERR_PRM | Invalid PRM bit value |
0x00008133 | 33075 | IEC870_COMMERR_FCV | Invalid FCV bit value |
0x00008134 | 33076 | IEC870_COMMERR_SCANTIMEOUT | Station scan cycle timeout error |