8.6 BACnetChangeOfStateCountType
8.6.1 General
This OPC UA ObjectType represents a set of variables related to the BACnet Change_of_State concept. 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.
8.6.2 ObjectType definition
The BACnetChangeOfStateCountType is formally defined in Table 51.
| Attribute | Value | ||||
| BrowseName | BACnetChangeOfStateCountType | ||||
| IsAbstract | False | ||||
| References | NodeClass | BrowseName | DataType | TypeDefinition | Other |
|---|---|---|---|---|---|
| Subtype of the BaseObjectType defined 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 ObjectType is a concrete type and can be used directly.
8.6.3 ObjectType Description
8.6.3.1 Variable Change_Of_State_Time
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.
8.6.3.2 Variable Change_Of_State_Count
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.
8.6.3.3 Variable Time_Of_State_Count_Reset
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.
8.6.3.4 Method Reset
This Method is used to trigger a reset.
Signature
BACnetReset (
);Method Result Codes
| ResultCode | Description |
| Common StatusCodes defined in OPC 10000-4 |