
3 Operation and Configuration
3-30
CJ-series High-speed Counter Units Operation Manual for NJ-series CPU Unit(W492)
z
Example Comparison Mode with Linear Counter
In this example 7 Comparison Values are specified. On reaching a Comparison Value an Output
can be Set or Reset depending on the crossing direction. If the CV is crossed in the positive count-
ing direction (+CV crossing) or negative counting direction (
−
CV crossing), one or multiple Outputs
can be Set (S) or Reset (R).
For example Output 0 is Set on crossing CV5 in the positive counting direction and Reset on cross-
ing CV7 in the negative counting direction. The crossing of CV3 in the positive counting direction
results in the Setting of Output 2 and the Resetting of Output 1.
Counter Value
0
CV1
Output 0
Output 1
Upper Count Limit
+2,147,483,647
Lower Count Limit
−
2,147,483,648
Soft Output 2
Soft Output 3
CV7
CV6
CV5
CV4
CV3
CV2
= Reset in positive (+) direction
= Reset in negative (
−
) direction
= Set in positive (+) direction
= Set in negative (
−
) direction
CV
Value
CV Crossing
Out0
Out1
Soft2
Soft3
1
−
87,000
+CV crossing
−
CV crossing
R
2
−
56,000
+CV crossing
R
−
CV crossing
3
−
15,000
+CV crossing
R
S
−
CV crossing
4
+18,000
+CV crossing
S
−
CV crossing
5
+46,000
+CV crossing
S
−
CV crossing
S
6
+70,000
+CV crossing
−
CV crossing
R
7
+108,000
+CV crossing
−
CV crossing
R
R
R