Table of Contents - TG Drives
Table of Contents - TG Drives
Table of Contents - TG Drives
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
EXTENDED REGISTER GROUPS<br />
Counter<br />
0 = Internal time counter.<br />
1 = External event counter.(selcted with capture.mode)<br />
The counter counts both the positive and the negative going<br />
external edge.<br />
b2-b6 Reserved.<br />
b7 Frequency overflow indication.<br />
During frequency calculation overflow is indicated. This<br />
occurs in the case a too high frequency is to be measured<br />
with a too long time base value<br />
Counter.Count 1 ±31 bit RW 0<br />
The count value. The Counter.PreScale can be used<br />
to<br />
divide the count value with a fixed value. In the case the<br />
Counter is configured for internal time measurement then<br />
only a 16 bit counter value is returned.<br />
Counter.Freq 2 ±31 bit R 0<br />
The count frequency in Hz. The Counter.TimeBase<br />
indicate the time that is used for measuring the frequency.<br />
Counter.TimeBase 3 1..1000 RW 1<br />
The time interval used for frequency calculation in<br />
milliseconds.<br />
Note. If a time base value is too large for the given<br />
frequency then measurement overflow occurs. The overflow<br />
is indicated in Counter.Mode.<br />
The theoretical measurement range for different values <strong>of</strong><br />
Counter.TimeBase are:<br />
1000ms 1Hz - 32kHz<br />
500ms 2Hz - 65kHz<br />
100ms 10Hz - 327kHz<br />
50ms 20Hz - 655kHz<br />
10ms 100Hz - 3MHz<br />
5ms 200Hz - 6MHz<br />
1ms 1000Hz - 32MHz<br />
Counter.PreScale 4 0..7 RW 1<br />
Shift factor for Counter.Count value.<br />
0 = divide by 1<br />
1 = divide by 2<br />
2 = divide by 4<br />
3 = divide by 8<br />
4 = divide by 16<br />
User's Manual 5.1 Inmotion Technologies AB<br />
Doc. No.9032 0027 01 (B), Rev. 11.07.2001<br />
173