Latching Switch 1Ch
The Latching Switch 1Ch realizes a virtual impulse switch. The output alternates between TRUE and FALSE on each edge detected at the input.
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 to react to a rising or falling edge at the input
- Threshold Edge: Threshold of the signal at the respective edge. The event is triggered when the signal passes this threshold.
- Tolerance (optional): Tolerance value for the Equal / NotEqual comparisons.
Output values
- Out: Result of the virtual impulse switch.
- Count: incremented when the output value changes.
- Last Event: 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 Latching Switch 1Ch algorithm, the following HMI controls are available for generating an Analytics Dashboard:
1. The SingleValue control visualizes the output values Count and Last Event.
2. The BinaryState control visualizes the output value Out.
3. The Table Control and Multivalue Control visualize all output values.
Alternatively, customer-specific HMI controls can be mapped using the Mapping Wizard.