UNION_BACNET_LOG_RECORD (UNION)ΒΆ

TYPE UNION_BACNET_LOG_RECORD : UNION

This structure is used to strore all data for one log record entry.

InOut:

Name

Type

Comment

logStatus

IEC_BACNET_BIT_STRING

This choice represents some status or operation change of the logging object. Whenever one of the events represented by the flags listed occurs, a record shall be appended to the buffer. n n LOG_DISABLED:n This flag is changed whenever collection of records by the Trend Log object is enabled or disabled. It shall be TRUE if Enable is FALSE, or the local time is outside the range defined by Start_Time and Stop_Time, or the addition of this record will cause the buffer to be full and Stop_When_Full is TRUE; otherwise it shall be FALSE. n n BUFFER_PURGED:n This flag shall be set to TRUE whenever the buffer is cleared by writing zero to the Record_Count property or by a change to the Log_DeviceObjectProperty property. After this value is recorded in the buffer, the subsequent immediate change to FALSE shall not be recorded. A record indicating the purging of the buffer shall be placed into the buffer even if the Trend Log is disabled or outside of the time range defined by the Start_Time and Stop_Time properties. n n LOG_INTERRUPTED:n This flag indicates that the collection of records by the Trend Log object was interrupted by a power failure, device reset, object reconfiguration or other such disruption, such that samples prior to this record might have been missed.

timeChange

IEC_BACNET_REAL

This choice represents a change in the clock setting in the device.

error

IEC_BACNET_ERROR_TYPE

This choice represents an error encountered in an attempt to read a data value from the monitored object. If the error is conveyed by an error response from a remote device the Error Class and Error Code in the response shall be recorded

boolValue

IEC_BACNET_BOOLEAN

This choices represent the boolean data value from the monitored object and property.

realValue

IEC_BACNET_REAL

This choices represent the real data value from the monitored object and property.

enumValue

IEC_BACNET_ENUM

This choices represent the enumerated data value from the monitored object and property.

unsignedValue

IEC_BACNET_UNSIGNED

This choices represent the unsigned data value from the monitored object and property.

signedValue

IEC_BACNET_SIGNED

This choices represent the singned data value from the monitored object and property.

bitStringValue

IEC_BACNET_BIT_STRING

This choices represent the bit string data value from the monitored object and property.

anyValue

IEC_BACNET_PROPERTY_CONTENTS

This choices represent the complex data value from the monitored object and property.