7-13
7 High-speed Counters
CJ2M CPU Unit Pulse I/O Module User’s Manual
7-2 High-speed Counter Inputs
7
7-2-1 Pulse Input Methods Settings
7-2 High-speed Counter Inputs
There are four pulse input methods for high-speed counters.
• Increment pulse input
• Differential phase inputs (4×)
• Up/down pulse inputs
• Pulse + direction inputs
The increment pulse input method counts signals on a single-phase pulse input. Only incrementing
the count is possible in this mode.
The differential phase input method uses two phase signals (phase A and phase B) and incre-
ments/decrements the count according to the status of Differential Phase (4×).
The up/down pulse input method uses two signals, an increment pulse and a decrement pulse.
7-2-1 Pulse Input Methods Settings
Increment Pulse Input
Conditions for Incrementing/Dec-
rementing the Count
Differential Phase Inputs (4×)
Conditions for Incrementing/Decre-
menting the Count
Up/Down Pulse Inputs
Conditions for Incrementing/Decrement-
ing the Count
142 151 160910876115124133
Pulse
Pulse Count value
Incremented
No change
No change
No change
· Only rising edges are counted.
OFF→ON
ON
ON→OFF
OFF
111211 1010 99 888 777 666 555 444 333 222110
Phase A
Phase B
×4
Phase A Phase B Count value
Incremented
Incremented
Incremented
Incremented
Decremented
Decremented
Decremented
Decremented
OFF
ON
OFF→ON
ON→OFF
ON→OFF
ON→OFF
ON→OFF
OFF→ON
OFF→ON
ON
OFF
OFF
OFF→ON ON
ON
OFF
22 11 0076876554433
Up pulse
Down pulse
Up pulse
Down pulse
Count value
Decremented
Incremented
Incremented
· 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
Decremented
OFF
ON
ON
OFF
OFF
ON
ON
OFF
ON→OFF
ON→OFF
ON→OFF
ON→OFF
OFF→ON
OFF→ON
OFF→ON
OFF→ON