The StatisticCounterType defines the structure of an Object of the StatisticCounterType. Figure 33 shows the hierarchical structure and details of the composition. It is formally defined in Table 54.
The StatisticType is a container for the different statisticvalues needed in a checkweigher. Each zone has a StatisticCounterType. There are also different total packages counters. The flags Rejected, Accpeted and Weighed must be set if packages of this statistic should be counted in the counters TotalPackagesRejected, TotalPackagesAccpted or TotalPackagesWeighed.
Figure 33 – Overview StatisticCounterType
Table 54 – StatisticCounterType Definition
Attribute |
Value |
||||
BrowseName |
StatisticCounterType |
||||
IsAbstract |
False |
||||
References |
NodeClass |
BrowseName |
DataType |
TypeDefinition |
ModellingRule |
Subtype of the BaseObjectType defined in OPC 10000-5 |
|||||
0:HasComponent |
Variable |
ItemCount |
0:UInteger |
BaseDataVariableType |
Mandatory |
0:HasComponent |
Variable |
MaxValue |
0:Number |
AnalogItemType |
Optional |
0:HasComponent |
Variable |
MeanValue |
0:Number |
AnalogItemType |
Optional |
0:HasComponent |
Variable |
MinValue |
0:Number |
AnalogItemType |
Optional |
0:HasComponent |
Variable |
PercentageOfTotal |
0:Number |
AnalogItemType |
Optional |
0:HasComponent |
Variable |
StandardDeviation |
0:Number |
AnalogItemType |
Optional |
0:HasComponent |
Variable |
SumWeight |
0:Number |
AnalogItemType |
Optional |
0:HasProperty |
Variable |
Weighed |
Boolean |
0:PropertyType |
Mandatory |
ItemCount is the totalized count of measurements within the scope of this statistic.
SumWeight is the totalized weight of all items in the ItemCount.
PercentageOfTotal is the percentage of this statistic in relation to the total. The total is the count of the overall statistic, just regarding the ItemCount.
MaxValue defines the highest registered weight value.
MeanValue defines the mean value of all registered weight values.
MinValue defines the lowest registered weight value.
StandardDeviation defines as follows:
for samples
for 100% check
Weighed indicates that the element is considered also in the TotalPackageWeighed variable of the StatisticType.