UNION_BACNET_LOG_RECORD (UNION)ΒΆ

TYPE UNION_BACNET_LOG_RECORD : UNION

The Log-Record data structure is used in a Trend Log object to represent the Log-Buffer property, which is a list of Log-Records. Each Log-Record contains a recorded data value, an error related to data-collection, or status changes in the Trend Log object.

InOut:

Name

Type

Comment

logStatus

IEC_BACNET_BIT_STRING

This choice represents a change in the status or operation of the Trend Log 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, it records the number of seconds by which the clock changed. If the number is not known, such as when the clock is initialized for the first time, the value recorded shall be zero. This record shall be recorded after changing the local time of the device and the timestamp shall reflect the new local time of 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_SIGNED

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.