
TYPE MGT_RSP : (* Management Response *) STRUCT ID : DINT; (* 32-bit transaction ID *) Reason : MGT_REASON; (* Response Reason Code *) TYPE : MGT_TYPE; (* Management Object Type *) CONTENTS : USTRING; (* Management Object Contents *) END_STRUCT; END_TYPE
This Structured Data Type models the
Response
element defined in the FBMGT
DTD and subclause 6.4 of the Compliance
Profile for Feasibility Demonstrations as follows:
- The
ID
andAction
variables represent the corresponding attributes of theResponse
element. - The contained sub-element (
FB, Connection
, etc.) of theResponse
is represented by the combination of theTYPE
andCONTENTS
variables.
The advantages of using a variable of this data type instead of an
XML
Response
element encoded as a
STRING
variable are similar to those described for the MGT_REQ
data type.