DMUX8_BO: Demultiplexer 1 of 8 Boolean values
The DMUX8_BO (FC412) block switches the Boolean input to one of the 8 outputs in dependence of a selector.
Functionality
The block switches the input [In] to the output [Out0] ... [Out7] defined by selector [K]. All other outputs are set to default value [DefVal].
If the value of input [K] is smaller than 0 or greater than 7, all outputs [Out0]...[Out7] are set to [DefVal].
The block can be cascaded e.g. to demultiplex 16 outputs. To do this, several DMUX8_BO blocks can be switched in parallel to the same input value [In]. The input selector [K] of the cascaded blocks are connected with output [ReqK]. The output [ReqK] is automatically adapted through subtraction. So that any number of DMUX8_BO can be cascaded.
Selector. K | Output. | ||||||||
Out0 | Out1 | Out2 | Out3 | Out4 | Out5 | Out6 | Out7 | ReqK | |
K < 0 | DefVal | DefVal | DefVal | DefVal | DefVal | DefVal | DefVal | DefVal | -1 |
K = 0 | In | DefVal | DefVal | DefVal | DefVal | DefVal | DefVal | DefVal | -1 |
K = 1 | DefVal | In | DefVal | DefVal | DefVal | DefVal | DefVal | DefVal | -1 |
K = 2 | DefVal | DefVal | In | DefVal | DefVal | DefVal | DefVal | DefVal | -1 |
K = 3 | DefVal | DefVal | DefVal | In | DefVal | DefVal | DefVal | DefVal | -1 |
K = 4 | DefVal | DefVal | DefVal | DefVal | In | DefVal | DefVal | DefVal | -1 |
K = 5 | DefVal | DefVal | DefVal | DefVal | DefVal | In | DefVal | DefVal | -1 |
K = 6 | DefVal | DefVal | DefVal | DefVal | DefVal | DefVal | In | DefVal | -1 |
K = 7 | DefVal | DefVal | DefVal | DefVal | DefVal | DefVal | DefVal | In | -1 |
K > 7 | DefVal | DefVal | DefVal | DefVal | DefVal | DefVal | DefVal | DefVal | K-8 |
Inputs
Pin | E | Description |
K | pa | Selector. |
In | pa | Input. |
DefVal | pa | Default value. |
Outputs
Pin | E | Description |
Out0..Out7 | a | Output 0..7 |
ReqK |
| Request Selector |
Input values
Pin | Description | Data type | Default value | E.g. Engineering unit or Text group | Min. | Max. |
K | Selector. | Integer | 0 |
|
|
|
In | Input. | Boolean | 0 (No) | No, Yes |
|
|
DefVal | Default value. | Boolean | 0 (No) | No, Yes |
|
|
Output values
Pin | Description | Data type | Default value | E.g. Engineering unit or Text group | Min. | Max. |
Out0..Out7 | Output 0..7 | Boolean | 0 (No) | No, Yes |
|
|
ReqK | Request Selector | Integer | 0 |
|
|
|
Application
The block normally is used to reset signals interconnected via a multiplexer.
For example, a communication path featuring an integer and Boolean pin only can be used to transmit up to 8 different values in sequence.
Process response
Standard (see General rules and information).
Troubleshooting
Standard (see General rules and information).