4. Functions
CNT-3208M-PE
57
Count match
This product can generate an interrupt, output an external one-shot pulse, preset the counter, and clear it
to zero when the count value matches the value in comparison register 0 or 1.
This product has two comparison registers for each channel to compare the count value with. If two or
more registers are required, reprogram the setting using software. When you have two comparison
registers available at the same time, the upper and lower values can be set.
Table 4.9. Count match
Item
Factor
Function
Count match
Count value = Comparison
register 0 or Count value =
Comparison register 1
Interrupt
One-shot pulse output
Preset
Zero-clear
Given below are application examples using the count match feature.
<Example 1> Move count values 100 - 200 in both ways. When the count value falls below 90 or
exceeds 210, a one-shot pulse is output to an external device.
Figure 4.13. Example 1
Initial setting
External output signal selection
:
Count match 0 or Count match 1
Channel 0 Comparison register 1 = 210
Channel 0 Comparison reg
ister 0= 90
Channel 0 Preset register = 100
Event at (2) (Agrees with comparison register 1)
- A one-shot pulse is output with count value = comparison register 1.
Event at (1) (Agrees with comparison register 0)
- A one-shot pulse is output with count value = comparison register 0.
210
200
100
90
Counter start
(1)
(2)
Содержание CNT-3208M-PE
Страница 1: ...PC HELPER High Speed Up Down Counter Board for PCI Express CNT 3208M PE User s Guide CONTEC CO LTD ...
Страница 7: ...vi CNT 3208M PE ...
Страница 15: ...1 Before Using the Product 8 CNT 3208M PE ...
Страница 30: ...2 Setup CNT 3208M PE 23 3 Click on the End button to finish condition setting Click on End ...
Страница 35: ...2 Setup 28 CNT 3208M PE ...
Страница 71: ...4 Functions 64 CNT 3208M PE ...
Страница 75: ...5 About Software 68 CNT 3208M PE ...