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

Reject Set Config packet with Product Code = 0 and adapt API manual accordingly

    Details

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

      Description

      In API manual "EtherNetIP Adapter V5 Protocol API 01 EN Draft 2.pdf" at page 86 (4.1.1 Set Configuration Parameters) the description of parameters usProductType and usProductCode allows 0 values:

      The value 0 is not a valid Product Type. However, when using value 0 here, the stack automatically chooses the default Product Type (0x0C).

      The value 0 is not a valid Product Code. However, when using value 0 here, the stack automatically chooses the default Product Code dependent on the chip type (netX50/100 etc.) that is used.

      When 0 values are used for parameters usProductType and usProductCode in EIP_APS_SET_CONFIGURATION_PARAMETERS_REQ, 0 values will be returned in Identity object for Device Type and Product Code.

      EIP_APS_SET_CONFIGURATION_PARAMETERS_REQ     0x00003612
      
      <V3, 192.168.10.2, T -> O modeless>
      
      03000000           00000000      F4010000  20000000   20000000    03040000  020AA8C0 00FFFFFF  00000000  1B01     0000          0000          00000000       00        00        0000000000000000000000000000000000000000000000000000000000000000 64000000           01000000        65000000            08000000                      00000000   00            00              00                00           00              00         00        00              00000000     00000000       0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 00                                00           000000000000   00000000000000000000000000000000000000000000000000000000 00
         01 01
           01                      00            00        0000       00000000          7800

       

        Attachments

          Expenses

            Activity

              Status Description

                People

                • Reporter:
                  et et
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  0 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: