Uploaded image for project: 'EtherCAT Slave V4'
  1. EtherCAT Slave V4
  2. PSECSV4-781

Change emergency diagnosis content for ECAT_COE_EMERGENCY_SYNC_MAN_LENGTH_ERROR

    Details

    • Type: Change
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: V4.2.12.3
    • Fix Version/s: V4.7.1.0, V4.8.0.0
    • Component/s: None
    • Labels:
      None
    • Account:
      SPC EtherCat Slave (SPCETHERCA)

      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;

          }

       

        Attachments

          Expenses

            Activity

              Status Description

                People

                • Reporter:
                  JKollmannsperger Jochen Kollmannsperger
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  0 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: