SELQUAD, SELOCT, SELHEXD – Selector switch for analog signals

Block SymbolsLicensing group: STANDARD
PIC PIC PIC

Function Description
The SELQUAD, SELOCT and SELHEX blocks select one of the input signals and copy it to the output signal y. The selection of the active signal u0u15 is based on the iSW input or the binary inputs SW0SW3. 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






Please note that the only difference among the blocks is the number of inputs.

Inputs

u0..15

Analog inputs of the block

Double (F64)

iSW

Active signal selector

Long (I32)

SW0..3

Binary signal selectors

Bool

Output

y

The selected input signal

Double (F64)

Parameter

BINF

Enable the binary selectors

Bool

off ..

Disabled (analog selector)

on ...

Enabled (binary selectors)

2020 © REX Controls s.r.o., www.rexygen.com