Anybus® CompactCom 40 - PROFINET IRT IIoT Secure

Command Details: Set_Record

Category

Extended

Details

Command Code:

11h

Valid for:

Object Instance

Description

The module issues this command in the following situations:

  • Module receives a Record Data Write request towards an API other than 0 (zero).

  • Module receives a Record Data Write request towards API 0, but the record in question is handled in Transparent Mode

    See instance attribute #7 for more information about Transparent Mode.

See Flowchart — Record Data Access for more information.

It is optional to implement support for this command. If not implemented, the original network request will be rejected and an error is returned to the IO Controller/Supervisor.

  • Command Details

    Field

    Contents

    Comments

    CmdExt[0]

    AR handle (low byte)

    Handle for Application Relationship (AR)

    CmdExt[1]

    AR handle (high byte)

    MsgData[0]

    API (low word, low byte)

    Application Process Instance (API)

    MsgData[1]

    API (low word, high byte)

    MsgData[2]

    API (high word, low byte)

    MsgData[3]

    API (high word, high byte)

    MsgData[4]

    Slot (low byte)

    Slot number of request

    MsgData[5]

    Slot (high byte)

    MsgData[6]

    Subslot (low byte)

    Subslot number of request

    MsgData[7]

    Subslot (high byte)

    MsgData[8]

    Index (low byte)

    Index of request

    MsgData[9]

    Index (high byte)

    MsgData[10]

    (reserved)

    (set to zero)

    MsgData[11.. n]

    Data (up to 1512 bytes)

    Data from the Record Data Write request.

  • Response Details (Success)

    (no data)

  • Response Details (Error)

    Field

    Contents

    Comments

    CmdExt[0... 1]

    (reserved)

    (set to zero)

    MsgData[0]

    FFh

    Object specific error

    MsgData[1]

    Error Code 1

    See Details: Error Code 1

    MsgData[2]

    Error Code 2

    User specific error code

    MsgData[3]

    Additional Data 1

    API specific. Set to zero if no Additional Data 1 is defined.

    MsgData[4]

    Additional Data 2

    User specific. Set to zero if no Additional Data 2 is defined.

See also...