Moving Interval Counter 1Ch

The Moving Interval Counter 1Ch counts the amount of raised events within a configured interval. An event is raised when the signal of the input channel passes the configured edge at a specific threshold. The calculation restarts when the time of the interval has elapsed.
Optionally, a Boolean signal can be selected for the Enable Execution input so that the algorithm is only active if the value of the selected signal is TRUE.
Configuration options
- Type of the edge: Specifies whether the edge counter should respond to a rising or falling edge.
- Threshold: Threshold of the signal at the respective edge. The event is triggered when the signal passes this threshold.
- Interval: Time interval in which the values are to be calculated.
- Count Limit: Limits the number of edges that can be counted in an interval.
- Tolerance (optional): Tolerance value for the Equal / NotEqual comparisons.
Output values
- Edge: Indicates TRUE at the time the event is triggered, otherwise FALSE.
- Limited: Indicates TRUE if the number of edges in the current interval exceeds the set Count Limit.
- Counts in Interval: Indicates the number of triggered events in the current interval.
- Time First Count: Indicates the time of the first triggered event → the event can be dragged and dropped into the Scope chart to display it as a trigger-event.
- Time Last Count: Indicates the time of the last triggered event → the event can be dragged and dropped into the Scope chart to display it as a trigger-event.
Standard HMI Controls
For the Moving Interval Counter 1Ch algorithm, the following HMI controls are available for generating an Analytics Dashboard:
1. The MovingIntervalCounter control visualizes the output values Counts in Interval, Time First Count and Time Last Count.

2. The Table Control or Multivalue Control visualizes all output values: Edge, Counts in Interval, Time First Count, Time Last Count, Limited.



Alternatively, customer-specific HMI controls can be mapped in the Moving Interval Counter 1Ch algorithm using the Mapping Wizard.