SSW – Simple switch

Block SymbolLicensing group: STANDARD
PIC

Function Description
The SSW block selects one of two input signals u1 and u2 with respect to the binary input SW. The selected input is copied to the output y. If SW = off (SW = on), then the selected signal is u1 (u2).

Inputs

u1

First analog input of the block

double

u2

Second analog input of the block

double

SW

Signal selector

bool

off ..

The u1 signal is selected, y = u1

on ...

The u2 signal is selected, y = u2

Output

y

Analog output of the block

double

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