8.61 CurrencyUnitType

This structured DataType is used to represent the currency of a Variable Value based on ISO 4217. Its elements are described in Table 43A.
Table 43 A – CurrencyUnitType Definition
Name | Type | Description |
---|---|---|
CurrencyUnitType | structure | |
numericCode | Int16 | Three-digit code numeric code assigned to each currency in ISO 4217. If unknown or not available this shall be -1. Converting the number to a string shall always produce a 3 digit number with leading zeros when necessary (e.g. the number 36 shall be converted into 036). |
exponent | SByte | Number of digits after the decimal separator. If unknown or not available this shall be -1. exponent expresses the relationship between the major currency unit and its corresponding minor currency unit. It assumes a base of 10. For example, USD ([United States dollar](https://en.wikipedia.org/wiki/United_States_dollar” \o “United States dollar)) is equal to 100 of its minor currency unit the “[cent](https://en.wikipedia.org/wiki/Cent_(currency)” \o “Cent (currency))”. So the exponent is 2 (10 to the power 2 is 100). |
alphabeticCode | String | Three-letter alphabetic code as defined by ISO 4217. |
currency | LocalizedText | Full name of currency as defined by ISO 4217. |
Examples:
numericCode | exponent | alphabeticCode | currency |
---|---|---|---|
036 | 2 | AUD | Australian Dollar |
978 | 2 | EUR | Euro |
356 | 2 | INR | Indian Rupee |
840 | 2 | USD | US Dollar |
826 | 2 | GBP | Pound Sterling |
392 | 0 | JPY | Yen |
OPC 10000-5, OPC Unified Architecture - Part 5: Information Model 
Add the following row to Table 115 “OPC 10000-3 DataType Definitions” in Clause 12.2 “DataTypes defined in OPC 10000-3”.
BrowseName |
---|
CurrencyUnitType |
Add the following row to Table 117 “Structure Definition” in Clause 12.2 “DataTypes defined in OPC 10000-3”.
References | NodeClass | BrowseName | IsAbstract |
---|---|---|---|
HasSubtype | DataType | CurrencyUnitType | FALSE |
OPC 10000-7, OPC Unified Architecture - Part 7: Profiles 
Add the following ConformanceUnits to section 5.4, Table 13 “Base Information”:
Category | Title | Description |
---|---|---|
Server | Base Info Currency | Support the Currency Property on DataVariables that represent currency. |
Client | Base Info Client Currency | Use the Currency Property on DataVariables that represent currency. |
Add the following ConformanceUnits to the section 6.6.3 Core 2017 Server Facet:
Group | Conformance Unit / Profile Title | Optional |
---|---|---|
Base Information | Base Info Currency | True |
Add the following ConformanceUnits to the section 6.6.73 Core 2017 Client Facet:
Group | Conformance Unit / Profile Title | Optional |
---|---|---|
Base Information | Base Info Client Currency | True |