MuxBin2Fun
Last updated
MuxBin2Fun (FUN)FUNCTION MuxBin2Fun : REAL
Multiplexer for numeric input quantities with binary selection (2 binary inputs) Typical application: switching temperature sensors
This function returns the numeric input selected by the binary inputs xEn1 (FALSE = not active, TRUE = active) or xEn2 (FALSE = not active, TRUE = active) selected numeric input value (rValue1 or rValue2) in REAL format. The input xEn1 always has the highest priority. If no input is active, the value 0.0 is returned.
InOut:
Return
MuxBin2Fun
REAL
Input
xEn1
BOOL
Input
xEn2
BOOL
Input
rValue1
REAL
Input
rValue2
REAL
Last updated

