Event Timing Analysis 1Ch
The Event Timing Analysis 1Ch measures time differences between on- and off-event and counts the amount of raised events. An on-event is raised when the signal of the input channel passes the configured edge at a specific on-threshold and an off-event is raised when the off-threshold is passed by the same signal.
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: indicates whether the edge counter should react to a rising or a falling edge.
- Threshold On: threshold of the signal at the respective edge. The On event is triggered when the signal passes this threshold.
- Threshold Off: threshold of the signal at the respective edge. The Off event is triggered when the signal passes this threshold.
- Init With Threshold: if the value is TRUE, the algorithm uses a threshold to initialize the internal state instead of waiting for an edge.
- Single Edge: if the value is TRUE, the algorithm is executed only on the basis of the edges of the On event.
- Tolerance (optional): tolerance value for the Equal / NotEqual comparisons.
Output Values
- Is On: Shows TRUE within the time range between on-event and off-event, otherwise FALSE.
- Current Interval: Shows the time of the current interval.
- On Min: Shows the minimal time the "Is On"-value is TRUE.
- On Max: Shows the maximal time the "Is On"-value is TRUE.
- On Avg: Shows the average time the "Is On"-value is TRUE.
- On Total: Shows the total time the "Is On"-value is TRUE.
- Off Min: Shows the minimal time the "Is On"-value is FALSE.
- Off Max: Shows the maximal time the "Is On"-value is FALSE.
- Off Avg: Shows the average time the "Is On"-value is FALSE.
- Off Total: Shows the total time the "Is On"-value is FALSE.
- Count On: Counts the amount of raised on-events.
Standard HMI Controls
For the Event Timing Analysis 1Ch algorithm, the following HMI controls are available for generating an Analytics Dashboard:
1. The EventTiming control visualizes the output values Is On, Count On, Current Interval, On Min, On Max, On Avg, On Total, Off Min, Off Max, Off Avg and Off Total.
2. The SingleValue control visualizes the output value Count On.
3. The Table Control or Multivalue Control visualizes all output values: Is On, Count On, Current Interval, On Min, On Max, On Avg, On Total, Off Min, Off Max, Off Avg, Off Total.
Alternatively, customer-specific HMI controls can be mapped in the Event Timing Analysis 1Ch algorithm using the Mapping Wizard.