OPC UA API documentation¶
Custom Data Types¶
The OPC UA server defines three custom data types, ExecutionStatus, KeyIntPair and KeyPosePair. These data types are defined below in the OPC Binary schema. You can find the respective BSD-file here
.
<opc:StructuredType BaseType="ua:ExtensionObject" Name="ExecutionStatus">
<opc:Field Name="HasError" TypeName="opc:Boolean" />
<opc:Field Name="IsRunning" TypeName="opc:Boolean" />
<opc:Field Name="ErrorMessage" TypeName="opc:String" />
</opc:StructuredType>
<opc:StructuredType BaseType="ua:ExtensionObject" Name="KeyIntPair">
<opc:Field TypeName="opc:String" Name="Key" />
<opc:Field TypeName="opc:Int32" Name="Value" />
</opc:StructuredType>
<opc:StructuredType BaseType="ua:ExtensionObject" Name="KeyPosePair">
<opc:Field TypeName="opc:CharArray" Name="Key" />
<opc:Field TypeName="opc:Int32" Name="NoOfValue" />
<opc:Field TypeName="opc:Double" Name="Value" LengthField="NoOfValue" />
</opc:StructuredType>