Download Output Control

Transcript
2-24
Module Operation
Output Off Mask
The Output Off Mask has veto power over any output. It can turn any
or all of the module’s outputs off. When a bit in this mask is set to 0,
the output will be turned off. Each bit is logically ANDed with the
Output On Mask and masks of active and enabled ranges. If the bit in
this mask is set to 1, the output may be turned on or off by the ranges,
or the Output On Mask. The final result is available as the Readback.n
bit.
Ranges
Up to 16 dynamically configurable ranges are available. Ranges
activate outputs based on the current count value or the current rate
value. Each range is programmed with a type, counter number, two
limit values, an invert bit, and an output mask.
Each range is programmed with high and low limits for the chosen
value. The range’s invert bit indicates whether the range is active
between or outside the range limits. When the chosen value fulfills the
configuration parameters, the range is active as indicated in the Input
Array. When a range is active and enabled (RangeEn.n = 1), the range
turns on all outputs indicated by the Range Output Mask except those
that are prevented from being enabled by the other factors such as
Output Off Mask or Overcurrent. The status of a range is provided by
the range active status word, where 1 equals range active and zero
equals inactive.
TIP
Ranges can be disabled while the module is running
using the RangeEn.n bit in the output file. However,
even a disabled range will report when it is active or
not. For example, an unprogrammed range has limits
of 0, and points to the Ctr[0].CurrentCount value. If
this value is 0, that range is reported as active.