Counter Types
Section 3-2
29
3-2
Counter Types
Every single Counter of the Counter Unit can be set independently to one of the
following Counter Types:
• Circular Counter (refer to section Section 3-2-1
• Linear Counter (refer to section Section 3-2-2
Each Counter can be configured Circular or Linear Counter by giving the corre-
sponding word in DM the appropriate setting:
For Circular and Linear Counters all the functions and features of the Counter Unit
are available and configurable.
Counter Value
For all Counter Types the 32-bit Counter Value is reflected in CIO.
CNT3:
CNT4:
m+50
m+70
Counter Type:
0 = Circular Counter
1 = Linear Counter
CNT1:
CNT2:
m+10
m+30
15 14 13 12 11 10 9
8
7
6
5
4
3
2
1
0
CNT3:
CNT4:
n+27
n+31
n+28
n+32
Counter Value
Circular Counter: between 00000000
H
and FFFFFFFF
H
Linear Counter: between 80000000
H
and 7FFFFFFF
H
CNT1:
CNT2:
n+19
n+23
n+20
n+24
15 14 13 12 11 10 9
8
7
6
5
4
3
2
1
0