![background image](http://html1.mh-extra.com/html/omron/cj1w-ctl41-e/cj1w-ctl41-e_operation-manuals_741969068.webp)
Output Control
Section 3-5
51
5.
In case for a CV both a Set and a Reset in one and the same counting direc-
tion for a specific Output are defined, the Reset has priority.
6.
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 pat-
tern for both counters will change in the order targets are reached.
7.
Do not change the counting direction quickly near a target value. If the direc-
tion is changed near a CV, the direction in which the target was reached (in-
crementing or decrementing) may be incorrectly detected.
Reflecting Active / Not
Active Comparison Values
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.
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.
Enable / Disable
Comparison Values
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 sec-
tion the following:
Note
Enabling/Disabling of CV’s can also be done on the fly by using IOWR-instruc-
tions. Refer to section Section 4-3
for more details.
15 14 13 12 11 10 9
8
7
6
5
4
3
2
1
0
CNT3:
CNT4:
n+26
n+30
Active Comparison Values:
= Comparison Value 0-7
0 = Comparison Value Active
1 = Comparison Value not Active
Comparison Value Active:
Counter Value
≥
Comparison Value
Comparison Value not Active: Counter Value
<
Comparison Value
CNT1:
CNT2:
n+18
n+22
15 14 13 12 11 10 9
8
7
6
5
4
3
2
1
0
CNT3:
CNT4:
m+59
m+79
m+60
m+80
Comparison Value Enable Data:
= Comparison Value 0-7
0 = Comparison Value Disabled
1 = Comparison Value Enabled
CNT1:
CNT2:
m+19
m+39
m+20
m+40
15 14 13 12 11 10 9
8
7
6
5
4
3
2
1
0
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
15 14 13 12 11 10 9
8
7
6
5
4
3
2
1
0