Comparator, range check, less than
Comparator, range check, less than
Help / Logic / Comparator, range check, less than / Inputs / Outputs / Value table / End of text
Function
This module checks the extent to which a value is inside or outside of a given range. The value is checked in Module 1 to see if it is outside of the range limits. All range limits are checked in Module 2. A value table supplies an example.
Inputs
Type Initial value Description
Lower limit (Input 1) 0 The lower range value
Comparative value (Input 2) 0 The second communication object is assigned here.
The value of this communication object us compared with the range (upper and lower limit)
Upper limit (Input 3) 0 The upper range value
Outputs
Output 1 (send) 0 The result of the comparison is output here.
Output 1 (negates send) 0 The negated comparative result is output here.
A 1-bit value is output.
Output 2
(send by change)
0 The comparative result is output here.
A 1-bit value is output.
Output 2
(negates send by change)
0 The negated comparative result is output here.
A 1-bit value is output.
The output does not send on a restart.
Commands
Command (Output 1) - The commands assigned here are run when the value of output 1 is not equal to zero.
Command (Output 1 negated) - The commands assigned here are run when the value of output 1 is not equal to zero.
Command (Output 2) - The commands assigned here are run when the value of output 2 is not equal to zero and when a telegram is sent.
Command (Output 2 negated) - The commands assigned here are run when the value of output 2 is not equal to zero and when a telegram is sent.
Other
Telegram interval 0 Can be changed.
Recalculated on start Yes  
Module is retentive No  
Internal designation: 9033 for LESS THAN
Internal designation: 9034 for LESS THAN OR EQUAL
Value table provided as an example
Input 1

Lower range limit
Input 2

Comparative value
Input 3

Upper range limit
Range check

less than
Range check

less than

Range check

less than or equal
Range check

less than or equal
6 5 10 0 1 0 1
6 6 10 0 1 1 0
6 7 10 1 0 1 0
6 8 10 1 0 1 0
6 9 10 1 0 1 0
6 10 10 0 1 1 0
6 11 10 0 1 0 1
The negated outputs return a 1 when the value is outside of the range (smaller than module).
Similar functions
Additional comparators

Help / Logic / Comparator, range check / Inputs / Outputs / Value table / Beginning of text