Standard function blocks
306
Comparison
EQ
(10040)
Illustration
Execution time 0.89 µs (when two inputs are used) + 0.43 µs (for every additional input). When all
inputs are used, the execution time is 13.87 µs.
Operation The output (OUT) is 1 if all the connected input values are equal (IN1 = IN2 = … =
IN32). Otherwise the output is 0.
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): Boolean
GE
>=
(10041)
Illustration
Execution time 0.89 µs (when two inputs are used) + 0.43 µs (for every additional input). When all
inputs are used, the execution time is 13.87 µs.
Operation The output (OUT) is 1 if (IN1 >
IN2) & (IN2 > IN3) & … & (IN31 > IN32). Otherwise the
output is 0.
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): Boolean
GT
>
(10042)
Illustration
Execution time 0.89 µs (when two inputs are used) + 0.43 µs (for every additional input). When all
inputs are used, the execution time is 13.87 µs.
EQ
(DINT) 75
TLA1 1 msec (1)
IN1
IN2
OUT
OUT(75)
GE
(DINT) 76
TLA1 1 msec (1)
IN1
IN2
OUT
OUT(76)
GT
(DINT) 77
TLA1 1 msec (1)
IN1
IN2
OUT
OUT(77)