4. Functions
70
ADA16-32/2(PCI)F
Preset value
This function loads the next preset value automatically each time a compare count match occurs.
The figure above shows an example of using the preset value load function. In this example, the
compare match value is set constant at 2000.
When the counter starts, zero is loaded as the initial preset count.
A compare count match occurs when the count reaches 2000. At this time, 500 is loaded as the next
preset value and the count value jumps to 500. This continues with the next value from the array being
set each time a count match occurs.
After the final value from the array is loaded, operation can start again from the beginning of the array.
Alternatively, loading can be halted (in which case, the preset value remains at 1500).
Input signal
The external clock or event controller output can be selected as the counter input signal.
Digital filter
A digital filter can be used on external input bits.
The filter time can be set to "don't use", 1
μ
s, 128
μ
s, or 16ms by software.
Event
The event function notifies the application when something occurs on the device.
The following events can be used as required.
-
Compare count match event
This event is triggered when a compare match occurs on the counter.
-
Count overrun event
This event is triggered when a counter overrun occurs.
- Counter
operation
error
This event is triggered when a counter operation error causes the counter to stop.
Summary of Contents for ADA16-32/2(PCI)F
Page 7: ...vi ADA16 32 2 PCI F ...
Page 33: ...2 Setup 26 ADA16 32 2 PCI F ...
Page 45: ...3 External Connection 38 ADA16 32 2 PCI F ...
Page 99: ...5 About Software 92 ADA16 32 2 PCI F ...
Page 108: ......