This OPC UA ObjectTyperepresents a set of variables related to the BACnet Change_of_Stateconcept. The type represents metadata related to an object’s Present_Value: when the Present_Value changed, how often it changed, and how often this count is reset.

The BACnetChangeOfStateCountType is formally defined in Table 51.

Table 51BACnetChangeOfStateCountTypeDefinition

Attribute

Value

BrowseName

BACnetChangeOfStateCountType

IsAbstract

False

References

NodeClass

BrowseName

DataType

TypeDefinition

Other

Subtype of the BaseObjectTypedefined in OPC 10000-5

0:HasProperty

Variable

Change_Of_State_Time

BACnetDateTime

0:PropertyType

M

0:HasProperty

Variable

Change_Of_State_Count

0:UInt32

0:PropertyType

M

0:HasProperty

Variable

Time_Of_State_Count_Reset

0:DateTime

0:PropertyType

M

0:HasComponent

Method

Reset

M

The BACnetChangeOfStateCountType ObjectTypeis a concrete type and can be used directly.

This OPC UA Property, of type DateTime, represents the date and time at which the most recent change of state occurred. A “change of state” shall be defined as any event that alters the Present_Value property.

This OPC UA Property, of type UInt32, represents the number of times that the Present_Value property has changed state since the Change_Of_State_Count property was most recently set to a zero value. A “change of state” shall be defined as any event that alters the Present_Value property.

This OPC UA Property, of type DateTime, represents the date and time at which the Change_Of_State_Count property was most recently set to a zero value.

This Method is used to trigger a reset.

Signature

BACnetReset(

);

Method Result Codes

ResultCode

Description

Common StatusCodes defined in OPC 10000-4