Table A.2 shows the mapping of the simple built-in DataTypes in OPC UA that correspond to simple XML schema types used in AML. Each of the built-in UA DataTypes is defined as an AML AttributeType in the AttributeType Library for the base OPC UA Namespace.
Table A.2 – Mapping simple built-in Datatypes
|
UA DataType |
XML Schema type used in AML |
|
Boolean |
xs:boolean |
|
SByte |
xs:byte |
|
Byte |
xs:unsignedByte |
|
Int16 |
xs:short |
|
UInt16 |
xs:unsignedShort |
|
Int32 |
xs:int |
|
UInt32 |
xs:unsignedInt |
|
Int64 |
xs:long |
|
UInt64 |
xs:unsignedLong |
|
Float |
xs:float |
|
Double |
xs:double |
|
String |
xs:string |
|
DateTime |
xs:dateTime |
|
ByteString |
xs:base64Binary |