![background image](http://html.mh-extra.com/html/omron/sysmac-cp-series/sysmac-cp-series_user-manual_742262188.webp)
11 High-speed Counters
11-18
CP2E CPU Unit Software User’s Manual(W614)
Example 2
•
Up to 6 target values (between 1 and 6) can be registered in the comparison table.
•
A different interrupt task can be registered for each target value.
•
If the PV is changed, the changed PV will be compared with the target values in the table, even if the
PV is changed while the target value comparison operation is in progress.
Precautions for Correct Use
Precautions for Correct Use
•
When the count direction (incrementing/decrementing) changes at a PV that matches a target
value or a count after a target value, the next target value cannot be matched in that direction.
Set the target values so that they do not occur at the peak or trough of count value changes.
•
The maximum response frequencies of the high-speed counters are given in the following table.
Item
E/S
-type and
N4/20 CPU Unit
N30/40/60 CPU Unit
High-speed counter 0
Incremental pulse
100kHz
100kHz
Up and down pulses
Pulse plus direction
Differential phase (×4)
50kHz
50kHz
High-speed counter 1
Incremental pulse
100kHz
100kHz
Up and down pulses
10kHz
Pulse plus direction
100kHz
Differential phase (×4)
5kHz
50kHz
High-speed counter 2
Incremental pulse
10kHz
100kHz
High-speed counter 3
Incremental pulse
10kHz
High-speed counter 4
Incremental pulse
High-speed counter 5
Incremental pulse
N
o.1
N
o.5
N
o.8
N
o.0
High-speed co
u
nter PV
Comparison is
exec
u
ted according
to the order of the
v
al
u
es in the ta
b
le.
Target
v
al
u
e 1
Target
v
al
u
e 2
Target
v
al
u
e 3
Target
v
al
u
e 4
Interr
u
pt task n
u
m
b
er that is started.
Time
Comparison ta
b
le
Nu
m
b
er of
v
al
u
es = 4
Target
v
al
u
e 1 (
w
hen co
u
nting
u
p)
Interr
u
pt task = 0
Target
v
al
u
e 2 (
w
hen co
u
nting do
w
n)
Interr
u
pt task = 1
Target
v
al
u
e 3 (
w
hen co
u
nting do
w
n)
Interr
u
pt task = 5
Target
v
al
u
e 4 (
w
hen co
u
nting do
w
n)
Interr
u
pt task = 8
Match / Target
v
al
u
e + 1
Target
v
al
u
e + 2
Target
v
al
u
e 1
Target
v
al
u
e 1
Target
v
al
u
e 2
Target
v
al
u
e 2
Match / Target
v
al
u
e + 1
Target
v
al
u
e + 2
Bad
OK
Содержание 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: ......