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
FromBACnetDataTypes ¶ Utilities for getting IEC typed values from BACnet typed data types. FromBACnetBitString (Function) FromBACnetBoolean (Function) FromBACnetDate (Function) FromBACnetDateRange (Function) FromBACnetDateTime (Function) FromBACnetDevObjPropReference (Function) FromBACnetSetpointReference (Function) FromBACnetString (Function) FromBACnetTime (Function) FromBACnetTimeStamp (Function) IsBACnetBACnetDateTimeUnspecified (Function) IsBACnetDateTimeUnspecified (Function)
FromBACnetBitString (FUN) ¶ FUNCTION FromBACnetBitString : STRING Returns a STRING corresponding to the given IEC_BACNET_BIT_STRING (i.e. in the form ‘1011011’). InOut: Scope Name Type Comment Return FromBACnetBitString STRING Input bitStr CmpBACnet.IEC_BACNET_BIT_STRING The BACnet bit string to convert to a STRING.
GetLrealFromContents (FUN) ¶ FUNCTION GetLrealFromContents : LREAL Tries to evaluate property contents as LREAL data type. If the contents are not of apropriate type 0 is returned. InOut: Scope Name Type Comment Return GetLrealFromContents LREAL Input conts CmpBACnet.IEC_BACNET_PROPERTY_CONTENTS The contents to be evaluated as LREAL.
GetObjectIDFromContents (FUN) ¶ FUNCTION GetObjectIDFromContents : CmpBACnet.IEC_BACNET_OBJECT_ID Tries to evaluate property contents as IEC_BACNET_OBJECT_ID data type. If the contents are not of type IEC_BACNET_OBJECT_ID an IEC_BACNET_OBJECT_ID(typ = _OBJ_MAX_SIZE, instNumber = 0) is returned. InOut: Scope Name Type Comment Return GetObjectIDFromContents CmpBACnet.IEC_BACNET_OBJECT_ID Input conts CmpBACnet.IEC_BACNET_PROPERTY_CONTENTS The contents to be evaluated as IEC_BACNET_OBJECT_ID.