The encoding of the Action response DataSetMessage structure is specified in Table 166.
Table 166 – Action response message structure
Name |
Type |
Description |
ActionTargetId |
UInt16 |
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. |
RequestId |
UInt16 |
Request identifier provided by the Requestor in the Request message that is returned to the Requestor in the Response message. |
ActionState |
Byte |
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. |
FieldCount |
Uint16 |
Number of fields of the DataSet contained in the DataSetMessage. |
DataSetFields |
BaseDataType [FieldCount] |
The field values of the ActionResponse DataSet. The fields of ActionResponse DataSetMessages shall be encoded as Variant or RawData. |
Padding |
Byte [*] |
Optional padding added if the encoded DataSetMessage is smaller than the ConfiguredSize. The DataSetMessage is padded with bytes with value zero. |