Comparison - JUMO LOGOSCREEN 601 Manual

Paperless recorder, st editor
Hide thumbs Also See for LOGOSCREEN 601:
Table of Contents

Advertisement

8 Functions
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 *)
44

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Logoscreen 700706521706530

Table of Contents