Uploaded image for project: 'EtherNet/IP Core V3'
  1. EtherNet/IP Core V3
  2. PSEIP-836

Allow more nonzero error codes for response packet OBJECT_CHANGE_RES next to CIP_GSR_SERVICE_ERROR

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: V3.8.0.0
    • Fix Version/s: V3.8.0.8
    • Component/s: AdapterAP, GCI, ScannerAP
    • Labels:
      None
    • Account:
      SPC EthernetIp Core (SPCETHERNET)

      Description

      Currently we distinguish only between SUCCESS_HIL_OK or not when processing a OBJECT_CHANGE_RES packet. This boolean condition will map to CIP_GSR_SUCCESS (0x0) on success and to CIP_GSR_SERVICE_ERROR (0x1E) on failure.

      The new behavior shall be the following regarding the OBJECT_CHANGE_RES handling:

      if         ulSta == 0:                                                                                                           return CIP Status 0x00 (success)
      else if ulSta == ERR_HIL_OPERATION_NOT_POSSIBLE_IN_CURRENT_STATE:   return CIP Status 0x10 (Device state conflict)
      else:                                                                                                                               return CIP Status 0x1E (embedded service error)

        Attachments

          Issue Links

            Expenses

              Activity

                Status Description

                  People

                  • Reporter:
                    MBommert Marc Bommert
                  • Votes:
                    0 Vote for this issue
                    Watchers:
                    0 Start watching this issue

                    Dates

                    • Created:
                      Updated:
                      Resolved: