
;&'4&'-0)*'")<
Section 3-5
*(
3-5-2-2
Configuration and operation in Comparison Mode
Specifying Comparison-
Data
In Comparison Mode every Counter can be assigned up to a maximum of 32 Com-
parison Values. The Data of every Comparison Value (CV-Data) is contained by 5
double words:
•
Comparison Value (can be set between 80000000
H
– 7FFFFFFF
H
for a Linear
Counter and between 00000000
H
– FFFFFFFF
H
for a Circular Counter)
•
Output Set Pattern for the positive counting direction (+Set Pattern CV‘n’),
specifying which Outputs must be Set on reaching that CV in the positive
counting direction (0 = No Change, 1 = Set Output)
•
Output Reset Pattern for the positive counting direction (+Reset Pattern
CV’n’), specifying which Outputs must be Reset on reaching that CV in the
positive counting direction (0 = No Change, 1 = Reset Output)
•
Output Set Pattern for the negative counting direction (-Set Pattern CV’n’),
specifying which Outputs must be Set on reaching that CV in the negative
counting direction (0 = No Change, 1 = Set Output)
•
Output Reset Pattern for the negative counting direction (-Reset Pattern
CV’n’), specifying which Outputs must be Reset on reaching that CV in the
negative counting direction (0 = No Change, 1 = Reset Output)
To configure a Counter in Comparison Mode for every Comparison Value that you
want to use the CV-Data must be set. Each data-item is specified by two words
(=32 bits). For the exact memory location of the CV-Data, refer to
Comparison Value
15 14 13 12 11 10 9
7
7
6
5
4 O3 O2 O1 O0
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
+Set Pattern
15 14 13 12 11 10 9
7
7
6
5
4 O3 O2 O1 O0
Comparison Data
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
+Reset Pattern
15 14 13 12 11 10 9
7
7
6
5
4 O3 O2 O1 O0
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
-Set Pattern
15 14 13 12 11 10 9
7
7
6
5
4 O3 O2 O1 O0
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
-Reset Pattern
In the +/- Set and Reset Patterns the Outputs are represented by:
= Digital Outputs 0-3
(corresponding with Physical Digital Outputs O0, O1, O2 and O3)
= Soft Outputs 4-31
On reaching the Comparison Value:
+ and – Set Patterns:
+ and – Reset Patterns:
0 = No Change
1 = Set Output
0 = No Change
1 = Reset Output
8
8
8
8
15 14 13 12 11 10
9
8
7
6
5
4
3
2
1
0
W902-E2-03.book Seite 75 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...