Installation and Setup
X-320M™ User's Manual
incremented.
-
Counter off:
The counter is deactivated and will not be incremented.
-
Increment when input on:
Each time the input is considered on, the counter will increment.
-
Increment when input off:
Each time the input is considered off, the counter will increment.
-
Increment when input changes:
Each time the input changes state, the counter will increment.
Reset Count
The counter will reset to 0 as soon as the count reaches the value specified in this field. The counter
is reset immediately when it reaches this value, so this value will never be returned when the
counter is read. For example, if the Reset Count is set to 10, the counter will count from 0 to 9 and
return to 0 on the next count. This value can be set from
1
to
4,000,000,000.
Debounce Time (ms)
All mechanical switches exhibit bounce, which means the electrical contacts make and break
continuity rapidly when opened or closed. Digital circuits are fast enough to recognize these
bounces as switch input activity. Some switches have shorter settling times than others. Solid-state
or digital switches, such as signals from another electronic device, do not have any switch bounce.
The Debounce Time sets the minimum hold (debounce) time to allow for mechanical switches to
settle in their new state. The default debounce setting is
20
ms, but may be set between
1
and
65535
ms. Due to internal circuit capacitance, the actual minimum is approximately 5 ms.
Note: The debounce time will effectively limit the pulse counter input rate. Users should set the
debounce to allow for the maximum expected pulse rate. The debounce should be set to no more
that ½ of the maximum expected cycle time. For example, a 100 Hz signal requires a debounce
value of 5 ms or less.
Page 52
Xytronix Research & Design, Inc.
Содержание X-320m
Страница 1: ......