Principles of Operation
73
Counter/Timer Operation Modes
The modules support the following counter/timer operation modes:
• Event counting
• Frequency measurement
• Edge-to-edge measurement
• Rate generation
Event Counting
Use event counting mode if you want to count the number of falling edges that occur on
Counter 0 In when the gate is active (high-level gate or software gate). Refer to
for
information about specifying the active gate type.
You can count a maximum of 4,294,967,296 events before the counter rolls over to 0 and starts
counting again.
For event counting operations, use software to specify the counter/timer mode as count, the
C/T clock source as external, and the active gate type as software or high-level.
Make sure that the signals are wired appropriately. Refer to
for an example of
connecting an event counting application.
Frequency Measurement
Connect a pulse of a known duration to the Counter 0 Gate signal. Specify the active gate in
software (high level or low level). When the operation starts, read the number of counts that
occurred when the gate was active.
You can determine the frequency of the clock input signal using the following equation:
Frequency Measurement = Number of Events
Measurement
Period
Make sure that the signals are wired appropriately. Refer to
for an example of
connecting a frequency measurement application.
Содержание DT9812 Series
Страница 1: ...DT9812 UM 20769 R DT9813 and User s Manual DT9814 Series Title Page ...
Страница 4: ......
Страница 12: ...About this Manual 12 ...
Страница 13: ...13 1 Overview Key Hardware Features 14 Supported Software 15 Getting Started Procedure 16 ...
Страница 17: ...Part 1 Getting Started ...
Страница 18: ......
Страница 26: ...Chapter 2 26 ...
Страница 53: ...Part 2 Using Your Module ...
Страница 54: ......
Страница 76: ...Chapter 5 76 ...
Страница 88: ...Chapter 6 88 ...
Страница 89: ...89 7 Troubleshooting General Checklist 90 Technical Support 92 If Your Module Needs Factory Service 93 ...
Страница 94: ...Chapter 7 94 ...
Страница 113: ...113 B Screw Terminal and Connector Pin Assignments ...
Страница 124: ...Index 124 writing programs in C C 15 Visual Basic 15 Visual Basic NET 15 Visual C 15 Visual C 15 ...