MuxString2BinFun
MuxString2BinFun (FUN)
MuxString2BinFun (FUN)FUNCTION MuxString2BinFun : STRING
Short description
Multiplexer for strings with binary selection (2 binary inputs) Typical application: selection of message texts
Function description
This function returns the string selected by the binary inputs xEn1 (FALSE = not active, TRUE = active) or xEn2 (FALSE = not active, TRUE = active) selected string ( sValue1 or sValue2 ) in STRING format. The input xEn1 always has the highest priority. If no input is active, an empty string ('') is returned.
CODESYS
InOut:
Scope
Name
Type
Return
MuxString2BinFun
STRING
Input
xEn1
BOOL
Input
xEn2
BOOL
Input
sValue1
STRING
Input
sValue2
STRING
Last updated

