
;&'4&'-0)*'")<
Section 3-5
*$
Reflecting Active / Not
Active Ranges
A Range becomes active if: Lower Range Limit
≤
Counter Value
≤
Upper Range
Limit. Whether or not a Range is active is reflected in CIO for each Counter.
Enabling and Disabling of
Ranges
Every single Range can be enabled or disabled. If a Range is disabled (by default)
its Output Pattern will be ignored in the Unit Output Pattern calculation. If a Range
is enabled the Output Pattern of that Range will be applied to the Output Pattern
of the corresponding Counter when that Range becomes active. To Enable/Disa-
ble Ranges of Counters refer to the following:
Note
Enabling/Disabling of Ranges can also be done on the fly by using IOWR-instruc-
tions. Refer to 4-3
for more details.
Logically AND/OR Counter
Output Patterns
If the Unit is in Range mode, the Output Patterns of the four Counters are (by
default) logically OR’d and consecutively applied to the Unit Output Pattern.
Depending on the requirements of your application you can also choose to AND
the Counter Output Patterns before they are applied to the Unit Output Pattern.
If multiple Counters are used together to control an application, you have the
option to logically AND or OR the Counter Output Patterns to become the Unit
Output Pattern. In this way it is possible to turn Outputs ON or OFF depending on
Ranges being active of multiple Counters. For instance, it is possible to turn an
Output ON when both a Range of Counter 1 and a Range of Counter 2 are active.
To configure the Unit to AND the Counter Output Patterns refer to the following.
CNT1:
CNT2:
CNT3:
CNT4:
n+20
n+25
n+30
n+35
15 14 13 12 11 10 9
8
7
6
5
4
3
2
1
0
n+21
n+26
n+31
n+36
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
Active Ranges:
= Range 0-31
0 = Range not Active
1 = Range Active
Range Active:
Lower Range Limit
≤
Counter Value
≤
Upper Range Limit
Range not Active: Counter Value
<
Lower Range Limit
Counter Value
>
Upper Range Limit
15 14 13 12 11 10
9
8
7
6
5
4
3
2
1
0
CNT1:
CNT2:
CNT3:
CNT4:
m+57
m+102
m+147
m+192
15 14 13 12 11 10 9
8
7
6
5
4
3
2
1
0
m+58
m+103
m+148
m+193
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
Range Enable Data:
= Range 0-31
0 = Range Disabled
1 = Range Enabled
15 14 13 12 11 10
9
8
7
6
5
4
3
2
1
0
General Setting:
m
AND/OR Counter Output Patterns:
0 = Logically OR Counter Output Patterns
1 = Logically AND Counter Output Patterns
15 14 13 12 11 10
9
8
7
6
5
4
3
2
1
0
W902-E2-03.book Seite 71 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...