11 High-speed Counters
11-8
CP2E CPU Unit Software User’s Manual(W614)
11-2 High-speed Counter Inputs
There are four pulse input methods for high-speed counters.
• Increment pulse input
• Differential phase input (4×)
• Up/Down pulse input
• Pulse+direction input
The Increment Pulse Input counts signals on a single-phase pulse input. Only incrementing the count is
possible in this mode.
The Differential Phase Input uses two phase signals (phase A and phase B) and increments/decre-
ments the count according to the status of Differential Phase (4×).
The Up/Down Pulse Input uses two signals, an increment pulse and a decrement pulse.
11-2-1 Pulse Input Methods Settings
Increment Pulse Input
Conditions for Incrementing
the Count
Differential Phase Input (4×)
Conditions for Incrementing/
Decrementing the Count
Up/Down Pulse Input
Conditions for Incrementing/
Decrementing the Count
Pulse
142 151 160910876115124133
Pulse Count value
Increment
No change
No change
No change
· Onl
risin
ed
es are counted.
OFF→ON
ON
ON→OFF
OFF
111211 1010 99 888 777 666 555 444 333 222 110
Phase A
Phase B
×4
Phase A Phase B Count value
Increment
Increment
Increment
Increment
Decrement
Decrement
Decrement
Decrement
OFF
ON
OFF→ON
ON→OFF
ON→OFF
ON→OFF
ON→OFF
OFF→ON
OFF→ON
ON
OFF
OFF
OFF→ON ON
ON
OFF
Increment
pulse
Decrement
pulse
22 11 0076876554433
Increment
pulse
Decrement
pulse
Count value
Decrement
No change
Increment
· The count is incremented for each increment
pulse and decremented for each decrement
pulse.
· Only rising edges are counted.
No change
No change
No change
No change
No change
OFF
ON
ON
OFF
OFF
ON
ON
OFF
ON→OFF
ON→OFF
ON→OFF
ON→OFF
OFF→ON
OFF→ON
OFF→ON
OFF→ON