BACnet data types – Definition and exceptions
The BACnet
library primarily uses BACnet data types (defined in the CmpBACnet
library) at their interface (method arguments, method return values, function block properties).
If other data types are used on the interface (in this case mainly IEC basic data types), then the corresponding methods and properties perform an implicit conversion to/from the corresponding internally used BACnet data types.
Examples of this:
Conversion | |
---|---|
IEC | Using |
IEC | The use of |
IEC | The use of |
At the interface of the BACnet
library, BACnet data types other than the BACnet data types are used only in well-founded exceptions in order to simplify the application IEC code. The additional effort for a conversion, which is generally small, is negligible.