Zone Compare can be a bit confusing the first time around... :nodi:
Zone Compare needs 4 values:
[ZCP w x y z]
w is the 'lower' end of the zone
x is the 'upper' end of the zone
y is the value you want to look at
z is the starting bit of the 3 result bits
Using [ZCP K2 K5 D1 M1] as an example:
D1 is the word we will be comparing. The 'zone' will be from 2 to 5. M1 will be the first bit of the 3 result bits, which means it will use M1, M2, and M3
M1 will be ON when D1 < 2
M2 will be ON when D1
> 2, AND
< 5
M3 will be ON when D1 > 5
You could use the appropriate M bit to turn on your output.
-Eric