cmdWINDOWIndex

Command Code:

The Packet:

Description:

This command compares an input parameter to a minimum and maximum threshold.  There is no reply packet.  It generates a raw input based on the result:

OFFSET+0 -- in window ((INPUT < MINTHR) and (INPUT > MAXTHR))

OFFSET+1 -- below minimum (INPUT < MINTHR)

OFFSET+2 -- above maximum (INPUT > MAXTHR)

OFFSET+3 -- none of the above

When MINTHR is less than MAXTHR, the command acts as a dual comparator with hysteresis.  There is a null zone between the two thresholds where the result is "none of the above".  The "in window" case is not possible.  If MINTHR=MAXTHR, an input that equals MINTHR and MAXTHR will be in the null zone.

When MINTHR is greater than MAXTHR, the command acts as a window comparator.  The "none of the above" case is not possible.


version: 1.0, build 80903
© Copyright 1994-2008 Acroname, Inc., Boulder, Colorado.  All rights reserved.