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 59.

The StatisticType is a container for the different statistic values needed in a checkweigher. Each zone has a StatisticCounterType. There are also different total packages counters. The flag Weighed must be set if packages of this statistic should be counted in the counter TotalPackagesWeighed.

image046.png

Figure 33 - Overview StatisticCounterType

Table 59 - StatisticCounterType Definition

Attribute

Value

BrowseName

StatisticCounterType

IsAbstract

False

References

NodeClass

BrowseName

DataType

TypeDefinition

ModellingRule

Subtype of the BaseObjectType defined in OPC 10000-5

3:HasStatisticComponent

Variable

ItemCount

0:UInteger

BaseDataVariableType

Mandatory

3:HasStatisticComponent

Variable

MaxValue

0:Number

0:AnalogUnitType

Optional

3:HasStatisticComponent

Variable

MeanValue

0:Number

0:AnalogUnitType

Optional

3:HasStatisticComponent

Variable

MinValue

0:Number

0:AnalogUnitType

Optional

3:HasStatisticComponent

Variable

PercentageOfTotal

0:Number

0:AnalogUnitType

Optional

3:HasStatisticComponent

Variable

StandardDeviation

0:Number

0:AnalogUnitType

Optional

3:HasStatisticComponent

Variable

SumWeight

0:Number

0:AnalogUnitType

Optional

0:HasProperty

Variable

Weighed

Boolean

0:PropertyType

Mandatory

Conformance Units

Scales ScaleDeviceType

Scales CheckweigherType

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 is defined as follows:

image047.pngfor samples

image048.png for 100% check

Weighed indicates that the element is considered also in the TotalPackageWeighed variable of the StatisticType.