4 Special Functions
3-58 SmartAXIS Touch User's Manual
● Counting mode
The high-speed counter has the following three counting modes.
■ Adding counter (single-phase high-speed counter)
The adding counter counts up with the rise in pulse input.
■ 2-edge count (two-phase high-speed counter)
This counter counts by the phase difference between A-phase and B-phase pulse input. When A-phase precedes B-
phase, the counter counts up with the rise and fall of B-phase. When B-phase precedes A-phase, the counter counts
down with the rise and fall of B-phase.
■ 4-edge count (two-phase high-speed counter)
This counter counts by the phase difference between A-phase and B-phase pulse input. When A-phase precedes B-
phase, the counter counts up with the rise and fall of A-phase and B-phase. When B-phase precedes A-phase, the
counter counts down with the rise and fall of A-phase and B-phase.
10 11 12 13 14
Current value
Pulse input
(I2, I3, I4, I5)
01 1 0 22334
B-phase
Current
value
A-phase
0 1234567 7654321 08
Current
value
B-phase
A-phase