Standard function blocks
400
Operation The output (OUT) is the lowest input value (IN).
Inputs The input data type and the number of inputs (2…32) are selected by the user.
Input (IN1…IN32): INT, DINT, REAL, REAL24
Outputs Output (OUT): INT, DINT, REAL, REAL24
MUX
(10055)
Illustration
Execution time 0.70 µs
Operation The value of an input (IN) selected by the address input (K) is stored to the output
(OUT).
If the address input is 0, negative or exceeds the number of the inputs, the output is 0.
Inputs The input data type and number of inputs (2…32) are selected by the user.
Address input (K): DINT
Input (IN1…IN32): INT, DINT, REAL, REAL24
Outputs Output (OUT): INT, DINT, REAL, REAL24
SEL
(10056)
Illustration
Execution time 1.53 µs
Operation The output (OUT) is the value of the input (IN) selected by the selection input (G).
If G = 0: OUT = IN A.
If G = 1: OUT = IN B.
Inputs The input data type is selected by the user.
Selection input (G): Boolean
Input (IN A, IN B): Boolean, INT, DINT, REAL, REAL24
Outputs Output (OUT): Boolean, INT, DINT, REAL, REAL24
MUX
(DINT) 79
TLA1 1 msec (1)
K
IN1
IN2
OUT
OUT(79)
SEL
(BOOL) 80
TLA1 1 msec (1)
G
IN A
IN B
OUT
OUT(80)