The encoding of the Action request DataSetMessage structure is specified in Table 165.
Table 165 – Action request 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 |
Specifies the expected Action state on Responder side. 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 ActionRequest DataSet. The fields of ActionRequest 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. |