SELSOCT – Selector switch for string signals

Block SymbolLicensing group: STANDARD
PIC

Function Description
The SELSOCT block selects one of the input strings and copy it to the output string sy. The selection of the active signal u0u15 is based on the iSW input or the binary inputs SW1SW3. These two modes are distinguished by the BINF binary flag. The signal is selected according to the following table:






iSW SW1 SW2 SW3 y





0 off off off u0
1 on off off u1
2 off on off u2
3 on on off u3
4 off off on u4
5 on off on u5
6 off on on u6
7 on on on u7





Inputs

su0..7

String input value

String

iSW

Active signal selector

Long (I32)

SW1..3

Binary signal selector

Bool

Parameters

BINF

Enable the binary selectors

Bool

nmax

Allocated size of string [bytes]   0  65520

Long (I32)

Output

sy

The selected input signal

String

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