SELQUAD, SELOCT, SELHEXD – Selector switch for analog signals
Block SymbolsLicensing group: STANDARD
Function Description
The SELQUAD, SELOCT and SELHEX blocks select one of the input signals and copy it to the
output signal y. Please note that the only difference among the blocks is the number of inputs.
The selection of the active signal u0…u15 is based on the iSW input or the binary inputs
SW0…SW3. These two modes are distinguished by the BINF binary flag. The signal is selected
according to the following table:
iSW | SW0 | SW1 | SW2 | SW3 | y |
0 | off | off | off | off | u0 |
1 | on | off | off | off | u1 |
2 | off | on | off | off | u2 |
3 | on | on | off | off | u3 |
4 | off | off | on | off | u4 |
5 | on | off | on | off | u5 |
6 | off | on | on | off | u6 |
7 | on | on | on | off | u7 |
8 | off | off | off | on | u8 |
9 | on | off | off | on | u9 |
10 | off | on | off | on | u10 |
11 | on | on | off | on | u11 |
12 | off | off | on | on | u12 |
13 | on | off | on | on | u13 |
14 | off | on | on | on | u14 |
15 | on | on | on | on | u15 |
This block propagates the signal quality. More information can be found in the 1.4 section.
Input
u0 | Analog input of the block | Double (F64) |
u1 | Analog input of the block | Double (F64) |
u2 | Analog input of the block | Double (F64) |
u3 | Analog input of the block | Double (F64) |
u4 | Analog input of the block | Double (F64) |
u5 | Analog input of the block | Double (F64) |
u6 | Analog input of the block | Double (F64) |
u7 | Analog input of the block | Double (F64) |
u8 | Analog input of the block | Double (F64) |
u9 | Analog input of the block | Double (F64) |
u10 | Analog input of the block | Double (F64) |
u11 | Analog input of the block | Double (F64) |
u12 | Analog input of the block | Double (F64) |
u13 | Analog input of the block | Double (F64) |
u14 | Analog input of the block | Double (F64) |
u15 | Analog input of the block | Double (F64) |
iSW | Active signal selector | Long (I32) |
SW0 | Binary signal selector | Bool |
SW1 | Binary signal selector | Bool |
SW2 | Binary signal selector | Bool |
SW3 | Binary signal selector | Bool |
Parameter
BINF | Enable the binary selectors | Bool |
Output
y | The selected input signal | Double (F64) |
[Previous] [Back to top] [Up] [Next]
2024 © REX Controls s.r.o., www.rexygen.com