7 OPC UA ObjectTypes ToC Previous Next

7.52 StatisticsType ObjectType Definition ToC Previous Next

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

Table 110 – StatisticsType Definition

Attribute Value        
BrowseName StatisticsType        
IsAbstract False        
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:HasSubtype ObjectType CompressorStatisticsType Defined in 7.53    
           
0:HasInterface ObjectType 3:IAggregateStatisticsType Defined in OPC 10000-200    
           
0:HasComponent Variable RealTime 0:Double 0:BaseAnalogType O, RO
0:HasComponent Variable RealTimeToNextService 0:Double 0:BaseAnalogType O, RO
0:HasComponent Variable RunningTime 0:Double 0:BaseAnalogType O, RO
0:HasComponent Variable RunningTimeToNextService 0:Double 0:BaseAnalogType O, RO
           
Applied from 3:IAggregateStatisticsType          
0:HasProperty Variable 3:ResetCondition 0:String 0:PropertyType O, RO
0:HasComponent Method 3:ResetStatistics See 3:IStatisticsType O  
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
RealTime   Real time passed since last counter reset.
RealTimeToNextService   Real time left until the real time of the next service level is exceeded.
RunningTime   Time spent running since last counter reset.
RunningTimeToNextService   Running time left until the running time of the next service level is exceeded.

Previous Next