SEL – Selector switch for analog signals

Block SymbolLicensing group: STANDARD
PIC

Function Description
The SEL block is obsolete, replace it by the SELQUAD, SELOCT or SELHEXD block. Note the difference in binary selector signals SWn.

The SEL block selects one of the four input signals u1, u2, u3 and u4 and copies it to the output signal y. The selection is based on the iSW input or the binary inputs SW1 and SW2. These two modes are distinguished by the BINF binary flag. The signal is selected according to the following table:





iSW SW1 SW2 y




0 off off u1
1 off on u2
2 on off u3
3 on on u4




This block does not propagates the signal quality. More information can be found in the 1.4 section.

Input

u1

First analog input of the block

Double (F64)

u2

Second analog input of the block

Double (F64)

u3

Third analog input of the block

Double (F64)

u4

Fourth analog input of the block

Double (F64)

iSW

Active signal selector

Long (I32)

SW1

Binary signal selector

Bool

SW2

Binary signal selector

Bool

Parameter

BINF

Enable the binary selectors

Bool

off ..

Disabled (analog selector)

on ...

Enabled (binary selectors)

Output

y

The selected input signal

Double (F64)

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