Omron CJ1W-CT021 Operation Manual page 96

High-speed counter units
Hide thumbs Also See for CJ1W-CT021:
Table of Contents

Advertisement

Output Control
3-5-2-2
Configuration and operation in Comparison Mode
Specifying Comparison-
Data
Comparison Data
76
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
Counter and between 00000000
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 4-2-1 "Memory
Mapping".
15 14 13 12 11 10 9
15 14 13 12 11 10 9
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
15 14 13 12 11 10 9
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
15 14 13 12 11 10 9
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
15 14 13 12 11 10 9
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
In the +/- Set and Reset Patterns the Outputs are represented by:
= Digital Outputs 0-1
(corresponding with Physical Digital Outputs O0 and O1)
= Soft Outputs 2-31
On reaching the Comparison Value:
+ and – Set Patterns:
+ and – Reset Patterns:
0 = No Change
0 = No Change
1 = Set Output
1 = Reset Output
– FFFFFFFF
H
8
7
6
5
4
3
2
1
7
7
6
5
4
3
2 O1 O0
7
7
6
5
4
3
2 O1 O0
7
7
6
5
4
3
2 O1 O0
7
7
6
5
4
3
2 O1 O0
Section 3-5
– 7FFFFFFF
H
H
for a Circular Counter)
H
0
Comparison Value
+Set Pattern
+Reset Pattern
-Set Pattern
-Reset Pattern
for a Linear

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents