Range check (less than)
Contents

1.Description

Whether a value lies inside or outside a range is checked in this module. The value is checked in the module for values excluding the range limits. A value table supplies an example.

2.Inputs

No.NameInitialisationDescription
1E1 L. Limit0
Lower limit - The lower range value. This value lies outside the test range.
2E2 CV0
Comparison value - The second communication object is assigned here. The value of this communication object is compared to the range (lower and upper range)
3E3 U. Limit0
Upper limit - The upper range value. This value lies outside the test range.

3.Outputs

No.NameInitialisationSBCDescription
1A10s
The comparison result is output here.
2A2 neg0s
The negated comparison result is output here. A 1-bit value is output.
3A3 (sbc)0sbc
The comparison result is output here. A 1-bit value is output.
4A3 neg (sbc)0sbc
The negated comparison result is output here. A 1-bit value is output. The output does not send during a restart.
s = send, sbc = send by change

4.Value table as an example

Input 1 lower range limitInput 2 comparison valueInput 3 upper range limitOutput 1 - Range check (less than)Output 2 - Range check less than (negated)
651001
661001
671010
681010
691010
6101001
6111001

5.Other

Recalculation during start:Yes
Module is retentive:No
Internal designation:9033
Category:Comparator

6.Similar functions

Equal to
Greater than
Greater than or equal to
Less than
Less than or equal to
Not equal to
Range check (Less than or equal to)
Case check (<=) 8 outp
Case check (<=) 1 outp