20
Example 2:
4 digit display, configured to show 2 decimal places.
Scaled Value: +0.2568
Displayed Value: +_0.25 ( _ indicates blank display position due to leading zero suppression).
Truncated mode is particularly useful when implementing a turns counter, for example, where it
is only desirable to increment or decrement the display when the count corresponds to complete
revolutions (or tenths / hundredths / thousandths there of).
The examples below are all based on a 4 digit display. A 2 digit display operates in the same
way, but with 2 digits displayed.
Overflows: In some counting modes an “Overflow” display value is used. This represents an
imaginary number that is 1 less than the minimum displayable value, and 1 more than the
maximum displayed value, and is governed by the same scaling factor as normal counting mode.
That is to say: If the scale factor has a numerator of 1 and a denominator of 5, then the count
follows the sequence in the following table, with the given count inputs:
Index
Count
Display
1
-
-9998
2
-5
-9999
3
-5
4
-5
+9999
5
-5
+9998
6
+5
+9999
7
+2
+9999
8
+2
+9999
9
+1
10
+3
11
+1
12
+1
-9999
13
+5
-9998