7.2.4.5.10 Action response message

The encoding of the Action response DataSetMessage structure is specified in Table 167.

Table 167 – Action response message structure
Name Type Description
ActionTargetIdUInt16

The numeric identifier assigned to the Action target which is unique within one ActionMetaData.

It is used to address the Action in combination with the PublisherId and the DataSetWriterId defined by the Responder.

RequestIdUInt16Request identifier provided by the Requestor in the Request message that is returned to the Requestor in the Response message.
ActionStateByte

The current state of this currently running Action.

The ActionState enumeration value is encoded as Byte.

The details for the use of this value and the relation to other values for a Action execution is defined in 6.2.11.2.

FieldCountUint16Number of fields of the DataSet contained in the DataSetMessage.
DataSetFieldsBaseDataType [FieldCount]

The field values of the ActionResponse DataSet.

The fields of ActionResponse DataSetMessages shall be encoded as Variant or RawData.

PaddingByte [*]Optional padding added if the encoded DataSetMessage is smaller than the ConfiguredSize. The DataSetMessage is padded with bytes with value zero.