cmdPWINDOWIndex

Command Code:

The Packet:

Description:

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

OFFSET+0 -- input in window

OFFSET+1 -- input less than minimum threshold

OFFSET+2 -- input greater than maximum threshold

OFFSET+3 -- null

When the minimum is less than the maximum the command acts as a dual comparator with hysteresis.  There is a "dead zone" between the two thresholds where the result is "null".  When the minimum is greater than the maximum, the command acts as a standard window comparator.

See the discussion of Scratch Pad usage for more details.


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