GetBACnetDataTypeSize (FUN) ¶ FUNCTION GetBACnetDataTypeSize : UDINT Returns the size of the IEC-Struct corresponding to a specific BACnet-Data-Type. InOut: Scope Name Type Comment Return GetBACnetDataTypeSize UDINT Input dataID CmpBACnet.IEC_BACNET_DATA_TYPE The BACnet data type to get its size for.
GetBACnetPropertyDataType (FUN) ¶ FUNCTION GetBACnetPropertyDataType : CmpBACnet.IEC_BACNET_DATA_TYPE Returns the BACnet-Data-Type for a specific BACnet-Object-Property. Note Data types may depend on the object type (i.e. the Present_Value of a Binary Value object is different to the Present_Value of a Analog Value object). InOut: Scope Name Type Comment Return GetBACnetPropertyDataType CmpBACnet.IEC_BACNET_DATA_TYPE Input objTyp CmpBACnet.IEC_BACNET_OBJECT_TYPE The object type having the desired property. propID CmpBACnet.IEC_BACNET_PROPERTY_ID The property ID of the property to determine its BACnet data type for.
IsBACnetObjectAMEVCreatable (FUN) ¶ FUNCTION IsBACnetObjectAMEVCreatable : BOOL According to AMEV AS-B specifications return whether the given objer not. InOut: Scope Name Type Comment Return IsBACnetObjectAMEVCreatable BOOL Input objType CmpBACnet.IEC_BACNET_OBJECT_TYPE The object type to check for AMEV AS-B availability.
IsBACnetPropertyAMEVASBWritable (FUN) ¶ FUNCTION IsBACnetPropertyAMEVASBWritable : BOOL Is the Property writable following a given PICs (following AMEV-AS-B). InOut: Scope Name Type Comment Return IsBACnetPropertyAMEVASBWritable BOOL Input objTyp CmpBACnet.IEC_BACNET_OBJECT_TYPE The object type to check. propID CmpBACnet.IEC_BACNET_PROPERTY_ID The property ID within the given object type to check.
BACnetDateTimeCmp (FUN) ¶ FUNCTION BACnetDateTimeCmp : INT Compares two IEC_BACNET_DATE_TIME Return 0 -> dt1=dt2, -1 -> dt1<dt2, 1 -> dt1>dt2 InOut: Scope Name Type Return BACnetDateTimeCmp INT Inout dt1 CmpBACnet.IEC_BACNET_DATE_TIME dt2 CmpBACnet.IEC_BACNET_DATE_TIME
BACnetProperties ¶ Utilities for dealing with BACnet objects and their properties. GetBACnetDataTypeSize (Function) GetBACnetPropertyDataType (Function) InitializeEmptyPropertyInstance (Function) InitializePropertyInstance (Function) IsBACnetObjectAMEVCreatable (Function) IsBACnetPropertyAMEVASBWritable (Function) SetPropertyAgain (Function)
GetBitStringFromContents (FUN) ¶ FUNCTION GetBitStringFromContents : STRING Tries to evaluate property contents as which are Bit-Strings as STRING data type. If the contents can not be interpretated InOut: Scope Name Type Comment Return GetBitStringFromContents STRING Input conts CmpBACnet.IEC_BACNET_PROPERTY_CONTENTS The contents to be evaluated as Bir-String STRING.
GetBoolFromContents (FUN) ¶ FUNCTION GetBoolFromContents : BOOL Tries to evaluate property contents as BOOL data type. If the contents are not of type BOOL FALSE is returned. InOut: Scope Name Type Comment Return GetBoolFromContents BOOL Input conts CmpBACnet.IEC_BACNET_PROPERTY_CONTENTS The contents to be evaluated as BOOL.
BACnetTimeStamp (STRUCT) ¶ TYPE BACnetTimeStamp : STRUCT Helper Structure for CODESYS-Typed time stamps. InOut: Name Type tag CmpBACnet.IEC_BACNET_TIME_STAMP_TYPE stamp BACnetTimeStampUnion
BACnetTimeStampUnion (UNION) ¶ TYPE BACnetTimeStampUnion : UNION Helper Structure for CODESYS-Typed time stamps, which include this union. InOut: Name Type tim TIME seqNumber UDINT dateTime BACnetDateTime