Standard function blocks
399
Selection
LIMIT
(10052)
Illustration
Execution time 0.53 µs
Operation The output (OUT) is the limited input (IN) value. Input is limited according to the
minimum (MN) and maximum (MX) values.
Inputs The input data type is selected by the user.
Minimum input limit (MN): INT, DINT, REAL, REAL24
Input (IN): INT, DINT, REAL, REAL24
Maximum input limit (MX): INT, DINT, REAL, REAL24
Outputs Output (OUT): INT, DINT, REAL, REAL24
MAX
(10053)
Illustration
Execution time 0.81 µs (when two inputs are used) + 0.53 µs (for every additional input). When all
inputs are used, the execution time is 16.73 µs.
Operation The output (OUT) is the highest 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
MIN
(10054)
Illustration
Execution time 0.81 µs (when two inputs are used) + 0.52 µs (for every additional input). When all
inputs are used, the execution time is 16.50 µs.
LIMIT
(DINT) 76
TLA1 1 msec (1)
MN
IN
MX
OUT
OUT(76)
MAX
(DINT) 77
TLA1 1 msec (1)
IN1
IN2
OUT
OUT( 77)
MIN
(DINT) 78
TLA1 1 msec (1)
IN1
IN2
OUT
OUT(78)