Range check (less than or equal to)
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 including 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 within 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 within 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 or equal toOutput 2 - Range check less than or equal to (negated)
651001
661010
671010
681010
691010
6101010
6111001

5.Other

Recalculation during start:Yes
Module is retentive:No
Internal designation:9034
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)
Case check (<=) 8 outp
Case check (<=) 1 outp