α2
Simple Application Controllers
Function Blocks 6
6 - 36
6.16 Zone Compare Block
This function checks whether a value is within a specified range. There are three values - the
Low Limit (L), Input Value (I), and High Limit (H). These values can be Set Directly, be
Analogue Inputs, or by Function Block values. The Output can be given a Set or Reset priority.
Set Priority - The Output turns ON when the Input Value is equal to or between the High and
Low Limits.
Reset Priority - The Output turns ON when the Input Value is outside the High and Low Limits.
Table 6.16: Zone Compare Function Block
Function
Set Item
Description
I
Input pin for zone compare operation
FB
The following conditions apply to the function block:
1) Low (compare value L)
a) Range: -32768 to +32767 with initial value set at 0
b) Analogue data A01-A08
c) Other function block data
2) Input (input value I)
a) Range: -32768 to +32767 with initial value set at 0
b) Analogue data A01-A08
c) Other function block data
3) High (compare value H)
a) Range: -32768 to +32767 with initial value set at 0
b) Analogue data A01-A08
c) Other function block data
Output
Output status:
1) ON in the zone
The value from the input pin is compared with the preset high and low
values and sets the output ON when the zonal compare condition is
satisfied.
Otherwise the output is OFF.
2) OFF in the zone
The value from the input pin is compared with the preset high and low
values and sets the output OFF when the zonal compare condition is
satisfied. Otherwise the output is ON.
0 0
0
C
Z
O
I
P