All data types defined as CDT are mapped to CDT DataTypes or CC DataTypes. Table 20 defines mapping of data types between CCTS and OPC UA.
CDT |
OPC UA |
Description |
Category |
Definition |
Amount |
CDTAmount |
|
CDT |
Clause 6.3.2 |
Binary Object |
CDTBinaryObject |
|
CDT |
Clause 6.3.3 |
Code |
CDTCode |
|
CDT |
Clause 6.3.4 |
Date |
DateString |
|
CC |
Clause 6.2.2 |
Date Time |
CDTDateTime |
|
CDT |
|
Duration |
DurationString |
|
CC |
Clause 6.2.6 |
Graphic |
CDTGraphic |
|
CDT |
Clause 6.3.6 |
Identifier |
CDTIdentifier |
|
CDT |
Clause 6.3.7 |
Indicator |
Boolean |
|
CC |
|
Measure |
CDTMeasure |
|
CDT |
Clause 6.3.7 |
Name |
LocaizedText |
Language supplemental is mapped to a “locale” element. |
CC |
|
Number |
Number |
Decimal, Double, Float, Int16, Int32, and Int64 are allowed. |
CC |
|
Ordinal |
CDTOrdinal |
|
CDT |
Clause 6.3.9 |
Percent |
CDTMeasure |
Codes according to only percent shall be used. (e.g. “P1”) |
CDT |
Clause 6.3.7 |
Picture |
CDTPicture |
|
CDT |
Clause 6.3.10 |
Quantity |
Number |
Decimal, Double, Float, Int16, Int32, and Int64 are allowed. |
CC |
|
Rate |
CDTRate |
|
CDT |
Clause 6.3.11 |
Ratio |
Number |
Decimal, Double, Float, Int16, Int32, and Int64 are allowed. |
CC |
|
Sound |
CDTSound |
|
CDT |
Clause 6.3.12 |
Text |
LocalizedText |
Language supplemental is mapped to a “locale” element. |
CC |
|
Time |
TimeString |
|
CC |
Clause 6.2.8 |
Value |
BaseDataType |
Decimal, Double, Float, Int16, Int32, Int64 or String is allowed. (other Variant types may also be supported) |
CC |
|
Video |
CDTVideo |
|
CDT |
Clause 6.3.13 |
Semantic of CDT that is mapped to CC DataType may be defined in ObjectTypes or VariableTypes.