7.52 StatisticsType ObjectType Definition

The StatisticsType provides Variables for statistics applications, such as counters, and is formally defined in Table 110.

Table 110 – StatisticsType Definition
Attribute Value
BrowseNameStatisticsType
IsAbstractFalse
References Node Class BrowseName DataType TypeDefinition Other
Subtype of the 2:FunctionalGroupType defined in OPC 10000-100, i.e. inheriting the InstanceDeclarations of that Node.
0:HasSubtypeObjectTypeCompressorStatisticsTypeDefined in 7.53
0:HasInterfaceObjectType3:IAggregateStatisticsTypeDefined in OPC 10000-200
0:HasComponentVariableRealTime0:Double0:BaseAnalogTypeO, RO
0:HasComponentVariableRealTimeToNextService0:Double0:BaseAnalogTypeO, RO
0:HasComponentVariableRunningTime0:Double0:BaseAnalogTypeO, RO
0:HasComponentVariableRunningTimeToNextService0:Double0:BaseAnalogTypeO, RO
Applied from 3:IAggregateStatisticsType
0:HasProperty Variable 3:ResetCondition 0:String 0:PropertyType O, RO
0:HasComponent Method 3:ResetStatistics See 3:IStatisticsTypeO
0:HasProperty Variable 3:StartTime 0:DateTime 0:PropertyType O, RO

The Variables ResetCondition and StartTime, and the Method ResetStatistics are defined by the IAggregateStatisticsType and shall be used as defined by the Interface.

The InstanceDeclarations of the StatisticsType have additional Attributes defined in Table 111.

Table 111 – StatisticsType Attribute values for child Nodes
Source Path Value Attribute Description Attribute
RealTimeReal time passed since last counter reset.
RealTimeToNextServiceReal time left until the real time of the next service level is exceeded.
RunningTimeTime spent running since last counter reset.
RunningTimeToNextServiceRunning time left until the running time of the next service level is exceeded.