Details
Description
Change emergency diagnosis content for ECAT_COE_EMERGENCY_SYNC_MAN_LENGTH_ERROR
Aktuell:
/* check that the process image matches our size */
if ( usSyncManLength != uProcessImageSize || uProcessImageSize > Esc_GetMaxInputSize() )
{
pbDiagnosticData[0] = ECAT_COE_EMERGENCY_SYNC_MAN_LENGTH_ERROR(uSyncManChannel);
pbDiagnosticData[1] = uProcessImageSize & 0xff;
pbDiagnosticData[2] = uProcessImageSize >> 8;
pbDiagnosticData[3] = uProcessImageSize & 0xff;
pbDiagnosticData[4] = uProcessImageSize >> 8;
*pusErrorCode = ECAT_COE_EMERGENCY_TRANSITION_PREOP_TO_SAFEOP_NOT_SUCCESSFUL;
*pusAlStatusCode = ECAT_AL_STATUS_CODE_INVALID_INPUT_CONFIGURATION;
return FALSE;
}
Gewünscht:
/* check that the process image matches our size */
if ( usSyncManLength != uProcessImageSize || uProcessImageSize > Esc_GetMaxInputSize() )
{
pbDiagnosticData[0] = ECAT_COE_EMERGENCY_SYNC_MAN_LENGTH_ERROR(uSyncManChannel);
pbDiagnosticData[1] = uProcessImageSize & 0xff;
pbDiagnosticData[2] = uProcessImageSize >> 8;
pbDiagnosticData[3] = usSyncManLength & 0xff;
pbDiagnosticData[4] = usSyncManLength >> 8;
*pusErrorCode = ECAT_COE_EMERGENCY_TRANSITION_PREOP_TO_SAFEOP_NOT_SUCCESSFUL;
*pusAlStatusCode = ECAT_AL_STATUS_CODE_INVALID_INPUT_CONFIGURATION;
return FALSE;
}