Demultiplexer

The demultiplexer selects an output channel based on the input value. For this purpose, the input value is interpreted as an integer. This value corresponds to the output channel. If the value is outside the configured number of channels, the output channel is set to 0.
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
- NumChannels: Adds or removes an output channel.
Output values
- Current Channel: Indicates the number of the selected channel. The value is 0 if the selected channel is outside the configured channels.
- Count: Starts with 1 for the channel selected at the start of the analysis and increments each time another channel is selected.
- Last Event: Timestamp of the last channel change.
- Out 00..n: Boolean output for channels 0 (selected channel < 1 or >n) to n
Standard HMI Controls
For the Demultiplexer algorithm, the following HMI controls are available for generating an Analytics Dashboard:
1. The Table Control or Multivalue Control visualizes the output values Count, Current Channel and Last Event and Out.



Alternatively, customer-specific HMI controls can be mapped in the Demultiplexer algorithm using the Mapping Wizard.