Anybus® CompactCom 40 - EtherNet/IP IIoT Secure

Command Details: Set_Configuration_Data

Category

Extended

Details

Command Code:

11h

Valid for:

Object

Description

If the data segment in the CIP Forward_Open service contains Configuration Data, this will be forwarded to the host application through this command. If implemented, the host application should evaluate the request and return a proper response. Segmentation is used, see Message Segmentation for more information. The maximum total amount of configuration data that will be accepted by the module is 458 bytes.

This command must be implemented in order to support Configuration Data. If not implemented, Forward_Open requests will be rejected.

  • Command Details

    Field

    Contents

    Comments

    CmdExt[0]

    -

    (reserved, ignore)

    CmdExt[1]

    Segmentation Control bits

    See Message Segmentation

    MsgData[0 - 1]

    Producing connection point

    Producing connection point, requested by the originator

    MsgData[2 - 3]

    Consuming connection point

    Consuming connecition point, requested by the originator

    MsgData[4... n]

    Data

    Actual configuration data

    When the Set_Configuration_Data command is sent to the application as a result of a CIP Forward_open service containing Configuration Data, the producing connection point will be indicated by MsgData[0-1], and the consuming connection point by MsgData[2-3]. However, the Set_Configuration command may also come as a result of a CIP Set_Attribute_Single service to the CIP Assembly Object or a non matching NULL Forward Open service request. For both cases, MsgData[0-1] and MsgData[2-3] will contain 0 (zero).

  • Response Details (Success)

    Field

    Contents

    Comments

    CmdExt[0]

    00h

    (reserved, set to zero)

    CmdExt[1]

    00h

    (reserved, set to zero)

  • Response Details (Error)

    Field

    Contents

    Comments

    CmdExt[0]

    00h

    (reserved, set to zero)

    CmdExt[1]

    00h

    (reserved, set to zero)

    MsgData[0]

    Error code

    Anybus error code

    MsgData[1]

    Extended error code

    If the Anybus error code is set to FFh, the extended error code shall be translated as shown in the table below.

    MsgData[2... 3]

    Index

    If the Extended error code is set to 02h (invalid configuration), this parameter points to the attribute that failed.

Extended Error Code

If the Error code equals FFh (Object specific error), the extended code will be translated as below:

Code

Contents

CIP no.

CIP status code

Additional Information

01h

Ownership conflict

01h

Connection failure

The configuration data was supplied in a forward open request.

10h

Device State conflict

The configuration data was supplied in a set request to the Assembly object.

02h

Invalid configuration

09h

Bad attribute data

CIP extended error code: Use value from MsgData[2 - 3]. The extended error code shall only be used if the request originated from a Forward Open request, not for explicit set requests.