The ProcessItemResetLogType event is generated when the aggregates of a process item are reset.

The ProcessItemResetLogType representation in the AddressSpace is formally defined in the following table.

Table 171 – ProcessItemResetLogType Definition

Attribute

Value

BrowseName

ProcessItemResetLogType

IsAbstract

False

References

NodeClass

BrowseName

DataType

TypeDefinition

Other

Subtype of the ProductionContextLogType, which means it inherits the Instance Declarations of that Node.

0:HasComponent

Variable

Avg

0:Double

0:BaseDataVariableType

M, RO

0:HasComponent

Variable

Max

0:Double

0:BaseDataVariableType

M, RO

0:HasComponent

Variable

Min

0:Double

0:BaseDataVariableType

M, RO

0:HasComponent

Variable

Std

0:Double

0:BaseDataVariableType

M, RO

0:HasComponent

Variable

Total

0:Double

0:BaseDataVariableType

M, RO

0:HasComponent

Variable

SamplingRate

0:Double

0:AnalogUnitRangeType

M, RO

0:HasProperty

Variable

AggregationWindow

0:UInt32

0:PropertyType

M, RO

0:HasProperty

Variable

LastResetTime

0:UtcTime

0:PropertyType

M, RO

The components of the ProcessItemResetLogType are further described below.

BrowseName

Description

Avg

The average of valid values over the last AggregationWindow samples and after the last reset.

It is only reset by the successful execution of the ResetAggregates method.

Max

The maximum valid value for the last AggregationWindow samples and after the last reset.

It is only reset by the successful execution of the ResetAggregates method.

Min

The minimum valid value for the last AggregationWindow samples and after the last reset.

It is only reset by the successful execution of the ResetAggregates method.

Std

The standard deviation of the valid value for the last AggregationWindow samples and after the last reset. After reset, when only one value is available, the standard deviation is not defined and zero will be returned.

It is only reset by the successful execution of the ResetAggregates method.

Total

The accumulated total of the valid value for the last AggregationWindow samples and after the last reset.

It is only reset by the successful execution of the ResetAggregates method.

SamplingRate

The rate samples are collected for aggregation. The rate is referred to the either product or time, as indicated by the EURange property.

For example, SamplingRate equal to 100 ms means that the value is measured and collected for aggregation every 100 ms. SamplingRate equal to 10 kg means that the value is measured and collected for aggregation every 10 kg of product. SamplingRate equal to 100 rods means that the value is measured and collected for aggregation every 100 rods of product.

The EURange property of the SamplingRate is read only and defines both the unit of measure and the supported range.

The value of the SamplingRate can be set by a client to obtain the desired sampling rate for aggregation.

If the written value is below (above) the minimum (maximum) value that can be managed by the underlying system, the underlying system will overwrite it with the minimum (maximum).

The underlying system will support equivalent sampling rates of 100ms or better.

AggregationWindow

Tthe number of samples over which the aggregates are computed. When the number of aggregated samples since the last reset exceeds the AggregationWindow, the aggregates are rolled over, i.e. computed over the last AggregationWindow number of samples.

The value of the AggregationWindow can be set by a client to obtain the desired aggregation.

If the written value is below (above) the minimum (maximum) value that can be managed by the underlying system, the underlying system will overwrite it with the minimum (maximum).

LastResetTime

The time (in UTC) when ResetAggregates was last successfully executed.