
3-11
3 Operation and Configuration
CJ-series High-speed Counter Units Operation Manual for NJ-series CPU Unit(W492)
3-2 Co
unter T
yp
es
3
3-2-2 C
ircular C
ounter
A Circular Counter has 32 bits (the full counting range) available to count up- or down over the pos-
itive counting range between 0 and the Upper Count Limit.
z
Configuring Upper Count Limit
The Upper Count Limit can be set to a value between 1 and 4,294,967,295. By default, it is set to
the maximum possible count limit of +4,294,967,295.
With Circular Counters, the Counter automatically rolls over to 0 and continues counting, if the
Counter Value exceeds the Upper Count Limit. If the Counter Value goes below 0, the Counter rolls
over to the Upper Count Limit and continues counting.
Name of device variable
for CJ-series Unit
Type
Name
Function
*_Ch1_UpCtLmtCfg
UDINT
Upper Count Limit
Circular/Linear
Set the upper count limit in the range of 0 to
4,294,967,295.
When 0 is set, this becomes 4,294,967,295.
*_Ch2_UpCtLmtCfg
Count Up
0
≤ ≤
Count Down
Rollover
Counter V alue
1 Upper Count Limit 4,294,967,295