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.
Summary of Contents for DT9812 Series
Page 1: ...DT9812 UM 20769 R DT9813 and User s Manual DT9814 Series Title Page ...
Page 4: ......
Page 12: ...About this Manual 12 ...
Page 13: ...13 1 Overview Key Hardware Features 14 Supported Software 15 Getting Started Procedure 16 ...
Page 17: ...Part 1 Getting Started ...
Page 18: ......
Page 26: ...Chapter 2 26 ...
Page 53: ...Part 2 Using Your Module ...
Page 54: ......
Page 76: ...Chapter 5 76 ...
Page 88: ...Chapter 6 88 ...
Page 94: ...Chapter 7 94 ...
Page 113: ...113 B Screw Terminal and Connector Pin Assignments ...