MuxBin10Fun
MuxBin10Fun (FUN)
MuxBin10Fun (FUN)FUNCTION MuxBin10Fun : REAL
Short description
Multiplexer for numeric input quantities with binary selection (10 binary inputs) Typical application: switching temperature sensors
Function description
This function returns the numeric input quantity selected by the binary inputs xEn1 (FALSE = not active, TRUE = active) up to xEn10 (FALSE = not active, TRUE = active) selected numeric input quantity ( rValue1 to rValue10 ) in REAL format. The input xEn1 always has the highest priority, the input xEn2 the second highest, etc... If no input is active, the value 0.0 is returned.\
CODESYS
InOut:
Return
MuxBin10Fun
REAL
Input
xEn1
BOOL
Input
xEn2
BOOL
Input
xEn3
BOOL
Input
xEn4
BOOL
Input
xEn5
BOOL
Input
xEn6
BOOL
Input
xEn7
BOOL
Input
xEn8
BOOL
Input
xEn9
BOOL
Input
xEn10
BOOL
Input
rValue1
REAL
Input
rValue2
REAL
Input
rValue3
REAL
Input
rValue4
REAL
Input
rValue5
REAL
Input
rValue6
REAL
Input
rValue7
REAL
Input
rValue8
REAL
Input
rValue9
REAL
Input
rValue10
REAL
Last updated

