EasyManua.ls Logo

JUMO LOGOSCREEN 700 - 8.7 Comparison

JUMO LOGOSCREEN 700
64 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
8 Functions
44
8.7 Comparison
Admissible data types
Argument with LT, LE, GT, GE: UINT, UDINT, REAL, DT
Argument with EQ and NE: BOOL, UINT, UDINT, REAL, DT
Result: BOOL
< (lower than)
Compares arguments on whether one is smaller than another.
Examples:
bOUT := IN1 < IN2; (* bOUT := TRUE, if IN1 is smaller than IN2 *)
bOUT := (IN1 < IN2) & (IN2 > IN3) & ... & (INn-1 > INn);
<= (lower or equal)
Compares arguments on whether one is smaller than or equal to another.
Examples:
bOUT := IN1 <= IN2; (* bOUT := TRUE, IN1 is smaller than or equal to IN2 *)
bOUT := (IN1 <= IN2) & (IN2 <= IN3) & ... & (INn-1 <= INn);
> (greater than)
Compares arguments on whether one is larger than another.
Examples:
bOUT := IN1 > IN2; (* bOUT := TRUE, if IN1 is larger than IN2 *)
bOUT := (IN1 > IN2) & (IN2 > IN3) & ... & (INn-1 > INn);
>= (greater or equal)
Compares arguments on whether one is larger than or equal to another.
Example:
bOUT := IN1 >= IN2; (* bOUT := TRUE, if IN1 is larger than or equal to IN2 *)
= (equal)
Compares arguments on whether they are equal.
Example:
bOUT := IN1 = IN2; (* bOUT := TRUE, if IN1 is equal to IN2 *)
<> (not equal)
Compares arguments on whether they are unequal.
Example:
bOUT := IN1 <> IN2; (* bOUT := TRUE, if IN1 is unequal to IN2 *)

Other manuals for JUMO LOGOSCREEN 700

Related product manuals