InitializeBACnetString (FUN) ¶ FUNCTION InitializeBACnetString : BOOL Initializes a IEC_BACNET_STRING according to a given WSTRING. Only UTF-8 and ISO 8859-1 BACnet-String supported right now. InOut: Scope Name Type Comment Return InitializeBACnetString BOOL Input strUTF16 WSTRING(255) The utf16 WSTRING (standard format for CODESYS WSTRINGs in visus, etc.) to use for initialization. strType CmpBACnet.IEC_BACNET_STRING_TYPE The string type to initialize the BACnet string with. Inout strBuffer STRING(255) A buffer used during initialization in the end being used for the initialized string data. bacString CmpBACnet.IEC_BACNET_STRING The BACnet string to operate on.
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.
InitializeBACnetDevObjPropReference (FUN) ¶ FUNCTION InitializeBACnetDevObjPropReference : BOOL Initializes a IEC_BACNET_DEV_OBJ_PROP_REFERENCE according to a given BACnetDevObjPropReference. InOut: Scope Name Type Comment Return InitializeBACnetDevObjPropReference BOOL Input devObjPropRef BACnetDevObjPropReference The BACnetDevObjPropReference to use for initialization. Inout bacDevObjPropRef CmpBACnet.IEC_BACNET_DEV_OBJ_PROP_REFERENCE The BACnet device object property reference to operate on.
InitializeBACnetSetpointReference (FUN) ¶ FUNCTION InitializeBACnetSetpointReference : BOOL Initializes a IEC_BACNET_SETPOINT_REFERENCE according to a given BACnetSetpointReference struct. InOut: Scope Name Type Comment Return InitializeBACnetSetpointReference BOOL Input setpointRef BACnetSetpointReference The BACnetSetpointReference to use for initialization. Inout bacSetpointRef CmpBACnet.IEC_BACNET_SETPOINT_REFERENCE The BACnet set point reference to operate on.
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.
RegisterEventUtilities ¶ Only used internally: Functionalities to register and unregister from CODESYS IEC events.
InitializeBACnetDateTime (FUN) ¶ FUNCTION InitializeBACnetDateTime : BOOL Initializes a IEC_BACNET_DATE_TIME according to a given BACnetDateTime. InOut: Scope Name Type Comment Return InitializeBACnetDateTime BOOL Input dateTime BACnetDateTime The BACnetDateTime to use for initialization. Inout bacDateTime CmpBACnet.IEC_BACNET_DATE_TIME The BACnet date time to operate on.
InitializeBACnetDateTimeUnspecified (FUN) ¶ FUNCTION InitializeBACnetDateTimeUnspecified Initializes a IEC_BACNET_DATE_TIME unspecified InOut: Scope Name Type Comment Inout bacDateTime CmpBACnet.IEC_BACNET_DATE_TIME The BACnet date 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.
IOUtilities ¶ Only used internally: Utilities dealing with CODESYS device IO and parameter getting and setting.