FreeStackAllocatedMemory (FUN) ¶ FUNCTION FreeStackAllocatedMemory Frees data, which got initialized by stack internal functionalities. The latter initializations may happen when, i.e. a string, which could get changed from any BACnet client, shall be read out and used within IEC, although its size can be only known by the BACnet stack, which then allocates memory for this string, which has to be freed after usage using this function. InOut: Scope Name Type Comment Input pData POINTER TO BYTE Pointer to the data/memory allocated by the BACnet stack to be freed again.
InitializeBACnetTime (FUN) ¶ FUNCTION InitializeBACnetTime : BOOL Initializes a IEC_BACNET_TIME according to a given TIME. InOut: Scope Name Type Comment Return InitializeBACnetTime BOOL Input tim TIME The TIME to use for initialization. Inout bacTime CmpBACnet.IEC_BACNET_TIME The BACnet time to operate on.
InitializeBACnetTimeStamp (FUN) ¶ FUNCTION InitializeBACnetTimeStamp : BOOL Initializes a IEC_BACNET_TIME_STAMP according to a given BACnetTimeStamp. InOut: Scope Name Type Comment Return InitializeBACnetTimeStamp BOOL Input timeStamp BACnetTimeStamp The BACnetTimeStamp to use for initialization. Inout bacTimeStamp CmpBACnet.IEC_BACNET_TIME_STAMP The BACnet time stamp to operate on.
PropertyAddrString (FUN) ¶ FUNCTION PropertyAddrString : STRING InOut: Scope Name Type Return PropertyAddrString STRING Input devInstance CmpBACnet.IEC_BACNET_DWORD objId CmpBACnet.IEC_BACNET_OBJECT_ID propID CmpBACnet.IEC_BACNET_PROPERTY_ID
PropertyAttributeExistenceString (FUN) ¶ FUNCTION PropertyAttributeExistenceString : STRING InOut: Scope Name Type Return PropertyAttributeExistenceString STRING Input propAttr BACnetPropertyAttributeExistent
RegisterEventUtilities ¶ Only used internally: Functionalities to register and unregister from CODESYS IEC events.
StringConversions ¶ Only used internally: Functionalities for string conversion from and to different string type conventions. BufferToString (Function) ISO88591 UTF8
UTF8 ¶ Utilities for conversion from and to utf8.
ToString ¶ BACnetDateTimeToString (Function) EventIdToString (Function) IEC_BACNET_ERROR_TO_STRING (Function) MemoryToString (Function) PropertyAddrString (Function) PropertyAttributeExistenceString (Function) PropertyAttributePersistentString (Function) PropertyAttributeWritableString (Function) PropertyAttributesString (Function) PropertyIndexAddrString (Function)
IEC_BACNET_ERROR_TO_STRING (FUN) ¶ FUNCTION IEC_BACNET_ERROR_TO_STRING : STRING InOut: Scope Name Type Return IEC_BACNET_ERROR_TO_STRING STRING Input bacnetError CmpBACnet.IEC_BACNET_ERROR