SELU – Controller selector unit

Block SymbolLicensing group: STANDARD
PIC

Function Description
The SELU block is tailored for selecting the active controller in selector control. It chooses one of the input signals u1, u2, u3, u4 and copies it to the output y. For BINF = off the active signal is selected by the iSW input. In the case of BINF = on the selection is based on the binary inputs SW1 and SW2 according to the following table:









iSW SW1 SW2 y U1 U2 U3 U4








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








This table also explains the meaning of the binary outputs U1, U2, U3 and U4, which are used by the inactive controllers in selector control for tracking purposes (via the SWU blocks).

Inputs

u1..u4

Signals to be selected from

Double (F64)

iSW

Active signal selector in case of BINF = off

Long (I32)

SW1

Binary signal selector, used when BINF = on

Bool

SW2

Binary signal selector, used when BINF = on

Bool

Outputs

y

Analog output of the block

Double (F64)

U1..U4

Binary output signal for selector control

Bool

Parameter

BINF

Enable the binary selectors

Bool

off ..

Disabled (analog selector)

on ...

Enabled (binary selectors)

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