This article explains one of the reasons for Stopping at the Loading status when access Anybus CompactCom 40 ADI through web server.
APPLICABLE PRODUCTS
Anybus CompactCom 40 with webserver function
QUESTION
- The webpage is stopping in Loading status when access Anybus CompactCom 40 ADI through web server.
- ADI defined as follow
-
const AD_AdiEntryType APPL_asAdiEntryList[] =
{
{ 0x1, "ABP_UINT16_WRITE", ABP_UINT16, 250, APPL_WRITE_MAP_READ_ACCESS_DESC, { { appl_aiUint16, &appl_sUint16Prop } } },
{ 0x2, "ABP_UINT16_READ", ABP_UINT16, 250, APPL_READ_MAP_WRITE_ACCESS_DESC, { { appl_aiUint16, &appl_sUint16Prop } } },
{ 0x3, "TEST", ABP_UINT8, 1, APPL_NOT_MAP_WRITE_ACCESS_DESC, { { &appl_test, &appl_sUint16Prop } } },
};
-
ANSWER
- The one of reason is the data length of ADI too big exceeded the value of ABCC_CFG_MAX_MSG_SIZE with error log shown as follow.
- Adding the value of ABCC_CFG_MAX_MSG_SIZE in \abcc_adapt\abcc_drv_cfg.h
- The correct log shown as follow
- Access ADI sucessfully through web server.