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. | Name | Initialisation | Description |
---|---|---|---|
1 | E1 L. Limit | 0 | Lower limit - The lower range value. This value lies within the test range. |
2 | E2 CV | 0 | Comparison value - The second communication object is assigned here. The value of this communication object is compared to the range (lower and upper range) |
3 | E3 U. Limit | 0 | Upper limit - The upper range value. This value lies within the test range. |
3.Outputs
No. | Name | Initialisation | SBC | Description |
---|---|---|---|---|
1 | A1 | 0 | s | The comparison result is output here. |
2 | A2 neg | 0 | s | The negated comparison result is output here. A 1-bit value is output. |
3 | A3 (sbc) | 0 | sbc | The comparison result is output here. A 1-bit value is output. |
4 | A3 neg (sbc) | 0 | sbc | 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 limit | Input 2 comparison value | Input 3 upper range limit | Output 1 - Range check less than or equal to | Output 2 - Range check less than or equal to (negated) |
---|---|---|---|---|
6 | 5 | 10 | 0 | 1 |
6 | 6 | 10 | 1 | 0 |
6 | 7 | 10 | 1 | 0 |
6 | 8 | 10 | 1 | 0 |
6 | 9 | 10 | 1 | 0 |
6 | 10 | 10 | 1 | 0 |
6 | 11 | 10 | 0 | 1 |
5.Other
Recalculation during start: | Yes |
---|---|
Module is retentive: | No |
Internal designation: | 9034 |
Category: | Comparator |