Omron CJ1W-CT021 Operation Manual page 98

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

Advertisement

Output Control
Reflecting Active / Not
Active Comparison Values
CNT1:
CNT2:
n+20
n+25
n+21
n+26
Enable / Disable
Comparison Values
CNT1:
CNT2:
m+57
m+102
m+58
m+103
78
4. In case for a CV both a Set and a Reset in one and the same counting direction
for a specific Output are defined, the Reset has priority.
5. The output can be set to Set, Reset, or No Change when a target value is
reached both for incrementing and decrementing. Each time, the output pattern
for both counters will change in the order targets are reached.
6. Do not change the counting direction quickly near a target value. If the direction
is changed near a CV, the direction in which the target was reached (increment-
ing or decrementing) may be incorrectly detected.
A Comparison Value becomes active if the Counter Value is greater than or equal
to that Comparison Value. Whether or not a CV is active is reflected in CIO for
each Counter.
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
= Comparison Value 0-31
Comparison Value Active:
Comparison Value not Active: Counter Value < Comparison Value
Note
Each time a CV is crossed (in positive or negative counting direction) an Output
can be Set, Reset or remain Unchanged. In this way, every Counter is able to
change the Unit Output Pattern. Therefore, the Unit Output Pattern is updated by
all four Counters in the chronological order of crossing the CV's.
Every single CV can be enabled or disabled. If a CV is disabled (by default) no
action will be taken on reaching that CV. If a CV is enabled, depending on the
direction of counting, the Set/Reset Output Patterns will be applied to the Unit Out-
put Pattern on reaching that CV. To Enable/Disable CV's of Counters refer to the
following:
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
= Comparison Value 0-31
Note
Enabling/Disabling of CV's can also be done on the fly by using IOWR-instruc-
tions. Refer to 4-3 "IOWR-Instruction" for more details.
8
7
6
5
4
3
2
1
7
7
6
5
4
3
2
1
Counter Value ≥ Comparison Value
8
7
6
5
4
3
2
1
7
7
6
5
4
3
2
1
0
0
Active Comparison Values:
0 = Comparison Value Active
1 = Comparison Value not Active
0
0
Comparison Value Enable Data:
0 = Comparison Value Disabled
1 = Comparison Value Enabled
Section 3-5

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents