FromBACnetDateRange (FUN) ¶ FUNCTION FromBACnetDateRange : BACnetDateRange Returns a BACnetDateRange struct corresponding to the given IEC_BACNET_DATE_RANGE. InOut: Scope Name Type Comment Return FromBACnetDateRange BACnetDateRange Input bacDatRng CmpBACnet.IEC_BACNET_DATE_RANGE The BACnet date range to convert to a BACnetDateRange.
FromBACnetDateTime (FUN) ¶ FUNCTION FromBACnetDateTime : BACnetDateTime Returns a BACnetDateTime struct corresponding to the given IEC_BACNET_DATE_TIME. InOut: Scope Name Type Comment Return FromBACnetDateTime BACnetDateTime Input bacDatTim CmpBACnet.IEC_BACNET_DATE_TIME The BACnet date time to convert to a BACnetDateTime.
GetUnsignedFromContents (FUN) ¶ FUNCTION GetUnsignedFromContents : UDINT Tries to evaluate property contents as UDINT data type. If the contents are not of type UDINT 0 is returned. InOut: Scope Name Type Comment Return GetUnsignedFromContents UDINT Input conts CmpBACnet.IEC_BACNET_PROPERTY_CONTENTS The contents to be evaluated as UDINT.
GetWStringFromContents (FUN) ¶ FUNCTION GetWStringFromContents : WSTRING(255) Tries to evaluate property contents as WSTRING data type. If the contents are not of type WSTRING “” is returned. InOut: Scope Name Type Comment Return GetWStringFromContents WSTRING(255) Input conts CmpBACnet.IEC_BACNET_PROPERTY_CONTENTS The contents to be evaluated as DINT.
GetDateFromContents (FUN) ¶ FUNCTION GetDateFromContents : DATE Tries to evaluate property contents as DATE data type. If the contents are not of type DATE 1970-1-1 is returned. InOut: Scope Name Type Comment Return GetDateFromContents DATE Input conts CmpBACnet.IEC_BACNET_PROPERTY_CONTENTS The contents to be evaluated as DATE.
GetDateRangeFromContents (FUN) ¶ FUNCTION GetDateRangeFromContents : BACnetDateRange Tries to evaluate property contents as BACnetDateRange data type. If the contents are not of type BACnetDateRange 1970-1-1 is returned. InOut: Scope Name Type Comment Return GetDateRangeFromContents BACnetDateRange Input conts CmpBACnet.IEC_BACNET_PROPERTY_CONTENTS The contents to be evaluated as BACnetDateRange .
GetSignedFromContents (FUN) ¶ FUNCTION GetSignedFromContents : DINT Tries to evaluate property contents as DINT data type. If the contents are not of type DINT 0 is returned. InOut: Scope Name Type Comment Return GetSignedFromContents DINT Input conts CmpBACnet.IEC_BACNET_PROPERTY_CONTENTS The contents to be evaluated as DINT.
GetTimeFromContents (FUN) ¶ FUNCTION GetTimeFromContents : TIME Tries to evaluate property contents as TIME data type. If the contents are not of type TIME 0 is returned. InOut: Scope Name Type Comment Return GetTimeFromContents TIME Input conts CmpBACnet.IEC_BACNET_PROPERTY_CONTENTS The contents to be evaluated as TIME.
FromBACnetBoolean (FUN) ¶ FUNCTION FromBACnetBoolean : BOOL Returns a BOOL corresponding to the given IEC_BACNET_BOOLEAN. InOut: Scope Name Type Comment Return FromBACnetBoolean BOOL Input bacBol CmpBACnet.IEC_BACNET_BOOLEAN The BACnet boolean to convert to a BOOL.
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.