![background image](http://html.mh-extra.com/html/omron/sysmac-cp-series/sysmac-cp-series_user-manual_742262181.webp)
11-11
11 High-speed Counters
CP2E CPU Unit Software User’s Manual(W614)
11-2 High
-sp
eed C
oun
ter In
pu
ts
11
11
-2
-
3
Reset Methods
Input pulses are counted in a loop within the set range.
•
If the count is incremented from the maximum ring count, the count will be reset to 0 automatically
and incrementing will continue.
•
If the count is decremented from 0, the count will be set to the maximum ring count automatically and
decrementing will continue.
Consequently, underflows and overflows cannot occur when Ring Mode is used.
z
Maximum Ring Count
Use the PLC Setup to set the maximum ring count (Circular Max. Count), which is the maximum
value of the input pulse counting range. The maximum ring count can be set to any value between
0000 0001 and FFFF FFFF hex (1 to 4,294,967,295 decimal).
Precautions for Correct Use
Precautions for Correct Use
•
There are no negative values in Ring Mode.
•
If the maximum ring count is set to 0 in the PLC Setup, the counter will operate with a maxi-
mum ring count of FFFF FFFF hex.
It is called reset that a high-speed counter
’
s PV is set to 0.
There are two reset methods
•
Phase-Z software reset
•
software reset
The high-speed counter
’
s PV is reset when the phase-Z signal (reset input) goes from OFF to ON while
the corresponding High-speed Counter Reset Bit (A5
3
1.00 to A5
3
1.05) is ON.
The CPU Unit recognizes the ON status of the High-speed Counter Reset Bit only at the beginning of
the PLC cycle during the overseeing processes. Consequently, when the Reset Bit is turned ON in the
ladder program, the phase-Z signal does not become effective until the next PLC cycle.
Note
The phase-Z signal cannot be used if an incremental counter is specified. Only a software reset can be used.
Circular (Ring) Mode
11-2-3 Reset Methods
Phase-Z Software Reset
0
2
32
-1
Maxim
u
m ring
co
u
nt
Co
u
nt
v
al
u
e
One cycle
Phase Z
Reset
b
it
PV not
reset
PV not reset
PV reset
PV reset
PV reset
PV reset
Содержание SYSMAC CP Series
Страница 1: ...USER S MANUAL Cat No W614 E1 01 SYSMAC CP Series CP2E E D CP2E S D CP2E N D CP2E CPU Unit Software ...
Страница 3: ......
Страница 32: ...1 Overview 1 4 CP2E CPU Unit Software User s Manual W614 ...
Страница 44: ...3 CPU Unit Operation 3 8 CP2E CPU Unit Software User s Manual W614 ...
Страница 116: ...6 I O Allocation 6 8 CP2E CPU Unit Software User s Manual W614 ...
Страница 144: ...7 PLC Setup 7 28 CP2E CPU Unit Software User s Manual W614 ...
Страница 170: ...10 Interrupts 10 14 CP2E CPU Unit Software User s Manual W614 ...
Страница 200: ...11 High speed Counters 11 30 CP2E CPU Unit Software User s Manual W614 ...
Страница 272: ...12 Pulse Outputs 12 72 CP2E CPU Unit Software User s Manual W614 ...
Страница 278: ...13 PWM Outputs 13 6 CP2E CPU Unit Software User s Manual W614 ...
Страница 460: ...18 Programming Device Operations 18 28 CP2E CPU Unit Software User s Manual W614 ...
Страница 576: ...Revision 2 CP2E CPU Unit Software User s Manual W614 ...
Страница 577: ......