
0)&*'#"-CD4#+
Section 3-2
(&
3-2-3
Linear Counter
Configuring Linear
Counters
A Linear Counter has the full counting range (=32 bits) available to count up- or
downwards over the positive and negative counting range between the Minimum
Count Limit and the Maximum Count Limit. By default the Minimum and Maximum
Count Limits are set to the maximum counting limits (i.e. –2,147,483,648 and
+2,147,483,647 respectively).
If the Counter Value goes above the Upper Count Limit or below the Lower Count
Limit an Overflow- and Underflow flag will be set respectively. These are reported
in CIO for the corresponding Counter.
On occurrence of an Overflow- or Underflow every Counter can be configured to
report a corresponding error-code. You can use Overflow/Underflow Error-Code
Generation to store Overflow- and underflow errors in the EEPROM inside the
Unit (refer to 5-2-3
). Another reason to use Overflow/
Underflow Error-Code Generation is that you are now able to predefine the status
of the Outputs at the occurrence of an Overflow- or Underflow. For this purpose
you should use the Output State Control function (refer to 3-5-4
CNT1:
CNT2:
CNT3:
CNT4:
m+30
m+75
m+120
m+165
Counter Type:
1 = Linear Counter
15 14 13 12 11 10
9
8
7
6
5
4
3
2
1
0
Counter Value
0
Up Counting
Down Counting
Underflow
Overflow
H
H
-2,147,483,648
≤
Lowercount Limit
≤
-1
80000000
≤
Lowercount Limit
≤
FFFFFFFF
≤
≤
≤
≤
H
1 Uppercount Limit +2,147,483,647
00000001 Uppercount Limit 7FFFFFFF
W902-E2-03.book Seite 53 Donnerstag, 7. Oktober 2004 2:06 14
Summary of Contents for CS1W-CT021
Page 1: ...OPERATION MANUAL High speed Counter Units CS1W CT021 CS1W CT041 Cat No W902 E2 03...
Page 3: ...W902 E2 03 book Seite iv Donnerstag 7 Oktober 2004 2 06 14...
Page 5: ...W902 E2 03 book Seite vi Donnerstag 7 Oktober 2004 2 06 14...
Page 39: ...W902 E2 03 book Seite 24 Donnerstag 7 Oktober 2004 2 06 14...
Page 59: ...A 2 Section 2 3 W902 E2 03 book Seite 44 Donnerstag 7 Oktober 2004 2 06 14...
Page 155: ...4 Section 4 6 W902 E2 03 book Seite 140 Donnerstag 7 Oktober 2004 2 06 14...
Page 199: ...G W902 E2 03 book Seite 184 Donnerstag 7 Oktober 2004 2 06 14...