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.
GetDateTimeFromContents (FUN) ¶ FUNCTION GetDateTimeFromContents : BACnetDateTime Tries to evaluate property contents as BACnetDateTime data type. If the contents are not of type BACnetDateTime 1970-1-1 00:00 is returned. InOut: Scope Name Type Comment Return GetDateTimeFromContents BACnetDateTime Input conts CmpBACnet.IEC_BACNET_PROPERTY_CONTENTS The contents to be evaluated as BACnetDateTime .
GetDevObjPropReferenceFromContents (FUN) ¶ FUNCTION GetDevObjPropReferenceFromContents : BACnetDevObjPropReference Tries to evaluate property contents as BACnetDevObjPropReference data type. If the contents are not of type BACnetDevObjPropReference 0 is returned. InOut: Scope Name Type Comment Return GetDevObjPropReferenceFromContents BACnetDevObjPropReference Input conts CmpBACnet.IEC_BACNET_PROPERTY_CONTENTS The contents to be evaluated as BACnetDevObjPropReference .
GetRealFromContents (FUN) ¶ FUNCTION GetRealFromContents : REAL Tries to evaluate property contents as REAL data type. If the contents are not of apropriate type 0 is returned. InOut: Scope Name Type Comment Return GetRealFromContents REAL Input conts CmpBACnet.IEC_BACNET_PROPERTY_CONTENTS The contents to be evaluated as LREAL.