FromBACnetDate (FUN) ¶ FUNCTION FromBACnetDate : DATE Returns a DATE corresponding to the given IEC_BACNET_DATE. InOut: Scope Name Type Comment Return FromBACnetDate DATE Input bacDat CmpBACnet.IEC_BACNET_DATE The BACnet date to convert to a DATE.
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.
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.
IsBACnetDateTimeUnspecified (FUN) ¶ FUNCTION IsBACnetDateTimeUnspecified : BOOL Check if a IEC_BACNET_DATE_TIME is set to unspecified. InOut: Scope Name Type Return IsBACnetDateTimeUnspecified BOOL Input bacDateTime CmpBACnet.IEC_BACNET_DATE_TIME
InitializeBACnetDataTypes ¶ Utilities for initializing BACnet data types using IEC data types. BitStrings BACnetBitStringGetBit (Function) BACnetBitStringSetBit (Function) InitializeBACnetBitString (Function) InitializeBACnetBoolean (Function) InitializeBACnetDate (Function) InitializeBACnetDateRange (Function) InitializeBACnetDateTime (Function) InitializeBACnetDateTimeUnspecified (Function) InitializeBACnetDevObjPropReference (Function) InitializeBACnetSetpointReference (Function) InitializeBACnetString (Function) InitializeBACnetTime (Function) InitializeBACnetTimeStamp (Function)
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.
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.
FromBACnetDevObjPropReference (FUN) ¶ FUNCTION FromBACnetDevObjPropReference : BACnetDevObjPropReference Returns a BACnetDevObjPropReference struct corresponding to the given IEC_BACNET_DEV_OBJ_PROP_REFERENCE. InOut: Scope Name Type Comment Return FromBACnetDevObjPropReference BACnetDevObjPropReference Input bacRef CmpBACnet.IEC_BACNET_DEV_OBJ_PROP_REFERENCE The BACnet device object property reference to convert to a BACnetDevObjPropReference.
FromBACnetSetpointReference (FUN) ¶ FUNCTION FromBACnetSetpointReference : BACnetSetpointReference Returns a BACnetSetpointReference struct corresponding to the given IEC_BACNET_SETPOINT_REFERENCE. InOut: Scope Name Type Comment Return FromBACnetSetpointReference BACnetSetpointReference Input bacRef CmpBACnet.IEC_BACNET_SETPOINT_REFERENCE The BACnet set point reference to convert to a BACnetSetpointReference.
InitializeBACnetDateRange (FUN) ¶ FUNCTION InitializeBACnetDateRange : BOOL Initializes a IEC_BACNET_DATE_RANGE according to a given BACnetDateRange struct. InOut: Scope Name Type Comment Return InitializeBACnetDateRange BOOL Input dateRange BACnetDateRange The BACnetDateRange to use for initialization. Inout bacDateRange CmpBACnet.IEC_BACNET_DATE_RANGE The BACnet date range to operate on.