![background image](http://html.mh-extra.com/html/omron/sysmac-cp-series/sysmac-cp-series_user-manual_742262179.webp)
11-9
11 High-speed Counters
CP2E CPU Unit Software User’s Manual(W614)
11-2 High
-sp
eed C
oun
ter In
pu
ts
11
1
1-2-1
Pulse Input Me
thods
S
e
ttings
The Pulse + Direction Input uses a direction signal and a pulse signal. The count is incremented or dec-
remented depending on the status (ON or OFF) of the direction signal.
Precautions for Correct Use
Precautions for Correct Use
•
Interval of Phase-Z input signal
Do not input the phase-Z signal at a high frequency. The interval of phase-Z input signal must
be longer than 500µs.
If the phase-Z signal is input at a high frequency, cycle time exceeded error may occur.
•
Interval of direction changing
If the input setting is set for pulse+direction inputs, do not change the direction at a high fre-
quency. The interval of direction signal ON or OFF must be longer than
3
ms plus the sum of
execution time for interrupt tasks that may possibly happen at the same time.
The sum of execution time for interrupt tasks in one cycle is stored in A442.
If the direction signal is ON or OFF at a high frequency, count values may not agree.
Cycle time exceeded error possibly occurs when changing the direction at a high frequency.
Therefore, please do not connect chattering equipment as direction signal input such as relay
and switch.
•
Interval of pulse input after direction changing
If the input setting is set for pulse+direction inputs, the Interval of pulse input after the direction
changing must be longer than 500µs.
If the pulse is output immediately after the direction changing, count values may not agree.
Pulse + Direction Input
Conditions for Incrementing/
Decrementing the Count
P
u
lse
Direction
2
2
1
1
0
0
7
6
8
7
6
5
5
4
4
3
3
Direction
P
u
lse
Co
u
nt
v
al
u
e
N
o change
N
o change
N
o change
N
o change
N
o change
N
o change
Decrement
Increment
· The co
u
nt is incremented
w
hen the
direction signal is O
N
and
decremented
w
hen it is OFF.
· Only rising edges are co
u
nted.
OFF
O
N
O
N
OFF
O
N
→
OFF
O
N
→
OFF
OFF
→
O
N
OFF
→
O
N
O
N
OFF
OFF
O
N
O
N
→
OFF
O
N
→
OFF
OFF
→
O
N
OFF
→
O
N
500µs min.
Phase-Z signal
3ms pl
u
s the s
u
m of exec
u
tion time
for interr
u
pt tasks
P
u
lse
Direction
500µs min.
P
u
lse
Direction
Содержание 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: ......