📄 pb_err.h
字号:
#define E_FMS_DEF_OBJECT_ALREADY_EXISTS 0x0303
#define E_FMS_RESOURCE_OTHER 0x0400
#define E_FMS_RESOURCE_MEM_UNAVAILABLE 0x0401
#define E_FMS_SERV_OTHER 0x0500
#define E_FMS_SERV_OBJ_STATE_CONFLICT 0x0501
#define E_FMS_SERV_PDU_SIZE 0x0502
#define E_FMS_SERV_OBJ_CONSTR_CONFLICT 0x0503
#define E_FMS_SERV_PARAM_INCONSIST 0x0504
#define E_FMS_SERV_ILLEGAL_PARAM 0x0505
#define E_FMS_ACCESS_OTHER 0x0600
#define E_FMS_ACCESS_OBJ_INVALIDATED 0x0601
#define E_FMS_ACCESS_HARDWARE_FAULT 0x0602
#define E_FMS_ACCESS_OBJ_ACCESS_DENIED 0x0603
#define E_FMS_ACCESS_ADDR_INVALID 0x0604
#define E_FMS_ACCESS_OBJ_ATTR_INCONST 0x0605
#define E_FMS_ACCESS_OBJ_ACCESS_UNSUPP 0x0606
#define E_FMS_ACCESS_OBJ_NON_EXIST 0x0607
#define E_FMS_ACCESS_TYPE_CONFLICT 0x0608
#define E_FMS_ACCESS_NAME_ACCESS_UNSUP 0x0609
#define E_FMS_OD_OTHER 0x0700
#define E_FMS_OD_NAME_LEN_OVERFLOW 0x0701
#define E_FMS_OD_OVERFLOW 0x0702
#define E_FMS_OD_WRITE_PROTECT 0x0703
#define E_FMS_OD_EXTENSION_LEN_OVERFLOW 0x0704
#define E_FMS_OD_OBJ_DESCR_OVERFLOW 0x0705
#define E_FMS_OD_OPERAT_PROBLEM 0x0706
#define E_FMS_OTHER 0x0800
#if (PB_VER < 500)
#define E_INIT 0x0000
#define E_INIT_OTHER 0x0000
#define E_INIT_MAX_PDU_SIZE_INSUFF 0x0001
#define E_INIT_FEAT_NOT_SUPPORTED 0x0002
#define E_INIT_OV_VERSION_INCOMP 0x0003
#define E_INIT_USER_DENIED 0x0004
#define E_INIT_PASSWORD_ERROR 0x0005
#define E_INIT_PROFILE_NUMB_INCOMP 0x0006
#define E_VFD_STATE_OTHER 0x0100
#define E_APPLICATION_OTHER 0x0200
#define E_APPLICATION_UNREACHABLE 0x0201
#define E_DEF_OTHER 0x0300
#define E_DEF_OBJ_UNDEF 0x0301
#define E_DEF_OBJ_ATTR_INCONSIST 0x0302
#define E_DEF_OBJECT_ALREADY_EXISTS 0x0303
#define E_RESOURCE_OTHER 0x0400
#define E_RESOURCE_MEM_UNAVAILABLE 0x0401
#define E_SERV_OTHER 0x0500
#define E_SERV_OBJ_STATE_CONFLICT 0x0501
#define E_SERV_PDU_SIZE 0x0502
#define E_SERV_OBJ_CONSTR_CONFLICT 0x0503
#define E_SERV_PARAM_INCONSIST 0x0504
#define E_SERV_ILLEGAL_PARAM 0x0505
#define E_ACCESS_OTHER 0x0600
#define E_ACCESS_OBJ_INVALIDATED 0x0601
#define E_ACCESS_HARDWARE_FAULT 0x0602
#define E_ACCESS_OBJ_ACCESS_DENIED 0x0603
#define E_ACCESS_ADDR_INVALID 0x0604
#define E_ACCESS_OBJ_ATTR_INCONST 0x0605
#define E_ACCESS_OBJ_ACCESS_UNSUPP 0x0606
#define E_ACCESS_OBJ_NON_EXIST 0x0607
#define E_ACCESS_TYPE_CONFLICT 0x0608
#define E_ACCESS_NAME_ACCESS_UNSUP 0x0609
#define E_OV_OTHER 0x0700
#define E_OV_NAME_LEN_OVERFLOW 0x0701
#define E_OV_OVERFLOW 0x0702
#define E_OV_WRITE_PROTECT 0x0703
#define E_OV_EXTENSION_LEN_OVERFLOW 0x0704
#define E_OV_OBJ_DESCR_OVERFLOW 0x0705
#define E_OV_OPERAT_PROBLEM 0x0706
#define E_OTHER 0x0800
#endif
/*****************************************************************************/
/************* FM7 ERROR CLASSES and ERROR CODES *********************/
/*****************************************************************************/
/* The error class is encoded in the high byte of the 16-bit-result, */
/* the error code in the low byte. */
#define E_FM7_INIT_OTHER 0x0000
#define E_FM7_INIT_MAX_PDU_SIZE_INSUFF 0x0001
#define E_FM7_INIT_FEAT_NOT_SUPPORTED 0x0002
#define E_FM7_INIT_USER_DENIED 0x0003
#define E_FM7_APPLICATION_OTHER 0x0100
#define E_FM7_APPLICATION_UNREACHABLE 0x0101
#define E_FM7_RESOURCE_OTHER 0x0200
#define E_FM7_RESOURCE_MEM_UNAVAILABLE 0x0201
#define E_FM7_SERV_OTHER 0x0300
#define E_FM7_SERV_OBJ_STATE_CONFLICT 0x0301
#define E_FM7_SERV_OBJ_CONSTR_CONFLICT 0x0302
#define E_FM7_SERV_PARAM_INCONSIST 0x0303
#define E_FM7_SERV_ILLEGAL_PARAM 0x0304
#define E_FM7_SERV_PERM_INTERN_FAULT 0x0305
#define E_FM7_USR_OTHER 0x0400
#define E_FM7_USR_DONT_WORRY_BE_HAPPY 0x0401
#define E_FM7_USR_MEM_UNAVAILABLE 0x0402
#define E_FM7_ACCESS_OTHER 0x0500
#define E_FM7_ACCESS_OBJ_ACC_UNSUP 0x0501
#define E_FM7_ACCESS_OBJ_NON_EXIST 0x0502
#define E_FM7_ACCESS_OBJ_ACCESS_DENIED 0x0503
#define E_FM7_ACCESS_HARDWARE_FAULT 0x0504
#define E_FM7_ACCESS_TYPE_CONFLICT 0x0505
#define E_FM7_CRL_OTHER 0x0600
#define E_FM7_CRL_INVALID_ENTRY 0x0601
#define E_FM7_CRL_NO_CRL_ENTRY 0x0602
#define E_FM7_CRL_INVALID_CRL 0x0603
#define E_FM7_CRL_NO_CRL 0x0604
#define E_FM7_CRL_WRITE_PROTECTED 0x0605
#define E_FM7_CRL_NO_ENTRY_FOUND 0x0606
#define E_FM7_CRL_NO_MULT_VFD_SUPP 0x0607
#define E_FM7_OTHER 0x0700
#if (PB_VER < 500)
#define E_FMA7_INIT_OTHER 0x0000
#define E_FMA7_INIT_MAX_PDU_SIZE_INSUFF 0x0001
#define E_FMA7_INIT_FEAT_NOT_SUPPORTED 0x0002
#define E_FMA7_INIT_USER_DENIED 0x0003
#define E_FMA7_APPLICATION_OTHER 0x0100
#define E_FMA7_APPLICATION_UNREACHABLE 0x0101
#define E_FMA7_RESOURCE_OTHER 0x0200
#define E_FMA7_RESOURCE_MEM_UNAVAILABLE 0x0201
#define E_FMA7_SERV_OTHER 0x0300
#define E_FMA7_SERV_OBJ_STATE_CONFLICT 0x0301
#define E_FMA7_SERV_OBJ_CONSTR_CONFLICT 0x0302
#define E_FMA7_SERV_PARAM_INCONSIST 0x0303
#define E_FMA7_SERV_ILLEGAL_PARAM 0x0304
#define E_FMA7_SERV_PERM_INTERN_FAULT 0x0305
#define E_FMA7_USR_OTHER 0x0400
#define E_FMA7_USR_DONT_WORRY_BE_HAPPY 0x0401
#define E_FMA7_USR_MEM_UNAVAILABLE 0x0402
#define E_FMA7_ACCESS_OTHER 0x0500
#define E_FMA7_ACCESS_OBJ_ACC_UNSUP 0x0501
#define E_FMA7_ACCESS_OBJ_NON_EXIST 0x0502
#define E_FMA7_ACCESS_OBJ_ACCESS_DENIED 0x0503
#define E_FMA7_ACCESS_HARDWARE_FAULT 0x0504
#define E_FMA7_ACCESS_TYPE_CONFLICT 0x0505
#define E_FMA7_KBL_OTHER 0x0600
#define E_FMA7_KBL_INVALID_ENTRY 0x0601
#define E_FMA7_KBL_NO_KBL_ENTRY 0x0602
#define E_FMA7_KBL_INVALID_KBL 0x0603
#define E_FMA7_KBL_NO_KBL 0x0604
#define E_FMA7_KBL_WRITE_PROTECTED 0x0605
#define E_FMA7_OTHER 0x0700
#endif
/*****************************************************************************/
/************* ADDITIONAL ERROR CODES *******************************/
/*****************************************************************************/
#define NO_ADD_DETAIL 0x00
#define AD_LLI_UNEXP_FDL_OR_TIMER_EVT 0x01
#define AD_LLI_LSAP_ACT_FAILED 0x02
#define AD_LLI_POLL_LIST_LOAD_FAILED 0x03
#define AD_LLI_PUT_RESRC_FAILED 0x04
#define AD_LLI_FDL_RESET_FAILED 0x05
#define AD_LLI_INVAL_SERV 0x01
#define AD_LLI_INVAL_SERV_CHANGE 0x02
#define AD_LLI_INVAL_INDEX_CHANGE 0x03
#define AD_FM7_TO_MANY_CRL_ENTRIES 0x10
#define AD_FM7_COMM_REF_NOT_ALLOWED 0x11
#define AD_FM7_TO_MANY_PARALLEL_SERV 0x12
#define AD_FM7_ILLEGAL_FMS_PDU_SIZE 0x13
#if (PB_VER < 500)
#define AD_FMA7_TO_MANY_KBL_ENTRIES 0x10
#define AD_FMA7_COMM_REF_NOT_ALLOWED 0x11
#define AD_FMA7_TO_MANY_PARALLEL_SERV 0x12
#define AD_FMA7_ILLEGAL_FMS_PDU_SIZE 0x13
#endif
/*****************************************************************************/
/************* FM7 EVENTS *******************************/
/*****************************************************************************/
/* --- LLI-Fault-Indications ---------------------------------------------- */
#define LLI_FM7_RC1 1 /* error while activating SAP (result in AD) */
#define LLI_FM7_RC2 2 /* error while deactivating SAP (result in AD) */
#define LLI_FM7_RC3 3 /* error during FDL_XXX_UPDATE (result in AD) */
#define LLI_FM7_RC4 4 /* error while activ. poll list entry (see AD) */
#define LLI_FM7_RC5 5 /* error while deactiv. poll list entry (see AD)*/
#define LLI_FM7_RC6 6 /* illegal FDL prim. during ASS or ABT (see AD) */
#define LLI_FM7_RC7 7 /* illegal FDL prim. in data transfer (see AD) */
#define LLI_FM7_RC8 8 /* unknown FDL primitive */
#define LLI_FM7_RC9 9 /* unknown LLI primitive */
#define LLI_FM7_RC10 10 /* illegal LLI prim. during ASS or ABT (see AD) */
#define LLI_FM7_RC11 11 /* illegal LLI prim. in data transfer (see AD) */
#define LLI_FM7_RC12 12 /* SDA failed (result in AD) */
#define LLI_FM7_RC13 13 /* CSRD transmission failed (result in AD) */
#define LLI_FM7_RC14 14 /* SRD failed (result in AD) */
#define LLI_FM7_RC15 15 /* SDN failed (result in AD) */
#define LLI_FM7_RC16 16 /* CSRD reception failed (result in AD) */
#define LLI_FM7_RC17 17 /* poll list loading failed (result in AD) */
#define LLI_FM7_RC18 18 /* timer 1 expired (associate) */
#define LLI_FM7_RC19 19 /* timer 2 expired (abort) */
#define LLI_FM7_RC20 20 /* poll list deactivation failed (result in AD) */
#define LLI_FM7_RC21 21 /* no matching comm. reference found */
#define LLI_FM7_RC22 22 /* illegal FM1/2 prim. (see AD) */
#define LLI_FM7_RC23 23 /* illegal FDL prim. during LLI start (see AD) */
#define LLI_FM7_RC24 24 /* confirm / indication mode error */
#define LLI_FM7_RC25 25 /* timer error */
#define LLI_FM7_RC26 26 /* resource transfer to FDL failed */
#define LLI_FM7_RC27 27 /* resource error during associate */
#define LLI_FM7_RC28 28 /* resource error in data transfer phase */
#define LLI_FM7_RC29 29 /* resource error during abort */
#define LLI_FM7_RC30 30 /* LLI state error */
#if (PB_VER < 500)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -