SEL – Selector switch for analog signals

Block SymbolLicensing group: STANDARD
PIC

Function Description
The SEL block is obsolete, replace it by the SELQUAD 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




Inputs

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, active when BINF = off

Long (I32)

SW1

Binary signal selector, active when BINF = on

Bool

SW2

Binary signal selector, active when BINF = on

Bool

Output

y

The selected signal

Double (F64)

Parameter

BINF

Enable the binary selectors

Bool

off ..

Disabled (analog selector)

on ...

Enabled (binary selectors)

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